Fraxinus
18.10
An IGT application
|
#include <intersection_set.hpp>
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) |
T | getEstimatedDirection () |
T | getEstimatedVelocity () |
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.
|
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.
|
inline |
Perform aliasing correction all images belonging to this intersection set
Vnyq | the Nyquist velocity |
Definition at line 131 of file intersection_set.hpp.
|
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.
|
inline |
Perform least-squares velocity estimation Parameters can be set with setVelocityEstimationCutoff
Definition at line 87 of file intersection_set.hpp.
|
inline |
Get cached estimated direction, if computed. If not computed, compute it
Definition at line 167 of file intersection_set.hpp.
|
inline |
Get cached estimated velocity, if computed. If not computed, compute it
Definition at line 178 of file intersection_set.hpp.
|
inline |
Set parameters for direction estimation algorithm
A | The factor with which to multiply the sample weighting function |
lower | lower abs(cosTheta) cutoff |
upper | upper abs(cosTheta) cutoff |
Definition at line 145 of file intersection_set.hpp.
|
inline |
Set parameters for velocity estimation algorithm
lower | lower abs(cosTheta) cutoff |
upper | upper abs(cosTheta) cutoff |
Definition at line 157 of file intersection_set.hpp.