00001 00002 /** @file psPhotometry.h 00003 * 00004 * @brief Contains basic photometric structures. 00005 * 00006 * This file defines the basic photometric structures. 00007 * 00008 * @ingroup Photometry 00009 * 00010 * @author George Gusciora, MHPCC 00011 * 00012 * @version $Revision: 1.10 $ $Name: rel5_0 $ 00013 * @date $Date: 2005/02/17 19:26:23 $ 00014 * 00015 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii 00016 */ 00017 00018 #ifndef PS_PHOTOMETRIC_H 00019 #define PS_PHOTOMETRIC_H 00020 00021 #include "psType.h" 00022 #include "psImage.h" 00023 #include "psArray.h" 00024 #include "psList.h" 00025 #include "psFunctions.h" 00026 00027 /// @addtogroup Photometry 00028 /// @{ 00029 00030 /** The photometric system description 00031 * 00032 * The photometric system is defined by the psPhotSystem structure. A 00033 * photometric system is identified by a human-readable name (ie, SDSS.g, 00034 * Landolt92.B, GPC1.OTA32.r). Each photometric system is given a unique 00035 * identifier ID. Observations taken with a specific camera, detector, and 00036 * filter represent their own photometric system, and it may be necessary to 00037 * perform transformations between these systems. Photometric systems 00038 * associated with observations from a specific camera/ detector/filter 00039 * combination can be associated with those components. 00040 * 00041 */ 00042 00043 typedef struct 00044 { 00045 const psS32 ID; ///< ID number for this photometric system 00046 const char *name; ///< Name of photometric system 00047 const char *camera; ///< Camera for photometric system 00048 const char *filter; ///< Filter used for photometric system 00049 const char *detector; ///< Detector used for photometric system 00050 } 00051 psPhotSystem; 00052 00053 /** Photometric system transformation 00054 * 00055 * This structure defines the transformation between two photometric systems. 00056 * 00057 */ 00058 00059 typedef struct 00060 { 00061 const psPhotSystem src; ///< Source photometric system 00062 const psPhotSystem dst; ///< Destination photometric system 00063 const psPhotSystem pP; ///< Primary color reference 00064 const psPhotSystem pM; ///< Primary color reference 00065 const psPhotSystem sP; ///< Secondary color reference 00066 const psPhotSystem sM; ///< Secondary color reference 00067 float pA; ///< Color offset for references 00068 float sA; ///< Color offset for references 00069 psPolynomial3D transform; ///< Transformation from source to destination 00070 } 00071 psPhotTransform; 00072 00073 /// @} 00074 00075 #endif
1.3.9.1