Main Content

Implement images using OpenCV Mat class

Description

Specify whether to represent images as OpenCV class cv::Mat

Category: Code Generation > Data Type Replacement

Settings

Default: off

On

Generates C++ code where images are represented by using OpenCV class cv::MAT.

Off

Generates C++ code where images are represented by using C++ class images::datatypes::Image implemented by The MathWorks®.

Dependencies

This parameter is used to generate C++ code only.

Command-Line Information

Parameter: ImplementImageWithCVMat
Type: character vector
Value: 'on' | 'off'
Default: 'off'

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityOn
EfficiencyNo impact
Safety precautionNo impact

See Also

(Computer Vision Toolbox)

Related Topics