motris.algorithm
Class EdgeElement

java.lang.Object
  extended bymotris.data.Description
      extended byparameter.ParameterizedObjectAdaptor
          extended bymotris.algorithm.Algorithm
              extended bymotris.algorithm.EdgeElement
All Implemented Interfaces:
ParameterizedObject

public class EdgeElement
extends Algorithm

Computes edge elements

Author:
Markus Middeldorf, Artur Ottlik, Hendrik Dahlkamp

Nested Class Summary
 
Nested classes inherited from class parameter.ParameterizedObject
ParameterizedObject.ParameterChangedListener, ParameterizedObject.ParameterizedObjectManager
 
Field Summary
(package private)  Derivative derivative
           
private  double minimalSquaredGradientLength
           
 
Fields inherited from class motris.algorithm.Algorithm
dataManager, experiment
 
Fields inherited from class parameter.ParameterizedObjectAdaptor
parameterChangedNotifyList
 
Fields inherited from class motris.data.Description
 
Constructor Summary
EdgeElement(Experiment ex)
           
 
Method Summary
 DerivativeImage calculate(int frame)
           
 DerivativeImage calculate(int frame, java.awt.Rectangle clipping)
           
 ParameterSet getParameters()
          Get a Vector of Strings with a description of each Parameter
private  double getSquared2DNorm(double[] vec)
           
 boolean setParameters(ParameterSet _params)
          Set Parameters of this class
 
Methods inherited from class motris.algorithm.Algorithm
deregisterLayers
 
Methods inherited from class parameter.ParameterizedObjectAdaptor
addParameterChangedListener, finalize, fireParameterChanged, parameterEdited, 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

minimalSquaredGradientLength

private double minimalSquaredGradientLength

derivative

Derivative derivative
Constructor Detail

EdgeElement

public EdgeElement(Experiment ex)
Method Detail

calculate

public DerivativeImage calculate(int frame)

calculate

public DerivativeImage calculate(int frame,
                                 java.awt.Rectangle clipping)

getSquared2DNorm

private final double getSquared2DNorm(double[] vec)

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

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