Lynkeos  1.2
Public Member Functions | Protected Attributes
MyImageAnalyzer Class Reference

Concrete MyListProcessing dedicated to image quality. More...

#import <MyListProcessing.h>

Inheritance diagram for MyImageAnalyzer:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Concrete MyListProcessing dedicated to image quality.


Member Function Documentation

- (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.

Parameters:
listAn enumerator on the list of images to analyze
darkThe stacked dark frames
flatThe stacked flat fields
rectThe square in which the image is analyzed
lCutoffLower frequency cutoff (lower frequencies are not used)
hCutoffhigh 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.


Member Data Documentation

- (FFT_DATA) _bufferSpectrum [protected]
- (u_short) _lowerCutoff [protected]
- (MyAnalysisMethod) _method [protected]
- (u_short) _side [protected]
- (u_short) _upperCutoff [protected]

The documentation for this class was generated from the following files: