The Pyramid class.
More...
#include <pyramid.hpp>
◆ Pyramid() [1/2]
PIC_INLINE pic::Pyramid::Pyramid |
( |
Image * |
img, |
|
|
bool |
lapGauss, |
|
|
int |
limitLevel = 1 |
|
) |
| |
Pyramid.
- Parameters
-
img | |
lapGauss | is a boolean parameter. If it is true, a Laplacian pyramid will be created, otherwise a Gaussian one. |
limitLevel | |
◆ Pyramid() [2/2]
PIC_INLINE pic::Pyramid::Pyramid |
( |
int |
width, |
|
|
int |
height, |
|
|
int |
channels, |
|
|
bool |
lapGauss, |
|
|
int |
limitLevel = 1 |
|
) |
| |
Pyramid.
- Parameters
-
width | |
height | |
channels | |
lapGauss | is a boolean parameter. If it is true, a Laplacian pyramid will be created, otherwise a Gaussian one. |
limitLevel | |
◆ ~Pyramid()
◆ add()
add is the add operator ( += ) between pyramids.
- Parameters
-
◆ blend()
◆ create()
PIC_INLINE void pic::Pyramid::create |
( |
Image * |
img, |
|
|
bool |
lapGauss, |
|
|
int |
limitLevel = 1 |
|
) |
| |
|
protected |
create
- Parameters
-
img | |
width | |
height | |
channels | |
lapGauss | |
limitLevel | |
◆ get()
Image* pic::Pyramid::get |
( |
int |
index | ) |
|
|
inline |
◆ initFilters()
◆ mul()
mul is the mul operator ( *= ) between pyramids.
- Parameters
-
◆ reconstruct()
reconstruct evaluates a Gaussian/Laplacian pyramid.
- Parameters
-
- Returns
◆ release()
void pic::Pyramid::release |
( |
| ) |
|
|
inlineprotected |
◆ setLapGauss()
void pic::Pyramid::setLapGauss |
( |
bool |
lapGauss | ) |
|
|
inline |
setLapGauss
- Parameters
-
lapGauss | is a boolean parameter. If it is true, a Laplacian pyramid will be created, otherwise a Gaussian one. |
◆ setNULL()
void pic::Pyramid::setNULL |
( |
| ) |
|
|
inline |
◆ setValue()
PIC_INLINE void pic::Pyramid::setValue |
( |
float |
value | ) |
|
◆ size()
int pic::Pyramid::size |
( |
| ) |
|
|
inline |
◆ update()
update recomputes the pyramid given a compatible image, img.
- Parameters
-
◆ bCreated
bool pic::Pyramid::bCreated |
|
protected |
◆ filters
std::vector< Filter* > pic::Pyramid::filters |
|
protected |
◆ flt_add
◆ flt_gauss
◆ flt_sampler
◆ flt_sub
◆ lapGauss
bool pic::Pyramid::lapGauss |
|
protected |
◆ limitLevel
int pic::Pyramid::limitLevel |
|
protected |
◆ stack
◆ trackerRec
◆ trackerUp
The documentation for this class was generated from the following file:
- C:/Users/Francesco/Documents/GitHub/piccante/include/algorithms/pyramid.hpp