Main Content
createMat
Syntax
Description
[
creates the MATLAB® interface objects for the OpenCV ocvMat
,ocvInputArray
] = createMat(img
)Mat
class and the
associated InputArray
class. Use these interface objects to pass an image
as input to the OpenCV functions.
[
creates an empty interface object for the OpenCV ocvMat
,ocvOutputArray
] = createMatMat
class and the
associated OutputArray
class. Use this interface to write the output
returned by an OpenCV function.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2021b
See Also
createUMat
| getImage
| getBasePtr
| keyPointsToStruct
| rectToBbox