|
Blender V4.3
|
#include <ImagePyramid.h>
Inherited by Freestyle::GaussianPyramid.
Public Member Functions | |
| ImagePyramid () | |
| ImagePyramid (const ImagePyramid &iBrother) | |
| virtual | ~ImagePyramid () |
| virtual void | BuildPyramid (const GrayImage &level0, uint nbLevels)=0 |
| virtual void | BuildPyramid (GrayImage *level0, uint nbLevels)=0 |
| virtual GrayImage * | getLevel (int l) |
| virtual float | pixel (int x, int y, int level=0) |
| virtual int | width (int level=0) |
| virtual int | height (int level=0) |
| int | getNumberOfLevels () const |
Protected Attributes | |
| std::vector< GrayImage * > | _levels |
Definition at line 24 of file ImagePyramid.h.
|
inline |
Definition at line 29 of file ImagePyramid.h.
| Freestyle::ImagePyramid::ImagePyramid | ( | const ImagePyramid & | iBrother | ) |
Definition at line 29 of file ImagePyramid.cpp.
References _levels.
|
virtual |
Definition at line 40 of file ImagePyramid.cpp.
References _levels.
|
pure virtual |
Builds the pyramid. must be overloaded by inherited classes. if nbLevels==0, the complete pyramid is built
Implemented in Freestyle::GaussianPyramid.
|
pure virtual |
Builds a pyramid without copying the base level
Implemented in Freestyle::GaussianPyramid.
Definition at line 52 of file ImagePyramid.cpp.
Referenced by Freestyle::SteerableViewMap::saveSteerableViewMap().
|
inline |
Returns the number of levels in the pyramid
Definition at line 61 of file ImagePyramid.h.
References _levels.
Referenced by Freestyle::SteerableViewMap::getNumberOfPyramidLevels(), Freestyle::Canvas::loadMap(), and Freestyle::SteerableViewMap::saveSteerableViewMap().
Returns the height of the level-th level image
Definition at line 113 of file ImagePyramid.cpp.
References _levels.
Referenced by Freestyle::Canvas::loadMap(), pixel(), Freestyle::Canvas::readMapPixel(), Freestyle::SteerableViewMap::readSteerableViewMapPixel(), and Freestyle::SteerableViewMap::saveSteerableViewMap().
Returns the pixel x,y using bilinear interpolation.
| x | the abscissa specified in the finest level coordinate system |
| y | the ordinate specified in the finest level coordinate system |
| level | the level from which we want the pixel to be evaluated |
Definition at line 57 of file ImagePyramid.cpp.
References _levels, B, Freestyle::FrsImage::height(), height(), Freestyle::GrayImage::pixel(), Freestyle::FrsImage::width(), and width().
Referenced by Freestyle::Canvas::loadMap(), Freestyle::Canvas::readMapPixel(), and Freestyle::SteerableViewMap::readSteerableViewMapPixel().
Returns the width of the level-th level image
Definition at line 108 of file ImagePyramid.cpp.
References _levels.
Referenced by Freestyle::Canvas::loadMap(), pixel(), Freestyle::Canvas::readMapPixel(), Freestyle::SteerableViewMap::readSteerableViewMapPixel(), and Freestyle::SteerableViewMap::saveSteerableViewMap().
|
protected |
Definition at line 26 of file ImagePyramid.h.
Referenced by Freestyle::GaussianPyramid::BuildPyramid(), getLevel(), getNumberOfLevels(), height(), ImagePyramid(), pixel(), width(), and ~ImagePyramid().