public class GConvolveImageOps
extends java.lang.Object
| Constructor and Description |
|---|
GConvolveImageOps() |
| Modifier and Type | Method and Description |
|---|---|
static <In extends ImageSingleBand,Out extends ImageSingleBand,K extends Kernel2D> |
convolve(K kernel,
In input,
Out output)
Performs a 2D convolution across the image.
|
static <In extends ImageSingleBand,Out extends ImageSingleBand,K extends Kernel2D,B extends ImageBorder<In>> |
convolve(K kernel,
In input,
Out output,
B border)
Performs a 2D convolution across the image.
|
static <T extends ImageSingleBand,K extends Kernel2D> |
convolveNormalized(K kernel,
T input,
T output)
Performs a 2D convolution across the image while re-normalizing the kernel depending on its
overlap with the image.
|
static <In extends ImageSingleBand,Out extends ImageSingleBand,K extends Kernel1D> |
horizontal(K kernel,
In input,
In output)
Performs a horizontal 1D convolution across the image.
|
static <In extends ImageSingleBand,Out extends ImageSingleBand,K extends Kernel1D,B extends ImageBorder<In>> |
horizontal(K kernel,
In input,
Out output,
B border)
Performs a horizontal 1D convolution across the image.
|
static <In extends ImageSingleBand,Out extends ImageSingleBand,K extends Kernel1D> |
horizontalNormalized(K kernel,
In input,
Out output)
Performs a horizontal 1D convolution across the image while re-normalizing the kernel depending on its
overlap with the image.
|
static <In extends ImageSingleBand,Out extends ImageSingleBand,K extends Kernel1D> |
vertical(K kernel,
In input,
Out output)
Performs a horizontal 1D convolution across the image.
|
static <In extends ImageSingleBand,Out extends ImageSingleBand,K extends Kernel1D,B extends ImageBorder<In>> |
vertical(K kernel,
In input,
Out output,
B border)
Performs a vertical 1D convolution across the image.
|
static <T extends ImageSingleBand,K extends Kernel1D> |
verticalNormalized(K kernel,
T input,
T output)
Performs a vertical 1D convolution across the image while re-normalizing the kernel depending on its
overlap with the image.
|
public static <In extends ImageSingleBand,Out extends ImageSingleBand,K extends Kernel1D,B extends ImageBorder<In>> void horizontal(K kernel, In input, Out output, B border)
input - The original image. Not modified.output - Where the resulting image is written to. Modified.kernel - The kernel that is being convolved. Not modified.border - How the image borders are handled.public static <In extends ImageSingleBand,Out extends ImageSingleBand,K extends Kernel1D,B extends ImageBorder<In>> void vertical(K kernel, In input, Out output, B border)
input - The original image. Not modified.output - Where the resulting image is written to. Modified.kernel - The kernel that is being convolved. Not modified.border - How the image borders are handled.public static <In extends ImageSingleBand,Out extends ImageSingleBand,K extends Kernel2D,B extends ImageBorder<In>> void convolve(K kernel, In input, Out output, B border)
input - The original image. Not modified.output - Where the resulting image is written to. Modified.kernel - The kernel that is being convolved. Not modified.border - How the image borders are handled.public static <In extends ImageSingleBand,Out extends ImageSingleBand,K extends Kernel1D> void horizontal(K kernel, In input, In output)
input - The original image. Not modified.output - Where the resulting image is written to. Modified.kernel - The kernel that is being convolved. Not modified.public static <In extends ImageSingleBand,Out extends ImageSingleBand,K extends Kernel1D> void vertical(K kernel, In input, Out output)
input - The original image. Not modified.output - Where the resulting image is written to. Modified.kernel - The kernel that is being convolved. Not modified.public static <In extends ImageSingleBand,Out extends ImageSingleBand,K extends Kernel2D> void convolve(K kernel, In input, Out output)
kernel - A square kernel that will be convolved across the source imageinput - The source image that is to be convolvedoutput - The results of the convolutionpublic static <In extends ImageSingleBand,Out extends ImageSingleBand,K extends Kernel1D> void horizontalNormalized(K kernel, In input, Out output)
input - The original image. Not modified.output - Where the resulting image is written to. Modified.kernel - The kernel that is being convolved. Not modified.public static <T extends ImageSingleBand,K extends Kernel1D> void verticalNormalized(K kernel, T input, T output)
input - The original image. Not modified.output - Where the resulting image is written to. Modified.kernel - The kernel that is being convolved. Not modified.public static <T extends ImageSingleBand,K extends Kernel2D> void convolveNormalized(K kernel, T input, T output)
input - The original image. Not modified.output - Where the resulting image is written to. Modified.kernel - The kernel that is being convolved. Not modified.