00001 /** @file pmObjects.h 00002 * 00003 * The process of finding, measuring, and classifying astronomical sources on 00004 * images is one of the critical tasks of the IPP or any astronomical software 00005 * system. This file will define structures and functions related to the task 00006 * of source detection and measurement. The elements defined in this section 00007 * are generally low-level components which can be connected together to 00008 * construct a complete object measurement suite. 00009 * 00010 * @author GLG, MHPCC 00011 * 00012 * @version $Revision: 1.6 $ $Name: rel12 $ 00013 * @date $Date: 2006/04/17 18:01:05 $ 00014 * 00015 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii 00016 * 00017 */ 00018 00019 #if !defined(PM_OBJECTS_H) 00020 #define PM_OBJECTS_H 00021 00022 #if HAVE_CONFIG_H 00023 #include <config.h> 00024 #endif 00025 00026 #include <stdio.h> 00027 #include <math.h> 00028 #include "pslib.h" 00029 00030 /** 00031 * 00032 * This function converts the source classification into the closest available 00033 * approximation to the Dophot classification scheme: 00034 * XXX EAM : fix this to use current source classification scheme 00035 * 00036 * PM_SOURCE_DEFECT: 8 00037 * PM_SOURCE_SATURATED: 8 00038 * PM_SOURCE_SATSTAR: 10 00039 * PM_SOURCE_PSFSTAR: 1 00040 * PM_SOURCE_GOODSTAR: 1 00041 * PM_SOURCE_POOR_FIT_PSF: 7 00042 * PM_SOURCE_FAIL_FIT_PSF: 4 00043 * PM_SOURCE_FAINTSTAR: 4 00044 * PM_SOURCE_GALAXY: 2 00045 * PM_SOURCE_FAINT_GALAXY: 2 00046 * PM_SOURCE_DROP_GALAXY: 2 00047 * PM_SOURCE_FAIL_FIT_GAL: 2 00048 * PM_SOURCE_POOR_FIT_GAL: 2 00049 * PM_SOURCE_OTHER: ? 00050 * 00051 */ 00052 int pmSourceDophotType( 00053 pmSource *source ///< Add comment. 00054 ); 00055 00056 00057 /** pmSourceSextractType() 00058 * 00059 * This function converts the source classification into the closest available 00060 * approximation to the Sextractor classification scheme. the correspondence is 00061 * not yet defined (TBD) . 00062 * 00063 * XXX: Must code this. 00064 * 00065 */ 00066 int pmSourceSextractType( 00067 pmSource *source ///< Add comment. 00068 ); 00069 00070 00071 #endif
1.4.4