Machine Vision Sensor Selection

Image Sensor Selection for Machine Vision: Resolution, Shutter Type, and Lens Pairing by Application

Resolution, shutter, spectral response, and interface bandwidth, each matched to the inspection task rather than to the megapixel count.

By the Commonlands engineering team · Updated July 2026 · 16 min read

A bare CMOS image sensor die wire-bonded on a green evaluation board

Select an image sensor by working backward from the inspection task: required feature resolution sets pixel pitch, motion profile sets shutter type, illumination strategy sets spectral response, and process speed sets frame rate against interface bandwidth. The lens comes after: it must cover the sensor format and resolve the pixel pitch at the working F-number, or the sensor's resolution is wasted.

Global shutter is the safer default for anything with motion; rolling shutter is a legitimate, lower-cost choice for static scenes. Sony Pregius and Pregius S (IMX253, IMX264, IMX568) lead global shutter industrial designs; onsemi AR0234 and similar sensors are common in embedded and automotive systems. Sony's rolling-shutter STARVIS 2 line (IMX678) is a strong low-light choice for static or near-static scenes.

How much resolution does the inspection task need?

Resolution requirement comes from the smallest feature you must detect, not from an arbitrary megapixel target. Reliable detection needs 3 to 5 pixels across the feature. A 50µm defect sampled at 3 pixels needs roughly 17µm per pixel projected into object space, which combines with your working distance and lens focal length to set the field of view a given sensor resolution can cover.

Work the chain in order: feature size sets sampling requirement, sampling requirement plus field of view sets required pixel count, and pixel count plus sensor format sets pixel pitch. Skipping straight to "more megapixels" oversizes the optics, the interface bandwidth, and the processing budget without improving detection reliability.

Required pixel pitch (object space) = feature size / (3 to 5) Required sensor pixels (per axis) = FOV / required pixel pitch (object space) Solve for sampling first, then pick the sensor resolution that satisfies both axes at your target field of view.

Sensor formats above the requirement add cost, data volume, and processing latency without improving detection outcomes. A 25MP sensor sampling a feature that only needed 5MP of resolution wastes interface bandwidth and increases per-unit cost with no accuracy benefit. Undersizing is the more common and more expensive mistake to discover late: a sensor selected on price alone that cannot resolve the required feature forces a full camera and lens respin.

Insight

Calculate required pixel pitch before comparing sensor part numbers. Two sensors with the same megapixel count but different formats have different pixel pitches, and pixel pitch, not megapixel count, determines whether your lens can resolve the feature at all. See spatial resolution in machine vision for the full sampling-to-lens-MTF chain.

Several CMOS sensors of different formats compared, from a tiny die to a one-inch die
Sensor size grows along the diagonal as the format increases.

Global shutter vs rolling shutter for machine vision

Global shutter exposes every pixel at the same instant; rolling shutter exposes rows sequentially over a readout period lasting microseconds to milliseconds. For a stationary scene, the difference is invisible. For anything that moves relative to the camera (the object, the camera, or both), rolling shutter introduces geometric distortion because the scene changed between when the first row and the last row were sampled.

Rolling shutter failure modes

A vertically oriented object moving horizontally shears into a parallelogram: a rectangular part on a conveyor no longer measures as rectangular. On a sensor with a 10ms readout, a part moving at 500mm/s moves roughly 5mm in object space during readout; the resulting image-plane smear or skew is that displacement times the system magnification. Camera-mounted vibration produces a wavy, jello-like wobble as different rows sample slightly different angular positions. This corrupts SLAM and visual odometry, which depend on consistent pixel positions frame to frame.

Strobed illumination compounds the problem. If a strobe fires faster than the full readout period, only the rows being read at that instant receive the flash, producing a bright band across some rows and dark rows above and below it. Synchronizing a short strobe pulse with rolling shutter defeats the purpose of the short pulse: the strobe duration would need to span the entire readout to expose evenly.

Warning

