- Timestamp:
- Mar 14, 2011, 3:07:22 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110213/psphot/src/psphotFindFootprints.c
r30624 r30903 1 1 # include "psphotInternal.h" 2 2 3 bool psphotFindFootprints (pmDetections *detections, p sImage*significance, pmReadout *readout, psMetadata *recipe, const float threshold, const int pass, psImageMaskType maskVal) {3 bool psphotFindFootprints (pmDetections *detections, pmReadout *significance, pmReadout *readout, psMetadata *recipe, const float threshold, const int pass, psImageMaskType maskVal) { 4 4 5 5 bool status; … … 18 18 PS_ASSERT (status, false); 19 19 20 // find the raw footprints & assign the peaks to those footprints21 psArray *footprints = pmFootprintsFind (significance , threshold, npixMin);20 // find the raw footprints in the smoothed significance image & assign the peaks to those footprints 21 psArray *footprints = pmFootprintsFind (significance->variance, threshold, npixMin); 22 22 23 23 if (pmFootprintsAssignPeaks(footprints, detections->peaks) != PS_ERR_NONE) { … … 56 56 } 57 57 58 psphotCullPeaks(readout, recipe, detections->footprints);58 psphotCullPeaks(readout, significance, recipe, detections->footprints); 59 59 detections->peaks = pmFootprintArrayToPeaks(detections->footprints); 60 60 psLogMsg ("psphot", PS_LOG_INFO, "%ld peaks, %ld total footprints: %f sec\n", detections->peaks->n, detections->footprints->n, psTimerMark ("psphot.footprints"));
Note:
See TracChangeset
for help on using the changeset viewer.
