motris.algorithm.emcontour
Class GrayValueGaussianDistribution

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

public class GrayValueGaussianDistribution
extends GrayValueDistribution

Author:
dahlkamp

Nested Class Summary
 
Nested classes inherited from class parameter.ParameterizedObject
ParameterizedObject.ParameterChangedListener, ParameterizedObject.ParameterizedObjectManager
 
Field Summary
(package private)  double sigma
           
 
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
GrayValueGaussianDistribution(java.lang.String _name, java.lang.String _id, double _sigma, int _preComputeAmount)
           
GrayValueGaussianDistribution(java.lang.String _name, java.lang.String _id, int _preComputeAmount)
           
 
Method Summary
 ParameterSet getParameters()
          Get a Vector of Strings with a description of each Parameter
(package private)  double internalGetProbability(int grayValueDifference)
           
 boolean parameterEdited(ParameterSet editedParams)
          Notify when Parameter set was changed during edit
 boolean setParameters(ParameterSet _params)
          Set Parameters of this class
 void setSigma(double d)
           
 
Methods inherited from class motris.algorithm.emcontour.GrayValueDistribution
computeNormalization, getProbability, setPreComputeAmount
 
Methods inherited from class parameter.ParameterizedObjectAdaptor
addParameterChangedListener, finalize, fireParameterChanged, removeParameterChangedListener
 
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
 

Field Detail

sigma

double sigma
Constructor Detail

GrayValueGaussianDistribution

public GrayValueGaussianDistribution(java.lang.String _name,
                                     java.lang.String _id,
                                     double _sigma,
                                     int _preComputeAmount)

GrayValueGaussianDistribution

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

internalGetProbability

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

setSigma

public void setSigma(double d)

getParameters

public ParameterSet getParameters()
Description copied from interface: ParameterizedObject
Get a Vector of Strings with a description of each Parameter

Specified by:
getParameters in interface ParameterizedObject
Overrides:
getParameters in class ParameterizedObjectAdaptor

parameterEdited

public boolean parameterEdited(ParameterSet editedParams)
Description copied from interface: ParameterizedObject
Notify when Parameter set was changed during edit

Specified by:
parameterEdited in interface ParameterizedObject
Overrides:
parameterEdited in class ParameterizedObjectAdaptor

setParameters

public boolean setParameters(ParameterSet _params)
Description copied from interface: ParameterizedObject
Set Parameters of this class

Specified by:
setParameters in interface ParameterizedObject
Overrides:
setParameters in class ParameterizedObjectAdaptor