A fan rotating at 3,000 RPM completes a 30-degree rotation in about 1.7ms. A sensor with a 2ms readout captures the top of the blade at one angular position and the bottom at a meaningfully different one, producing a curved, sheared blade image that misrepresents the real geometry. No lens change fixes this. It is a readout-timing artifact, not an optical one.

When global shutter is required

Conveyor inspection, robotics and pick-and-place, strobed illumination, precision dimensional measurement, and any system where the camera itself moves during operation all require global shutter. Even a slow 200mm/s conveyor belt moves 0.2mm during a 1ms readout. For a 10µm feature, that is a real positional error at typical machine vision magnifications, not a rounding error. Barcode decoders depend on consistent bar spacing; rolling shutter skew relative to the direction of travel can distort bar spacing and cause decode failures on fast-moving lines.

When rolling shutter is good enough

Rolling shutter is not a defective technology. It is the right choice when the scene does not move during the readout period. Document capture, static QR and label reading, and kiosk scanning involve no object motion during exposure. Web inspection of a continuously moving material can still use rolling shutter if the camera is triggered with an exposure short enough that the expected skew from web speed times readout time stays within your measurement tolerance; calculate it rather than assume it. Cost-sensitive embedded modules for retail analytics or presence detection often use rolling shutter deliberately, because the scenes are static or near-static and the artifact is below the threshold the application needs to distinguish.

FactorGlobal shutterRolling shutter
Motion toleranceNo readout skew or wobble; motion blur still depends on exposure timeSkew and wobble scale with speed and readout time
Strobed illuminationCompatible with short pulsesRequires strobe duration to span full readout
Typical costHigher, since a storage capacitor per pixel adds die areaLower at a given resolution and pixel pitch
Low-light sensitivityOften slightly lower QE at equal pixel pitch (older designs)Often higher QE and lower noise at equal pixel pitch
Common mount pairingC-mount, larger formats, adjustable irisM12, compact embedded modules
Typical sensorsIMX253, IMX264, IMX568, AR0234IMX477, OV5640, IMX415, IMX678

A sharper or lower-distortion lens will not reduce rolling shutter skew or flash banding, because the distortion is a temporal readout artifact, not an optical aberration. Fixing it requires a global shutter sensor or a guarantee that the scene stays still for the full readout period. Shutter type also correlates with lens mount in practice: global shutter cameras in higher-accuracy industrial systems commonly pair with C-mount lenses, which give an adjustable iris ring for depth-of-field control. That control is practical because illumination in these systems is usually programmatically controlled. Rolling shutter sensors dominate compact embedded modules paired with M12 lenses for size and weight.

See the M12 lens collection and the M12 vs C-mount vs CS-mount guide for the full mount tradeoff.

Pixel size vs lens resolving power

Pixel pitch is the center-to-center distance between adjacent pixels. Smaller pixels pack more resolution into a given sensor format, but each pixel captures less light and the lens must deliver higher contrast at finer spatial frequencies to actually resolve detail at pixel scale. A sensor's resolution is only as good as the lens resolving it. Pairing a high-resolution, small-pixel-pitch sensor with a lens specified for a lower-resolution sensor produces soft detail that no amount of sensor resolution recovers.

Sensor familyExample part numbersPixel pitch
Pregius gen 1IMX174, IMX2495.86µm
Pregius gen 2IMX264, IMX265, IMX2733.45µm
Pregius S (gen 4, BSI)IMX530, IMX531, IMX547, IMX5682.74µm
STARVIS 2 (BSI, rolling shutter)IMX6782.0µm
Raspberry Pi HQ / embeddedIMX4771.55µm
Automotive / embedded global shutterAR02343.0µm

Diffraction sets a hard limit on lens sharpness regardless of lens quality, and the limit scales directly with F-number. The diffraction-limited Airy disk diameter is approximately 2.44 × wavelength × F-number, which for visible light (≈0.55µm) works out to roughly 1.3 × F-number in micrometers, so at F/4 the diffraction spot is roughly 5.4µm in diameter and at F/8 it is roughly 11µm. As a practical rule of thumb, the aperture at which the Airy disk grows to roughly twice the pixel pitch (the point where diffraction begins visibly softening resolution) falls at approximately F# ≈ 1.5 × pixel pitch (µm).

