Click or drag to resize
Accord.NET (logo)

MaskedFilterBaseFilter Property

Base filter to apply to the source image.

Namespace:  Accord.Imaging.Filters
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntax
public IFilter BaseFilter { get; }
Request Example View Source

Property Value

Type: IFilter
Exceptions
ExceptionCondition
NullReferenceExceptionBase filter can not be set to null.
ArgumentExceptionThe specified base filter must implement IFilterInformation interface.
ArgumentExceptionThe specified filter must never change pixel format.
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 Note
The base filter must implement IFilterInformation interface.

Note 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 Note
The base filter must never change size of the source image.

See Also