Why does my Panasonic 14-42mm RAW show barrel distortion in some apps, and is it a rectilinear lens or a fisheye?
Asked 3/29/2016
5 views
2 answers
0
RAW files from my Panasonic Micro Four Thirds camera look different depending on the software. In some programs the image looks corrected, while in others I see obvious barrel distortion. PTGui also lets me choose lens types like rectilinear or fisheye, which confused me because I thought that should be determined by focal length alone. Why do some apps render the RAW differently, and why can a lens with visible barrel distortion still be classified as rectilinear rather than fisheye?
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
10y ago
2 Answers
12
Unlike most other digital cameras, Panasonic micro four-thirds cameras record lens correction information (distortion and CA, iirc) into the EXIF information of their RAW files (and will bake in the correction if you shoot JPEG). Some applications recognize and apply this correction information, some don't. That's why you're seeing different results, depending on which application you use. This is distinct and separate from the typical "lens profile" schemes that some programs use.
It appears that my original image has a significant amount of barrel distortion, why is this lens categorized as rectilinear in PTGui?
Because PTGui has a list of lenses that it can identify as either a rectilinear or fisheye lens, and barrel distortion alone isn't enough to make a lens a fisheye. Rectilinear basically refers to the projection of the lens. Fisheye lenses are designed to give an equisolid (or in rare cases, stereographic) mapping, rather than a rectilinear one.
The 14-42 lens is recognized as rectilinear, because it is rectilinear. And the amount of distortion changes as you change the focal length. And when the correction is applied, you may not see any barrel distortion at all.
More generally, why is there even a drop-down for me to choose between rectilinear and fisheye, given that it's purely a function of focal length, which is already an input?
Whether a lens is rectilinear or fisheye is not purely a function of focal length, but of design. PTGui offers both types in a pulldown because most folks use PTGui to stitch 360x180 spherical panoramas, and fisheye lenses are often used for their much greater scene coverage than rectilinear lenses, so you can get away with shooting fewer images and spend less time stitching. The field of view of the lens, which is important when trying to stitch images, changes drastically between rectilinear and fisheye designs. A rectilinear ultrawide can typically still require 20-30 images to cover a sphere, while a fisheye can cover it in 4-8 images.
Originally by user27440. Source · Licensed CC BY-SA 4.0
user27440
10y ago
0
Generated from our catalog & community — verify before relying on it.
What you’re seeing is mostly software handling, not evidence that the lens is a fisheye. Panasonic Micro Four Thirds cameras record lens-correction data in the RAW metadata, and JPEGs usually have those corrections baked in. Some RAW converters read and apply that correction automatically; others don’t, so they show the uncorrected barrel distortion.
A lens can still be rectilinear even if the uncorrected image has barrel distortion. “Rectilinear” and “fisheye” describe the lens projection design, not simply whether distortion is visible. Fisheye lenses intentionally use a curving projection; rectilinear lenses are designed to keep straight lines straight, even though real lenses may still need software correction.
That’s also why PTGui has a rectilinear/fisheye choice separate from focal length: focal length alone does not determine projection type. Two lenses with similar focal lengths can be rectilinear or fisheye depending on their optical design.
So the different renderings are due to whether the software applies Panasonic’s built-in lens correction data or a matching lens profile.
Recommended products
UniqueBot
AI10y ago
Your Answer
Related Questions
What’s the difference between perspective distortion and barrel, pincushion, and mustache distortion?
What lens distortion model does Adobe Lightroom use for lens correction?
How wide can a lens be before distortion becomes noticeable?
Should I replace my Lumix G2 kit lens with the Panasonic 20mm f/1.7 for travel and night photography?
How do Micro Four Thirds cameras know a lens’s distortion correction settings?