- Timestamp:
- Sep 23, 2010, 7:08:16 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20100823/ppStack/src/ppStackMatch.c
r28253 r29217 68 68 69 69 // user-defined masks to test for good/bad pixels (build from recipe list if not yet set) 70 psMetadataAdd U8(psphotRecipe, PS_LIST_TAIL, "MASK.PSPHOT", PS_META_REPLACE, "user-defined mask", maskBad);70 psMetadataAddImageMask(psphotRecipe, PS_LIST_TAIL, "MASK.PSPHOT", PS_META_REPLACE, "user-defined mask", maskBad); 71 71 72 72 psImage *binned = psphotModelBackgroundReadoutNoFile(ro, config); // Binned background model … … 153 153 int threads = psMetadataLookupS32(NULL, config->arguments, "-threads"); // Number of threads 154 154 155 if (!pmReadoutMaskNonfinite(readout, maskVal)) { 155 // Replaced pmReadoutMaskNonfinite with pmReadoutMaskInvalid (tests for already masked pixels) 156 if (!pmReadoutMaskInvalid(readout, maskVal, maskBad)) { 156 157 psError(psErrorCodeLast(), false, "Unable to mask non-finite pixels in readout."); 157 158 return false;
Note:
See TracChangeset
for help on using the changeset viewer.
