title: c# .NET green screen background remove
body: <p>I am working on a photo software for desktop PC that works on Windows 8. I would like to be able to remove the green background from the photo by means of chroma keying.</p>
  
  <p>I'm a beginner in image manipulation, i found some cool links ( like <a href="http://www.quasimondo.com/archives/000615.php" rel="noreferrer">http://www.quasimondo.com/archives/000615.php</a> ), but I can't transale it in c# code.</p>
  
  <p>I'm using a webcam (with <a href="https://code.google.com/p/aforge/" rel="noreferrer">aforge.net</a>) to see a preview and take a picture.
  I tried color filters but the green background isn't really uniform, so this doesn't work.</p>
  
  <p>How to do that properly in C#?</p>