public class Convolution extends Object
| Constructor and Description |
|---|
Convolution() |
| Modifier and Type | Method and Description |
|---|---|
static void |
gaussianKernel(int rows,
int cols,
float sigma,
FloatBuffer dest)
Generate a Gaussian convolution kernel with the given number of rows and columns, and store
the factors in row-major order in
dest. |
public static void gaussianKernel(int rows,
int cols,
float sigma,
FloatBuffer dest)
dest.rows - the number of rows (must be an odd number)cols - the number of columns (must be an odd number)sigma - determines how big the factors are at the center of distributiondest - will hold the kernel factors in row-major orderCopyright © 2015–2016 JOML. All rights reserved.