Optical filters are one of the most underutilised tools in machine vision system design. When a camera and illuminator alone cannot produce sufficient contrast between a defect and its background, the right filter transforms an unreliable inspection into a repeatable, high-confidence process.
Why Optical Filters Matter in Industrial Vision
Every industrial environment contains unwanted light — overhead fluorescent tubes, sunlight through windows, reflections from adjacent equipment. This ambient light contaminates the image sensor, reducing contrast and causing false accepts or false rejects. Optical filters solve this problem at the hardware level, before the image is ever processed.
Beyond ambient rejection, filters serve a second purpose: spectral enhancement. By matching the filter’s transmission band to the illuminator wavelength, specific surface features become visible that are otherwise masked by the material’s natural reflectance.
The Main Filter Types and Their Applications
Bandpass Filters
A bandpass filter transmits only a narrow range of wavelengths — typically ±10 nm to ±50 nm around a centre wavelength — and blocks everything else. Mounted on the camera lens, a bandpass filter matched to a red (625 nm) or infrared (850 nm) LED illuminator rejects the majority of broadband ambient light. The result is a stable, controlled image regardless of factory lighting conditions.
Typical applications: barcode and OCR reading, label inspection on metallic substrates, surface defect detection on coloured materials.
Polarizing Filters
Specular reflections from glossy or metallic surfaces are one of the most common causes of overexposed regions in machine vision images. A cross-polarized setup — one polarizer on the illuminator, one on the camera lens, rotated 90° — eliminates direct specular reflection while preserving diffuse surface detail.
Typical applications: inspection of injection-moulded plastic parts, metal surface scratch detection, label verification on varnished or laminated packaging.
Longpass and Shortpass Filters
Longpass filters transmit all wavelengths above a defined cut-on wavelength. Shortpass filters transmit all wavelengths below a cut-off point. These are used when the inspection task requires isolating near-infrared (NIR) illumination from the visible spectrum, or when a specific colour contrast needs to be enhanced or suppressed.
Typical applications: NIR-based inspection through packaging films, colour sorting by spectral contrast, UV fluorescence detection.
Color (Didymium / Contrast Enhancement) Filters
Color filters enhance the contrast between two adjacent colours that appear similar to a monochrome camera. A green filter, for example, darkens red features against a lighter background — making ink marks, stamps, or contamination dramatically more visible without any software processing.
Selecting the Right Filter: Three Key Parameters
- Centre wavelength — match to the LED illuminator wavelength for maximum ambient rejection efficiency.
- Bandwidth (FWHM) — narrower bandwidth provides stronger ambient rejection but requires higher illuminator intensity to compensate for transmission loss.
- Filter diameter — must match the lens thread or be mounted in a compatible adapter. Standard C-mount lenses typically accept M30.5, M37, or M55 filter rings.
Filters and LED Illuminators: A System-Level Decision
Optical filters work most effectively when selected together with the illuminator, not as an afterthought. A narrowband bandpass filter on the camera paired with a narrowband LED illuminator at the same wavelength creates a closed spectral loop — the system becomes essentially immune to ambient light variation throughout the production day.
RODER Vision supplies MidOpt bandpass filters, polarizers, and colour contrast filters compatible with all standard machine vision lenses and industrial camera mounts, fully tested with RODER LED illuminators for guaranteed spectral matching.
