Ask Your Question
2

Grabcut and foreground image extraction

asked 2013-01-10 01:45:48 -0500

thomas11 gravatar image

Dear All, According to the documents, Grabcut is interactive algorithm. The user has to input the foreground rectangle roughly and the algo cut the foreground image. Is there a way to use Grabcut to extract the foreground image automatically? Thanks

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-01-12 09:43:26 -0500

In the final when you compute then background mask use cvNot then inverse the background mask to get the foreground mask.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2013-01-10 01:45:48 -0500

Seen: 419 times

Last updated: Jan 12 '13