motris.algorithm
Class Derivative

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

public class Derivative
extends Algorithm

Computes Images Derivatives by 3-dimensional gaussian convolution

Author:
ottlik, dahlkamp

Nested Class Summary
 
Nested classes inherited from class parameter.ParameterizedObject
ParameterizedObject.ParameterChangedListener, ParameterizedObject.ParameterizedObjectManager
 
Field Summary
private  MaskComputation maskSettings
           
private  double sigmat
           
private  double sigmax
           
private  double sigmay
           
 
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
Derivative(Experiment e)
           
 
Method Summary
 DerivativeImage calculate(int framenr)
           
 DerivativeImage calculate(int framenr, java.awt.Rectangle clipping)
          Calculate the derivative for the given framenr
private  int determ_halfframe_1(int bildnummer, int y_koord)
           
 MaskComputation getMaskSettings()
           
 ParameterSet getParameters()
          Get a Vector of Strings with a description of each Parameter
 boolean setParameters(ParameterSet _params)
          Set Parameters of this class
 void setSigma(double sx, double sy, double st)
           
 
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

sigmax

private double sigmax

sigmay

private double sigmay

sigmat

private double sigmat

maskSettings

private MaskComputation maskSettings
Constructor Detail

Derivative

public Derivative(Experiment e)
Method Detail

calculate

public DerivativeImage calculate(int framenr)

calculate

public DerivativeImage calculate(int framenr,
                                 java.awt.Rectangle clipping)
Calculate the derivative for the given framenr


determ_halfframe_1

private final int determ_halfframe_1(int bildnummer,
                                     int y_koord)

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

setSigma

public void setSigma(double sx,
                     double sy,
                     double st)

getMaskSettings

public MaskComputation getMaskSettings()