Precision lens manufacturer for machine vision, medical, and industrial imaging applications.

Line-Scan Lens on a 2D Sensor: The Diagonal Coverage Test

Home - Comparisons - Line-Scan Lens on a 2D Sensor: The Diagonal Coverage Test
Reading Time: 8 min ( Word Count: 2,013 )

A line-scan lens can work on an area-scan camera, but the sensor diagonal—not the line length—is the first number to test. A line-scan lens is corrected for a narrow, long field, and its published image circle may describe a line height rather than a two-dimensional diagonal. When the same lens is placed in front of a square or 4:3 area sensor, the corners sit outside the field the designer optimized. The lens may still illuminate them, yet corner MTF, relative illumination and distortion can fall below the inspection budget. The practical question is not whether the mount fits. It is whether the lens passes a diagonal coverage test at the working distance, aperture and wavelength the line will use.

Key Takeaways

  • A line-scan lens is optimized for a one-dimensional field; an area sensor asks for a two-dimensional diagonal.
  • Image-circle coverage is necessary but not sufficient: corner MTF, relative illumination and distortion must be measured at the diagonal.
  • The working distance and magnification printed on a line-scan lens datasheet may not match the area-camera layout.
  • A six-check acceptance sheet turns “it looks fine” into a pass or fail before the first production run.
  • If the diagonal test fails, an area-scan lens or a larger-format line-scan lens is usually cheaper than a custom redesign.

Why a line-scan lens is not a drop-in area-scan lens

A line-scan camera builds an image one row at a time, so its lens is judged on a line: image height, edge MTF and illumination along that line. An area-scan camera exposes a full rectangle at once, and every corner of that rectangle is part of the image. The two formats therefore ask the lens different questions. A lens that holds sharpness to the ends of a 40 mm line may still soften at the corners of a 25 mm diagonal because the corner combines the full field height with the full field width.

The distinction matters when a line-scan lens is considered for an area camera. The lens may have a large image circle in one direction and a smaller usable field in the other. A datasheet image circle is often a diameter, but it does not say how much contrast remains at that radius. The buyer needs the MTF and relative-illumination values at the diagonal, not only at the line ends. The 16K line-scan coverage test shows why the ends of a line are already a demanding case; the diagonal of an area sensor adds the second dimension.

Mechanically, the swap can look easy. A line-scan lens may use the same C-mount or F-mount as the area camera, and the flange distance may match. That only proves the lens can be attached. It does not prove the back focal length is correct for the camera’s cover glass, filter stack or mount adapter.

Start with the sensor diagonal, not the line length

Write down the active width and height of the area sensor, then calculate the diagonal: the square root of width squared plus height squared. Compare that diagonal with the lens image circle, and leave margin for corner performance. A lens whose image circle exactly equals the diagonal has no reserve for alignment, cover-glass refraction or unit-to-unit variation. A practical starting point is a lens image circle several percent larger than the diagonal, with the exact margin set by the corner MTF requirement rather than by a rule of thumb.

Do not use the line length as a substitute for the diagonal. A line-scan lens may be specified for a 40 mm image height, which sounds generous until the area sensor’s diagonal is 33 mm and the corners need contrast at 100 line pairs per millimetre. The line height describes one axis. The diagonal describes the worst-case field point. The acceptance test belongs at that worst-case point. For a lens that must cover an area sensor, the line-scan lens range is the place to compare image circle, mount and diagonal data before a trial.

For a rectangular sensor, the corner is also where the chief ray angle is largest. That angle affects relative illumination and colour shading, and it can expose a lens that was corrected for a narrow line but not for a two-dimensional field. The machine vision lens selection guide treats image circle and sensor format as a starting point; the diagonal test is the evidence that the starting point survives the application.

Measure MTF at the diagonal corners

An MTF curve at the centre and at the line ends is not enough. Ask for through-focus MTF at the centre, at the middle of each edge and at all four corners, at the spatial frequency that matters to the inspection. For a 3.45 µm pixel sensor, the Nyquist frequency is about 145 line pairs per millimetre; a lens that holds 30% contrast at 100 line pairs per millimetre in the centre may hold much less at the corner. The relevant number is the corner value at the frequency the defect requires, not the centre peak.

Measure sagittal and tangential directions separately. A line-scan lens may be well corrected in the direction of the line and weaker across it. When the lens is rotated 90 degrees on an area camera, the weak direction moves to a different edge of the image, and a defect that was visible on one side can disappear on another. Record both directions at every corner so the orientation of the lens cannot hide a low value.

Large-format line-scan lens used to test diagonal coverage on an area-scan sensor

Use the same aperture, working distance and wavelength as production. A line-scan lens may be optimized for a specific magnification and f-number, and its corner performance can change when those conditions move. If the area camera needs a different magnification, the lens may still cover the diagonal but fail the MTF target. The test should reproduce the production geometry, not the lens catalogue’s reference geometry.

Check relative illumination and colour shading

Illumination falloff at the corners is a separate specification from MTF. A lens can hold contrast and still deliver only half the light at the diagonal, which raises exposure time or forces a brighter light source. Measure relative illumination on a uniform white target with the lens focused at the production distance. Report the corner value as a percentage of the centre, and compare it with the camera’s dynamic range and the inspection’s exposure budget.

