#include <correlation_observer2D.h>
Collaboration diagram for mimas::hf::correlation_observer2D< Hypothesis_T, Pixel_T >:
Public Member Functions | |
correlation_observer2D (image< Pixel_T > &image, set co_set) | |
double | convolvePoint (const int x, const int y) const |
void | set_correlation_observer_members (const int x, const int y) |
void | observe (Hypothesis_T &p) |
void | draw (const hypothesis2D &h) |
!I put the draw function in the observer at the moment as | |
void | draw (std::vector< hypothesis2D > &hypotheses) |
Public Attributes | |
image< int > | kernel_image |
for display purposes | |
Classes | |
class | set |
The kernel image can be taken in the first image according to the (x,y) location and window size given to the constructor.
This class has been designed as simple as possible to provide an example how to use the hypothesis filter. Optimisation using the fact that the kernel image is always the same to calculate the coeficient correlation can be easily implemented if needed.
Definition at line 40 of file correlation_observer2D.h.
mimas::hf::correlation_observer2D< Hypothesis_T, Pixel_T >::correlation_observer2D | ( | image< Pixel_T > & | image, | |
set | co_set | |||
) | [inline] |
Definition at line 54 of file correlation_observer2D.h.
References mimas::image< T >::init(), mimas::hf::correlation_observer2D< Hypothesis_T, Pixel_T >::set::KER_H, mimas::hf::correlation_observer2D< Hypothesis_T, Pixel_T >::set::KER_W, mimas::hf::correlation_observer2D< Hypothesis_T, Pixel_T >::kernel_image, mimas::hf::correlation_observer2D< Hypothesis_T, Pixel_T >::set_correlation_observer_members(), mimas::hf::correlation_observer2D< Hypothesis_T, Pixel_T >::set::x, and mimas::hf::correlation_observer2D< Hypothesis_T, Pixel_T >::set::y.
Here is the call graph for this function:
double mimas::hf::correlation_observer2D< Hypothesis_T, Pixel_T >::convolvePoint | ( | const int | x, | |
const int | y | |||
) | const |
Definition at line 145 of file correlation_observer2D.h.
void mimas::hf::correlation_observer2D< Hypothesis_T, Pixel_T >::set_correlation_observer_members | ( | const int | x, | |
const int | y | |||
) |
Definition at line 186 of file correlation_observer2D.h.
Referenced by mimas::hf::correlation_observer2D< Hypothesis_T, Pixel_T >::correlation_observer2D().
void mimas::hf::correlation_observer2D< Hypothesis_T, Pixel_T >::observe | ( | Hypothesis_T & | p | ) |
Definition at line 106 of file correlation_observer2D.h.
void mimas::hf::correlation_observer2D< Hypothesis_T, Pixel_T >::draw | ( | const hypothesis2D & | h | ) | [inline] |
!I put the draw function in the observer at the moment as
Definition at line 73 of file correlation_observer2D.h.
References mimas::image_ref< T >::setPixel(), mimas::hf::hypothesis2D::x, and mimas::hf::hypothesis2D::y.
Referenced by mimas::hf::correlation_observer2D< Hypothesis_T, Pixel_T >::draw().
Here is the call graph for this function:
void mimas::hf::correlation_observer2D< Hypothesis_T, Pixel_T >::draw | ( | std::vector< hypothesis2D > & | hypotheses | ) | [inline] |
Definition at line 87 of file correlation_observer2D.h.
References mimas::hf::correlation_observer2D< Hypothesis_T, Pixel_T >::draw().
Here is the call graph for this function:
image<int> mimas::hf::correlation_observer2D< Hypothesis_T, Pixel_T >::kernel_image |
for display purposes
Definition at line 61 of file correlation_observer2D.h.
Referenced by mimas::hf::correlation_observer2D< Hypothesis_T, Pixel_T >::correlation_observer2D().