Help with cropping a binary image?

1 view (last 30 days)
Shravanthi on 8 Feb 2014
Commented: Anjana Rao on 8 Feb 2014
I have this binary image:
How do I crop exactly to the outline of the fist?

Answers (1)

Spandan Tiwari
Spandan Tiwari on 8 Feb 2014
Use IMCOMPLEMENT to invert the polarity of the binary images so that the object (fist) is white. Then use BWBOUNDARIES to get the boundary pixels of the object.
Anjana Rao
Anjana Rao on 8 Feb 2014
No, I just want the outline! How do I crop it after getting the coordinates? imcrop(?)?

Sign in to comment.


Find more on Convert Image Type in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!