Documentation of 'boofcv.alg.filter.blur.impl.ImplMedianHistogramInner' Java class
ImplMedianHistogramInner
boofcv.alg.filter.blur.impl

Class ImplMedianHistogramInner



  • public class ImplMedianHistogramInner
    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.

    Based on the description in some papers I believe this algorithm is similar to the one proposed in:
    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

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void process(GrayU8 input, GrayU8 output, int radius, int[] offset, int[] histogram)
      Applies a median image filter.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ImplMedianHistogramInner

        public ImplMedianHistogramInner()
    • Method Detail

      • process

        public static void process(GrayU8 input,
                                   GrayU8 output,
                                   int radius,
                                   int[] offset,
                                   int[] histogram)
        Applies a median image filter.
        Parameters:
        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.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.