Area Scan vs Line Scan Cameras: Industrial Camera Types
Area scan vs line scan is the choice between two industrial camera sensor layouts. An area scan camera has a 2D pixel array and captures a whole frame in one exposure. A line scan camera has one row of pixels and builds the image line by line while the object moves past, usually triggered by an encoder.
Area scan vs line scan is one of the first decisions when a machine vision station is specified. Both cameras use the same kind of CMOS pixels, lenses and interfaces. What differs is the shape of the sensor, and that changes how the image is formed, how the part must move and how the light is arranged.
The other parts of a vision station are covered in machine vision components.
How area scan vs line scan cameras form an image
The sensor is a rectangle of pixels, for example 2448 × 2048. One trigger starts one exposure, and the camera reads out the full 2D frame. The part can be stationary or moving.
A global shutter exposes every pixel at the same time, so moving parts are not distorted. A rolling shutter exposes rows one after another, which skews fast moving objects.
The sensor is a single row of pixels, often thousands long, such as 4096 or 8192. Each exposure captures one line across the object. The camera repeats this thousands of times per second while the object moves under it, and the lines are stacked into a 2D image.
The image can be of any length, so a continuous web of paper, film or steel strip can be inspected without gaps. Without motion there is no image.
Some line scan sensors have two, three or more rows. Colour line scan cameras use separate rows for red, green and blue.
TDI line scan sensors
Time delay integration (TDI) sensors have many rows. As the object moves, the charge from one row is passed to the next in step with the motion, so the same point on the object is exposed many times and the signal adds up. This gives more sensitivity at high speed without longer exposure, but the line trigger must track the motion closely.
Area scan vs line scan comparison table
| Feature | Area scan camera | Line scan camera |
|---|---|---|
| Sensor | 2D pixel array | One row (or a few rows) of pixels |
| Image | One full frame per trigger | Built line by line, any length |
| Motion needed | No | Yes, constant or measured motion |
| Trigger | One trigger per part | One trigger per line, usually from an encoder |
| Resolution across the object | Limited by sensor width | Very high, thousands of pixels in one line |
| Lighting | Area lights, rings, domes, backlights | Narrow, intense line lights |
| Set-up | Simple to focus and align | Camera, light and motion must be aligned |
| Typical uses | Discrete parts, code reading, robot guidance | Webs, wide sheets, cylinders, high speed lines |
Line rate, pixel size and exposure
A line scan camera has two pixel sizes on the object. Across the web, the pixel size comes from the field of view and the number of pixels:
where W is the field of view across the web in mm and N is the number of sensor pixels. Along the direction of motion, the pixel size is the distance the web moves between two lines. For square pixels both must be equal, which gives the line rate:
where v is the web speed in mm/s and p_y is the pixel size along the motion in mm. The exposure time cannot be longer than one line period:
For an area scan camera looking at a moving part, the motion blur in pixels is the distance moved during the exposure divided by the pixel size on the part:
Keeping b at or below about one pixel is a common target, which is why fast lines use short exposures and strobed light.
- Given
- A paper web 1000 mm wide moves at 2 m/s. A 4096 pixel line scan camera views the full width.
- Find
- The pixel size across the web, the line rate for square pixels and the longest possible exposure time.
- Assumptions
- One camera covers the full width with no margin; web speed is constant; the lens resolves the pixel size.
- Solution
- Pixel size across: p_x = 1000 / 4096 = 0.24414 mm, about 0.244 mm
- Speed: v = 2 m/s = 2000 mm/s
- Line rate: f_line = v / p_x = 2000 / 0.24414 = 8192 lines per second, about 8.2 kHz
- Longest exposure: t_exp = 1 / 8192 = 0.000122 s = 122 µs
- Answer
- Pixel size 0.244 mm, line rate about 8.2 kHz and exposure no longer than about 122 µs
- Limitations
- A real set-up adds margin at the web edges. If the web speed changes, an encoder trigger keeps p_y constant, but the line rate changes with speed and must stay within the camera’s maximum.
With only about 122 µs per line, a weak light gives a dark, noisy image, so line scan stations need bright line lights.
When to use area scan vs line scan
- Discrete parts that stop or move one at a time, such as bottles, castings or boxes.
- Reading barcodes, 2D codes and printed text.
- Guiding industrial robots to pick parts.
- Presence and assembly checks where one frame shows everything.
- Projects where set-up time and simplicity matter more than top resolution.
- Continuous webs: paper, film, foil, textiles, steel and aluminium strip.
- Wide objects where one area sensor cannot give enough pixels across.
- Cylindrical parts rotated under the camera, which gives a flat, unwrapped image of the surface.
- Printed sheets, glass and flat panels on fast conveyors.
- Long objects that would need many area frames stitched together.
Area scan cameras can also inspect moving parts, but a frame must be taken for each part, or often enough to cover a continuous product with overlap. That needs strobe lighting or a short exposure to stop motion blur.
Setting up a line scan station
- Fix the field of view across the object and choose the sensor length and lens that give the pixel size you need.
- Calculate the line rate from the maximum speed and check it is within the camera’s rating.
- Fit an encoder on the conveyor roller or the web so each line is triggered by distance, not by time.
- Mount a line light parallel to the sensor line and align both so the bright strip sits exactly on the line the camera sees.
- Set the exposure shorter than the line period at maximum speed and adjust the light intensity.
- Check square pixels with a test target: a circle should appear round, not stretched.
The trigger and result signals usually go to a PLC, as described in PLC hardware selection. Both camera types use the same interfaces, such as GigE Vision, USB3 Vision, CoaXPress and Camera Link, with GenICam for common configuration. Image quality figures such as quantum efficiency and noise can be compared between cameras with the EMVA 1288 standard.
Key formulas for area scan vs line scan
| Quantity | Formula | Symbols and units |
|---|---|---|
| Pixel size across the web | p_x = W ÷ N | W field of view in mm, N number of pixels |
| Line rate for square pixels | f_line = v ÷ p_y | v speed in mm/s, p_y pixel size along motion in mm, f_line in lines per second |
| Longest exposure (line scan) | t_exp ≤ 1 ÷ f_line | t_exp in s |
| Motion blur (area scan) | b = v × t_exp ÷ p | b in pixels, p pixel size on the part in mm |
Area scan vs line scan interview and viva questions
- What is the basic difference between area scan and line scan cameras? An area scan camera has a 2D pixel array and captures a full frame in one exposure, while a line scan camera has one row of pixels and builds the image line by line as the object moves.
- How do you calculate the line rate of a line scan camera? Divide the object speed by the pixel size along the direction of motion; for square pixels this equals the pixel size across the object.
- Why is an encoder used with a line scan camera? It triggers one line per fixed distance travelled, so the pixel size along the motion stays constant when the speed changes.
- Why does a line scan camera need intense lighting? The exposure cannot be longer than one line period, which is very short at high line rates, so a bright line light is needed for enough signal.
- What is the difference between a global and a rolling shutter? A global shutter exposes all pixels at the same time; a rolling shutter exposes rows one after another, which skews fast moving objects.
Frequently asked questions
Can a line scan camera inspect parts that are not moving?
Not on its own. A line scan camera sees only one line at a time, so either the part moves under the camera or the camera is moved over the part on a linear stage. For stationary single parts an area scan camera is usually simpler.
Why does a line scan camera need an encoder?
The encoder sends a trigger for each fixed distance travelled, so one image line is taken per step. The pixel size along the direction of motion then stays constant even if the conveyor or web speed changes, and the image is not stretched or squashed.
Is a line scan camera better than a high resolution area scan camera?
It depends on the task. Line scan suits continuous webs, wide objects and rotating cylinders, where it gives high resolution across the width and an image of any length. Area scan is simpler to set up and suits discrete parts, robot guidance and code reading.
References
- EMVA 1288 Standard for Characterization of Image Sensors and Cameras, Release 4.0, European Machine Vision Association, 2021
- A. Hornberg (ed.), Handbook of Machine and Computer Vision: The Guide for Developers and Users, 2nd ed., Wiley-VCH, 2017
- C. Steger, M. Ulrich and C. Wiedemann, Machine Vision Algorithms and Applications, 2nd ed., Wiley-VCH, 2018
- B. G. Batchelor (ed.), Machine Vision Handbook, Springer, 2012
- Camera Link Specification, Version 2.0, Association for Advancing Automation (A3)
- GenICam Standard, European Machine Vision Association
Get one engineering email a week
New articles, worked examples and study notes every week. Free, no spam, unsubscribe any time.