motris.algorithm.emcontour
Class MeasurePoint

java.lang.Object
  extended bymotris.algorithm.emcontour.MeasurePoint

public class MeasurePoint
extends java.lang.Object

Encapsulates a Measure Point where the Grayvalue Difference is evaluated

Author:
dahlkamp

Field Summary
 double absGreyLevelDifference
           
 double aPosterioriProbability
           
 double directionX
           
 double directionY
           
(package private)  double distanceHalf
           
(package private)  double imagePosX
           
(package private)  double imagePosY
           
(package private)  EMContourMinimizer parent
           
 int roundedAbsGreyLevelDifference
           
 
Constructor Summary
MeasurePoint(EMContourMinimizer _parent)
           
 
Method Summary
private  double computeAbsGreyLevelDifference()
           
 double getGreyLevel()
           
 boolean setPosition(double _imagePosX, double _imagePosY, double _directionX, double _directionY, double _distanceHalf)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

imagePosX

double imagePosX

imagePosY

double imagePosY

directionX

public double directionX

directionY

public double directionY

distanceHalf

double distanceHalf

parent

EMContourMinimizer parent

absGreyLevelDifference

public double absGreyLevelDifference

roundedAbsGreyLevelDifference

public int roundedAbsGreyLevelDifference

aPosterioriProbability

public double aPosterioriProbability
Constructor Detail

MeasurePoint

public MeasurePoint(EMContourMinimizer _parent)
Method Detail

setPosition

public boolean setPosition(double _imagePosX,
                           double _imagePosY,
                           double _directionX,
                           double _directionY,
                           double _distanceHalf)

getGreyLevel

public double getGreyLevel()

computeAbsGreyLevelDifference

private double computeAbsGreyLevelDifference()

toString

public java.lang.String toString()