Airy disk diameter (µm) ≈ 1.3 × F# Rule of thumb for visible light (≈0.55µm wavelength), from the standard Airy disk diameter formula 2.44λF# (Smith, Modern Optical Engineering, for the 2.44λF# spot-size result). For a 3.45µm pixel pitch sensor (IMX253, IMX264), the Airy disk reaches twice the pixel pitch at about F/5.1, so meaningful diffraction softening begins at apertures narrower than roughly F/5. For a 2.0µm pixel pitch sensor (IMX678), the same twice-pitch threshold falls at about F/3.0, a noticeably faster aperture, meaning small-pixel sensors need faster lenses and higher-MTF optics to avoid being diffraction-limited.

This is why small-pixel sensors demand both a high-MTF lens and deliberate attention to working aperture: stopping down for depth of field on a 2µm-pitch sensor can push you past the diffraction floor before you gain the depth you wanted. Treat these figures as a design rule of thumb, not a precise cutoff. Verify against the lens MTF curve at your actual working aperture. See how to read MTF curves and spatial resolution in machine vision for the full resolving-power chain.

The aperture-versus-depth-of-field tradeoff this creates is covered in full in f-number in machine vision.

NIR sensitivity and illumination strategy

Sensor spectral response should follow the illumination strategy, not the other way around. Standard silicon CMOS sensors retain meaningful quantum efficiency into the near-infrared, typically out to 1000–1100nm, but most machine vision cameras ship with an IR-cut filter installed to preserve visible-light color accuracy. If your system illuminates with 850nm or 940nm LEDs (common for covert lighting, low-visible-light environments, or combined day and night operation), remove the IR-cut filter or specify a NIR-optimized variant, and confirm the sensor's QE curve at your chosen wavelength rather than assuming uniform NIR sensitivity across parts.

850nm sensors retain higher QE than 940nm variants on most silicon, at the cost of a faint visible red glow from the illuminator that is sometimes undesirable in public-facing installations. 940nm is effectively invisible to the human eye but loses roughly half the QE of 850nm on typical CMOS sensors, which means either brighter illumination or a faster lens aperture to compensate. Match sensor, filter, and illuminator wavelength as one decision, not three independent ones: a NIR-sensitive sensor behind a standard visible bandpass filter gains nothing from the illuminator.

Technical

Confirm image circle and lens coating compatibility with your NIR band. See IR-corrected lens machine vision and bandpass filter machine vision for lens-side filter selection.

Browse the Commonlands filter collection for stocked bandpass and IR-cut options.

Frame rate vs interface bandwidth

Frame rate is a function of sensor resolution and interface bandwidth together, not sensor speed alone. A 25MP sensor over GigE Vision maxes out below 10 fps; the same sensor over CoaXPress at 25 Gbps sustains 45 fps or more. Selecting a high-resolution sensor without confirming the interface can support your required frame rate produces a system that meets the resolution spec and misses the throughput spec.

SchnittstelleTypical bandwidthCable lengthBest fit
USB3 Vision380 MB/s~5mBenchtop and lab systems, simple integration
GigE Vision125 MB/s100m (standard Ethernet)Lower-resolution or lower-frame-rate systems, long cable runs, low per-port cost
10GigE Vision1.25 GB/sLong runs, more expensive switchingHigh-resolution systems needing longer cable runs than USB3
CoaXPressup to 12.5 Gbps (~1.56 GB/s) per laneMulti-lane configs availableHighest resolution and highest frame rate; requires a specialized frame grabber

Check frame rate and interface bandwidth before finalizing sensor resolution, particularly for high-speed lines. A conveyor running at a fixed line speed sets a hard minimum frame rate to avoid gaps in coverage. Work backward from that minimum to confirm the sensor-and-interface combination can sustain it at your target resolution, not just in a burst-mode datasheet figure.

Sensor format and lens coverage

