public final class ConvolutionFilter extends Object
The kernel matrix provider class.
| Modifier and Type | Method and Description |
|---|---|
static double[][] |
getBlurBox(int size)
Gets the box blur kernel.
|
static double[][] |
getBlurMotion(int size,
double angle)
Gets the motion blur kernel.
|
static double[][] |
getEmboss3x3()
Gets the 3x3 Emboss kernel.
|
static double[][] |
getEmboss5x5()
Gets the 5x5 Emboss kernel.
|
static double[][] |
getGaussian(int size,
double sigma)
Gets the Gaussian kernel.
|
static double[][] |
getSharpen3x3()
Gets the 3x3 sharpen kernel.
|
static double[][] |
getSharpen5x5()
Gets the 5x5 sharpen kernel.
|
static Complex[][] |
toComplex(double[][] kernel)
Converts
kernel to a Complex kernel. |
public static double[][] getSharpen3x3()
Gets the 3x3 sharpen kernel.
public static double[][] getSharpen5x5()
Gets the 5x5 sharpen kernel.
public static double[][] getEmboss3x3()
Gets the 3x3 Emboss kernel.
public static double[][] getEmboss5x5()
Gets the 5x5 Emboss kernel.
public static double[][] getBlurMotion(int size,
double angle)
Gets the motion blur kernel.
size - The kernel size.angle - The motion angle.public static double[][] getGaussian(int size,
double sigma)
Gets the Gaussian kernel.
size - The kernel size.sigma - The sigma value in range (0...].public static double[][] getBlurBox(int size)
Gets the box blur kernel.
size - The kernel size.Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.