Functions | |
int | irplib_spectrum_find_brightest (const cpl_image *in, int offset, spec_shadows shadows, double min_bright, int orient, double *pos) |
Finds the brightest spectrum in an image. | |
cpl_vector * | irplib_spectrum_detect_peaks (const cpl_vector *in, int fwhm, double sigma, int display, cpl_vector **fwhms_out, cpl_vector **areas_out) |
Detect the brightest features in a spectrum. |
int irplib_spectrum_find_brightest | ( | const cpl_image * | in, | |
int | offset, | |||
spec_shadows | shadows, | |||
double | min_bright, | |||
int | orient, | |||
double * | pos | |||
) |
Finds the brightest spectrum in an image.
in | spectral image with spectra | |
offset | the diff. between pos. and neg. spectra | |
shadows | the spectral shadows | |
min_bright | min. bright. required for a spectrum | |
orient | 1 for vertical spec. 0 for horizontal ones | |
pos | the computed spectrum position (1->npix) |
Definition at line 93 of file irplib_spectrum.c.
cpl_vector* irplib_spectrum_detect_peaks | ( | const cpl_vector * | in, | |
int | fwhm, | |||
double | sigma, | |||
int | display, | |||
cpl_vector ** | fwhms_out, | |||
cpl_vector ** | areas_out | |||
) |
Detect the brightest features in a spectrum.
in | the spectrum | |
fwhm | the FWHM used for the lines convolution | |
display | the flag to display | |
fwhms | the fwhms of the detected lines | |
areas | the areas under the detected lines |
Definition at line 273 of file irplib_spectrum.c.
Referenced by irplib_ppm_engine().