|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplugins.big.bigsnakeutils.process.process2D.Convolver2D
public class Convolver2D
Fast 2-D convolution routines for symmetric kernels. All methods require only the causal half of the kernel, i.e., elements [0..n], assuming a support of [-n..n]. Only kernels with odd support are implemented. Mirror border conditions are applied.
Constructor Summary | |
---|---|
Convolver2D()
|
Method Summary | |
---|---|
static double[][] |
convolveEvenX(double[][] input,
double[] kernel)
Convolution with a symmetric kernel along x. |
static double[] |
convolveEvenX(double[] input,
double[] kernel,
int[] dims,
int x1,
int x2,
int y1,
int y2)
Convolution with a symmetric kernel along x, for an image defined as a 1-D array, in a region bounded by [x1..x2] and [y1..y2]. |
static double[] |
convolveEvenX(double[] input,
double[] kernel,
int nx,
int ny)
Convolution with a symmetric kernel along x, for an image defined as a 1-D array. |
static float[] |
convolveEvenX(float[] input,
float[] kernel,
int nx,
int ny)
Convolution with a symmetric kernel along x, for an image defined as a 1-D array. |
static double[][] |
convolveEvenY(double[][] input,
double[] kernel)
Convolution with a symmetric kernel along y. |
static double[] |
convolveEvenY(double[] input,
double[] kernel,
int[] dims,
int y1,
int y2)
Convolution with a symmetric kernel along x, for an image defined as a 1-D array, in a region bounded by [x1..x2] and [y1..y2]. |
static double[] |
convolveEvenY(double[] input,
double[] kernel,
int nx,
int ny)
Convolution with a symmetric kernel along y, for an image defined as a 1-D array. |
static float[] |
convolveEvenY(float[] input,
float[] kernel,
int nx,
int ny)
Convolution with a symmetric kernel along y, for an image defined as a 1-D array. |
static double[][] |
convolveOddX(double[][] input,
double[] kernel)
Convolution with an anti-symmetric kernel along x. |
static double[] |
convolveOddX(double[] input,
double[] kernel,
int[] dims,
int x1,
int x2,
int y1,
int y2)
Convolution with an anti-symmetric kernel along x, for an image defined as a 1-D array, in a region bounded by [x1..x2] and [y1..y2]. |
static double[] |
convolveOddX(double[] input,
double[] kernel,
int nx,
int ny)
Convolution with an anti-symmetric kernel along x, for an image defined as a 1-D array. |
static float[] |
convolveOddX(float[] input,
float[] kernel,
int nx,
int ny)
Convolution with an anti-symmetric kernel along x, for an image defined as a 1-D array. |
static double[][] |
convolveOddY(double[][] input,
double[] kernel)
Convolution with an anti-symmetric kernel along y. |
static double[] |
convolveOddY(double[] input,
double[] kernel,
int[] dims,
int y1,
int y2)
Convolution with an anti-symmetric kernel along y, for an image defined as a 1-D array, in a region bounded by [x1..x2] and [y1..y2]. |
static double[] |
convolveOddY(double[] input,
double[] kernel,
int nx,
int ny)
Convolution with an anti-symmetric kernel along y, for an image defined as a 1-D array. |
static float[] |
convolveOddY(float[] input,
float[] kernel,
int nx,
int ny)
Convolution with an anti-symmetric kernel along y, for an image defined as a 1-D array. |
static double[][] |
movingSum(double[][] input,
int length)
Moving sum filter, applied to both dimensions. |
static double[][] |
movingSumX(double[][] input,
int length)
Moving sum filter, applied to the x-dimension. |
static double[][] |
movingSumY(double[][] input,
int length)
Moving sum filter, applied to the y-dimension. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Convolver2D()
Method Detail |
---|
public static double[][] movingSum(double[][] input, int length)
public static double[][] movingSumX(double[][] input, int length)
public static double[][] movingSumY(double[][] input, int length)
public static double[][] convolveEvenX(double[][] input, double[] kernel)
public static double[] convolveEvenX(double[] input, double[] kernel, int nx, int ny)
public static float[] convolveEvenX(float[] input, float[] kernel, int nx, int ny)
public static double[][] convolveEvenY(double[][] input, double[] kernel)
public static double[] convolveEvenY(double[] input, double[] kernel, int nx, int ny)
public static float[] convolveEvenY(float[] input, float[] kernel, int nx, int ny)
public static double[][] convolveOddX(double[][] input, double[] kernel)
public static double[] convolveOddX(double[] input, double[] kernel, int nx, int ny)
public static float[] convolveOddX(float[] input, float[] kernel, int nx, int ny)
public static double[][] convolveOddY(double[][] input, double[] kernel)
public static double[] convolveOddY(double[] input, double[] kernel, int nx, int ny)
public static float[] convolveOddY(float[] input, float[] kernel, int nx, int ny)
public static double[] convolveEvenX(double[] input, double[] kernel, int[] dims, int x1, int x2, int y1, int y2)
public static double[] convolveOddX(double[] input, double[] kernel, int[] dims, int x1, int x2, int y1, int y2)
public static double[] convolveEvenY(double[] input, double[] kernel, int[] dims, int y1, int y2)
public static double[] convolveOddY(double[] input, double[] kernel, int[] dims, int y1, int y2)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |