If you don't want to deal with the details of lens correction, you may skip HUGIN DEFISH HOW TOIn the following, weĭescribe how to determine the lens correction parameters of this modelĪ free graphical user interface for Panorama Tools, which is available for various operating systems. HUGIN DEFISH TRIALThese parameters can hardly be found by trial and error. Rather a zoom camera when set to a certain focal length). Sensibly in order to correct the distortion produced by a specific lens (or Transformation parameters a, b, c, d, which have to be chosen In this approach to the problem, the distortion is controlled by four ImageMagick, as Barrel Correction Distortion One of the most-used lensĬorrection algorithms, introduced by Panorama Tools and used by PTlens, is also offered by Transformations to the digital photograph. Thisĭistortion can however be mostly corrected by applying suitable algorithmic To short focal length) typically produce a pronounced barrel distortion. The majority of this page was contributed by Wolfgang Hugemann.įisheye lenses and low-cost wide-angle lenses (or rather zoom lenses when set You will generally need to correct for these effects, and that is what will be Lens effects and spherical perspective effects. When taking photographs, the images generated are actually distorted by both Re-engineering parameters from camera created thumbnail Example Keyboard Example (by El-Supremo).Determining lens parameter sets with Hugin.(Sorry for the way I posted but I can't seem to format it in a better way)ĭon't forget to adjust for your Hugin instalation folder.Index ImageMagick Examples Preface and Index Introduction to Lens Correction Non-scaling Restraint Ready-made Parameter Sets Calibrating From Scratch "C:\Program Files (x86)\Hugin\bin\nona.exe" -o panini/P_%%a defishPANINI.pto it's easy I'll do it right here anyway (this is a Windows batch, those versed in shell could easily adapt): offĮcho p f16 w%width% h%height% v140 n"TIFF" > defishPANINI.ptoĮcho o w%width% h%height% f2 v140 y0 p0 r0 n"%%a" > defishPANINI.pto I just adjusted the scripts for FullHD and TIFF and individualized the projects filenames so that I could run both (Rectilinear and Panini) in parallel CPU). If you are impatient to try it, the original work was done here: I can also attach the adjusted script here when I get home. Since I see there is some interest in this matter I'll work on a sample over the weekend and run some tests to see which of the projections is a best overall fit. :īasically I load the MTS into AE, export it as a TIFF sequence, then I run a batch script that defishes those TIFFs real time CPU) into a subfolder with ZERO human interaction and finally reimport the defished TIFF sequence. So if you protect your camera from tilt and make sure that the strong horizontal lines (such as the horizon) crosses the center of the frame (sorry but no free lunch here) then you won't even notice it's a fisheye because almost every thing will look straight. The main advantages of the Panini projection is that it keeps vertical and radial lines straight. From a few preliminary tests the goods news is that are some other projections (namely the Panini and some of it's derivatives) that work with a lot less frame crop and less expansion on the corners. HUGIN DEFISH FULLYou'll loose a lot (and I mean a LOT really) of corner resolution if you go full rectilinear.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |