00001 /* @file pmSourceSky.h 00002 * @author EAM, IfA; GLG, MHPCC 00003 * 00004 * @version $Revision: 1.3 $ $Name: $ 00005 * @date $Date: 2007/01/24 02:54:15 $ 00006 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii 00007 */ 00008 00009 # ifndef PM_SOURCE_SKY_H 00010 # define PM_SOURCE_SKY_H 00011 00012 /// @addtogroup Objects Object Detection / Analysis Functions 00013 /// @{ 00014 00015 /** pmSourceLocalSky() 00016 * 00017 * Measure the local sky in the vicinity of the given source. The Radius 00018 * defines the square aperture in which the moments will be measured. This 00019 * function assumes the source pixels have been defined, and that the value of 00020 * Radius here is smaller than the value of Radius used to define the pixels. The 00021 * annular region not contained within the radius defined here is used to measure 00022 * the local background in the vicinity of the source. The local background 00023 * measurement uses the specified statistic passed in via the statsOptions entry. 00024 * This function allocates the pmMoments structure. The resulting sky is used to 00025 * set the value of the pmMoments.sky element of the provided pmSource structure. 00026 * 00027 */ 00028 bool pmSourceLocalSky( 00029 pmSource *source, ///< The input image (float) 00030 psStatsOptions statsOptions, ///< The statistic used in calculating the background sky 00031 float Radius ///< The inner radius of the square annulus to exclude 00032 ); 00033 00034 00035 // A complementary function to pmSourceLocalSky: calculate the local sky variance 00036 bool pmSourceLocalSkyVariance( 00037 pmSource *source, ///< The input image (float) 00038 psStatsOptions statsOptions, ///< The statistic used in calculating the background sky 00039 float Radius ///< The inner radius of the square annulus to exclude 00040 ); 00041 00042 /// @} 00043 # endif /* PM_SOURCE_PHOTOMETRY_H */
1.5.1