00001 /* @file pmImageCombine.h 00002 * 00003 * This file will perform image combination of several images of the 00004 * same field, produce a list of questionable pixels, then tag some 00005 * of those pixels as cosmic rays. 00006 * 00007 * @author Paul Price, IfA (original prototype) 00008 * @author GLG, MHPCC 00009 * 00010 * @version $Revision: 1.5 $ $Name: $ 00011 * @date $Date: 2007/01/24 02:54:15 $ 00012 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii 00013 */ 00014 00015 #ifndef PM_IMAGE_COMBINE_H 00016 #define PM_IMAGE_COMBINE_H 00017 00018 /// @addtogroup imcombine Image Combinations 00019 /// @{ 00020 00021 #include <stdio.h> 00022 #include <math.h> 00023 #include <pslib.h> 00024 00025 psImage *pmCombineImages( 00026 psImage *combine, ///< Combined image (output) 00027 psArray **questionablePixels, ///< Array of rejection masks 00028 const psArray *images, ///< Array of input images 00029 const psArray *errors, ///< Array of input error images 00030 const psArray *masks, ///< Array of input masks 00031 psU32 maskVal, ///< Mask value 00032 const psPixels *pixels, ///< Pixels to combine 00033 psS32 numIter, ///< Number of rejection iterations 00034 psF32 sigmaClip ///< Number of standard deviations at which to reject 00035 ); 00036 00037 psArray *pmRejectPixels( 00038 const psArray *images, ///< Array of input images 00039 const psArray *masks, ///< Array of input image masks 00040 const psArray *errors, ///< The pixels which were rejected in the combination 00041 const psArray *inToOut, ///< Transformation from input to output system 00042 const psArray *outToIn, ///< Transformation from output to input system 00043 psF32 rejThreshold, ///< Rejection threshold 00044 psF32 gradLimit ///< Gradient limit 00045 ); 00046 00047 /// @} 00048 #endif
1.5.1