Where should you mount the filter in your machine vision camera setup?

|K WONG

Introduction: The Role of a Filter

Think of an optical filter like a pair of sunglasses for your machine vision camera. It decides which types of light are allowed to pass through to the camera and which types are blocked. By controlling the light, filters help the camera see specific features more clearly, block out glare, or ignore distracting background light.

But where exactly should this "glass" go? In a machine vision setup, there are three primary places to mount a filter.

Location 1: The Front of the Lens (Most Common)

This is the most popular and straightforward place to put a filter. Most camera lenses have screw threads right on the front, allowing you to simply twist the filter into place.

Pros: Very easy to install, swap, or remove.

  • You can easily clean it.
  • It protects the actual camera lens from dust and scratches.

Cons: The filter is exposed to the outside environment, so it can get dirty or damaged in harsh factory settings.

Best Use Cases: General machine vision tasks, setups where lighting conditions change and filters need to be swapped frequently, and laboratory environments.

Location 2: Between the Lens and the Sensor (Internal)

The sensor is the electronic chip inside the camera that actually captures the image. You can mount a filter inside the camera body, sitting right between the back of the lens and the sensor itself.

Pros: The filter is completely protected from the outside world. It won't get covered in dust, oil, or factory debris.

  • It allows you to change lenses without having to buy a new filter for each lens size.

Cons: It is much harder to install or change.

  • If dust gets inside the camera while you are installing it, it can ruin your images.

Best Use Cases: Harsh, dirty industrial environments where the camera is locked in place and the filter will never need to be changed.

Location 3: On the Light Source (Special Cases)

Sometimes, the filter doesn't go on the camera at all; it goes over the lights that are shining on your subject. This is almost exclusively used for a specific type of filter called a polarizer.

Pros: When paired with a second polarizing filter on the camera lens, it completely eliminates blinding glare and reflections from shiny objects (like metal or plastic).

Cons: Requires buying larger filters to cover the light fixtures.

  • Doesn't help with other filtering tasks, like passing only red light or blocking infrared light.

Best Use Cases: Inspecting highly reflective parts, checking items wrapped in clear plastic, or looking through glass.

Summary: How to Choose the Right Location

Choosing the right spot comes down to a balance of convenience and protection:

  • Choose the front of the lens if you need an easy, standard setup and might want to change the filter later.
  • Choose inside the camera (sensor mount) if the camera operates in a dirty environment and the setup is permanent.
  • Choose the light source if you are specifically fighting intense glare from shiny object.

0 comments

Leave a comment

Please note, comments need to be approved before they are published.