Most inspection tasks do not need color — they need contrast between the feature and everything around it. A monochrome sensor with the right filter in front of the lens collects more light per pixel, samples fine detail once instead of interpolating it, and lets you tune contrast by choosing a wavelength. That combination reads codes a color camera smears, separates scratches a color camera washes out, and images near-infrared and ultraviolet bands the eye never sees. The sections below give you the physics behind the choice, a worked signal-to-noise comparison, the filter families and what each costs in light, and the cases where a color camera is still the right answer.
Why a Bayer sensor throws most of the light away
Color cameras are not better sensors wearing extra hardware; they are the same silicon behind a Bayer mosaic. Microscopic red, green and blue filters sit over individual pixels in a fixed pattern: half the pixels green, a quarter red, a quarter blue. Each photodiode sees only its own slice of the spectrum, and the camera's processor reconstructs the other two colors by interpolation — demosaicing.
Under broadband white light, the mosaic costs each pixel about two thirds of the photons. A green pixel passes green, a red pixel passes red, and both turn the rest away; the mono version of the same sensor accepts the whole spectrum on every pixel. The silicon is identical — the dye does the damage.
Interpolation costs resolution too. Structure finer than the color pattern is guessed rather than sampled, so code edges, character strokes and fine scratches all soften. A mono sensor samples the image once, at every pixel, with no guessing step, which is why the mono version of the same sensor resolves small features better than its color twin.
How a filter turns wavelength into contrast
A filter's brief is narrow: pass the light that separates the feature from its background, block everything else. If a crack scatters 850 nm and the anodized face around it absorbs that band, an 850 nm LED plus an 850 nm bandpass on the lens shows the crack bright on a dark field. Under white light the same pair may reflect almost identically, and no software recovers a difference the sensor never received.
Bandpass filters are specified by center wavelength and passband width; machine-vision bandpasses commonly run 10 to 100 nm wide at half maximum. Out of band they block, specified as optical density: OD 3 passes one thousandth of the light, OD 6 one millionth. That blocking is the ambient-control mechanism — hall lights, daylight and the station next door all carry spectra you did not choose, and a bandpass matched to your own LED deletes them before they reach the sensor.
A side effect worth having: a narrow band focuses better. Glass bends blue harder than red, so a broadband image is several slightly different images superimposed. A single-wavelength system has one focus plane, and fine detail sharpens accordingly.
Worked example: one part, three imaging chains
A crack on a dark anodized housing, inspected on a moving line. The exposure ceiling is 10 ms; above it, motion blur crosses a pixel at the line speed. You have the same 5 MP sensor in mono and color, a white LED ring, and an 850 nm LED with a matching bandpass. The per-pixel charge figures below are illustrative; the ratios are the physics.
Chain 1 — color camera, white ring. At 10 ms the Bayer pixel collects 3,000 electrons where the mono pixel collects 9,000: same light, same exposure, same f-number, mosaic passes a third. Shot-noise-limited SNR is sqrt(3,000) = 54.8 against sqrt(9,000) = 94.9. Matching the mono signal takes 3 × 10 ms = 30 ms — 20 ms past the ceiling — or 10 × log10(3) = 4.8 dB of gain (1.6 stops), which lifts read noise along with the signal. And the white-light contrast between crack and anodize was weak to begin with.
Chain 2 — mono camera, white ring. 9,000 electrons, SNR 94.9, but the crack still barely separates from the anodize.
Chain 3 — mono camera, 850 nm LED, 850 nm bandpass on the lens. The crack scatters the band, the anodize absorbs it, and the bandpass deletes the hall lights. Total photons drop, because no filter passes everything, but every surviving photon carries the separation, at the full mono exposure budget and a dark field around it.
Decision for this part: chain 3. The color chain cannot meet the exposure ceiling; the mono-white chain has signal but no contrast; mono plus bandpass has both.
The filter families and what each buys
Five families cover nearly every contrast job:
| Filter | Passes | Blocks | Buys you | Light cost |
|---|---|---|---|---|
| Bandpass | a band around its center, commonly 10-100 nm wide | the rest, OD 3-6 | wavelength separation, ambient rejection, fluorescence emission | in-band loss only |
| Long-pass | everything above a cutoff | shorter wavelengths | NIR work with the visible cut away | little loss in band |
| Polarizer pair | one polarization | the crossed component | glare control on polished, wet or oiled parts | about half per film, more in practice |
| Neutral density | all bands equally | a fixed fraction | exposure control on over-bright scenes | exactly its density |
| Protective window | everything | dust and splash | the front element, in glass or acrylic | negligible |
Two crossed polarizing films — one over the light, one analyser on the lens — let you rotate a specular reflection away while diffuse texture stays put; each film passes at best half of unpolarized light, and the pair's total cost in f-stops is worked through in polarizer light loss. When the scene is simply too bright, a neutral density filter trims exposure without touching the spectral balance; its optical density is a multiplication you can plan in advance. For cutoff edges, mounts and glass types, the filter selection guide covers the rest.
Where mono plus a filter wins
Codes and characters. OCR and barcode reading live on edge contrast at one wavelength. Mono keeps module and stroke edges un-interpolated, and inks that look solid black under white light turn transparent or dense as the band moves — pick the band that drives the separation.
Surface defects. Scratches, cracks and dents on shiny or dark parts pair darkfield geometry with mono sampling; where the surface is polished, wet or oiled, the polarizer pair removes the glare that drowns them. The geometry options are mapped in lighting geometry for image contrast.
Near-infrared. Silicon responds out to roughly 1,000-1,100 nm, fading past 900 nm, so 850 nm is comfortably native. Adhesives, resins, moisture and thin plastics separate in NIR where visible light sees nothing; beyond silicon, SWIR takes over — the boundaries are set out in SWIR vs NIR vs visible.
Ultraviolet fluorescence. A UV LED excites fluorescence in greases, adhesives and coatings; a blocking filter on the lens passes only the emission and kills the excitation light. Shield the cell and cap the dose: 365-395 nm LEDs at inspection intensity still warrant eye protection. The bench procedure is in reflected UV surface inspection.
Pairing the camera, lens and light
Specify the chain together, because the filter shifts the constraint onto every part of it.
Camera. Take the mono variant of the sensor class your resolution and frame rate need, then the interface: GigE for standard lines and cable runs up to 100 m, USB3 for short runs, 10GigE or CoaXPress when the pixel rate climbs. The three mono cameras below span the spread most cells need: 6 MP GigE, 20 MP USB3 on a 1" sensor, 12 MP USB3 at 30 fps and 4000 × 3000:
| Specification | MV-CT0MG0060/R/NN/NN | MV-CS200-10UM | LS-CMR-0166 |
|---|---|---|---|
| Sensor type | CMOS, rolling shutter | CMOS, rolling shutter | – |
| Sensor model | Sony IMX178 | Sony® IMX183 | Sony IMX226 |
| Pixel size | 2.4 μm × 2.4 μm | 2.4 μm × 2.4 μm | 1.85 μm |
| Sensor size | 1/1.8" | 1" | 1/1.7" |
| Resolution | 3072 × 2048 | 5472 × 3648 | 4000 × 3000 (12MP) |
| Max. frame rate | 19.5 fps @ 3072 × 2048 Mono 8 | 19.2 fps @ 5472 × 3648 Mono 8 | 30 fps |
| Dynamic range | 71.3 dB | 65.5 dB | – |
| SNR | 41.3 dB | 41.5 dB | – |
| Gain | 0 dB to 24 dB | 0 dB to 24 dB | – |
| Exposure time | 25 μs to 3.1 sec | 44 μs to 0.83 sec | – |
| Exposure mode | Off/Once/Continuous exposure mode, supports Rolling and Global Reset | Off/Once/Continuous exposure mode, supports Global Reset and Rolling | – |
| Pixel format | Mono 8/10/10Packed/12/12Packed | Mono 8/10/10Packed/12/12Packed | – |
| Price | $909.00 | $759.00 | $560.00 |
Values as printed in each product's data sheet; open a part for its drawing and full specifications.
Lens. The image circle must cover the sensor, and the filter screws into the lens front thread or sits in a holder behind it. Light loss moves the exposure budget, so lens speed carries the margin: on a 1.1" sensor, a 16 mm C-mount lens rated for 20 MP with an F2.8-22 iris leaves f-number headroom when a polarizer pair takes its stops.
- Type
- Machine vision fixed
- Sensor format
- 1.1"
- Mount
- C-mount
- Resolution
- 16-25 MP
Focus. Refocus with the filter and the real illumination installed. Glass bends near-infrared slightly less than visible light, so best focus moves a little, and the error is largest on fast apertures. Lock the adjuster afterwards, so vibration cannot find slack. Filter both by image circle and resolution in the machine vision lenses catalog.
Light. Match the LED peak to the filter center within a few nanometres, strobe it, and let the bandpass reject what the enclosure cannot. Controller-to-light runs — connectors, extension cables, current — live in lighting accessories. Which color of light drives the separation is its own decision: which LED colour gives the best contrast and light color and monochrome camera contrast work through it.
Start the camera half of the build here:
The configurator matches a camera, lens, light, light controller and cables to each other, step by step, and lists only parts that fit what you already picked.
When a color camera is the right call
One wavelength separates two materials; hue separates many. Sorting wire by color, grading produce, checking multicolor print — classes that differ across the whole spectrum need a color sensor, and no filter reconstructs information the mosaic discarded. For that job, a 2.5 MP GigE global-shutter color camera covers small parts at line rate:
- Sensor format
- 1/1.7"
- Lens mount
- C-mount
- Interface
- GigE
- Resolution
- Up to 3 MP
If the Bayer penalty is the blocker — you need true color and full resolution together — 3-sensor prism designs split the spectrum optically before it reaches silicon, and the prism comparison sets out the trade. When ambient light swings through the day, the mono color-sorting article shows when a mono sensor still holds the decision.
Checks before you order
- Find the band on the bench. Swap LED colors over the part and image through sample filters with a mono camera; a ten-minute test beats any table.
- Order mono, not mono mode. A desaturated color image keeps the photon loss and the interpolation; confirm the sensor variant is mono.
- Confirm the window. For NIR work the sensor must sit behind plain glass, not an IR-cut filter; one window turns an 850 nm cell black.
- Budget the light. Each polarizing film passes about half the light before real losses, and an ND density multiplies exposure by its factor; raise LED drive or exposure to compensate, then check the LED strobe duty cycle so the light survives the pulse.
- Check threads and circles. The filter thread must match the lens front, and the image circle must cover the sensor diagonal; the camera finder and lens finder filter by both.
- Spec the rejection. An enclosed, strobed cell runs fine with a wide band; an open line under hall or daylight wants a tighter one.
More sensor-side reading sits on the cameras topic page.
The decision, in one line
If one wavelength separates the feature from its background — and a ten-minute bench test settles whether one does — the build is a mono camera, a bandpass at that wavelength, and an LED that peaks there; the color camera keeps the jobs where the classes are hues. Spend the exposure you save on frame rate or noise margin, and let the filter delete the light you did not choose. Build the camera side, browse area scan cameras, or tell us the part.
Questions
How much more sensitive is a monochrome camera than a color one?
Under a broadband white illuminant, roughly three times the photons per pixel: about 1.7 times the shot-noise-limited SNR, or 1.6 stops. Under a narrowband LED the gap narrows, because the matching Bayer channel passes most of that band too; expect a 1.3-2x photon advantage there. The exact figure follows the illuminant spectrum and the sensor's quantum-efficiency curve.
Can I turn a color camera monochrome in software instead?
No. The Bayer mosaic is hardware in front of the photodiodes, so a color camera always splits the light first and re-guesses it second. Desaturating the demosaiced image recovers none of the lost photons and keeps the interpolation softness. If the task is contrast, buy the mono variant of the same sensor — most machine-vision camera lines offer both, usually at the same resolution.
Do I still need a bandpass filter if my light is a narrowband LED?
Often yes, and the reason changes: the filter's job becomes rejecting ambient rather than shaping your light. A strobed light inside an enclosed cell may not need one; an open line under hall or daylight does. Match the center wavelength to the LED's peak and keep the passband wide enough for the LED's tolerance, since LED peak wavelength drifts a few nanometres over a production temperature range.
Will my lens still focus with a near-infrared filter installed?
Yes, but best focus moves: glass refracts near-infrared slightly less than visible light, and the error grows on fast apertures. Focus with the filter and the actual illumination installed, then lock the adjuster. Silicon sensors respond to roughly 1,000 nm, so an 850 nm system is comfortably native.
Does the filter go on the lens or on the light?
Both places have jobs. The lens-side filter selects what reaches the sensor: bandpass for wavelength separation, analyser polarizer for glare, ND for exposure. A polarizing film over the light polarizes the illumination so the lens-side analyser can cancel specular reflections. In fluorescence work, trimming filters on the light itself clean the excitation before it leaves. Match thread sizes to the lens front and the light aperture.

