Using Region Props To Find Area of Interest
2 views (last 30 days)
Show older comments
Hello, i'm using these line of code to extract area of interest in my image,
bw = imbinarize(Image)
info_struct = regionprops(double(bw), 'Area', 'Image');
final = info_struct.Image;
i do so in hope to produce image from this image
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/547273/image.png)
into this
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/547278/image.png)
But instead it produced an image like this
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/547283/image.png)
can anyone please help me ?
0 Comments
Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!