public class ImplMedianHistogramInnerNaive extends Object
Simple implementation of a histogram based median filter. Only processes the inner portion of the image.
| Constructor and Description |
|---|
ImplMedianHistogramInnerNaive() |
| Modifier and Type | Method and Description |
|---|---|
static void |
process(ImageUInt8 input,
ImageUInt8 output,
int radius,
int[] offset,
int[] histogram)
Applies a median image filter.
|
public static void process(ImageUInt8 input, ImageUInt8 output, int radius, int[] offset, int[] histogram)
input - Input image. Not modified.output - Filtered output image. Modified.radius - Size of the filter region.offset - Array used to store relative pixel offsets.histogram - Saves the image histogram. Must be at least 256 elements.Copyright © 2013. All Rights Reserved.