Documentation of 'Catalano.Imaging.Filters.WeightedMedian' Java class
WeightedMedian
Catalano.Imaging.Filters

Class WeightedMedian

  • All Implemented Interfaces:
    IApplyInPlace


    public class WeightedMedian
    extends java.lang.Object
    implements IApplyInPlace
    Weighted Median filter. The Weighted median filter is like median filter, but the weights means the "number of votes" of the position.
    • Constructor Summary

      Constructors 
      Constructor and Description
      WeightedMedian()
      Initializes a new instance of the WeightedMedian class.
      WeightedMedian(int[][] weight)
      Initializes a new instance of the WeightedMedian class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void applyInPlace(FastBitmap fastBitmap)
      Apply filter to an image.
      int[][] getWeight()
      Get Weight.
      void setWeight(int[][] weight)
      Set Weight.
      • Methods inherited from class java.lang.Object

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

      • WeightedMedian

        public WeightedMedian()
        Initializes a new instance of the WeightedMedian class.
      • WeightedMedian

        public WeightedMedian(int[][] weight)
        Initializes a new instance of the WeightedMedian class.
        Parameters:
        weight - Weight.
    • Method Detail

      • getWeight

        public int[][] getWeight()
        Get Weight.
        Returns:
        Weight.
      • setWeight

        public void setWeight(int[][] weight)
        Set Weight.
        Parameters:
        weight - Weight.
      • applyInPlace

        public void applyInPlace(FastBitmap fastBitmap)
        Description copied from interface: IApplyInPlace
        Apply filter to an image.
        Specified by:
        applyInPlace in interface IApplyInPlace
        Parameters:
        fastBitmap - Image to be processed.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.