Lynkeos
1.2
|
Concrete MyListProcessing dedicated to image quality. More...
#import <MyListProcessing.h>
Public Member Functions | |
(oneway void) | - analyzeWithList:darkFrame:flatField:rectangle:method:lowCutoff:highCutoff: |
Start the analysis of the images in a list. | |
Protected Attributes | |
u_short | _side |
MyAnalysisMethod | _method |
u_short | _lowerCutoff |
u_short | _upperCutoff |
FFT_DATA | _bufferSpectrum |
Concrete MyListProcessing dedicated to image quality.
- (oneway void) analyzeWithList: | (NSData*) | list | |
darkFrame: | (NSData*) | dark | |
flatField: | (NSData*) | flat | |
rectangle: | (MyIntegerRect) | rect | |
method: | (MyAnalysisMethod) | method | |
lowCutoff: | (double) | lCutoff | |
highCutoff: | (double) | hCutoff | |
Start the analysis of the images in a list.
list | An enumerator on the list of images to analyze |
dark | The stacked dark frames |
flat | The stacked flat fields |
rect | The square in which the image is analyzed |
lCutoff | Lower frequency cutoff (lower frequencies are not used) |
hCutoff | high frequency cutoff (higher frequencies are not used) |
After return from this method, the processing starts. For each selected item given by the enumerator, its power spectrum is computed and integrated between lCutoff and hCutoff frequencies.
The image data has the dark frame substracted from it, and is then divided by the flat field, before Fourier transform.
The integrated value is the evaluated image quality which is sent back to the calling thread by means of the processDidProgress delegate.
References _bufferSpectrum, MyListProcessing::_cropRectangle, _lowerCutoff, _method, _side, _upperCutoff, allocate_spectrum(), FOR_DIRECT, MyIntegerRect::size, SpectrumAnalysis, and MyIntegerSize::width.
- (FFT_DATA) _bufferSpectrum [protected] |
- (u_short) _lowerCutoff [protected] |
- (MyAnalysisMethod) _method [protected] |
- (u_short) _side [protected] |
- (u_short) _upperCutoff [protected] |