Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
jafar::quasidense::omniMask Class Reference

Class designed to store a binary layer indicating pixel for which the correlation score can be computed. More...


Detailed Description

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>

List of all members.

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

Constructor & Destructor Documentation

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".

Parameters:
omnicamCameraBarreto object. Store calibration parameters
nbcol_Width of the mask layer
nbrow_Height of the mask klayer
winOverAngleOverture 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().


Member Function Documentation

bool jafar::quasidense::omniMask::isPixelValid ( unsigned int  icol,
unsigned  irow 
) [inline]

Read maskValue at the indicated position.

Parameters:
icolcolumn index
irowrow index
Returns:
Value of maskIma(irow,icol)

Definition at line 334 of file qdOmniMask.hpp.

Referenced by jafar::quasidense::omniDataCensus::omniDataCensus().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:43 for Jafar by doxygen 1.7.6.1
LAAS-CNRS