top of page
Search

How to Analyze Lens Longitudinal Chromatic Aberration

  • Ed Dozier
  • Oct 5, 2024
  • 4 min read

There are two kinds of chromatic aberration. The aberration most photographers are familiar with is called lateral chromatic aberration, and that’s what causes those purple smears near the edges of the frame (such as around tree branches against the sky). Most photo editors can reduce or eliminate this defect.

 

This article is about longitudinal chromatic aberration (LoCA), which is caused when a lens focuses different colors of light at different distances along the lens axis. This aberration is mostly noticed by seeing bright out-of-focus subject highlights take on different colors in front of and behind the focus plane. The effects of this aberration are roughly the same all across the camera sensor. Very few photo editors can fix this defect.




LoCA picture thanks to the Wikipedia site




Near (in-focus) light: reddish fringes, far light: greenish fringes

 

The lights above show some color fringes due to LoCA. It’s not horrible, but you can tell it exists. The picture was shot with my Nikkor 85mm f/1.4 AF-S at f/1.4. This is a crop from a pixel-level magnification.

 

 

I used the MTFMapper program by Frans van den Bergh to perform the analysis. He provides files that you can print out, including a couple of special “focus position” charts. To shoot the focus chart, I had to set up my camera at 45 degrees to the chart, with the ‘short’ slanted-line targets nearest the camera. The chart is designed so that the natural perspective distortion will make the slanted targets look like the same height when the short slanted targets are nearer to the camera than the tall slanted targets. Frans provides two styles of focus position charts; here, I chose the chart with a single row of heavy slanted lines.

 

When photographing a ‘focus position’ chart, it’s not critical that you nail focus in the center of the chart to analyze LoCA. It’s only the relative peak focus between the red, green, and blue channels that’s important.

 

In the program Settings|Preferences, I set the ‘Threshold’ value to 2.0 and I set the Bayer color channel to red, green, and finally blue in three separate analysis runs of the Focus Position chart. I used raw-format photos of the focus chart. The MTFMapper program doesn’t yet understand my Nikon Z9 ‘HE’ format, since it uses LibRaw. I have to convert them into DNG format using Adobe’s free converter.




Set Threshold and Bayer channel then Open images

 

 

For the tests, I used both my Nikkor 85mm f/1.4 AF-S and my TTArtisan 50mm f/0.95 lens on my Nikon Z9 camera. I picked these lenses, because I know that they have noticeable longitudinal chromatic aberration (LoCA). Later, I'll compare them to a lens with very little LoCA.

 

I photographed the chart at a few different apertures, to see how the aperture would affect the LoCA.




TTArtisan 50mm at f/0.95 R,G,B Bayer channels

 

The TTArtisan 50mm f/0.95 lens shows the red Bayer channel focusing farther from the camera (left) than the green and blue channels. The plots are shown with R then G then B left-to-right.




The same TTArtisan 50mm stopped down to f/1.4 again shows the red channel focusing farthest from the camera. The green and blue channels are about the same.



TTArtisan 50mm at f/2.8 R,G,B Bayer channels

 

At f/2.8, the TTArtisan shows the same focus shift pattern as the other apertures. The plots are shown with R then G then B left-to-right. The focus separation between red and green here is 15.7mm.

 

The focus separation distances depend upon the chart size. If you stick with the same chart, you can directly compare different lenses.




TTArtisan 50mm at f/2.8 red channel close up

 

When I zoom in on the plot, you can see that the actual focus offset from the vertical dashed line is provided (-21.1mm here). It also includes the peak MTF50 resolution (0.197 cycles per pixel here).




Nikkor 85mm f/1.4 at f/2.8 R,G,B Bayer channels

 

The Nikkor 85mm f/1.4 lens tests showed very similar behavior to the TTArtisan 50mm lens at the equivalent apertures. The f/2.8 plots above, for example, are a near twin to the TTArtisan plots at f/2.8. The focus separation between red and green here is 17.8mm, versus the TTArtisan’s 15.7mm at the same aperture.

 

Looking at the red channel focus peak, it’s significantly farther away from the camera than the blue and green channels. This is classic longitudinal chromatic aberration.

 

The aperture setting has very little effect on the LoCA of either lens.




No channel (luminance), 85mm f/1.4 lens at f/2.8

 

When no color channel is selected in the Preferences, the plot looks about the same as the ‘Green’ channel does. This is effectively what the camera is using for focus.




Nikkor 24-120 f/4 S at 85mm f/4 Red and Green channels

 

Shown above is a lens with very little LoCA. The focus separation between red and green here is only 4.8mm.

 

Many thanks to Frans van den Bergh for his terrific MTFMapper program. It’s very effective for showing how a lens focuses different colors at different distances.


 

 
 
 

34 Comments


Amelia
Amelia
17 hours ago

As learning paradigms constantly change, working professionals and students alike prefer flexible and efficient tools for studying and acquiring skills. The ability to learn physics will be helpful if you plan on pursuing a professional career. However, when you have a family, work, and attend school, it might be difficult to find the right balance. If students become overwhelmed in their online classes, they are likely to think about pay someone to take my class for me. Taking an online class, yourself is not a problem so long as you plan well, otherwise the service could be counterproductive.

Like

lisabennet969
Apr 18

Online learning modules are becoming more and more popular in schools and universities. Advanced digital learning materials are proliferating, and online education is creating opportunities for students who are more involved. Additionally, live instructors, student-to-student chat rooms, video-based course materials, and adaptable class scheduling are just a few benefits of online learning. The pupils have to negotiate a few significant obstacles to online learning, even though there are numerous strategies for ensuring it is effective. The world recently experienced a technological revolution during the pandemic. If you have ever searched, Can I hire someone to do my online class, then you are not alone. Normally boisterous classrooms abruptly fell silent. The education department faced a whole new set of difficulties…

Like

msd365inny
msd365inny
Apr 12

Nevas Technologies has been providing Dynamics GP (Great Plains) services for over a decade to end clients, ISVs and Dynamics GP partners. We offer Full Service, One-Stop-Shop consulting services expertise of implementing and customizing Microsoft Dynamics GP (Great Plains) from version 7.0 has enabled us to build a highly competent team of GP consultants and developers with sound knowledge on the functional and technical capabilities of the solution. We are a leading provider of Great Plains Support.

Like

maxwellmarco1727
Apr 10

College students frequently struggle with several facets of their academic lives, which leads them to require assignment help with their tasks. Inadequate understanding of difficult disciplines like arithmetic, physics, or literature is one frequent cause. Stress and anxiety can also be exacerbated by strict deadlines and the need to maintain high marks.  In addition to their education, many students balance part-time jobs, extracurricular activities, and social obligations. The need for assignment help online is increasing as students have less time to devote to assignments and essays. Students can save time, reduce stress, and improve their marks by choosing online assistance.

Like

msd365inny
msd365inny
Apr 07

As a trusted Microsoft Dynamics 365 Partner in New York, Nevas Technologies delivers tailored solutions to enhance your Microsoft Dynamics 365 Business Central experience.

Based in New Yorky, we have a deep understanding of the local business landscape, allowing us to provide customized solutions that align with your unique requirements and regulatory standards. Our goal is to help you gain a competitive advantage through efficient data management and a smooth digital transformation.

With extensive expertise in Microsoft Dynamics 365 Business Central, our team of skilled consultants follows a structured and proven implementation methodology to ensure a seamless transition, minimizing disruptions and maximizing efficiency. We specialize in Business Central implementation and integration, unlocking its full potential to drive business success.

Like
Recent Posts
Archive
bottom of page