pmSourceContour.h

Go to the documentation of this file.
00001 /* @file  pmSourceContour.h
00002  *
00003  * @author EAM, IfA; GLG, MHPCC
00004  *
00005  * @version $Revision: 1.3 $ $Name:  $
00006  * @date $Date: 2007/01/24 02:54:15 $
00007  * Copyright 2004 Maui High Performance Computing Center, University of Hawaii
00008  */
00009 
00010 # ifndef PM_SOURCE_CONTOUR_H
00011 # define PM_SOURCE_CONTOUR_H
00012 
00013 /// @addtogroup Objects Object Detection / Analysis Functions
00014 /// @{
00015 
00016 psArray *pmSourceContour (psImage *image, int xc, int yc, float threshold);
00017 
00018 
00019 /** pmSourceContour()
00020  *
00021  * Find points in a contour for the given source at the given level. If type
00022  * is PM_CONTOUR_CRUDE, the contour is found by starting at the source peak,
00023  * running along each pixel row until the level is crossed, then interpolating to
00024  * the level coordinate for that row. This is done for each row, with the
00025  * starting point determined by the midpoint of the previous row, until the
00026  * starting point has a value below the contour level. The returned contour
00027  * consists of two vectors giving the x and y coordinates of the contour levels.
00028  * This function may be used as part of the model guess inputs.  Other contour
00029  * types may be specified in the future for more refined contours (TBD)
00030  *
00031  */
00032 psArray *pmSourceContour_Crude(
00033     pmSource *source,   ///< The input pmSource
00034     const psImage *image,  ///< The input image (float) (this arg should be removed)
00035     float level   ///< The level of the contour
00036 );
00037 
00038 /// @}
00039 # endif /* PM_SOURCE_PHOTOMETRY_H */

Generated on Fri Feb 2 22:35:28 2007 for Pan-STARRS Module Library by  doxygen 1.5.1