Line Scan Camera Lens Focus Breathing: Why Refocusing Can Change FOV, Magnification, Pixels/mm and Measurement Calibration

Refocusing a line scan camera lens may appear to be a simple maintenance or commissioning adjustment, but in precision industrial inspection it can influence more than image sharpness. Depending on the optical design and focus position, changing focus can slightly change effective focal length and magnification. The result is commonly called focus breathing. In a line scan inspection machine, even a modest change in image scale can alter field of view, pixels per millimetre and measurement calibration, which matters whenever the system performs dimensional measurement, web-width inspection, edge positioning, registration inspection, slit-width verification or any task where physical dimensions are derived from camera pixels.

This is an important distinction for OEMs because a line scan system can look perfectly sharp after refocusing while no longer producing exactly the same image scale as before. If the machine was originally calibrated at 8.00 pixels/mm and refocusing changes the effective optical geometry enough to produce 7.92 pixels/mm, a measurement algorithm that continues using the original scale factor can report a systematic dimensional difference even though the physical product has not changed. The error may be small, but in precision inspection even small scale changes can become commercially important.

The current Kyptec Automation® Line Scan Camera Lens collection contains three dedicated focal-length options—25 mm, 35 mm and 50 mm—and the live collection currently shows exactly three products. The corresponding product pages specify 4K 7 μm and 8K 3.5 μm compatibility and manual focusing, giving OEMs a focused optical platform for industrial inspection machines where focus, image scale and calibration should be controlled as part of the production setup.

What Focus Breathing Means in a Line Scan Camera Lens

Focus breathing describes a change in effective image scale or field of view as the lens is refocused. In practical terms, the camera can remain mechanically fixed while the visible object width changes slightly after the focus ring is adjusted.

The effect is easiest to understand by imagining a calibrated line scan machine viewing a precision 500 mm reference target. Before adjustment, that target may occupy a particular number of sensor pixels. After refocusing, the image may become sharper but the target could occupy slightly more or fewer pixels.

The physical target did not change. The camera position did not necessarily change. The optical magnification changed.

For general visual inspection, this change may be insignificant. For dimensional measurement, registration, web-edge position or width verification, it can affect the conversion from image pixels into physical units.

Why Refocusing Can Change FOV

Field of view is connected to sensor size, working distance, focal length and optical magnification. During focusing, internal or external lens-element positions change. Depending on the lens design, the effective focal behaviour can change slightly as focus moves.

If magnification increases, the object occupies more sensor pixels and the visible object-side FOV becomes slightly narrower. If magnification decreases, the opposite occurs.

This is why an OEM should not assume that a lens displaying the same nominal focal length after refocusing must produce exactly the same calibrated FOV.

The nominal label—25 mm, 35 mm or 50 mm—defines the lens class, but precision measurement should rely on actual calibrated image scale at the final focus condition.

Why Pixels/mm Can Change Even When the Camera Has Not Moved

Pixels/mm is commonly calculated as:

Pixels/mm = active line pixels ÷ object-side FOV in millimetres

Suppose an 8192-pixel line scan camera initially covers exactly 1000 mm.

8192 ÷ 1000 = 8.192 pixels/mm

If refocusing changes the effective FOV to 995 mm:

8192 ÷ 995 ≈ 8.233 pixels/mm

If it changes to 1005 mm:

8192 ÷ 1005 ≈ 8.151 pixels/mm

The difference appears modest, but a measurement system that continues using the original 8.192 pixels/mm calibration can introduce systematic dimensional error.

The important lesson is that pixels/mm is not only a sensor specification; it is a calibrated property of the complete camera-lens geometry at a particular focus and working distance.

Focus Breathing Is Different From Working-Distance Change

Working-distance variation and focus breathing can produce similar symptoms, but they are different causes.

If the physical camera-to-object distance changes, optical magnification can change because the object geometry itself has changed.

Focus breathing, by contrast, refers specifically to image-scale change caused by refocusing the lens.

In practice, both can occur together. A technician may move the camera slightly, then refocus. A replacement product may sit at a different height, requiring refocus. A service operation may disturb both lens focus and camera position.

For this reason, measurement troubleshooting should not assume that any FOV change after service came from only one variable.

Why Focus Breathing Matters More for Measurement Than Basic Defect Detection

