Main Content

PARROT Image Conversion

Convert the encoded Y1UY2V image format to YUV or RGB format

Add-On Required: This feature requires the Simulink Support Package for Parrot Minidrones add-on.

  • PARROT Image Conversion block

Libraries:
Simulink Support Package for Parrot Minidrones

Description

The PARROT Image Conversion block converts an image that is encoded in Y1UY2V format, as obtained from the Parrot® minidrone's downward-facing camera, to either YUV or RGB format. The block separates the color components and provides them as the output.

Ports

Input

expand all

The input image is obtained from the downward-facing camera of Parrot minidrone, and it is represented as a 4-by-9600 array. This input is encoded in the Y1UY2V format.

Data Types: uint8

Output

expand all

Data Types: uint8

Data Types: uint8

Data Types: uint8

Data Types: uint8

Data Types: uint8

Data Types: uint8

Parameters

expand all

Select the color space, either YUV or RGB, for converting the image from the encoded Y1UY2V format.

When you set this parameter to YUV, the Y, U, and V components are available as separate output ports.

When you set this parameter to RGB, the R, G, and B components are available as separate output ports.

Version History

Introduced in R2018b