Machine Vision System Configurator

Describe the job: field of view, working distance, the smallest feature you need to see, and how fast the part moves. The configurator picks a standard lens for your sensor, draws the setup, and checks resolution, depth of field, motion blur, interface bandwidth, lens format, and lighting. The table at the bottom ranks 392 area-scan sensors from ten makers for the same job, with filters and a link to each sensor’s source.

Key terms
Field of view (FOV)
The width and height of the area one image must cover: the part, plus a margin for where it can land.
Working distance
How far the lens is from the part (the lens calculator calls this the object distance). The calculation measures it from the lens’s front principal plane, an optical reference point, so it differs somewhat from the working distance lens makers quote from the front of the lens barrel.
Smallest feature
The smallest defect or detail the system must find or measure, such as a scratch width, a particle, or the gap between two edges.
Pixels across the feature
How many pixels the smallest feature spans in the image. Two is the theoretical minimum; about 3 to 5 detect a feature reliably, and measuring it takes 10 or more.
Depth of field
The range of heights that stays acceptably sharp. It grows with a higher f-number (a smaller aperture) or a lower magnification.
Exposure or strobe time
How long the sensor collects light for each image. A short exposure, or a brief strobe flash, freezes a moving part.
Interface bandwidth
How many megabytes per second the camera’s connection to the computer (GigE, USB3, CoaXPress, Camera Link) can carry. It caps the frame rate of a large sensor.
Lens format
The largest sensor a lens is designed for, set by the diameter of the sharp image circle it projects. It must be at least the sensor diagonal, or the image corners go dark and soft.

Your application

Start from an example job

Each fills the part, field of view, and motion fields with round example numbers. Your camera and lens settings stay as they are.

Part and field of view

The area one image must cover, along the sensor’s long side (width) and short side (height): the part plus a margin for where it can land.

Lens to part, measured from the lens’s front principal plane. The clearance in front of the lens barrel can differ by several millimeters or more; check the lens data.

Part height range plus positioning tolerance, centered on the working distance.

The smallest defect or detail you must find, such as a scratch width or a particle size.

px

2 is the sampling minimum; about 3–5 to detect reliably, 10 or more to measure.

Sets the lighting suggestion. Gauging can add a perspective check, and color inspection a color check.

Motion and frame rate

Speed during the exposure; 0 if the part is at rest when the image is taken.

With a strobe in a shielded station, the flash length.

fps

Images per second: the parts per second if each part gets one image.

Camera

Each array is the maker’s recommended recording size where one is stated (what most cameras output by default), otherwise the effective or active array; camera makers may crop further, so check the camera datasheet. The table below ranks every sensor for this job.

The camera’s connection. GigE and USB3 use standard computer ports; Camera Link and CoaXPress need a frame grabber card.

Packed 10- and 12-bit formats keep finer gray levels but need 25 % and 50 % more bandwidth than 8-bit; RGB8 needs three times as much.

Lens

f/#

Higher: more depth of field, less light, more diffraction blur.

LED peaks: blue 470, green 525, red 625, near infrared 850. White: use 550.

px

Defocus blur still counted as sharp. Use 1–2.

Your system

—

Field of view

Pixels on the feature

Sensor in lens circle

Checks

Numbers

Lens—
Field of view (H × V)—
Magnification—
Pixel size on the part—
Pixels across smallest feature—
Depth of field— Sharp from the near to the far distance shown; your height variation must fit inside, around the working distance.
Working f-numberN(1 + m)— The effective f-number at this magnification. It sets the diffraction blur and the image brightness.
Airy disk on the sensor—
Diffraction MTF at Nyquist— Contrast an ideal lens keeps on the finest pattern the pixels can record; real lenses and the pixels themselves keep less. Lens makers’ rule of thumb: about 10 % contrast in the image to detect detail, and 20 % or more as a safer target.
Motion blur—
Data rate—
Max frame rate on this interface— The bandwidth limit only. The sensor’s own maximum frame rate may be lower; see the camera datasheet.
Ideal focal length for this field— The focal length that would exactly fill the field. Automatic mode picks the longest standard lens at or below it.

Configuration

Lighting

Sensors that fit this job

—

Each sensor gets the longest standard focal length that still covers your field at your working distance. Max fps is the lower of the interface limit and the maker’s full-resolution figure. Click Use to load a sensor above. The arrow on a card opens its shutter, array, pixel size, depth of field, lens format, and source link.

Order: sensors that fit come first, fewest megapixels first; then the close ones, then the rest, each with the most pixels on the feature first. “Fits” means enough pixels on the smallest feature, a depth of field that covers the height variation (when one is entered), and a max fps at or above your frame rate; “close” means it fails a check but still puts at least 80 % of the pixels you asked for on the feature. Why that order.

How it is calculated

The lens is a thin lens with its principal plane at the working distance \(s\) from the part. The sensor of width \(w\) and height \(h\) must see a field of at least \(W \times H\), so the magnification cannot exceed

