Ask Your Question
1

extracting an object from various object in background [closed]

asked 2014-07-08 06:13:23 -0500

jamesnzt gravatar image

updated 2014-07-08 06:15:54 -0500

*I have to extract an object (Eg. ball) from a group of same object in an image or in a frame of a video.

What steps/ extraction algorithm can be followed? how can i define a paticular object?* image description

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by jamesnzt
close date 2015-02-11 03:55:43.632894

Comments

I think, you need first to detect it, so there are more possibilities. Using a cascade detector, for example. Then you'll have the region of the object, so you can do img(roi).

thdrksdfthmn gravatar imagethdrksdfthmn ( 2014-07-08 06:30:22 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
2

answered 2014-07-08 09:09:54 -0500

Goosebumps gravatar image

It reminds me of this tutorial on watershed: marker-controlled-watershed-segmentation It uses morphological reconstruction though, which is not standard available in OpenCV. The following thread may be useful for this: morphological-reconstruction

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-07-08 06:13:23 -0500

Seen: 149 times

Last updated: Jul 08 '14