How to extract only object with white background using bounding box in MatLab?
Hi everyone,
I am a newbie in matlab.
I try to do segmentation to get seperately image and text in an image.
I use regionprops, so i got each boundingbox and one of the image is like this:

My problem is that I crop the original image to get each connected component using boundingbox. However, I want only the object for instance the coin with white background.
Any idea ?
_ EDITED _
I crop the original image to get each connected component using boundingbox .
My problem is that when the original image are cropped in rectangle shape, some background of the crop image have coin(that what i want) and some text or line within the rectangle shape (that i dont want),
How can I remove those text or line within the rectangle shape of the crop image?
2 件のコメント
採用された回答

17 件のコメント
その他の回答 (1 件)

0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!