motris.algorithm
Class MaskComputation

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

public class MaskComputation
extends ParameterizedObjectAdaptor

Computes masks for convolution and integration on interlaced images. Unfortunately, variables and functions are still named in german. Please contact the authors if you would like them translated

Author:
ottlik

Nested Class Summary
 
Nested classes inherited from class parameter.ParameterizedObject
ParameterizedObject.ParameterChangedListener, ParameterizedObject.ParameterizedObjectManager
 
Field Summary
static int FLT_PREC_01
           
static int FLT_PREC_03
           
static int FLT_PREC_05
           
static int FLT_PREC_10
           
static int INTEGRATED
           
private  boolean integrierte_masken
           
private  int mask_subtype
           
private  int[] masksizes
           
private  int max_masken_groesse
           
private  int max_masken_groesse_index
           
private  int max_t_masken_groesse
           
private  int max_t_masken_groesse_index
           
private  int maxmaskerror
           
private static int MIN_MASKENAUSDEHNUNG
           
static int SAMPLED
           
 
Fields inherited from class parameter.ParameterizedObjectAdaptor
parameterChangedNotifyList
 
Fields inherited from class motris.data.Description
 
Constructor Summary
MaskComputation()
           
 
Method Summary
private  double[] berechne_1D_ableitungsmaske_abgetastet(double sigma, int masken_groesse, int zeilensprung)
           
private  double[] berechne_1D_ableitungsmaske_integriert(double sigma, int masken_groesse, int zeilensprung)
           
private  double[] berechne_1D_tiefpassmaske_abgetastet(double sigma, int masken_groesse, int zeilensprung)
           
private  double[] berechne_1D_tiefpassmaske_integriert(double sigma, int masken_groesse, int zeilensprung)
           
 Mask1D getIdentityMask()
           
 Mask1D getMask(int mask_type, double sigma, int zeilensprung, int partOf)
           
 int getMaskSize(int mask_type, double sigma, int zeilensprung, int partOf)
           
 ParameterSet getParameters()
          Get a Vector of Strings with a description of each Parameter
private  int masken_groesse_3D(int gausstyp, double sigma, boolean ungerade, int max_size)
           
private  int masken_groesse(int gausstyp, double sigma, boolean ungerade, int max_size)
           
 boolean setParameters(ParameterSet _params)
          Set Parameters of this class
 
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

INTEGRATED

public static final int INTEGRATED
See Also:
Constant Field Values

SAMPLED

public static final int SAMPLED
See Also:
Constant Field Values

FLT_PREC_01

public static final int FLT_PREC_01
See Also:
Constant Field Values

FLT_PREC_03

public static final int FLT_PREC_03
See Also:
Constant Field Values

FLT_PREC_05

public static final int FLT_PREC_05
See Also:
Constant Field Values

FLT_PREC_10

public static final int FLT_PREC_10
See Also:
Constant Field Values

MIN_MASKENAUSDEHNUNG

private static final int MIN_MASKENAUSDEHNUNG
See Also:
Constant Field Values

maxmaskerror

private int maxmaskerror

max_masken_groesse_index

private int max_masken_groesse_index

max_masken_groesse

private int max_masken_groesse

max_t_masken_groesse_index

private int max_t_masken_groesse_index

max_t_masken_groesse

private int max_t_masken_groesse

integrierte_masken

private boolean integrierte_masken

mask_subtype

private int mask_subtype

masksizes

private final int[] masksizes
Constructor Detail

MaskComputation

public MaskComputation()
Method Detail

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

getIdentityMask

public Mask1D getIdentityMask()

getMaskSize

public int getMaskSize(int mask_type,
                       double sigma,
                       int zeilensprung,
                       int partOf)

getMask

public Mask1D getMask(int mask_type,
                      double sigma,
                      int zeilensprung,
                      int partOf)

berechne_1D_tiefpassmaske_abgetastet

private double[] berechne_1D_tiefpassmaske_abgetastet(double sigma,
                                                      int masken_groesse,
                                                      int zeilensprung)

berechne_1D_ableitungsmaske_abgetastet

private double[] berechne_1D_ableitungsmaske_abgetastet(double sigma,
                                                        int masken_groesse,
                                                        int zeilensprung)

berechne_1D_ableitungsmaske_integriert

private double[] berechne_1D_ableitungsmaske_integriert(double sigma,
                                                        int masken_groesse,
                                                        int zeilensprung)

berechne_1D_tiefpassmaske_integriert

private double[] berechne_1D_tiefpassmaske_integriert(double sigma,
                                                      int masken_groesse,
                                                      int zeilensprung)

masken_groesse

private int masken_groesse(int gausstyp,
                           double sigma,
                           boolean ungerade,
                           int max_size)

masken_groesse_3D

private int masken_groesse_3D(int gausstyp,
                              double sigma,
                              boolean ungerade,
                              int max_size)