Changeset 41382 for trunk/pswarp/src/pswarpTransformReadout.c
- Timestamp:
- Jun 23, 2020, 3:29:09 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/pswarp/src/pswarpTransformReadout.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pswarp/src/pswarpTransformReadout.c
r35563 r41382 27 27 int nGridX = psMetadataLookupS32(NULL, config->arguments, "GRID.NX"); ///< Number of grid points in x 28 28 int nGridY = psMetadataLookupS32(NULL, config->arguments, "GRID.NY"); ///< Number of grid points in y 29 bool doApplyMaskNaN = psMetadataLookupBool(NULL, config->arguments, "APPLY.PIXELNAN"); ///NaN the pixels underneath masks 30 29 31 psImageInterpolateMode interpolationMode = psMetadataLookupS32(NULL, config->arguments, 30 32 "INTERPOLATION.MODE"); ///< Mode for interp … … 37 39 38 40 // output mask bits 39 psImageMaskType maskIn = psMetadataLookupImageMask(&mdok, recipe, "MASK.INPUT"); 41 psImageMaskType maskIn = 0 ; 42 if(doApplyMaskNaN) { 43 maskIn = psMetadataLookupImageMask(&mdok, recipe, "MASK.INPUT"); 44 psAssert(mdok, "MASK.INPUT was not defined"); 45 } 40 46 psImageMaskType maskPoor = pmConfigMaskGet("CONV.POOR", config); 41 47 if (!maskPoor) { … … 46 52 maskBad = pmConfigMaskGet("BAD.WARP", config); 47 53 } 48 psAssert(mdok, "MASK.INPUT was not defined");49 54 50 55 if (!input->covariance) {
Note:
See TracChangeset
for help on using the changeset viewer.
