00001 /* @file pmFlatField.h 00002 * @brief Apply flat field calibration 00003 * 00004 * @author Ross Harman, MHPCC 00005 * @author Paul Price, IfA 00006 * 00007 * @version $Revision: 1.8 $ $Name: $ 00008 * @date $Date: 2007/01/24 02:54:15 $ 00009 * Copyright 2004-2006 Institute for Astronomy, University of Hawaii 00010 */ 00011 00012 #ifndef PM_FLAT_FIELD_H 00013 #define PM_FLAT_FIELD_H 00014 00015 /// @addtogroup detrend Detrend Creation and Application 00016 /// @{ 00017 00018 #include "pmFPA.h" 00019 00020 /// Apply flat field calibration to a readout 00021 /// 00022 /// This function applies the flat field calibration to the input readout. Support is available for different 00023 /// image types, though the input and flat images must have the same type. The relative offsets between the 00024 /// input and flat images is determined from the readout row0,col0 and the CELL.X0 and CELL.Y0 concepts. 00025 /// Normalisation of the flat is left as the responsibility of the caller. Non-positive pixels in the flat 00026 /// are masked, if there is a mask present in the input readout. 00027 bool pmFlatField(pmReadout *in, ///< Readout with input image 00028 const pmReadout *flat ///< Readout with flat image 00029 ); 00030 /// @} 00031 #endif
1.5.1