Colour shading is the other half of the check. A line-scan lens that is not corrected for the area sensor’s chief-ray-angle profile can produce a colour cast at the corners even when the luminance looks acceptable. The cast may be magenta, green or blue, and it can change with aperture. A monochrome camera will not show it, but a colour inspection will. Measure the per-channel values at the diagonal corners, not just the average luminance.

If the camera applies lens-shading correction, test with the correction off first. Correction can hide a marginal lens in the centre of the working range and fail when the lens is used at a different aperture or temperature. The acceptance sheet should record both the raw corner values and the corrected values, so the correction is a known allowance rather than a cover-up.

Map distortion across the two-dimensional field

Line-scan lenses are often specified for distortion along the line. An area camera needs a map across the full rectangle. A lens with low line distortion can still have a barrel or pincushion component in the cross-line direction, and the combination can move a corner point by more than the measurement tolerance. Use a grid target that covers the entire sensor, including the corners, and report the residual after the chosen distortion model.

The map should include the sign and the direction of the error, not only a single percentage. A corner that moves outward by 0.1% and a corner that moves inward by 0.1% may have the same magnitude but different consequences for a gauging tool. If the application measures position rather than presence, the distortion map is part of the calibration, and the lens acceptance should state the residual the calibration cannot remove.

Check the map at the production working distance. Distortion can change with focus and magnification, especially in a lens optimized for a fixed line-scan conjugate. A map taken at the catalogue working distance may not describe the area-camera installation. The same applies to the colour and MTF checks: the production geometry is the only geometry that counts.

Need a line-scan lens for an area sensor? Compare the diagonal coverage, corner MTF and mount options before you commit. Review the line-scan lens range and send the sensor diagonal with your inquiry.

Put the six checks on one acceptance sheet

The sheet should name the sensor, the lens serial number, the working distance, the aperture, the wavelength and the target. It should record the diagonal coverage margin, the corner MTF in both directions, the relative illumination, the colour shading and the distortion residual. Each row needs a pass or fail limit and the name of the person who measured it.

Check What to measure Pass condition
Diagonal coverage Image circle versus sensor diagonal Circle exceeds diagonal with margin for corner performance
Corner MTF Sagittal and tangential at four corners Meets the defect frequency at production aperture
Relative illumination Corner luminance versus centre Within the exposure and signal-to-noise budget
Colour shading Per-channel corner values Cast removable by calibration or below the colour tolerance
Distortion map Grid residual across the full rectangle Residual inside the measurement budget after calibration
Geometry Working distance, magnification, mount tilt Production values with a stable fixture

Run the sheet on the first lens and keep it with the installation record. If the lens is replaced later, the new serial number gets a new sheet. A line-scan lens that passed on a line sensor is not automatically qualified on an area sensor, and the sheet is the evidence that the new combination was actually tested. The line-scan lens documentation from Schneider Kreuznach is a useful reference for the difference between line height and area coverage, but the final numbers must come from the production setup.

FAQ

Can any line-scan lens be used on an area-scan camera?

No. The lens must cover the area sensor’s diagonal with usable corner MTF, relative illumination and distortion. A line-scan lens that covers the line height may not cover the diagonal, and the mount fitting does not prove optical compatibility.

Is a larger image circle enough to qualify the lens?

No. The image circle says the lens can illuminate the diagonal, not that it holds contrast and colour at the corners. Ask for corner MTF and relative illumination at the production aperture and working distance.

Should I test with the camera’s lens-shading correction on or off?

Test with it off first. That shows the raw lens behaviour and prevents a correction from hiding a marginal corner. Then record the corrected result as the production condition.

What if the line-scan lens fails the diagonal test?

Use an area-scan lens with a suitable image circle, or a larger-format line-scan lens if the line-scan geometry is still required. A custom redesign is usually the last option, not the first.

Does the lens orientation matter on an area sensor?

Yes. A line-scan lens can be stronger along the line than across it. Rotating the lens changes which image edge sees the weaker direction, so measure both sagittal and tangential MTF at every corner.

Conclusion

  • A line-scan lens can serve an area-scan camera when the diagonal, not the line length, passes the optical test.
  • Corner MTF, relative illumination, colour shading and distortion belong on one acceptance sheet with pass or fail limits.
  • The production working distance, aperture and magnification must be reproduced in the test; catalogue geometry is not enough.
  • If the lens fails, an area-scan lens or a larger-format line-scan lens is the lower-risk path.

Before ordering, send the sensor diagonal, the required defect size and the production working distance to the lens maker. A short review of those three numbers can rule out a line-scan lens that would otherwise pass a mount check and fail at the corner.

Related reading: Line Scan Lens Selection: Image Circle Math for 4K, 8K and 16K Sensors, Line Scan Camera vs Area Scan: How to Choose for Your Inspection

Baker Zhao

Baker Zhao

Founder, Lensmind Optics

Baker Zhao is the founder of Lensmind Optics, with 26 years of experience in the optical industry — including Vice President of Sales at Sunny Optical (Zhongshan) and earlier roles at Foxconn, LG and Sintai Optical. He leads Lensmind with a mission to help customers find reliable, application-specific optical solutions from development to volume production.

Leave a Comment