NorMIT-nav  18.04
An IGT application
IntersectionSet< T > Class Template Reference

#include <intersection_set.hpp>

Inheritance diagram for IntersectionSet< T >:

Public Member Functions

 IntersectionSet ()
 
void estimateDirection ()
 
void estimateVelocityLS ()
 
void correctAliasing (T Vnyq)
 
void setDirectionEstimationParameters (T A, T lower, T upper)
 
void setVelocityEstimationCutoff (T lower, T upper)
 
getEstimatedDirection ()
 
getEstimatedVelocity ()
 

Detailed Description

template<typename T>
class IntersectionSet< T >

Represents a set of intersections. Typically, an instance of this object will only contain intersections with the same spline. Implements the algorithms relevant for multiple instersections.

Definition at line 13 of file intersection_set.hpp.

Constructor & Destructor Documentation

template<typename T>
IntersectionSet< T >::IntersectionSet ( )
inline

Initialize everything to zero except the algorithm parameters: For direction estimation: cosTheta cutoff will be 0.07 < abs(cosTheta) < 0.9 A will be 10.0 For velocity estimation: cosTheta cutoff will be 0.17 < abs(cosTheta) < 1.0

Definition at line 25 of file intersection_set.hpp.

Member Function Documentation

template<typename T>
void IntersectionSet< T >::correctAliasing ( Vnyq)
inline

Perform aliasing correction all images belonging to this intersection set

Parameters
Vnyqthe Nyquist velocity

Definition at line 131 of file intersection_set.hpp.

template<typename T>
void IntersectionSet< T >::estimateDirection ( )
inline

Estimate the flow direction, assuming all intersections belong to the same curve Parameters can be set with setDirectionEstimationParameters()

Definition at line 43 of file intersection_set.hpp.

template<typename T>
void IntersectionSet< T >::estimateVelocityLS ( )
inline

Perform least-squares velocity estimation Parameters can be set with setVelocityEstimationCutoff

Definition at line 87 of file intersection_set.hpp.

template<typename T>
T IntersectionSet< T >::getEstimatedDirection ( )
inline

Get cached estimated direction, if computed. If not computed, compute it

Definition at line 167 of file intersection_set.hpp.

template<typename T>
T IntersectionSet< T >::getEstimatedVelocity ( )
inline

Get cached estimated velocity, if computed. If not computed, compute it

Definition at line 178 of file intersection_set.hpp.

template<typename T>
void IntersectionSet< T >::setDirectionEstimationParameters ( A,
lower,
upper 
)
inline

Set parameters for direction estimation algorithm

Parameters
AThe factor with which to multiply the sample weighting function
lowerlower abs(cosTheta) cutoff
upperupper abs(cosTheta) cutoff

Definition at line 145 of file intersection_set.hpp.

template<typename T>
void IntersectionSet< T >::setVelocityEstimationCutoff ( lower,
upper 
)
inline

Set parameters for velocity estimation algorithm

Parameters
lowerlower abs(cosTheta) cutoff
upperupper abs(cosTheta) cutoff

Definition at line 157 of file intersection_set.hpp.


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