Lens Aberrations in Machine Vision: Field Curvature, Astigmatism, Chromatic Aberration, and Spherical Aberration
Why a lens can pass its distortion spec and still fail a barcode or inspection task, and which aberrations software can and cannot fix.
Lens aberrations are deviations from ideal image formation that produce soft corners, orientation-dependent blur, color fringing, or center-to-edge sharpness mismatch. Distortion changes geometry without reducing sharpness, and software corrects it well. Field curvature, astigmatism, spherical aberration, and chromatic aberration reduce contrast in ways software cannot fully recover.
For machine vision, the reliable fix for these blur-causing aberrations is a better-corrected lens, a narrower aperture where illumination allows it, or narrowband illumination, not a software patch applied after capture.
What lens aberrations mean in machine vision
An ideal lens maps every point in a scene onto the sensor with perfect sharpness, correct geometry, and no color separation. Real lenses deviate from that ideal because refraction through a curved surface bends different rays, and different wavelengths, by different amounts. These deviations are lens aberrations.
In photography, aberrations are often aesthetic. In machine vision, they are engineering constraints. An aberration that makes a photo slightly soft can cause a barcode reader to fail, push a dimensional measurement out of tolerance, or introduce color fringing that breaks a defect-detection algorithm. The impact depends on where in the image the critical feature sits.
Aberrations split into two functional categories for machine vision:
- Geometric. Distortion changes the position of image points without reducing sharpness: the image is geometrically wrong but still in focus. Software calibration corrects this well.
- Blur-causing. Field curvature, astigmatism, spherical aberration, and chromatic aberration reduce contrast and resolution in ways software cannot fully recover.
Center sharpness alone is not a complete picture. Blur-causing aberrations grow with field angle. A lens that passes an MTF measurement at the center can fail at 70% or 100% field height, exactly where barcodes, part edges, and label text often sit. See the MTF curve guide for how to read sagittal and tangential curves at multiple field positions.
Textbook optical design treats aberration correction as a design-conjugate problem: Kingslake's Lens Design Fundamentals frames aberration balancing as trading residual error between element groups, Smith's Modern Optical Engineering covers how cam-based focus mechanisms rebalance aberrations across a focus range, and Hecht's Optics gives the underlying wave and ray theory for dispersion and spherical wavefront error. Those references matter for one practical reason: a lens datasheet reports performance under one specific set of conditions, usually a nominal aperture and a single working distance, and the aberrations discussed in this guide change with aperture, field position, wavelength, and working distance simultaneously. Reading a single spec number as if it applies everywhere in the field is the most common mistake in lens selection for flat-target inspection.
Distortion versus the aberrations that cause blur
Distortion is the classic monochromatic aberration that changes image geometry without reducing sharpness (lateral chromatic aberration behaves similarly per color channel, which is why per-channel geometric calibration partially corrects it). A barrel-distorted image is geometrically incorrect, but every point in it is still in focus. The pixel data is all there, just displaced. That is why OpenCV-style calibration typically corrects distortion to sub-pixel accuracy.
Field curvature, astigmatism, spherical aberration, and chromatic aberration are different: they reduce the contrast of fine spatial detail. Pixels that should be sharp contain averaged information from neighboring points, and once that averaging happens, no software step recovers it precisely.
A lens with -0.5% optical distortion and uncorrected field curvature will produce better distortion numbers and worse edge images than a lens with -4% optical distortion and well-controlled field curvature. Distortion alone is not a proxy for overall lens quality. See what is a low-distortion lens for distortion-specific selection guidance.
Datasheets typically list one distortion number and sometimes a center-field MTF. Neither tells you what happens at 80% or 100% field height, where many inspection targets sit. MTF curves measured at multiple field positions are the correct tool for evaluating the aberrations covered in the rest of this guide.
What is chromatic aberration?
Chromatic aberration occurs when a lens focuses different wavelengths of light to different positions. Glass has a wavelength-dependent refractive index (it bends blue light more than red light), so a single-glass element cannot bring all colors to one focal point. In machine vision this shows up as wavelength-dependent focus shift, color fringing at high-contrast edges, and calibration drift in systems that switch between visible and NIR illumination.
Two distinct forms exist. Axial (longitudinal) chromatic aberration means different wavelengths focus at different distances along the optical axis (in a simple positive lens, blue focuses closer and red farther; corrected designs leave a smaller residual whose sign depends on the prescription), so no single focus position captures every wavelength sharply. Stopping down reduces the visible blur because a narrower aperture increases depth of focus, but it does not correct the underlying dispersion. Lateral chromatic aberration means different wavelengths produce different image magnification, so color planes are offset across the field. This grows with field angle and appears as color fringing near the corners. It does not respond to aperture at all, since it is a magnification error, not a focus error.
Chromatic aberration is a dispersion problem, not geometric distortion. A lens can have less than 1% distortion and still show significant chromatic aberration, or the reverse. The two should be specified and measured separately.
Chromatic aberration matters more for machine vision than for photography because high-resolution sensors with small pixels amplify any spatial offset between color planes, and multi-spectral or day/night systems force the lens to operate at two wavelength ranges with a single optical design. When a camera switches from visible to 850nm or 940nm NIR illumination, the lens focal position shifts because glass refractive index is higher at shorter wavelengths. A lens sharp under visible light can go soft under NIR, and vice versa. IR-corrected lenses use glass combinations chosen to keep visible and NIR focus close enough to share one focal position, avoiding a refocus at every illumination switch. Monochrome sensors paired with narrowband LED illumination avoid chromatic aberration almost entirely, because the lens only has to be well corrected at one wavelength.
A compensating filter stack addresses a related but distinct problem: the mechanical focus shift caused by removing the IR-cut filter itself, not the lens's underlying VIS/NIR chromatic error. A day/night camera that switches between an IR-cut filter (daytime) and no filter (nighttime NIR) sees a focus shift at each transition, because removing the filter changes the glass thickness in the optical path and therefore the focal position. A switcher built with a compensating glass element equal in optical thickness to the removed filter cancels that filter-swap shift and keeps the path length, and the focus, approximately constant regardless of filter state. An equal-thickness dummy element, however, is an essentially achromatic path-length fix and does nothing for the dispersion-driven focus shift between visible and NIR that an uncorrected lens still has. Solving that requires either an IR-corrected prescription or a switcher whose compensating glass is deliberately a different thickness, tuned to offset the lens's own NIR focus shift rather than merely to cancel the filter's thickness. Whichever approach is used, obtaining measured chromatic aberration data at the actual operating wavelength is more reliable than extrapolating from a visible-band datasheet, since nominal specifications are rarely reported for 850nm or 940nm illumination.
What is spherical aberration?
Spherical aberration occurs when rays passing through different radial zones of a spherical lens surface converge at different points along the optical axis. Paraxial rays near the center focus farther from the lens; marginal rays near the edge focus closer. No single focal plane captures all rays at a common sharp point, so the image looks soft or hazed even at nominal best focus. This is a focus-formation problem, not a geometric distortion: a lens can have very low distortion and still show significant spherical aberration.
Spherical aberration is not the same as defocus. Defocus is a global shift of the focal plane: every zone of the lens focuses to the same point, but the sensor sits at the wrong axial position, and adjusting focus corrects it completely. Spherical aberration is zone-dependent: no single sensor position produces a fully sharp image, because no common focal point exists. It is also distinct from field curvature: spherical aberration degrades the on-axis center of the image, while field curvature is an off-axis effect governed by a different part of the prescription. The two have different symptoms and different corrective approaches, though in a real, non-idealized lens residual zonal spherical aberration can vary somewhat with field position rather than staying perfectly confined to the axis.
Fast lenses show spherical aberration most clearly. At a wide aperture (low F/#), the full lens diameter contributes to the image, including the marginal zones with the largest focus offset. Stopping down blocks those marginal rays, restricting the contributing zone to the better-behaved paraxial region and improving sharpness, but the lens has not been corrected, only restricted. For M12 lenses with a fixed aperture set at manufacture, this tradeoff is baked in at order time rather than adjustable in the field.
Aspherical elements are the main design tool for reducing spherical aberration at wide apertures without a long stack of spherical corrector elements. See what is an aspherical lens below for how that correction works.
Most production machine vision lenses use several elements to balance aberrations across the system rather than relying on a single corrective element. Each element introduces its own residual aberration, but a well-designed multi-element prescription can be arranged so the spherical aberration of one element partially cancels that of another, producing low residual spherical aberration at the rated aperture even without an aspherical surface. Whether that balance holds at the actual working aperture is a question measured MTF data answers and a nominal spec sheet does not: a Trioptics-style bench measurement captures resolution at the specific spatial frequencies, field positions, and apertures the deployment will use, which is the only reliable way to confirm spherical aberration is under control at F/1.8 rather than only at F/5.6.
What is field curvature, and why is astigmatism its off-axis partner?
Field curvature is a lens aberration where the surface of best focus is curved rather than flat. In an ideal lens, every point in a flat scene focuses onto the flat sensor plane at the same distance. In a lens with field curvature, the focal distance changes across the field, so the center can be in focus at one setting while the edges need a different position to be sharp. This is sometimes called Petzval field curvature, after Josef Petzval, who described the relationship between element curvature and image-surface shape.
A flat sensor intersects a curved focal surface at the center but drifts away from it toward the periphery, so corners appear soft even when the center is sharp. Refocusing to sharpen the corners pushes the center out of focus. No single adjustment sharpens the whole frame at once. Field curvature is not the only off-axis aberration: astigmatism is its common partner. Astigmatism causes horizontal and vertical edges at off-axis positions to focus at different depths, so a line running one direction looks sharp while a perpendicular line at the same field position looks blurred. On an MTF plot, astigmatism shows up as sagittal and tangential curves that diverge at mid-to-high spatial frequencies; field curvature shows up as both curves dropping together toward the edge of the field. Text, barcode bars, and dimensional edges near image corners are sensitive to both.
Stopping down increases depth of field, which can tolerate the focus mismatch between center and edge within the extended depth of field, but it does not flatten the curved surface itself: it does not remove the sagittal/tangential focus split, though the smaller aperture shrinks the resulting blur just as it masks field curvature. In machine vision, C-mount lenses with an adjustable iris make this tolerance strategy practical because illumination is usually controllable (LED ring lights, backlights, structured light). M12 lenses typically have fixed apertures set at manufacture. Field curvature grows rapidly with field radius, so a lens that looks flat on a 1/3" sensor can show visible corner softness on a larger 1/2.3" sensor with the same optical design, which is worth checking when migrating to a higher-resolution sensor in the same lens family. The sensor size and lens compatibility guide covers image-circle matching in more depth.
If the whole frame gets soft or sharp together as you adjust focus, that is global defocus, not field curvature. If corners stay soft no matter what single focus setting you choose, and the softness is symmetric, that is field curvature. If one side is soft and the opposite side is sharp, suspect sensor or lens tilt instead.
Working distance changes the picture too. Many M12 lenses are specified at infinity conjugate, and the focal surface at a finite working distance is not the same shape as at infinity. A wide-angle compact M12 lens imaging a target at a short working distance is operating well away from its infinity-optimized design point, and field curvature that was tolerable at a longer working distance can become the dominant image-quality limit up close. This is one reason working distance is treated as a design variable early in a project rather than a fixed constraint. See the working distance guide for how that tradeoff plays out across mount types. C-mount barrels accommodate more optical elements than the compact M12 form factor, which gives designers room to add field-flattening groups that counteract the natural Petzval curvature of the positive power elements. This is a design-capacity argument, not a measured outcome: it is about how much correction the extra barrel volume makes room for, not a claim that a C-mount lens outperforms a same-image-circle M12 lens, since Commonlands does not sell M12 optics covering a 1.1" image circle to compare against.
What is an aspherical lens?
A spherical lens surface has a single, constant radius of curvature from center to edge. That shape is simple to grind and polish, but it bends marginal rays more strongly than paraxial rays, which is the direct cause of the spherical aberration described above. An aspherical surface varies its curvature with radius instead, shaped so that marginal and paraxial rays are steered toward a common focal point. That gives the optical designer one additional degree of freedom per element, which is valuable in a compact housing where element count is limited by physical size.
One or two molded glass aspheres can do the corrective work that would otherwise take three or four additional spherical elements, which is why compact M12 lenses lean on this technique to reach wide apertures (low F/#) without a long optical stack. Molded glass aspheres are formed by pressing optical glass into a precision mold at high temperature; compared to plastic-molded aspheres, they hold their refractive properties across a wider temperature range, which matters for lenses deployed outdoors or in industrial settings with real thermal swings.
An aspherical element is primarily a spherical-aberration correction tool. It does not automatically fix distortion, chromatic aberration, or field curvature. Those are separate aberrations governed by the full optical prescription, not by the presence of one aspherical surface. A lens datasheet mentioning "aspheric element" is a design clue, not a complete performance spec; verify distortion, chromatic behavior, and field MTF independently.
In practice, most lenses with an asphere still contain several spherical elements: the asphere handles the specific corrective function spherical surfaces alone cannot achieve efficiently, and the rest of the prescription is optimized around it.
An M12 lens housing is small, with a 12mm nominal thread diameter and an optical tube length often in the 20-30mm range, so a designer working in glass alone may need two or three elements purely as spherical-aberration correctors. Replacing one of those correctors with a molded glass asphere frees an element slot that can instead shorten the lens, add field-curvature correction, or remove one air-glass surface from the stack. When evaluating an asphere claim on a datasheet, the useful questions are what specific aberration the asphere addresses, whether it is glass or plastic, what the measured MTF shows at the working aperture, and what the distortion and field-curvature specifications say independently. An asphere is a design tool, not a substitute for verifying the rest of the prescription.
What each aberration looks like in a real vision system
The table below maps each aberration to its visual signature, the applications most affected, and whether software correction helps.
| Aberration | What it looks like | Applications most affected | Software correctable? |
|---|---|---|---|
| Distortion | Straight lines bow inward (pincushion) or outward (barrel); geometry wrong but sharp | Dimensional measurement, robotic guidance, barcode reading at field edges | Yes. Geometric calibration typically corrects it to sub-pixel accuracy. |
| Field curvature | Center sharp, corners soft at one focus setting; refocusing corners softens center | Flat-target inspection (PCB, label, flat part surface), full-sensor barcode reading | No. Stopping down helps tolerance but adds diffraction. |
| Astigmatism | Off-axis edges sharp in one orientation, blurred in the perpendicular one; sagittal/tangential MTF diverge | Text OCR, edge-based gauging, barcode reading at corners | No. It causes blur; MTF data reveals its severity. |
| Spherical aberration | Soft haze around high-contrast edges, worst at low F/#; focus position shifts with aperture | High-resolution inspection, fine pixel-pitch sensors, low-light imaging | No. Stopping down or an aspherical design reduces it optically; software cannot reliably restore the lost contrast. |
| Chromatic aberration (axial) | Color halos on high-contrast edges; different channels soft at the same focus distance | Color defect detection, VIS/NIR day-night systems | No. Narrowband illumination avoids it optically; software cannot fully correct it. |
| Chromatic aberration (lateral) | Color fringing at field edges; RGB channels shifted relative to each other | Color inspection at full sensor width, color edge detection | Partially. Per-channel calibration helps. |
What software can and cannot fix
Geometric distortion is the one aberration software handles well. Camera calibration functions compute radial and tangential distortion coefficients from a checkerboard target and, with a well-executed calibration, typically correct the image to sub-pixel accuracy, fast enough for real-time use on modern hardware. Lateral chromatic aberration can be partially corrected by computing independent calibration maps for red, green, and blue channels and aligning them in post-processing, though this adds processing time.
Field curvature, astigmatism, spherical aberration, and axial chromatic aberration all reduce the contrast of fine detail in the captured image. Once that contrast is gone, image processing cannot recover the underlying information. Deconvolution can partially restore contrast for well-characterized blur patterns, but it requires an accurate point-spread-function model for every field position and focus distance, meaningful computation time, and enough signal-to-noise ratio that deconvolution artifacts do not exceed the blur they are trying to fix. For production machine vision, deconvolution is rarely practical. The correct move for soft corners or color fringing is to change the lens or the illumination, not add a software layer that will not fully work.
Stopping down reduces spherical aberration by blocking the outer lens zones that contribute most to that error. Astigmatism and the visible effect of axial chromatic aberration improve for a different reason: neither is a marginal-zone effect, so the mechanism is a smaller blur-circle diameter and increased depth of focus at the smaller aperture, not zone-blocking. For C-mount lenses with an adjustable iris ring, this is a practical tool, and it works because illumination in machine vision is usually programmable: LED ring lights, backlights, and structured light can compensate for the reduced throughput. The limit is diffraction: past a certain aperture, further stopping down trades one kind of blur for another. See the depth of field guide for the aperture-versus-blur tradeoff, and the f-number guide for diffraction-limited thresholds by pixel pitch. M12 lenses typically have fixed apertures set at manufacture, so aperture adjustment is not available as a field correction on those systems.
None of this replaces measurement. Nominal specifications describe performance at one aperture, one working distance, and usually the visible band only. A Trioptics ImageMaster HR2 bench measurement reports EFL, distortion, MTF at multiple field positions, and chromatic aberration for the specific unit under test, which is the only way to confirm that a lens meeting its headline spec also holds up at 80-100% field height, at the deployment aperture, and at the illumination wavelength actually used. For applications where corner performance or color accuracy is a pass/fail criterion, requesting a measured test report costs less than discovering the problem after the lenses are deployed.
Commonlands lens examples and aberration tradeoffs
Every lens design makes aberration tradeoffs. These four products illustrate how those tradeoffs differ across format, focal length, aperture, and construction.
CIL062: what low distortion does and does not guarantee
The CIL062 is a $19 M12 lens with -2% distortion, low enough for many barcode and basic measurement tasks without software calibration. At F/2.8 fixed, there is no aperture adjustment to trade against spherical aberration or field curvature, so applications using the full 9mm+ image circle on a larger-format sensor should verify MTF at the field edges rather than relying on the distortion spec alone.
CIL368: a glass asphere holding F/1.8 in check
The CIL368 reaches F/1.8 with a molded glass asphere controlling the spherical aberration that an all-spherical design would show strongly at that aperture. Its all-glass, all-metal construction keeps refractive stability, and therefore focus, across the automotive temperature range the lens is separately rated for. The lens also carries an IP69K rating per ISO 20653, which certifies dust-tight sealing and resistance to high-pressure, high-temperature steam-jet washdown. That is an ingress and durability certification, not a source of thermal stability.
CIL122: chromatic stability across VIS and NIR
The CIL122 is designed so the visible-band and NIR focal positions stay close enough to share a common focus, avoiding a refocus when a day/night system switches illumination modes. This addresses axial chromatic aberration directly rather than relying on stopping down.
CIL514: field curvature and chromatic control on a 1.1" format
At a 17.6mm image circle, field curvature and lateral chromatic aberration are more demanding than on smaller M12 formats because the correction has to hold across a much larger field area. The CIL514's all-glass construction and F/2.8-16 adjustable iris let engineers stop down for extra depth-of-field tolerance against field curvature and astigmatism when illumination allows, an option M12 lenses typically do not offer, since their apertures are usually fixed at manufacture.
Diagnostic checklist before blaming the camera or software
When a system produces soft corners, color fringing, or inconsistent edge detection, work through this checklist before assuming a camera fault or adding a software correction layer.
- Check center sharpness against corner sharpness. Image a flat resolution target filling the full frame. Compare MTF or edge sharpness at center, 70% field height, and 100% field height. Significantly softer corners point to field curvature or astigmatism, not a camera problem.
- Refocus for the corner, then check the center. If the corners sharpen while the center goes soft, field curvature is present, and it cannot be fixed in post-processing.
- Compare a horizontal edge to a vertical edge off-axis. If one is sharp and the other blurred at the same field position, astigmatism is the cause. Sagittal/tangential MTF curves confirm it.
- Look for color fringing on high-contrast edges. On a color sensor, examine a black-to-white edge at 80-100% field height. Fringing indicates lateral chromatic aberration; narrowband illumination suppresses both axial and lateral chromatic aberration to near zero (limited only by residual LED bandwidth).
- Stop down two f-stops (C-mount only) and re-image. Improved corners point to spherical aberration, astigmatism, or a field-curvature tolerance effect. No improvement suggests field curvature that depth of field cannot mask.
- Verify the lens image circle covers the full sensor diagonal. An undersized image circle causes vignetting and forces use of the lens periphery, where every aberration is worst. See sensor size and lens compatibility.
- Get MTF data at multiple field positions. A single center-resolution number cannot reveal field curvature, astigmatism, or chromatic aberration. Through-focus MTF at 0%, 70%, and 100% field height will.
- Check illumination wavelength. Broadband white light maximizes chromatic effects. Narrowband LED illumination (850nm, 525nm, 450nm) reduces them to near zero, often without changing the lens at all.
- Rule out mechanical causes before blaming optics. Sensor tilt produces asymmetric one-sided softness, not the symmetric corner pattern of field curvature. Dust or contamination reduces contrast uniformly across the field rather than in the radial pattern aberrations produce. Confirming the pattern is symmetric and field-position-dependent, not one-sided, rules out a mechanical assembly issue before you start swapping lenses.
- Repeat the test across a temperature range if the deployment sees one. Focus position and residual aberration balance can drift with housing and glass temperature. If the same lens looks fine on a bench at 21°C but shows more field curvature or a focus shift after time in a hot enclosure or a cold dock environment, that points to thermal defocus or a materials mismatch inside the lens, not a design defect that would show up at room temperature testing alone. This is a separate check from any ingress or washdown rating the housing carries, since a sealing rating says nothing about how the glass and mount behave as temperature changes.
Specifying aberration tolerances in a purchase order
Most machine vision purchase orders specify focal length, mount, resolution, and F/#, then stop. That is enough to select a lens family but not enough to guarantee the corner and off-axis performance a given application needs. A more complete specification adds explicit aberration and measurement requirements, so the vendor and the buyer agree in writing on what "meets spec" means before parts ship.
A useful aberration specification names four things. First, the field positions at which performance is required: center, 70% field height, and 100% field height are the common set, since these bracket where barcodes, labels, and part edges typically sit. Second, the metric at each position: MTF at a stated spatial frequency (for example, 100 lp/mm) is more useful than a single resolution number, because it ties the requirement to the sensor's actual pixel pitch. Third, the aperture and working distance the measurement is taken at, since spherical aberration changes with aperture, and both the field-curvature impact and the aberration balance change with working distance, and a spec measured at F/5.6 and infinity conjugate does not guarantee performance at F/1.8 and 300mm. Fourth, the illumination wavelength or band, because axial chromatic aberration shifts the whole picture when a system moves between visible and NIR illumination.
Distortion, chromatic aberration, field curvature, and astigmatism each deserve their own tolerance line rather than a single blanket "image quality" requirement. A lens can meet a distortion spec of ±1% and still have a field curvature problem that a distortion number cannot reveal, and the reverse is equally possible. Separating the tolerances also clarifies which failures are correctable after the fact and which are not: a distortion out-of-spec condition can sometimes be handled with recalibration, while a field curvature or astigmatism failure usually means a different lens design or a different aperture setting.
For programs at meaningful volume, requesting a measured test report per batch, rather than a datasheet reference alone, is the reliable way to hold a vendor to the agreed tolerances. A Trioptics-style bench report tied to a specific lot or serial range gives a paper trail if a later batch drifts, and it turns a subjective "the corners look soft" complaint into a quantified MTF comparison against the original qualification data.
Frequently asked questions
What are lens aberrations in machine vision?
Lens aberrations are deviations from ideal image formation caused by the physics of light refracting through real glass or plastic lens elements. In machine vision they produce specific, repeatable defects: soft corners, orientation-dependent blur, color fringing, or center-to-edge sharpness mismatch. Aberrations follow predictable patterns based on field position, wavelength, and aperture, not random noise.
What is the difference between lens distortion and lens aberration?
Distortion is one specific aberration that changes image geometry without reducing sharpness. Field curvature, astigmatism, spherical aberration, and chromatic aberration reduce contrast and sharpness instead. A lens can pass its distortion specification and still fail a barcode or inspection task because of uncorrected field curvature or chromatic aberration.
What is chromatic aberration in a lens?
Chromatic aberration is an optical error caused by the wavelength-dependent refractive index of glass. A lens bends short wavelengths more than long wavelengths, so colors focus at different distances (axial) and different magnifications (lateral). The result is wavelength-dependent focus shift, color fringing at high-contrast edges, and calibration drift in systems that switch between visible and NIR illumination.
What is spherical aberration in a lens?
Spherical aberration is an optical defect where rays passing through different radial zones of a spherical lens surface converge at different points along the optical axis. Marginal rays near the edge focus closer to the lens than paraxial rays near the center. No single focal plane captures all rays sharply, producing a soft or low-contrast image even at nominal best focus.
What is field curvature in a lens?
Field curvature is a lens aberration where the surface of best focus is curved rather than flat. On a flat sensor viewing a flat target, this means the center can be sharp while the corners are soft, or vice versa, even when the system is otherwise correctly focused. It is sometimes called Petzval field curvature after Josef Petzval, who first analyzed the effect.
What is an aspherical lens?
An aspherical lens uses one or more optical surfaces whose curvature varies with radius, rather than holding a constant spherical radius. This lets a designer steer marginal and paraxial rays toward a common focal point, reducing spherical aberration with fewer elements than an all-spherical design would need. It is a design tool, not a guarantee against every aberration; it does not automatically fix distortion, chromatic aberration, or field curvature.
What does astigmatism look like in a machine vision image?
Astigmatism causes horizontal and vertical edges near the image periphery to focus at different depths. A line running one direction appears sharp while a perpendicular line at the same field position appears blurred. Sagittal and tangential MTF curves that diverge at mid or high spatial frequencies are the measurement signature. Text, barcode bars, and dimensional edges near image corners are most sensitive to it.
Does stopping down fix field curvature or chromatic aberration?
Stopping down increases depth of field, which can mask field curvature by extending the sharp zone enough to tolerate the curved focal surface, but it does not flatten that surface. Stopping down reduces visible longitudinal chromatic blur but has no effect on lateral chromatic aberration, which is a magnification error independent of aperture.
Can software fix lens aberrations?
Software corrects geometric distortion well because the pixel data is present, just mispositioned. It cannot reliably restore contrast lost to field curvature, astigmatism, spherical aberration, or axial chromatic aberration: fine-detail contrast is strongly attenuated, and where the lens MTF has fallen to zero that information is gone entirely. Deconvolution can partially recover attenuated detail but is rarely practical in production. Lateral chromatic aberration can be partially reduced with per-channel calibration, but production machine vision should fix blur-causing aberrations at the lens or illumination level.
Why can a lens be sharp in the center and soft at the edges?
Center-to-edge sharpness mismatch is typically caused by field curvature and astigmatism, both of which grow with field angle and are near zero at the image center. A lens can post excellent center MTF and still fail at 80 to 100% field height, which is exactly where barcodes, labels, and part edges often sit. Specifying a lens by center resolution alone misses this.
How is spherical aberration different from field curvature?
Spherical aberration affects the axial focus of all pupil zones regardless of field angle, so it can degrade the on-axis center of the image. Field curvature is a field-position effect: the best-focus surface is curved, so sharpness varies with distance from the optical axis rather than with aperture zone. On-axis softness at full aperture points to spherical aberration; edge softness that persists at moderate apertures and is symmetric about the axis points to field curvature.
Is chromatic aberration the same as distortion?
No. Chromatic aberration is a dispersion problem: different wavelengths are focused or magnified differently, causing color fringing and focus shift. Distortion is a geometric error: image magnification varies with field angle, causing straight lines to bow, without affecting sharpness. A lens can have very low distortion and significant chromatic aberration, or the reverse.
Need help selecting a lens for aberration-sensitive imaging?
Commonlands manufactures M12 and C-mount lenses for machine vision and offers MTF test reports measured on a Trioptics ImageMaster HR2 system. Send our San Diego engineering team your sensor model, working distance, and inspection requirement at engineering@commonlands.com. Orders placed before 12 PM PST ship same day.