public class Filter extends Object
| Constructor and Description |
|---|
Filter() |
| Modifier and Type | Method and Description |
|---|---|
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 double[] |
createGaussianKernel(double sigma,
boolean normalize)
Create a 1d-Gaussian kernel of appropriate size.
|
static float[] |
createGaussianKernel(float sigma,
boolean normalize)
Create a 1d-Gaussian kernel of appropriate size.
|
static FloatArray2D |
createGaussianKernelOffset(double sigma,
double offset_x,
double offset_y,
boolean normalize)
Create a normalized 2d gaussian impulse with appropriate size with its
center slightly moved away from the middle.
|
static FloatArray2D |
createGaussianKernelOffset(float sigma,
float offset_x,
float offset_y,
boolean normalize)
Create a normalized 2d gaussian impulse with appropriate size with its
center slightly moved away from the middle.
|
static FloatArray2D[] |
createGradients(FloatArray2D array) |
static void |
enhance(FloatArray2D src,
float scale)
In place enhance all values of a FloatArray to fill the given range.
|
public static final double[] createGaussianKernel(double sigma,
boolean normalize)
sigma - Standard deviation of the Gaussian kernelnormalize - Normalize integral of the Gaussian kernel to 1 or not...public static final float[] createGaussianKernel(float sigma,
boolean normalize)
sigma - Standard deviation of the Gaussian kernelnormalize - Normalize integral of the Gaussian kernel to 1 or not...public static final FloatArray2D createGaussianKernelOffset(float sigma, float offset_x, float offset_y, boolean normalize)
public static final FloatArray2D createGaussianKernelOffset(double sigma, double offset_x, double offset_y, boolean normalize)
public static final FloatArray2D[] createGradients(FloatArray2D array)
public static final void enhance(FloatArray2D src, float scale)
src - sourcescale - defines the rangepublic static final FloatArray2D convolveSeparable(FloatArray2D input, float[] h, float[] v)
input - the input imageh - horizontal kernelv - vertical kernelCopyright © 2015–2021 Fiji. All rights reserved.