Package boofcv.alg.filter.blur.impl
Class ImplMedianHistogramInnerNaive
java.lang.Object
boofcv.alg.filter.blur.impl.ImplMedianHistogramInnerNaive
Simple implementation of a histogram based median filter. Only processes the inner portion of the image.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ImplMedianHistogramInnerNaive
public ImplMedianHistogramInnerNaive()
-
-
Method Details
-
process
public static void process(GrayU8 input, GrayU8 output, int radiusX, int radiusY, int[] offset, int[] histogram) Applies a median image filter.- Parameters:
input
- Input image. Not modified.output
- Filtered output image. Modified.radiusX
- Size of the filter region. x-axisradiusY
- Size of the filter region. Y-axisoffset
- Array used to store relative pixel offsets.histogram
- Saves the image histogram. Must be at least 256 elements.
-