Jafar
|
base class for pyramidal scalespace representations.
Definition at line 20 of file pyramid.hpp.
#include <pyramid.hpp>
Public Types | |
typedef std::vector < jafar::image::Image > ::iterator | iterator |
typedef std::vector < jafar::image::Image > ::const_iterator | const_iterator |
Public Member Functions | |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
Pyramid (int levels=0) | |
Default constructor. | |
Pyramid (jafar::image::Image const &img, int levels) | |
build constructor | |
Pyramid (Pyramid const &pyr) | |
Copy constructor. | |
virtual | ~Pyramid () |
Default destructor. | |
Pyramid | clone () const |
size_t | size () const |
bool | check () const |
jafar::image::Image & | operator[] (int l) |
jafar::image::Image const & | operator[] (int l) const |
template<typename type > | |
type | getPixelValue (int x, int y, int l, int ref_l=0, int channel=0) const |
template<typename type > | |
double | getSubPixelValue (double x, double y, int l, int ref_l=0, int channel=0) const |
Pyramid & | operator= (Pyramid const &pyr) |
bool | operator== (jafar::image::Image const &img) const |
bool | operator== (jafar::image::Pyramid const &pyr) const |
virtual void | build (jafar::image::Image const &img, int l=0) |
Protected Attributes | |
std::vector< jafar::image::Image > | p_pyr |
virtual void jafar::image::Pyramid::build | ( | jafar::image::Image const & | img, |
int | l = 0 |
||
) | [virtual] |
build the pyramid. Here, it uses a gaussian 5x5 kernel filter
Reimplemented in jafar::image::LinearPyramid, jafar::image::GaborPyramid, jafar::image::GaussianPyramid, and jafar::sas::OrientedConspicuity.
Referenced by Pyramid().
bool jafar::image::Pyramid::check | ( | ) | const [inline] |
Definition at line 65 of file pyramid.hpp.
Pyramid jafar::image::Pyramid::clone | ( | ) | const [inline] |
type jafar::image::Pyramid::getPixelValue | ( | int | x, |
int | y, | ||
int | l, | ||
int | ref_l = 0 , |
||
int | channel = 0 |
||
) | const |
get pixel value for given level. ref_l reference level of (x,y) [default: 0]
Definition at line 145 of file pyramid.hpp.
References JFR_PRECOND.
double jafar::image::Pyramid::getSubPixelValue | ( | double | x, |
double | y, | ||
int | l, | ||
int | ref_l = 0 , |
||
int | channel = 0 |
||
) | const |
get subpixel value for given level ref_l reference level of (x,y) [default: 0]
Definition at line 158 of file pyramid.hpp.
References JFR_PRECOND.
Pyramid assignation
Definition at line 109 of file pyramid.hpp.
bool jafar::image::Pyramid::operator== | ( | jafar::image::Image const & | img | ) | const [inline] |
check if given image and p_pyr[0] have the same characteristics
Definition at line 117 of file pyramid.hpp.
bool jafar::image::Pyramid::operator== | ( | jafar::image::Pyramid const & | pyr | ) | const [inline] |
check if given pyramid and p_pyr have the same characteristics
Definition at line 124 of file pyramid.hpp.
References size().
jafar::image::Image& jafar::image::Pyramid::operator[] | ( | int | l | ) | [inline] |
image accessor
Definition at line 81 of file pyramid.hpp.
jafar::image::Image const& jafar::image::Pyramid::operator[] | ( | int | l | ) | const [inline] |
const image accessor
Definition at line 88 of file pyramid.hpp.
size_t jafar::image::Pyramid::size | ( | ) | const [inline] |
return size of the Pyramid
Definition at line 58 of file pyramid.hpp.
Referenced by jafar::sas::OrientedConspicuity::build(), check(), clone(), operator==(), and jafar::sas::OrientedConspicuity::OrientedConspicuity().
Generated on Wed Oct 15 2014 00:37:39 for Jafar by doxygen 1.7.6.1 |