Filters' collection to apply to an image in sequence.

Namespace:  AForge.Imaging.Filters
Assembly:  AForge.Imaging (in AForge.Imaging.dll) Version: (


public class FiltersSequence : CollectionBase, 


The class represents collection of filters, which need to be applied to an image in sequence. Using the class user may specify set of filters, which will be applied to source image one by one in the order user defines them.

The class itself does not define which pixel formats are accepted for the source image and which pixel formats may be produced by the filter. Format of acceptable source and possible output is defined by filters, which added to the sequence.

Sample usage:

// create filter, which is binarization sequence
FiltersSequence filter = new FiltersSequence(
    new GrayscaleBT709( ),
    new Threshold( )
// apply the filter
Bitmap newImage = filter.Apply( image );

Inheritance Hierarchy


See Also