public class ImplMedianHistogramInner_MT
extends java.lang.Object
A faster version of the histogram median filter that only processes the inner portion of the image. Instead of rebuilding the histogram from scratch for each pixel the histogram is updated using results from the previous pixel. When computing the histogram the previous median is used as a hint to the new median. The original implementation is similar to the algorithm proposed in [1]. If you need to cite something cite this library and mention that paper.
[1] Huang, T.S., Yang, G.J. and Tang, G.Y. (1979) A fast two-dimensional median filtering algorithm. IEEE Trans. Acoust. Speech Signal Process. 27, 13-18
| Constructor and Description |
|---|
ImplMedianHistogramInner_MT() |
| Modifier and Type | Method and Description |
|---|---|
static void |
process(boofcv.struct.image.GrayU8 input,
boofcv.struct.image.GrayU8 output,
int radius,
boofcv.concurrency.IWorkArrays work)
Applies a median image filter.
|
public static void process(boofcv.struct.image.GrayU8 input,
boofcv.struct.image.GrayU8 output,
int radius,
@Nullable
boofcv.concurrency.IWorkArrays work)
input - Input image. Not modified.output - Filtered output image. Modified.radius - Size of the filter region.work - (Optional) used to create local workspace