10 #ifndef __mrpt_vision_image_pyramid_H
11 #define __mrpt_vision_image_pyramid_H
78 const bool smooth_halves =
true,
const bool convert_grayscale =
false);
87 const bool smooth_halves =
true,
const bool convert_grayscale =
false);
94 std::vector<mrpt::utils::CImage>
images;
A class for storing images as grayscale or RGB bitmaps.
Holds and builds a pyramid of images: starting with an image at full resolution (octave=1),...
~CImagePyramid()
Destructor, frees the stored images.
void buildPyramidFast(mrpt::utils::CImage &img, const size_t nOctaves, const bool smooth_halves=true, const bool convert_grayscale=false)
Exactly like buildPyramid(), but if the input image has not to be converted from RGB to grayscale,...
std::vector< mrpt::utils::CImage > images
The individual images:
void buildPyramid(const mrpt::utils::CImage &img, const size_t nOctaves, const bool smooth_halves=true, const bool convert_grayscale=false)
Fills the vector images with the different octaves built from the input image.
CImagePyramid()
Default constructor, does nothing.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.