Strobe Crosstalk in a Multi-Camera Cell: Timing, Filters, and the Frame That Proves It
Strobe crosstalk can be optical spill, trigger crosstalk or filter leakage. Test one strobe at a time and keep the strobe-only frame in the...
read more…
A lens that is 20 percent darker in the corners is not automatically defective. Vignetting is the falloff from the center to the edge, plus any light blocked by the barrel. The question is not whether it exists, but whether the corner signal still carries the measurement. If the corner stays above the noise floor with threshold margin, a 20 to 30 percent falloff can be acceptable. If you measure a dark feature near the corner or compare intensity across the field, a 10 percent falloff can break the call. This article separates the causes, shows how to measure relative illumination, and sets a pass limit for the application.
Corner darkening has three common causes, and they need different fixes. Natural roll-off is the cosine-fourth falloff of illumination with field angle; it is physics, not a defect. Optical vignetting is light blocked by the lens barrel or stop; it improves as you stop down. Mechanical vignetting is light blocked by a filter, adapter, hood, or mount that is too small; it is a system error, and no lens setting will fix it.
| Cause | Signature | Fix |
|---|---|---|
| Natural roll-off (cos⁴) | Smooth falloff toward the corner, present at every aperture | Use a smaller sensor or a lens with a larger image circle; accept it if the corner signal is adequate. |
| Optical vignetting | Improves noticeably when you stop down | Stop down, or choose a lens with better relative illumination at the working aperture. |
| Mechanical vignetting | Hard edge or asymmetric shadow; does not improve with aperture | Remove the filter/hood/adapter, or use a larger mount and clear aperture. |
Corner color cast is a fourth effect. It can come from the sensor’s chief ray angle and microlenses rather than from illumination, and it can be present even when the brightness looks uniform. If the corner is darker in one channel and not the others, measure per channel and read our note on corner colour cast and CRA before changing the lens.
A catalog value such as “80 percent relative illumination at the corner” is a starting point, not a pass/fail. The application decides. A bright, high-contrast part can tolerate a 30 percent falloff because the corner edges are still far above the threshold. A dark feature on a dark background at the corner may fail at 10 percent because the edge contrast is only a few gray levels. The same lens can pass one station and fail another.
The useful question is: what is the signal at the corner, and how much margin does the decision need? If the threshold is set at the center and applied to the whole image, a darker corner shifts the effective threshold and can turn a good part into a reject. If the inspection uses local thresholds or normalized contrast, the same falloff may be harmless. Measure the corner signal on the real part, not on a white target alone.
Use a uniform white or gray target that fills the field, with no texture and no clipping. Focus the lens at the production working distance, set the production aperture, and freeze the exposure and gain. Take one image and compare the average intensity in a central patch with patches near each corner, at the same image height. Relative illumination is the corner value divided by the center value, expressed as a percentage. Repeat wide open and at the production stop; the difference tells you how much is optical vignetting and how much is natural roll-off.
Use a diffuser in front of the light so the target is evenly lit; a hot spot in the illumination looks like a lens problem. Avoid a target that is too small or too close to the edge, and check that the corners are inside the sensor’s active area. If the camera has a color filter array, measure each channel separately; a per-channel difference points to CRA or coating effects, not just brightness. Edmund Optics’ note on relative illumination, roll-off, and vignetting defines the terms and gives worked examples, including a 16 mm lens at f/1.4 with about 57 percent relative illumination at the corner of a 2/3-inch sensor and 72 percent at the corner of a 1/2-inch sensor.

Ask for a relative illumination curve against image height, at the aperture you will use, and for the sensor size you will use. A single corner percentage at one aperture is not enough; the curve shows where the falloff starts and how fast it changes. Ask for the image circle and the recommended sensor format, and check that your sensor fits inside it with margin. A lens that “covers” the sensor but has no margin can show mechanical vignetting at the corners, which is why the image circle matching guide matters.
Also ask for the distortion and the chief-ray-angle data if you measure or compare color across the field. The lens and the sensor form a system; a lens with good relative illumination can still show corner color shading if the CRA profile is wrong. The machine vision lens selection guide covers the five inputs, and the image circle note explains why a passing image circle can still leave dark corners.
The clearest failure is a threshold that works at the center and fails at the corner. A dark corner lowers the edge contrast, so a fixed threshold either misses the edge or calls noise as an edge. Sub-pixel edge detection also loses precision when the contrast falls; the edge position becomes noisier even if the edge is still found. Intensity-based checks, such as color sorting or defect classification, are even more sensitive because they compare absolute values across the field.
Stopping down helps optical vignetting, but it also reduces the light and can push the image into diffraction. If the lens is already at its best aperture, stopping down further may improve the corners while softening the center. The right aperture is the one where the worst-case corner contrast and the smallest feature both pass, not the one with the highest center sharpness. Measure both at the production aperture.
Before ordering a lens, check the simple causes. Remove the filter, hood, or adapter that may be clipping the cone. Stop down one stop if the light budget allows. Shift the part so the critical feature is closer to the center, if the mechanics allow. Add a diffused corner light or a ring light to lift the corner signal, but check that it does not create a new hot spot. A flat-field correction can normalize the brightness, but it also amplifies noise at the corner; use it only when the corner signal is comfortably above the noise floor.
If the corner is still the limiting factor, a lens with a larger image circle or better relative illumination is the clean fix. Our FA machine vision lenses cover 2/3-inch to 1.1-inch formats with a low distortion budget; the right choice depends on the sensor and the corner signal, not on the largest format. A larger lens on a small sensor often improves the corner because the sensor uses the center of the image circle.
Set the production aperture, working distance, and exposure. Image a uniform target and record the center and four corner values. Image the real part with the critical feature at the center and at the corner, and record the edge contrast and the decision result. Define a minimum corner relative illumination from the part data, not from a catalog: the lowest corner value that still gives the required contrast margin. Record the lens serial, aperture, working distance, and camera settings. Repeat after any lens, filter, or mount change.
If the station uses a fixed threshold, check it at the corner as well as the center. If it uses local thresholds, confirm that the local window is large enough to include both the feature and the background. A station that passes a white target but fails a dark part at the corner is not a lens defect; it is a qualification gap.
It can be, depending on the lens, sensor size, and aperture. “Normal” is not the same as “acceptable” for your measurement. Measure the corner signal on the real part and set the limit from the contrast margin.
It reduces optical vignetting until the aperture is small enough that mechanical vignetting or diffraction dominates. The best aperture for corner uniformity is not always the sharpest aperture in the center.
It can flatten the brightness, but it also amplifies noise where the signal is weak. If the corner is near the noise floor, fix the optics or the light instead.
No. Brightness falloff and color shading can have different causes. Measure each channel; a color-dependent corner shift points to CRA, microlenses, or coating effects, not just illumination.
Not necessarily. Telecentric lenses help with magnification and perspective; their relative illumination still depends on the design and the sensor. Check the RI curve for the telecentric lens you are considering.
If a station is losing corner contrast and you need a lens with a known relative illumination curve for your sensor and working distance, send the camera, lens, and corner data to our team. We can review the FA lens options against the image circle and the aperture you actually use.
Related reading: FA C-Mount Lens Selection by Sensor Format (2/3 in to 1.1 in), Selecting a Lens for High-Resolution Sensors (5MP to 20MP)
2 thoughts on “Vignetting in Machine Vision: How Much Is Normal and When It Breaks a Measurement”