Click or drag to resize

BrightnessHistogramStretchCommandAdjustBands Method

Sets the image area which will be processed and also defines the bands or chunks of the image of which each will be sent to a separate thread.

Namespace:  Atalasoft.Imaging.ImageProcessing.Effects
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public Rectangle[] AdjustBands(
	Rectangle bounds,
	Rectangle[] bands
)

Parameters

bounds
Type: System.DrawingRectangle
The area of the image which will be processed.
bands
Type: System.DrawingRectangle
An array of Rectangles which represent the desired bands.

Return Value

Type: Rectangle
An array of Rectangles which represent the bands that will actually be used.

Implements

IThreadableCommandAdjustBands(Rectangle, Rectangle)
Remarks
Each band defines an area on which the IThreadableCommand will operate in an independent thread.
See Also