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

Class MeanShift

  • All Implemented Interfaces:
    IApplyInPlace


    public class MeanShift
    extends java.lang.Object
    implements IApplyInPlace
    Mean Shift filter.
    Mean Shift filter can be used for edge-preserving smoothing or for segmentation. Important edges of an image might be easier detected after mean shift filtering.
    It uses a circular flat kernel and the color distance is calculated in the YIQ-color space.
    • Constructor Summary

      Constructors 
      Constructor and Description
      MeanShift()
      Initialize a new instance of the MeanShift class.
      MeanShift(int radius, float colorDistance)
      Initialize a new instance of the MeanShift class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void applyInPlace(FastBitmap fastBitmap)
      Apply filter to an image.
      • Methods inherited from class java.lang.Object

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

      • MeanShift

        public MeanShift()
        Initialize a new instance of the MeanShift class.
      • MeanShift

        public MeanShift(int radius,
                         float colorDistance)
        Initialize a new instance of the MeanShift class.
        Parameters:
        radius - Radius.
        colorDistance - Color distance.
    • Method Detail

      • 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.