Documentation of 'Catalano.Imaging.Tools.FiltersSequence' Java class
FiltersSequence
Catalano.Imaging.Tools

Class FiltersSequence

  • All Implemented Interfaces:
    IApplyInPlace


    public class FiltersSequence
    extends java.lang.Object
    implements IApplyInPlace
    Release several filters in the sequence.
    Example:
      
     FiltersSequence fs = new FiltersSequence();
     fs.add(new Grayscale());
     fs.add(new Blur());
     fs.add(new Threshold(150));
     
     fs.applyInPlace(fastBitmap);
     
    • Constructor Detail

      • FiltersSequence

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

        public FiltersSequence(java.util.List<IApplyInPlace> sequence)
    • Method Detail

      • add

        public void add(IApplyInPlace filter)
        Add filter to be processed.
        Parameters:
        filter - Filter.
      • clear

        public void clear()
        Eliminate all filters.
      • 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.