Not to be obtuse, but ...

First, if you need PTlens to get the calibration values, this does IM no good. You might as well just use PTlens.

I suppose to calibrate the lens, you could take a picture of a grid and do some least squares analysis to determine the constants.

Secondly, the link to GIMP is for binaries and not source code. That link would help to look at the code. But I am not sure whether the people at IM would feel comfortable taking and modifying GIMP code. But it would be interesting to hear from them how they feel about this. If they have no problems, then there may be other useful code that could be "borrowed".



First of all you can read these values for a lot of cameras from its
database via Clens. Secondly,
http://epaperpress.com/ptlens/calTargets.html gives hints on suitable
targets, though it does not tell us the calibration algorithm itself, as
this work is always performed by Tom Niemann himself. I think that is
the trick he really sells with PTlens.

I though don't believe this task to be too tricky. It's probably
straightforward: you have to determin the four polynominal coefficients
from a suitable image. This means that you need the real coordinates of
just two points in the image.

And I forgot: GIMP is also Open Source, so one might look at its code as
well: http://www.gimp.org/downloads/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to