IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 8, 2006, 1:39:56 AM (19 years ago)
Author:
magnier
Message:

changed psVectorStats return to bool

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/imcombine/pmImageCombine.c

    r9730 r10551  
    88 *  @author GLG, MHPCC
    99 *
    10  *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
    11  *  @date $Date: 2006-10-24 22:55:05 $
     10 *  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
     11 *  @date $Date: 2006-12-08 11:39:30 $
    1212 *
    1313 *  XXX: pmRejectPixels() has a known bug with the pmImageTransform() call.
     
    189189                // Combine all the pixels, using the specified stat.
    190190
    191                 stats = psVectorStats(stats, pixelData, pixelErrors, pixelMask, maskVal);
     191                psVectorStats(stats, pixelData, pixelErrors, pixelMask, maskVal);
    192192                psF64 combinedPixel = psStatsGetValue(stats, statistic);
    193193
     
    202202                psS32 numRejects = 0;
    203203                for (psS32 im = 0 ; im < numImages ; im++) {
    204                     stdevStats = psVectorStats(stdevStats, pixelData, pixelErrors, pixelMask, maskVal);
     204                    psVectorStats(stdevStats, pixelData, pixelErrors, pixelMask, maskVal);
    205205                    psF64 stdev = stdevStats->sampleStdev;
    206206
     
    285285                }
    286286                // Combine all the pixels, using the specified stat.
    287                 stats = psVectorStats(stats, pixelData, pixelErrors, pixelMask, maskVal);
     287                psVectorStats(stats, pixelData, pixelErrors, pixelMask, maskVal);
    288288                combine->data.F32[row][col] = psStatsGetValue(stats, statistic);
    289289            }
     
    356356    // Get the median
    357357    psStats *stats = psStatsAlloc(PS_STAT_SAMPLE_MEDIAN);
    358     (void)psVectorStats(stats, pixels, NULL, mask, 1);
     358    psVectorStats(stats, pixels, NULL, mask, 1);
    359359    float median = stats->sampleMedian;
    360360    psFree(stats);
Note: See TracChangeset for help on using the changeset viewer.