MATLAB Answers


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

Asked by Rabin Dhakal on 6 Oct 2019
Latest activity Answered by Image Analyst
on 7 Oct 2019
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.

  1 Comment

See regionprops() and bwareafilt()

Sign in to comment.




1 Answer

Answer by 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.


Sign in to comment.