imshow() for multiple selected objects

조회 수: 3 (최근 30일)
Veena Chatti
Veena Chatti 2020년 10월 6일
댓글: Ameer Hamza 2020년 10월 7일
Hi,
I have an image with ~200-250 labeled objects. How can I use imshow() to display multiple selected objects?
When I try this:
imshow(LL == 200)
It works to show the object labeled 200. Say I want to see 200 and 201. I tried:
imshow(LL == 200)
hold on
imshow(LL == 201)
This erases 200 and shows just 201.
Thanks for your suggestions and tips!

채택된 답변

Ameer Hamza
Ameer Hamza 2020년 10월 6일
  댓글 수: 11
Veena Chatti
Veena Chatti 2020년 10월 7일
Thank you! I think I am beginning to follow the logic of how image() works. The trick is to find a way to get it to retain the labels while tracking the objects now.
I really appreciate all your help. Thanks again!
Ameer Hamza
Ameer Hamza 2020년 10월 7일
I am glad to be of help! :)

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Red에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by