Public Types | Public Member Functions | Public Attributes
Segmentation::SubStructure::Model< Degree > Struct Template Reference

#include <sub_structures.h>

List of all members.

Public Types

typedef Eigen::Matrix< float,
2 *Degree+1, 2 *Degree+1 > 
MatrixU1D
typedef Eigen::Matrix< float,
2 *Degree+1, 1 > 
VectorU1D

Public Member Functions

bool check_tangent (const Param< Degree > &para, const float thr) const
void get ()
float get_max_gradient (const Param< Degree > &para) const
Eigen::Vector3f getLinear () const
 get 3 parameters for linear model
void getLinear2 ()
 convert model to linear parameter setting
Eigen::Vector3f getNormal (const float x, const float y) const
 normalized normal at point (x,y)
Eigen::Vector3f getNormal_ (const float x, const float y) const
 not normalized normal at point (x,y)
float intersect (const float mx, const float my) const
 ray cast surface with ray $z = (mx my 1)$ --> null points of polynomial equation (=roots)
bool isLinearAndTo ()
 Model ()
 Model (const Param< Degree > &pa)
float model (const float x, const float y) const
void operator+= (const Model &m)
 add model without update (call therefore get)
void operator+= (const Param< Degree > &m)
 add node without update (call therefore get)
VectorU1D transformation_1D (const Eigen::Vector2f &dir, const Eigen::Vector2f &off, const Eigen::Vector3f &at)
 transform parameters from 2D input f(x,y) to 1D input f(t) (from origin 0/0)
float x () const
 gets averaged x of current model (center point)
float y () const
 gets averaged y of current model (center point)
float z () const
 gets averaged z of current model (center point)

Public Attributes

Param< Degree >::VectorU p
Param< Degree > param

Detailed Description

template<int Degree>
struct Segmentation::SubStructure::Model< Degree >

Model contains data for regression calculations and parameters

Definition at line 118 of file sub_structures.h.


Member Typedef Documentation

template<int Degree>
typedef Eigen::Matrix<float, 2*Degree+1, 2*Degree+1> Segmentation::SubStructure::Model< Degree >::MatrixU1D

Definition at line 120 of file sub_structures.h.

template<int Degree>
typedef Eigen::Matrix<float, 2*Degree+1, 1> Segmentation::SubStructure::Model< Degree >::VectorU1D

Definition at line 119 of file sub_structures.h.


Constructor & Destructor Documentation

template<int Degree>
Segmentation::SubStructure::Model< Degree >::Model ( ) [inline]

Definition at line 125 of file sub_structures.h.

template<int Degree>
Segmentation::SubStructure::Model< Degree >::Model ( const Param< Degree > &  pa) [inline]

Definition at line 126 of file sub_structures.h.


Member Function Documentation

template<int Degree>
bool Segmentation::SubStructure::Model< Degree >::check_tangent ( const Param< Degree > &  para,
const float  thr 
) const [inline]

approximation to nearest point from view point to check against

Definition at line 227 of file sub_structures.h.

template<int Degree>
void Segmentation::SubStructure::Model< Degree >::get ( ) [inline]

do regression for 6 parameters TODO: if it's too steep (thr) make it linear

Definition at line 265 of file sub_structures.h.

template<int Degree>
float Segmentation::SubStructure::Model< Degree >::get_max_gradient ( const Param< Degree > &  para) const [inline]

get maximum of gradient

Definition at line 211 of file sub_structures.h.

template<int Degree>
Eigen::Vector3f Segmentation::SubStructure::Model< Degree >::getLinear ( ) const [inline]

get 3 parameters for linear model

Definition at line 286 of file sub_structures.h.

template<int Degree>
void Segmentation::SubStructure::Model< Degree >::getLinear2 ( ) [inline]

convert model to linear parameter setting

Definition at line 300 of file sub_structures.h.

template<int Degree>
Eigen::Vector3f Segmentation::SubStructure::Model< Degree >::getNormal ( const float  x,
const float  y 
) const [inline]

normalized normal at point (x,y)

Definition at line 323 of file sub_structures.h.

template<int Degree>
Eigen::Vector3f Segmentation::SubStructure::Model< Degree >::getNormal_ ( const float  x,
const float  y 
) const [inline]

not normalized normal at point (x,y)

Definition at line 310 of file sub_structures.h.

template<int Degree>
float Segmentation::SubStructure::Model< Degree >::intersect ( const float  mx,
const float  my 
) const [inline]

ray cast surface with ray $z = (mx my 1)$ --> null points of polynomial equation (=roots)

Definition at line 340 of file sub_structures.h.

template<int Degree>
bool Segmentation::SubStructure::Model< Degree >::isLinearAndTo ( ) [inline]

check in z-axis with theshold (thr) check wether it could be linear, and convert it

Definition at line 169 of file sub_structures.h.

template<int Degree>
float Segmentation::SubStructure::Model< Degree >::model ( const float  x,
const float  y 
) const [inline]

z-value at

Definition at line 253 of file sub_structures.h.

template<int Degree>
void Segmentation::SubStructure::Model< Degree >::operator+= ( const Model< Degree > &  m) [inline]

add model without update (call therefore get)

Definition at line 330 of file sub_structures.h.

template<int Degree>
void Segmentation::SubStructure::Model< Degree >::operator+= ( const Param< Degree > &  m) [inline]

add node without update (call therefore get)

Definition at line 335 of file sub_structures.h.

template<int Degree>
VectorU1D Segmentation::SubStructure::Model< Degree >::transformation_1D ( const Eigen::Vector2f &  dir,
const Eigen::Vector2f &  off,
const Eigen::Vector3f &  at 
) [inline]

transform parameters from 2D input f(x,y) to 1D input f(t) (from origin 0/0)

Definition at line 129 of file sub_structures.h.

template<int Degree>
float Segmentation::SubStructure::Model< Degree >::x ( ) const [inline]

gets averaged x of current model (center point)

Definition at line 345 of file sub_structures.h.

template<int Degree>
float Segmentation::SubStructure::Model< Degree >::y ( ) const [inline]

gets averaged y of current model (center point)

Definition at line 347 of file sub_structures.h.

template<int Degree>
float Segmentation::SubStructure::Model< Degree >::z ( ) const [inline]

gets averaged z of current model (center point)

Definition at line 349 of file sub_structures.h.


Member Data Documentation

template<int Degree>
Param<Degree>::VectorU Segmentation::SubStructure::Model< Degree >::p

Definition at line 123 of file sub_structures.h.

template<int Degree>
Param<Degree> Segmentation::SubStructure::Model< Degree >::param

Definition at line 122 of file sub_structures.h.


The documentation for this struct was generated from the following file:


cob_3d_segmentation
Author(s): Georg Arbeiter
autogenerated on Wed Aug 26 2015 11:03:04