to Open CVMat
Converts an F64Array to a Mat.
The required shape must have either 1, 3 or 4 channels in the 3rd dimension: If 1 channel, shape must be width, height, 1 If 3 channels, shape must be width, height, rgb If 4 channels, shape must be width, height, rgba
All values in this array are expected to be in range [0..1]. If values are outside this range, unexpected behavior may occur.
Receiver
The image array.
Return
The OpenCV Mat containing the given data.
Since
1.4.0
Parameters
A type from CvType, representing the data type and channels.
Deprecated
Use array.image instead
Replace with
image.toOpenCVMat(type)Converts an F64Array to a Mat.
The required shape must have either 1, 3 or 4 channels in the 3rd dimension: If 1 channel, shape must be width, height, 1 If 3 channels, shape must be width, height, rgb If 4 channels, shape must be width, height, rgba
All values in this array are expected to be in range [0..1]. If values are outside this range, unexpected behavior may occur.
Receiver
The image array.
Return
The OpenCV Mat containing the given data.
Since
1.4.0
Parameters
A type from CvType, representing the data type and channels.