- Timestamp:
- Aug 30, 2013, 4:48:58 PM (13 years ago)
- Location:
- branches/eam_branches/ipp-20130711/ppImage/src
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ppImageDetrendReadout.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130711/ppImage/src
- Property svn:mergeinfo changed
/trunk/ppImage/src (added) merged: 35846,35849-35850,35917
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20130711/ppImage/src/ppImageDetrendReadout.c
r35685 r36071 61 61 psImageMaskType satMask = options->doMaskSat ? options->satMask : 0; 62 62 psImageMaskType lowMask = options->doMaskLow ? options->lowMask : 0; 63 pmReadoutGenerateMask(input, satMask, lowMask); 63 if (!pmReadoutGenerateMask(input, satMask, lowMask)) { 64 psError(PS_ERR_UNKNOWN, false, "Unable to generate a mask."); 65 psFree(detview); 66 return false; 67 } 64 68 } 65 69 // apply the externally supplied mask to the input->mask pixels … … 208 212 } 209 213 210 pmReadoutGenerateVariance(input, noiseImage, true); 214 if (!pmReadoutGenerateVariance(input, noiseImage, true)) { 215 psError(PS_ERR_UNKNOWN, false, "Unable to generate a variance image."); 216 psFree(detview); 217 return false; 218 } 211 219 psFree (noiseImage); 212 220 }
Note:
See TracChangeset
for help on using the changeset viewer.
