title: Open source code for cast shadow detection and removal
body: <p>I have implemented foreground subtraction to detect moving cars and the results look pretty good. The only issue is in removing the shadows , which form a part of the foreground.</p>
  
  <p>I searched online to find a way to fix this and found links to many papers :</p>
  
  <p>1) Moving Shadow Detection with Low- and Mid-Level Reasoning</p>
  
  <p>2)J.-F. Lalonde, A. A. Efros, and S. G. Narasimhan. Detecting Ground Shadows 
  in Outdoor Consumer Photographs. in European Conference on Computer Vision, 
  2010.</p>
  
  <p><a href="http://www.yourfilelink.com/get.php?fid=744441" rel="nofollow">Please watch the video</a>
   for a better idea of what I am looking for. Though the papers make for great learning, they are beyond my level of comprehension at this point. Could someone point me to some open source code which could help me understand and implement shadow removal?</p>