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

pmImageSubtract.h File Reference

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

Include dependency graph for pmImageSubtract.h:

Go to the source code of this file.

Defines

#define PM_IMAGE_COMBINE_H

Enumerations

enum  pmSubtractionKernelsType { PM_SUBTRACTION_KERNEL_POIS, PM_SUBTRACTION_KERNEL_ISIS }
enum  pmStampStatus { PM_STAMP_INIT, PM_STAMP_USED, PM_STAMP_REJECTED, PM_STAMP_RECALC, PM_STAMP_NONE }

Functions

psSubtractionKernelspmSubtractionKernelsAllocPOIS (int size, int SpatialOrder)
psSubtractionKernelspmSubtractionKernelsAllocISIS (const psVector *sigmas, const psVector *orders, int size, int SpatialOrder)
psArray * pmSubtractionFindStamps (psArray *stamps, const psImage *image, const psImage *mask, psU32 maskVal, psF32 threshold, psS32 xNum, psS32 yNum, psS32 border)
bool pmSubtractionCalculateEquation (psArray *stamps, const psImage *reference, const psImage *input, const psSubtractionKernels *kernels, psS32 footprint)
psVector * pmSubtractionSolveEquation (psVector *solution, const psArray *stamps)
bool pmSubtractionRejectStamps (psArray *stamps, psImage *mask, psU32 badStampMaskVal, psS32 footprint, psF32 sigmaRej, const psImage *refImage, const psImage *inImage, const psVector *solution, const psSubtractionKernels *kernels)
psImage * pmSubtractionKernelImage (psImage *out, const psVector *solution, const psSubtractionKernels *kernels, psF32 x, psF32 y)


Define Documentation

#define PM_IMAGE_COMBINE_H
 

Definition at line 15 of file pmImageSubtract.h.


Enumeration Type Documentation

enum pmStampStatus
 

Enumeration values:
PM_STAMP_INIT  Initial state.
PM_STAMP_USED  Use this stamp.
PM_STAMP_REJECTED  This stamp has been rejected.
PM_STAMP_RECALC  Having been reset, this stamp is to be recalculated.
PM_STAMP_NONE  No stamp in this region.

Definition at line 53 of file pmImageSubtract.h.

enum pmSubtractionKernelsType
 

Enumeration values:
PM_SUBTRACTION_KERNEL_POIS  POIS kernel --- delta functions.
PM_SUBTRACTION_KERNEL_ISIS  ISIS kernel --- gaussians modified by polynomials.

Definition at line 26 of file pmImageSubtract.h.


Function Documentation

bool pmSubtractionCalculateEquation psArray *  stamps,
const psImage *  reference,
const psImage *  input,
const psSubtractionKernels kernels,
psS32  footprint
 

Parameters:
stamps  The stamps for which to calculate the equation,
reference  Reference image
input  Input image
kernels  The kernel basis functions
footprint  Half-size of region over which to calculate equation

psArray* pmSubtractionFindStamps psArray *  stamps,
const psImage *  image,
const psImage *  mask,
psU32  maskVal,
psF32  threshold,
psS32  xNum,
psS32  yNum,
psS32  border
 

Parameters:
stamps  Output stamps, or NULL
image  Image for which to find stamps
mask  Mask
maskVal  Value for mask
threshold  Threshold for stamps in the image
xNum  Number of stamps in x
yNum  Number of stamps in y
border  Border around image to ignore (should be size of kernel)

psImage* pmSubtractionKernelImage psImage *  out,
const psVector *  solution,
const psSubtractionKernels kernels,
psF32  x,
psF32  y
 

psSubtractionKernels* pmSubtractionKernelsAllocISIS const psVector *  sigmas,
const psVector *  orders,
int  size,
int  SpatialOrder
 

psSubtractionKernels* pmSubtractionKernelsAllocPOIS int  size,
int  SpatialOrder
 

bool pmSubtractionRejectStamps psArray *  stamps,
psImage *  mask,
psU32  badStampMaskVal,
psS32  footprint,
psF32  sigmaRej,
const psImage *  refImage,
const psImage *  inImage,
const psVector *  solution,
const psSubtractionKernels kernels
 

Parameters:
stamps  Array of stamps to check for rejection
mask  Mask image
badStampMaskVal  Value to use in mask for bad stamp
footprint  Region to mask if stamp is bad
sigmaRej  Number of RMS deviations above zero at which to reject
refImage  Reference image
inImage  Input image
solution  Solution vector
kernels  Array of kernel parameters

psVector* pmSubtractionSolveEquation psVector *  solution,
const psArray *  stamps
 

Parameters:
solution  Solution vector, or NULL
stamps  Array of stamps


Generated on Wed Jun 15 11:06:02 2005 for Pan-STARRS Module Library by  doxygen 1.4.1