Core Optical, Inc.
BinaryMask GetState Method Industrial Strength, Scientific Grade
Retrieves the state of the mask at the specified row and column.

Namespace: PrecisionImage.BinarizationAndMorphology
Assembly: PrecisionImage (in PrecisionImage.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax

public bool GetState(
	int row,
	int column
)

Parameters

row
Type: OnlineSystem Int32
An OnlineInt32 type indicating the zero-based row index of the mask bit to retrieve.
column
Type: OnlineSystem Int32
An OnlineInt32 type indicating the zero-based column index of the mask bit to retrieve.

Return Value

A OnlineBoolean indicating the state of the mask at the specified location (true = unmasked, false = masked).
Exceptions

ExceptionCondition
OnlineSystem ArgumentOutOfRangeException Thrown when row is greater than the maximum row index in the binary mask.
OnlineSystem ArgumentOutOfRangeException Thrown when column is greater than the maximum column index in the binary mask.
See Also