title: How to extract images from a scan. How do I find images inside an image?
body: <p>I made a scanner program that scans pictures from my scanner ADF using WIA. It works fine but I want to be able to do multiple images scanned from the flatbed as well. </p>
  
  <p>How do I tell where an image is on the flatbed though? I need to know where to crop the scanned image, but without knowing where the images are located in the scanned image, I can't crop it.</p>
  
  <p>I have searched google but everything I'm finding is for comparing an image, or seeing if the image exists in another image and such. That's of course not what I'm looking for. I just want to be able to find the location of any and all image/s in the flatbed so I can loop through and save each one individually.</p>
  
  <p>The program is written in c#.</p>