Lynkeos
1.2
|
Threadable classes for image list processing. More...
Classes | |
class | MyListProcessing |
Threadable wrapper class for image list processing. More... | |
class | MyImageAligner |
Concrete MyListProcessing dedicated to image alignment. More... | |
class | MyImageAnalyzer |
Concrete MyListProcessing dedicated to image quality. More... | |
class | MyImageStack |
Concrete MyListProcessing dedicated to image stacking. More... | |
protocol | <MyListProcessingDelegate> |
Defines | |
#define | K_RX_PORT_KEY @"rxPort" |
#define | K_TX_PORT_KEY @"txPort" |
Enumerations | |
enum | MyAnalysisMethod { EntropyAnalysis, SpectrumAnalysis } |
Functions | |
void | normalize_rgb (RGB *rgb, u_long length, double scale, BOOL mono) |
Multiply the pixels by a scalar. |
Threadable classes for image list processing.
The root class for threadable image list processing is MyListProcessing. Each concrete subclass implements a dedicated method to start the processing.
#define K_RX_PORT_KEY @"rxPort" |
#define K_TX_PORT_KEY @"txPort" |
enum MyAnalysisMethod |
void normalize_rgb | ( | RGB * | rgb, |
u_long | length, | ||
double | scale, | ||
BOOL | mono | ||
) |
Multiply the pixels by a scalar.
rgb | The sarray of rgb value to normalize |
length | The array length |
scale | The scale by wich the pixels will be multiplied. If 0, they will be multiplied by 1/max(rgb) |
This function is used for dark frames or flat fields, to normalize the stacking result according to its use (ie: dark frame stack shall be a mean value, and flat fields stack shall have its maximum equals to one).
References RGB::blue, RGB::green, max, RGB::red, and scale().