Blender
V3.3
|
#include <ImagePyramid.h>
Public Member Functions | |
GaussianPyramid (float iSigma=1.0f) | |
GaussianPyramid (const GrayImage &level0, unsigned nbLevels, float iSigma=1.0f) | |
GaussianPyramid (GrayImage *level0, unsigned nbLevels, float iSigma=1.0f) | |
GaussianPyramid (const GaussianPyramid &iBrother) | |
virtual | ~GaussianPyramid () |
virtual void | BuildPyramid (const GrayImage &level0, unsigned nbLevels) |
virtual void | BuildPyramid (GrayImage *level0, unsigned nbLevels) |
float | getSigma () const |
![]() | |
ImagePyramid () | |
ImagePyramid (const ImagePyramid &iBrother) | |
virtual | ~ImagePyramid () |
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 | |
float | _sigma |
![]() | |
std::vector< GrayImage * > | _levels |
Definition at line 71 of file ImagePyramid.h.
|
inline |
Definition at line 76 of file ImagePyramid.h.
References _sigma.
Freestyle::GaussianPyramid::GaussianPyramid | ( | const GrayImage & | level0, |
unsigned | nbLevels, | ||
float | iSigma = 1.0f |
||
) |
Definition at line 112 of file ImagePyramid.cpp.
Freestyle::GaussianPyramid::GaussianPyramid | ( | GrayImage * | level0, |
unsigned | nbLevels, | ||
float | iSigma = 1.0f |
||
) |
Definition at line 118 of file ImagePyramid.cpp.
Freestyle::GaussianPyramid::GaussianPyramid | ( | const GaussianPyramid & | iBrother | ) |
Definition at line 124 of file ImagePyramid.cpp.
References _sigma.
|
inlinevirtual |
Definition at line 84 of file ImagePyramid.h.
|
virtual |
Builds the pyramid. must be overloaded by inherited classes. if nbLevels==0, the complete pyramid is built
Implements Freestyle::ImagePyramid.
Definition at line 129 of file ImagePyramid.cpp.
Builds a pyramid without copying the base level
Implements Freestyle::ImagePyramid.
Definition at line 135 of file ImagePyramid.cpp.
References Freestyle::ImagePyramid::_levels, _sigma, Freestyle::GaussianFilter::getSmoothedPixel(), Freestyle::FrsImage::height(), Freestyle::GrayImage::setPixel(), v, w(), Freestyle::FrsImage::width(), Freestyle::x, and y.
|
inline |
Definition at line 92 of file ImagePyramid.h.
References _sigma.
|
protected |
Definition at line 73 of file ImagePyramid.h.
Referenced by BuildPyramid(), GaussianPyramid(), and getSigma().