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
Syntax
public void ForEachRow(
PixelRegion sourcePixelRegion,
PixelRegion..::..ProcessRowWithSourceAction rowAction
)
'Declaration
Public Sub ForEachRow (
sourcePixelRegion As PixelRegion,
rowAction As PixelRegion..::..ProcessRowWithSourceAction
)
public:
void ForEachRow(
PixelRegion^ sourcePixelRegion,
PixelRegion..::..ProcessRowWithSourceAction^ rowAction
)
function ForEachRow(sourcePixelRegion, 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.
Remarks
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.
Version Information
Lumia Imaging SDK
Supported in: 2.0