volume
Class Gaussian2D

java.lang.Object
  |
  +--volume.Kernel
        |
        +--volume.Kernel2D
              |
              +--volume.Gaussian2D
Direct Known Subclasses:
DoG2D

public class Gaussian2D
extends Kernel2D

This is a 2D separated 0 order Gaussian convolution kernel. (c) 1999-2002 Michael Abramoff. All rights reserved.


Field Summary
protected  double sigma
           
 
Fields inherited from class volume.Kernel2D
k
 
Fields inherited from class volume.Kernel
halfwidth
 
Constructor Summary
Gaussian2D()
           
Gaussian2D(double sigma)
           
 
Method Summary
protected  double function(double x, double y)
          Compute Gaussian function at x, y symmetric around 0,0.
 double getSigma()
           
 java.lang.String toString()
           
 
Methods inherited from class volume.Kernel2D
kernelToString
 
Methods inherited from class volume.Kernel
support
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

sigma

protected double sigma
Constructor Detail

Gaussian2D

public Gaussian2D()

Gaussian2D

public Gaussian2D(double sigma)
Method Detail

function

protected double function(double x,
                          double y)
Compute Gaussian function at x, y symmetric around 0,0.
Parameters:
x - the x position
y - the y position.
Returns:
a double with the value of the 2D Gaussian at x, y.

getSigma

public double getSigma()

toString

public java.lang.String toString()
Overrides:
toString in class Kernel