10-29-2020, 07:59 PM
(This post was last modified: 10-29-2020, 08:51 PM by Ottia Tuota.)
(10-29-2020, 05:15 PM)denzjos Wrote: Tested on Windows 10 gimp 2.10.22 and is working fine. Thanks. But, if one have no coordinate system in the picture or no points as reference ?
The idea in the simple plugin was that we have some 4 precise points in the picture and that they should be transformed to certain other 4 precise points. So, we need 8 precise points. If there are no such 8 precise points then the idea does not work, and perhaps it is better to use the regular Perspective Transform tool. There you can transform the picture in real time and play by the eye.
Or are you thinking like Ofnuts (https://www.gimp-forum.net/Thread-fix-di...0#pid20460) that we should be able to do the transformation with less or different information? He asked that if the picture contains 4 points that should lie on a circle but do not because of distortion, and if we have possibly some additional information, then is it possible to find a transformation to put the 4 points on a circle? I guess so, but I have no exact answer (I am no expert in projective transformations).
Such problems can be made. What comes to my mind is 3 points and the center. But even to that I don't know an answer.
Or perhaps you have some other similar problem in mind? Perhaps you could be more specific?
Edit: Those questions of Ofnuts and of my own may have simple answers after all. I must think about it.