マシンビジョンにおける迷光:ベールフレア、ゴースト、グレア、およびBBARコーティングによる対策
Veiling flare, ghosting, and target-side glare are different problems with different fixes. BBAR coatings, lens design, and filters address each one.
Stray light is non-image-forming light that reaches the sensor after reflecting or scattering inside the lens, not a bright object in the scene. It raises the dark-region floor, compressing contrast until low-luminance detail is unresolvable. Veiling flare spreads it as haze. Ghosting forms a localized secondary image. Target glare is a separate, scene-side problem. Fixing stray light means addressing the optics: lens design, coatings, window count, and shielding.
マシンビジョンにおける「迷光」の意味
Stray light is any light reaching the sensor that did not follow the lens's intended image-forming path. Normal image light travels through the designed stack of surfaces to the sensor. Stray light is everything else: light reflecting off the inner barrel wall, scattering off a polished element edge, bouncing between two surfaces, or scattering from dust near the aperture stop. All of it can still land on the sensor.
The result is a background signal on top of the real image, which lifts the shadow floor and compresses usable dynamic range. It shows up as:
- フレーム全体にわたり空間的に均一に広がるかすみ(ベールフレア)
- 明るい光源からずれた構造化された二次像(ゴースト)
- ピントが合っている場合でも、MTF値と見かけのシャープネスが低下する
- シーンの輝度が高まるにつれて悪化するコントラストの低下
ISO 9358 quantifies this floor as the veiling glare index (VGI): the fraction of scene luminance reaching the sensor as non-image-forming light. A 1% VGI caps usable contrast near 40 dB.
多要素レンズに迷光が発生する理由
Every air-glass interface reflects a fraction of incident light. An uncoated surface reflects about 4-5%. A well-coated surface reduces that to 0.1-0.5%, but not to zero. A lens with 10 surfaces has 10 chances to reflect, each adding to the stray-light budget. The design task is keeping those reflections off the sensor area, absorbing them in baffles (internal blackened rings that trap stray rays), or scrambling them into the noise floor rather than a coherent artifact.
迷光とグレア、フレア、ゴーストの違い
These terms get used interchangeably, but the fix depends on which problem is present. Commonlands maps each failure mode below to its usual cause and the fix that addresses it.
| 問題の種類 | 視覚症状 | 一般的な原因 | 考えられる解決策 |
|---|---|---|---|
| 迷光(一般) | コントラストの低下、シャドウの底上げ、フレーム内のどこかに生じるヘイズやアーティファクト | センサーに到達する光路内の、像を形成しない光 | レンズ設計(バッフル、AR/BBARコーティング)、窓の数の削減、シールド |
| ベールフレア | 画面全体に均一なかすみが生じており、暗い部分が黒ではなく灰色に見えてしまう | 複数の内部表面からの拡散散乱が、広いバックグラウンド信号として蓄積される | AR/BBARコーティングを施した低散乱レンズ、保護窓の数を削減、レンズフード |
| ゴーストフレア | 明るい光源からずれた、構造化された二次像(リング、円盤、筋) | 2つの表面間の反射により、センサー面上またはその付近に、通常は焦点が合っていない二次像が形成される | ゴーストの少ない光学設計。明るい光源を、ゴーストが発生しやすい視野角から遠ざける |
| ターゲットグレア | シーン内のオブジェクトに飽和した鏡面ハイライトが見られ、反射点でディテールが失われている | シーンの被写体からレンズへ直接入射する鏡面反射 | 交差偏波、照明配置、照射角の変化 |
A camera losing contrast outdoors could have any of these, and each needs a different fix: a polarizer will not reduce ghosting from internal reflections, and a lens hood will not remove a specular highlight from a shiny part. Identify which one you have before choosing a fix.
マシンビジョンにおけるグレアをどのように軽減すればよいでしょうか?
Diagnose the failure mode first. For specular highlights on non-metallic surfaces, try cross-polarization: a linear polarizer on the illuminator and a crossed analyzer on the lens. For ambient contamination, use a bandpass filter matched to the illumination wavelength. For sensor clipping, reduce exposure or add an ND filter.
非金属表面における交差偏光
Cross-polarization uses two linear polarizers 90 degrees apart: one over the source, one (the analyzer) over the lens. Specular reflection off a smooth non-metallic surface keeps its polarization and is blocked. Diffuse light depolarizes and partly passes, so surface detail survives. It works on glossy plastics, glass, ceramics, and solder mask but poorly on bare metals.
Each polarizer transmits about 50% of unpolarized light, so cross-polarization usually needs more illumination, a longer exposure, or a wider aperture. A Commonlands C-mount lens with an adjustable iris ring lets you open up to recover light after adding polarizers, then stop back down if depth of field requires it, since illumination in most setups is programmatically controlled.
バンドパスフィルターとNDフィルター
A bandpass filter passes a narrow band matched to the illumination source and blocks out-of-band ambient light, stabilizing contrast between day and night. It does not suppress specular reflection at the target wavelength. Neutral-density filters cut all transmission uniformly, but they do not recover detail lost to specular geometry. See the bandpass filter guide for selection by wavelength.
HDRと屋外シーンがなぜこの問題を浮き彫りにするのか
Indoors, with controlled lighting and a matte target, stray-light contributions from any single path are small, and a 0.1% floor is invisible. Outdoors, direct sunlight is about 100,000 lux and a deep shadow 10 lux, a ratio of 10,000:1 or higher. Bright sources like sun, sky, and headlamps can appear anywhere, including just outside the field of view.
Normalize peak luminance to 1.0, so shadow detail at 10,000:1 sits at 0.0001. A 1% veiling-glare floor adds 0.0100 everywhere, so that shadow signal now rides on a floor 100 times larger than itself, leaving about 1% local modulation, below what the pipeline and shot noise preserve.
視野外の軸外光源
A lens keeps admitting light past its specified field of view. Sources 20 to 60 degrees outside it still enter the barrel and reach the sensor by reflection. A stray-light-optimized lens absorbs these in baffles. One that is not produces haze or ghosts that seem to come from nowhere. This matters most for fixed automotive and outdoor cameras that cannot avoid bright sources.
HDRセンサーがその性能を発揮するには、迷光の少ないレンズが必要です
HDR sensors reach 120 dB or more of dynamic range, but a lens that limits contrast to 60 dB through stray light wastes that. Commonlands treats a stray-light-optimized lens as close to a prerequisite for an HDR sensor outdoors.
BBARコーティングとは何ですか?また、どのようにして迷光を低減するのですか?
BBAR stands for broadband anti-reflective coating: a multilayer thin-film coating that reduces Fresnel reflection across a wavelength band rather than at a single design wavelength. A BBAR-coated surface typically reflects under 0.5% across the band, against roughly 4-5% for uncoated glass. Lower surface reflection means more light reaches the sensor and less bounces between elements to form flare or ghosts.
A single quarter-wave AR layer gives a broad but shallow minimum (roughly 1.2-1.4% for MgF2 on crown glass). A V-coat drives reflection near zero at one wavelength, good for a single NIR line but poor elsewhere. BBAR instead holds low reflectance across a band, commonly 400-700nm for visible or 400-900nm for combined visible and NIR use.
BBAR is applied to individual elements during manufacturing, so a datasheet note like "BBAR on Lens 1 Surface 1" means exactly one surface in the stack carries it. The other surfaces may use standard AR, MgF2, or nothing. Total stray-light and ghosting performance depends on every surface combined, not just the one labeled BBAR.
BBAR is also distinct from a hydrophobic coating. BBAR reduces Fresnel reflection. A hydrophobic coating is a fluoropolymer layer on the front element that repels water and oil and has no meaningful effect on reflection. A lens can specify both as separate features. The table below separates the coating types Commonlands engineers see conflated most often.
| コーティングの種類 | 何が減少するのか | 解決できないこと |
|---|---|---|
| BBAR | コーティング面における波長帯にわたるフレネル反射 | コーティングされていない表面、レンズ筒の壁面、またはバッフルの隙間からの迷光;歪み;収差 |
| 狭帯域AR | 特定の波長(例:850nm)における反射 | 他の波長域における反射;可視光と近赤外光の併用 |
| 疎水性コーティング | 前面への水、油、指紋の付着 | 光の反射、ゴースト、フレア、透過率の低下 |
Verify coating claims against the current datasheet: the design band, which surfaces carry the coating, and average reflectance (Ravg) across the band all vary by product, and the BBAR spec should be listed separately from any hydrophobic spec. With BBAR on only one or two surfaces, ghosting and flare still depend on element count, baffling, and barrel design.
One failure to watch: if a coating covers only 400-700nm but the system runs active NIR, the uncoated NIR reflections create ghosts that are invisible at the bench but clear in sensor output. Match the coating band to every illumination source.
エンジニアが実際にどのように迷光を低減しているか
There is no single universal fix. The approach depends on which part of the optical system generates the stray light.
The first tool is anti-reflection coating on every surface, since each uncoated interface reflects several percent and the losses compound across a 10-surface lens. A stray-light-optimized design adds black-coated barrel baffles, matte aperture stops, and attention to which surfaces can form second-order reflections toward the sensor.
Every extra surface, including a flat protective window, adds to the budget. For environmental protection, an IP-rated lens that seals internally beats a separate window. A sealed M12 lens such as the Commonlands CIL034 (IP67+) provides outdoor protection with no additional air-glass interfaces, removing two reflection surfaces a flat uncoated window would add.
A lens hood or housing extension blocks off-axis sources before they reach the front element, one of the lowest-cost fixes for fixed-mount cameras. Where packaging limits hood size, as in automotive, the lens design has to do more. With programmable lighting, arranging sources out of the direct lens view lowers stray-light loading in factory inspection.
Image processing is a fallback, not a substitute. Flat-field correction can partly compensate for uniform veiling flare if the pattern is stable, at the cost of bit depth, but it cannot remove scene-dependent stray light or ghosts that move with the source.
迷光対策が施されたM12レンズおよびグレア抑制用アクセサリー
Commonlands stocks optical filters for ambient rejection below. Sealed IP-rated M12 lenses remove the need for a separate protective window in outdoor builds.
迷光およびグレアのトラブルシューティングチェックリスト
Work through these when an outdoor, HDR, or reflective-scene camera shows unexpected contrast loss, haze, or ghost artifacts. Commonlands engineers run the same sequence on a customer's stray-light complaint.
- Identify the artifact. Uniform haze (veiling flare), a structured spot displaced from a bright source (ghosting), or a saturated highlight on one surface (target glare). Each maps to a different fix.
- Capture a frame with the illuminator off. Usable signal from ambient alone points to a bandpass filter matched to the illumination wavelength.
- Move the light or camera 10-20 degrees. A highlight that tracks the source is specular geometry, not internal stray light.
- Count optical surfaces in the path. An uncoated window adds two 4-5% reflection surfaces. Consider an IP-rated lens that seals internally instead.
- Test cross-polarization on non-metallic parts, and expect to add illumination or open the aperture to compensate. Reduced exposure that recovers gradient means the highlight was clipping, not geometry.
- Confirm the lens is validated as low-ghost or stray-light-optimized for HDR or outdoor use, then verify with a hood on and off and real line-side lighting before locking the build.
よくある質問
Commonlands lenses use anti-reflection coatings to cut internal reflections. These answers explain what coatings can and cannot fix.
マシンビジョンシステムにおける「迷光」とは何ですか?
迷光とは、レンズを通る本来の撮像経路をたどらずにセンサーに到達する光のことです。これは、レンズ内部の筒面での散乱、レンズ要素の縁での反射、あるいは光がまっすぐに通過せずに表面間で跳ね返ることによって生じます。単に被写体内の明るい物体によるものではありません。これはすでに光路内にある不要な光であり、その影響として背景信号が生じ、コントラストを低下させ、低輝度域では被写体の細部が判別できなくなることがあります。
グレア、フレア、ゴースト、迷光の違いは何ですか?
迷光とは、光学系内部で像を形成しない光がセンサーに到達する現象の総称です。ベールフレアは、その光を均一な霞のように広範囲に拡散させ、明確な構造を伴わずにコントラストを低下させます。ゴーストは局所的なアーティファクトであり、特定の面と面の間の反射によって生じる構造化された二次像です。グレアはこれとは異なり、被写体自体からの飽和した鏡面反射であり、被写体側の問題です。 偏光フィルターや光学系の配置変更で被写体のグレアを解消しても、内部の迷光は解消されず、その逆も同様です。
マシンビジョンにおけるグレアをどのように軽減すればよいでしょうか?
まず、不具合の原因を特定してください。非金属表面の鏡面反射によるハイライトについては、交差偏光法を使用します。具体的には、照明装置に直線偏光フィルターを装着し、レンズ側に交差した分析フィルターを設置します。周囲の光による干渉については、照明の波長に合わせたバンドパスフィルターを使用してください。センサーのクリッピングについては、露光時間を短縮するか、NDフィルターを追加してください。照明の配置を変更して、鏡面反射の角度を軸から外すことは、多くの場合、最も手っ取り早い最初のテストとなります。
レンズのBBARコーティングとは何ですか?
BBARとは「ブロードバンド反射防止コーティング(Broadband Anti-Reflective Coating)」の略称であり、特定の設計波長ではなく、広範な波長帯にわたってフレネル反射を低減する多層薄膜コーティングです。コーティングを施していないガラスは、表面ごとに入射光の約4~5%を反射しますが、BBARコーティングを施した表面では、通常、設計波長帯全体で反射率が0.5%未満に抑えられ、透過率が向上するとともに、フレアやゴーストの原因となる内部反射が低減されます。
保護用ウィンドウは、どのような場合に迷光を悪化させるのでしょうか?
保護窓があると、少なくとも2つの新しい空気とガラスの境界面が追加されます。コーティングが施されていない場合、それぞれが入射光の約4~5%を反射します。ARコーティングが施されていても、数十分の1%の反射が残ります。 多要素システムでは、これらの反射が累積します。そのため、それ以外では適切に設計されたレンズの前面に標準的な平面ウィンドウを追加すると、特にダイナミックレンジの広いシーンにおいて、ベールフレアが増加する可能性があります。前玉が密閉されたIP規格対応のレンズであれば、別途ウィンドウを設ける必要がなく、迷光の発生要因となるそれらの界面を完全に排除することができます。
ご用途に適した迷光の少ないレンズの選定でお困りではありませんか?
Commonlands engineering can help identify whether stray light, ghosting, or target glare is the root cause in your build. It helps select the right lens, coating, or filter for your sensor format, environment, and HDR requirements.



