Changeset 20945 for trunk/psModules/src/objects/pmFootprint.h
- Timestamp:
- Dec 9, 2008, 11:16:09 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/objects/pmFootprint.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmFootprint.h
r18828 r20945 3 3 * @author RHL, Princeton & IfA; EAM, IfA 4 4 * 5 * @version $Revision: 1. 2$ $Name: not supported by cvs2svn $6 * @date $Date: 2008- 08-01 00:00:17$5 * @version $Revision: 1.3 $ $Name: not supported by cvs2svn $ 6 * @date $Date: 2008-12-09 21:16:09 $ 7 7 * Copyright 2006 Institute for Astronomy, University of Hawaii 8 8 */ … … 10 10 #ifndef PM_FOOTPRINT_H 11 11 #define PM_FOOTPRINT_H 12 13 #include <pslib.h> 14 #include "pmSpan.h" 15 16 12 17 typedef struct { 13 18 const int id; //!< unique ID … … 17 22 psArray *peaks; //!< the peaks lying in this footprint 18 23 psRegion region; //!< A region describing the psImage the footprints live in 19 bool normalized; //!< Are the spans sorted? 24 bool normalized; //!< Are the spans sorted? 20 25 } pmFootprint; 21 26 … … 27 32 void pmFootprintSetBBox(pmFootprint *fp); 28 33 29 pmSpan *pmFootprintAddSpan(pmFootprint *fp, // the footprint to add to30 const int y, // row to add31 int x0, // range of32 int x1); // columns34 pmSpan *pmFootprintAddSpan(pmFootprint *fp, // the footprint to add to 35 const int y, // row to add 36 int x0, // range of 37 int x1); // columns 33 38 34 39 psArray *pmFootprintsFind(const psImage *img, const float threshold, const int npixMin); … … 45 50 psImage *pmSetFootprintID(psImage *idImage, const pmFootprint *fp, const int id); 46 51 void pmSetFootprintArrayIDsForImage(psImage *idImage, 47 const psArray *footprints, // the footprints to insert48 const bool relativeIDs); // show IDs starting at 0, not pmFootprint->id52 const psArray *footprints, // the footprints to insert 53 const bool relativeIDs); // show IDs starting at 0, not pmFootprint->id 49 54 50 55 psErrorCode pmFootprintsAssignPeaks(psArray *footprints, const psArray *peaks);
Note:
See TracChangeset
for help on using the changeset viewer.
