|
Lynkeos
1.2
|
#include <stdlib.h>#include <assert.h>#include "MyListProcessing.h"#include "fourier.h"#include "corelation.h"#include "stack.h"
Classes | |
| category | MyListProcessing(Private) |
Functions | |
| static void | getImageSample (MyImageListItem *item, RGB *dark, RGB *flat, MyIntegerRect rect, REAL *spectrum, RGB *pixels, short expand) |
| static void | cutoffSpectrum (SPECTRUM spectrum, u_short width, u_short height, u_short cutoff) |
| static double | quality (SPECTRUM spectrum, u_short width, u_short height, u_short down, u_short up) |
| static double | entropy (REAL *image, u_short width, u_short height) |
| void | normalize_rgb (RGB *rgb, u_long length, double scale, BOOL mono) |
| Multiply the pixels by a scalar. More... | |
|
static |
|
static |
|
static |
References RGB::blue, MyImageListItem::getImage, RGB::green, MyIntegerSize::height, MyIntegerRect::origin, RGB::red, MyIntegerRect::size, MyIntegerSize::width, MyIntegerPoint::x, and MyIntegerPoint::y.
Referenced by MyImageAligner::alignWithList:reference:refBuffer:lock:darkFrame:flatField:rectangle:cutOff:precisionThreshold:.
| 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().
|
static |
Referenced by MyImageListItem::setQuality:.
1.8.15