libcrn  3.9.5
A document image processing library
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Typedefs | Functions
Misc images
+ Collaboration diagram for Misc images:

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...
 

Detailed Description

Typedef Documentation

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.

Author
Yann LEYDIER
Date
August 2007
Version
0.2

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.

Author
Yann LEYDIER
Date
August 2007
Version
0.2

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.

Author
Yann LEYDIER
Date
August 2007
Version
0.3

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.

Author
Yann LEYDIER
Date
August 2007
Version
0.3

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.

Author
Yann LEYDIER
Date
July 2008
Version
0.3

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.

Author
Loris EYNARD
Date
July 2008
Version
0.3

Definition at line 224 of file CRNImageFormats.h.

using crn::ImageXYZ = typedef Image<pixel::XYZ>

XYZ image class.

This class is for angle images.

Author
Yann LEYDIER
Date
Apr. 2015
Version
0.1

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).

Author
Jean DUONG
Date
January 2016
Version
0.3

Definition at line 143 of file CRNImageFormats.h.

Function Documentation

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.

ImageGray crn::BlueChannel ( const ImageHSV img)

Create an image from the blue channel.

Parameters
[in]imgthe source image
Returns
the blue channel

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

Parameters
[in]imgthe image to transform
Returns
the new image

Definition at line 33 of file CRNImageAngle.cpp.

ImageGray crn::GreenChannel ( const ImageHSV img)

Create an image from the green channel.

Parameters
[in]imgthe source image
Returns
the green channel

Definition at line 75 of file CRNImageHSV.cpp.

ImageAngle crn::HChannel ( const ImageHSV img)

Create an image from the hue channel.

Parameters
[in]imgthe source image
Returns
the hue channel

Definition at line 31 of file CRNImageHSV.cpp.

ImageDoubleGray crn::LChannel ( const ImageLab img)

Definition at line 27 of file CRNImageLab.cpp.

template<typename T >
Image<pixel::Cart2D<T> > crn::MakeVector ( const Image< T > &  x,
const Image< T > &  y 
)

Creates a 2D-pixeled image from two images

Exceptions
ExceptionDimensionimages do not have the same size
Parameters
[in]xthe abscissa image
[in]ythe ordinate image
Returns
the new image

Definition at line 41 of file CRNImage2D.h.

ImageGray crn::RedChannel ( const ImageHSV img)

Create an image from the red channel.

Parameters
[in]imgthe source image
Returns
the red channel

Definition at line 64 of file CRNImageHSV.cpp.

ImageGray crn::SChannel ( const ImageHSV img)

Create an image from the saturation channel.

Parameters
[in]imgthe source image
Returns
the saturation channel

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.

Parameters
[in]imgthe source image
Returns
the value channel

Definition at line 53 of file CRNImageHSV.cpp.

ImageDoubleGray crn::YChannel ( const ImageYUV img)

Definition at line 28 of file CRNImageYUV.cpp.