Help with camera distortion correction.
Posted: 2016-05-18T06:24:41-07:00
Hi all!
This is my first message on the forum.
I'm trying to correct the distortion in a camera Genius WideCam 1050 [1]. Since I need to use this camera with the angular amplitude vertically, to correct the image distortion I used the following procedure.
1) I've rotated the image 90 degrees clockwise:
2) I used Hugin to set up multiple control points on the rotated image following the steps in this article [2] in order to obtain the coefficients A, B and C of the Dersch function. The values obtained here were: 0.005, -0.066 and 0.069.
3) To use convert for apply the transformation:
The test was done by taking a photo of the interior of a house where there are some corners that are not parallel with the edge of the photo. I'm not sure if this is due to the perspective or it is something that can be improved in the transformation. I would like to attach the photos for you can give me an opinion, but I can not find how to do it in this forum.
I'm using Debian GNU/Linux Jessie with Imagemagick 6.8.9.9-5+deb8u2.
Thanks in advance.
Kind regards,
Daniel
[1] http://www.geniusnet.com/Genius/wSite/c ... ctNode=161
[2] http://hugin.sourceforge.net/tutorials/ ... n/en.shtml
This is my first message on the forum.
I'm trying to correct the distortion in a camera Genius WideCam 1050 [1]. Since I need to use this camera with the angular amplitude vertically, to correct the image distortion I used the following procedure.
1) I've rotated the image 90 degrees clockwise:
Code: Select all
$ convert 20160517_154016.jpg -rotate 90 20160517_154016-rotated.jpg
3) To use convert for apply the transformation:
Code: Select all
$ convert 20160517_154016-rotated.jpg -distort barrel "0.005 -0.066 0.069" 20160517_154016-rotated-processed.jpg
I'm using Debian GNU/Linux Jessie with Imagemagick 6.8.9.9-5+deb8u2.
Thanks in advance.
Kind regards,
Daniel
[1] http://www.geniusnet.com/Genius/wSite/c ... ctNode=161
[2] http://hugin.sourceforge.net/tutorials/ ... n/en.shtml