Are you asking about why any filter vs no filter? Without a filter, the camera is basically grayscale with the ability to measure how bright things are. Each filter tries to reduce the amount of light getting to the sensor to focus on certain colors like Red, so a red traffic light can be more visible to the sensor relative to a green light. So some sensors with a Red filter and others without ("Clear" filter) allow the combination to infer that a light more visible to Clear but not Red could mean it's a green traffic light. Because a filter prevent some light from reaching the sensors, it reduces their sensitivity in darker situations, but that's a tradeoff in being able to detect certain colors.