volume
Class LoG

java.lang.Object
  |
  +--volume.Kernel
        |
        +--volume.Kernel2D
              |
              +--volume.LoG

public class LoG
extends Kernel2D

This is a 2D Laplacian of Gaussian convolution kernel. LoG(x,y) = - 1 / (PI sigma^4) [1 - (x^2 + y^2) / 2 sigma^2] e ^ (-((x^2 + y^2)/2 sigma^2)))


Fields inherited from class volume.Kernel2D
k
 
Fields inherited from class volume.Kernel
halfwidth
 
Constructor Summary
LoG(double sigma)
          Create a Laplacian of Gaussian kernel from standard deviation sigma.
 
Method Summary
protected  double function(double x, double y)
          Compute Laplacian of Gaussian function at x,y.
 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
 

Constructor Detail

LoG

public LoG(double sigma)
Create a Laplacian of Gaussian kernel from standard deviation sigma.
Parameters:
sigma, - the standard deviation of the associated probability function of the Gaussian function.
Method Detail

getSigma

public double getSigma()

function

protected double function(double x,
                          double y)
Compute Laplacian of Gaussian function at x,y.

toString

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