I need to transform bitmap images with their 4 corner points moved from one location to another.
Any code that can run on Windows, C#/VB.NET preferably, even help how to use scriptable programs like Paint.NET or Photoshop would be accepted. The Java Advanced Imaging API sounds hopeful.
I need it for a screenshot manipulation system, which allows you to get such effects:
(source: wholetomato.com)
Check out the Perspective warping examples from ImageMagick. It is available for most mainstream platforms.
The keyword here is homography. Manolis Lourakis has written a GPL'ed homography implementation in C that is available here; however, this will not be able to be ported very easily because it relies on some external libraries such as LAPACK.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With