Hel with perspective distortion.
Posted: 2009-03-12T05:54:22-07:00
I'm trying to do a distortion in a image, but I didn't understand how to do it, yet.
What I need to do is to move the Blue points to the Red points.
image width: 330
image height: 266
-------------------
Points coordinates:
A blue: 0,0
B Blue: 0,266
C Blue: 330,0
D Blue: 330,266
A red: 75,0
B red: 0,180
C red:330,74
D red:277,266
----------
I know how to do a perspective transformation with imagemagick. What I don't know is witch point is each.
-distort Perspective "0,0,0,0 0,0,0,0 0,0,0,0 0,0,0,0"
Could somebody help me?
---------
I need a result like this:
What I need to do is to move the Blue points to the Red points.
image width: 330
image height: 266
-------------------
Points coordinates:
A blue: 0,0
B Blue: 0,266
C Blue: 330,0
D Blue: 330,266
A red: 75,0
B red: 0,180
C red:330,74
D red:277,266
----------
I know how to do a perspective transformation with imagemagick. What I don't know is witch point is each.
-distort Perspective "0,0,0,0 0,0,0,0 0,0,0,0 0,0,0,0"
Could somebody help me?
---------
I need a result like this: