BIJ API

volume
Class Gaussian3D

java.lang.Object
  |
  +--volume.Kernel
        |
        +--volume.Kernel3D
              |
              +--volume.Gaussian3D
Direct Known Subclasses:
DoG3D

public class Gaussian3D
extends Kernel3D

This is a 3D separated 0 order Gaussian convolution kernel. (1.0 / (Math.sqrt(2.0 * Math.PI) * sigma)) * Math.exp(-(l*l+m*m+n*n) / (2.0 * sigma * sigma))


Field Summary
protected  double sigma
           
 
Fields inherited from class volume.Kernel3D
k
 
Fields inherited from class volume.Kernel
halfwidth
 
Constructor Summary
Gaussian3D()
           
Gaussian3D(double sigma)
           
 
Method Summary
protected  double function(double x, double y, double z)
          Compute Gaussian function at x, y symmetric around 0,0.
 double getSigma()
           
 java.lang.String toString()
           
 
Methods inherited from class volume.Kernel3D
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

Gaussian3D

public Gaussian3D()

Gaussian3D

public Gaussian3D(double sigma)
Method Detail

function

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

getSigma

public double getSigma()

toString

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

BIJ API

Submit a bug or feature

Copyright (c) 1997-2003 Michael Abramoff
Licensing available. All Rights Reserved.