Main Content

FromOpenCV

Converts OpenCV data types to Simulink data types

  • Library:
  • Computer Vision Toolbox Interface for OpenCV in Simulink

Description

The FromOpenCV block converts the Simulink® OpenCV data types to Simulink data types.

Ports

Inputs

expand all

Input signal to the FromOpenCV block. The input can be of different data types. Each of the input data types determines the output data type of the block. For more information, see Mapping Input and Output Data Types.

Data Types: OpenCV types

Output

expand all

Output signal from the FromOpenCV block.

Data Types: Converted Simulink types

Parameters

expand all

Specifies the input data type of the FromOpenCV block. The table lists the one-to-one mapping of the input versus output data types of the FromOpenCV block.

Programmatic Use

Block Parameter: Data Type
Type: character vector
Value: input data type
Default: 'Point2i'

Block Characteristics

Data Types

Direct Feedthrough

Yes

Multidimensional Signals

Yes

Variable-Size Signals

No

More About

expand all

Extended Capabilities

Introduced in R2020a