Population
Image processing library in C++
Classes

Matrix In -> Matrix Out (toRGB, fromRGB, toYUV, fromRealImaginary) More...

Classes

class  pop::Convertor
 convertor facilities More...
 

Detailed Description

Matrix In -> Matrix Out (toRGB, fromRGB, toYUV, fromRealImaginary)

Conversion: vectoriel image (vector field, color image,complex image) <-> list of scalar images

Mat2RGBUI8 img;//2d grey-level image object
img.load((std::string(POP_PROJECT_SOURCE_DIR)+"/image/Lena.bmp").c_str());
Mat2UI8 r,g,b;
Convertor::toRGB(img,r,g,b);
r.display("red channel",false);
g.display("green channel",false);
b.display("blue channel");
lenared.jpg
red channel
lenagreen.jpg
green channel
lenablue.jpg
blue channel