- Timestamp:
- Mar 8, 2006, 5:14:23 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/rel10_ifa/psModules/src/objects/pmSourceContour.h
r6537 r6556 3 3 * @author EAM, IfA; GLG, MHPCC 4 4 * 5 * @version $Revision: 1.1.2. 1$ $Name: not supported by cvs2svn $6 * @date $Date: 2006-03-0 7 06:33:35$5 * @version $Revision: 1.1.2.2 $ $Name: not supported by cvs2svn $ 6 * @date $Date: 2006-03-09 03:14:23 $ 7 7 * 8 8 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 13 13 # define PM_SOURCE_CONTOUR_H 14 14 15 psArray *pmSourceContour (psImage *image, int xc, int yc, float threshold) 16 { 15 psArray *pmSourceContour (psImage *image, int xc, int yc, float threshold); 17 16 18 /** pmSourceContour()19 *20 * Find points in a contour for the given source at the given level. If type21 * is PM_CONTOUR_CRUDE, the contour is found by starting at the source peak,22 * running along each pixel row until the level is crossed, then interpolating to23 * the level coordinate for that row. This is done for each row, with the24 * starting point determined by the midpoint of the previous row, until the25 * starting point has a value below the contour level. The returned contour26 * consists of two vectors giving the x and y coordinates of the contour levels.27 * This function may be used as part of the model guess inputs. Other contour28 * types may be specified in the future for more refined contours (TBD)29 *30 */31 psArray *pmSourceContour_Crude(32 pmSource *source, ///< The input pmSource33 const psImage *image, ///< The input image (float) (this arg should be removed)34 float level ///< The level of the contour35 );36 17 37 # endif /* PM_SOURCE_PHOTOMETRY_H */ 18 /** pmSourceContour() 19 * 20 * Find points in a contour for the given source at the given level. If type 21 * is PM_CONTOUR_CRUDE, the contour is found by starting at the source peak, 22 * running along each pixel row until the level is crossed, then interpolating to 23 * the level coordinate for that row. This is done for each row, with the 24 * starting point determined by the midpoint of the previous row, until the 25 * starting point has a value below the contour level. The returned contour 26 * consists of two vectors giving the x and y coordinates of the contour levels. 27 * This function may be used as part of the model guess inputs. Other contour 28 * types may be specified in the future for more refined contours (TBD) 29 * 30 */ 31 psArray *pmSourceContour_Crude( 32 pmSource *source, ///< The input pmSource 33 const psImage *image, ///< The input image (float) (this arg should be removed) 34 float level ///< The level of the contour 35 ); 36 37 # endif /* PM_SOURCE_PHOTOMETRY_H */
Note:
See TracChangeset
for help on using the changeset viewer.