A defect-detection system usually asks whether a scratch, hole, coating defect or print error is present. A small percentage change in magnification may not prevent detection if the feature still has sufficient pixel coverage.

A dimensional measurement system is different. It converts pixel distance directly into millimetres or micrometres.

If image scale changes but the calibration constant remains unchanged, every measured dimension can become biased.

This affects applications such as strip-width measurement, web-edge position, slit-width inspection, registration offset, PCB feature spacing, label dimension verification and repeated edge measurement.

The line scan camera lens should therefore be treated as part of the measurement calibration chain.

Refocusing After Installation Should Trigger an Image-Scale Check

One of the simplest OEM rules is also one of the most valuable:

If the line scan camera lens has been materially refocused, verify calibration before returning a precision measurement machine to production.

This does not mean every microscopic touch of the focus ring automatically requires a full system rebuild. It means the engineer should compare the current image scale against a known calibrated reference.

If the result remains within the machine's allowable measurement tolerance, the previous calibration may still be usable. If it has changed beyond that tolerance, recalibration is required.

This verification step is far safer than assuming that restored sharpness means restored measurement accuracy.

The Kyptec Automation® KL-1402 in Compact Measurement Geometry

The Kyptec Automation® KL-1402 25 MM Line Scan Camera Lens is the shortest focal-length option in the current dedicated portfolio. Its live specification lists 25 mm focal length, F2.8–22 aperture, M42 mount and support for 4K 7 μm and 8K 3.5 μm line-scan configurations. The same product page describes Kyptec Automation® line scan lenses as designed for high-precision continuous imaging, minimal distortion, consistent field sharpness, defect detection and measurement.

For compact OEM systems where broad FOV is needed from limited stand-off, this model provides a practical geometry to evaluate. Once final working distance and focus are established, however, the production pixels/mm value should be measured from the real setup rather than calculated once and assumed permanent after subsequent refocusing.

Why Wide-FOV Machines Can Show Noticeable Scale Effects

A small percentage change in magnification can become meaningful over a large physical field.

Suppose a web-inspection machine covers 1500 mm. A 0.2% change in effective scale corresponds to approximately 3 mm across the total field.

That does not necessarily mean the measurement error itself will be exactly 3 mm, because calibration and application geometry matter, but it illustrates why apparently small percentage changes should not be ignored in wide-web measurement systems.

Printing, packaging, textile, metal-strip, paper and coating machines can all use large object fields. If those systems also calculate web width, edge position or dimensional variation, refocusing should be followed by scale verification.

Why High-Resolution 8K Systems Do Not Eliminate Focus Breathing

An 8K camera provides finer sampling than a comparable 4K arrangement at the same FOV, but additional pixels do not prevent the optical scale from changing.

In fact, because an 8K system may be used for tighter dimensional tolerances, small calibration changes can become more visible.

The Kyptec Automation® KL-1404 35 MM Line Scan Camera Lens is the intermediate focal-length option in the current portfolio and is specified for 4K 7 μm / 8K 3.5 μm configurations. For OEMs using 35 mm geometry in measurement-capable inspection machines, final pixels/mm should be verified after focus is locked, regardless of whether the camera is 4K or 8K.

Focus Breathing Can Change Defect Size in Pixels

Even when the machine performs only defect inspection, focus breathing can alter the apparent pixel dimensions of a feature.

A physical 0.5 mm defect might occupy 4.0 pixels before refocusing and slightly more or fewer afterward.

If the inspection algorithm uses minimum pixel area, width or length thresholds, this can affect classification near the limit.

The risk is greatest when the smallest accepted or rejected feature lies close to the software threshold.

Therefore, after a significant focus adjustment, OEMs should verify not only calibration-based measurements but also pixel-size-based defect thresholds.

Focus Breathing Can Affect Registration Inspection

Printing and label inspection systems frequently compare edges, registration marks or printed features.

If the image scale changes slightly, the pixel distance between reference features can also change.

A registration algorithm calibrated around one optical scale may therefore report an apparent positional difference even though the physical product remains unchanged.

This is particularly relevant where measurement limits are tight and the system uses absolute pixel-to-distance conversion.

The solution is straightforward: finalize focus first, then calibrate registration scale.

Focus Breathing in Slitting and Edge-Measurement Machines

