CustomFilterBase.OnProcess Method

Called when the filter is asked to process a rectangular area of the image.

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

Syntax

protected abstract void OnProcess(
    PixelRegion sourcePixelRegion,
    PixelRegion targetPixelRegion
)
'Declaration
Protected MustOverride Sub OnProcess ( 
    sourcePixelRegion As PixelRegion,
    targetPixelRegion As PixelRegion
)
protected:
virtual void OnProcess(
    PixelRegion^ sourcePixelRegion, 
    PixelRegion^ targetPixelRegion
) abstract
function OnProcess(sourcePixelRegion, targetPixelRegion);

Parameters

Remarks

If the filter has been initialized with block margins, the source pixel region is configured as follows:

  • StartIndex - Index of the source pixel that corresponds to the top-left pixel in the target pixel region.
  • Bounds - The rectangle of source pixels that correspond to the target pixel region.
  • Pitch - The width of the source pixel region including margins.
  • ImageSize - The size of the source pixel region including margins.

Version Information

Lumia Imaging SDK

Supported in: 2.0

See Also

CustomFilterBase Class

CustomFilterBase.CustomFilterBase Members

Lumia.Imaging.Custom Namespace