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

Concrete MyListProcessing dedicated to image stacking. More...

#import <MyListProcessing.h>

Inheritance diagram for MyImageStack:
Inheritance graph
[legend]

Instance Methods

(oneway void) - stackWithList:darkFrame:flatField:rectangle:sizeFactor:
 Start to stack the images of a list. More...
 
- Instance Methods inherited from MyListProcessing
(oneway void) - stopProcessing
 

Protected Attributes

RGB_rgbSum
 
RGB_rgbBuffer
 
u_short _factor
 
- 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 stacking.

Method Documentation

◆ stackWithList:darkFrame:flatField:rectangle:sizeFactor:()

- (oneway void) stackWithList: (NSData*)  list
darkFrame: (NSData*)  dark
flatField: (NSData*)  flat
rectangle: (MyIntegerRect rect
sizeFactor: (u_short)  factor 

Start to stack the images of a list.

Parameters
listAn enumerator on the list of images to stack
darkThe stacked dark frames
flatThe stacked flat fields
rectThe rectangle in which the images are stacked
factorHomothetic factor for the stacked image

After return from this method, the processing starts. For each selected and aligned item given by the enumerator, is cropped along the rectangle, expanded by factor and stacked with subpixel accuracy.

The image data has the dark frame substracted from it, and is then

divided by the flat field, before stacking.

The calling thread is informed after each frame is added to the stack by means of the processDidProgress delegate.

References MyListProcessing::_cropRectangle, _factor, MyListProcessing::_result, _rgbBuffer, _rgbSum, MyIntegerSize::height, MyIntegerRect::size, and MyIntegerSize::width.

Member Data Documentation

◆ _factor

- (u_short) _factor
protected

◆ _rgbBuffer

- (RGB*) _rgbBuffer
protected

◆ _rgbSum

- (RGB*) _rgbSum
protected

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