Line scan looks intimidating because the geometry is unfamiliar: the camera sees one pixel-wide line at a time and the motion of the web builds the image. But lens selection is actually more deterministic than area scan — every parameter chains from the sensor and the defect size, and most candidates are eliminated on paper before any camera is switched on. This guide walks the same sequence our selection engineers use for web, print, PV panel and steel-strip inspection enquiries.
The short answer. Write down five numbers before opening a catalog:
- Sensor — pixel count × pixel size (this gives sensor width, the number everything else hangs on)
- Object resolution — the smallest defect you must see, in µm per pixel on the object
- Web width to cover, in mm
- Web speed and line rate — they fix exposure and blur budget
- Working distance your mechanics allow, plus web flutter if known
1. How line scan differs from area scan
An area camera captures a rectangle in one exposure; a line scan camera captures a single row of pixels thousands of times per second as the material moves. Three consequences drive lens selection:
- The sensor is extremely wide and extremely short. A 16K sensor is 16384 pixels across and perhaps 128 tall. Its width — up to 57 mm and beyond — must fit inside the lens image circle. That is why line scan lenses look like short telescopes: they cover huge, narrow fields.
- Exposure is per-line and brief. At 1 m/s web speed and 10 µm line period, the exposure window is microseconds. Light — not the lens F-number alone — is often the binding constraint.
- The image is built by motion. Lens magnification errors, misalignment and flutter all accumulate along the scan direction, which is why depth-of-field and alignment checks matter more than in area scan.
2. Step 1 — Match the image circle to the sensor width
For line scan, forget diagonals: the sensor's active width is the number to cover. Compute it as pixel count × pixel size, then demand an image circle at least that large — realistically larger, because the lens must deliver contrast, not just light, at the very edge of the width.
| Sensor class | Typical pixels × pixel size | Active width | Minimum image circle |
|---|---|---|---|
| 2K | 2048 × 14 µm | 28.7 mm | ≥φ30 mm |
| 4K (10 µm) | 4096 × 10 µm | 41.0 mm | ≥φ43 mm |
| 4K (7 µm) | 4096 × 7 µm | 28.7 mm | ≥φ30 mm |
| 8K | 8192 × 7 µm | 57.3 mm | ≥φ43 mm |
| 16K | 16384 × 3.5 µm | 57.3 mm | ≥φ43 mm |
Note the trap: an 8K lens and a 16K lens can require the same φ43 mm image circle — the difference is pixel pitch and the resolution the lens must deliver across that circle, not the circle itself. A lens that "fits" the width but has no MTF at your Nyquist frequency will produce a sharp centre and a soft edge; check MTF at your frequency across the full width, in the datasheet, not in a demo video.
3. Step 2 — Magnification from object resolution
Decide the smallest defect you must detect, then let the pixel size do the arithmetic:
magnification m = sensor pixel size ÷ object resolution per pixel
Examples: a 7 µm sensor pixel with 35 µm per pixel on the object gives m = 0.2X. A 3.5 µm pixel with 70 µm on the object gives m = 0.05X. If your defect spec is "see a 70 µm scratch", keep the Nyquist rule in mind — you need roughly two sensor pixels across the smallest critical feature, so 70 µm features want ≤35 µm object resolution, and the lens must transfer contrast at the sensor's Nyquist frequency, approximately 500 / pixel size in µm (line pairs per mm): 7 µm pixels → ~71 lp/mm, 3.5 µm → ~143 lp/mm.
This is also why our line scan catalog is organised by magnification — LS2540A-0.03X, LS4016K-0.08X, LS8040A-0.5X and so on. The suffix is the design magnification; the family letter encodes the sensor class it covers.
4. Step 3 — Field of view and working distance
Field of view follows directly:
FOV = sensor width ÷ m
The 8K sensor above (57.3 mm) at 0.2X covers 287 mm of web; at 0.05X it covers 1.15 m — which is how a single camera inspects a full PV panel or a textile line. Sanity-check the pair against your mechanics:
- Working distance scales with FOV. At these magnifications, WD is typically hundreds of millimetres to over a metre. Confirm your enclosure and lighting can live at that distance — line lights get big fast.
- Multi-camera stitching. Wide webs are often covered by 2–4 cameras edge to edge. Leave 5–10% overlap between adjacent fields and keep every camera at the same magnification, or the seams will show as a width mismatch.
- Object-side telecentricity keeps the FOV constant through the depth range — relevant if web flutter is significant and you are gauging widths, not just finding defects.
5. Step 4 — F-number, exposure and motion blur
Two competing budgets meet at the aperture:
Motion blur. Blur = web speed × exposure time. Keep it under half a pixel on the object: at 1 m/s and 35 µm object pixels, exposure must stay ≤17 µs. Faster line rates and finer resolutions both shrink this budget, pushing you to stronger line lights.
Light gathering. Each stop (F2.8 → F4 → F5.6) costs half the light. Because exposure is already microsecond-short, wide apertures are tempting — but wide apertures cut depth of field and usually corner performance. The resolution is almost always lighting, not aperture: a line light running at the right pulse width buys back the stops.
Practical sequence: pick the F-number that satisfies depth of field (next section), then verify your illumination can deliver the energy at the required exposure. If it cannot, the fix is a stronger or closer line light, or a slower line rate — not opening the aperture and hoping.
6. Step 5 — Depth of field and alignment
Depth of field at magnification m and F-number F is approximately:
DOF ≈ 2 × F × c × (1 + m) / m²
where c is the circle of confusion (typically the sensor pixel size). At 0.2X and 7 µm pixels, F4 gives roughly ±0.8 mm of usable depth; F8 doubles it. Compare that number against your web flutter — the peak-to-peak vertical movement as the material travels. If flutter is ±2 mm, no F4 setting will hold focus; you need F11+, a longer working distance design, or flutter control on the mechanics.
Alignment is the silent killer at 8K and 16K. A small rotation of the camera about the optical axis tilts the sensor plane relative to the web, so focus drifts progressively across the width — sharp on the left, soft on the right, looking exactly like a lens defect. At 57 mm sensor widths, 0.2° is enough to see it. Two defences: shim the camera parallel to the web (check with the focus gradient, not a spirit level), and choose a lens with rotation adjustment where available, which trues the image plane to the web after mounting — ask us to confirm it for the model you select.
7. Telecentric or not?
For most web inspection — defects, print, codes, surfaces — a conventional line scan lens is right, and object-space telecentric designs are a cost you should not pay. Go telecentric when the job is gauging on the fly: width, edge position or profile measurements where the part height varies through the depth range and perspective error would corrupt the measurement. The trade-offs mirror the area-scan case — front diameter at least as large as the FOV, fixed magnification, higher cost — see our telecentric vs FA comparison for the full decision framework, which applies to line scan with the same h/WD error arithmetic.
8. Three worked examples
Example A — print inspection, 260 mm web
Camera: 8192 × 7 µm (57.3 mm width). Defect spec: 0.1 mm dots → ≤35 µm object resolution → m = 0.2X. FOV = 57.3 / 0.2 = 287 mm — one camera oversails the 260 mm web with margin. Web speed 120 m/min = 2 m/s; at 35 µm object pixels, exposure ≤9 µs. F4 from the DOF table (±0.8 mm against ±0.5 mm flutter). A 16K-family lens in the 0.2X class at ~300 mm WD, with a line light rated for the pulse energy. One camera, no stitching.
Example B — PV panel surface, 1.1 m wide
Camera: 16384 × 3.5 µm (57.3 mm width). Defect spec: 0.35 mm → ≤175 µm object resolution → m = 3.5 / 175 = 0.02X. FOV = 57.3 / 0.02 = 2.9 m — too wide for one camera; instead use two cameras at m = 0.05X, FOV 1.15 m each, with 100 mm overlap. Web moves in steps on the conveyor, so the exposure budget is relaxed; F5.6 holds DOF over a ±1 mm flutter. LS3528A-0.05X-class lenses at ~700 mm WD.
Example C — steel strip edge gauging
Camera: 4096 × 10 µm (41 mm width). Job: strip width to ±0.1 mm, strip flutter ±2 mm. m = 0.1X (10 µm sensor / 100 µm object). Perspective error from flutter: 2 mm / WD — at 400 mm WD that is 0.5%, or 1.4 mm on a 280 mm strip: unacceptable. This is a telecentric line scan job: object-side telecentric design with ±2 mm depth range, magnification constant through the flutter, plus collimated edge lighting. Conventional lenses are ruled out by the numbers, not by preference.
9. The five mistakes we see most in RFQs
- Quoting sensor resolution in megapixels. 16K tells us the width only when we know the pixel size — 57.3 mm at 3.5 µm, but 115 mm at 7 µm. Always send pixels × pitch.
- Ignoring flutter. Depth of field is not a spec-sheet formality; it decides F-number, which decides illumination, which decides exposure. Omit flutter and the first machine trial is a focus lottery.
- Checking image circle against the diagonal. On a 16384 × 128 sensor the diagonal is barely wider than the width — but diagonal thinking leads people to under-specify when the aspect ratio is less extreme, and to ignore MTF at the width edges entirely.
- No overlap in multi-camera layouts. Two cameras butted edge-to-edge with zero overlap will drop defects at the seam as calibration drifts. 5–10% overlap costs nothing and hides drift.
- Treating alignment as an installation detail. The rotation about the optical axis must be trued after mounting. A lens with rotation adjustment turns a two-day shim exercise into a five-minute dial-in.
10. FAQ
How do I match a line scan lens to a line scan camera?
How do I calculate line scan lens magnification?
Why do line scan lenses need larger image circles than area lenses?
What F-number should I use for a line scan lens?
How much depth of field do I need for web inspection?
What happens if the line scan camera is not aligned?
Do line scan lenses need to be telecentric?
What should I send with a line scan lens RFQ?
Still unsure?
Send the sensor, the defect spec and the web speed — our engineers return a complete line scan proposal including F-number, depth-of-field and lighting sanity checks, within one business day. Start here →