Ask Your Question

Revision history [back]

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