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
00026 typedef struct
00027 {
00028 psStats *stats;
00029 unsigned int maskVal;
00030 float fracHigh;
00031 float fracLow;
00032 int nKeep;
00033 }
00034 psCombineParams;
00035
00036 psImage *pmReadoutCombine(psImage *output,
00037 const psList *inputs,
00038 psCombineParams *params,
00039 const psVector *zero,
00040 const psVector *scale,
00041 bool applyZeroScale,
00042 float gain,
00043 float readnoise);
00044
00045 #endif