Dark correction
Functions | |
cxint | giraffe_subtract_dark (GiImage *image, const GiImage *dark, const GiImage *bpixel, GiDarkResults *data, const GiDarkConfig *config) |
Subtract the dark current from a bias corrected image. |
Detailed Description
TBDFunction Documentation
cxint giraffe_subtract_dark | ( | GiImage * | image, | |
const GiImage * | dark, | |||
const GiImage * | bpixel, | |||
GiDarkResults * | data, | |||
const GiDarkConfig * | config | |||
) |
Subtract the dark current from a bias corrected image.
- Parameters:
-
image The bias subtracted image to correct. dark The dark image to use for the correction. bpixel Bad pixel map. data Dark correction results data container. config Dark correction setup parameters.
- Returns:
- The function returns 0 on success, and a non-zero value otherwise.
Definition at line 486 of file gidark.c.
References giraffe_image_get(), giraffe_image_get_properties(), GiDarkConfig::method, GiDarkConfig::threshold, GiWindow::x0, GiWindow::x1, GiWindow::y0, and GiWindow::y1.