public class ImageFilter extends Object
Constructor and Description |
---|
ImageFilter() |
Modifier and Type | Method and Description |
---|---|
static FloatArray3D |
computeBinaryFilter3(FloatArray3D input,
float threshold) |
static FloatArray3D |
computeBinaryPlusSobelFilter3(FloatArray3D input,
float threshold) |
static FloatArray2D |
computeGaussian(FloatArray2D input,
float sigma) |
static FloatArray3D |
computeGaussian(FloatArray3D input,
float sigma) |
static FloatArray3D |
computeGaussianFast(FloatArray3D input,
float sigma) |
static FloatArray2D |
computeGaussianFastMirror(FloatArray2D input,
double sigma) |
static FloatArray3D |
computeGaussianFastMirror(FloatArray3D input,
float sigma)
This class does the gaussian filtering of an image.
|
static FloatArray2D |
computeIncreasingGaussianX(FloatArray2D input,
float stDevStart,
float stDevEnd) |
static FloatArray2D |
computeLaPlaceFilter3(FloatArray2D input) |
static FloatArray2D |
computeLaPlaceFilter5(FloatArray2D input) |
static FloatArray3D |
computeLaPlaceFilter5(FloatArray3D input) |
static FloatArray3D |
computeSobelFilter(FloatArray3D input) |
static FloatArray2D |
convolveSeparable(FloatArray2D input,
float[] h,
float[] v)
convolve an image with a horizontal and a vertical kernel
simple straightforward, not optimized---replace this with a trusted better version soon
|
static FloatArray2D |
create_gaussian_kernel_2D_offset(float sigma,
float offset_x,
float offset_y,
boolean normalize) |
static float[] |
createGaussianKernel1D(double sigma,
boolean normalize)
This class creates a gaussian kernel
|
static FloatArray2D |
createGaussianKernel2D(float sigma,
boolean normalize) |
static FloatArray3D |
createGaussianKernel3D(float sigma,
boolean normalize) |
static FloatArray2D[] |
createGradients(FloatArray2D array) |
static FloatArray2D |
distortSamplingX(FloatArray2D input) |
static FloatArray2D |
distortSamplingY(FloatArray2D input) |
static void |
enhance(FloatArray2D src,
float scale)
in place enhance all values of a FloatArray to fill the given range
|
static void |
exponentialWindow(FloatArray2D img) |
static void |
exponentialWindow(FloatArray3D img) |
static void |
filterKaiserBessel(FloatArray2D img,
boolean inverse)
Does Kaiser-Bessel-Windowing to prevent the fourier spectra from getting infinite numbers,
the border will be faded to black.
|
static void |
normalize(FloatArray img) |
public static void filterKaiserBessel(FloatArray2D img, boolean inverse)
img
- image Input image stored in row-major orderinverse
- If true, fading to black in the middlepublic static void exponentialWindow(FloatArray2D img)
public static void exponentialWindow(FloatArray3D img)
public static float[] createGaussianKernel1D(double sigma, boolean normalize)
sigma
- Standard Derivation of the gaussian functionnormalize
- Normalize integral of gaussian function to 1 or not...public static void normalize(FloatArray img)
public static FloatArray2D createGaussianKernel2D(float sigma, boolean normalize)
public static FloatArray2D create_gaussian_kernel_2D_offset(float sigma, float offset_x, float offset_y, boolean normalize)
public static FloatArray3D createGaussianKernel3D(float sigma, boolean normalize)
public static FloatArray2D computeIncreasingGaussianX(FloatArray2D input, float stDevStart, float stDevEnd)
public static FloatArray2D computeGaussian(FloatArray2D input, float sigma)
public static FloatArray3D computeGaussian(FloatArray3D input, float sigma)
public static FloatArray3D computeGaussianFast(FloatArray3D input, float sigma)
public static FloatArray2D computeGaussianFastMirror(FloatArray2D input, double sigma)
public static FloatArray3D computeGaussianFastMirror(FloatArray3D input, float sigma)
input
- FloatProcessor which should be folded (will not be touched)sigma
- Standard Derivation of the gaussian functionpublic static FloatArray2D distortSamplingX(FloatArray2D input)
public static FloatArray2D distortSamplingY(FloatArray2D input)
public static FloatArray3D computeSobelFilter(FloatArray3D input)
public static FloatArray3D computeBinaryFilter3(FloatArray3D input, float threshold)
public static FloatArray3D computeBinaryPlusSobelFilter3(FloatArray3D input, float threshold)
public static FloatArray2D computeLaPlaceFilter3(FloatArray2D input)
public static FloatArray2D computeLaPlaceFilter5(FloatArray2D input)
public static FloatArray3D computeLaPlaceFilter5(FloatArray3D input)
public static FloatArray2D[] createGradients(FloatArray2D array)
public static final void enhance(FloatArray2D src, float scale)
public static FloatArray2D convolveSeparable(FloatArray2D input, float[] h, float[] v)
input
- the input imageh
- horizontal kernelv
- vertical kernelCopyright © 2015–2021 Fiji. All rights reserved.