|
BIJ API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--volume.Convolver
This class implements convolution operations on image planes and volumes. All convolutions mirror the edges to avoid edge effects. Copyright (c) 1999-2002, Michael Abramoff. All rights reserved.
Constructor Summary | |
Convolver()
|
Method Summary | |
static void |
convolvex(float[] volume,
int width,
int height,
int depth,
Kernel1D kernel)
Convolution of float volume with symmetric 1D kernel in x dimension. |
static float[] |
convolvex(float[] plane,
int width,
int height,
Kernel1D kernel)
Convolution of plane with 1D separated kernel along the x-axis. |
static void |
convolvexy(float[] plane,
int width,
int height,
Kernel1D kernel)
Convolution of plane with 1D separated kernel. |
static void |
convolvexy(float[] plane,
int width,
int height,
Kernel2D kernel)
Convolution of plane with symmetric 2D kernel in both directions. |
static void |
convolvexy(short[] plane,
int width,
int height,
Kernel1D kernel)
Convolution of plane with 1D separated kernel. |
static void |
convolvexyz(float[] volume,
int width,
int height,
int depth,
Kernel3D kernel)
Convolution of float volume with symmetric 3D kernel in all dimensions. |
static void |
convolvexyz(short[] volume,
int width,
int height,
int depth,
Kernel3D kernel)
Convolution of short volume with symmetric 3D kernel in all dimensions. |
static void |
convolvey(float[] volume,
int width,
int height,
int depth,
Kernel1D kernel)
Convolution of float volume with symmetric 1D kernel in y dimension. |
static float[] |
convolvey(float[] plane,
int width,
int height,
Kernel1D kernel)
Convolution of plane with 1D separated kernel along the y-axis. |
static void |
convolvez(float[] volume,
int width,
int height,
int depth,
Kernel1D kernel)
Convolution of float volume with symmetric 1D kernel in x dimension. |
static void |
magConvolutionxy(float[] plane,
int width,
int height,
Kernel1D kernel)
Deprecated. |
static void |
magConvolutionxy(float[] plane,
int width,
int height,
Kernel2D kernel)
Deprecated. |
static void |
nonlinear(float[] image,
double threshold)
Deprecated. |
static void |
normalize(float[] plane,
double threshold)
Deprecated. |
static void |
pow(float[] image,
double pow)
Deprecated. |
static float[] |
subtract(float[] image1,
float[] image2)
Deprecated. |
static boolean |
valid(int width,
int height,
int x,
int y,
int edge)
|
static boolean |
valid(int width,
int height,
int depth,
int x,
int y,
int z,
int edge)
|
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public Convolver()
Method Detail |
public static void convolvexy(float[] plane, int width, int height, Kernel1D kernel)
plane
- the image.width
- the width in pixels of the image.height
- the height of the image in pixels.kernel
- a Kernel1D kernel object.Kernel1D
public static float[] convolvex(float[] plane, int width, int height, Kernel1D kernel)
plane
- the image.width
- the width in pixels of the image.height
- the height of the image in pixels.kernel
- a Kernel1D kernel object.Kernel1D
public static float[] convolvey(float[] plane, int width, int height, Kernel1D kernel)
plane
- the image.width
- the width in pixels of the image.height
- the height of the image in pixels.kernel
- a Kernel1D kernel object.Kernel1D
public static void convolvexy(short[] plane, int width, int height, Kernel1D kernel)
plane
- the image.width
- the width in pixels of the image.height
- the height of the image in pixels.kernel
- a Kernel1D kernel object.Kernel1D
public static void convolvexy(float[] plane, int width, int height, Kernel2D kernel)
plane
- the image.width
- the width in pixels of the image.height
- the height of the image in pixels.kernel
- a Kernel2D kernel object.Kernel2D
public static void convolvexyz(float[] volume, int width, int height, int depth, Kernel3D kernel)
v
- the volume.width
- the width in pixels of the volume.height
- the height of the volume in pixels.depth
- the height of the volume in pixels.kernel
- a Kernel3D kernel object.Kernel3D
public static void convolvex(float[] volume, int width, int height, int depth, Kernel1D kernel)
v
- the volume.width
- the width in pixels of the volume.height
- the height of the volume in pixels.depth
- the height of the volume in pixels.kernel
- a Kernel1D kernel.Kernel1D
public static void convolvey(float[] volume, int width, int height, int depth, Kernel1D kernel)
v
- the volume.width
- the width in pixels of the volume.height
- the height of the volume in pixels.depth
- the height of the volume in pixels.kernel
- a Kernel1D kernel.Kernel1D
public static void convolvez(float[] volume, int width, int height, int depth, Kernel1D kernel)
v
- the volume.width
- the width in pixels of the volume.height
- the height of the volume in pixels.depth
- the height of the volume in pixels.kernel
- a Kernel1D kernel.Kernel1D
public static void convolvexyz(short[] volume, int width, int height, int depth, Kernel3D kernel)
v
- the volume.width
- the width in pixels of the volume.height
- the height of the volume in pixels.depth
- the height of the volume in pixels.kernel
- a Kernel3D kernel object.Kernel3D
public static void magConvolutionxy(float[] plane, int width, int height, Kernel1D kernel)
plane
- the image.width
- the width in pixels of the image.height
- the height of the image in pixels.kernel
- a Kernel1D kernel object.Kernel1D
public static void magConvolutionxy(float[] plane, int width, int height, Kernel2D kernel)
plane
- the image.width
- the width in pixels of the image.height
- the height of the image in pixels.kernel
- a Kernel2D kernel object.Kernel2D
public static void pow(float[] image, double pow)
image
- the image.public static float[] subtract(float[] image1, float[] image2)
image1.
- image2.
- public static void nonlinear(float[] image, double threshold)
image
- the image.threshold
- a double with the treshold.public static void normalize(float[] plane, double threshold)
plane
- the image.threshold
- a double with the treshold.public static boolean valid(int width, int height, int x, int y, int edge)
public static boolean valid(int width, int height, int depth, int x, int y, int z, int edge)
|
BIJ API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |