Lynkeos
1.2
|
Concrete MyListProcessing dedicated to image stacking. More...
#import <MyListProcessing.h>
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 |
Concrete MyListProcessing dedicated to image stacking.
- (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.
list | An enumerator on the list of images to stack |
dark | The stacked dark frames |
flat | The stacked flat fields |
rect | The rectangle in which the images are stacked |
factor | Homothetic 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.
- (u_short) _factor [protected] |
Referenced by stackWithList:darkFrame:flatField:rectangle:sizeFactor:.
- (RGB*) _rgbBuffer [protected] |
Referenced by stackWithList:darkFrame:flatField:rectangle:sizeFactor:.
Referenced by stackWithList:darkFrame:flatField:rectangle:sizeFactor:.