Changeset 14277
- Timestamp:
- Jul 17, 2007, 4:16:46 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/imcombine/pmStack.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/imcombine/pmStack.c
r14272 r14277 8 8 * @author GLG, MHPCC 9 9 * 10 * @version $Revision: 1. 8$ $Name: not supported by cvs2svn $11 * @date $Date: 2007-07-1 7 23:33:09$10 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2007-07-18 02:16:46 $ 12 12 * 13 13 * Copyright 2004-2007 Institute for Astronomy, University of Hawaii … … 249 249 float mean, variance; // Mean and variance of the combination 250 250 if (!combinationMean(&mean, pixelData, weights, pixelMasks, maskVal) || 251 (weight && !combinationVariance(&variance, weights, pixelWeights, pixelMasks, maskVal))) {251 (weight && !combinationVariance(&variance, pixelWeights, weights, pixelMasks, maskVal))) { 252 252 image->data.F32[y][x] = NAN; 253 253 mask->data.PS_TYPE_MASK_DATA[y][x] = bad;
Note:
See TracChangeset
for help on using the changeset viewer.
