- Timestamp:
- May 3, 2010, 8:50:52 AM (16 years ago)
- Location:
- branches/simtest_nebulous_branches
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/simtest_nebulous_branches
- Property svn:mergeinfo changed
-
branches/simtest_nebulous_branches/psModules
-
Property svn:mergeinfo
set to (toggle deleted branches)
/trunk/psModules merged eligible /branches/eam_branches/stackphot.20100406/psModules 27623-27653 /branches/pap_delete/psModules 27530-27595
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
branches/simtest_nebulous_branches/psModules/src/objects/pmFootprint.h
r24875 r27840 13 13 #include <pslib.h> 14 14 #include "pmSpan.h" 15 15 #include "pmFootprintSpans.h" 16 16 17 17 typedef struct { 18 18 const int id; //!< unique ID 19 19 int npix; //!< number of pixels in this pmFootprint 20 psArray *spans; //!< the pmSpans 20 int nspans; 21 psArray *spans; //!< the allocated pmSpans 21 22 psRegion bbox; //!< the pmFootprint's bounding box 22 23 psArray *peaks; //!< the peaks lying in this footprint … … 26 27 27 28 pmFootprint *pmFootprintAlloc(int nspan, const psImage *img); 29 bool pmFootprintInit(pmFootprint *footprint); 28 30 bool pmFootprintTest(const psPtr ptr); 31 32 bool pmFootprintAllocEmptySpans (pmFootprint *footprint, int nSpans); 29 33 30 34 pmFootprint *pmFootprintNormalize(pmFootprint *fp); … … 37 41 int x1); // columns 38 42 43 pmSpan *pmFootprintSetSpan(pmFootprint *fp, // the footprint to add to 44 const int y, // row to add 45 int x0, // range of 46 int x1); // columns 47 39 48 psArray *pmFootprintsFind(const psImage *img, const float threshold, const int npixMin); 40 pmFootprint *pmFootprintsFindAtPoint(const psImage *img, 41 const float threshold, 42 const psArray *peaks, 43 int row, int col); 49 50 bool pmFootprintsFindAtPoint(pmFootprint *fp, 51 pmFootprintSpans *fpSpans, 52 const psImage *img, // image to search 53 psImage *mask, 54 const float threshold, // Threshold 55 const psArray *peaks, // array of peaks; finding one terminates search for footprint 56 int row, int col); 57 58 // pmFootprint *pmFootprintsFindAtPoint(const psImage *img, 59 // const float threshold, 60 // const psArray *peaks, 61 // int row, int col); 62 63 bool pmFootprintSpansBuild(pmFootprint *fp, // the footprint that we're building 64 pmFootprintSpans *fpSpans, 65 const psImage *img, // the psImage we're working on 66 psImage *mask, // the associated masks 67 const float threshold // Threshold 68 ); 44 69 45 70 psArray *pmFootprintArrayGrow(const psArray *footprints, int r);
Note:
See TracChangeset
for help on using the changeset viewer.
