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
protected: virtual void OnProcess( PixelRegion^ sourcePixelRegion, PixelRegion^ targetPixelRegion ) abstract
Parameters
- sourcePixelRegion
- Type: Lumia.Imaging.Custom::PixelRegion
The region of source pixels to read.
- targetPixelRegion
- Type: Lumia.Imaging.Custom::PixelRegion
The region of target pixels to write.
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.
Show: