Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

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.1
Name
rel8_0
Date:
Date
2005/09/28 20:43:52
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, const psList *overscans, pmOverscanAxis overScanAxis, psStats *stat, int nBin, pmFit fit, const pmReadout *bias)
 A possibly NULL bias pmReadout which is to be subtracted.


Define Documentation

#define PM_SUBTRACT_BIAS_H
 

Definition at line 16 of file pmSubtractBias.h.


Enumeration Type Documentation

enum pmFit
 

Enumeration values:
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
 

Enumeration values:
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

pmReadout* pmSubtractBias pmReadout in,
void *  fitSpec,
const psList *  overscans,
pmOverscanAxis  overScanAxis,
psStats *  stat,
int  nBin,
pmFit  fit,
const pmReadout bias
 

A possibly NULL bias pmReadout which is to be subtracted.

Parameters:
in  The input pmReadout image
fitSpec  A polynomial or spline, defining the fit type.
overscans  A psList of overscan images
overScanAxis  Defines how overscans are applied
stat  The statistic to be used in combining overscan data
nBin  The amount of binning to be done image pixels.
fit  PM_FIT_SPLINE, PM_FIT_POLYNOMIAL, or PM_FIT_NONE


Generated on Thu Oct 13 14:29:33 2005 for Pan-STARRS Module Library by  doxygen 1.4.2