\[ \begin{gathered} m_\text{max} = \min\!\left(\frac{w}{W}, \frac{h}{H}\right), \\[6pt] f_\text{ideal} = \frac{m_\text{max}\, s}{1 + m_\text{max}}. \end{gathered} \]

In automatic mode it picks the longest standard focal length at or below \(f_\text{ideal}\) (4, 5, 6, 8, 12, 16, 25, 35, 50, 75, or 100 mm), so the field is always covered. The actual magnification is then \(m = f/(s - f)\), each pixel of pitch \(p\) covers \(p/m\) on the part, and the smallest feature spans \(d\,m/p\) pixels.

Depth of field, diffraction, and motion

Depth of field uses the exact thin-lens limits with the acceptable blur \(c\) (in pixels) and hyperfocal distance \(H = f^2/(Nc) + f\), the same model as the lens selection calculator. The height check passes only when both ends of the range, \(s \pm \Delta z/2\), lie between the near and far limits; the far side of the depth of field is always the longer one. The Airy disk diameter at the sensor is \(2.44\,\lambda N(1+m)\), and the ideal-lens MTF at the sensor Nyquist frequency \(1/(2p)\) shows whether the optics or the pixels limit resolution.

Motion blur in pixels is the distance the part moves during the exposure divided by the pixel size on the part, \(v\,t_\text{exp}\,m/p\). Keep it under one pixel for measurement and under about two for detection. Rolling-shutter sensors also skew moving parts, because rows expose at different times.

Bandwidth and lens format

The data rate is pixels per frame × bytes per pixel × frame rate. Packed 10- and 12-bit pixel formats carry 1.25 and 1.5 bytes per pixel. The interface limits are typical sustained image payloads, listed below. The sensor maker’s full-resolution frame rate is checked too, but a camera can be slower than its sensor, so check the camera datasheet as well.

InterfaceMB/s usedPlugs into
GigE Vision115Ethernet port
2.5/5/10 GigE290/580/1150Ethernet port
USB3 Vision380USB 3 port
Camera Link Base/Full255/680Frame grabber
CoaXPress CXP-6/CXP-12, per cable600/1200Frame grabber

The Ethernet figures follow JAI’s effective-throughput table for 1, 2.5, 5, and 10 Gb/s links, rounded (Ethernet cables run up to 100 m). USB3 Vision’s 5 Gb/s link carries 500 MB/s after 8b/10b coding, and A3 gives 350–400 MB/s sustained (passive copper cables are specified to 3 m, though 5 m cables often work). Camera Link Base and Full are 2.04 and 5.44 Gb/s at an 85 MHz pixel clock, their maximum. CoaXPress runs 6.25 Gb/s (CXP-6) or 12.5 Gb/s (CXP-12) per cable, also 8b/10b coded, keeps at least 95 % of the coded rate for image data, and can combine cables (four CXP-12 cables: about 4800 MB/s). Real throughput also depends on the host computer, so leave some margin.

A lens must project an image circle at least as large as the sensor diagonal. Format names such as 2/3″ are a legacy of television camera tubes, not a dimension: a 2/3″ sensor is about 11 mm across its diagonal, not 17 mm. The configurator suggests the smallest standard lens format that covers the sensor and the usual mount for that format. C-mount covers sensors up to about 1.1″ (17.6 mm diagonal), or 1.2″ (19.3 mm) with lenses rated for it; larger sensors need TFL (M35), TFL-II (M48, designed for APS-H, about 35 mm), M42, F-mount, M58, or M72 lenses. No standard format is listed above the 35 mm full-frame circle (Ø 43.3 mm): a larger sensor gets a warning to use custom or large-format optics whose image circle is at least the sensor diagonal. Format names that are not inch types (APS-C, APS-H, Super 35 mm, 35 mm full frame, medium format 645) are the makers’ own; the check always compares the computed diagonal with the lens circle.

How the sensors are ranked

Every sensor in the table gets its own lens by the rule above and lands in one of three groups. Fits: the smallest feature spans at least the pixels you asked for, the depth of field covers the height variation (skipped when the height variation is zero), and the max fps, the lower of the interface limit and the maker’s full-resolution figure, is at least your frame rate. Close: it fails a check, but the feature still spans at least 80 % of the pixels you asked for. No: everything else, including a sensor that would need a lens shorter than 4 mm. Fits come first, then close, then no. Inside the fits, the sensor with the fewest megapixels is first. Inside the other two groups, the sensor with the most pixels on the feature is first. Choosing another sort changes the order inside each group only. Motion blur, diffraction, and lens format are checked for the sensor you load, not for the ranking.

Why the fewest megapixels first? Every sensor in the fits group already resolves your feature, so extra pixels add data, not detail you asked for. A sensor with fewer pixels runs faster on the same interface and is easier to light and to lens: for the same field it has either larger pixels, which collect more light and ask less of the lens, or a smaller sensor, which takes a smaller lens. If you want headroom, raise the pixels-across target or sort by most pixels.

Lighting

Lighting decides contrast, and contrast decides whether a feature that spans enough pixels is actually detectable. The suggestions follow standard practice: backlights for silhouettes and gauging, coaxial light for flat reflective parts, dome light for curved shiny parts, low-angle dark field for scratches and particles, and patterned backgrounds for transparent parts. The machine vision optics article covers the geometry in more depth.

