These images came from my “dot” (made by kogeto. link)
The app doesn’t seem to be working quite as well as it used to (crashes out), and well requires me to take the case off my iPhone; I am wondering how to turn these images into panoramas using ImageMagick or GD from the command line?
Any thoughts?
4 thoughts on “Image Correction”
You could try fisheye2rect from http://www.fmwconcepts.com/imagemagick/fisheye2rect/index.php
As a test try with just the default options
./fisheye2rect input.gif output.jpg
that should open out the righthand side quarter and make flat.
Someone used the dot with a Raspberry Pi: http://imgur.com/a/4ptjR
He used Imagemagick with the command:
convert test.jpg -filter Cubic -distort DePolar ‘555 295 1168,1087 -10,370’ -resize 100×20% test.png
I guess you could cut out the dohnut as it has predefined dimensions, and then unwrap it just by going through each pixel, compensation for the stretching that will happen at the inner circle. The maths for this should be relatively simple
This came up in my RSS feed today: http://www.raspberrypi.org/archives/4607
That links to: http://www.kscottz.com/dewarped-panoramic-images-from-a-raspberrypi-camera-module/