motris.algorithm.emcontour
Class GrayValueLinearDistribution

java.lang.Object
  extended bymotris.data.Description
      extended byparameter.ParameterizedObjectAdaptor
          extended bymotris.algorithm.emcontour.GrayValueDistribution
              extended bymotris.algorithm.emcontour.GrayValueLinearDistribution
All Implemented Interfaces:
ParameterizedObject

public class GrayValueLinearDistribution
extends GrayValueDistribution

Author:
dahlkamp

Nested Class Summary
 
Nested classes inherited from class parameter.ParameterizedObject
ParameterizedObject.ParameterChangedListener, ParameterizedObject.ParameterizedObjectManager
 
Field Summary
 
Fields inherited from class motris.algorithm.emcontour.GrayValueDistribution
grayLevels, normalizationCoefficient, preComputedProbability, preComputeValues
 
Fields inherited from class parameter.ParameterizedObjectAdaptor
parameterChangedNotifyList
 
Fields inherited from class motris.data.Description
 
Constructor Summary
GrayValueLinearDistribution(java.lang.String _name, java.lang.String _id, int _preComputeAmount)
           
 
Method Summary
(package private)  double internalGetProbability(int grayValueDifference)
           
 
Methods inherited from class motris.algorithm.emcontour.GrayValueDistribution
computeNormalization, getProbability, setPreComputeAmount
 
Methods inherited from class parameter.ParameterizedObjectAdaptor
addParameterChangedListener, finalize, fireParameterChanged, getParameters, parameterEdited, removeParameterChangedListener, setParameters
 
Methods inherited from class motris.data.Description
getDescription, getIdentifier, getName, setDescription, setIdentifier, setName
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GrayValueLinearDistribution

public GrayValueLinearDistribution(java.lang.String _name,
                                   java.lang.String _id,
                                   int _preComputeAmount)
Method Detail

internalGetProbability

double internalGetProbability(int grayValueDifference)
Specified by:
internalGetProbability in class GrayValueDistribution