Bias Handling
Typedefs | |
| typedef GiBiasResults | GiBiasResults |
Functions | |
| cpl_matrix * | giraffe_get_raw_areas (GiImage *image) |
| Create bias areas from an image. | |
| cxint | giraffe_trim_raw_areas (GiImage *image) |
| Remove pre- and overscan ares from an image. | |
| cxint | giraffe_bias_remove (GiImage *result, GiImage *raw, GiImage *master_bias, GiImage *bad_pixels, cpl_matrix *biaslimits, GiBiasConfig *config) |
| Removes the bias from an image. | |
| GiBiasConfig * | giraffe_bias_config_create (cpl_parameterlist *list) |
| Creates a setup structure for a bias removal task. | |
| void | giraffe_bias_config_destroy (GiBiasConfig *config) |
| Destroys a bias removal setup structure. | |
| void | giraffe_bias_config_add (cpl_parameterlist *list) |
| Adds parameters for the bias removal. | |
Detailed Description
TBDFunction Documentation
|
|
Adds parameters for the bias removal.
|
|
|
Creates a setup structure for a bias removal task.
|
|
|
Destroys a bias removal setup structure.
Definition at line 2670 of file gibias.c. References GiBiasConfig::areas. |
|
||||||||||||||||||||||||||||
|
Removes the bias from an image.
It is the only function operating on images larger than the CCD active area (pre/overscans present) and using ADU units. The bias areas in the prescan and overscan lanes in both, x and y, directions are defined through the matrix_biaslimits argument. A 2D plane or curve is fitted on the data, or the mean value is calculated, in these bias areas and the linear coefficients describing the plane or mean value are saved as quality indicators. The control parameter config->method is used to differentiate various level of the processing: the single valued average subtraction, the plane subtraction and the master_bias subtraction without or with zero adjustment. In any case the pre/overscans are removed prior the bias subtraction (the master_bias not having necessarily the same size of pre/overscans as rawFrame) and raw_frame is converted from ADU to e-. Routine has 4 optional parameters which have a default value when not specified: config->method - Bias subtraction method: 'UNIFORM','PLANE','MASTER','ZMASTER','MASTER+PLANE', 'ZMASTER+PLANE','CURVE','MASTER+CURVE','ZMASTER+CURVE' default: 'UNIFORM' config->remove - Remove Bias? Default TRUE 3 bias sigma clipping parameters:
4 Chebyshev interpolation parameters in bias areas
Definition at line 2231 of file gibias.c. References GiBiasConfig::fraction, giraffe_get_raw_areas(), giraffe_image_get(), giraffe_image_get_properties(), giraffe_image_set(), giraffe_image_set_properties(), giraffe_trim_raw_areas(), GiBiasConfig::iterations, GiBiasConfig::method, GiBiasConfig::model, GiBiasConfig::option, GiBiasConfig::remove, GiBiasConfig::sigma, GiBiasConfig::xdeg, GiBiasConfig::xstep, GiBiasConfig::ydeg, and GiBiasConfig::ystep. |
|
|
Create bias areas from an image.
Definition at line 1837 of file gibias.c. References giraffe_image_get_properties(). Referenced by giraffe_bias_remove(). |
|
|
Remove pre- and overscan ares from an image.
The function expects that the image has properties associated and returns an error if image does not contain any properties. Definition at line 2039 of file gibias.c. References giraffe_image_get(), giraffe_image_get_properties(), and giraffe_image_set(). Referenced by giraffe_bias_remove(). |
