Borrar filtros
Borrar filtros

Simulink: Draw-Markers Block

1 visualización (últimos 30 días)
H
H el 14 de Mzo. de 2011
I can't geth the Draw-markers block to work
I get the following error message when i try to connect:
BW signal to the image-input port
(1 centroid from blobs-analysis block) into the Pts input port.
Error message: The Image input has 1 color planes and the Pts input has 1 shapes. The Color value(s) parameter must be a scalar.
Error in port widths or dimensions. Centriod Output port of 'Blob Analysis' is a [2x1] matrix.
I tried flooring the signals (integer), and transposing the signals but it doesnt seem to work.
What am I doing wrong?

Respuestas (2)

Navan Ruthramoorthy
Navan Ruthramoorthy el 14 de Mzo. de 2011
When the input to Draw Markers block is not a color signal the "Color values" parameter must be a scalar. By default that parameter is a vector with 3 values which is suitable for color signals. You need to change this to a scalar representing the intensity value you want.

Algirdas Kluonius
Algirdas Kluonius el 13 de Jun. de 2012
In other words , intensity gives u only grayscale image and if it is grayscale you can not get a RGB color in grayscale, what can you do is do an overlay or take image from RGB (before RGB2GRAY block) and pass it though the corner detection that in RGB image you can get RGB color markers

Categorías

Más información sobre Computer Vision with Simulink 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