00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #if !defined(PM_READOUT_COMBINE_H)
00015 #define PM_READOUT_COMBINE_H
00016
00017 #if HAVE_CONFIG_H
00018 #include <config.h>
00019 #endif
00020
00021 #include<stdio.h>
00022 #include<math.h>
00023 #include "pslib.h"
00024 #include "psConstants.h"
00025 #include "pmAstrometry.h"
00026
00027 typedef struct
00028 {
00029 psStats *stats;
00030 unsigned int maskVal;
00031 float fracHigh;
00032 float fracLow;
00033 int nKeep;
00034 }
00035 psCombineParams;
00036
00037 psImage *pmReadoutCombine(psImage *output,
00038 const psList *inputs,
00039 psCombineParams *params,
00040 const psVector *zero,
00041 const psVector *scale,
00042 bool applyZeroScale,
00043 float gain,
00044 float readnoise);
00045
00046 #endif