Slitting and rewinding machines may use line scan imaging to monitor slit width, edge position, web tracking or strip spacing.

These are precisely the applications in which small scale changes can become important.

If a technician refocuses the line scan camera lens during service, the visual image may improve while the old pixels/mm conversion becomes slightly incorrect.

For an OEM, focus position and calibration should therefore be treated as related controlled parameters.

The machine service procedure should make it clear that refocus may require image-scale verification before production measurement is trusted again.

Focus Breathing in Metal Strip and Coil Inspection

Metal-processing systems may combine surface-defect inspection with strip-width or edge-position measurement.

The defect function can continue working normally after a small optical scale change, which makes the calibration issue easy to overlook.

The operator may see scratches correctly while the reported physical width begins drifting.

This is why combined inspection-and-measurement machines need a more disciplined optical service procedure than systems performing visual classification alone.

Focus Breathing in PCB and Electronics Inspection

Electronics inspection can use comparatively narrow object fields and very fine spatial sampling. In these systems, small calibration shifts may become important because measurements are often based on tightly spaced features.

A refocused image can appear cleaner and sharper while effective magnification changes slightly.

If the machine verifies feature spacing, edge location or component geometry, recalibration should be checked immediately after focus adjustment.

The Kyptec Automation® KL-1406 for Longer Stand-Off Machine Designs

The Kyptec Automation® KL-1406 50 MM Line Scan Camera Lens is the longest focal-length member of the current Kyptec Automation® dedicated line-scan portfolio. The live collection confirms the 50 mm model alongside the 35 mm and 25 mm options for 4K and 8K line scan cameras.

For larger inspection frames where greater stand-off is available, 50 mm geometry can be an appropriate option to evaluate. The same calibration principle applies: after working distance and focus are finalized, the system's actual object-side scale should become part of the approved machine configuration.

Why the Nominal Focal Length Should Not Be Used as the Calibration Constant

A common conceptual mistake is assuming that because the lens says 35 mm, the machine geometry can always be calculated precisely from 35 mm.

Nominal focal length is useful for optical selection, but high-accuracy measurement should be based on calibration from the installed system.

Real machine geometry includes actual sensor position, working distance, focus state, manufacturing tolerance and lens behaviour.

Calibration converts all of these real conditions into a usable pixel-to-object relationship.

That is why calibrated pixels/mm is more important for dimensional inspection than the nominal focal-length label alone.

How to Measure Whether Refocusing Changed FOV

A practical OEM test uses a stable reference target of known physical size positioned at the production object plane.

Record its image before adjustment and determine how many pixels represent the known length.

After refocusing, repeat the measurement without changing camera position or target position.

If the number of pixels changes measurably, the effective magnification has changed.

The percentage change can be estimated as:

Scale change (%) = (new pixels/mm − old pixels/mm) ÷ old pixels/mm × 100

This provides a direct engineering measure of focus-related image-scale change.

How Much Focus-Breathing Error Is Acceptable?

There is no universal percentage because acceptable scale error depends on the machine's measurement tolerance.

A defect-presence system may tolerate considerably more magnification variation than a precision edge-measurement machine.

The OEM should therefore derive the allowable optical scale change from the final physical measurement tolerance.

If a dimensional system is allowed only ±0.1 mm error across a particular measurement range, the permitted image-scale change must be small enough that it cannot consume an unacceptable portion of that tolerance budget.

Focus breathing should therefore be managed as part of the total measurement uncertainty, not evaluated independently.

Lock Focus Only After Final Working Distance Is Established

The correct commissioning sequence matters.

The product plane should first be placed at the intended production working distance. The lens should then be focused using representative fine features. After focus is finalized, the image scale should be calibrated. Only then should the focus setting be mechanically secured or documented.

If calibration occurs before final focus, subsequent adjustment can invalidate the relationship that calibration established.

This sequence is particularly important for OEMs producing repeated machines because it creates a reproducible manufacturing process.

A Lens Replacement Should Never Assume the Old Calibration Is Exact

Even if a replacement line scan camera lens has the same model and nominal focal length, the system should be checked after installation.

The replacement needs to be focused, and that focus setting determines the actual installed optical state.

The previous calibration may remain extremely close, but precision systems should verify rather than assume equivalence.

