public class BilateralFilterSeparable extends BilateralFilter
BilateralFilter.ParameterscolorNorm, colorScale, K, params, rgb, sigmaR2| Constructor and Description |
|---|
BilateralFilterSeparable() |
BilateralFilterSeparable(BilateralFilter.Parameters params) |
BilateralFilterSeparable(double sigmaD,
double sigmaR) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyTo(ij.process.ImageProcessor target)
Dispatch work depending on actual (runtime) type of processor.
|
float[] |
filterPixel(ImageAccessor.Rgb I,
int u,
int v)
Calculates and returns the filter result for a single pixel
at the given position.
|
float |
filterPixel(ImageAccessor.Scalar I,
int u,
int v)
Calculates and returns the filter result for a single pixel
at the given position.
|
makeDomainKernel2D, makeRangeKernel, similarityGauss, similarityGausssetOutOfBoundsStrategypublic BilateralFilterSeparable()
public BilateralFilterSeparable(double sigmaD, double sigmaR)
public BilateralFilterSeparable(BilateralFilter.Parameters params)
public void applyTo(ij.process.ImageProcessor target)
GenericFilterapplyTo in class GenericFiltertarget - the image this filter is applied to (destructively)public float filterPixel(ImageAccessor.Scalar I, int u, int v)
GenericFilterfilterPixel in class BilateralFilterI - the ImageAccessor.Scalar representing the source (scalar-valued) imageu - the horizontal pixel positionv - the vertical pixel positionpublic float[] filterPixel(ImageAccessor.Rgb I, int u, int v)
GenericFilterfilterPixel in class BilateralFilterI - the ImageAccessor.Rgb representing the source (RGB) imageu - the horizontal pixel positionv - the vertical pixel positionCopyright © 2006–2017, Wilhelm Burger, Mark J. Burge (BSD 2-Clause Simplified License)