Core Optical, Inc.
BinaryMask Constructor (Int32, Int32, Boolean)Industrial Strength, Scientific Grade
Instantiates a BinaryMask object with the specified number of rows and columns.

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

public BinaryMask(
	int rows,
	int columns,
	bool initialState = true
)

Parameters

rows
Type: OnlineSystem Int32
An OnlineInt32 type indicating the number of rows contained in the mask.
columns
Type: OnlineSystem Int32
An OnlineInt32 type indicating the number of columns contained in the mask.
initialState (Optional)
Type: OnlineSystem Boolean
A OnlineBoolean type indicating if the masked is initialized to false (masked) or true (unmasked). Default value is true.
Remarks

This constructor returns a BinaryMask object with the specified number of rows and columns. The mask is initialized to true (unmasked) by default upon initialization. The number of rows and columns are immutable and cannot be changed after object creation.
See Also