Image Constructor (Size2D, Int32, DataType)

CVB.Net Documentation
Creates an uninitialized image with the given size and numPlanes.

Namespace:  Stemmer.Cvb
Assembly:  Stemmer.Cvb (in Stemmer.Cvb.dll) Version: 14.0.0.0
Syntax

public Image(
	Size2D size,
	int numPlanes,
	DataType dataType
)

Parameters

size
Type: Stemmer.CvbSize2D
Size of the image in pixels.
numPlanes
Type: SystemInt32
Number of (color) infos.
dataType
Type: Stemmer.CvbDataType
Pixel data type.
Exceptions

ExceptionCondition
ArgumentOutOfRangeExceptionIf size width or height are negative or numPlanes is smaller than one.
InsufficientMemoryExceptionIf not enough memory is available to create the image.
Remarks

This constructor defines also the all plane's pixels data format via the dataType.
See Also

Reference