volume

Class DoG2D

• ```public class DoG2D
extends Gaussian2D```
This is a 2D Difference of Gaussian convolution kernel. Retinal optimal relationship between the sigmas of the two gaussians is 1.6 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)
• Field Summary

Fields
Modifier and Type Field and Description
`static double` `SIGMA_RELATIVE`
• Fields inherited from class volume.Gaussian2D

`sigma`
• Fields inherited from class volume.Kernel2D

`k`
• Fields inherited from class volume.Kernel

`halfwidth`
• Constructor Summary

Constructors
Constructor and Description
`DoG2D(double sigma)`
• Method Summary

All Methods
Modifier and Type Method and Description
`protected double` ```function(double x, double y)```
Compute 2D Difference of Gaussian function (DoG) at x, y.
`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`
• Field Detail

• SIGMA_RELATIVE

`public static final double SIGMA_RELATIVE`
Constant Field Values
• 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 String toString()`
Overrides:
`toString` in class `Gaussian2D`