title: OpenCv Issue of Image Subtraction?
body: <p>i am trying to subtract 2 image using the function cvAbsDiff(img1, img2, dest);
  it working but sometimes when i bring my hand before my head or body the hand is not clear and background comes into picture... the background image(head) overlays my foreground.(hand)..</p>
  
  <p>it works correctly on plain surfaces i.e when the background is even like a wall.</p>
  
  <p>please check out my image...so that you can better understand my problem...!!!!</p>
  
  <p><a href="http://www.2shared.com/photo/hJghiq4b/bg_overlays_foreground.html" rel="nofollow">http://www.2shared.com/photo/hJghiq4b/bg_overlays_foreground.html</a></p>
  
  <p>if you have any solution/hint please help me.......</p>