Worked example

The defaults: a 120 × 90 mm field at a 300 mm working distance, a 0.2 mm smallest feature that should span 3 px, and a 2/3″ Sony IMX250 (2448 × 2048 pixels of 3.45 µm, an 8.446 × 7.066 mm sensor).

Assumptions and limits

References

Primary sources and standards

  1. C. Steger, M. Ulrich, and C. Wiedemann, Machine Vision Algorithms and Applications, 2nd ed., Wiley-VCH (2018), ISBN 978-3-527-41365-2, secs. 2.1.5 (bright-field, dark-field, and back-light illumination), 2.2.2–2.2.4 (lens model, depth of field, telecentric lenses), 2.3.2–2.3.4 (rolling and global shutters, color cameras, sensor sizes), and 2.4.2–2.4.3 (Camera Link, CoaXPress, USB3 Vision, GigE Vision, and GenICam).
  2. B. Jähne, Digital Image Processing and Image Acquisition, 7th ed., Springer (2026), doi:10.1007/978-3-032-04806-6, secs. 3.4.4 (depth of field), 3.5.3 (the MTF of diffraction-limited optics), 4.4.5–4.4.6 (color sensors and digital camera interfaces), and 5.2.3 (the sampling theorem).
  3. J. E. Greivenkamp, Field Guide to Geometrical Optics, SPIE Press (2004), doi:10.1117/3.547461 (f-number, depth of field, hyperfocal distance).
  4. G. D. Boreman, Modulation Transfer Function in Optical and Electro-Optical Systems, SPIE Press (2001), doi:10.1117/3.419857, secs. 1.5 (the diffraction MTF) and 2.2 (sampling and aliasing).
  5. European Machine Vision Association, EMVA Standard 1288: Standard for Characterization of Image Sensors and Cameras, Release 4.0 Linear (16 June 2021), emva.org, secs. 2.1 and 2.7 (quantum efficiency, saturation capacity, and dynamic range); free.
  6. Association for Advancing Automation (A3), GigE Vision 3.0 (2026), USB3 Vision 1.2, and Camera Link 2.1 standards, automate.org/vision/vision-standards (the camera interface standards; free to download for evaluation).
  7. Japan Industrial Imaging Association, JIIA CXP-001-2021, CoaXPress Standard, version 2.1 (2021) (CXP-6 and CXP-12 links at 6.25 and 12.5 Gb/s, with 8b/10b coding).
  8. European Machine Vision Association, GenICam Pixel Format Naming Convention (PFNC), version 2.4 (16 June 2021), emva.org, sec. 6.3 (packed formats: Mono10p and Mono12p carry 1.25 and 1.5 bytes per pixel).
  9. Japan Industrial Imaging Association, LE-004, TFL Mount and TFL-II Mount Standards and Operational Regulations, and JIIA’s comparison of machine vision lens mounts by image size, jiia.org/mv_dl/lens, in Japanese (the mount suggested for each lens format).
  10. Edmund Optics, “TFL Lens: Maximum Optical Performance beyond 1.1″ Sensors,” white paper (2020), PDF, and “Lens Mounts,” edmundoptics.com (1.1″, 17.6 mm, as the practical limit of C-mount; the TFL mount for APS-C sensors, 27.9 mm, and the TFL-II mount for APS-H, 35 mm; the F-mount for 35 mm, 43.3 mm).
  11. Sensor data: Sony Semiconductor Solutions, Product Selector for Industrial Image Sensors and product flyers; onsemi, Gpixel, Teledyne e2v, ams OSRAM, Canon, OmniVision, SmartSens, STMicroelectronics, and Fairchild Imaging datasheets, product pages, and press releases, some through distributor copies or the Internet Archive (array, pixel pitch, optical format, shutter, frame rate, and status of every sensor in the list; the table links each sensor’s source; checked October 2026).
  12. Interface throughput: JAI, “GigE Interface, a true versatile workhorse” (12 October 2020), news.jai.com (effective throughput of 115, 287.5, 575, and 1150 MB/s); A3, “What Is USB3 Vision?”, automate.org (350–400 MB/s sustained); Opto Engineering, “Camera Link,” opto-e.com (255 and 680 MB/s at 85 MHz); A. Wilson, “CoaXPress gains support as bandwidth rises,” Vision Systems Design (14 February 2018), vision-systems.com (at least 95 % of the coded CoaXPress rate carries image data).
  13. Pixels across a feature: M. Henkart, “Spatial Resolution in Machine Vision,” Commonlands Optics (updated May 2026), commonlands.com (2 pixels as the sampling floor, 3–5 for production inspection, 10 or more for measurement, all as starting heuristics).
  14. Texas Instruments, “Light That Freezes Motion – Insight into a LED Lighting Control Design for Machine Vision,” technical article SSZT704 (May 2018), ti.com (motion blur of at most one pixel, by shutter or strobe).

Textbooks

Free introductions