opentl::output::LossDetect Class Reference

Class for OpenGL based output to screen or other virtual devices. More...

List of all members.

Classes

struct  Param

Public Member Functions

double computeNCC (const boost::shared_ptr< opentl::models::Target > &target, opentl::core::cvdata::Image &img, int camIdx=0)
 Render the scene at given states, and compute normalized cross-correlation with the current image (grey-level).
 LossDetect (opentl::modelprojection::Warp *warp, modelprojection::GLRenderer *theOutput)
 Constructor.
Paramparams ()
 Get/Set parameters for this class.
virtual ~LossDetect ()
 Destructor.


Detailed Description

Class for OpenGL based output to screen or other virtual devices.

Author:
G. Panin <panin@in.tum.de>

Constructor & Destructor Documentation

opentl::output::LossDetect::LossDetect ( opentl::modelprojection::Warp warp,
modelprojection::GLRenderer theOutput 
)

Constructor.

virtual opentl::output::LossDetect::~LossDetect (  )  [virtual]

Destructor.


Member Function Documentation

double opentl::output::LossDetect::computeNCC ( const boost::shared_ptr< opentl::models::Target > &  target,
opentl::core::cvdata::Image img,
int  camIdx = 0 
)

Render the scene at given states, and compute normalized cross-correlation with the current image (grey-level).

Parameters:
target Input target.
img Input image (RGB).
camIdx Camera index.
Returns:
NCC value.

Param& opentl::output::LossDetect::params (  )  [inline]

Get/Set parameters for this class.

Returns:
Reference to parameter struct.


Generated on Thu Jun 10 21:08:10 2010 for OpenTL by  doxygen 1.5.8