Say that I have a labeled image, where I have calculated the area
of each region. How can I return specific regions? That is, say I want to return the regions that have >=300
and <500
?
Thanks.
Say that I have a labeled image, where I have calculated the area
of each region. How can I return specific regions? That is, say I want to return the regions that have >=300
and <500
?
Thanks.
Copyright © 2021 Jogjafile Inc.
You can group the results of
regionprops
into a vector and use it for indexing: