pmSubtractBias.h File Reference


Detailed Description

This file will contain a module which will subtract the detector bias in place from an input image.

Author:
GLG, MHPCC
Version:
Revision
1.4
Name
rel9_1
Date:
Date
2005/11/23 23:54:30
Copyright 2004 Maui High Performance Computing Center, University of Hawaii

Definition in file pmSubtractBias.h.

#include <stdio.h>
#include <math.h>
#include "pslib.h"
#include "pmAstrometry.h"

Include dependency graph for pmSubtractBias.h:

Go to the source code of this file.

Defines

#define PM_SUBTRACT_BIAS_H

Enumerations

enum  pmOverscanAxis { PM_OVERSCAN_NONE, PM_OVERSCAN_ROWS, PM_OVERSCAN_COLUMNS, PM_OVERSCAN_ALL }
enum  pmFit { PM_FIT_NONE, PM_FIT_POLYNOMIAL, PM_FIT_SPLINE }

Functions

pmReadoutpmSubtractBias (pmReadout *in, void *fitSpec, pmFit fit, bool overscan, psStats *stat, int nBin, const pmReadout *bias, const pmReadout *dark)
psImage * p_psDetermineTrimmedImage (pmReadout *in)


Define Documentation

#define PM_SUBTRACT_BIAS_H
 

Definition at line 16 of file pmSubtractBias.h.


Enumeration Type Documentation

enum pmFit
 

Enumerator:
PM_FIT_NONE  No fit.
PM_FIT_POLYNOMIAL  Fit polynomial.
PM_FIT_SPLINE  Fit cubic splines.

Definition at line 34 of file pmSubtractBias.h.

enum pmOverscanAxis
 

Enumerator:
PM_OVERSCAN_NONE  No overscan subtraction.
PM_OVERSCAN_ROWS  Subtract rows.
PM_OVERSCAN_COLUMNS  Subtract columns.
PM_OVERSCAN_ALL  Subtract the statistic of all pixels in overscan region.

Definition at line 27 of file pmSubtractBias.h.


Function Documentation

psImage* p_psDetermineTrimmedImage pmReadout in  ) 
 

pmReadout* pmSubtractBias pmReadout in,
void *  fitSpec,
pmFit  fit,
bool  overscan,
psStats *  stat,
int  nBin,
const pmReadout bias,
const pmReadout dark
 

Parameters:
in  The input pmReadout image
fitSpec  A polynomial or spline, defining the fit type.
fit  PM_FIT_SPLINE, PM_FIT_POLYNOMIAL, or PM_FIT_NONE
stat  The statistic to be used in combining overscan data
nBin  The amount of binning to be done image pixels.
bias  A possibly NULL bias pmReadout which is to be subtracted
dark  A possibly NULL bias pmReadout which is to be subtracted


Generated on Tue Dec 13 13:38:29 2005 for Pan-STARRS Module Library by  doxygen 1.4.5