Core Optical, Inc.
SourceData Constructor (Int32, Int32, Int32)Industrial Strength, Scientific Grade
Creates a new SourceData object with the specified number of rows, columns and channels.

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

public SourceData(
	int rows,
	int columns,
	int channels
)

Parameters

rows
Type: OnlineSystem Int32
A OnlineInt32 type specifying the number of rows in each data channel. Value must be greater than zero.
columns
Type: OnlineSystem Int32
A OnlineInt32 type specifying the number of columns in each data channel. Value must be greater than zero.
channels
Type: OnlineSystem Int32
A OnlineInt32 type specifying the number of data channels. Value must be greater than zero.
Exceptions

ExceptionCondition
OnlineSystem ArgumentOutOfRangeException Thrown when either rows, columns or channels is less than or equal to zero.
Remarks

Use this form of constructor to instantiate a SourceData object with the specified rows, columns and channels. The data channels are initialized to zero.
See Also