title: Background Subtraction in OpenCV
body: <p>I am trying to subtract two images using absdiff function ,to extract moving object, it works good but sometimes background appears in front of foreground.
  This actually happens when the background and foreground colors are similar,Is there any solution to overcome this problem?
  It may be description of the problem above not enough; so I attach images in the following 
  <a href="https://drive.google.com/open?id=0Bz6MObtH-KRAZGhaSjduNzlVOUE" rel="nofollow noreferrer">link</a> .
  Thanks..  </p>