Sensor format is the physical size of the imaging area. The diagonal measurement sets how large a lens image circle you need. If the image circle is smaller than the sensor diagonal, the corners receive no light, producing vignetting. Larger sensor formats capture a wider field of view at a given focal length, or let you use a longer focal length to hold the same field of view with a shallower depth of field. See CMOS sensor size for the full format-to-dimension reference and sensor size and lens compatibility for the vignetting math.

Sensor formatExample sensorsPixel pitchTypical MPCommonlands lens
1/2.8" IMX327 2.9µm 2–5 MP M12-Objektive
1/4" OV5640 1.4µm 5 MP M12-Objektive
1/2.3" IMX477 1.55µm 12 MP M12-Objektive
1/1,2" IMX585 2.9µm 8 MP M12-Objektive
2/3" IMX264 3.45µm 5 MP C-mount 2/3" ($149)
1.1" IMX253 3.45µm 12 MP C-mount 1.1" ($249)
1/2,6" AR0234 3.0µm 2.3 MP M12-Objektive
1/1.8" IMX547 2.74µm 5 MP C-Mount-Objektive
1.1"–1.2" IMX532, GMAX0505 2.5–2.74µm 16–25 MP C-mount 25MP ($349)

A lens rated for a 2/3" sensor produces visible corner vignetting on a 1.1" sensor at every aperture. Stopping down does not fix a coverage mismatch, because the problem is geometric, not a depth-of-field effect. Always match or exceed the sensor format with the lens specification; oversizing the lens format works fine but may add unneeded cost.

Sensor selection by budget tier

Budget constrains which sensor families are realistic before optical performance enters the conversation. Group the decision into three tiers and match the lens tier to the sensor tier.

Cost-sensitive embedded systems

Rolling shutter sensors such as OV5640 and IMX415 in 1/4" to 1/2.7" formats, paired with M12 lenses. Common in retail analytics, access control, and presence detection where scenes are static or near-static and per-unit cost drives the design. At this tier the sensor is often a modest share of the total bill of materials, but confirm against your own costing rather than assuming it.

Mid-range industrial systems

Global shutter Pregius sensors such as IMX264 and IMX253 in 2/3" to 1.1" formats, paired with C-mount lenses. Standard for conveyor inspection, robotics, and general industrial automation where motion is present but extreme resolution or speed is not required. This tier fits many common factory-floor machine vision deployments.

High-resolution and high-speed systems

Pregius S global shutter sensors such as IMX568, high-sensitivity rolling shutter sensors such as the IMX678, or 25MP+ sensors such as the GMAX0505, paired with high-MTF C-mount lenses and CoaXPress or 10GigE interfaces. Justified when the inspection task genuinely requires small-pixel resolution or high frame rate at high resolution, not as a default upgrade path. Verify the lens, interface, and frame grabber all support the sensor before committing budget to this tier.

Procurement

Sensor tier should be the last thing you upgrade, not the first. A mid-range sensor paired with a lens that fully resolves its pixel pitch often outperforms a high-resolution sensor paired with an underspecified lens, at a lower total system cost.

Dynamic range, quantum efficiency, and EMVA1288

Dynamic range

Dynamic range measures how many stops of light intensity a sensor captures without clipping highlights or losing shadow detail. It matters most in scenes with simultaneous bright and dark regions: shiny metal and black rubber in the same frame, or an outdoor inspection under direct sunlight with shadowed areas. Many Pregius sensors deliver 60–70 dB of dynamic range. HDR modes exist on some sensors but add complexity to illumination control and image processing; standard dynamic range is typically sufficient unless you have a documented clipping problem.

Quantum efficiency

Quantum efficiency (QE) is the fraction of incident photons that generate an electron in the photodiode. A sensor with 80% QE generates twice the signal of a sensor with 40% QE under identical illumination. Backside-illuminated sensors (Sony Pregius S) typically show higher QE than front-side illuminated sensors at the same pixel pitch, because the backside construction removes the metal wiring layers that partially block the photodiode in front-side designs. Higher QE reduces required illumination power and improves signal-to-noise ratio in low-light applications.

EMVA1288

