BIJ API

volume
Class DoG2D

java.lang.Object
  |
  +--volume.Kernel
        |
        +--volume.Kernel2D
              |
              +--volume.Gaussian2D
                    |
                    +--volume.DoG2D

public class DoG2D
extends Gaussian2D

This is a 2D Difference of Gaussian convolution kernel. DoG2D(x) = 1 / Math.sqrt(2 Math.PI * sigma^2) e^(-(x^2+y^2) / 2 sigma^2) - 1 / Math.sqrt(2 Math.PI * (1.6 sigma)^2) e^(-(x^2+y^2) / 2 (1.6 sigma)^2)


Fields inherited from class volume.Gaussian2D
sigma
 
Fields inherited from class volume.Kernel2D
k
 
Fields inherited from class volume.Kernel
halfwidth
 
Constructor Summary
DoG2D(double sigma)
           
 
Method Summary
protected  double function(double x, double y)
          Compute 2D Difference of Gaussian function (DoG) at x, y.
 java.lang.String toString()
           
 
Methods inherited from class volume.Gaussian2D
getSigma
 
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

DoG2D

public DoG2D(double sigma)
Method Detail

function

protected double function(double x,
                          double y)
Compute 2D Difference of Gaussian function (DoG) at x, y.
Overrides:
function in class Gaussian2D
Parameters:
x - the x position
y - the y position.
Returns:
a double with the value of the 2D Difference of Gaussian at x, y.

toString

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

BIJ API

Submit a bug or feature

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