Lynkeos  1.2
Instance Methods | Protected Attributes | List of all members
MyImageAnalyzer Class Reference

Concrete MyListProcessing dedicated to image quality. More...

#import <MyListProcessing.h>

Inheritance diagram for MyImageAnalyzer:
Inheritance graph
[legend]

Instance Methods

(oneway void) - analyzeWithList:darkFrame:flatField:rectangle:method:lowCutoff:highCutoff:
 Start the analysis of the images in a list. More...
 
- Instance Methods inherited from MyListProcessing
(oneway void) - stopProcessing
 

Protected Attributes

u_short _side
 
MyAnalysisMethod _method
 
u_short _lowerCutoff
 
u_short _upperCutoff
 
FFT_DATA _bufferSpectrum
 
- Protected Attributes inherited from MyListProcessing
MyIntegerRect _cropRectangle
 
id _delegate
 
NSEnumerator_list
 
RGB_darkFrame
 
RGB_flatField
 
bool _processEnded
 
NSData * _result
 

Additional Inherited Members

- Class Methods inherited from MyListProcessing
(void) + threadWithAttributes:
 Thread creation. More...
 

Detailed Description

Concrete MyListProcessing dedicated to image quality.

Method Documentation

◆ analyzeWithList:darkFrame:flatField:rectangle:method:lowCutoff:highCutoff:()

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

◆ _bufferSpectrum

- (FFT_DATA) _bufferSpectrum
protected

◆ _lowerCutoff

- (u_short) _lowerCutoff
protected

◆ _method

- (MyAnalysisMethod) _method
protected

◆ _side

- (u_short) _side
protected

◆ _upperCutoff

- (u_short) _upperCutoff
protected

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