motris.algorithm.emcontour
Class GrayValueUniformDistribution

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

public class GrayValueUniformDistribution
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
GrayValueUniformDistribution(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

GrayValueUniformDistribution

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

internalGetProbability

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