This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

PARROT Image Conversion

Convert the encoded Y1UY2V image format to YUV or RGB format

  • Library:
  • 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.

Introduced in R2018b