How i can i add different objects in an image to make them single object ?

2 views (last 30 days)
I am trying to make smaller image matrix which consists just the objects of another of image matrix. For this i need to find the areas of the objects in that orginal image and also boundaries so that i can create another image matrix and accomodate all those objects there.

Answers (1)

Image Analyst
Image Analyst on 7 Oct 2019
You can use regionprops to get the bounding boxes of all the objects, then crop them out to variables or files and use imtile() or montage() to stitch them together in a compact single image.

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!