imshow() for multiple selected objects
2 views (last 30 days)
Show older comments
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!
0 Comments
Accepted Answer
Ameer Hamza
on 6 Oct 2020
image(): https://www.mathworks.com/help/matlab/ref/image.html is better suited for this case. Or even pcolor(): https://www.mathworks.com/help/matlab/ref/pcolor.html.
11 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!