Changeset 34202 for trunk/psphot/src/psphotCullPeaks.c
- Timestamp:
- Jul 24, 2012, 3:50:47 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotCullPeaks.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotCullPeaks.c
r34200 r34202 63 63 # if (PM_PEAKS_CULL_WITH_SMOOTHED_IMAGE) 64 64 psLogMsg ("psphot", PS_LOG_INFO, "Culling peaks from footprints using the smoothed image"); 65 bool setNaNsToZero = psMetadataLookupF32 (&status, recipe, "FOOTPRINT_SET_NANS_TO_ZERO"); 66 if (setNaNsToZero) { 67 // Set NaN pixels to zero so that they do not considered in the footprint analysis 68 // XXX: Currently the caller does nothing further with the significance readout so 69 // modifiying the image does no harm 70 // XXX: Note: signifR->weight is not used by pmFootprintCullPeaks so we don't 71 // need to touch it 72 psImageClipNaN(signifR->image, 0); 73 } 74 75 65 76 # else 66 77 psLogMsg ("psphot", PS_LOG_INFO, "Culling peaks from footprints using the raw (unsmoothed) image");
Note:
See TracChangeset
for help on using the changeset viewer.
