How to Tell Which Lens Corrections Are Applied to Your RAW Files

To check which lens corrections your RAW editor applies, render the same original twice with one correction setting changed, then compare the results. Use straight lines near the frame edges to check distortion, high-contrast edges to check lateral chromatic aberration, and an evenly lit surface to check corner shading. If switching off a profile leaves the picture unchanged, check for an automatic correction that the editor applies before its optional controls. A second converter with a documented way to bypass its lens correction can help you test that possibility.
Start with the camera’s original RAW file and treat the camera JPEG as a reference for the camera’s finished look. A camera can show a corrected preview, and a RAW editor can render the underlying file with different geometry, corner brightness, or framing. A thumbnail or a brief change when the file opens gives you little to measure until you know which image you are viewing.
The workflow below separates corrections you can switch independently from corrections that are linked or already active in your editor. It also shows how to compare files when the image shifts or crops during correction. The result is a record you can use for a particular camera, lens, and software version, including how much framing you need to leave when the edges of the shot matter.
Where a RAW lens correction comes from
A rendered RAW can reflect several layers. The camera may write correction instructions in the file, and the editor may recognize those instructions or select calibration from its own lens database using the camera, lens, focal length, or other metadata. An import preset can enable another adjustment. In some file types or capture modes, processing may already be reflected in the stored image data. Switching off an editing control affects the stage governed by that control.
Adobe’s Digital Negative Specification 1.6.0.0 defines opcodes as processing instructions and places OpcodeList3 after demosaicing, the step that reconstructs color from a mosaic capture. WarpRectilinear can correct geometric distortion and lateral color offsets, and FixVignetteRadial applies a radial brightness correction. DNG can also carry opcodes for other tasks. If a read-only metadata viewer shows an opcode list, look for the named operation where the viewer exposes it. The tag confirms that instructions are present. Testing the rendered file still tells you whether your editor acted on them.
Proprietary RAW formats may convey lens data differently. Adobe’s lens profile documentation identifies Micro Four Thirds among the systems with automatic correction and directs users to the lens correction controls to check for built-in support. In darktable, the lens correction manual distinguishes an external Lensfun profile from supported embedded metadata. Its embedded distortion control can also affect chromatic aberration, so both effects can move during a single adjustment. Record what your editor actually lists for your file.
Set up test frames that reveal the differences
Use a tripod or a steady surface and shoot RAW plus JPEG if your camera offers the pair. Start at the wide end of a zoom and repeat at a focal length you often use. Record body, lens, firmware, focal length, aperture, and focus distance. If you use an adapter or a lens with limited electronic communication, note that too. A missing or ambiguous lens ID changes which profiles an editor can match.
Photograph a flat wall with straight seams or a printed grid, keeping the sensor plane parallel to the target. Put straight edges near the center and outer frame, and leave identifiable marks close to the borders so you can see what disappears after correction. A black rectangle against a light background gives you high-contrast edges for the color test. Place one near the center and one near an outer edge, keep them in focus, and avoid clipped highlights.
For shading, photograph a uniformly lit matte surface with no seam, hotspot, or shadow. Fill the frame and defocus enough to suppress surface texture. Lock exposure and white balance. Capture a wide-open frame and another stopped down if you want to test the effect of aperture, then compare each RAW only against a second rendering of itself. Remove stacked filters or other accessories that can block edge light if you want a baseline for the lens alone.
Render the same RAW with one change at a time
Work from virtual copies, snapshots, or duplicate editing variants. Label the default render before touching any controls so you can reproduce what you normally deliver.
For a broader comparison of editing applications with your own files, see the guide to testing Lightroom against no-subscription RAW editors.
- Open the original RAW in the editor’s develop view and wait for its own rendering. Record the editor version, RAW defaults, lens name reported in metadata, and any built-in profile notice or selected profile.
- Create a baseline with the optional lens profile, separate color-fringe control, and manual optics adjustments disabled wherever the editor allows. Also disable automatic perspective correction, straighten, custom crop, and any local or creative vignette.
- Duplicate that baseline and switch on one correction or profile option. If the editor links geometry and lateral color correction, label the pair as a combined test and measure both effects.
- Keep exposure, white balance, tone curve, sharpening, noise reduction, orientation, and export color space consistent. Export at native resolution without output sharpening or resizing. Record the output dimensions and whether the correction changes the field of view.
- Repeat for the other controls. If the minimum setting still carries a built-in profile, compare the same RAW in an editor with a documented way to bypass the relevant correction for that file. In the second editor, make an on/off pair of its own so you can separate its correction from its general rendering defaults.
- Keep the camera JPEG beside the renders to see how the camera frames the scene. Use the two matched RAW renders to decide what an individual control changed.
Measure distortion, color fringing, and shading
For distortion, pick a straight physical line near the top or side. Draw an imaginary or software guide between the two endpoints on each export. Measure the largest perpendicular departure from that guide, then divide the distance by the pixel length between the endpoints and multiply by 100. Use the same physical endpoints in both images. This gives you a repeatable measure of line bow for that feature. Record the direction of the bow and which border marks disappear, since a corrected export can have identical pixel dimensions while showing less of the scene.
OpticalLimits illustrates the size of a possible difference in its Panasonic Lumix G Vario 12–32mm test. At 12mm it measured about 6.3% barrel distortion in an uncorrected conversion and about 2.1% in its corrected result. Those percentages use that lab’s method. In your own test, the useful comparison is how much the same edge straightens and whether the crop removes something you meant to keep.
For lateral chromatic aberration, view the same sharp edge at 100% in both versions. If the correction shifts the subject, locate the edge by its shape before measuring. In an editor with channel inspection, compare where the red and blue channels cross a sharp transition relative to green. Use the same midpoint criterion in each channel and record the offsets in pixels for several outer edges. A center edge is a useful control. Colored halos around out-of-focus detail may come from longitudinal aberration, and a clipped highlight or a defringe tool can change the visible color without showing that the channels were realigned.
For shading, average small patches at the center and all four corners of the flat-field frame. With linear luminance values, divide each corner average by the center average. A ratio of 0.50 means that corner is one stop darker than the center. If you only have ordinary tone-mapped exports, use the ratios as relative readings under identical processing. If geometry and shading are linked, select corresponding scene patches inside both crops and label the result as combined. Resampling and edge cropping can change the corner readings even with no separate shading adjustment.
Resolve ambiguous results before saving a preset
If a switch appears to do nothing, verify you are comparing a fresh RAW rendering and the right variant. Try the wide-end grid or a high-contrast outer edge. A built-in correction may already be active, the profile may contain little correction at that focal length, or the editor may have failed to match the lens. When the lens field is blank or ambiguous, check the exact mount and lens version before selecting a manual match. Verify the effect against the grid because a wrong profile can bend a previously straight edge.
If the corrected frame looks overdone, turn off manual distortion, color, or vignette corrections and any additional database profile where possible, then add them back individually. A correction that brightens a dark corner can also make its noise more obvious. Compare a shadow patch near the border at output size before applying the same shading amount to an entire shoot. A dark wedge in one corner also warrants a check for uneven target light or a physical obstruction.
If only the JPEG matches your expectations, check crop, aspect ratio, and tone settings before attributing differences to optics. If a second converter reveals curved lines when its lens module is bypassed, save that pair and compare the same lines in your primary editor. Where two converters disagree and neither exposes a reliable bypass, record the geometry or shading that differs and mark the source of the difference as undetermined.
If straight lines still converge after lens distortion is addressed, see the coverage of local perspective correction in DxO ViewPoint.
Record what the test showed
Save the original, the paired exports, and a short note for each focal length and aperture tested. List distortion, lateral color, and shading separately. For each, record the observed change, whether you could switch it off, and whether other adjustments moved with it. Keep a separate line for framing so you know how much room to leave for architecture or any shot with important details at the edge.
For a video project that needs to match a still frame, make a separate test in the video recording mode you intend to use. Use the same grid and compare the files you will actually deliver. Repeat your still test after a major editor update or a change in import defaults before copying the old correction settings to new files.
Related Articles
- Lightroom vs No-Subscription Photo Editors: How to Test Your RAW Workflow
- DxO ViewPoint 6 Adds AI Masks for Local Perspective Corrections
- How to Compare APS-C Mirrorless Cameras Using RAW Files, Autofocus, and Lens Equivalence
- iPhone vs Android for Photography: RAW Files, Lens Switching, and Color
- How to Evaluate a Used DSLR From RAW Files, Autofocus Tests, and Shutter Behavior