libcrn
3.9.5
A document image processing library
|
Classes | |
class | crn::ImageGradient |
Gradient image in polar form. More... | |
Typedefs | |
using | crn::ImageHSV = Image< pixel::HSV > |
Color image class. More... | |
using | crn::ImageYUV = Image< pixel::YUV > |
Color image class. More... | |
using | crn::Image2DIntVector = Image< pixel::Cart2D< int >> |
2D int vector image class More... | |
using | crn::Image2DIntPolarVector = Image< pixel::Polar2D< unsigned int, Angle< ByteAngle >>> |
2D int polar vector image class More... | |
using | crn::ImageAngle = Image< typename ByteAngle::type > |
Angle image class. More... | |
using | crn::ImageXYZ = Image< pixel::XYZ > |
XYZ image class. More... | |
using | crn::ImageLab = Image< pixel::Lab > |
Color image class. More... | |
using | crn::ImageLuv = Image< pixel::Luv > |
Color image class. More... | |
Functions | |
template<typename T > | |
Image< pixel::Cart2D< T > > | crn::MakeVector (const Image< T > &x, const Image< T > &y) |
ImageAngle | crn::HChannel (const ImageHSV &img) |
Create an image from the hue channel. More... | |
ImageGray | crn::SChannel (const ImageHSV &img) |
Create an image from the saturation channel. More... | |
ImageGray | crn::VChannel (const ImageHSV &img) |
Create an image from the value channel. More... | |
ImageGray | crn::RedChannel (const ImageHSV &img) |
Create an image from the red channel. More... | |
ImageGray | crn::GreenChannel (const ImageHSV &img) |
Create an image from the green channel. More... | |
ImageGray | crn::BlueChannel (const ImageHSV &img) |
Create an image from the blue channel. More... | |
ImageDoubleGray | crn::LChannel (const ImageLab &img) |
ImageDoubleGray | crn::AChannel (const ImageLab &img) |
ImageDoubleGray | crn::BChannel (const ImageLab &img) |
ImageDoubleGray | crn::UChannel (const ImageLuv &img) |
ImageDoubleGray | crn::YChannel (const ImageYUV &img) |
ImageRGB | crn::ColorWheel (const ImageAngle &img) |
Transforms an angle image into a RGB image. More... | |
using crn::Image2DIntPolarVector = typedef Image<pixel::Polar2D<unsigned int, Angle<ByteAngle>>> |
2D int polar vector image class
This class is for 2D int polar vectors images.
Definition at line 169 of file CRNImageFormats.h.
using crn::Image2DIntVector = typedef Image<pixel::Cart2D<int>> |
2D int vector image class
This class is for 2D int vectors images.
Definition at line 156 of file CRNImageFormats.h.
using crn::ImageAngle = typedef Image<typename ByteAngle::type> |
Angle image class.
This class is for angle images. Values in pixels' vector represent values for the angle.
Definition at line 183 of file CRNImageFormats.h.
using crn::ImageHSV = typedef Image<pixel::HSV> |
Color image class.
This class is for color images. Values in pixels' vector represent hue, saturation and value.
Definition at line 129 of file CRNImageFormats.h.
using crn::ImageLab = typedef Image<pixel::Lab> |
Color image class.
This class is for color images. Values in pixels' vector are represented in the L*a*b* color space.
Definition at line 210 of file CRNImageFormats.h.
using crn::ImageLuv = typedef Image<pixel::Luv> |
Color image class.
This class is for color images. Values in pixels' vector are represented in the L*u*v* color space.
Definition at line 224 of file CRNImageFormats.h.
using crn::ImageXYZ = typedef Image<pixel::XYZ> |
XYZ image class.
This class is for angle images.
Definition at line 196 of file CRNImageFormats.h.
using crn::ImageYUV = typedef Image<pixel::YUV> |
Color image class.
This class is for color images. Values in pixels' vector represent Y (luma), Cr and Br (chroma).
Definition at line 143 of file CRNImageFormats.h.
ImageDoubleGray crn::AChannel | ( | const ImageLab & | img | ) |
Definition at line 35 of file CRNImageLab.cpp.
ImageDoubleGray crn::BChannel | ( | const ImageLab & | img | ) |
Definition at line 43 of file CRNImageLab.cpp.
Create an image from the blue channel.
[in] | img | the source image |
Definition at line 86 of file CRNImageHSV.cpp.
ImageRGB crn::ColorWheel | ( | const ImageAngle & | img | ) |
Transforms an angle image into a RGB image.
Transforms an angle image into a RGB image
[in] | img | the image to transform |
Definition at line 33 of file CRNImageAngle.cpp.
Create an image from the green channel.
[in] | img | the source image |
Definition at line 75 of file CRNImageHSV.cpp.
ImageAngle crn::HChannel | ( | const ImageHSV & | img | ) |
Create an image from the hue channel.
[in] | img | the source image |
Definition at line 31 of file CRNImageHSV.cpp.
ImageDoubleGray crn::LChannel | ( | const ImageLab & | img | ) |
Definition at line 27 of file CRNImageLab.cpp.
Image<pixel::Cart2D<T> > crn::MakeVector | ( | const Image< T > & | x, |
const Image< T > & | y | ||
) |
Creates a 2D-pixeled image from two images
ExceptionDimension | images do not have the same size |
[in] | x | the abscissa image |
[in] | y | the ordinate image |
Definition at line 41 of file CRNImage2D.h.
Create an image from the red channel.
[in] | img | the source image |
Definition at line 64 of file CRNImageHSV.cpp.
Create an image from the saturation channel.
[in] | img | the source image |
Definition at line 42 of file CRNImageHSV.cpp.
ImageDoubleGray crn::UChannel | ( | const ImageLuv & | img | ) |
Definition at line 36 of file CRNImageLuv.cpp.
ImageDoubleGray crn::VChannel | ( | const ImageHSV & | img | ) |
Create an image from the value channel.
[in] | img | the source image |
Definition at line 53 of file CRNImageHSV.cpp.
ImageDoubleGray crn::YChannel | ( | const ImageYUV & | img | ) |
Definition at line 28 of file CRNImageYUV.cpp.