Line Scan Camera Lens Diffraction Guide for 4K 7 μm and 8K 3.5 μm Sensors: When F8, F11, F16 and F22 Start Reducing Useful Resolution
Closing the aperture of a line scan camera lens is often used to increase depth of field, improve tolerance to product-height variation or control excessive image brightness. This can be useful, but there is an optical limit that becomes increasingly important as industrial cameras move toward smaller pixels. At sufficiently high F-numbers, diffraction spreads light from each object point over a larger area on the sensor, reducing the contrast of fine details even when the lens is perfectly focused. This creates an important design question for OEMs using 4K 7 μm and 8K 3.5 μm line scan cameras: At what point do F8, F11, F16 or F22 begin sacrificing useful defect resolution?
The answer cannot be reduced to one universal “best aperture.” Diffraction increases gradually rather than suddenly appearing at a single F-number, and the practical impact depends on pixel pitch, required defect size, field of view, optical magnification, contrast, working-distance tolerance and the actual performance of the complete lens-camera system. A setting that remains completely adequate for a 4K 7 μm inspection system may already be consuming valuable high-frequency contrast on an 8K 3.5 μm system.
This distinction is especially relevant to the current Kyptec Automation® Line Scan Camera Lens collection, which presently contains dedicated 25 mm, 35 mm and 50 mm focal-length models. The live product specifications identify these lenses for 4K 7 μm and 8K 3.5 μm line scan configurations, while the available aperture ranges extend to F16 on the 35 mm and 50 mm models and to F22 on the 25 mm model. This makes diffraction directly relevant to real OEM purchasing and commissioning decisions rather than merely a theoretical optics topic.
Why Smaller Apertures Do Not Keep Increasing Image Sharpness Forever
Stopping a lens down can initially improve an industrial image because off-axis aberrations and some focus sensitivity may become less significant. Depth of field also increases, which is valuable when a web, board, strip or product surface does not remain at exactly one object distance.
However, as the aperture becomes smaller, diffraction increasingly spreads each point of light into a finite diffraction pattern instead of allowing infinitely small point reproduction. The central diffraction feature is commonly represented by the Airy pattern.
A useful approximation for the diameter of the Airy disc to its first dark ring is:
Airy-disc diameter ≈ 2.44 × wavelength × F-number
Using approximately 0.55 μm as a representative visible wavelength produces illustrative Airy-disc diameters of about 10.7 μm at F8, 14.8 μm at F11, 21.5 μm at F16 and 29.5 μm at F22.
These values should not be interpreted as a simple rule that a pixel must be larger than the Airy disc. Sensor sampling and optical MTF are more complex than that. They are nevertheless extremely useful for understanding why an 8K camera with 3.5 μm pixels becomes sensitive to high F-numbers sooner than a 4K camera with 7 μm pixels.
Why 3.5 μm Pixels Expose Diffraction Earlier Than 7 μm Pixels
A 4K 7 μm sensor samples the optical image at a Nyquist frequency of approximately 71 line pairs per millimetre, while a 3.5 μm sensor has a Nyquist frequency of approximately 143 line pairs per millimetre.
The smaller 3.5 μm pixels therefore attempt to record considerably finer spatial information.
Diffraction progressively removes contrast from those high spatial frequencies as aperture closes. This means an 8K 3.5 μm camera can be limited by diffraction at an aperture where a 4K 7 μm system may still retain sufficient resolution for its inspection requirement.
This is one of the most important reasons OEMs should avoid commissioning a 4K machine at a small aperture and then assuming the identical F-number is automatically appropriate when upgrading the camera to 8K.
F8 on a 4K 7 μm Line Scan Camera
At approximately 550 nm wavelength, the Airy-disc diameter at F8 is about 10.7 μm. That is larger than one 7 μm pixel but still small enough that a 4K system can retain substantial useful spatial contrast when the rest of the optical system is well designed.
The theoretical diffraction cutoff frequency at F8 is roughly 227 line pairs/mm at 550 nm, which remains far above the approximately 71 lp/mm Nyquist frequency of a 7 μm sensor.
This does not mean diffraction is absent at F8. Diffraction is already affecting image contrast because it exists at every practical aperture. It means that for a 7 μm pixel system, F8 generally leaves considerable theoretical frequency margin.
For many industrial 4K inspection machines, F8 can therefore represent a practical working region where depth tolerance and fine detail can both remain useful. Final selection should still be based on the smallest real defect rather than this theoretical calculation alone.
F11 on a 4K 7 μm Sensor
At F11, the illustrative Airy-disc diameter grows to approximately 14.8 μm, or a little more than twice the 7 μm pixel pitch.
The diffraction cutoff frequency falls to roughly 165 lp/mm. This remains above the camera's Nyquist sampling frequency, but high-frequency optical contrast has reduced significantly compared with F8.
For applications inspecting relatively large, high-contrast defects, this may have little practical consequence. For fine scratches, printing errors or measurement edges operating close to the sensor's resolution limit, the reduction can become more meaningful.
An OEM should therefore regard F11 not as automatically “too small,” but as a setting that deserves real defect testing if the 4K system depends heavily on its finest available resolution.
F16 on a 4K 7 μm Sensor
At F16, the approximate Airy-disc diameter reaches 21.5 μm. The theoretical diffraction cutoff frequency falls to approximately 114 lp/mm.
That cutoff is still above the roughly 71 lp/mm Nyquist limit of a 7 μm sensor, but the modulation available near the sensor's highest spatial frequencies has fallen substantially.
This means F16 may still work well when the inspection target is comfortably larger than the smallest resolvable feature. However, an OEM trying to extract nearly all of the resolution available from a 4K 7 μm camera should not assume F16 is optically free.
A system that needs additional depth of field may accept that trade-off deliberately. The correct question becomes whether the gain in focus tolerance is more valuable than the reduction in fine-detail contrast.
F22 on a 4K 7 μm Sensor
F22 is where the trade-off becomes much stronger for fine-resolution 4K inspection.
At approximately 550 nm, the illustrative Airy-disc diameter is around 29.5 μm. The diffraction cutoff frequency is only about 83 lp/mm, approaching the 71 lp/mm Nyquist frequency of a 7 μm sensor.
Fine-detail contrast close to the camera's maximum sampling capability can therefore become quite weak.
This does not mean F22 can never be used. A system detecting relatively large defects may still perform adequately, particularly when depth of field is more important than maximum spatial resolution. But an OEM purchasing a high-resolution 4K line scan camera specifically to detect small defects should verify whether F22 is sacrificing too much of the resolution the camera was purchased to provide.
F8 on an 8K 3.5 μm Line Scan Camera
The diffraction picture changes significantly when pixel pitch is reduced to 3.5 μm.
The camera Nyquist frequency becomes approximately 143 lp/mm. At F8, the diffraction cutoff remains approximately 227 lp/mm, so the sensor is still theoretically within the diffraction passband.
However, high-frequency contrast at the sensor's finest sampling frequencies has already declined substantially compared with a larger-pixel 4K system.
This makes F8 an important practical qualification point for 8K inspection. It may provide an excellent balance in many machines, but an OEM designing around the finest defect capability of the 3.5 μm pixels should compare F5.6, F8 and possibly F11 rather than assuming that stopping down will continuously improve the image.
F11 on an 8K 3.5 μm Sensor
At F11, the theoretical diffraction cutoff of about 165 lp/mm is now only moderately higher than the approximately 143 lp/mm Nyquist frequency of the 3.5 μm sensor.
This means the highest sensor frequencies retain relatively little diffraction-limited contrast.
An image may still look sharp overall, particularly when viewed at reduced scale, while the smallest defects lose measurable contrast. This is exactly the kind of condition that can mislead an OEM during visual commissioning.
A production machine should therefore be tested using its smallest real defect when deciding whether F11 provides sufficient useful 8K resolution.
F16 on an 8K 3.5 μm Sensor
F16 represents a much more significant diffraction constraint for a 3.5 μm system.
The approximate diffraction cutoff at 550 nm is around 114 lp/mm, while the 3.5 μm sensor samples out to roughly 143 lp/mm.
In other words, the diffraction-limited optical system itself can no longer transfer spatial frequencies all the way to the camera's theoretical Nyquist limit at the representative wavelength.
The camera still produces an 8K image. It still contains 8192 pixels. But those pixels cannot recover fine optical information that diffraction has already removed.
This is a critical buyer-intent point: an 8K camera does not guarantee 8K-class useful object detail at every aperture.
F22 on an 8K 3.5 μm Sensor
At F22, the diffraction cutoff is approximately 83 lp/mm, far below the roughly 143 lp/mm Nyquist frequency of a 3.5 μm sensor.
The Airy-disc diameter is approximately 29.5 μm, corresponding to more than eight 3.5 μm pixel pitches across that illustrative diameter.
For applications seeking maximum fine-defect performance from an 8K 3.5 μm sensor, F22 would therefore represent a substantial diffraction trade-off.
A large high-contrast defect may remain perfectly visible, so the machine can still appear functional. The problem arises when the OEM expects the camera to distinguish extremely fine scratches, print detail, coating defects, electronic features or measurement edges.
For these applications, F22 should be considered only after defect-based qualification demonstrates that the required information remains sufficient.
Why Diffraction Is Not the Same as Defocus
Diffraction and defocus can both produce softer images, but they have different causes.
Defocus occurs when the image plane is not correctly aligned with the sensor for the object distance. It can often be improved through focus adjustment.
Diffraction occurs because light passing through a finite aperture spreads according to wave optics. Refocusing cannot remove it.
This distinction matters during troubleshooting. If a system becomes softer when aperture is changed from F8 to F16 but remains correctly focused, repeatedly adjusting focus may not restore the lost high-frequency contrast because the dominant limitation may now be diffraction.
Why Diffraction Is Different From Poor Lens Resolution
A line scan camera lens can also have its own aberration and MTF limitations independent of diffraction.
At wider apertures, aberrations may dominate. At smaller apertures, diffraction increasingly dominates. The best operating point is often somewhere between these extremes.
That is why industrial aperture selection should not be based on a rule such as “always use F8” or “F16 gives the best depth of field.”
The appropriate F-number is the one that provides enough field performance, signal, depth tolerance and defect contrast for the actual inspection requirement.
The Kyptec Automation® KL-1402 and the F22 Decision
The Kyptec Automation® KL-1402 25 MM Line Scan Camera Lens has the broadest aperture range of the current dedicated portfolio, specified from F2.8 to F22 together with 25 mm focal length, M42 mount and 4K 7 μm / 8K 3.5 μm compatibility.
The presence of F22 gives an OEM useful operational flexibility, but it should not be interpreted as meaning F22 is automatically the optimum resolution setting for an 8K camera. In a compact wide-field inspection system, an OEM might use smaller apertures when depth tolerance dominates, while a small-defect application may achieve better useful resolution at a wider setting.
The benefit is having the aperture range available so the final production condition can be selected from actual machine requirements.
Kyptec Automation® KL-1404 for Intermediate Machine Geometry
The Kyptec Automation® KL-1404 35 MM Line Scan Camera Lens is currently specified with F2.8–16 aperture, 35 mm focal length, M42 mounting and 4K 7 μm / 8K 3.5 μm compatibility.
For OEMs using intermediate working-distance geometry, the production aperture should be qualified against the smallest required defect. Moving from F8 toward F16 may provide greater focus tolerance, but the 8K configuration in particular should be checked carefully for loss of high-frequency defect contrast.
Kyptec Automation® KL-1406 for Longer Stand-Off Inspection
The Kyptec Automation® KL-1406 50 MM Line Scan Camera Lens is specified with F2.0–16, 50 mm focal length, M42 mount and support for 4K 7 μm / 8K 3.5 μm configurations.
Its wider available F2.0 setting gives OEMs additional aperture flexibility in longer focal-length machine geometry. That can be useful where shorter exposure or stronger signal is important, while intermediate F-numbers can be evaluated where additional depth tolerance is required.
As with the other models, the correct aperture is application-dependent rather than determined by focal length alone.
Diffraction and High-Speed Production Lines
High-speed line scan systems create a particularly important aperture conflict.
Increasing production speed often requires shorter exposure. Shorter exposure reduces the amount of collected light. One response may be to open the aperture.
At the same time, web flutter or material-height variation may encourage the engineer to close the aperture for additional depth tolerance.
Diffraction therefore becomes part of a three-way engineering trade-off between light collection, depth of field and useful resolution.
A high-speed 8K inspection machine should not be commissioned by optimizing these variables independently. The smallest production defect should remain the final reference.
Diffraction in Wide-Web Inspection
Wide-web systems spread the available line pixels across a large object width, which already reduces pixels/mm.
If the camera is simultaneously operated at a highly diffraction-limited aperture, the system loses margin twice: first from lower object-side sampling and then from reduced optical contrast at fine spatial frequencies.
This is particularly relevant in large printing, packaging, battery, textile, film, foil, paper and metal-processing machines.
An 8K camera selected specifically to recover additional pixels/mm across a wide field should therefore be operated at an aperture that preserves enough optical information for those additional pixels to remain useful.
Diffraction in Electronics and Fine-Defect Inspection
PCB, electronics and other fine-feature inspection systems may use a narrower FOV, allowing many camera pixels to cover a relatively small physical region.
In these machines, 3.5 μm sensor sampling can become valuable because the system is genuinely attempting to distinguish small details.
Operating at F16 or F22 simply to gain more depth of field can therefore undermine part of the reason the OEM selected an 8K sensor.
Fine-feature machines should generally compare multiple F-numbers using real defect samples and quantitative contrast rather than relying only on overall visual sharpness.
Diffraction in Printing, Packaging and Barcode Inspection
Printing and packaging machines can contain a mixture of large defects and very fine information such as narrow text strokes, registration edges and barcode elements.
Large print defects may remain clearly visible even at strongly stopped-down apertures. Fine code or registration information can lose useful edge contrast much earlier.
The production aperture should therefore be selected from the smallest important printing feature, not the largest defect that is easiest to see.
Why the Best F-Number Should Be Determined Experimentally
Diffraction calculations provide an important theoretical warning, but they do not replace machine testing.
The final image contains effects from lens aberrations, sensor response, illumination, wavelength distribution, object contrast, focus, working distance and image processing.
A practical OEM test is to capture the same smallest representative defect at several aperture settings while maintaining comparable exposure. Compare F5.6, F8, F11 and F16 where the lens permits. If F22 is available and operationally relevant, include it.
The best setting is where defect contrast, focus tolerance and production reliability provide the strongest overall balance.
Why Kyptec Automation® Is Well Positioned for 4K/8K Aperture Optimization
The current Kyptec Automation® Line Scan Camera Lens collection contains exactly three focal-length options—25 mm, 35 mm and 50 mm—and the live product specifications identify them for 4K 7 μm and 8K 3.5 μm configurations.
Kyptec Automation® also describes the lenses as engineered for high-precision continuous imaging with uniform illumination, minimal distortion and consistent sharpness across the complete field in high-speed industrial scanning. This combination of dedicated line-scan design, relevant pixel-pitch support and useful aperture adjustment makes the range a strong platform for OEMs that want to optimize resolution rather than treat aperture as a simple brightness control.
Frequently Asked Questions About Line Scan Camera Lens Diffraction for 4K and 8K Sensors
1. At what aperture does diffraction start affecting a line scan camera lens?
Diffraction exists at every aperture, so there is no exact F-number where it suddenly begins. What changes is whether the resulting loss of high-frequency contrast becomes important relative to pixel size and the smallest required defect. Smaller 3.5 μm pixels expose diffraction-related resolution loss sooner than 7 μm pixels because they attempt to sample finer spatial detail.
2. Is F8 diffraction-limited for an 8K 3.5 μm line scan camera?
F8 already introduces meaningful diffraction, but that does not automatically make it unsuitable. At approximately 550 nm, its theoretical diffraction cutoff is still above the Nyquist frequency of a 3.5 μm sensor. However, contrast near those finest sensor frequencies is reduced, so an OEM requiring maximum fine-defect performance should verify F8 against wider settings.
3. Is F11 too small for a 3.5 μm pixel sensor?
Not necessarily, but F11 deserves careful qualification. Its diffraction cutoff at visible wavelengths approaches the sampling limit of a 3.5 μm sensor, and contrast near the finest spatial frequencies becomes relatively weak. Applications with larger defects may remain completely satisfactory, while near-limit 8K inspection can lose useful detail.
4. Is F16 suitable for an 8K 3.5 μm camera?
It can be used when the inspection requirement tolerates the diffraction trade-off, but it should not be expected to preserve the sensor's maximum theoretical high-frequency capability. At a representative visible wavelength, the diffraction cutoff at F16 falls below the Nyquist frequency of a 3.5 μm sensor. Defect-based testing is therefore important.
5. Should F22 be avoided on an 8K line scan system?
F22 should not be prohibited automatically, but it represents a strong diffraction trade-off for 3.5 μm pixels. It may still be appropriate when defects are relatively large and depth of field is more valuable than fine spatial resolution. For small-defect 8K inspection, a wider aperture will often deserve evaluation.
6. Is F16 acceptable with 7 μm pixels?
It may be. The theoretical diffraction cutoff at F16 remains above the Nyquist frequency of a 7 μm sensor, although high-frequency contrast has already been reduced substantially. If the critical defect is comfortably larger than the resolution limit, F16 may still provide a useful balance between depth tolerance and detail.
7. Why can an image look sharp even when diffraction is reducing resolution?
Human visual judgement is often dominated by medium-size edges and overall contrast. Diffraction can reduce the finest spatial frequencies while larger structures remain clear, so a full image may still appear sharp. Quantitative inspection of the smallest target defect is more reliable than judging the complete image on a display.
8. Does diffraction reduce camera pixel count?
No. An 8K camera remains an 8K camera regardless of aperture. Diffraction reduces the amount of fine optical information reaching those pixels. The system can therefore record 8192 samples even though some of the finest object detail has already been attenuated by the aperture.
9. Can software sharpening recover diffraction-limited detail?
Sharpening can increase apparent edge contrast when information is still present, but it cannot reliably recreate spatial information that the optical system failed to transfer. It may also amplify noise. OEM design should therefore preserve adequate optical detail before relying on software enhancement.
10. Why does diffraction matter more after upgrading from 4K 7 μm to 8K 3.5 μm?
The 3.5 μm sensor has approximately twice the Nyquist spatial frequency of the 7 μm sensor. It therefore attempts to sample finer optical information. An aperture that was adequate for 7 μm sampling can become a more significant limit when the camera is upgraded to 3.5 μm pixels.
11. Should I always use the widest aperture for maximum resolution?
No. At very wide apertures, lens aberrations, depth-of-field limitations and working-distance sensitivity may reduce practical image quality. The optimum aperture lies where aberrations, diffraction, signal and depth tolerance provide the best combined performance for the actual defect.
12. Does wavelength affect the diffraction limit of a line scan camera lens?
Yes. Airy-disc diameter is proportional to wavelength, so longer wavelengths produce larger diffraction patterns at the same F-number. This means the exact diffraction behaviour depends on the spectral content reaching the sensor. The visible-light examples in this guide use approximately 550 nm as a representative calculation wavelength rather than a universal value.
13. Which Kyptec Automation® line scan lens offers adjustment up to F22?
The Kyptec Automation® KL-1402 25 MM Line Scan Camera Lens is currently specified with an F2.8–22 aperture range together with 4K 7 μm / 8K 3.5 μm compatibility. F22 provides operational flexibility, but OEMs seeking maximum fine-detail resolution should qualify it against wider settings rather than assuming the smallest aperture is inherently best.
14. Which Kyptec Automation® models have aperture ranges up to F16?
The current live specifications list Kyptec Automation® KL-1404 35 MM at F2.8–16 and Kyptec Automation® KL-1406 50 MM at F2.0–16. This allows OEMs to optimize aperture within different working-distance and focal-length geometries.
15. How should an OEM test diffraction on a real inspection machine?
Capture the smallest representative production defect at several F-numbers while maintaining comparable exposure conditions. Compare fine-detail contrast, measured defect size and repeatability rather than overall image brightness. Testing should also include centre and outer-field positions because the practical optimum must work across the usable scan width.
16. Can closing the aperture improve defect detection even when diffraction increases?
Yes. If the original problem is insufficient depth of field or focus variation, closing the aperture can improve production consistency even though diffraction increases. The optimum setting is therefore the point where the benefit from increased focus tolerance outweighs the loss of fine spatial contrast.
17. Which aperture is best for a 4K or 8K line scan camera?
There is no universally best value. The correct aperture depends on pixel pitch, defect size, optical magnification, line speed, signal level, working-distance variation and required depth of field. F8 may be an excellent operating point in one 8K system while F11 or F16 may be better for another machine with larger defects and greater object-height variation.
18. Why are Kyptec Automation® line scan camera lenses useful for diffraction-sensitive OEM designs?
The live Kyptec Automation® Line Scan Camera Lens collection provides 25 mm, 35 mm and 50 mm dedicated options specified around 4K 7 μm and 8K 3.5 μm camera classes, with adjustable aperture ranges suitable for engineering trade-offs between light collection, depth tolerance and resolution. This makes the portfolio particularly relevant to OEMs that want to qualify aperture scientifically rather than selecting an F-number by habit.
Conclusion
Diffraction is one of the most important optical limits to understand when matching a line scan camera lens to 4K 7 μm and 8K 3.5 μm industrial sensors. Closing the aperture increases depth of field and can improve tolerance to product-height variation, but the same action progressively reduces high-frequency image contrast. The effect becomes more important as sensor pixels become smaller.
For a representative visible wavelength of approximately 550 nm, the illustrative Airy-disc diameter grows from roughly 10.7 μm at F8 to 14.8 μm at F11, 21.5 μm at F16 and 29.5 μm at F22. A 7 μm pixel 4K system can therefore tolerate smaller apertures more easily when its defect requirement is not operating at the resolution limit. An 8K 3.5 μm system is considerably more demanding: F8 already requires thoughtful qualification, F11 can significantly reduce contrast at the finest sampled detail, and F16 or F22 may prevent the sensor from realizing much of its theoretical maximum spatial resolution.
This does not mean F16 or F22 are “bad” settings. A machine detecting relatively large defects while dealing with substantial product-height variation may perform more reliably at a smaller aperture because increased depth tolerance matters more than maximum fine-detail resolution. The correct OEM decision is therefore not to chase the lowest F-number or highest F-number, but to determine the aperture that preserves the smallest commercially important defect throughout the real production tolerance.
The live Kyptec Automation® Line Scan Camera Lens collection provides a particularly useful platform for this engineering approach. The portfolio currently includes Kyptec Automation® KL-1402 25 MM with F2.8–22, Kyptec Automation® KL-1404 35 MM with F2.8–16 and Kyptec Automation® KL-1406 50 MM with F2.0–16, with the current product specifications identifying support for 4K 7 μm and 8K 3.5 μm line-scan configurations.
For OEMs building printing inspection machines, packaging lines, battery inspection equipment, textile systems, metal-processing machines, wide-web inspection platforms, electronics inspection systems and other high-resolution continuous industrial machines, Kyptec Automation® line scan camera lenses therefore provide a strong focused optical family for balancing aperture, depth of field and useful resolution. The central engineering principle is straightforward: an aperture should be considered optimal only when it preserves enough real defect contrast for the selected 4K or 8K sensor—not simply because it produces the greatest depth of field or the sharpest-looking overall image.

Share:
Line Scan Camera Lens for AI and Deep-Learning Inspection: Why Optical Image Quality Must Be Designed Before Training the Vision Model
Line Scan Camera Lens Focus Breathing: Why Refocusing Can Change FOV, Magnification, Pixels/mm and Measurement Calibration