|
Blender
V2.93
|
#include <ImagePyramid.h>
Inherits Freestyle::ImagePyramid.
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 |
Public Member Functions inherited from Freestyle::ImagePyramid | |
| 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 |
Protected Attributes inherited from Freestyle::ImagePyramid | |
| std::vector< GrayImage * > | _levels |
Definition at line 85 of file ImagePyramid.h.
|
inline |
Definition at line 90 of file ImagePyramid.h.
References _sigma.
| Freestyle::GaussianPyramid::GaussianPyramid | ( | const GrayImage & | level0, |
| unsigned | nbLevels, | ||
| float | iSigma = 1.0f |
||
| ) |
Definition at line 126 of file ImagePyramid.cpp.
| Freestyle::GaussianPyramid::GaussianPyramid | ( | GrayImage * | level0, |
| unsigned | nbLevels, | ||
| float | iSigma = 1.0f |
||
| ) |
Definition at line 132 of file ImagePyramid.cpp.
| Freestyle::GaussianPyramid::GaussianPyramid | ( | const GaussianPyramid & | iBrother | ) |
Definition at line 138 of file ImagePyramid.cpp.
References _sigma.
|
inlinevirtual |
Definition at line 98 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 143 of file ImagePyramid.cpp.
|
virtual |
Builds a pyramid without copying the base level
Implements Freestyle::ImagePyramid.
Definition at line 149 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 106 of file ImagePyramid.h.
References _sigma.
|
protected |
Definition at line 87 of file ImagePyramid.h.
Referenced by BuildPyramid(), GaussianPyramid(), and getSigma().