Functions | |
VimosImage * | imageArith (VimosImage *ima1, VimosImage *ima2, VimosOperator optype) |
VimosImage * | constArith (VimosImage *ima_in, double constant, VimosOperator optype) |
int | imageArithLocal (VimosImage *ima1, VimosImage *ima2, VimosOperator optype) |
int | constArithLocal (VimosImage *ima_in, double constant, VimosOperator optype) |
VimosImage * | VmFrAveFil (VimosImage *ima_in, int filtsizex, int filtsizey, int excludeCenter) |
VimosImage * | VmFrMedFil (VimosImage *ima_in, int filtsizex, int filtsizey, int excludeCenter) |
VimosImage * | VmFrFilter (VimosImage *image, int xSize, int ySize, FilterMethod method, int excludeCenter) |
VimosImage * | VmImNorm (VimosImage *ima_in, Method meth) |
VimosImage * | frComb (VimosImage **ima_list, int num, CombMethod combMethod, CombParameters *combParameter, int flag) |
VimosImage * | frCombSum (VimosImage **ima_list, int num) |
VimosImage * | frCombAverage (VimosImage **ima_list, int num) |
VimosImage * | frCombMedian (VimosImage **ima_list, int num, int flag) |
VimosImage * | frCombMinMaxReject (VimosImage **ima_list, int minrej, int maxrej, int num) |
VimosImage * | OLDfrCombMinMaxReject (VimosImage **ima_list, double minrej, double maxrej, int num) |
VimosImage * | frCombKSigma (VimosImage **ima_list, double dklow, double dkhigh, int num) |
float | imageMean (VimosImage *ima_in) |
float | imageMedian (VimosImage *ima_in) |
float | imageAverageDeviation (VimosImage *image, float level) |
float | imageSigma (VimosImage *image) |
float | imageMedSigma (VimosImage *image) |
float | imageMinimum (VimosImage *ima_in) |
float | imageMaximum (VimosImage *ima_in) |
VimosDpoint * | imageHistogram (VimosImage *ima_in, unsigned int nbins) |
float | imageMode (VimosImage *ima_in) |
float | sumPixelsInImage (VimosImage *ima_in, int x, int y, int nx, int ny) |
float * | collapse2Dto1D (VimosImage *ima_in, int x, int y, int nx, int ny, Direction collapse) |
VimosPixel * | finePosition (VimosImage *ima_in, VimosPixel *p_list, int npix, double r1, double r2, double r3) |
VimosPixel * | finePositionSimple (VimosImage *ima_in, VimosPixel *in_pixel, double r1) |
VimosImage * | imageShift (VimosImage *imageIn, float xshift, float yshift, int outXlen, int outYlen, float outVal) |
char ** | getFitsFileExtensionsNames (fitsfile *fptr, int *extNum) |
VimosBool | createFitsImage (char *filename, VimosImage *image, const char *category) |
float* collapse2Dto1D | ( | VimosImage * | ima_in, | |
int | x, | |||
int | y, | |||
int | nx, | |||
int | ny, | |||
Direction | collapse | |||
) |
Collapse a rectangle inside an image into one column/row.
ima_in | input image | |
x | x lower left corner of the rectangle | |
y | y lower left corner of the rectangle | |
nx | number of pixels in x | |
ny | number of pixels in y | |
collapse | direction of collape: ROW or COLUMNS |
VimosImage* constArith | ( | VimosImage * | ima_in, | |
double | constant, | |||
VimosOperator | optype | |||
) |
Arithmetic operations between an image and a constant. Result is a new image.
ima_in | pointer to image | |
constant | constant | |
optype | operation type |
int constArithLocal | ( | VimosImage * | ima_in, | |
double | constant, | |||
VimosOperator | optype | |||
) |
Arithmetic operations between an image and a constant. Result is stored in the input image.
ima_in | pointer to image | |
constant | constant | |
optype | operation type |
VimosBool createFitsImage | ( | char * | filename, | |
VimosImage * | image, | |||
const char * | category | |||
) |
Write a VimosImage into a disk FITS file
filename | name of the fitsfile | |
image | Vimos Image to be written as a FITS file | |
category | Category of image to write |
VimosPixel* finePosition | ( | VimosImage * | ima_in, | |
VimosPixel * | p_list, | |||
int | npix, | |||
double | r1, | |||
double | r2, | |||
double | r3 | |||
) |
Refine the peak centers by computing the baricenter.
ima_in | input image | |
p_list | list of pixel position to refine | |
npix | size of p_list array | |
r1 | defines a disk in which the barycenter will be computed | |
r2 | inner radius of the ring where the background is computed | |
r3 | outer radius of the ring where the background is computed |
VimosPixel* finePositionSimple | ( | VimosImage * | ima_in, | |
VimosPixel * | in_pixel, | |||
double | r1 | |||
) |
Refine a peak center by computing the baricenter.
ima_in | input image | |
in_pixel | expected position of the peak | |
r1 | defines a square around expected position where to look for the peak |
VimosImage* frComb | ( | VimosImage ** | ima_list, | |
int | num, | |||
CombMethod | combMethod, | |||
CombParameters * | combParameter, | |||
int | flag | |||
) |
Combine a list of images.
ima_list | Pointer to the array of images to combine | |
num | Number of images to combine | |
combMethod | Combination method | |
combParameter | Used just when combination the method requires extra parameters, as in COMB_REJECT or COMB_KSIGMA. | |
flag | Reject or not -32000 values in input |
VimosImage* frCombAverage | ( | VimosImage ** | ima_list, | |
int | num | |||
) |
Compute average image of a list of images.
ima_list | pointer to the array of images to combine | |
num | number of images |
VimosImage* frCombKSigma | ( | VimosImage ** | ima_list, | |
double | dklow, | |||
double | dkhigh, | |||
int | num | |||
) |
Combine a list of images with rejection of pixels outside a K*sigma threshold (sigma-clipping)
ima_list | pointer to the array of images to combine | |
klow | number of sigma for low values sigma-clipping | |
khigh | number of sigma for high values sigma-clipping | |
num | number of images |
VimosImage* frCombMedian | ( | VimosImage ** | ima_list, | |
int | num, | |||
int | flag | |||
) |
Compute median image of a list of images.
ima_list | pointer to the array of images to combine | |
num | number of images |
VimosImage* frCombMinMaxReject | ( | VimosImage ** | ima_list, | |
int | minrej, | |||
int | maxrej, | |||
int | num | |||
) |
Combine images with rejection of highest/lowest pixels values.
ima_list | pointer to the array of images to combine | |
minrej | number of pixels to min-reject | |
maxrej | number of pixels to max-reject | |
num | number of images |
VimosImage* frCombSum | ( | VimosImage ** | ima_list, | |
int | num | |||
) |
Sum a list of images.
ima_list | pointer to the array of images to combine | |
num | number of images |
char** getFitsFileExtensionsNames | ( | fitsfile * | fptr, | |
int * | extNum | |||
) |
Get the list of
fptr | pointer to fitsfile | |
extNum | pointer to extension number |
VimosImage* imageArith | ( | VimosImage * | ima1, | |
VimosImage * | ima2, | |||
VimosOperator | optype | |||
) |
Arithmetic operations between 2 images. Result is a new image.
ima1 | pointer to first image | |
ima2 | pointer to second image | |
optype | operation type |
int imageArithLocal | ( | VimosImage * | ima1, | |
VimosImage * | ima2, | |||
VimosOperator | optype | |||
) |
Arithmetic operations between 2 images. Result is stored in the first image.
ima1 | pointer to first image | |
ima2 | pointer to second image | |
optype | operation type |
float imageAverageDeviation | ( | VimosImage * | image, | |
float | level | |||
) |
Compute average deviation from any given value
image | input image | |
level | reference value |
VimosDpoint* imageHistogram | ( | VimosImage * | ima_in, | |
unsigned int | nbins | |||
) |
Compute image histogram
ima_in | input image | |
nbins | number of bins for the histogram |
float imageMaximum | ( | VimosImage * | ima_in | ) |
Compute image maximum value of an image
ima_in | input image |
float imageMean | ( | VimosImage * | ima_in | ) |
Compute the average value of an image
ima_in | input image |
float imageMedian | ( | VimosImage * | ima_in | ) |
Compute the median value of an image
ima_in | input image |
float imageMedSigma | ( | VimosImage * | image | ) |
Compute image sigma using median value instead of mean estimate
image | input image |
float imageMinimum | ( | VimosImage * | ima_in | ) |
Compute image minimum value of an image
ima_in | input image |
float imageMode | ( | VimosImage * | ima_in | ) |
Compute image mode value of an image
ima_in | input image |
VimosImage* imageShift | ( | VimosImage * | imageIn, | |
float | xshift, | |||
float | yshift, | |||
int | outXlen, | |||
int | outYlen, | |||
float | outVal | |||
) |
Shift an image in X and/or Y
imageIn | pointer to input image | |
xshift | shift in X coordinate | |
yshift | shift in Y coordinate | |
outVal | substitution value |
float imageSigma | ( | VimosImage * | image | ) |
Compute image sigma
image | input image |
VimosImage* OLDfrCombMinMaxReject | ( | VimosImage ** | ima_list, | |
double | minrej, | |||
double | maxrej, | |||
int | num | |||
) |
Combine images with rejection of high/low pixels values.
ima_list | pointer to the array of images to combine | |
minrej | percent of pixels to min-reject | |
maxrej | percent of pixels to max-reject | |
num | number of images |
float sumPixelsInImage | ( | VimosImage * | ima_in, | |
int | x, | |||
int | y, | |||
int | nx, | |||
int | ny | |||
) |
Compute the sum of all pixelvalues in a rectangle.
ima_in | input image | |
x | x lower left corner of the rectangle | |
y | y lower left corner of the rectangle | |
nx | number of pixels in x | |
ny | number of pixels in y |
VimosImage* VmFrAveFil | ( | VimosImage * | ima_in, | |
int | filtsizex, | |||
int | filtsizey, | |||
int | excludeCenter | |||
) |
Apply a average filter to an image.
ima_in | pointer to input image | |
filtsizex | size in x of the filter box | |
filtsizey | size in y of the filter box | |
excludeCenter | flag to exclude the center of the box in the computation of the average |
VimosImage* VmFrFilter | ( | VimosImage * | image, | |
int | xSize, | |||
int | ySize, | |||
FilterMethod | method, | |||
int | excludeCenter | |||
) |
Filter an image.
image | pointer to input image | |
xSize | size in x of the filter box | |
ySize | size in y of the filter box | |
method | filter method | |
excludecenter | flag to exclude the center of the box in the computation of the median |
VimosImage* VmFrMedFil | ( | VimosImage * | ima_in, | |
int | filtsizex, | |||
int | filtsizey, | |||
int | excludeCenter | |||
) |
Apply a median filter to an image.
ima_in | pointer to input image | |
filtsizex | size in x of the filter box | |
filtsizey | size in y of the filter box | |
excludecenter | flag to exclude the center of the box in the computation of the median |
VimosImage* VmImNorm | ( | VimosImage * | ima_in, | |
Method | meth | |||
) |
Normalize an image.
ima_in | pointer to input image | |
meth | normalization method |