CustomFilterBase Constructor

Creates and initializes CustomFilterBase.

Namespace: Lumia.Imaging.Custom
Assembly: Lumia.Imaging.Managed (in Lumia.Imaging.Managed.dll) Version: 0.0.0.0

protected:
CustomFilterBase(
	Margins blockMargins, 
	bool wrapBorders, 
	IEnumerable<ColorMode>^ supportedColorModes
)

Parameters

blockMargins
Type: Lumia.Imaging::Margins
Size of the margins needed if the filter wants to sample neighboring pixels around a source pixel. This should be set to the maximum distance the filter will sample away from the source pixel in the left, right, up and down directions. Note that when any margin is is non-zero, the sourcePixelRegion passed to OnProcess(PixelRegion, PixelRegion) will be larger than the targetPixelRegion.
wrapBorders
Type: System::Boolean
If true, and the block margins are non-zero, when processing a block at the edge of an image the pixel data outside the edge of the image will be taken from a mirrored location inside the image. If false, the pixels in the margin will be transparent black.
supportedColorModes
Type: System.Collections.Generic::IEnumerable<ColorMode>
The color modes that the implementation supports. Valid values are Bgra8888 and Ayuv4444.

Lumia Imaging SDK

Supported in: 2.0
Show: