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

Class SaltAndPepperNoise

  • All Implemented Interfaces:
    IApplyInPlace


    public class SaltAndPepperNoise
    extends java.lang.Object
    implements IApplyInPlace
    Salt and pepper noise.
    The filter adds random salt and pepper noise - sets maximum or minimum values to randomly selected pixels.
    • Constructor Summary

      Constructors 
      Constructor and Description
      SaltAndPepperNoise()
      Initializes a new instance of the OtsuThreshold class.
      SaltAndPepperNoise(int noiseAmount)
      Initializes a new instance of the OtsuThreshold 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

      • SaltAndPepperNoise

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

        public SaltAndPepperNoise(int noiseAmount)
        Initializes a new instance of the OtsuThreshold class.
        Parameters:
        noiseAmount - Amount of noise to generate in percents, [0, 100].
    • 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.