Jafar
|
Class designed to store a binary layer indicating pixel for which the correlation score can be computed. More...
Class designed to store a binary layer indicating pixel for which the correlation score can be computed.
Here only, calibration parameters are taken into account. Don't confuse it with the mask, defined for each image, denoting pixels of homogeneous region.
Definition at line 31 of file qdOmniMask.hpp.
#include <qdOmniMask.hpp>
Public Member Functions | |
omniMask (jafar::camera::CameraBarreto &omniCam, unsigned int nbcol_, unsigned int nbrow_, float winOverAngle) | |
Default constructor Memory allocation for a mask layer of size [nbrow,nbcol]. | |
bool | isPixelValid (unsigned int icol, unsigned irow) |
Read maskValue at the indicated position. | |
Private Attributes | |
boost::numeric::ublas::matrix < bool > | maskIma |
unsigned int | nbcol |
unsigned int | nbrow |
jafar::quasidense::omniMask::omniMask | ( | jafar::camera::CameraBarreto & | omniCam, |
unsigned int | nbcol_, | ||
unsigned int | nbrow_, | ||
float | winOverAngle | ||
) | [inline] |
Default constructor Memory allocation for a mask layer of size [nbrow,nbcol].
Generate Mask (binary layer) with respect to : 1 - calibration parameters store in "omniCam" 2 - Correlation window size defines by overture angle "winOverAngle".
omnicam | CameraBarreto object. Store calibration parameters |
nbcol_ | Width of the mask layer |
nbrow_ | Height of the mask klayer |
winOverAngle | Overture angle defining the correlation window print on the sphere (in radians) |
Definition at line 55 of file qdOmniMask.hpp.
References jafar::camera::CameraBarreto::imageRadius, jafar::camera::CameraBarreto::imageToCameraFrame(), jafar::camera::CameraBarreto::maskRadius, jafar::camera::CameraBarreto::mirrorCenterU, jafar::camera::CameraBarreto::mirrorCenterV, jafar::image::Image::save(), and jafar::image::Image::setPixelValue().
bool jafar::quasidense::omniMask::isPixelValid | ( | unsigned int | icol, |
unsigned | irow | ||
) | [inline] |
Read maskValue at the indicated position.
icol | column index |
irow | row index |
Definition at line 334 of file qdOmniMask.hpp.
Referenced by jafar::quasidense::omniDataCensus::omniDataCensus().
Generated on Wed Oct 15 2014 00:37:43 for Jafar by doxygen 1.7.6.1 |