Classes | |
class | CCanvas |
This virtual class defines the interface of any object accepting drawing primitives on it. More... | |
class | CEnhancedMetaFile |
This class represents a Windows Enhanced Meta File (EMF) for generating and saving graphics. More... | |
class | CExceptionExternalImageNotFound |
Used in mrpt::img::CImage. More... | |
class | CImage |
A class for storing images as grayscale or RGB bitmaps. More... | |
class | CMappedImage |
This class encapsulates a MRPT Image and allows the sampling of individual pixels with sub-pixel accuracy and with a change of coordinates (eg, meters). More... | |
class | TCamera |
Structure to hold the parameters of a pinhole camera model. More... | |
struct | TColor |
A RGB color - 8bit. More... | |
struct | TColorf |
A RGB color - floats in the range [0,1]. More... | |
struct | TColorManager |
Manage R, G, B color triads and ask class instance of the next unique RGB combination. More... | |
struct | TPixelCoord |
A pair (x,y) of pixel coordinates (integer resolution). More... | |
struct | TPixelCoordf |
A pair (x,y) of pixel coordinates (subpixel resolution). More... | |
class | TStereoCamera |
Structure to hold the parameters of a pinhole stereo camera model. More... | |
Typedefs | |
using | TImageChannels = int |
For use in mrpt::img::CImage. More... | |
using | TImageSize = TPixelCoord |
A type for image sizes. More... | |
Enumerations | |
enum | TInterpolationMethod { IMG_INTERP_NN = 0, IMG_INTERP_LINEAR = 1, IMG_INTERP_CUBIC = 2, IMG_INTERP_AREA = 3 } |
Interpolation methods for images. More... | |
enum | TConstructorFlags_CImage { UNINITIALIZED_IMAGE = 0, FAST_REF_OR_CONVERT_TO_GRAY = 1 } |
For usage in one of the CImage constructors. More... | |
enum | TColormap { cmNONE = -1, cmGRAYSCALE = 0, cmJET, cmHOT } |
Different colormaps for use in mrpt::img::colormap() More... | |
Functions | |
void | hsv2rgb (float h, float s, float v, float &r, float &g, float &b) |
Transform HSV color components to RGB, all of them in the range [0,1]. More... | |
void | rgb2hsv (float r, float g, float b, float &h, float &s, float &v) |
Transform RGB color components to HSV, all of them in the range [0,1]. More... | |
void | colormap (const TColormap &color_map, const float color_index, float &r, float &g, float &b) |
Transform a float number in the range [0,1] into RGB components. More... | |
void | jet2rgb (const float color_index, float &r, float &g, float &b) |
Computes the RGB color components (range [0,1]) for the corresponding color index in the range [0,1] using the MATLAB 'jet' colormap. More... | |
void | hot2rgb (const float color_index, float &r, float &g, float &b) |
Computes the RGB color components (range [0,1]) for the corresponding color index in the range [0,1] using the MATLAB 'hot' colormap. More... | |
bool | operator== (const mrpt::img::TCamera &a, const mrpt::img::TCamera &b) |
bool | operator!= (const mrpt::img::TCamera &a, const mrpt::img::TCamera &b) |
std::ostream & | operator<< (std::ostream &o, const TColor &c) |
mrpt::serialization::CArchive & | operator<< (mrpt::serialization::CArchive &o, const TColor &c) |
mrpt::serialization::CArchive & | operator>> (mrpt::serialization::CArchive &i, TColor &c) |
TColor | operator+ (const TColor &first, const TColor &second) |
Pairwise addition of their corresponding RGBA members. More... | |
TColor | operator- (const TColor &first, const TColor &second) |
Pairwise substraction of their corresponding RGBA members. More... | |
bool | operator== (const TColor &first, const TColor &second) |
std::ostream & | operator<< (std::ostream &o, const TColorf &c) |
mrpt::serialization::CArchive & | operator<< (mrpt::serialization::CArchive &o, const TColorf &c) |
mrpt::serialization::CArchive & | operator>> (mrpt::serialization::CArchive &i, TColorf &c) |
std::ostream & | operator<< (std::ostream &o, const TPixelCoordf &p) |
Prints TPixelCoordf as "(x,y)". More... | |
std::ostream & | operator<< (std::ostream &o, const TPixelCoord &p) |
Prints TPixelCoord as "(x,y)". More... | |
using mrpt::img::TImageChannels = typedef int |
For use in mrpt::img::CImage.
Definition at line 43 of file img/CImage.h.
using mrpt::img::TImageSize = typedef TPixelCoord |
A type for image sizes.
Definition at line 53 of file TPixelCoord.h.
enum mrpt::img::TConstructorFlags_CImage |
For usage in one of the CImage constructors.
Enumerator | |
---|---|
UNINITIALIZED_IMAGE | |
FAST_REF_OR_CONVERT_TO_GRAY |
Definition at line 48 of file img/CImage.h.
enum mrpt::img::TInterpolationMethod |
Interpolation methods for images.
Used for OpenCV related operations with images, but also with MRPT native classes.
Enumerator | |
---|---|
IMG_INTERP_NN | |
IMG_INTERP_LINEAR | |
IMG_INTERP_CUBIC | |
IMG_INTERP_AREA |
Definition at line 34 of file img/CImage.h.
bool mrpt::img::operator!= | ( | const mrpt::img::TCamera & | a, |
const mrpt::img::TCamera & | b | ||
) |
Definition at line 208 of file TCamera.cpp.
Pairwise addition of their corresponding RGBA members.
Definition at line 20 of file TColor.cpp.
References mrpt::img::TColor::A, mrpt::img::TColor::B, mrpt::img::TColor::G, and mrpt::img::TColor::R.
Pairwise substraction of their corresponding RGBA members.
Definition at line 31 of file TColor.cpp.
References mrpt::img::TColor::A, mrpt::img::TColor::B, mrpt::img::TColor::G, and mrpt::img::TColor::R.
CArchive & mrpt::img::operator<< | ( | mrpt::serialization::CArchive & | o, |
const TColor & | c | ||
) |
Definition at line 97 of file TColor.cpp.
CArchive & mrpt::img::operator<< | ( | mrpt::serialization::CArchive & | o, |
const TColorf & | c | ||
) |
Definition at line 120 of file TColor.cpp.
std::ostream & mrpt::img::operator<< | ( | std::ostream & | o, |
const TColor & | c | ||
) |
Definition at line 85 of file TColor.cpp.
References mrpt::system::os::sprintf().
std::ostream & mrpt::img::operator<< | ( | std::ostream & | o, |
const TColorf & | c | ||
) |
Definition at line 110 of file TColor.cpp.
References mrpt::system::os::sprintf().
std::ostream & mrpt::img::operator<< | ( | std::ostream & | o, |
const TPixelCoord & | p | ||
) |
Prints TPixelCoord as "(x,y)".
Definition at line 2847 of file CImage.cpp.
std::ostream & mrpt::img::operator<< | ( | std::ostream & | o, |
const TPixelCoordf & | p | ||
) |
Prints TPixelCoordf as "(x,y)".
Definition at line 2842 of file CImage.cpp.
bool mrpt::img::operator== | ( | const mrpt::img::TCamera & | a, |
const mrpt::img::TCamera & | b | ||
) |
Definition at line 201 of file TCamera.cpp.
Definition at line 72 of file TColor.cpp.
References mrpt::img::TColor::A, mrpt::img::TColor::B, mrpt::img::TColor::G, and mrpt::img::TColor::R.
CArchive & mrpt::img::operator>> | ( | mrpt::serialization::CArchive & | i, |
TColor & | c | ||
) |
Definition at line 103 of file TColor.cpp.
CArchive & mrpt::img::operator>> | ( | mrpt::serialization::CArchive & | i, |
TColorf & | c | ||
) |
Definition at line 126 of file TColor.cpp.
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST |