Borrar filtros
Borrar filtros

Why is the signals not working to convert from RGB to HSV using Color Space Conversion Block in Simulink?

2 visualizaciones (últimos 30 días)
For >>parrotMinidroneCompetitionStart, in parrotMinidroneCompetition/Flight Control System (flightControlSystem)/Image Processing System
It comes up with error when applying the Color Space Conversion block for RGB to HSV.
I have tried Data type conversion to ensure the input and output is 'uint8' however it seems to not be picking up port 3. Is this a probelm with the Color Space Conversion block or is there something I am missing?

Respuestas (1)

Vidhi Agarwal
Vidhi Agarwal el 15 de Feb. de 2024
Hi Jaylene,
I understand that you are getting an error regarding supported data type by Color Space block for R’ G’ B’ to intensity values conversion while using data type of “uint8”.
When the Conversion parameter is R'G'B' to HSV, the Data types that are supported in the block are just single-precision, and double precision. For detailed information, you can refer to the documentation of Color - Space Conversion block” below:
Setting the R’, G’ and B’ input to single or double will resolve the issue and the block will start working.

Categorías

Más información sobre Parrot Minidrones en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by