EMVA1288 is the European Machine Vision Association standard for measuring and reporting sensor performance: quantum efficiency, dark current, temporal noise, fixed-pattern noise, dynamic range, and sensitivity, all under a defined methodology. Vendor headline specs are not directly comparable across manufacturers because measurement conditions vary. When a sensor decision is high-stakes, request EMVA1288 characterization data rather than comparing marketing datasheets.

Warning

A "dynamic range" figure from one vendor may be measured under different conditions than the same figure from another vendor. If you are making a high-stakes sensor selection, use EMVA1288 data where available rather than comparing headline numbers from different datasheets.

CIL542 12mm C-mount lens, a 25MP lens for GMAX0505 sensors with 2.5 micron pixel pitch
The CIL542 is a 25MP-rated 12mm C-mount lens for sensors at 2.5µm pixel pitch such as the GMAX0505. Matched resolution avoids wasting sensor detail on an underspecified lens.

Recommended lenses by sensor format

For machine vision sensors up to the 1.1 inch format, Commonlands stocks a matched lens in each band. The 6mm M12 CIL059 and IP67 3.2mm M12 CIL034 cover embedded sensors up to 1/1.7 inch, the 8mm CIL508 and 12mm CIL512 C-mount lenses cover 1.1 inch 12MP global-shutter sensors such as the IMX253, and the 12mm 25MP CIL542 covers 1.1 to 1.2 inch high-resolution sensors at 2.5µm pixel pitch.

How we picked these: each band lists the Commonlands stock lens whose rated format and resolution meet or exceed the sensor, taken from the format-to-lens pairings in the sensor format table above. Coverage comes from each lens's rated image format, not from field-of-view math done on this page.

Sensor format band Top pick Mount & EFL Why it fits
Embedded, up to 1/1.7" (OX08B40, AR0821 class) CIL059 6mm low-distortion M12 M12, 5.9mm Rated up to 1/1.7", 4–6MP at F/1.7. The fast aperture suits low-light embedded modules.
Embedded and sealed, up to 1/1.8" CIL034 IP67 3.2mm M12 M12, 3.25mm Rated up to 1/1.8", 5–10MP variants. IP67 sealing is specific to this SKU, not a property of all M12 lenses.
1.1" 12MP industrial (IMX253, IMX304) CIL508 8mm C-mount C-mount, 8mm Rated for 1.1" 12MP with an F/2.4–F/16 iris. Wider field than the 12mm at the same working distance.
1.1" 12MP industrial, longer reach CIL512 12mm C-mount C-mount, 12mm Same 1.1" 12MP coverage as the CIL508, with a longer working distance for a tighter field.
1.1"–1.2" high-resolution, 20–25MP (GMAX0505, TRI204S) CIL542 12mm 25MP C-mount C-mount, 12mm Resolves 2.5µm pixel pitch at 25MP. Matched to high-MTF small-pixel sensors where an underrated lens wastes detail.

Sensors larger than the 1.1 to 1.2 inch formats here, such as 35mm-format line-scan sensors, need F-mount or M42 class optics from vendors like Schneider or Zeiss. Commonlands does not stock that class.

Confirm coverage on your sensor at your working distance with the field of view calculator, and check the sensor diagonal against each lens image circle using the sensor size and lens compatibility guide.

All-glass or hybrid construction, matched to specific sensor formats and pixel pitches. Ships same day from US stock on orders placed before 12 PM PST.

An M12 lens centered directly above a bare CMOS sensor on a camera board
The lens image circle must cover the chosen sensor diagonal.

Häufig gestellte Fragen

How do I choose the right image sensor for machine vision?

Start with the inspection task, not the datasheet. Define the smallest feature you must resolve, whether the object or camera moves during exposure, the illumination band (visible or NIR), and the frame rate the process requires. Those four answers narrow the sensor list before you compare a single megapixel figure.

Once the sensor is chosen, select a Commonlands lens rated for that sensor's format and resolution or better. A lens underrated for format produces vignetting; a lens underrated for resolution produces soft detail regardless of sensor pixel count.

What is the difference between global shutter and rolling shutter?