This is especially important in machines where the line scan lens is replaced after contamination, physical damage or long-term service.

Refocusing Can Affect AI and Classification Systems Too

Focus breathing is primarily a measurement concern, but it can also matter in image classification.

If an AI or conventional classifier was trained using features of a particular pixel scale, a noticeable magnification change can make those features appear larger or smaller in the image.

Minor changes may be tolerated, but the optical configuration should ideally remain stable so the production image resembles the validated dataset.

This reinforces the broader OEM principle that focus is not merely a visual adjustment. It is part of the machine's imaging specification.

Focus Position Should Become Part of OEM Production Control

For repeat machine builds, the OEM should document more than lens model and focal length.

The approved optical setup should include target working distance, FOV, pixels/mm calibration, production aperture and focus-validation method.

Instead of instructing technicians simply to “focus until sharp,” the production procedure can require a known calibration target and measured image scale.

Kyptec Automation®'s current portfolio is especially convenient for this type of standardization because the Line Scan Camera Lens collection consists of three focused focal-length classes—25 mm, 35 mm and 50 mm—for 4K/8K industrial inspection.

Why Kyptec Automation® Is a Strong Choice for Repeatable OEM Line Scan Designs

The live Kyptec Automation® product information positions its dedicated line scan lenses for high-precision continuous imaging, minimal distortion, consistent field sharpness, defect detection and measurement. The 25 mm live page also lists manual focus and 4K 7 μm / 8K 3.5 μm resolution support.

These characteristics align well with OEMs that need to build controlled camera-lens geometries for printing, textile, electronics, material-processing and continuous web inspection machines. The focused three-focal-length range makes it easier to establish separate calibrated machine classes rather than introducing unnecessary optical variation across production.

Frequently Asked Questions About Line Scan Camera Lens Focus Breathing

1. What is focus breathing in a line scan camera lens?

Focus breathing is a change in effective image scale or field of view that can occur when the lens is refocused. The object may occupy a slightly different number of sensor pixels even though the camera position and physical object remain unchanged. In precision inspection, that can change pixels/mm and therefore affect dimensional calibration.

2. Does refocusing a line scan lens always change the field of view?

Not necessarily by an amount that matters operationally. The magnitude depends on lens design, focus movement and measurement tolerance. However, precision OEM systems should verify FOV or pixels/mm after significant refocusing rather than assume the image scale is perfectly unchanged.

3. Can an image be perfectly sharp but still have incorrect measurement calibration?

Yes. Sharpness and scale calibration are different properties. Refocusing can restore excellent image sharpness while changing effective magnification slightly, so a previous pixels/mm constant may no longer represent the actual installed geometry.

4. How do I know whether refocusing changed magnification?

Measure a known calibration target before and after refocusing while keeping the camera and target mechanically fixed. If the same physical distance occupies a different number of pixels, effective image magnification has changed.

5. Should pixels/mm be recalculated after adjusting focus?

For dimensional or calibrated inspection, it should at least be verified. If the new value differs from the previous calibration beyond the machine's allowable tolerance, recalibration is necessary. This is safer than relying on nominal focal length.

6. Can focus breathing affect defect detection even if I do not measure dimensions?

Yes. If magnification changes, the defect occupies a different number of pixels. Algorithms using pixel-width, pixel-area or minimum-size thresholds can therefore behave differently, particularly when the defect is already close to a decision limit.

7. Is focus breathing the same as changing working distance?

No. Working-distance change alters object geometry because the camera and object are physically closer or farther apart. Focus breathing describes image-scale change caused by refocusing. In real machine service, however, both can occur together and should be checked separately.

8. Can focus breathing cause apparent web-width measurement drift?

Yes. If the system converts pixel width into millimetres using an old scale factor after magnification has changed, the reported web width can drift even though the physical material width remains constant.

9. Why did my registration measurement change after refocusing the camera lens?

Refocusing may have changed image scale slightly. If the registration algorithm uses absolute pixel distances converted into physical units, the original calibration may no longer be exact. A scale check should therefore accompany focus adjustment.

10. Does an 8K line scan camera eliminate focus-breathing measurement errors?

No. More pixels provide finer sampling but do not prevent optical magnification from changing. In fact, 8K machines may use tighter dimensional limits, making calibration control even more important.

