00001 /* @file pmFPAMosaic.h 00002 * @brief Functions to mosaic FPA components into a single entity 00003 * 00004 * @author Paul Price, IfA 00005 * 00006 * @version $Revision: 1.5 $ $Name: $ 00007 * @date $Date: 2007/01/24 02:54:14 $ 00008 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii 00009 */ 00010 00011 #ifndef PM_CHIP_MOSAIC_H 00012 #define PM_CHIP_MOSAIC_H 00013 00014 /// @addtogroup Camera Camera Layout 00015 /// @{ 00016 00017 #include "pmFPA.h" 00018 00019 /// Mosaic all cells within a chip 00020 /// 00021 /// Mosaics all cells within the source into a single cell within the target (which must have only a single 00022 /// cell). Cells are placed on the chip according to the CELL.X0 and CELL.Y0 offsets. This is useful for 00023 /// getting an image of the chip on the sky. The mosaicking is done so as to avoid performing a deep copy of 00024 /// the pixels, if possible. 00025 bool pmChipMosaic(pmChip *target, ///< Target chip --- may contain only a single cell 00026 const pmChip *source ///< Source chip whose cells will be mosaicked 00027 ); 00028 00029 /// Mosaic all cells within an FPA 00030 /// 00031 /// Mosaics all cells within the source into a single chip with single cell within the target (which must have 00032 /// only a single chip with single cell). Cells are placed on the FPA according to the CHIP.X0, CHIP.Y0, 00033 /// CELL.X0 and CELL.Y0 offsets. This is useful for getting an image of the FPA on the sky. The mosaicking 00034 /// is done so as to avoid performing a deep copy of the pixels, if possible. 00035 bool pmFPAMosaic(pmFPA *target, ///< Target FPA --- may contain only a single chip with a single cell 00036 const pmFPA *source ///< FPA whose chips and cells will be mosaicked 00037 ); 00038 /// @} 00039 #endif
1.5.1