- Timestamp:
- Jan 17, 2011, 5:00:30 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20101205/ppSub/src/ppSubSetMasks.c
r29551 r30285 80 80 if (!pmReadoutMaskInvalid(inRO, maskValue, satValue)) { 81 81 psError(PPSUB_ERR_DATA, false, "Unable to mask non-finite pixels in input."); 82 psFree(view); 82 83 return false; 83 84 } 84 85 if (!pmReadoutMaskInvalid(refRO, maskValue, satValue)) { 85 86 psError(PPSUB_ERR_DATA, false, "Unable to mask non-finite pixels in reference."); 87 psFree(view); 86 88 return false; 87 89 } … … 94 96 if (interpMode == PS_INTERPOLATE_NONE) { 95 97 psError(PPSUB_ERR_CONFIG, false, "Unknown interpolation mode: %s", interpModeStr); 98 psFree(view); 96 99 return false; 97 100 } … … 104 107 if (!pmReadoutInterpolateBadPixels(inRO, maskVal, interpMode, poorFrac, maskPoor, maskBad)) { 105 108 psError(PPSUB_ERR_DATA, false, "Unable to interpolate bad pixels for input image."); 109 psFree(view); 106 110 return false; 107 111 } 108 112 if (!pmReadoutInterpolateBadPixels(refRO, maskVal, interpMode, poorFrac, maskPoor, maskBad)) { 109 113 psError(PPSUB_ERR_DATA, false, "Unable to interpolate bad pixels for reference image."); 114 psFree(view); 110 115 return false; 111 116 } … … 113 118 #endif 114 119 120 psFree(view); 115 121 return true; 116 122 }
Note:
See TracChangeset
for help on using the changeset viewer.
