Base filter to apply to the source image.

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

Syntax

C#
public IFilter BaseFilter { get; private set; }

Remarks

The property specifies base filter which is applied to the specified source image (to all pixels which have corresponding none 0 value in mask image/array).

Note:The base filter must implement IFilterInformation interface.

Note:The base filter must never change image's pixel format. For example, if source image's pixel format is 24 bpp color image, then it must stay the same after the base filter is applied.

Note:The base filter must never change size of the source image.

Exceptions

ExceptionCondition
System..::.NullReferenceExceptionBase filter can not be set to null.
System..::.ArgumentExceptionThe specified base filter must implement IFilterInformation interface.
System..::.ArgumentExceptionThe specified filter must never change pixel format.

See Also