motris.algorithm
Class EdgeElementAdaption.OneEdgeElementCalculations

java.lang.Object
  extended bymotris.algorithm.EdgeElementAdaption.OneEdgeElementCalculations
Enclosing class:
EdgeElementAdaption

public class EdgeElementAdaption.OneEdgeElementCalculations
extends java.lang.Object

Convenience class for calculations between one edge element and a model edge


Field Summary
(package private)  double cosDelta
           
 double[] dd_dstate
           
(package private)  double delta
           
 double distance
           
(package private)  double inKEDirAssignmentVecU
           
(package private)  double inKEDirAssignmentVecV
           
(package private)  double l
           
 double mahalanobis
           
(package private)  double maxAngleDifference
           
 double measuringCovariance
           
(package private)  EdgeElementAdaption.ModelSegmentCache modelSegmentCache
           
 double perpendicular
           
(package private)  double perpendicularAssignmentVecU
           
(package private)  double perpendicularAssignmentVecV
           
(package private)  double phi
           
(package private)  DoubleMatrix predictedCovariance
           
(package private)  double sinDelta
           
 double stateCovariance
           
(package private)  double tanAcceptanceAreaAngle
           
(package private)  double u
           
(package private)  double ue
           
(package private)  double ueus
           
(package private)  double us
           
(package private)  double uum
           
(package private)  double v
           
(package private)  double ve
           
(package private)  double vevs
           
(package private)  double vs
           
(package private)  double vvm
           
 
Constructor Summary
EdgeElementAdaption.OneEdgeElementCalculations(DoubleMatrix _predicted, double _maxAngleDifference, double _tanAcceptanceAreaAngle, EdgeElementAdaption.ModelSegmentCache _modelSegmentCache)
           
 
Method Summary
 boolean calculate(int _u, int _v, double _phi, int modelSegmentIndex)
           
private  void calculateAdditionalDistances(double originalPhi)
           
private  void calculateDistance()
          computes the distance measure by Heimes and Tonko.
private  void calculateMeasuringCovariance(double cosTheta)
           
private  void calculateStateCovariance(int modelSegmentIndex)
           
 ParameterSet getDetails(ParameterSet params)
           
 double getDistance()
           
 double getMahalanobis()
           
 double getMeasuringCovariance()
           
 double getStateCovariance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

predictedCovariance

final DoubleMatrix predictedCovariance

maxAngleDifference

final double maxAngleDifference

tanAcceptanceAreaAngle

final double tanAcceptanceAreaAngle

modelSegmentCache

final EdgeElementAdaption.ModelSegmentCache modelSegmentCache

u

double u

v

double v

phi

double phi

us

double us

vs

double vs

ue

double ue

ve

double ve

uum

double uum

vvm

double vvm

ueus

double ueus

vevs

double vevs

perpendicularAssignmentVecU

double perpendicularAssignmentVecU

perpendicularAssignmentVecV

double perpendicularAssignmentVecV

inKEDirAssignmentVecU

double inKEDirAssignmentVecU

inKEDirAssignmentVecV

double inKEDirAssignmentVecV

l

double l

delta

double delta

cosDelta

double cosDelta

sinDelta

double sinDelta

perpendicular

public double perpendicular

distance

public double distance

measuringCovariance

public double measuringCovariance

stateCovariance

public double stateCovariance

mahalanobis

public double mahalanobis

dd_dstate

public double[] dd_dstate
Constructor Detail

EdgeElementAdaption.OneEdgeElementCalculations

public EdgeElementAdaption.OneEdgeElementCalculations(DoubleMatrix _predicted,
                                                      double _maxAngleDifference,
                                                      double _tanAcceptanceAreaAngle,
                                                      EdgeElementAdaption.ModelSegmentCache _modelSegmentCache)
Method Detail

getDistance

public double getDistance()

getMeasuringCovariance

public double getMeasuringCovariance()

getStateCovariance

public double getStateCovariance()

getMahalanobis

public double getMahalanobis()

calculate

public final boolean calculate(int _u,
                               int _v,
                               double _phi,
                               int modelSegmentIndex)

calculateDistance

private final void calculateDistance()
computes the distance measure by Heimes and Tonko.


calculateAdditionalDistances

private final void calculateAdditionalDistances(double originalPhi)

calculateMeasuringCovariance

private final void calculateMeasuringCovariance(double cosTheta)

calculateStateCovariance

private final void calculateStateCovariance(int modelSegmentIndex)

getDetails

public ParameterSet getDetails(ParameterSet params)