Lynkeos
|
Application internal definitions for the image buffer class. More...
Macros | |
#define | colorValue(buf, x, y, c) (((REAL*)(buf)->_data)[((y)+(c)*(buf)->_h)*(buf)->_padw+(x)]) |
Access to one color component of a pixel. More... | |
#define | redValue(s, x, y) colorValue(s,x,y,RED_PLANE) |
Acces the red value of a pixel. | |
#define | greenValue(s, x, y) colorValue(s,x,y,GREEN_PLANE) |
Acces the green value of a pixel. | |
#define | blueValue(s, x, y) colorValue(s,x,y,BLUE_PLANE) |
Acces the blue value of a pixel. | |
#define | FFTW_PLAN_WITH_NTHREADS fftwf_plan_with_nthreads |
Prepare N threads for FFTW (float) | |
#define | colorComplexValue(buf, x, y, c) (((COMPLEX*)(buf)->_data)[((y)+(c)*(buf)->_h)*(buf)->_spadw+(x)]) |
Access to the complex value of a pixel in the spectrum. More... | |
Application internal definitions for the image buffer class.
#define colorComplexValue | ( | buf, | |
x, | |||
y, | |||
c | |||
) | (((COMPLEX*)(buf)->_data)[((y)+(c)*(buf)->_h)*(buf)->_spadw+(x)]) |
Access to the complex value of a pixel in the spectrum.
This method is provided as a macro for speed purpose.
Referenced by LynkeosFourierBuffer::conjugate, filterImageForAnalysis(), and LynkeosFourierBuffer::normalize.
#define colorValue | ( | buf, | |
x, | |||
y, | |||
c | |||
) | (((REAL*)(buf)->_data)[((y)+(c)*(buf)->_h)*(buf)->_padw+(x)]) |
Access to one color component of a pixel.
This method is implemented as a macro for speed purpose
buf | An instance of MyImageBuffer |
x | Pixel's x coordinate |
y | Pixel's y coordinate |
c | Color plane |
Referenced by corelation_peak(), LynkeosStandardImageBuffer::extractSample:atX:Y:withWidth:height:withPlanes:lineWidth:, LynkeosStandardImageBuffer::getMinLevel:maxLevel:, LynkeosFourierBuffer::inverseTransform, LynkeosStandardImageBuffer(Private)::stackLRGBfromImage:, LynkeosStandardImageBuffer(Private)::stackPlane:fromImage:, and LynkeosStandardImageBuffer::substract:.