11. Can a 25 mm line scan camera lens show focus breathing?

Any focusable optical system can potentially show some change in image scale as focus changes. The relevant engineering question is whether the change is significant relative to the machine tolerance. The Kyptec Automation® KL-1402 25 MM Line Scan Camera Lens provides manual focus and is specified for 4K 7 μm / 8K 3.5 μm industrial systems, so final scale should be calibrated after focus is established.

12. Should a line scan machine be recalibrated after replacing the lens with the same model?

Precision measurement systems should verify calibration. The replacement lens must be refocused, and the installed optical condition may not reproduce the previous scale with sufficient accuracy for a tight measurement tolerance. Verification with a known reference is therefore recommended.

13. Can aperture adjustment cause the same problem as focus breathing?

Aperture adjustment and focus breathing are different phenomena. Changing aperture can affect depth of field and image detail, while focus breathing refers specifically to scale variation with focus adjustment. However, aperture changes can alter the focus condition enough that a technician subsequently refocuses the lens, which may then make scale verification necessary.

14. How should an OEM control focus breathing across repeated machines?

Use a defined working distance, approved lens model, standard focus procedure and calibrated reference target. After focusing each machine, measure its actual pixels/mm and verify that it lies within the approved tolerance. This converts a subjective focus task into a repeatable production process.

15. Can focus breathing create different pixels/mm at different service visits?

Yes, if the lens is refocused differently during separate service events. Even when the visual focus appears acceptable in both cases, the effective magnification can differ slightly. Recording calibrated image scale after service provides a useful historical control.

16. Does a 50 mm line scan lens automatically have less focus breathing than a 25 mm lens?

That cannot be concluded from focal length alone. Focus breathing depends on the internal optical design and the amount of focus adjustment, not merely the nominal focal length. The Kyptec Automation® KL-1406 50 MM Line Scan Camera Lens should therefore be qualified from the actual installed measurement geometry rather than assumed to behave a certain way based only on its 50 mm specification.

17. What is the best way to prevent measurement errors after refocusing?

Treat recalibration verification as part of the focus procedure. After final focus, use a traceable or well-controlled reference dimension at the production object plane, calculate the current pixels/mm and compare it with the approved value. Only then should dimensional inspection return to production.

18. Why are Kyptec Automation® line scan camera lenses useful for measurement-focused OEM designs?

The current Kyptec Automation® Line Scan Camera Lens collection provides dedicated 25 mm, 35 mm and 50 mm focal-length options for 4K and 8K systems, while Kyptec Automation® describes the range as designed for high-precision continuous imaging, minimal distortion, consistent sharpness and measurement in industrial inspection. This gives OEMs a focused optical family around which repeatable working-distance, focus and calibration procedures can be developed.

Conclusion

Focus adjustment in a line scan inspection machine should never be viewed only as a sharpness adjustment when the system also performs dimensional measurement. Refocusing can alter effective magnification, field of view and pixels/mm through focus breathing, which means an image can look sharper after service while the previous measurement calibration has become slightly inaccurate.

The correct OEM approach is therefore to establish the final machine working distance first, focus the line scan camera lens using representative fine features, verify the actual FOV and pixels/mm with a known reference target, and only then freeze the measurement calibration. If the lens is later significantly refocused, replaced or disturbed during maintenance, the scale should be verified before the machine returns to precision measurement.

This principle is important in printing and label registration machines, slitting and rewinding systems, web-width inspection, metal strip and coil measurement, PCB and electronics inspection, packaging verification, battery manufacturing equipment, textile machinery and other line scan systems where pixel distances are converted into real physical dimensions.

The current Kyptec Automation® Line Scan Camera Lens portfolio provides a strong focused platform for these OEM applications, with dedicated 25 mm, 35 mm and 50 mm models and current product specifications supporting 4K 7 μm and 8K 3.5 μm line-scan configurations.

For OEMs and system integrators, the key engineering principle is straightforward: focus first, verify image scale second, calibrate third, and do not assume that a sharp image automatically means the old pixels/mm calibration is still exact. By controlling focus and calibration as one optical process, Kyptec Automation® line scan camera lenses can be integrated into inspection machines where defect detection and dimensional measurement remain more consistent across commissioning, service and repeated machine production.