public class Kernel
extends java.lang.Object
| Constructor and Description |
|---|
Kernel() |
| Modifier and Type | Method and Description |
|---|---|
static double[][] |
Decompose(double[][] kernel)
Decompose the kernel into vectors.
|
static boolean |
isNormalized(double[][] kernel)
Check if the kernel is normalized.
|
static boolean |
isSeparable(int[][] kernel)
Check if the kernel is separable (Separable convolution).
|
static double[][] |
Normalize(double[][] kernel)
Normalize kernel.
|
static double[][] |
toDouble(int[][] kernel)
Convert kernel to normalized double values.
|
static int[] |
toInt(double[] kernel) |
static int[][] |
toInt(double[][] kernel)
Convert kernel to normalized integer values.
|
public static double[][] Decompose(double[][] kernel)
kernel - Kernel.public static double[][] Normalize(double[][] kernel)
kernel - Kernel.public static boolean isNormalized(double[][] kernel)
kernel - Kernel.public static boolean isSeparable(int[][] kernel)
kernel - Kernel.public static double[][] toDouble(int[][] kernel)
kernel - Kernel.public static int[][] toInt(double[][] kernel)
kernel - Kernel.public static int[] toInt(double[] kernel)