I’ve found this same method to be useful when generating RAW+JPG during a shoot, as the RAW file will be uncorrected. Once the optimization has finished it will produce lens parameter values that can be saved for re-use in the future (or modified for use in other software) to automatically correct lens distortions. The basic idea is to shoot photos of an image that has known straight lines in it, identify points along these lines as straight lines in the software, and to run an optimization against them: Straight lines being identified in Hugin for lens calibration There is a tutorial on the Hugin site that walks through the process. If you start with an image (or images) that have known straight lines in them, they can be used to generate parameters to automatically correct images later. The same technique can also be used in reverse to correct for lens distortion.
![panorama maker apple panorama maker apple](https://dm0qx8t0i9gc9.cloudfront.net/thumbnails/video/r9E0QYuleiv25jmq9/videoblocks-the-man-standing-near-panoramic-windows-on-the-sunset-background-time-lapse_bscethe-man-standing-near-panoramic-windows-on-the-sunset-background-time-lapsebewm_thumbnail-1080_01.png)
In the previous example the image was corrected to maintain parallel lines in rendering the final output.
PANORAMA MAKER APPLE SOFTWARE
Speaking of control lines, the software can also be used to generate lens correction parameters as well. The view on the right is possible without modification using a view camera, but can be approximated using a few extra control lines in the panorama software. This produces an “architectural view” (really axonometric, or really really planometric). From the same panorama, the right image was generated, but in this case the vertical lines of the image were identified in the software. On the left is the rectilinear projection after correcting for lens distortions. The image above is stitched from 3 images. This allows all of the parallel lines to remain parallel in an image: View cameras have the option of shifting the lens up vertically to include the top of a building without having to tilt the film plane. Doing so will lead to converging parallel lines. Shooting a building from ground level for instance will often require the photographer to pan the view up in order to include the top of the building. This comes in particularly handy for shooting architectural subjects where you want to maintain parallel lines in the image.
![panorama maker apple panorama maker apple](https://getwallpapers.com/wallpaper/full/9/5/f/1091440-large-panoramic-desktop-wallpaper-2560x1262-computer.jpg)
One of the really great capabilities of having the lens plane adjustable relative to the film plane is that the image can be shifted while maintaining orthogonality with the subject. This effect is produced in view cameras by modifying the front plane with the lens relative to the film plane on the back plate.