You might have said, why bother? I could have easily gimped the source image to get this. And you would be right. But there is more to it...
Wednesday, November 1, 2006
What's going on in a recursive picture?
You might have said, why bother? I could have easily gimped the source image to get this. And you would be right. But there is more to it...
Thursday, October 26, 2006
Why you should correct for barrel distortion
All zoom lenses are prone to a type of distortion known as barrel distortion, where straight lines appear curved as if the center of the image had been inflated. This is especially the case with the less expensive zoom lenses; usually more expensive lenses, lenses with less zoom range and prime (fixed) lenses are corrected and are closer to a perfcet rectilinear lens. My new lens, the Nikkor 18-200mm, shows a lot of barrel distortion at 18mm.
Fortunately, quite a few tools are available to correct for this predictable type of distortion. I use clens, a command-line utility distributed with panotools, with the lens profiles that come with PTlens, a windows alternative to clens (you can find the database in panotools or here).
The top image above is a straight grid, as shot. You can see the curves that should be straight. The bottom image shows the automatic correction with clens, with the lens profile from PTlens.
clens is run like this:
If it run like this:
it outputs a list of possible lenses, according to the make of the camera and the focal length.
The correction is not perfect, since the Nikkor 18-200mm shows a more complicated (higher order) type of distortion that clens cannot correct for.
Fortunately, quite a few tools are available to correct for this predictable type of distortion. I use clens, a command-line utility distributed with panotools, with the lens profiles that come with PTlens, a windows alternative to clens (you can find the database in panotools or here).
The top image above is a straight grid, as shot. You can see the curves that should be straight. The bottom image shows the automatic correction with clens, with the lens profile from PTlens.
clens is run like this:
clens -p profile.txt -s nona -l "Nikkor 18-200mm f/3.5-5.6 G ED-IF AF-S VR DX" image.jpg
If it run like this:
clens -p profile.txt -s nona --Lenses image.jpg
it outputs a list of possible lenses, according to the make of the camera and the focal length.
The correction is not perfect, since the Nikkor 18-200mm shows a more complicated (higher order) type of distortion that clens cannot correct for.
Wednesday, October 25, 2006
Friday, July 7, 2006
Honey I Escherized the kids!
Conformal mappings are great: it's a very powerful branch of mathematics, which basically says you can deform almost any 2D object and transform it into something else while keeping the shape of objects the same (on a small scale). Hence this picture: you see no holes, no obvious distortion, but this image cannot be real. This trick is inspired by a painting by M.C. Escher: some Dutch mathematicians have found what the transformation is and explained in (almost) layman terms.
This image was done in The Gimp and transformed with MathMap.
This image was done in The Gimp and transformed with MathMap.
Monday, April 10, 2006
Thursday, April 6, 2006
Equirectangular obsession
I've been going through a full immersive panorama phase recently that has me going shooting many pictures from one spot in all directions. I've even bought a new ultra-wide-angle lens (Canon EF-S 10-22mm) so that I have to take fewer pictures. I'm waiting for my spherical tripod head to arrive (Nodal Ninja). You can see more of my pictures here.
Subscribe to:
Posts (Atom)