PixelRegion.ForEachRow Method (PixelRegion, PixelRegion.ProcessRowWithSourceAction)

Runs the specified action on each row within the Bounds. This method also tracks a source PixelRegion having margins that will be read from.

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

public void ForEachRow(
	PixelRegion sourcePixelRegion,
	PixelRegion..::..ProcessRowWithSourceAction rowAction
)

Parameters

sourcePixelRegion
Type: Lumia.Imaging.Custom.PixelRegion
A source PixelRegion that will be read from. It is assumed to have non-zero margins.
rowAction
Type: Lumia.Imaging.Custom.PixelRegion.ProcessRowWithSourceAction
The PixelRegion.ProcessRowAction that is called to process one row of pixels.

Using this method saves the user of having to think of the Pitch to find the index of each row of pixels. However, it may result in lower performance than manually looping over the pixels.

Lumia Imaging SDK

Supported in: 2.0
Show: