Lynkeos  1.2
Public Member Functions | Protected Attributes
MyImageStack Class Reference

Concrete MyListProcessing dedicated to image stacking. More...

#import <MyListProcessing.h>

Inheritance diagram for MyImageStack:
Inheritance graph
[legend]

List of all members.

Public Member Functions

(oneway void) - stackWithList:darkFrame:flatField:rectangle:sizeFactor:
 Start to stack the images of a list.

Protected Attributes

RGB_rgbSum
RGB_rgbBuffer
u_short _factor

Detailed Description

Concrete MyListProcessing dedicated to image stacking.


Member Function Documentation

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

- (u_short) _factor [protected]
- (RGB*) _rgbBuffer [protected]
- (RGB*) _rgbSum [protected]

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