Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions | Protected Member Functions
jafar::slam::ScaledHomogeneousImagePluckerFeatureObserveModel Class Reference

Observation Model using Scaled Homogeneous parametrisation. More...


Detailed Description

Observation Model using Scaled Homogeneous parametrisation.

Definition at line 673 of file segmentFeature.hpp.

#include <segmentFeature.hpp>

Inheritance diagram for jafar::slam::ScaledHomogeneousImagePluckerFeatureObserveModel:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ScaledHomogeneousImagePluckerFeatureObserveModel (SegmentFeatureModel &featureModel_, jafar::camera::CameraPinhole const &camera_)
 Constructor.
 ~ScaledHomogeneousImagePluckerFeatureObserveModel ()
 Destructor.
virtual jblas::vec const & computeInnovation (jblas::vec const &z_, jblas::vec const &zPred_)
 Innovation.
virtual void computeSensorR (Observation const &obs)
 Build covariances matrix of observation.

Static Public Member Functions

static jblas::vec3 extToImageModel (jblas::vec const &ext1, jblas::vec const &ext2)
 Compute two lines from the optical center through both segment extremities.
static jblas::vec3 extToImageModel (jblas::vec const &ext1, jblas::vec const &ext2, jblas::vec3 const &ref)
 Compute two lines from the optical center through both segment extremities.
static void extToImageModelJac (jblas::vec const &ext1, jblas::vec const &ext2, jblas::mat &H_e)
 The Jacobian of extToLine() wrt the extremes.
static void extToImageModelJac (jblas::vec const &ext1, jblas::vec const &ext2, jblas::vec3 const &ref, jblas::mat &HM_e)
 The Jacobian of extToLine() wrt the extremes.

Protected Member Functions

jblas::vec const & predictObservationInSensorFrame (jblas::vec const &feature_)
 Project line into camera and convert to Scaled Homogeneous representation.
void predictObservationInSensorFrameJac (jblas::vec const &feature_)
 Project line into camera and convert to Scaled Homogeneous representation -- Jacobians.
virtual jblas::vec const & homogeneousToImageModel (jblas::vec3 const &l_)
 homogeneous to Scaled Homogeneous conversion
virtual void homogeneousToImageModelJac (jblas::vec3 const &l_, jblas::mat &Jl) const
 homogeneous to Scaled Homogeneous conversion -- Jacobians
virtual jblas::vec3 imageModelToHomogeneous (jblas::vec const &sh_)
 Scaled Homogeneous to homogeneous transform.
virtual void imageModelToHomogeneousJac (jblas::vec const &sh_, jblas::vec3 &l, jblas::mat &HM_sh)
 Scaled Homogeneous to homogeneous transform -- Jacobian.
virtual void imageModelToHomogeneousJac (jblas::vec const &sh_, jblas::mat &HM_sh)
 Scaled Homogeneous to homogeneous transform -- Jacobian.
virtual jblas::vec inverseObservationInSensorFrame (Observation const &obs_)
 Retro-project Plucker line.
virtual void inverseObservationInSensorFrameJac (Observation const &obs_)
 Retro-project Plucker line -- output and Jacobian.

Member Function Documentation

Build covariances matrix of observation.

Parameters:
obsobservation as a couple of endpoints

Reimplemented from jafar::slam::BaseFeatureObserveModel.

Compute two lines from the optical center through both segment extremities.

Parameters:
ext1the first extreme of the detected segment
ext2the second extreme

Compute two lines from the optical center through both segment extremities.

Parameters:
ext1the first extreme of the detected segment
ext2the second extreme
refthe reference homogeneous line to which the new line's norm is matched

The Jacobian of extToLine() wrt the extremes.

Parameters:
ext1the first extreme of the detected segment
ext2the second extreme
H_eThe returned Jacobian
static void jafar::slam::ScaledHomogeneousImagePluckerFeatureObserveModel::extToImageModelJac ( jblas::vec const &  ext1,
jblas::vec const &  ext2,
jblas::vec3 const &  ref,
jblas::mat HM_e 
) [static]

The Jacobian of extToLine() wrt the extremes.

Parameters:
ext1the first extreme of the detected segment
ext2the second extreme
refthe reference homogeneous line to which the new line's norm is matched
HM_eThe returned Jacobian

Scaled Homogeneous to homogeneous transform.

Parameters:
sh_input Scaled Homogeneous 2D line representation -- rt = (rho,theta)'
Returns:
The homogeneous line in P3 -- l = (a,b,c)'

Implements jafar::slam::ImagePluckerFeatureObserveModel.

Scaled Homogeneous to homogeneous transform -- Jacobian.

Parameters:
sh_input Scaled Homogeneous 2D line representation
HM_shoutput transformation Jacobian

Implements jafar::slam::ImagePluckerFeatureObserveModel.

Scaled Homogeneous to homogeneous transform -- Jacobian.

Parameters:
sh_input Scaled Homogeneous 2D line representation
loutput homogeneous line representation
HM_shoutput transformation Jacobian

Implements jafar::slam::ImagePluckerFeatureObserveModel.

Retro-project Plucker line.

Retro-project Plucker line -- output and Jacobian Retro-project Plucker line

Implements jafar::slam::FeatureObserveModel.


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:49 for Jafar by doxygen 1.7.6.1
LAAS-CNRS