|
NormalGaussian2D Method
|
2-D Gaussian function.
Namespace:
Accord.Math
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public static double Gaussian2D(
double sigmaSquared,
double x,
double y
)
Public Shared Function Gaussian2D (
sigmaSquared As Double,
x As Double,
y As Double
) As Double
Request Example
View SourceParameters
- sigmaSquared
- Type: SystemDouble
The variance parameter σ² (sigma squared). - x
- Type: SystemDouble
x value. - y
- Type: SystemDouble
y value.
Return Value
Type:
DoubleReturns function's value at point (
x,
y).
Remarks The function calculates 2-D Gaussian function:
f(x, y) = exp( x * x + y * y / ( -2 * s * s ) ) / ( s * s * 2 * PI )
See Also