IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 24875


Ignore:
Timestamp:
Jul 21, 2009, 10:42:38 AM (17 years ago)
Author:
eugene
Message:

moved pmFootprintCull from psphot to modules; added a softening parameter to the footprint culling

Location:
trunk/psModules/src/objects
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/Makefile.am

    r24401 r24875  
    1010        pmFootprintArraysMerge.c \
    1111        pmFootprintAssignPeaks.c \
     12        pmFootprintCullPeaks.c \
    1213        pmFootprintFind.c \
    1314        pmFootprintFindAtPoint.c \
  • trunk/psModules/src/objects/pmFootprint.h

    r20945 r24875  
    5151void pmSetFootprintArrayIDsForImage(psImage *idImage,
    5252                                    const psArray *footprints, // the footprints to insert
    53                                     const bool relativeIDs); // show IDs starting at 0, not pmFootprint->id
     53                                    const bool relativeIDs // show IDs starting at 0, not pmFootprint->id
     54    );
    5455
    5556psErrorCode pmFootprintsAssignPeaks(psArray *footprints, const psArray *peaks);
    5657
    57 psErrorCode pmFootprintArrayCullPeaks(const psImage *img, const psImage *weight, psArray *footprints,
    58                                  const float nsigma, const float threshold_min);
    59 psErrorCode pmFootprintCullPeaks(const psImage *img, const psImage *weight, pmFootprint *fp,
    60                                  const float nsigma, const float threshold_min);
     58psErrorCode pmFootprintCullPeaks(const psImage *img,       // the image wherein lives the footprint
     59                                 const psImage *weight,    // corresponding variance image
     60                                 pmFootprint *fp,          // Footprint containing mortal peaks
     61                                 const float nsigma_delta, // how many sigma above local background a peak needs to be to survive
     62                                 const float fPadding, // fractional padding added to stdev since bright peaks have unreasonably high significance
     63                                 const float min_threshold // minimum permitted coll height
     64    );
    6165
    6266psArray *pmFootprintArrayToPeaks(const psArray *footprints);
Note: See TracChangeset for help on using the changeset viewer.