1

I'm trying to get the cover image of a DVD as a rectangular image from a photo. Now as the cover on the photo is usually a bit skewed I need to rectify it programmatically. I've already removed most of the surroundings using the Laplacian of Gauss filter, but now I need to find the borders of the cover and somehow fill the whole frame with the coverimage. I thought of using the Hough-Transformation, but this seems to be pretty brute-force for linking edges. I want to run this on a Windows RT Device (Surface), so a low-level idea for C# would be great. Any ideas?

DVD Cover to rectify

Thomas
  • 4,030
  • 4
  • 40
  • 79

1 Answers1

1

You should look into OpenCV and the image segmentation parts. After that you can perform a skew / shear transformation on the 2D image.

Rene Schulte
  • 2,962
  • 1
  • 19
  • 26
  • I was under the impression that OpenCV (or propably the Emgu CV wrapper) is not yet ready for WinRT / Windows Phone. Am I wrong? – Thomas Mar 04 '13 at 11:14
  • See http://stackoverflow.com/questions/14065370/using-opencv-in-a-windows-8-store-app-with-visual-c-2012 – Rene Schulte Mar 04 '13 at 14:43