how to imshow(image,[]) in simulink

4 visualizaciones (últimos 30 días)
vishnu
vishnu el 28 de En. de 2020
Comentada: Walter Roberson el 12 de Jul. de 2022
good afternoon everyone, please help me to solve this. i have a matlab code that run well and display matrix with imshow(image,[]) but it only shows black and white image in matrix viewer/ video viewer when i tried to transform it to matlab block in simulink. is there a way to display the image in simulink like using imshow(image,[]) in matlab. all images in attachtments. thanks for visiting this post.
  5 comentarios
Mark
Mark el 12 de Jul. de 2022
Is there a way to use imshow() without computer vision toolbox?
Walter Roberson
Walter Roberson el 12 de Jul. de 2022
Mark:
imshow is from Image Processing, not Computer Vision

Iniciar sesión para comentar.

Respuesta aceptada

stozaki
stozaki el 29 de En. de 2020
Hello vishnu,
I attached model made by R2016a. Please edit some parameters as needed.
Regards,
stozaki
sampleimg.png
  4 comentarios
vishnu
vishnu el 30 de En. de 2020
Editada: vishnu el 6 de Mayo de 2020
yes, thank you. i can open it by setting the sample time of the 'image from file' blocks into any number to display the image (im using R2016a and the default setting is inf).
stozaki
stozaki el 1 de Feb. de 2020
MATLAB functions and Simulink blocks are not always completely equivalent. Processing content may be slightly different. In that case, the designer will need to make adjustments as needed.
Best Regards,
stozaki

Iniciar sesión para comentar.

Más respuestas (1)

Selva Karna
Selva Karna el 28 de En. de 2020
check image processing & computer vision toolbox ,

Categorías

Más información sobre Computer Vision with Simulink en Help Center y File Exchange.

Productos


Versión

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by