28 #ifndef OC_TRIMOSCAN_H
29 #define OC_TRIMOSCAN_H
36 #include "omega_fits.h"
41 void DoStatistics (
const cpl_frame *, cpl_image *,
int,cpl_stats **,cpl_stats **,cpl_stats **,cpl_stats ** );
43 cpl_stats **ox,cpl_stats **oy);
45 cpl_image *
oscan_row (cpl_image *,
int ,
int );
void DoStatistics(const cpl_frame *, cpl_image *, int, cpl_stats **, cpl_stats **, cpl_stats **, cpl_stats **)
This function performs several statistics on the image and populates the 4 cpl_stats with CPL_STATS_A...
cpl_vector * get_trim_region(const cpl_frame *, int)
Get trim regions based on orientation keyword.
void omega_scan_stats(omega_fits *ofits, cpl_stats **px, cpl_stats **py, cpl_stats **ox, cpl_stats **oy)
This function performs several statistics on the image and populates the 4 cpl_stats with CPL_STATS_A...
cpl_image * TrimOscanCorrect(const cpl_frame *, int, int)
This method loads a raw image, trims it and (optionally) performs an overscan correction, using the statistics of the pre and overscan regions. This can be done with a single value for the whole image or on a per-row basis.
cpl_image * oscan_row(cpl_image *, int, int)
subtract median of overscan from each row
cpl_vector * omega_get_trim_region(omega_fits *ofits)
Get trim regions based on CCD layout.
cpl_vector * omega_get_scan_coord(const cpl_propertylist *plist, int iscan)
This method calculates the FITS coordinates of the pre/overscan region in the iscan direction...
cpl_image * omega_trim_oscan_correct(omega_fits *ofits, int oscan)
This method loads a raw image, trims it and (optionally) performs an overscan correction, using the statistics of the pre and overscan regions. This can be done with a single value for the whole image or on a per-row basis.