类 KernelService
java.lang.Object
pkg.exoad.poprock.core.io.image.KernelService
-
构造器概要
-
方法概要
修饰符和类型方法说明static int
convolveBufferedImageAt
(BufferedImage image, float[][] kernel, int x, int y) static Kernel
fromMatrix1D
(float[] matrix, int size) static Kernel
fromMatrix2D
(float[][] matrix, int width, int height) static void
normalizeKernel
(float[][] kernel) Assures all values in the kernel sum to 1
-
构造器详细资料
-
KernelService
private KernelService()
-
-
方法详细资料
-
convolveBufferedImageAt
-
normalizeKernel
public static void normalizeKernel(float[][] kernel) Assures all values in the kernel sum to 1- 参数:
kernel
- the supplied kernel
-
fromMatrix1D
-
fromMatrix2D
-