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?
Asked
Active
Viewed 137 times
1
-
This might be a better fit on the DSP Stack Exchange: http://dsp.stackexchange.com – Bart Mar 03 '13 at 21:22
-
I'll also try my luck over there, thx – Thomas Mar 03 '13 at 22:01
-
don't **also** try your luck over there. Take your pick. Don't cross-post. – Bart Mar 03 '13 at 22:02
-
can I move it somehow? – Thomas Mar 03 '13 at 22:07
-
You could flag it for moderator attention, explaining what you want to happen. Or you can delete it here and ask it again. – Bart Mar 03 '13 at 22:08
-
k, thx. I'm gonna give it a few more hours here to see if someone can help me. – Thomas Mar 03 '13 at 22:14
1 Answers
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