how to imshow(image,[]) in simulink

조회 수: 4 (최근 30일)
vishnu
vishnu 2020년 1월 28일
댓글: Walter Roberson 2022년 7월 12일
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
Mark
Mark 2022년 7월 12일
Is there a way to use imshow() without computer vision toolbox?
Walter Roberson
Walter Roberson 2022년 7월 12일
Mark:
imshow is from Image Processing, not Computer Vision

댓글을 달려면 로그인하십시오.

채택된 답변

stozaki
stozaki 2020년 1월 29일
Hello vishnu,
I attached model made by R2016a. Please edit some parameters as needed.
Regards,
stozaki
sampleimg.png
  댓글 수: 4
vishnu
vishnu 2020년 1월 30일
편집: vishnu 2020년 5월 6일
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 2020년 2월 1일
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

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Selva Karna
Selva Karna 2020년 1월 28일
check image processing & computer vision toolbox ,

카테고리

Help CenterFile Exchange에서 Computer Vision with Simulink에 대해 자세히 알아보기

제품


릴리스

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by