Changeset 25755 for trunk/psphot/src/psphotFindFootprints.c
- Timestamp:
- Oct 2, 2009, 3:12:47 PM (17 years ago)
- Location:
- trunk/psphot/src
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
psphotFindFootprints.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src
- Property svn:ignore
-
old new 18 18 psphotVersionDefinitions.h 19 19 psphotMomentsStudy 20 psphotPetrosianStudy
-
- Property svn:ignore
-
trunk/psphot/src/psphotFindFootprints.c
r24274 r25755 1 1 # include "psphotInternal.h" 2 2 3 bool psphotFindFootprints (pmDetections *detections, psImage *significance, pmReadout *readout, psMetadata *recipe, const int pass, psImageMaskType maskVal) {3 bool psphotFindFootprints (pmDetections *detections, psImage *significance, pmReadout *readout, psMetadata *recipe, const float threshold, const int pass, psImageMaskType maskVal) { 4 4 5 5 bool status; … … 9 9 int npixMin = psMetadataLookupS32(&status, recipe, "FOOTPRINT_NPIXMIN"); 10 10 PS_ASSERT (status, false); 11 12 float FOOTPRINT_NSIGMA_LIMIT;13 if (pass == 1) {14 FOOTPRINT_NSIGMA_LIMIT = psMetadataLookupS32(&status, recipe, "FOOTPRINT_NSIGMA_LIMIT");15 } else {16 FOOTPRINT_NSIGMA_LIMIT = psMetadataLookupS32(&status, recipe, "FOOTPRINT_NSIGMA_LIMIT_2");17 }18 PS_ASSERT (status, false);19 20 // XXX do we need to use the same threshold here as for peaks? does it make sense for21 // these to be different?22 23 float threshold = PS_SQR(FOOTPRINT_NSIGMA_LIMIT);24 11 25 12 int growRadius = 0;
Note:
See TracChangeset
for help on using the changeset viewer.
