The PoissonDescriptor class.
More...
#include <poisson_descriptor.hpp>
◆ PoissonDescriptor()
pic::PoissonDescriptor::PoissonDescriptor |
( |
int |
kernelSize = 16 , |
|
|
unsigned int |
seed = 1 |
|
) |
| |
|
inline |
◆ ~PoissonDescriptor()
pic::PoissonDescriptor::~PoissonDescriptor |
( |
| ) |
|
|
inline |
◆ generateSamples()
void pic::PoissonDescriptor::generateSamples |
( |
unsigned int |
kernelSize | ) |
|
|
inlineprotected |
generateSamples
- Parameters
-
◆ get()
unsigned int* pic::PoissonDescriptor::get |
( |
Image * |
img, |
|
|
int |
x0, |
|
|
int |
y0, |
|
|
unsigned int * |
desc = NULL |
|
) |
| |
|
inline |
get computes a descriptor at position (x0,y0) with size n for a given image img.
- Parameters
-
img | is the input image |
x0 | is the x-coordinate where to compute the descriptor |
y0 | is the y-coordinate where to compute the descriptor |
desc | is the output descriptor, if it is NULL, memory will be allocated |
- Returns
- it returns a pointer to the descriptor
◆ getAux()
unsigned int* pic::PoissonDescriptor::getAux |
( |
Image * |
img, |
|
|
int |
x0, |
|
|
int |
y0, |
|
|
unsigned int * |
desc = NULL |
|
) |
| |
|
inlineprotected |
getAux computes a descriptor at position (x0,y0) with size n.
- Parameters
-
- Returns
◆ getDescriptorSize()
int pic::PoissonDescriptor::getDescriptorSize |
( |
| ) |
|
|
inline |
getDescriptorSize returns the descriptor size.
- Returns
- the descriptor size.
◆ release()
void pic::PoissonDescriptor::release |
( |
| ) |
|
|
inline |
release deallocates memory.
◆ kernelSize
int pic::PoissonDescriptor::kernelSize |
|
protected |
std::mt19937* pic::PoissonDescriptor::m |
|
protected |
◆ nSamples
int pic::PoissonDescriptor::nSamples |
|
protected |
◆ rs
◆ subBlock
unsigned int pic::PoissonDescriptor::subBlock |
|
protected |
The documentation for this class was generated from the following file: