MATLAB Answers

How to merge labeled bounding boxes of different parts of the same object ?

8 views (last 30 days)
My question is how to merge two or more bounding boxes of different closer parts witch represent really the same object ? thanks

  0 Comments

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 11 Jan 2014
You might try running imclose() to merge the two parts of the image. Please post/attach your image so we can better understand what you're talking about.

  5 Comments

Show 2 older comments
Merzouk YOUNSI
Merzouk YOUNSI on 17 Jan 2014
Thanks. My goal is to detect and then track the motion in a video sequence. since, whatever the kind of motion detction used method, these segementation errors always occur. But I am trying to reduce or correct them. I used some morphological operations, but it's not enough to merge some neighboring regions.
Image Analyst
Image Analyst on 17 Jan 2014
Well like I said, it's not an error if you want to find things that moved . If the torso of the man on the left did not move , then why should you find it?
Merzouk YOUNSI
Merzouk YOUNSI on 19 Jan 2014
I want to perfom approximately the work of groupRectangles function in OpenCv, i.e. group overlapping and nearest rectangles.

Sign in to comment.

More Answers (1)

farhat khan
farhat khan on 12 Nov 2019
Did you find the exact answer ??? i also face same issue to merge this farhat.jpg

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!