Changeset 10551 for trunk/psModules/src/imcombine/pmImageCombine.c
- Timestamp:
- Dec 8, 2006, 1:39:56 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/imcombine/pmImageCombine.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/imcombine/pmImageCombine.c
r9730 r10551 8 8 * @author GLG, MHPCC 9 9 * 10 * @version $Revision: 1. 9$ $Name: not supported by cvs2svn $11 * @date $Date: 2006-1 0-24 22:55:05$10 * @version $Revision: 1.10 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2006-12-08 11:39:30 $ 12 12 * 13 13 * XXX: pmRejectPixels() has a known bug with the pmImageTransform() call. … … 189 189 // Combine all the pixels, using the specified stat. 190 190 191 stats =psVectorStats(stats, pixelData, pixelErrors, pixelMask, maskVal);191 psVectorStats(stats, pixelData, pixelErrors, pixelMask, maskVal); 192 192 psF64 combinedPixel = psStatsGetValue(stats, statistic); 193 193 … … 202 202 psS32 numRejects = 0; 203 203 for (psS32 im = 0 ; im < numImages ; im++) { 204 stdevStats =psVectorStats(stdevStats, pixelData, pixelErrors, pixelMask, maskVal);204 psVectorStats(stdevStats, pixelData, pixelErrors, pixelMask, maskVal); 205 205 psF64 stdev = stdevStats->sampleStdev; 206 206 … … 285 285 } 286 286 // Combine all the pixels, using the specified stat. 287 stats =psVectorStats(stats, pixelData, pixelErrors, pixelMask, maskVal);287 psVectorStats(stats, pixelData, pixelErrors, pixelMask, maskVal); 288 288 combine->data.F32[row][col] = psStatsGetValue(stats, statistic); 289 289 } … … 356 356 // Get the median 357 357 psStats *stats = psStatsAlloc(PS_STAT_SAMPLE_MEDIAN); 358 (void)psVectorStats(stats, pixels, NULL, mask, 1);358 psVectorStats(stats, pixels, NULL, mask, 1); 359 359 float median = stats->sampleMedian; 360 360 psFree(stats);
Note:
See TracChangeset
for help on using the changeset viewer.
