10 #ifndef __mrpt_vision_image_pyramid_H 11 #define __mrpt_vision_image_pyramid_H 76 const bool smooth_halves =
true,
const bool convert_grayscale =
false);
85 const bool smooth_halves =
true,
const bool convert_grayscale =
false);
92 std::vector<mrpt::img::CImage>
images;
Holds and builds a pyramid of images: starting with an image at full resolution (octave=1), it builds a number of half-resolution images: octave=2 at 1/2 , octave=3 at 1/2^2, octave=N at 1/2^(N-1).
std::vector< mrpt::img::CImage > images
The individual images:
Classes for computer vision, detectors, features, etc.
void buildPyramidFast(mrpt::img::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...
CImagePyramid()
Default constructor, does nothing.
~CImagePyramid()
Destructor, frees the stored images.
void buildPyramid(const mrpt::img::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.
A class for storing images as grayscale or RGB bitmaps.