Lynkeos  1.2
Classes | Defines | Enumerations | Functions
MyListProcessing.h File Reference

Threadable classes for image list processing. More...

#import <Foundation/Foundation.h>
#include "MyImageListItem.h"
#include "processing_core.h"
Include dependency graph for MyListProcessing.h:
This graph shows which files directly or indirectly include this file:

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.

Detailed Description

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 Documentation

#define K_RX_PORT_KEY   @"rxPort"
#define K_TX_PORT_KEY   @"txPort"

Enumeration Type Documentation

Enumerator:
EntropyAnalysis 
SpectrumAnalysis 

Function Documentation

void normalize_rgb ( RGB rgb,
u_long  length,
double  scale,
BOOL  mono 
)

Multiply the pixels by a scalar.

Parameters:
rgbThe sarray of rgb value to normalize
lengthThe array length
scaleThe 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().