Global shutter exposes every pixel at the same instant. Rolling shutter exposes rows sequentially over a readout period lasting microseconds to milliseconds. For a static scene the difference is invisible. For anything moving relative to the camera, rolling shutter introduces skew, wobble, or flash banding that no lens can correct because the artifact is temporal, not optical.

What pixel pitch do I need for machine vision?

Divide your smallest feature by 3 to 5 pixels for reliable detection, then work backward through your magnification to the required pixel pitch at the sensor. Smaller pixel pitch resolves finer detail but demands a sharper lens and reaches the diffraction limit at wider apertures.

The diffraction limit applies directly: the Airy disk reaches twice the pixel pitch (the point where diffraction begins visibly softening resolution) at approximately F# ≈ 1.5 × pixel pitch (µm), so a 2µm pixel pitch sensor gets little further benefit from stopping down past roughly F/3. Solve aperture and pixel pitch together, not independently.

Should I use global shutter or rolling shutter?

Use global shutter for conveyors, robotics, pick-and-place, strobed illumination, or any precision measurement with motion. The shear distortion from rolling shutter is not subtle at typical machine vision line speeds, and it cannot be reliably calibrated out unless the motion is well characterized and constant.

Rolling shutter is acceptable for static scenes such as document scanning, microscopy, or fixed-platen web inspection where nothing moves during the exposure interval. When in doubt, global shutter is the safer default, and the cost premium is often modest relative to overall system integration cost, though it varies by sensor and volume.

How does sensor format affect lens selection?

Your lens image circle must cover the sensor diagonal. A lens rated for a 2/3" sensor on a 1.1" sensor produces vignetting (darkened corners where the image circle does not reach the sensor) at every aperture, because the mismatch is geometric rather than a depth-of-field effect.

Always match or exceed the sensor format with the lens specification. Larger-format lenses on smaller sensors work but may over-specify the optics for the application.

Do I need a NIR-sensitive sensor for my application?

Choose a NIR-sensitive sensor and remove or bypass the IR-cut filter when your illumination uses 850nm or 940nm LEDs, common for low-visible-light environments or combined day and night operation. Confirm the sensor's QE curve at your specific wavelength rather than assuming uniform NIR sensitivity.

If your system relies only on visible strobed LEDs or ambient light, standard visible-spectrum sensitivity with an IR-cut filter is sufficient and improves color accuracy.

Can a better lens fix rolling shutter distortion?

No. Rolling shutter distortion results from different rows being sampled at different times, not from optical aberrations. A sharper, lower-distortion lens will not reduce skew, wobble, or flash banding on a rolling shutter sensor.

Fixing rolling shutter distortion requires switching to a global shutter sensor or ensuring the scene does not move during the full readout period.

What is EMVA1288?

EMVA1288 is the European Machine Vision Association standard for measuring and reporting image sensor performance. It provides comparable data on quantum efficiency, temporal noise, dynamic range, and sensitivity across sensors and manufacturers using one defined methodology.

EMVA1288 datasheets give verified, methodology-consistent numbers rather than marketing-optimized specs. Use EMVA1288 data rather than headline specifications when comparing sensors across manufacturers for a high-stakes decision.

How do I match a Commonlands lens to my sensor?

Identify your sensor format and pixel pitch. Choose a Commonlands lens rated for that format or larger, then verify the lens resolves your pixel pitch at your working F-number by comparing the diffraction-limited Airy disk diameter (≈2.44 × wavelength × F-number, roughly 1.3 × F-number in µm for visible light) against your pixel pitch as a rule-of-thumb check. For a 3.45µm pixel pitch sensor, the Airy disk reaches two pixels wide at roughly F/5.1, so treat that as a conservative point to verify against the lens MTF curve rather than a hard cutoff.

Use the Commonlands field of view calculator to confirm coverage at your working distance, and the depth of field calculator to verify depth of field at your working aperture. Contact Commonlands engineering if you are still uncertain. Sensor-to-lens matching is routine work for us.

Need help matching a lens to your sensor?

Commonlands engineering can recommend the right lens for your sensor format, pixel pitch, shutter type, and working distance before you commit to hardware.