[go: up one dir, main page]

JP6548879B2 - Color headlight tester and test method of headlight by color image processing - Google Patents

Color headlight tester and test method of headlight by color image processing Download PDF

Info

Publication number
JP6548879B2
JP6548879B2 JP2014188887A JP2014188887A JP6548879B2 JP 6548879 B2 JP6548879 B2 JP 6548879B2 JP 2014188887 A JP2014188887 A JP 2014188887A JP 2014188887 A JP2014188887 A JP 2014188887A JP 6548879 B2 JP6548879 B2 JP 6548879B2
Authority
JP
Japan
Prior art keywords
color
rgb
headlight
light
coefficient
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2014188887A
Other languages
Japanese (ja)
Other versions
JP2016061633A (en
Inventor
福田 豊
豊 福田
史郎 村瀬
史郎 村瀬
一紀 坂本
一紀 坂本
清 菊地
清 菊地
弘文 佐々木
弘文 佐々木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
K Technology Corp USA
Original Assignee
K Technology Corp USA
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by K Technology Corp USA filed Critical K Technology Corp USA
Priority to JP2014188887A priority Critical patent/JP6548879B2/en
Publication of JP2016061633A publication Critical patent/JP2016061633A/en
Application granted granted Critical
Publication of JP6548879B2 publication Critical patent/JP6548879B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Photometry And Measurement Of Optical Pulse Characteristics (AREA)
  • Spectrometry And Color Measurement (AREA)

Description

本発明は、自動車等の車両のヘッドライトをテストするヘッドライトテスターに関するものであって、更に詳細には、ヘッドライトの受光画像をカラー画像処理してヘッドライトのテストを行うカラーヘッドライトテスターに関するものである。   The present invention relates to a headlight tester for testing headlights of vehicles such as automobiles, and more particularly to a color headlight tester for performing color image processing on a received light image of the headlights to test the headlights. It is a thing.

従来、画像処理を利用したヘッドライトテスターで商用化されているものは殆どがモノクロカメラを使用したものである。そのような状況下において、本出願人等は、先に、カラーカメラを使用してヘッドライトの投射光をカラー画像処理することが可能なカラーヘッドライトテスターについての提案を行っている(特開2013−2969号)。カラーカメラ(カラーイメージセンサ)を使用することによって、ヘッドライトからの投射光のカラー画像分析を行うことが可能となり、モノクロカメラを使用した場合と比較してその情報量が豊富であるために、従来のモノクロカメラを使用したヘッドライトテスターでは不可能であった多様な分析を行うことが可能である。   Conventionally, most commercialized headlight testers that use image processing use monochrome cameras. Under such circumstances, the applicants have previously proposed a color headlight tester capable of performing color image processing of the projection light of the headlight using a color camera (Japanese Patent Application Laid-Open No. 2013-2969). By using a color camera (color image sensor), it is possible to perform color image analysis of the projection light from the headlight, and the amount of information is rich compared to the case of using a monochrome camera, It is possible to perform various analyzes that were not possible with a headlight tester using a conventional monochrome camera.

ヘッドライトのテストは、本来的には、10m前方に位置された外部スクリーン(10mスクリーンともいう)上に投射させた状態で行うものであるが、ヘッドライトテスターでは、受光部内に光学系と内部スクリーンとを配置して、その光学系を介して内部スクリーン上に投射させている。この様にヘッドライトからの投射光は光学系を介して内部スクリーン上に投射されるために、特に、カラー画像処理を行う場合には、光学系の色収差等の影響による誤差を補正することが重要となる。   The headlight test is originally conducted in a state where it is projected on an external screen (also referred to as a 10 m screen) positioned 10 m forward, but in the headlight tester, the optical system and the inside of the light receiving unit The screen is disposed and projected onto the inner screen through the optical system. Since the projection light from the headlight is thus projected onto the inner screen through the optical system, in particular, when color image processing is performed, the error due to the influence of the chromatic aberration of the optical system can be corrected. It becomes important.

例えば、ヘッドライトの光源種別としては、ハロゲン、HID、LED等があるが、ヘッドライトからの投射光を使用してその光源種別を自動的に判定することは従来技術では不可能であった。更に、ヘッドライトからの投射光をカラー画像処理してヘッドライトの光度、光軸(照射方向)の測定やエルボー点の検出を行うための現実的な技術は提供されていない。   For example, although there are halogen, HID, LED, etc. as the light source type of the headlight, it is impossible in the prior art to automatically determine the light source type using the projection light from the headlight. Furthermore, there has not been provided a practical technique for performing color image processing of the projection light from the headlight to measure the luminous intensity of the headlight, the optical axis (irradiation direction), and the detection of the elbow point.

特開2013−2969号公報JP, 2013-2969, A

本発明は以上の点に鑑みなされたものであって、上述した如き従来技術の欠点を解消し、高精度でテストを行うことが可能なカラーヘッドライトテスター及びカラー画像処理によるヘッドライトのテスト方法を提供することを目的とする。更に、本発明の別の目的とするところは、ヘッドライトからの投射光を光学系を介して受光してカラー画像処理を行うことによって迅速且つ高精度でテストを行うことが可能なカラーヘッドライトテスター及びヘッドライトのテスト方法を提供することを目的とする。   The present invention has been made in view of the above points, and a color head light tester capable of performing a test with high accuracy, and a method of testing a head light by color image processing, which overcome the drawbacks of the prior art as described above. Intended to provide. Furthermore, another object of the present invention is a color headlight capable of performing a test with high speed and high accuracy by receiving projected light from a headlight through an optical system and performing color image processing. It aims to provide a test method of a tester and a headlight.

I.光源種別の判定
本発明の1側面によれば、ヘッドライトからの投射光を受け取る光学系、該光学系を介して該投射光の配光パターンが投影されるスクリーン、該スクリーン上の該配光パターンを撮像する測定用カラーカメラ、該測定用カラーカメラからのRGBデータを受け取ってRGBデータの内の少なくとも2つのデータ間の関係に基づいて該ヘッドライトの光源種別を判定する光源種別判定手段、を有するカラーヘッドライトテスターが提供される。
I. According to one aspect of the present invention, an optical system for receiving projection light from a headlight, a screen on which a light distribution pattern of the projection light is projected through the optical system, the light distribution on the screen A measuring color camera for imaging a pattern; a light source type determining unit that receives RGB data from the measuring color camera and determines a light source type of the headlight based on a relationship between at least two of the RGB data; A color headlight tester is provided.

1好適実施形態によれば、RGBデータの内の選択した2つのデータの間の比に基づいて光源種別の判定を行う。更に別の好適実施形態によれば、該2つのデータの間の差に基づいて光源種別の判定を行う。更に別の実施形態によれば、該2つのデータの比及び差の両方に基づいて光源種別の判定を行う。1実施例によれば、該2つのデータがG及びRデータであり、該比はG/Rであり、且つ該差は|G−R|である。   According to one preferred embodiment, the light source type is determined based on the ratio between two selected ones of the RGB data. According to yet another preferred embodiment, the determination of the light source type is performed based on the difference between the two data. According to yet another embodiment, the light source type is determined based on both the ratio and the difference between the two data. According to one embodiment, the two data are G and R data, the ratio is G / R, and the difference is | G-R |.

1好適実施形態によれば、光源種別の判定は、暖色系光源(代表例としてはハロゲン)と寒色系光源(代表例としてはHID)との判定である。   According to one preferred embodiment, the determination of the light source type is a determination of a warm color light source (halogen as a representative example) and a cold color light source (HID as a representative example).

II.光軸の決定
本発明の別の側面によれば、ヘッドライトからの投射光を受け取る光学系、該光学系を介して該投射光の配光パターンが投影されるスクリーン、該スクリーン上の該配光パターンを撮像する測定用カラーカメラ、該測定用カラーカメラの選択した複数個の画素の各々に対してrgb係数を決定するrgb係数決定手段、該測定用カラーカメラからRGBデータを受け取って該rgb係数決定手段によって決定された対応する画素に対するrgb係数を適用して該対応する画素に対する輝度を決定する輝度決定手段、該輝度の内で最高輝度を判別し該最高輝度の上下左右方向の位置を該ヘッドライトの光軸として決定する光軸決定手段、を有するカラーヘッドライトテスターが提供される。
II. Determination of the Optical Axis According to another aspect of the present invention, an optical system for receiving projection light from a headlight, a screen on which a light distribution pattern of the projection light is projected through the optical system, the distribution on the screen A color camera for measuring a light pattern, rgb coefficient determining means for determining an rgb coefficient for each of a plurality of selected pixels of the color camera for measurement, RGB data received from the color camera for measurement and the rgb The luminance determining means for applying the rgb coefficient to the corresponding pixel determined by the coefficient determining means to determine the luminance for the corresponding pixel, determining the highest luminance among the luminances, and determining the position of the highest luminance in the upper, lower, left, and right directions A color headlight tester is provided, comprising optical axis determination means determined as the optical axis of the headlight.

1好適実施形態によれば、該光学系が主レンズを有している。更に好適には、該主レンズがフレネルレンズである。1好適実施例においては、該測定用カラーカメラが所定の画素数を有するカラーイメージセンサを有しており、該カラーイメージセンサの各画素に対するRGBデータが出力される。好適には、該カラーイメージセンサが単板式であり、そのRGBカラーフィルタが所謂バイヤー配列を有しており、該測定用カラーカメラは補間処理を行って各画素に対する夫々のRGBデータを算出して出力する。別の好適実施例においては、該カラーイメージセンサは多板式であり、該測定用カラーカメラは各画素から直接的にRGBデータを出力する。1実施例においては、該カラーイメージセンサはCCDカラーイメージセンサである。   According to one preferred embodiment, the optical system comprises a main lens. More preferably, the main lens is a Fresnel lens. In one preferred embodiment, the measuring color camera includes a color image sensor having a predetermined number of pixels, and RGB data for each pixel of the color image sensor is output. Preferably, the color image sensor is a single-plate type, and its RGB color filter has a so-called Bayer array, and the color camera for measurement performs interpolation processing to calculate each RGB data for each pixel. Output. In another preferred embodiment, the color image sensor is multi-plate and the measuring color camera outputs RGB data directly from each pixel. In one embodiment, the color image sensor is a CCD color image sensor.

1好適実施形態によれば、該輝度はCIE・XYZ表色系における三刺激値X,Y,Zにより定義されるXYZ座標系におけるY座標として決定され、即ちY=r×R+g×G+b×Bとして決定され、尚、R、G、Bは測定用カラーカメラから出力されるRGBデータであり、r、g、bはRGBデータの夫々の重み付けとしての係数である。   According to one preferred embodiment, the luminance is determined as the Y coordinate in the XYZ coordinate system defined by the tristimulus values X, Y, Z in the CIE XYZ color system, ie Y = r × R + g × G + b × B Here, R, G, B are RGB data output from the color camera for measurement, and r, g, b are coefficients as weightings of the RGB data.

rgb係数を決定する場合には、それが適用される色空間を決定することが必要である。xy色度図においてはsRGB,adobeRGB,NTSC_RGB等の幾つかの色空間(所謂カラートライアングル)があるが、1実施例においては、NTSC_RGB色空間を使用する。   When determining the rgb coefficients, it is necessary to determine the color space to which it applies. There are several color spaces (so-called color triangles) such as sRGB, adobe RGB, NTSC_RGB in the xy chromaticity diagram, but in one embodiment the NTSC_RGB color space is used.

ところで、rgb係数(Y係数とも略称する)は、光源であるヘッドライトの色温度(K:ケルビン)に依存して変化する。色温度とは光の色を数値で表したものであって、光度(cd)とは異なるものであり、色温度が高くなるに従い黄色→白色→青色と順次光源の色合いが変化する。即ち、色温度が変化すると光のスペクトル分布も変化し、その結果rgb係数も変化することとなる。従って、輝度Yを決定する場合に使用するrgb係数は、ヘッドライトの色温度に対応するものであることが必要である。色温度が既知である場合(色温度測定器による測定等)には、その測定した色温度に対応するrgb係数を使用することが可能であるが、色温度が不知である場合には、ヘッドライトの色温度を推定して近似させることが必要となる。   The rgb coefficient (also abbreviated as Y coefficient) changes depending on the color temperature (K: Kelvin) of the headlight as the light source. The color temperature is a numerical value representing the color of light, which is different from the light intensity (cd), and the color tone of the light source changes sequentially from yellow to white to blue as the color temperature becomes higher. That is, when the color temperature changes, the spectral distribution of light also changes, and as a result, the rgb coefficient also changes. Therefore, the rgb coefficient used when determining the luminance Y needs to correspond to the color temperature of the headlight. If the color temperature is known (such as measurement with a color temperature meter), it is possible to use the rgb coefficient corresponding to the measured color temperature, but if the color temperature is unknown, the head It is necessary to estimate and approximate the color temperature of the light.

更に好適には、光学系を介しての色収差等の影響によるカラーイメージセンサの各画素におけるバラツキを補正してrgb係数を決定する。一般的に、カラーイメージセンサの中央付近から外側へ離れるにつれてそのバラツキは顕著になる傾向がある。1実施例において、該rgb係数は、CIE標準光源の色温度に基づいて決定された少なくとも1個の基準rgb係数と、該基準rgb係数を修正した少なくとも1個の補正rgb係数と、を包含している。1実施例においては、このバラツキを吸収するために、カラーイメージセンサの各画素毎にrgb係数を決定する。別の実施例においては、カラーイメージセンサの全画素を所定数の画素からなるゾーン毎に分割し、各ゾーン内の画素に対しては共通のrgb係数を適用する。   More preferably, the rgb coefficient is determined by correcting the variation in each pixel of the color image sensor due to the influence of chromatic aberration or the like through the optical system. In general, the variation tends to be noticeable as the color image sensor moves away from near the center of the color image sensor. In one embodiment, the rgb coefficients include at least one reference rgb coefficient determined based on the color temperature of the CIE standard light source and at least one correction rgb coefficient that is a modification of the reference rgb coefficient. ing. In one embodiment, to absorb this variation, the rgb coefficient is determined for each pixel of the color image sensor. In another embodiment, all pixels of the color image sensor are divided into zones of a predetermined number of pixels, and a common rgb coefficient is applied to the pixels in each zone.

最高輝度を判別する場合には、バランス方式又は2値化重心方式を適用することが可能である。バランス方式では、1実施例においては、3度30分方式を適用する。   In the case of determining the maximum luminance, it is possible to apply a balance method or a binarized center of gravity method. In the balance method, in one embodiment, the three times 30 minutes method is applied.

1実施例においては、該光軸決定手段は、最高輝度(例えば、バランス点)位置補正テーブルを有しており、最高輝度として抽出された画素の位置に対して予め定められた最高輝度位置補正用のhv位置補正データを適用し最終的な最高輝度の位置を決定する。尚、hは水平(左右)方向の位置補正データで、vは垂直(上下)方向の位置補正データである。   In one embodiment, the optical axis determination means includes a maximum brightness (e.g., balance point) position correction table, and the maximum brightness position correction determined in advance with respect to the position of the pixel extracted as the maximum brightness. Apply the hv position correction data to determine the final highest intensity position. Here, h is position correction data in the horizontal (left and right) direction, and v is position correction data in the vertical (upper and lower) direction.

1好適実施形態においては、更に、光源種別判定手段が設けられており、判定された光源種別に応じて適用すべきrgb係数を決定する。   In one preferred embodiment, a light source type determination unit is further provided to determine an rgb coefficient to be applied according to the determined light source type.

1好適実施形態においては、該rgb係数決定手段は、所定の光度又は色温度別にrgb係数を計算した複数個のテーブルを有しており、測定又は計算した光度又は色温度に従ってテーブルを選択し使用すべきrgb係数を決定する。   In one preferred embodiment, the rgb coefficient determination means has a plurality of tables in which rgb coefficients are calculated for predetermined light intensity or color temperature, and the table is selected and used according to the measured or calculated light intensity or color temperature. Determine the rgb factor to be done.

好適には、該rgb係数決定手段、該輝度決定手段、該光軸決定手段は、該カラーヘッドライトテスター内において該測定用カラーカメラに接続されている画像処理装置内に設けられている。1実施形態において、該画像処理装置は、少なくとも、CPUとメモリとを有するコンピュータシステムから構成されており、該rgb係数決定手段、該輝度決定手段、該光軸決定手段は、本カラーヘッドライトテスターの動作を制御するプログラムの一部として該メモリ内に格納されている。   Preferably, the rgb coefficient determination means, the luminance determination means, and the optical axis determination means are provided in the image processing apparatus connected to the color camera for measurement in the color headlight tester. In one embodiment, the image processing apparatus comprises a computer system having at least a CPU and a memory, and the rgb coefficient determination means, the luminance determination means, and the optical axis determination means is the present color head light tester Stored as part of a program that controls the operation of

III.光度の決定(その1)
本発明の更に別の側面によれば、ヘッドライトからの投射光を受け取る光学系、該光学系を介して該投射光の配光パターンが投影されるスクリーン、該スクリーン上の該配光パターンを撮像する測定用カラーカメラ、該測定用カラーカメラの選択した複数個の画素の各々に対してrgb係数を決定するrgb係数決定手段、該測定用カラーカメラからRGBデータを受け取って該rgb係数決定手段によって決定された対応する画素に対するrgb係数を適用して該対応する画素に対する輝度を決定する輝度決定手段、該複数個の画素の夫々に対応する複数個の輝度の内で最高輝度を判別し該最高輝度から該ヘッドライトの光度を決定する第1光度決定手段、を有するカラーヘッドライトテスターが提供される。
III. Determination of luminous intensity (part 1)
According to still another aspect of the present invention, there is provided an optical system for receiving projection light from a headlight, a screen on which a light distribution pattern of the projection light is projected via the optical system, the light distribution pattern on the screen Measurement color camera for imaging, rgb coefficient determination means for determining an rgb coefficient for each of a plurality of selected pixels of the measurement color camera, RGB data is received from the measurement color camera, and the rgb coefficient determination means Means for determining the luminance for the corresponding pixel by applying the rgb coefficient for the corresponding pixel determined by the step of determining the highest luminance among the plurality of luminances respectively corresponding to the plurality of pixels. A color headlight tester is provided, comprising: first light intensity determining means for determining the light intensity of the headlights from the highest brightness.

1好適実施形態によれば、該光学系が主レンズを有している。更に好適には、該主レンズがフレネルレンズである。1好適実施例においては、該測定用カラーカメラが所定の画素数を有するカラーイメージセンサを有しており、該カラーイメージセンサの各画素に対するRGBデータが出力される。好適には、該カラーイメージセンサが単板式であり、そのRGBカラーフィルタが所謂バイヤー配列を有しており、該測定用カラーカメラは補間処理を行って各画素に対する夫々のRGBデータを算出して出力する。別の好適実施例においては、該カラーイメージセンサは多板式であり、該測定用カラーカメラは各画素から直接的にRGBデータを出力する。1実施例においては、該カラーイメージセンサはCCDカラーイメージセンサである。   According to one preferred embodiment, the optical system comprises a main lens. More preferably, the main lens is a Fresnel lens. In one preferred embodiment, the measuring color camera includes a color image sensor having a predetermined number of pixels, and RGB data for each pixel of the color image sensor is output. Preferably, the color image sensor is a single-plate type, and its RGB color filter has a so-called Bayer array, and the color camera for measurement performs interpolation processing to calculate each RGB data for each pixel. Output. In another preferred embodiment, the color image sensor is multi-plate and the measuring color camera outputs RGB data directly from each pixel. In one embodiment, the color image sensor is a CCD color image sensor.

1好適実施形態によれば、該輝度はCIE・XYZ表色系における三刺激値X,Y,Zにより定義されるXYZ座標系におけるY座標として決定され、即ちY=r×R+g×G+b×Bとして決定され、尚、R、G、Bは測定用カラーカメラから出力されるRGBデータであり、r、g、bはRGBデータの夫々の重み付けとしての係数である。   According to one preferred embodiment, the luminance is determined as the Y coordinate in the XYZ coordinate system defined by the tristimulus values X, Y, Z in the CIE XYZ color system, ie Y = r × R + g × G + b × B Here, R, G, B are RGB data output from the color camera for measurement, and r, g, b are coefficients as weightings of the RGB data.

rgb係数を決定する場合には、それが適用される色空間を決定することが必要である。xy色度図においてはsRGB,adobeRGB,NTSC_RGB等の幾つかの色空間(所謂カラートライアングル)があるが、1実施例においては、NTSC_RGB色空間を使用する。   When determining the rgb coefficients, it is necessary to determine the color space to which it applies. There are several color spaces (so-called color triangles) such as sRGB, adobe RGB, NTSC_RGB in the xy chromaticity diagram, but in one embodiment the NTSC_RGB color space is used.

ところで、rgb係数(Y係数とも略称する)は、光源であるヘッドライトの色温度(K:ケルビン)に依存して変化する。色温度とは光の色を数値で表したものであって、光度(cd)とは異なるものであり、色温度が高くなるに従い黄色→白色→青色と順次光源の色合いが変化する。即ち、色温度が変化すると光のスペクトル分布も変化し、その結果rgb係数も変化することとなる。従って、輝度Yを決定する場合に使用するrgb係数は、ヘッドライトの色温度に対応するものであることが必要である。色温度が既知である場合(色温度測定器による測定等)には、その測定した色温度に対応するrgb係数を使用することが可能であるが、色温度が不知である場合には、ヘッドライトの色温度を推定して近似させることが必要となる。   The rgb coefficient (also abbreviated as Y coefficient) changes depending on the color temperature (K: Kelvin) of the headlight as the light source. The color temperature is a numerical value representing the color of light, which is different from the light intensity (cd), and the color tone of the light source changes sequentially from yellow to white to blue as the color temperature becomes higher. That is, when the color temperature changes, the spectral distribution of light also changes, and as a result, the rgb coefficient also changes. Therefore, the rgb coefficient used when determining the luminance Y needs to correspond to the color temperature of the headlight. If the color temperature is known (such as measurement with a color temperature meter), it is possible to use the rgb coefficient corresponding to the measured color temperature, but if the color temperature is unknown, the head It is necessary to estimate and approximate the color temperature of the light.

更に好適には、光学系を介しての色収差等の影響によるカラーイメージセンサの各画素におけるバラツキを補正してrgb係数を決定する。一般的に、カラーイメージセンサの中央付近から外側へ離れるにつれてそのバラツキは顕著になる傾向がある。1実施例において、該rgb係数は、CIE標準光源の色温度に基づいて決定された少なくとも1個の基準rgb係数と、該基準rgb係数を修正した少なくとも1個の補正rgb係数と、を包含している。1実施例においては、このバラツキを吸収するために、カラーイメージセンサの各画素毎にrgb係数を決定する。別の実施例においては、カラーイメージセンサの全画素を所定数の画素からなるゾーン毎に分割し、各ゾーン内の画素に対しては共通のrgb係数を適用する。   More preferably, the rgb coefficient is determined by correcting the variation in each pixel of the color image sensor due to the influence of chromatic aberration or the like through the optical system. In general, the variation tends to be noticeable as the color image sensor moves away from near the center of the color image sensor. In one embodiment, the rgb coefficients include at least one reference rgb coefficient determined based on the color temperature of the CIE standard light source and at least one correction rgb coefficient that is a modification of the reference rgb coefficient. ing. In one embodiment, to absorb this variation, the rgb coefficient is determined for each pixel of the color image sensor. In another embodiment, all pixels of the color image sensor are divided into zones of a predetermined number of pixels, and a common rgb coefficient is applied to the pixels in each zone.

1実施形態において、最高輝度を有する画素を判別する場合には、バランス方式又は2値化重心方式を適用することが可能である。バランス方式では、1実施例においては、3度30分方式を適用する。   In one embodiment, when determining a pixel having the highest luminance, it is possible to apply a balance method or a binarized center of gravity method. In the balance method, in one embodiment, the three times 30 minutes method is applied.

1実施形態において、該第1光度決定手段は、既知の光度を有する基準光源(例えば、標準のヘッドライト又は基準球)の光度と該輝度決定手段によって決定された輝度との間に予め定めた条件に基づいて光度を決定する。1実施例においては、既知の光度を有する基準の光源(例えば、標準のヘッドライト又は基準球)を使用してその基準の光源(例えば、標準のヘッドライト又は基準球)の投射光の輝度を測定し、光度と輝度との関係を予め設定しておく。   In one embodiment, the first light intensity determining means is predetermined between the light intensity of a reference light source (eg, a standard headlight or a reference sphere) having a known light intensity and the brightness determined by the brightness determining means. Determine the light intensity based on the conditions. In one embodiment, the intensity of the projected light of the reference light source (e.g., a standard headlight or reference sphere) is measured using a reference light source (e.g., a standard headlight or reference sphere) having a known light intensity. Measure and set in advance the relationship between the light intensity and the brightness.

1好適実施形態においては、更に、光源種別判定手段が設けられており、判定された光源種別に応じて適用すべきrgb係数を決定する。   In one preferred embodiment, a light source type determination unit is further provided to determine an rgb coefficient to be applied according to the determined light source type.

1好適実施形態においては、該rgb係数決定手段は、所定の光度又は色温度別にrgb係数を計算した複数個のテーブルを有しており、測定又は計算した光度又は色温度に従ってテーブルを選択し使用すべきrgb係数を決定する。   In one preferred embodiment, the rgb coefficient determination means has a plurality of tables in which rgb coefficients are calculated for predetermined light intensity or color temperature, and the table is selected and used according to the measured or calculated light intensity or color temperature. Determine the rgb factor to be done.

好適には、該rgb係数決定手段、該輝度決定手段、該第1光度決定手段は、該カラーヘッドライトテスター内において該測定用カラーカメラに接続されている画像処理装置内に設けられている。1実施形態において、該画像処理装置は、少なくとも、CPUとメモリとを有するコンピュータシステムから構成されており、該rgb係数決定手段、該輝度決定手段、該第1光度決定手段は、本カラーヘッドライトテスターの動作を制御するプログラムの一部として該メモリ内に格納されている。   Preferably, the rgb coefficient determination means, the luminance determination means, and the first light intensity determination means are provided in the image processing apparatus connected to the color camera for measurement in the color headlight tester. In one embodiment, the image processing apparatus comprises a computer system having at least a CPU and a memory, and the rgb coefficient determination means, the luminance determination means, and the first light intensity determination means are the present color headlights. It is stored in the memory as part of a program that controls the operation of the tester.

IV.光度の決定(その2)
本発明の更に別の側面によれば、ヘッドライトからの投射光を受け取る光学系、該光学系を介して該投射光の配光パターンが投影されるスクリーン、該スクリーン上の該配光パターンを撮像する測定用カラーカメラ、該測定用カラーカメラの選択した複数個の画素の各々に対してrgb係数を決定するrgb係数決定手段、該測定用カメラからRGBデータを受け取って該rgb係数決定手段によって決定された対応する画素に対するrgb係数を適用して該対応する画素に対する輝度を決定する輝度決定手段、該配光パターンにおいて該ヘッドライトの中心から所定の位置における輝度を判別し該判別した輝度から該ヘッドライトの光度を決定する第2光度決定手段、を有するカラーヘッドライトテスターが提供される。
IV. Determination of luminous intensity (part 2)
According to still another aspect of the present invention, there is provided an optical system for receiving projection light from a headlight, a screen on which a light distribution pattern of the projection light is projected via the optical system, the light distribution pattern on the screen A measurement color camera for imaging, rgb coefficient determination means for determining an rgb coefficient for each of a plurality of selected pixels of the measurement color camera, RGB data is received from the measurement camera, and the rgb coefficient determination means Luminance determination means for applying the rgb coefficient to the determined corresponding pixel to determine the luminance for the corresponding pixel, determining the luminance at a predetermined position from the center of the headlight in the light distribution pattern and determining the luminance A color headlight tester is provided, comprising: second light intensity determining means for determining the light intensity of the headlight.

1好適実施形態によれば、該光学系が主レンズを有している。更に好適には、該主レンズがフレネルレンズである。1好適実施例においては、該測定用カラーカメラが所定の画素数を有するカラーイメージセンサを有しており、該カラーイメージセンサの各画素に対するRGBデータが出力される。好適には、該カラーイメージセンサが単板式であり、そのRGBカラーフィルタが所謂バイヤー配列を有しており、該測定用カラーカメラは補間処理を行って各画素に対する夫々のRGBデータを算出して出力する。別の好適実施例においては、該カラーイメージセンサは多板式であり、該測定用カラーカメラは各画素から直接的にRGBデータを出力する。1実施例においては、該カラーイメージセンサはCCDカラーイメージセンサである。   According to one preferred embodiment, the optical system comprises a main lens. More preferably, the main lens is a Fresnel lens. In one preferred embodiment, the measuring color camera includes a color image sensor having a predetermined number of pixels, and RGB data for each pixel of the color image sensor is output. Preferably, the color image sensor is a single-plate type, and its RGB color filter has a so-called Bayer array, and the color camera for measurement performs interpolation processing to calculate each RGB data for each pixel. Output. In another preferred embodiment, the color image sensor is multi-plate and the measuring color camera outputs RGB data directly from each pixel. In one embodiment, the color image sensor is a CCD color image sensor.

1好適実施形態によれば、該輝度はCIE・XYZ表色系における三刺激値X,Y,Zにより定義されるXYZ座標系におけるY座標として決定され、即ちY=r×R+g×G+b×Bとして決定され、尚、R、G、Bは測定用カラーカメラから出力されるRGBデータであり、r、g、bはRGBデータの夫々の重み付けとしての係数である。   According to one preferred embodiment, the luminance is determined as the Y coordinate in the XYZ coordinate system defined by the tristimulus values X, Y, Z in the CIE XYZ color system, ie Y = r × R + g × G + b × B Here, R, G, B are RGB data output from the color camera for measurement, and r, g, b are coefficients as weightings of the RGB data.

rgb係数を決定する場合には、それが適用される色空間を決定することが必要である。xy色度図においてはsRGB,adobeRGB,NTSC_RGB等の幾つかの色空間(所謂カラートライアングル)があるが、1実施例においては、NTSC_RGB色空間を使用する。   When determining the rgb coefficients, it is necessary to determine the color space to which it applies. There are several color spaces (so-called color triangles) such as sRGB, adobe RGB, NTSC_RGB in the xy chromaticity diagram, but in one embodiment the NTSC_RGB color space is used.

ところで、rgb係数(Y係数とも略称する)は、光源であるヘッドライトの色温度(K:ケルビン)に依存して変化する。色温度とは光の色を数値で表したものであって、光度(cd)とは異なるものであり、色温度が高くなるに従い黄色→白色→青色と順次光源の色合いが変化する。即ち、色温度が変化すると光のスペクトル分布も変化し、その結果rgb係数も変化することとなる。従って、輝度Yを決定する場合に使用するrgb係数は、ヘッドライトの色温度に対応するものであることが必要である。色温度が既知である場合(色温度測定器による測定等)には、その測定した色温度に対応するrgb係数を使用することが可能であるが、色温度が不知である場合には、ヘッドライトの色温度を推定して近似させることが必要となる。   The rgb coefficient (also abbreviated as Y coefficient) changes depending on the color temperature (K: Kelvin) of the headlight as the light source. The color temperature is a numerical value representing the color of light, which is different from the light intensity (cd), and the color tone of the light source changes sequentially from yellow to white to blue as the color temperature becomes higher. That is, when the color temperature changes, the spectral distribution of light also changes, and as a result, the rgb coefficient also changes. Therefore, the rgb coefficient used when determining the luminance Y needs to correspond to the color temperature of the headlight. If the color temperature is known (such as measurement with a color temperature meter), it is possible to use the rgb coefficient corresponding to the measured color temperature, but if the color temperature is unknown, the head It is necessary to estimate and approximate the color temperature of the light.

更に好適には、光学系を介しての色収差等の影響によるカラーイメージセンサの各画素におけるバラツキを補正してrgb係数を決定する。一般的に、カラーイメージセンサの中央付近から外側へ離れるにつれてそのバラツキは顕著になる傾向がある。1実施例において、該rgb係数は、CIE標準光源の色温度に基づいて決定された少なくとも1個の基準rgb係数と、該基準rgb係数を修正した少なくとも1個の補正rgb係数と、を包含している。1実施例においては、このバラツキを吸収するために、カラーイメージセンサの各画素毎にrgb係数を決定する。別の実施例においては、カラーイメージセンサの全画素を所定数の画素からなるゾーン毎に分割し、各ゾーン内の画素に対しては共通のrgb係数を適用する。   More preferably, the rgb coefficient is determined by correcting the variation in each pixel of the color image sensor due to the influence of chromatic aberration or the like through the optical system. In general, the variation tends to be noticeable as the color image sensor moves away from near the center of the color image sensor. In one embodiment, the rgb coefficients include at least one reference rgb coefficient determined based on the color temperature of the CIE standard light source and at least one correction rgb coefficient that is a modification of the reference rgb coefficient. ing. In one embodiment, to absorb this variation, the rgb coefficient is determined for each pixel of the color image sensor. In another embodiment, all pixels of the color image sensor are divided into zones of a predetermined number of pixels, and a common rgb coefficient is applied to the pixels in each zone.

1実施形態において、該第2光度決定手段は、ヘッドライトの光度と該輝度決定手段によって決定された輝度との間に予め定めた条件に基づいて光度を決定する。1実施例においては、既知の光度を有する基準の光源(例えば、標準のヘッドライト又は基準球)を使用してその基準の光源(例えば、標準のヘッドライト又は基準球)の投射光の輝度を測定し、光度と輝度との関係を予め設定しておく。該ヘッドライトの中心から所定の位置とは、1実施例においては、該ヘッドライトがすれ違いモードにある場合の所謂路面照射点であって、ランプ中心から左1.3度且つ下0.6度の点(ヘッドライト高さが1m以下の場合)又は左1.3度且つ下0.9度の点(ヘッドライト高さが1mを超える場合)である。   In one embodiment, the second light intensity determination means determines the light intensity based on a predetermined condition between the light intensity of the headlight and the brightness determined by the brightness determination means. In one embodiment, the intensity of the projected light of the reference light source (e.g., a standard headlight or reference sphere) is measured using a reference light source (e.g., a standard headlight or reference sphere) having a known light intensity. Measure and set in advance the relationship between the light intensity and the brightness. The predetermined position from the center of the headlight is, in one embodiment, a so-called road surface illumination point when the headlight is in the low pass mode, and is 1.3 degrees left and 0.6 degrees below the center of the lamp Point (if the headlight height is 1 m or less) or a point of 1.3 degrees on the left and a lower 0.9 degree (if the headlight height exceeds 1 m).

1好適実施形態においては、更に、光源種別判定手段が設けられており、判定された光源種別に応じて適用すべきrgb係数を決定する。   In one preferred embodiment, a light source type determination unit is further provided to determine an rgb coefficient to be applied according to the determined light source type.

1好適実施形態においては、該rgb係数決定手段は、所定の光度又は色温度別にrgb係数を計算した複数個のテーブルを有しており、測定又は計算した光度又は色温度に従ってテーブルを選択し使用すべきrgb係数を決定する。   In one preferred embodiment, the rgb coefficient determination means has a plurality of tables in which rgb coefficients are calculated for predetermined light intensity or color temperature, and the table is selected and used according to the measured or calculated light intensity or color temperature. Determine the rgb factor to be done.

好適には、該rgb係数決定手段、該輝度決定手段、該第2光度決定手段は、該カラーヘッドライトテスター内において該測定用カラーカメラに接続されている画像処理装置内に設けられている。1実施形態において、該画像処理装置は、少なくとも、CPUとメモリとを有するコンピュータシステムから構成されており、該rgb係数決定手段、該輝度決定手段、該第2光度決定手段は、本カラーヘッドライトテスターの動作を制御するプログラムの一部として該メモリ内に格納されている。   Preferably, the rgb coefficient determination means, the luminance determination means, and the second light intensity determination means are provided in the image processing apparatus connected to the color camera for measurement in the color headlight tester. In one embodiment, the image processing apparatus comprises a computer system having at least a CPU and a memory, and the rgb coefficient determination means, the luminance determination means, and the second light intensity determination means are the present color headlights. It is stored in the memory as part of a program that controls the operation of the tester.

V.エルボー点の決定
本発明の更に別の側面によれば、ヘッドライトからの投射光を受け取る光学系、該光学系を介して該投射光の配光パターンが投影されるスクリーン、該スクリーン上の該配光パターンを撮像する測定用カラーカメラ、該測定用カラーカメラの選択した複数個の画素の各々に対してrgb係数を決定するrgb係数決定手段、該測定用カラーカメラからRGBデータを受け取って該rgb係数決定手段によって決定された対応する画素に対するrgb係数を適用して該対応する画素に対する輝度を決定する輝度決定手段、該複数個の画素に対する輝度を互いに比較して少なくとも一本の水平カットラインと該水平カットラインに対して所定の角度を有する少なくとも一本の斜めカットラインとを判別しそれらのカットラインの交点としてエルボー点を決定するエルボー点決定手段、を有するカラーヘッドライトテスターが提供される。
V. Elbow Point Determination According to still another aspect of the present invention, an optical system for receiving projection light from a headlight, a screen on which a light distribution pattern of the projection light is projected through the optical system, the screen on the screen A color camera for measuring a light distribution pattern; rgb coefficient determining means for determining an rgb coefficient for each of a plurality of selected pixels of the color camera for measurement; RGB data received from the color camera for measurement; luminance determination means for applying the rgb coefficient to the corresponding pixel determined by the rgb coefficient determination means to determine the luminance for the corresponding pixel, at least one horizontal cut line comparing the luminances for the plurality of pixels with each other And at least one oblique cut line having a predetermined angle with respect to the horizontal cut line, and A color headlight tester is provided having elbow point determination means for determining an elbow point as an intersection point.

1好適実施形態によれば、該光学系が主レンズを有している。更に好適には、該主レンズがフレネルレンズである。1好適実施例においては、該測定用カラーカメラが所定の画素数を有するカラーイメージセンサを有しており、該カラーイメージセンサの各画素に対するRGBデータが出力される。好適には、該カラーイメージセンサが単板式であり、そのRGBカラーフィルタが所謂バイヤー配列を有しており、該測定用カラーカメラは補間処理を行って各画素に対する夫々のRGBデータを算出して出力する。別の好適実施例においては、該カラーイメージセンサは多板式であり、該測定用カラーカメラは各画素から直接的にRGBデータを出力する。1実施例においては、該カラーイメージセンサはCCDカラーイメージセンサである。   According to one preferred embodiment, the optical system comprises a main lens. More preferably, the main lens is a Fresnel lens. In one preferred embodiment, the measuring color camera includes a color image sensor having a predetermined number of pixels, and RGB data for each pixel of the color image sensor is output. Preferably, the color image sensor is a single-plate type, and its RGB color filter has a so-called Bayer array, and the color camera for measurement performs interpolation processing to calculate each RGB data for each pixel. Output. In another preferred embodiment, the color image sensor is multi-plate and the measuring color camera outputs RGB data directly from each pixel. In one embodiment, the color image sensor is a CCD color image sensor.

1好適実施形態によれば、該輝度はCIE・XYZ表色系における三刺激値X,Y,Zにより定義されるXYZ座標系におけるY座標として決定され、即ちY=r×R+g×G+b×Bとして決定され、尚、R、G、Bは測定用カラーカメラから出力されるRGBデータであり、r、g、bはRGBデータの夫々の重み付けとしての係数である。   According to one preferred embodiment, the luminance is determined as the Y coordinate in the XYZ coordinate system defined by the tristimulus values X, Y, Z in the CIE XYZ color system, ie Y = r × R + g × G + b × B Here, R, G, B are RGB data output from the color camera for measurement, and r, g, b are coefficients as weightings of the RGB data.

rgb係数を決定する場合には、それが適用される色空間を決定することが必要である。xy色度図においてはsRGB,adobeRGB,NTSC_RGB等の幾つかの色空間(所謂カラートライアングル)があるが、1実施例においては、NTSC_RGB色空間を使用する。   When determining the rgb coefficients, it is necessary to determine the color space to which it applies. There are several color spaces (so-called color triangles) such as sRGB, adobe RGB, NTSC_RGB in the xy chromaticity diagram, but in one embodiment the NTSC_RGB color space is used.

ところで、rgb係数(Y係数とも略称する)は、光源であるヘッドライトの色温度(K:ケルビン)に依存して変化する。色温度とは光の色を数値で表したものであって、光度(cd)とは異なるものであり、色温度が高くなるに従い黄色→白色→青色と順次光源の色合いが変化する。即ち、色温度が変化すると光のスペクトル分布も変化し、その結果rgb係数も変化することとなる。従って、輝度Yを決定する場合に使用するrgb係数は、ヘッドライトの色温度に対応するものであることが必要である。色温度が既知である場合(色温度測定器による測定等)には、その測定した色温度に対応するrgb係数を使用することが可能であるが、色温度が不知である場合には、ヘッドライトの色温度を推定して近似させることが必要となる。   The rgb coefficient (also abbreviated as Y coefficient) changes depending on the color temperature (K: Kelvin) of the headlight as the light source. The color temperature is a numerical value representing the color of light, which is different from the light intensity (cd), and the color tone of the light source changes sequentially from yellow to white to blue as the color temperature becomes higher. That is, when the color temperature changes, the spectral distribution of light also changes, and as a result, the rgb coefficient also changes. Therefore, the rgb coefficient used when determining the luminance Y needs to correspond to the color temperature of the headlight. If the color temperature is known (such as measurement with a color temperature meter), it is possible to use the rgb coefficient corresponding to the measured color temperature, but if the color temperature is unknown, the head It is necessary to estimate and approximate the color temperature of the light.

更に好適には、光学系を介しての色収差等の影響によるカラーイメージセンサの各画素におけるバラツキを補正してrgb係数を決定する。一般的に、カラーイメージセンサの中央付近から外側へ離れるにつれてそのバラツキは顕著になる傾向がある。1実施例において、該rgb係数は、CIE標準光源の色温度に基づいて決定された少なくとも1個の基準rgb係数と、該基準rgb係数を修正した少なくとも1個の補正rgb係数と、を包含している。1実施例においては、このバラツキを吸収するために、カラーイメージセンサの各画素毎にrgb係数を決定する。別の実施例においては、カラーイメージセンサの全画素を所定数の画素からなるゾーン毎に分割し、各ゾーン内の画素に対しては共通のrgb係数を適用する。   More preferably, the rgb coefficient is determined by correcting the variation in each pixel of the color image sensor due to the influence of chromatic aberration or the like through the optical system. In general, the variation tends to be noticeable as the color image sensor moves away from near the center of the color image sensor. In one embodiment, the rgb coefficients include at least one reference rgb coefficient determined based on the color temperature of the CIE standard light source and at least one correction rgb coefficient that is a modification of the reference rgb coefficient. ing. In one embodiment, to absorb this variation, the rgb coefficient is determined for each pixel of the color image sensor. In another embodiment, all pixels of the color image sensor are divided into zones of a predetermined number of pixels, and a common rgb coefficient is applied to the pixels in each zone.

1実施例において、該エルボー点決定手段は、該カラーイメージセンサの選択した画素に対するエルボー点補正用のhv位置補正テーブルを有しており、該水平及び傾斜カットラインに対して又はそれらの交点として決定されたエルボー点位置に対してhv位置補正を適用する。好適には、該hv位置補正データはカラーイメージセンサの各ゾーン毎に共通に適用される。尚、hは水平(左右)方向の位置補正データで、vは垂直(上下)方向の位置補正データである。   In one embodiment, the elbow point determination means comprises an hv position correction table for elbow point correction to selected pixels of the color image sensor, for the horizontal and oblique cut lines or as their intersection point Apply hv position correction to the determined elbow point position. Preferably, the hv position correction data is commonly applied to each zone of the color image sensor. Here, h is position correction data in the horizontal (left and right) direction, and v is position correction data in the vertical (upper and lower) direction.

1好適実施形態においては、更に、光源種別判定手段が設けられており、判定された光源種別に応じて適用すべきrgb係数を決定する。   In one preferred embodiment, a light source type determination unit is further provided to determine an rgb coefficient to be applied according to the determined light source type.

1好適実施形態においては、該rgb係数決定手段は、所定の光度又は色温度別にrgb係数を計算した複数個のテーブルを有しており、測定又は計算した光度又は色温度に従ってテーブルを選択し使用すべきrgb係数を決定する。   In one preferred embodiment, the rgb coefficient determination means has a plurality of tables in which rgb coefficients are calculated for predetermined light intensity or color temperature, and the table is selected and used according to the measured or calculated light intensity or color temperature. Determine the rgb factor to be done.

好適には、該rgb係数決定手段、該輝度決定手段、該エルボー点決定手段は、該カラーヘッドライトテスター内において該測定用カラーカメラに接続されている画像処理装置内に設けられている。1実施形態において、該画像処理装置は、少なくとも、CPUとメモリとを有するコンピュータシステムから構成されており、該rgb係数決定手段、該輝度決定手段、該エルボー点決定手段は、本カラーヘッドライトテスターの動作を制御するプログラムの一部として該メモリ内に格納されている。   Preferably, the rgb coefficient determination means, the luminance determination means, and the elbow point determination means are provided in the image processing apparatus connected to the color camera for measurement in the color headlight tester. In one embodiment, the image processing apparatus comprises a computer system having at least a CPU and a memory, the rgb coefficient determination means, the luminance determination means, and the elbow point determination means is the present color head light tester Stored as part of a program that controls the operation of

本発明によれば、ヘッドライトの投射光をカラー画像処理することによってヘッドライトの光軸(照射方向)、光度、エルボー点位置の少なくとも一つを正確且つ迅速に決定することが可能である。   According to the present invention, it is possible to accurately and quickly determine at least one of the light axis (illumination direction), the luminous intensity, and the elbow point position of the headlight by performing color image processing on the projection light of the headlight.

本発明の1実施例に基づいて構成されたカラーヘッドライトテスターを示した概略正面図。FIG. 1 is a schematic front view of a color headlight tester configured in accordance with one embodiment of the present invention. (A)乃至(D)は図1のカラーヘッドライトテスターの一部を構成している受光部内の光学系及びカメラの幾つかの配置例を示した夫々概略図。(A) thru | or (D) is the schematic which respectively showed the example of arrangement | positioning of the optical system in the light-receiving part which comprises a part of color headlight tester of FIG. 1, and some cameras. 図1のカラーヘッドライトテスターにおけるデータ処理を行う構成を示した概略図。FIG. 2 is a schematic view showing a configuration for performing data processing in the color headlight tester of FIG. 1; ヘッドライトから10mの距離における外部スクリーン(10mスクリーン)を図1のカラーヘッドライトテスターの受光部内の内部スクリーンに再現させる関係を示した概略図。FIG. 7 is a schematic view showing a relationship in which an external screen (10 m screen) at a distance of 10 m from the headlight is reproduced on the internal screen in the light receiving unit of the color headlight tester of FIG. 1. 図1のカラーヘッドライトテスターの内部スクリーンと該内部スクリーン上に受光されたヘッドライトの投射光の配光パターンを撮像する測定用カラーカメラとの関係を示した概略図。FIG. 2 is a schematic view showing a relationship between an inner screen of the color headlight tester of FIG. 1 and a color camera for measuring a light distribution pattern of the projection light of the headlight received on the inner screen. 外部スクリーン(10mスクリーン)と、図1のカラーヘッドライトテスターの内部スクリーンと、測定用カラーカメラ内のイメージセンサとの関係を示した概略図。The schematic which showed the relationship between an external screen (10 m screen), the internal screen of the color headlight tester of FIG. 1, and the image sensor in the color camera for measurement. ヘッドライトからの投射光をカラー画像処理してその光源種別としてハロゲンとHIDとに判定する場合に使用するRGB相対強度比の1例を示した表。The table which showed an example of the RGB relative intensity ratio used, when carrying out color image processing of the projection light from a headlight, and determining it as halogen and HID as the light source classification. ウイキペディア(Wikipedia)に記載されているCIEが公開している種々の標準光源(standard illuminant)の白色点(white point)の色度座標の表。A table of chromaticity coordinates of white points of various standard illuminants published by CIE described in Wikipedia. NTSC_RGB色空間の原色RGBの色度座標の表。A table of the primary color RGB chromaticity coordinates in the NTSC_RGB color space. CIE標準光源の白色点の色度座標とNTSC_RGB色空間の原色RGBの色度座標とを使用して計算したrgb係数を示した表。A table showing rgb coefficients calculated using the chromaticity coordinates of the white point of the CIE standard light source and the chromaticity coordinates of the primary color RGB of the NTSC_RGB color space. 図10の表中のrgb係数の近似式の一例を示したグラフ。The graph which showed an example of the approximation formula of the rgb coefficient in the table | surface of FIG. (A)及び(B)はスクリーン上の配光パターン33における最高輝度YMAXの位置を示した各概略図。(A) And (B) is each schematic which showed the position of the highest brightness Y MAX in the light distribution pattern 33 on a screen. (A)及び(B)はバランス方式により最高輝度の位置を探索する原理を示した各概略図。(A) and (B) are each schematic which showed the principle which searches the position of the highest brightness | luminance by a balance system. (A)はバランス方式による最高輝度の位置を探索する手順の1例を示したフローチャート、(B)は(A)のフローチャートの各段階におけるスクリーン19上の配光パターン33に対する処理状況を示した説明図。(A) is a flowchart showing one example of a procedure for searching for the position of the highest luminance by the balance method, (B) shows the processing situation for the light distribution pattern 33 on the screen 19 in each step of the flowchart of (A) Explanatory drawing. 2値化重心法により最高輝度の位置を探索する原理を示した概略図。The schematic which showed the principle which searches the position of the highest brightness | luminance by the binarization gravity center method. 基準球の夫々の設定光度(hcd)に対してシャッタースピード(SP)を変化させた場合に得られる有効な輝度Yの値を示したグラフ図。The graph which showed the value of the effective brightness | luminance Y obtained when changing shutter speed (SP) with respect to each setting luminous intensity (hcd) of a reference sphere. (A)は図16におけるシャッタースピード(SP)とそれに対応する輝度の値の勾配と、該勾配を(B)に示した近似式に当て嵌めて夫々の勾配に対して決定したA係数とを示した表。(A) shows the shutter speed (SP) in FIG. 16 and the corresponding gradient of the brightness value, and the A coefficient determined for each gradient by fitting the gradient to the approximate expression shown in (B) Shown table. 図16の各シャッタースピードSPに対して、輝度Yと光度との関係を勾配A及び係数Bを使用して定義した一次式Y=A×光度+Bによって係数Aに対応する係数Bの値を確定した表。For each shutter speed SP in FIG. 16, the value of the coefficient B corresponding to the coefficient A is determined by the linear expression Y = A × light intensity + B in which the relationship between the brightness Y and the light intensity is defined using the gradient A and the coefficient B Table. すれ違い灯の配向パターン及びそのカットラインとエルボー点、更に、路面照射点の位置を示した概略図。Schematic which showed the position of the orientation pattern of a passing light, its cut line and elbow point, and a road surface irradiation point. (A)はすれ違い灯のカットラインを決定するために差の差方式を適用するためのイメージセンサの画素のスキャン状態を示す概略図、(B)は差の差方式で水平カットラインを検索するために使用される画素配列を示す概略図、(C)は差の差方式で斜めカットラインを検索するために使用される画素配列を示す概略図。(A) A schematic diagram showing the scanning state of the pixels of the image sensor for applying the difference method to determine the cut line of the passing light, (B) searching the horizontal cut line by the difference method FIG. 6C is a schematic diagram showing the pixel array used for the (C) is a schematic diagram showing the pixel array used to search diagonal cut lines in a difference-difference system. 走行灯基準球の光度を50,400、1200hcdに夫々設定した場合のランプ中央付近における水平方向(横軸)及び垂直方向(縦軸)におけるRGBデータ分布を示したグラフ。FIG. 16 is a graph showing RGB data distributions in the horizontal direction (horizontal axis) and the vertical direction (vertical axis) near the center of the lamp when the luminous intensity of the traveling light reference sphere is set to 50, 400 and 1200 hcd, respectively. すれ違い灯基準球の光度を50,100、120hcdに夫々設定した場合のランプ中央付近における水平方向(横軸)及び垂直方向(縦軸)におけるRGBデータ分布を示したグラフ。FIG. 16 is a graph showing RGB data distributions in the horizontal direction (horizontal axis) and the vertical direction (vertical axis) near the center of the lamp when the luminous intensity of the passing lamp reference sphere is set to 50, 100, and 120 hcd, respectively. (A)基準球からの投射光の光度を10mスクリーン上の照度計で測定するシステムの平面図、(B)は該システムの側面図。(A) A plan view of a system for measuring the luminous intensity of the projection light from a reference sphere with a luminometer on a 10 m screen, and (B) is a side view of the system. 図23のシステムを使用して光度を測定する態様を示した説明図。Explanatory drawing which showed the aspect which measures light intensity using the system of FIG. イメージセンサの640×480個の画素からなる測定範囲を20×20個の画素からなるゾーンに均等分割した態様を示した概略図。The schematic which showed the aspect which divided equally the measurement range which consists of 640x480 pixels of an image sensor into the zone which consists of 20x20 pixels. ブロック番号とrgb係数との対応関係を示したテーブルの説明図。Explanatory drawing of the table which showed the correspondence of a block number and a rgb coefficient. (A)及び(B)は、光源として基準球を使用した場合の光度(hcd)とそれに対応する色温度(K)との関係を示した、夫々、対応表及び近似式のグラフ。(A) and (B) show the relationship between the luminous intensity (hcd) and the corresponding color temperature (K) when using a reference sphere as a light source, respectively, a correspondence table and a graph of an approximate expression. イメージセンサの640×480個の画素からなる測定範囲を20×20画素からなるゾーンに均等分割し且つ該測定範囲内に有効範囲を設定し、該有効範囲に内の夫々のゾーンに400hcdの光源光度に対する適宜のブロック番号を割り当てた場合の説明図。A measurement range consisting of 640 × 480 pixels of the image sensor is equally divided into a zone consisting of 20 × 20 pixels, an effective range is set within the measurement range, and a light source of 400 hcd in each zone within the effective range Explanatory drawing at the time of allocating the suitable block number with respect to light intensity. 図28の夫々のブロック番号とそれに対応するrgb係数の値とを示した対応表。FIG. 29 is a correspondence table showing each block number of FIG. 28 and the value of the corresponding rgb coefficient. 図23に示したシステムを使用して夫々の横方向位置において縦方向スキャンを順次行って縦方向点列を得る態様を示した説明図。FIG. 24 is an explanatory view showing an aspect in which longitudinal scanning is sequentially performed at respective lateral positions using the system shown in FIG. 23 to obtain a longitudinal direction point sequence; ブロック番号とそれに対応する水平(左右)方向位置補正データh及び垂直(上下)方向位置補正データvとの対応関係を示したバランス点位置補正補正テーブルの1例(500hcd)を示した表。6 is a table showing an example (500 hcd) of a balance point position correction correction table showing the correspondence between block numbers and corresponding horizontal (left and right) position correction data h and vertical (vertical) position correction data v; イメージセンサ20bの各ゾーン41に対して400hcd走行灯用のバランス点位置補正用のブロック番号を割り当てた状態を示した概略図。FIG. 14 is a schematic view showing a state in which block numbers for correcting balance point position for a 400 hcd traveling light are assigned to each zone 41 of the image sensor 20 b. 図32の夫々のゾーン41に割り当てられているブロック番号とそれに対応する水平位置補正量h及び垂直位置補正量vとの対応を示した対応表。FIG. 35 is a correspondence table showing correspondences between block numbers assigned to respective zones 41 of FIG. 32 and horizontal position correction amounts h and vertical position correction amounts v corresponding thereto. 図23のシステムにおいて基準球51としてすれ違い灯基準球を取り付けて水平方向の選択した位置に設定して垂直方向に基準球51を所定範囲にわたり角度変位させた場合のエルボー点の位置をヘッドライトテスター10で測定した場合のバラツキを示したグラフ。In the system shown in FIG. 23, a passing light reference ball is mounted as a reference ball 51 and set at a horizontally selected position, and the position of the elbow point is angularly displaced over a predetermined range in the vertical direction. A graph showing the variation when measured at 10. 図34のグラフにおける水平方向の選択した位置を左10cm(10mスクリーン換算)に設定して垂直方向に角度変位させた場合のエルボー点の測定位置の水平方向のバラツキと垂直方向のバラツキとを示しており夫々の近似式も示してあるグラフ。34 shows horizontal variation and vertical variation of the measurement position of the elbow point when the selected position in the horizontal direction in the graph of FIG. 34 is set to 10 cm left (10 m screen conversion) and angular displacement is performed in the vertical direction The graph which also shows each approximation formula. (A)〜(C)は、図34及び35に示したエルボー点の測定位置のバラツキを補正するための、夫々、ブロック番号と水平補正との対応表、ブロック番号とカットライン補正との対応表、ブロック番号と高さ補正との対応表、を示した表。(A) to (C) show the correspondence tables between block numbers and horizontal corrections, and correspondences between block numbers and cut line corrections, respectively, for correcting variations in measurement positions of elbow points shown in FIGS. 34 and 35. Table showing correspondence between block numbers and height corrections. 図36における「水平補正」、「カットライン補正」、「高さ補正」を夫々説明するための概略図。Schematic which respectively demonstrates "horizontal correction | amendment" in FIG. 36, "cutline correction | amendment", and "height correction | amendment."

図1は、本発明の1実施例に基づいて構成されたカラーヘッドライトテスター10の概略正面図を示している。カラーヘッドライトテスター10は、概略的に、検査すべき自動車等の車両のヘッドライトからの投射光を受光する受光部11と、受光部11を上下左右に移動自在に支持している基台12と、基台12上に直立されたスタンド部14と、スタンド部14の上部に配置された表示部(モニター)15とを有している。基台12の底部には複数個の転動体12aが設けられており、これらの転動体12aは床面13上に敷設されている図1において左右に延在している一対のレール(不図示)上に沿って移動可能である。図示例においては、スタンド部14は垂直方向に延在しているガイド棒14bが取り付けられており、更に、ガイド棒14bに沿って上下方向に移動自在にブラケット14cが設けられている。又、ブラケット14cはガイド棒14b周りに手動的に回転自在に設けられており、所望の回転位置においてガイド棒14bに対して固定させることが可能である。受光部11はブラケット14c上に取り付けられているので、受光部11はガイド棒14bに沿って上下方向に且つガイド棒14bの中心軸周りに移動制御可能である。受光部11にはファインダー(望遠鏡)11aが取り付けられており、検査すべきヘッドライトの向きと整合させるべく受光部11をガイド棒14b周りに回転させることが可能である。更に、スタンド部14内には受光部11の上下方向の移動を制御する第1駆動制御部と、基台12の左右方向の移動を制御する第2駆動制御部とが設けられている。スタンド部14には、更に、複数個のスイッチを包含しているコンソールパネル14aが設けられており、オペレータはこのコンソールパネル14aを介してデータを入力してカラーヘッドライトテスター10の動作を制御することが可能である。表示部15は、種々の検査状態や検査結果を表示することが可能なLCDディスプレイ等を有している。   FIG. 1 shows a schematic front view of a color headlight tester 10 configured in accordance with one embodiment of the present invention. The color headlight tester 10 roughly includes a light receiving unit 11 for receiving light projected from a headlight of a vehicle such as an automobile to be inspected, and a base 12 supporting the light receiving unit 11 so as to be movable vertically and horizontally. And a stand unit 14 erected on the base 12 and a display unit (monitor) 15 disposed on the top of the stand unit 14. A plurality of rolling elements 12 a are provided at the bottom of the base 12, and these rolling elements 12 a are provided on the floor surface 13 and extend in the left and right in FIG. ) It is movable along the top. In the illustrated example, the stand portion 14 is attached with a vertically extending guide rod 14b, and further, a bracket 14c is provided so as to be vertically movable along the guide rod 14b. Also, the bracket 14c is provided so as to be manually rotatable around the guide rod 14b, and can be fixed to the guide rod 14b at a desired rotational position. Since the light receiving unit 11 is mounted on the bracket 14c, the light receiving unit 11 can be controlled to move up and down along the guide rod 14b and around the central axis of the guide rod 14b. A finder (telescope) 11a is attached to the light receiving unit 11, and it is possible to rotate the light receiving unit 11 around the guide rod 14b in order to align with the direction of the headlight to be inspected. Further, a first drive control unit for controlling the vertical movement of the light receiving unit 11 and a second drive control unit for controlling the horizontal movement of the base 12 are provided in the stand unit 14. The stand unit 14 is further provided with a console panel 14a including a plurality of switches, and the operator controls the operation of the color headlight tester 10 by inputting data through the console panel 14a. It is possible. The display unit 15 has an LCD display or the like capable of displaying various inspection states and inspection results.

図示例においては、受光部11の上にデータ処理装置21が設けられており、後述する如く、受光部11によって受光された検査すべきヘッドライトからの投射光を画像処理するための種々の回路要素がデータ処理装置21内に設けられている。尚、データ処理装置21は、本図示例においては、受光部11の上に設けられているが、データ処理装置21は、必ずしも、受光部11の上に設けることが必要なものではなく、カラーヘッドライトテスター10のその他の箇所、例えば、スタンド部14内に設けることも可能であり、更に、無線接続を使用する場合には、カラーヘッドライトテスター10とは離れた位置に設けることも可能である。データ処理装置21は、受光部11内に設けられている後述する撮像装置(カメラ)からのデータを有線又は無線などにより受け取ることが可能なように接続されていることが必要であるに過ぎない。   In the illustrated example, the data processing device 21 is provided on the light receiving unit 11, and as described later, various circuits for image processing the projection light from the headlight to be inspected received by the light receiving unit 11 Elements are provided in the data processing device 21. Although the data processing device 21 is provided on the light receiving unit 11 in the illustrated example, the data processing device 21 is not necessarily provided on the light receiving unit 11 and a color It can be provided in other places of the headlight tester 10, for example, in the stand part 14, and furthermore, in the case of using a wireless connection, it can also be provided at a distance from the color headlight tester 10. is there. The data processing device 21 only needs to be connected so as to be able to receive data from an imaging device (camera), which will be described later, provided in the light receiving unit 11 by wire or wireless or the like. .

図2(A)乃至(D)は、受光部11の内部構成の幾つかの実施形態を概略的に示している。図2(A)に示されている実施例から明らかな如く、受光部11はハウジングとしての機能を具備しており、その前面には主レンズ17が設けられており、主レンズ17は、検査すべきヘッドライトLからの投射光を受光するように位置されている。即ち、ヘッドライトのテストを行う場合には、検査すべきヘッドライトLと主レンズ17との間の距離を所定の試験距離D(通常は、1m)に設定することが必要である。従って、通常は、検査すべきヘッドライトLを装着した自動車などの車両を自走させてカラーヘッドライトテスター10の主レンズ17の前方で試験距離Dの位置にヘッドライトLを位置させる。一方、カラーヘッドライトテスター10を前後方向にも移動自在に設けて、カラーヘッドライトテスター10を検査すべきヘッドライトLに対して所定の試験距離Dの位置に設定する構成とすることも可能であることは勿論である。   FIGS. 2A to 2D schematically show some embodiments of the internal configuration of the light receiving unit 11. As is apparent from the embodiment shown in FIG. 2A, the light receiving unit 11 has a function as a housing, and the main lens 17 is provided on the front surface thereof. It is positioned to receive the projection light from the headlight L which should be. That is, when a headlight test is performed, it is necessary to set the distance between the headlight L to be inspected and the main lens 17 to a predetermined test distance D (usually 1 m). Therefore, normally, a vehicle such as an automobile equipped with the headlight L to be inspected is made to travel and the headlight L is positioned in front of the main lens 17 of the color headlight tester 10 at the test distance D. On the other hand, the color headlight tester 10 may be provided so as to be movable in the front-rear direction, and the color headlight tester 10 may be set at a predetermined test distance D with respect to the headlight L to be tested. Of course there is one.

主レンズ17は、通常、フレネルレンズであり、受光部11の大きさ、特にその長さを極力最小とさせるために使用されている。即ち、ヘッドライトのテストは、本来は、ヘッドライトの10m前方に位置させた外部スクリーン(10mスクリーン)上にヘッドライトからの投射光を投射させて目視により行うものであるが、ヘッドライトテスターにおいては、フレネルレンズを含む光学系を使用することによって、10mスクリーン上の配光パターンを受光部11内部のスクリーン19上に再現させる構成となっている。この10mスクリーンの再現については後に更に詳細に説明する。図2(A)に示されている如く、受光部11内には、主レンズ17の光軸上に一対の第1及び第2ハーフミラー22,18が設けられている。従って、ヘッドライトLからの投射光を主レンズ17を通過した後に、第1ハーフミラー22によってその一部が透過されると共にその残部は上方へ反射される。第1ハーフミラー22からの透過光は第2ハーフミラー18を透過して内部スクリーンとしての測定用スクリーン19上に投射光の配光画像が形成される。後述するように、測定用スクリーン19と主レンズ17との間の距離は前述した10m再現に基づいて決定されるものである。   The main lens 17 is usually a Fresnel lens, and is used to minimize the size of the light receiving unit 11, in particular, the length thereof. That is, although the test of the headlight is originally performed by visually projecting the projection light from the headlight on the external screen (10 m screen) positioned 10 m ahead of the headlight, in the headlight tester Is configured to reproduce the light distribution pattern on the 10 m screen on the screen 19 inside the light receiving unit 11 by using an optical system including a Fresnel lens. The reproduction of this 10 m screen will be described in more detail later. As shown in FIG. 2A, in the light receiving unit 11, a pair of first and second half mirrors 22 and 18 are provided on the optical axis of the main lens 17. Therefore, after passing the projection light from the headlight L through the main lens 17, a part thereof is transmitted by the first half mirror 22 and the remaining part is reflected upward. The transmitted light from the first half mirror 22 is transmitted through the second half mirror 18 to form a light distribution image of the projection light on the measurement screen 19 as an internal screen. As described later, the distance between the measurement screen 19 and the main lens 17 is determined based on the 10 m reproduction described above.

第2ハーフミラー18の垂直上方にはカラー画像測定用撮像装置としての測定用カメラ20が設けられており、測定用カメラ20は第2ハーフミラー18で反射される測定用スクリーン19上の投射光の配光画像を撮像する。測定用カメラ20はカラーカメラであり、測定用スクリーン19上の配光画像をカラー画像として撮像する。測定用カメラ20は受光部11の上部に設けられているデータ処理装置21に接続されており、測定用カメラ20からのデータはデータ処理装置21に供給される。一方、第1ハーフミラー22の垂直上方には第3ミラー23が設けられており、第1ハーフミラーからの反射光を反射させて正対用撮像装置としての正対用カメラ24へ入力させる。正対用カメラ24はカラーカメラとすることも可能であるが、モノクロカメラとすることも可能である。正対用カメラ24も受光部11に取り付けられており、更に、データ処理装置21と接続されており、正対用カメラ24からのデータもデータ処理装置21に供給される。尚、正対用カメラ24は、ヘッドライトLに対してカラーヘッドライトテスター10、より特定的には受光部11の主レンズ17の中心17a、を正対させるために使用されるものであるから、正対用カメラ24は、ヘッドライトL自身の画像を撮像する位置関係に配置されており、後に詳述する如く、投射光の配光画像を撮像する測定用カメラ20とは配置条件が異なっている。   A measuring camera 20 as an imaging device for measuring a color image is provided vertically above the second half mirror 18, and the measuring camera 20 is projected light on the measuring screen 19 reflected by the second half mirror 18 Capture a light distribution image of The measurement camera 20 is a color camera, and images a light distribution image on the measurement screen 19 as a color image. The measuring camera 20 is connected to a data processing device 21 provided above the light receiving unit 11, and data from the measuring camera 20 is supplied to the data processing device 21. On the other hand, a third mirror 23 is provided vertically above the first half mirror 22 so as to reflect the light reflected from the first half mirror and to input it to the normal-pairing camera 24 as a normal-pairing imaging device. The facing camera 24 may be a color camera, but may also be a monochrome camera. The facing camera 24 is also attached to the light receiving unit 11 and is further connected to the data processing device 21, and data from the facing camera 24 is also supplied to the data processing device 21. It is to be noted that the camera 24 for facing is used to make the color headlight tester 10, more specifically, the center 17a of the main lens 17 of the light receiving unit 11 face the headlight L. The facing camera 24 is disposed in a positional relationship for capturing the image of the headlight L itself, and the arrangement conditions are different from the measuring camera 20 for capturing the light distribution image of the projection light, as described in detail later. ing.

図2(B)は受光部11の別の実施例の構成を示している。図2(B)の実施例の構成は図2(A)の実施例の構成と基本的に同じであるが、図2(A)の実施例における構成から第1ハーフミラー22と、第3ミラー23と、正対用カメラ24とを取り除いたものと同じである。従って、図2(B)の受光部11はスクリーン19上に投射されるヘッドライトLからの配光画像のみを処理するものであって、受光部11では正対機能を司るものではない。正対動作は受光部11とは別の要素を使用して行うことが必要である。   FIG. 2B shows the configuration of another embodiment of the light receiving unit 11. The configuration of the embodiment of FIG. 2 (B) is basically the same as the configuration of the embodiment of FIG. 2 (A), but from the configuration of the embodiment of FIG. 2 (A), the first half mirror 22 and the third It is the same as that in which the mirror 23 and the facing camera 24 are removed. Therefore, the light receiving unit 11 in FIG. 2B processes only the light distribution image from the headlight L projected on the screen 19, and the light receiving unit 11 does not control the facing function. The facing operation needs to be performed using an element other than the light receiving unit 11.

図2(C)は受光部11の更に別の実施例の構成を示しており、この場合には、図2(A)の実施例の構成から測定用カメラ20及びそれと関連する第2ハーフミラー18及びスクリーン19を削除している。従って、図2(C)の受光部11は正対用カメラ24によってヘッドライトLに対する正対動作のみを司るものであって、ヘッドライトLの投射光の配光パターンを撮像するものではない。図2(D)は受光部11の更に別の実施例の構成を示しており、それは図2(C)の実施例の構成において正対用カメラ24と第3ミラー23との受光部長手軸方向における配置関係を反転させたものである。従って、第3ミラーの角度配置も第1ハーフミラー22からの反射光を正対用カメラ24へ反射させることが可能な状態に変更されている。この場合にも、受光部11は正対用カメラ24によるヘッドライトLに対する正対動作のみを司るものである。   FIG. 2C shows the configuration of still another embodiment of the light receiving section 11. In this case, from the configuration of the embodiment of FIG. 2A, the measuring camera 20 and the second half mirror related thereto are shown. 18 and screen 19 are deleted. Therefore, the light receiving unit 11 in FIG. 2C only controls the facing operation to the headlight L by the facing camera 24 and does not image the light distribution pattern of the projection light of the headlight L. FIG. 2D shows the construction of still another embodiment of the light receiving section 11, which is the longitudinal axis of the light receiving section of the camera 24 for the front facing and the third mirror 23 in the construction of the embodiment of FIG. 2C. The arrangement relationship in the direction is inverted. Accordingly, the angular arrangement of the third mirror is also changed to a state in which the reflected light from the first half mirror 22 can be reflected to the facing camera 24. Also in this case, the light receiving unit 11 controls only the facing operation to the headlight L by the facing camera 24.

図3は、データ処理装置21と関連部品との接続関係を示したブロック図である。データ処理装置21は画像処理装置30と制御部31とを有しており、画像処理装置30はカラー配光画像を撮像する測定用カメラ20からカラー画像データとしてのRGBデータを受け取り、一方、正対用カメラ24からのヘッドライトLの撮像データを受け取る。画像処理装置30は、例えば、CPUやメモリ等からなるコンピュータシステムから構成されており、メモリは、本カラーヘッドライトテスター10の動作を制御するプログラム等を格納しているROMや、該プログラムに従って処理中の種々のデータを一時的に格納するRAM等を包含している。画像処理装置30は表示部(モニター)15と接続されており、プログラムに従って処理された結果及び/又は種々の設定条件等を表示部15に表示させる。更に、画像処理装置30は制御部31に接続されており、制御部31はオペレータの入力を受け取る種々のスイッチ等を包含しているコンソール(制御部)14aに接続されると共に、受光部11を上下左右に移動させる駆動装置及び受光部11の上下左右方向の位置制御を規制するリミター等を包含している上下左右駆動装置及び検知器14dと接続している。   FIG. 3 is a block diagram showing the connection between the data processor 21 and the related parts. The data processing device 21 has an image processing device 30 and a control unit 31, and the image processing device 30 receives RGB data as color image data from the measurement camera 20 for capturing a color light distribution image, The imaging data of the headlight L from the companion camera 24 is received. The image processing apparatus 30 is composed of, for example, a computer system including a CPU, a memory and the like, and the memory is processed according to the ROM storing a program for controlling the operation of the color head light tester 10 and the like, It includes a RAM etc. for temporarily storing various data in it. The image processing apparatus 30 is connected to the display unit (monitor) 15, and causes the display unit 15 to display the results processed according to the program and / or various setting conditions and the like. Furthermore, the image processing apparatus 30 is connected to the control unit 31, and the control unit 31 is connected to a console (control unit) 14a including various switches and the like that receive an operator's input. It is connected to an up-and-down, left-right drive and detector 14d which includes a drive for moving up and down, left and right, and a limiter for restricting position control of the light receiving unit 11 in up, down, left, and right directions.

図4は、受光部11内で10m再現を行う場合の関係式を示しており、それは交通安全公害研究所(現在の交通安全環境研究所)から公表されているものである。即ち、ヘッドライトのテストは、本来的には、ヘッドライトの前方10mに位置された外部スクリーン(10mスクリーン)上に投射光を照射して、該10mスクリーン上における配光パターンに基づいて目視により行うこととなっている。ヘッドライトテスターはこの様なヘッドライトのテストを実効的に行うために10m再現構成を採用している。即ち、図4に示されている如く、ヘッドライトLの前方10mの位置Aに外部スクリーン(10mスクリーン)が配置されておりそこにヘッドライトLからの投射光が照射されて該外部スクリーン(10mスクリーン)上にはヘッドライトLの投射光の配光パターンが目視により確認できるものとする。そこで、ヘッドライトテスターにおいて10m再現を行う場合には、ヘッドライトLの1m前方に受光部11の主レンズ17を配置させ、主レンズ17の焦点距離fによって、主レンズ17に入射されるヘッドライトLの投射光は主レンズ17から距離xにおける位置Bに配置されている内部スクリーン19上に投射光の配光パターンが映し出されることとなる。この時に、外部スクリーン(10mスクリーン)A上の大きさaは内部スクリーンB上においては大きさyとなる。この様に主レンズ17の焦点距離を適切に選択することによって、主レンズ17と位置Bにおける内部スクリーン19との間の距離xを適切に決定することが可能となる。即ち、主レンズ17と内部スクリーン19とを受光部11内に配置させることが可能となり、ヘッドライトテスターにおいて10m再現を実現することが可能となる。   FIG. 4 shows a relational expression in the case of performing 10 m reproduction in the light receiving unit 11, which is published by the Traffic Safety and Pollution Research Institute (current Traffic Safety and Environment Research Institute). That is, in the headlight test, the projection light is originally irradiated on an external screen (10 m screen) located 10 m in front of the headlight, and visually observed based on the light distribution pattern on the 10 m screen It is supposed to be done. The headlight tester adopts a 10 m reproduction configuration to effectively test such headlights. That is, as shown in FIG. 4, an external screen (10 m screen) is disposed at a position A 10 m in front of the headlight L, and the projection light from the headlight L is irradiated there and the external screen (10 m) The light distribution pattern of the projection light of the headlight L can be visually confirmed on the screen. Therefore, when the headlight tester performs 10 m reproduction, the main lens 17 of the light receiving unit 11 is disposed 1 m ahead of the headlight L, and the headlight is incident on the main lens 17 by the focal distance f of the main lens 17 A light distribution pattern of the projection light is projected on the internal screen 19 disposed at a position B at a distance x from the main lens 17. At this time, the size a on the outer screen (10 m screen) A becomes the size y on the inner screen B. By appropriately selecting the focal length of the main lens 17 in this manner, it is possible to appropriately determine the distance x between the main lens 17 and the inner screen 19 at the position B. That is, it becomes possible to arrange the main lens 17 and the internal screen 19 in the light receiving section 11, and it becomes possible to realize 10 m reproduction in the headlight tester.

図4に関連して図5も参照して説明すると、測定用カメラ20は受光部11内の位置Bにおける内部スクリーン19上に映し出されるヘッドライトLからの投射光のカラー配光パターンを撮像するものである。測定用カメラ20はレンズ20aと半導体イメージセンサ20bとを有しており、レンズ20aは内部スクリーン19から距離z(ワークディスタンス)の位置に位置されている。従って、内部スクリーン19上の投射光の配光パターンはレンズ20aを介して半導体イメージセンサ20b上に結像されることとなり、これにより、測定用カメラ20によって内部スクリーン19上のカラー配光画像を撮像することが可能である。半導体イメージセンサ20bとしては、CCD又はCMOSを使用することが可能である。   Referring also to FIG. 5 with reference to FIG. 4, the measuring camera 20 captures a color light distribution pattern of the projection light from the headlight L projected on the internal screen 19 at the position B in the light receiving unit 11. It is a thing. The measuring camera 20 has a lens 20 a and a semiconductor image sensor 20 b, and the lens 20 a is located at a distance z (work distance) from the internal screen 19. Therefore, the light distribution pattern of the projection light on the internal screen 19 is imaged on the semiconductor image sensor 20b through the lens 20a, whereby the color distribution image on the internal screen 19 is measured by the measuring camera 20. It is possible to image. As the semiconductor image sensor 20b, a CCD or a CMOS can be used.

図4と図5の関係を図6にまとめて示してある。即ち、図6に示されているように、ヘッドライトテストにおいて本来的に予定されている大型の10mスクリーン25は、主レンズ17の焦点距離fによって受光部11内の小型の内部スクリーン19に再現されており、内部スクリーン19上のカラー配光画像は測定用カメラ20のレンズ20aを介して半導体イメージセンサ20b上に結像される。ここで、xは10m相関距離(主レンズ17と内部スクリーン19との間の距離)であり、zは内部スクリーン19と測定用カメラ20又はそのイメージセンサ20bとの間のワークディスタンスである。   The relationship between FIG. 4 and FIG. 5 is summarized in FIG. That is, as shown in FIG. 6, the large 10 m screen 25 originally scheduled in the headlight test is reproduced on the small internal screen 19 in the light receiving unit 11 by the focal length f of the main lens 17. The color light distribution image on the inner screen 19 is imaged on the semiconductor image sensor 20 b through the lens 20 a of the measuring camera 20. Here, x is a 10 m correlation distance (the distance between the main lens 17 and the inner screen 19), and z is a working distance between the inner screen 19 and the measuring camera 20 or its image sensor 20b.

測定用カメラ20内の半導体イメージセンサ20bは好適にはCCDから構成されており、公知の如く、複数個の画素からなる2次元配列を有している。イメージセンサ20bは単板式又は多板式とすることが可能であり、単板式の場合には、2次元マトリクスの形状に配列された複数個の画素の各々の上に3原色であるR(赤)、G(緑)、B(青)の内のいずれか一つのカラーフィルタが配設されている。この場合のカラーフィルタの配列は所謂ベイヤー配列とすることが一般的であるが、本発明はそのような特定の配列のみに制限されるべきものではない。この様なカラーフィルターの配列の場合には、各画素からは対応したフィルターに従う色成分の光量に応じた電荷が画素データとして得られるに過ぎない。従って、測定用カメラ20では、得られた画素データをA/D変換した後に、所定数の周辺の画素のデータを基に色補間処理を行って、各画素において欠如する他の残りの2つの原色成分のデータを発生する。この様にして半導体イメージセンサ20bとして単板式を使用した場合には、測定用カメラ20は、上述した如き色補間処理を行うことによって、各画素に対するデジタルのRGB夫々のデータ(レベルが0〜255の範囲内のデジタルデータ又はアナログデータ)を発生し出力する。一方、半導体イメージセンサ20bが多板式である場合には、各画素から直接的にRGBの夫々のデータが得られるので、測定用カメラ20は、夫々のRGBデータをA/D変換した後にRGBデータ(レベルが0〜255の範囲内のデジタルデータ又はアナログデータ)として出力する。   The semiconductor image sensor 20b in the measuring camera 20 is preferably composed of a CCD, and has a two-dimensional array of a plurality of pixels, as is well known. The image sensor 20b may be a single-plate type or multi-plate type, and in the case of the single-plate type, R (red) which is three primary colors on each of a plurality of pixels arranged in the shape of a two-dimensional matrix. , G (green) and B (blue) are disposed. Although the arrangement of the color filters in this case is generally a so-called Bayer arrangement, the present invention should not be limited to only such a specific arrangement. In the case of such an array of color filters, charges corresponding to the amount of light of color components according to the corresponding filters are only obtained as pixel data from each pixel. Therefore, in the measuring camera 20, after A / D conversion of the obtained pixel data, color interpolation processing is performed based on data of a predetermined number of peripheral pixels, and the remaining two other pixels missing in each pixel Generate data of primary color components. When the single-plate type is used as the semiconductor image sensor 20b in this way, the measurement camera 20 performs digital interpolation processing as described above to obtain digital RGB data (levels 0 to 255) for each pixel. Digital data or analog data) within the range of On the other hand, when the semiconductor image sensor 20b is a multi-plate type, each data of RGB is obtained directly from each pixel, so the measuring camera 20 performs A / D conversion of each RGB data and then RGB data. It outputs as (digital data or analog data whose level is in the range of 0 to 255).

1実施例においては、イメージセンサ20bとして、640個(横)×480個(縦)からなる2次元配列の画素からなる測定領域を有するCCDイメージセンサを使用している。   In one embodiment, as the image sensor 20b, a CCD image sensor having a measurement area consisting of pixels of a two-dimensional array of 640 (horizontal) × 480 (vertical) is used.

次に、本発明に基づいて、カラー画像処理を行うことによってヘッドライトの光源種別判定を自動的に行う構成について特に図7を参照して説明する。図7は、本発明者等の鋭意研究の結果得られた多数のハロゲンランプとHIDランプとについてのRGB相対強度比率を測定した結果をまとめたものである。この結果を、例えば、G/Rを横軸にとり|G−R|を縦軸にとってプロットすると、ハロゲンランプとHIDランプの夫々の領域が明確に区別されることが明らかである。従って、図7に示されているRGBの相対強度比率をテーブル等の形態で画像処理装置30内に格納しておけば、検査すべきヘッドライトLがハロゲンランプ(暖色系ランプ)であるか、又はHIDランプ(寒色系ランプ)であるかを本カラーヘッドライトテスター10によって自動的に判別することが可能である。   Next, a configuration for automatically performing the light source type determination of the headlight by performing color image processing based on the present invention will be described with reference to FIG. 7 in particular. FIG. 7 summarizes the results of measuring the relative intensity ratio of RGB for a large number of halogen lamps and HID lamps obtained as a result of intensive research conducted by the present inventors. If this result is plotted, for example, G / R on the horizontal axis and | G-R | on the vertical axis, it is clear that the regions of the halogen lamp and the HID lamp are clearly distinguished. Therefore, if the relative intensity ratio of RGB shown in FIG. 7 is stored in the image processing apparatus 30 in the form of a table or the like, whether the headlight L to be inspected is a halogen lamp (warm color lamp), The color headlight tester 10 can automatically determine whether the lamp is an HID lamp (cold color lamp).

図7に示されている条件を画像処理装置30のメモリ内にテーブルとして格納する場合には多数の形態を取ることが可能であり、少なくとも以下の3つのテーブルの具体例を構成することが可能である。   When the conditions shown in FIG. 7 are stored as a table in the memory of the image processing apparatus 30, many forms can be taken, and at least the following three examples of tables can be configured. It is.

(1)G/Rのみをパラメータとする場合
0.0≦G/R≦1.19 → ハロゲンランプ
1.20≦G/R≦1.79 → HIDランプ
(2)|G−R|のみをパラメータとする場合
1.0≦|G−R|<30 → ハロゲンランプ
30≦|G−R|≦80 → HIDランプ
(3)G/Rと|G−R|との両方をパラメータとする場合
0.0≦G/R≦1.19且つ1.0≦|G−R|<30 → ハロゲンランプ
1.20≦G/R≦1.79且つ1.0≦|G−R|≦80 → HIDランプ
本カラーヘッドライトテスター10において、検査すべきヘッドライトLの種別判定を行う動作について説明すると、先ず、検査すべきヘッドライトLからの投射光を受光部11の内部スクリーン19上に投射させる。内部スクリーン19上の配光パターンは測定用カメラ20のイメージセンサ20b上に結像され、イメージセンサ20bの夫々の画素に対してRGBデータが該配光パターンに従って測定用カメラ20から発生される。そして、配光パターン内の最高輝度値Yを抽出し、その最高輝度値Yが所定の範囲(例えば、195以上220以下の範囲)内に入ることを確保する。
(1) When only G / R is used as a parameter 0.0 ≦ G / R ≦ 1.19 → Halogen lamp 1.20 ≦ G / R ≦ 1.79 → HID lamp (2) | In case of parameter 1.0 ≦ | G−R | <30 → Halogen lamp 30 ≦ | G−R | ≦ 80 → in case of using both HID lamp (3) G / R and | G−R | 0.0 ≦ G / R ≦ 1.19 and 1.0 ≦ | GR 1 <30 → halogen lamp 1.20 ≦ G / R ≦ 1.79 and 1.0 ≦ | GR 1 ≦ 80 → HID Lamp In the color headlight tester 10, the operation of determining the type of the headlight L to be inspected will be described. First, the projection light from the headlight L to be inspected is projected on the internal screen 19 of the light receiving unit 11. . The light distribution pattern on the internal screen 19 is imaged on the image sensor 20b of the measurement camera 20, and RGB data is generated from the measurement camera 20 according to the light distribution pattern for each pixel of the image sensor 20b. Then, the highest luminance value Y in the light distribution pattern is extracted, and it is ensured that the highest luminance value Y falls within a predetermined range (for example, a range of 195 or more and 220 or less).

尚、各画素に対しての輝度値とRGBデータとの関係は次式で表される。   The relationship between the luminance value and the RGB data for each pixel is expressed by the following equation.

Y=r×R+g×G+b×B
尚、RGBは各画素のRGBの夫々のデジタルデータ(0乃至255)であり、rgbはRGBの夫々の重み付けとしての係数(rgb係数をまとめてY係数とも呼称される)。
Y = r × R + g × G + b × B
Note that RGB is each digital data (0 to 255) of RGB of each pixel, and rgb is a coefficient as a weighting of RGB (the rgb coefficients are collectively referred to as Y coefficient).

1実施例においては、測定用カメラ20はデフォルト値として、色温度3170Kにおいて以下のrgb係数値を有している。   In one embodiment, the measuring camera 20 has the following rgb coefficient values at a color temperature of 3170 K as a default value.

r=0.4111
g=0.5461
b=0.0428
従って、これらのrgb係数値及びRGBデータを使用して、各画素の輝度値Yを計算することが可能である。そして、その場合に、抽出された最高輝度値Yが前記所定の範囲内に入ることを確保するということは、測定用カメラ20はシャッター速度を調整することが可能であり、そのシャッター速度を適切な値に設定するためである。即ち、先ずシャッター速度を下限値に設定すると、多くの画素からのRGBデータは飽和値(255)となるので、各画素からのRGBデータが255以下となるようにシャッター速度を順次上げていく。この場合に、初めは荒く、即ち所定数の画素毎に、飛ばしながら処理し、目標値に近づいたらより細かく処理を行う。そして、抽出された最高輝度値Yが前記所定の範囲内に収まることを確保する。
r = 0.4111
g = 0.5461
b = 0.0428
Therefore, it is possible to calculate the luminance value Y of each pixel using these rgb coefficient values and RGB data. And in that case, to ensure that the extracted maximum luminance value Y falls within the predetermined range, the measurement camera 20 can adjust the shutter speed, and the shutter speed is appropriately adjusted. To set the value to That is, when the shutter speed is first set to the lower limit value, the RGB data from many pixels becomes the saturated value (255), so the shutter speed is sequentially increased so that the RGB data from each pixel becomes 255 or less. In this case, the process is initially rough, that is, the process is performed while skipping a predetermined number of pixels, and the process is performed more finely as the target value is approached. Then, it is ensured that the extracted maximum luminance value Y falls within the predetermined range.

以上の処理によって抽出された最高輝度値Yに対応する画素におけるRGBデータに基づいて前述したG/R及び|G−R|等の相対強度比率を計算することが可能である。別の実施形態においては、そのようにして抽出された最高輝度値Yに対応する画素の周辺の所定数の画素(例えば、10×10個の画素)に基づいて上記相対強度比率を計算することも可能である。   It is possible to calculate the relative intensity ratio such as G / R and | G−R | based on the RGB data in the pixel corresponding to the highest luminance value Y extracted by the above processing. In another embodiment, calculating the relative intensity ratio based on a predetermined number of pixels (for example, 10 × 10 pixels) around the pixel corresponding to the highest luminance value Y extracted in this manner. Is also possible.

更に、上述した如く、各画素の輝度値Yを計算する場合には、各画素のRGBデータを使用して計算することが可能であるが、別の実施形態としては、そのようにして計算された各画素の輝度値Yに基づいて、周辺画素(例えば、3×3個の画素)の夫々の輝度値Yとの平均値を中心画素の輝度値Yとして置換させることも可能である。   Furthermore, as described above, when calculating the luminance value Y of each pixel, it is possible to calculate using RGB data of each pixel, but in another embodiment, it is calculated as such. Based on the luminance value Y of each pixel, it is also possible to replace the average value of the peripheral pixels (for example, 3 × 3 pixels) with each luminance value Y as the luminance value Y of the central pixel.

上述した如くに計算された相対強度比率に基づいて、検査中のヘッドライトLがハロゲンランプ(暖色系ランプ)であるか、又はHIDランプ(寒色系ランプ)であるかの種別の判定を自動的に行うことが可能である。   Based on the relative intensity ratio calculated as described above, it is automatically determined whether the headlight L under test is a halogen lamp (warm color lamp) or a HID lamp (cold color system lamp) It is possible to

ところで、上述した実施例においては、ヘッドライト光源種別判定のパラメータとして、G/Rと|G−R|との2つのパラメータを使用しているが、測定用カメラ20からはRGBの3つのデータが出力されるものであるから、これらの3つのRGBデータの内の任意の2つを選択して比率及び/又は差などのパラメータを構成してヘッドライト光源種別判定のパラメータとして使用することが可能であることは勿論である。更に、上述した実施例においては、光源種別としては、ハロゲンランプとHIDランプとを採用しているが、その他の光源としてはLEDランプもあるので、LEDランプに対しても本発明を適用可能であることは勿論である。更に、ヘッドライトLがハロゲンランプである場合の色温度は約2500〜4000Kであり、一方HIDランプである場合の色温度は約4000〜6000であると言われているので、ヘッドライトLの色温度を測定することによりこれらの光源の種別の判定を行うことも可能である。   By the way, in the embodiment described above, two parameters of G / R and | G-R | are used as parameters of the headlight light source type determination, but three data of RGB from the measurement camera 20 Is selected, any two of these three RGB data may be selected to configure parameters such as a ratio and / or a difference to be used as parameters for determining the type of headlight light source. Of course it is possible. Furthermore, although the halogen lamp and the HID lamp are adopted as the light source type in the embodiment described above, the LED lamp is also available as the other light source, so the present invention can be applied to the LED lamp as well. Of course there is one. Furthermore, the color temperature of the headlight L when it is a halogen lamp is said to be about 2500-4000 K, while the color temperature when it is a HID lamp is said to be about 4000-6000, so the color of the headlight L It is also possible to determine the type of these light sources by measuring the temperature.

次に、本発明の別の側面に基づいて、本カラーヘッドライトテスターにより、光軸、光度、又はエルボー点の測定を行う場合について夫々説明する。いずれの測定を行う場合においても、先ず、本カラーヘッドライトテスター10の測定用カラー撮像装置である測定用カメラ20によってヘッドライトLからの投射光の配光パターンを撮像し、その配光パターンに従って測定用カメラ20が各画素毎のRGBデータを画像処理装置30へ供給し輝度Yを計算することが必要である。1実施例においては、測定用カメラが0〜255のデジタル値としてRGBデータを画像処理装置30へ供給する。別の実施例において、測定用カメラから出力されるRGBデータがアナログ値である場合には、画像処理装置30においてそのアナログRGBデータを256階調(8ビット)である0(最低輝度)〜255(最高輝度)のデジタルRGBデータへ変換する。そして、画像処理装置30は、このデジタルRGBデータを処理して測定用カメラ20のカラーイメージセンサ20bの各画素に対する輝度Yを計算する。この場合に、輝度Yとは、CIE・XYZ表色系における三刺激値X,Y,Zにより定義されるXYZ座標におけるY座標に対応しており、本明細書においては、
Y=r×R+g×G+b×B (1)
によって定義されるものとする。尚、r,g,bの夫々の係数はR,G,Bが夫々単独で強度100%、即ち値1、の場合のY値である。
Next, based on another aspect of the present invention, measurement of an optical axis, luminous intensity, or elbow point by the color headlight tester will be described. In any measurement, first, the light distribution pattern of the projection light from the headlight L is imaged by the measurement camera 20 which is a color imaging device for measurement of the color headlight tester 10, and the light distribution pattern is taken according to the light distribution pattern. It is necessary for the measurement camera 20 to supply RGB data for each pixel to the image processing apparatus 30 and calculate the luminance Y. In one embodiment, the measuring camera supplies RGB data to the image processor 30 as digital values from 0-255. In another embodiment, when the RGB data output from the measuring camera is an analog value, the image processing device 30 has 256 gradations (8 bits) of 0 (minimum luminance) 255 in the analog RGB data. Convert to (maximum brightness) digital RGB data. Then, the image processing device 30 processes the digital RGB data to calculate the luminance Y for each pixel of the color image sensor 20 b of the measuring camera 20. In this case, the luminance Y corresponds to the Y coordinate in XYZ coordinates defined by tristimulus values X, Y, Z in the CIE · XYZ color system, and in the present specification,
Y = r × R + g × G + b × B (1)
Shall be defined by The respective coefficients of r, g and b are Y values in the case where R, G and B each have an intensity of 100%, that is, a value of 1.

従って、輝度Yを計算するためには、RGBデータの夫々の重み付けとしての係数r、g、bの値が確定されていなければならない。これらの係数r、g、bの値を確定させるためにはRGBからXYZへの変換式を導出することが必要である。   Therefore, in order to calculate the luminance Y, the values of the coefficients r, g and b as the respective weightings of the RGB data must be determined. In order to determine the values of these coefficients r, g, b, it is necessary to derive a conversion equation from RGB to XYZ.

ここで、RGBからXYZへの変換式を次式で表されるものとする。   Here, it is assumed that the conversion equation from RGB to XYZ is represented by the following equation.

Figure 0006548879
Figure 0006548879

この変換行列Mを以下の如くに設定する。   This transformation matrix M is set as follows.

Figure 0006548879
Figure 0006548879

尚、ここで、x、y、zは原色Rの色度座標(x=X/(X+Y+Z)など)、x、y、zは原色Gの色度座標、x、y、zは原色Bの色度座標であり、C、C,Cは未定の定数である。 Here, x R , y R , z R are the chromaticity coordinates of the primary color R (such as x R = X R / (X R + Y R + Z R )), x G , y G , z G are the primary colors G The chromaticity coordinates x B , y B and z B are the chromaticity coordinates of the primary color B, and C R , C G and C B are undetermined constants.

そして、RGB値は[0,1]に正規化されており且つ白色がX、Y、Zで表されるとすると上式(2)は次の如くになる。 Then, RGB values are normalized to [0,1] and white X W, Y W, When represented by Z W above equation (2) becomes the following as.

Figure 0006548879
Figure 0006548879

白色Y=1であり、X=x/y=x/yであり且つZ=z/y=z/yであるから、上式(4)は次の3つの連立方程式となる。 Since white Y W = 1 and X W = x W Y W / y W = x W / y W and Z W = z W Y W / y W = z W / y W , the above equation ( 4) becomes the following three simultaneous equations.

/y=C+C+C
1=C+C+C (5)
/y=C+C+C
式(5)の3つの連立方程式において、RGB色空間(例えば、sRGB,adobeRGB、NTSC_RGB等)を指定することによって原色RGBの色度座標(x、y、x,y,x、y)が決まり(尚、定義上、z=1−(x+y)、z=1−(x+y)、z=1−(x+y)である)、更に、光源を指定することによって白色点の色度座標(x、y)が特定されるので(尚、定義上、z=1−(x+y)である)、3つの不定の定数C、C、Cについて解くことが可能である。
x W / y W = C R x R + C G x G + C B x B
1 = C B y R + C G y G + C B y B (5)
z W / y W = C R z R + C G z G + C B z B
In the three simultaneous equations of equation (5), the chromaticity coordinates (x R , y R , x G , y G , x B ) of the primary color RGB are specified by specifying the RGB color space (for example, sRGB, adobe RGB, NTSC_RGB, etc.) , Y B ) are determined (by definition, z R = 1-(x R + y R ), z G = 1-(x G + y G ), z B = 1-(x B + y B )) Furthermore, by specifying the light source, the chromaticity coordinates (x w , y w ) of the white point are specified (though, by definition, z w = 1- (x w + y w )), It is possible to solve for indefinite constants C R , C G , C B.

そして、上式(3)からYは、
Y=C×R+C×G+C×B (6)
となるので、前述した輝度Yの定義式(1)における係数r、g、bは以下の如くに決定される。
And from the above equation (3), Y is
Y = C R y R x R + C G y G x G + C B y B x B (6)
Therefore, the coefficients r, g, b in the definition equation (1) of the luminance Y described above are determined as follows.

r=C、g=C、b=C (7)
上述した如く、RGB色空間(例えば、sRGB,adobeRGB、NTSC_RGB等)を特定することによって原色RGBの色度座標が特定され且つ光源を特定することによって白色点の色度座標が特定され、その結果、輝度Yの定義式(1)におけるr、g、b係数が特定されることとなる。
r = C R y R , g = C G y G , b = C B y B (7)
As described above, the chromaticity coordinates of the primary color RGB are identified by specifying the RGB color space (for example, sRGB, adobe RGB, NTSC_RGB, etc.), and the chromaticity coordinates of the white point are specified by specifying the light source. The r, g and b coefficients in the definition equation (1) of the luminance Y are specified.

一方、図8に示されるように、CIE(国際照明委員会)は多数の標準光源を標準イルミナント(A,B,C,D,E,F等)として規定しており、夫々の標準光源の白色点(white point)を色度座標(x,y)として規定している。尚、図8においては、これらの白色点について1931年に規定された2°視野のものと1964年に規定された10°視野のものとが記載されている。以下の実施例においては、1931年に規定された2°視野の白色点の色度座標(x,y)を使用する。更に、以下の実施例においては、RGB色空間としてNTSC_RGBを特定するものとすると、NTSC_RGB色空間における原色R,G,B夫々の色度座標は図9に示される値を有している。 On the other hand, as shown in FIG. 8, the CIE (International Commission on Illumination) defines a large number of standard light sources as standard illuminants (A, B, C, D, E, F, etc.). A white point (white point) is defined as chromaticity coordinates (x, y). In FIG. 8, those of 2 ° visual field defined in 1931 and those of 10 ° visual field defined in 1964 are described for these white points. In the following example, the chromaticity coordinates (x 2 , y 2 ) of the 2 ° field of view white point specified in 1931 are used. Furthermore, in the following embodiment, assuming that NTSC_RGB is specified as the RGB color space, the chromaticity coordinates of each of the primary colors R, G and B in the NTSC_RGB color space have the values shown in FIG.

そこで、図9に示されているNTSC_RGB色空間のx、y色度座標と、図8に示されている各標準光源A乃至F12の夫々の白色点のx、y色度座標とを使用して、夫々の標準光源に対するr、g、b係数を計算すると図10の表の如くになる。尚、図10の表においては、各標準光源に対する色温度(K)も記載されているが、これは図8の表中におけるCCT(K)、即ち相関色温度、からコピーしたものである。尚、本明細書においては、相関色温度を単に色温度として上位概念的に記載することとする。   Therefore, the x and y chromaticity coordinates of the NTSC_RGB color space shown in FIG. 9 and the x and y chromaticity coordinates of the respective white points of the respective standard light sources A to F12 shown in FIG. 8 are used. The r, g, b coefficients for each standard light source are calculated as shown in the table of FIG. In the table of FIG. 10, the color temperature (K) for each standard light source is also described, but this is a copy of CCT (K) in the table of FIG. 8, that is, the correlated color temperature. In the present specification, the correlated color temperature will be described conceptually as simply the color temperature.

図10の表は、r、g、b係数が色温度(K)の関数として変化していることを表しているので、近似式の当て嵌めを行うことが可能であり、二次式を使用した場合の例を図11に示してある。この様な近似式は図11に示した二次式に限らずそれ以上の次数の多項式又は一次式とすることも可能であり、更には、その他の適切な形式の近似式を当て嵌めることも可能であることは勿論である。1実施例においては、この様な近似式を使用して色温度を変化させてr、g、b係数の値を決定し、色温度とrgb係数との関係をテーブルとして画像処理装置30内に格納することが可能である。以上の結果から、光源の色温度が分かれば、その色温度に対応するrgb係数を特定することが可能であり、その光源からの投射光を画像処理することにより得られるデジタルRGBデータに基づいて各画素に対する輝度Yを上式(1)に従って決定することが可能である。   Since the table in FIG. 10 shows that the r, g, b coefficients change as a function of color temperature (K), it is possible to fit an approximation equation and use a quadratic equation An example of the case is shown in FIG. Such an approximate expression is not limited to the quadratic expression shown in FIG. 11 but may be a polynomial or linear expression of a higher order, or may be fitted with another appropriate type of approximate expression. Of course it is possible. In one embodiment, the color temperature is changed using such an approximation to determine the values of the r, g, and b coefficients, and the relationship between the color temperature and the rgb coefficient is used as a table in the image processing apparatus 30. It is possible to store. From the above results, if the color temperature of the light source is known, it is possible to specify the rgb coefficient corresponding to the color temperature, and based on digital RGB data obtained by image processing the projection light from the light source It is possible to determine the luminance Y for each pixel according to the above equation (1).

従って、図1に示した本カラーヘッドライトテスター10において、測定すべき光源としてのヘッドライトLからの投射光の色温度を測定することが可能な機器を設けて、測定した色温度を画像処理装置30へ直接的に供給することが可能である場合には、そのように測定された色温度に基づいてr、g、b係数の値を直接的に決定することが可能である。又は別の実施例としては、別体の色温度を測定することが可能な機器を使用してオペレータが測定すべきヘッドライトLからの投射光の色温度を測定し、その色温度測定値を操作部14aを介してオペレータが入力させる構成とすることも可能である。この場合には、オペレータが別途色温度を測定して入力するという付加的な労力が必要となるが、色温度測定器を本カラーヘッドライトテスター10に装着する構成とすること無しに、普及型の色温度測定器を使用して対処することが可能であるという利点がある。一方、色温度測定器によって測定された色温度を使用しない場合には、先ず、色温度を推定して処理し、その後推定した色温度が所要の許容範囲内のものであることを確保すべく対策することが必要となる。   Therefore, in the present color headlight tester 10 shown in FIG. 1, an apparatus capable of measuring the color temperature of the projection light from the headlight L as a light source to be measured is provided to process the measured color temperature If it is possible to supply directly to the device 30, it is possible to determine the values of the r, g, b coefficients directly on the basis of the color temperature so measured. Or, as another example, the color temperature measurement of the projection light from the headlight L to be measured by the operator using an apparatus capable of measuring the color temperature of a separate body is measured. It is also possible for the operator to input via the operation unit 14a. In this case, additional labor is required for the operator to separately measure and input the color temperature, but without using a configuration in which the color temperature measuring device is mounted on the color headlight tester 10, it is popularized It has the advantage of being able to be addressed using a color temperature meter. On the other hand, if the color temperature measured by the color temperature measuring device is not used, the color temperature is first estimated and processed, and then it is ensured that the estimated color temperature is within the required tolerance. It is necessary to take measures.

上述した如く、測定用カメラ20のカラーイメージセンサ20bの各画素に対して輝度Yが計算されるので、これらの計算された輝度Yの中で最高の輝度を見つけ出すことによって、ヘッドライトLの光軸(照射方向)を決定することが可能であり、次いで、その最高輝度に対応する光度(hcd)を決定することが可能である。一方、これらの計算された輝度Yを使用して、配光パターン内の所定の位置にある所謂路面照射点における光度を決定することも可能である。又、これらの計算された輝度Yを互いに比較することによって配光パターン内の水平カットラインと斜めカットラインとを探索し、それらのカットラインの交点としてエルボー点の位置を決定することが可能である。これらの各処理について以下詳説する。   As described above, since the brightness Y is calculated for each pixel of the color image sensor 20b of the measurement camera 20, the light of the headlight L is found by finding the highest brightness among these calculated brightness Y. The axis (irradiation direction) can be determined, and then the luminous intensity (hcd) corresponding to its maximum intensity can be determined. On the other hand, it is also possible to use these calculated luminances Y to determine the luminous intensity at so-called road surface illumination points which are at predetermined positions in the light distribution pattern. It is also possible to search for horizontal cut lines and diagonal cut lines in the light distribution pattern by comparing these calculated luminances Y with each other, and to determine the position of the elbow point as the intersection of those cut lines. is there. Each of these processes will be described in detail below.

1.走行灯の光軸(照射方向)の決定
上述したように、光源としてのヘッドライトLの色温度が分かれば、それに対応するrgb係数をrgb係数決定手段によって決定することが可能であり、各画素に対する輝度Yを輝度決定手段によって計算することが可能である。その結果、画像処理装置30のメモリ内には計算された各画素に対する輝度Yが例えばそのRAM内に一時的に格納されている。尚、これらのrgb係数決定手段及び輝度決定手段は、本ヘッドライトテスター10の画像処理装置30内に画像処理プログラムの一部として例えばROM内に格納されている。該画像処理プログラムは、更に、その一部として、光軸決定手段を含んでおり、該光軸決定手段は、該RAM内に一時的に格納されている各画素に対する輝度Yの中で最高(最大)の輝度を見つけ出し、その最高輝度の上下左右方向の位置をヘッドライトLからの投射光の光軸(照射方向)として決定する。
1. Determination of the optical axis (irradiation direction) of the traveling light As described above, if the color temperature of the headlight L as a light source is known, it is possible to determine the corresponding rgb coefficient by the rgb coefficient determination means. The brightness Y for Y can be calculated by the brightness determination means. As a result, in the memory of the image processing device 30, the calculated luminance Y for each pixel is temporarily stored, for example, in the RAM. The rgb coefficient determination means and the luminance determination means are stored in the image processing apparatus 30 of the headlight tester 10 as part of an image processing program, for example, in a ROM. The image processing program further includes, as a part thereof, an optical axis determination means, the optical axis determination means having the highest luminance Y of each pixel temporarily stored in the RAM. The brightness of the maximum) is found, and the position of the maximum brightness in the vertical and horizontal directions is determined as the optical axis (irradiation direction) of the projection light from the headlight L.

該光軸決定手段が最高輝度YMAXを見つけ出す場合には、該RAM内に一時的に格納されている複数個の輝度Yを所定の方向にスキャンして、例えば、隣接する一対の画素間において一層大きな輝度Yのものが生き残るように順次処理する等して行うことが可能であり、その他の最大値を見つけ出すための既知の任意のアルゴリズムを適用することも可能である。図12Aは、受光部11内の測定用スクリーン19上に投射された配光パターン33を複数個の等光度楕円で模式的に示しており、測定用カメラ20はこの配光パターン33を撮像してRGBデータを出力し、画像処理装置30が画像処理プログラムに従ってこれらのRGBデータを処理する。図12Aの配光パターン33では、そのほぼ中心に最高輝度YMAXが存在しており、この最高輝度YMAXの存在する位置を光軸(照射方向)として決定することが可能である。一方、図12Bは配光パターン33の中心近くに複数個の最高輝度YMAXが存在しているか、又は最高輝度YMAXは1個であるが、それが中心付近において絶えず位置を変動させている場合を示している。図12Bのような場合には、例えば、そのような複数個の最高光度YMAXの夫々の位置を平均した位置を光軸(照射方向)として決定することが可能である。 When the optical axis determination means finds the highest luminance Y MAX , a plurality of luminances Y temporarily stored in the RAM are scanned in a predetermined direction, for example, between adjacent pairs of pixels. It is possible to do things such as ones with higher luminance Y to survive sequentially, etc. It is also possible to apply any known algorithm for finding other maxima. FIG. 12A schematically shows the light distribution pattern 33 projected on the measurement screen 19 in the light receiving unit 11 as a plurality of equal-intensity ellipses, and the measurement camera 20 captures an image of the light distribution pattern 33. Then, the RGB data is output, and the image processing device 30 processes these RGB data in accordance with the image processing program. In the light distribution pattern 33 of FIG. 12A, the maximum luminance Y MAX exists substantially at the center thereof, and it is possible to determine the position where the maximum luminance Y MAX exists as the optical axis (illumination direction). On the other hand, FIG. 12B shows that a plurality of maximum luminances Y MAX exist near the center of the light distribution pattern 33, or the maximum luminance Y MAX is one, but it is constantly fluctuating in position near the center The case is shown. In the case as shown in FIG. 12B, for example, it is possible to determine a position obtained by averaging the positions of the plurality of maximum luminous intensities Y MAX as an optical axis (irradiation direction).

図13は走行灯の配光パターン33の最高輝度YMAXの位置を決定する別のアプローチであるバランス方式の原理を示している。図13の実施例はバランス方式として3度30分方式を適用した場合である。ところで、図12の配光パターン33に示されているように、走行灯の配光パターン33は、その輝度分布は上下左右ともほぼなだらかな変化をしている。そこで、バランス方式によれば、図13Aに示されているように、左右に3度づつ離れた2点の輝度が同じYである夫々の位置の中心を左右の中心Oとし、且つ上下に30分づつ離れた2点の輝度が同じYである夫々の位置の中心を上下の中心Oとする。そして、これらの左右の中心Oと上下の中心Oとによって決定される中心位置における輝度を最大輝度YMAXとする。 FIG. 13 shows the principle of the balance method, which is another approach for determining the position of the maximum luminance Y MAX of the light distribution pattern 33 of the traveling light. The embodiment shown in FIG. 13 is a case where the 3 times 30 minutes system is applied as the balance system. By the way, as the light distribution pattern 33 of FIG. 12 shows, the luminance distribution of the light distribution pattern 33 of the traveling light changes almost gently in the vertical and horizontal directions. Therefore, according to the balance method, as shown in FIG. 13A, the center of each position where the luminances of two points separated by 3 degrees to the left and right are the same Y H is taken as the center O H of the left and right and brightness of two points spaced increments 30 minutes to the center position of each is the same Y V and the upper and lower center O V on. Then, the luminance at the center position determined by the center O H of the left and right and above and below the center O V and the maximum brightness Y MAX.

次に、図14を参照して、バランス方式として3度30分方式を適用した場合の具体的手順について詳述する。図14Aはバランス方式のフローチャート35を示しており、図14Bはフローチャート35に対応するステップの測定用スクリーン19上の配光パターン33を示している。即ち、図14Aのフローチャート35においては、バランス点測定手順が開始されると、図14Aのステップ35a及び図14Bのステップ36aにおいて、配光パターン33の最高輝度YMAXの位置を抽出しその位置を注目位置として設定する。次いで、図14Aのステップ35b及び図14Bのステップ36b1−36b2において、現在の注目位置から左右各3度の位置における夫々の輝度Yを比較し(ステップ36b1)、これら左右の位置における輝度Yがバランスする位置を左右の現在の注目位置として更新する(ステップ36b2)。次いで、図14Aのステップ35c及び図14Bのステップ36c1−36c2において、更新された現在の注目位置の上下各30分の位置における夫々の輝度Yを比較し(ステップ36c1)、これらの上下の位置における輝度Yがバランスする位置を上下の新たな注目位置として更新する(ステップ36c2)。次に、ステップ35dにおいて、繰り返し回数であるカウントに1を加算し、次いで、ステップ35eにおいて、そのカウントが所定の繰り返し最大数(例えば、50)を超えているか否かを判別し、超えていない場合には、再度、ステップ35bにリターンしてバランス処理を継続する。一方、カウントが所定の繰り返し最大数を超えている場合には、ステップ35fへ移行し、更新された左右方向及び上下方向における現在の注目位置をヘッドライトLの投射光の光軸(照射方向)として決定する。更に、別の実施例においては、更新された注目位置と更新前の注目位置との間の差が所定の許容範囲内に入った場合に繰り返し処理を終了する。 Next, with reference to FIG. 14, a specific procedure in the case where the 3 degrees and 30 minutes method is applied as the balance method will be described in detail. FIG. 14A shows a flowchart 35 of the balance method, and FIG. 14B shows a light distribution pattern 33 on the measurement screen 19 in the step corresponding to the flowchart 35. That is, in the flowchart 35 of FIG. 14A, when the balance point measurement procedure is started, the position of the maximum luminance Y MAX of the light distribution pattern 33 is extracted and the position is extracted in step 35a of FIG. 14A and step 36a of FIG. Set as the position of interest. Next, in step 35b of FIG. 14A and steps 36b1 to 36b2 of FIG. 14B, the respective luminances Y at positions of 3 degrees left and right from the current position of interest are compared (step 36b1), and the luminances Y at these left and right positions are balanced. The current position is updated as the left and right current target positions (step 36b2). Next, in step 35c of FIG. 14A and step 36c1 to 36c2 of FIG. 14B, the respective luminances Y at positions 30 minutes above and below the updated current position of interest are compared (step 36c1). The position where the luminance Y balances is updated as a new upper and lower attention position (step 36c2). Next, in step 35d, 1 is added to the count which is the number of repetitions, and then, in step 35e, it is determined whether the count exceeds a predetermined maximum number of repetitions (for example, 50). In this case, the process returns to step 35b again to continue the balance process. On the other hand, if the count exceeds the predetermined repetition maximum number, the process proceeds to step 35f, and the current target position in the updated horizontal and vertical directions is the optical axis of the projection light of the headlight L (irradiation direction) Decide as. Furthermore, in another embodiment, the process is repeatedly terminated when the difference between the updated focused position and the focused position before updating falls within a predetermined allowable range.

図15は最高輝度YMAXを抽出する更に別の手法である2値化重心法を示している。2値化重心法によれば、図15に示されているように、測定用スクリーン19上の配光パターン33に対して得られた画素毎の輝度Y(0〜255)に対して或るスレッシュホールド輝度Yを設定してY以上の輝度のみを切り取る2値化処理を行う。この場合に、1例としては、図15に示されているように、YとしてYMAX(=255)の50%であるY(=127)に設定し、それ以上の輝度のみを切り取る。ちなみに、50%での2値化を行う場合には、その50%の境界33aが3度30分方式を適用したバランス方式において左右方向各3度でのバランスを得るための左右の画素位置33d1,33d2とほぼ一致することとなる。次いで、切り取られた境界33aの断面図形に関して断面一次モーメントを算出し、その図形の中心としての重心33b’の位置を決定する。尚、図15の例においては、上下方向の輝度レベルの断面は水平軸Hに関して対称であると仮定しているので、重心33b’の位置は水平軸H上に存在している。仮に、上下方向の輝度レベルの断面が水平軸Hに関して対称的ではない場合には、上下方向Vに関しても境界33aの断面図形に関して断面一次モーメントを算出して上下方向における重心33b’の位置を確定することが必要である。尚、図15の図示例においては、決定された重心33b’の位置33bは、真の最高輝度YMAXの位置33eと比較して僅かに左側にずれているが、バランス方式によって左右各3度の中心として決定される位置33cと比較して、より真の最高光度YMAXの位置33eに一層近いものとなっている。これは、図15に示されているような配光パターン33が左右方向において非対称である場合には、バランス方式よりも2値化重心方式の方が一層真の最高光度YMAXの位置に近い位置が得られることを示している。 FIG. 15 shows another method of extracting the maximum luminance Y MAX , which is a binarized centroid method. According to the binarization centroid method, as shown in FIG. 15, there is a certain value with respect to the luminance Y (0 to 255) for each pixel obtained for the light distribution pattern 33 on the measurement screen 19. The threshold luminance Y T is set to perform binarization processing to cut out only the luminance higher than Y T. In this case, as one example, as shown in FIG. 15, Y T is set to Y T (= 127) which is 50% of Y MAX (= 255), and only the luminance higher than that is cut out . By the way, when 50% binarization is performed, the left and right pixel positions 33d1 for obtaining balance in each of the left and right direction in the balance method in which the 50% of the boundary 33a applies the 3 degrees and 30 minutes method. , 33 d 2 will almost match. Next, the first moment of area is calculated with respect to the sectional figure of the cut-off boundary 33a, and the position of the center of gravity 33b 'as the center of the figure is determined. In the example of FIG. 15, the cross section of the luminance level in the vertical direction is assumed to be symmetrical with respect to the horizontal axis H, so the position of the center of gravity 33b 'is on the horizontal axis H. If the cross section of the luminance level in the vertical direction is not symmetrical with respect to the horizontal axis H, the moment of the first cross section is calculated for the cross sectional figure of the boundary 33a also in the vertical direction V to determine the position of the gravity center 33b 'in the vertical direction. It is necessary to. In the illustrated example of FIG. 15, the position 33b of the determined center of gravity 33b 'is slightly shifted to the left compared to the position 33e of the true maximum luminance Y MAX , but each of the left and right 3 degrees by the balance method As compared with the position 33c determined as the center of the light intensity, it is closer to the position 33e of the true maximum luminous intensity Y MAX . This is because, when the light distribution pattern 33 as shown in FIG. 15 is asymmetrical in the left-right direction, the binarized center of gravity method is closer to the true maximum light intensity Y MAX position than the balance method. It indicates that the position can be obtained.

2.走行灯の光度の決定
次に、以上の如くして決定された最高輝度YMAXからヘッドライトLの光度を決定する手順について説明する。尚、ヘッドライトLの光度の単位としては、一般的には、カンデラ(cd)が使用されているが、ヘッドライトテスター業界においては、それを100倍したヘクトカンデラ(hcd)(即ち、1hcd=100cd)を光度の単位として使用するのが通常であるから、本明細書においても、特に断りがない限り、ヘッドライトの光度の単位としてはhcd又はHCDを使用することとする。
2. Determination of Light Intensity of Running Light Next, a procedure for determining the light intensity of the headlight L from the maximum brightness Y MAX determined as described above will be described. In addition, although candelas (cd) are generally used as a unit of the luminosity of headlight L, in the headlight tester industry, the hectode candelas (hcd) (ie, 1 hcd = which multiplied it 100 times). Since it is usual to use 100 cd) as a unit of luminous intensity, also in this specification, unless otherwise noted, hcd or HCD is used as a unit of luminous intensity of the headlight.

ところで、輝度Yとは、ヘッドライトLの投射光から得られたRGBデータを画像処理装置30がカラー画像処理して得られた無次元の数値に過ぎず、輝度と光度との間には通常は特別の関係は存在していないので、輝度Yから光度(hcd)を決定する場合には、何らかの方法で輝度と光度との関係付けがなされていなければならない。本発明の1実施例においては、光度が既知である基準となる光源(例えば、標準のヘッドライト又は基準球)を使用して事前に光度と輝度との関係を確立しており、その手法について以下に詳述する。尚、当業界においては、ヘッドライトテスターの校正又は試験を行うために使用される基準球なるものが存在している。基準球とは、一般社団法人日本自動車機械工具協会が基準適合性試験用としてランプメーカーに依頼して製作されたランプであって、特に、ヘッドライトテスター自身を試験するために製作された高精度のランプである。基準球はガラス製のランプで、配光はレンズカットにより、光源はハロゲンランプであり、走行灯用とすれ違い灯用の2種類がある。基準球は規則によって検査すべき50〜12,000hcdの範囲の光度を発生することが可能である。   By the way, the luminance Y is merely a dimensionless numerical value obtained by the image processing device 30 performing color image processing on RGB data obtained from the projection light of the headlight L, and it is usually between the luminance and the light intensity. Since there is no special relationship with H, when determining the light intensity (hcd) from the brightness Y, the brightness and the light intensity must be related in some way. In one embodiment of the present invention, the relationship between the light intensity and the brightness is established in advance using a reference light source (for example, a standard headlight or a reference sphere) whose light intensity is known. It will be described in detail below. In the industry, there are reference balls used to calibrate or test headlight testers. A reference ball is a lamp manufactured by the general association of Japan Automotive Machinery and Tools Association with a request from a lamp manufacturer for reference conformity test, and in particular, a high precision manufactured for testing the headlight tester itself. It is a lamp of The reference sphere is a glass lamp, the light distribution is a lens cut, the light source is a halogen lamp, and there are two types, one for traveling lights and one for passing lights. The reference sphere can generate a luminous intensity in the range of 50 to 12,000 hcd to be checked according to the regulations.

図16は、そのような基準球を使用して、該基準球からの投射光を測定用カメラ20のカラーイメージセンサ20bで受光して測定用カメラ20からRGBデータを画像処理装置30へ送り、画像処理装置30から輝度Yを出力した結果の一部を示している。図16に示されているように、使用した基準球はその光度(hcd)を10〜1250にわたり最初は5hcd毎に次いで10hcd毎に変化させている。測定用カメラ20はそのシャッタースピード(SP)を変化させることが可能であり、ここではSP=0〜64の間で変化させている。図16に示されるように、基準球の光度が高くなるにつれて、シャッタースピードSPが遅い場合には、輝度Yは255となり最高輝度以上(即ち、オーバーフロー状態)であることを示している。シャッタースピードSPを上げていくと、有効な輝度値が得られ始める。この例においては、或るスレッシュホールドを設定して必要以上の輝度値を計算することを回避するために、スレッシュホールド以下の輝度値はカットして0としてある。図16において、四角で囲ってある数値が基準球の設定光度(hcd)に対して各シャッタースピードSPにおいて得られた有効な輝度Yである。図16の下段に示されている表は、上段の表の一部を拡大したものである。   FIG. 16 uses such a reference sphere, receives the projection light from the reference sphere by the color image sensor 20b of the measurement camera 20, and sends RGB data from the measurement camera 20 to the image processing device 30, A part of the result of outputting the luminance Y from the image processing device 30 is shown. As shown in FIG. 16, the reference sphere used changes its luminous intensity (hcd) from 10 to 1250 first, every 5 hcd and then every 10 hcd. The measurement camera 20 can change its shutter speed (SP), and here it is changed between SP = 0-64. As shown in FIG. 16, as the light intensity of the reference sphere increases, when the shutter speed SP is slow, the brightness Y is 255, which indicates that the brightness is equal to or higher than the maximum brightness (that is, an overflow state). As the shutter speed SP is increased, an effective luminance value starts to be obtained. In this example, the luminance values below the threshold are cut to 0 in order to avoid setting a certain threshold to calculate the luminance value more than necessary. In FIG. 16, numerical values enclosed by squares are effective luminances Y obtained at each shutter speed SP with respect to the set luminous intensity (hcd) of the reference sphere. The table shown in the lower part of FIG. 16 is an enlarged part of the upper table.

図16の下段の表から明らかなように、各シャッタースピードSPの値に対して得られている輝度Yは基準球の光度hcdが増加するに従って増加している。従って、図16に示されている輝度Yの値は各シャッタースピードSPに対する勾配を表しており、各シャッタースピードSPに対してのこれらの輝度Yの値によって定義される勾配を計算することが可能である。図17(A)は、図16の下段に示されている拡大表示部分において示されているシャッタースピードSP=0からSP=34の範囲に対して計算された勾配の値を示した表である。次に、これらの勾配の値をシャッタースピードSPの関数としてみなして近似式を得たものが図17(B)に示してある。図17(B)に示されている近似式は1例としての指数関数であるが、これは任意の適宜の形式のその他の関数を当て嵌めることが可能であることは当然である。この様にして得られた近似式から夫々のシャッタースピードSPに対して計算された値を係数Aとして図17(A)の表に示されている。係数Aは、言わば、勾配を平滑化したものといえる。   As apparent from the lower table of FIG. 16, the luminance Y obtained for each shutter speed SP increases as the light intensity hcd of the reference sphere increases. Therefore, the values of luminance Y shown in FIG. 16 represent the slopes for each shutter speed SP, and it is possible to calculate the slope defined by the values of these luminances Y for each shutter speed SP It is. FIG. 17A is a table showing the values of the gradient calculated for the range of shutter speeds SP = 0 to SP = 34 shown in the enlarged display portion shown in the lower part of FIG. . Next, values of these gradients are regarded as a function of the shutter speed SP to obtain an approximate expression, which is shown in FIG. Although the approximate expression shown in FIG. 17B is an example exponential function, it is of course possible to fit any other appropriate type of function. The value calculated for each shutter speed SP from the approximate expression obtained in this manner is shown in the table of FIG. 17A as a coefficient A. The coefficient A can be said to be a smoothed gradient.

次に、図18は、図16下段の拡大表示した表の一部(シャッタースピードSPが0〜10までと基準球の光度hcdが10〜60までの範囲)をコピーしたものであり、更に、図17(A)に示したシャッタースピードSPが0〜10に対して得られた係数Aの値を示している。ところで、図18の表において、係数Aは各シャッタースピードSPに対する勾配を表しており、更に、各シャッタースピードSPに対しては、その勾配を定義する輝度の値が対応する光度hcdにわたって示されている。従って、各シャッタースピードSPにおいての輝度と光度との関係を対応する勾配(係数A)を使用して一次式で近似すると次式のようになる。   Next, FIG. 18 is a copy of a part of the enlarged table in the lower part of FIG. 16 (a range from 0 to 10 for the shutter speed SP and from 10 to 60 for the luminous intensity hcd of the reference sphere). The shutter speed SP shown to FIG. 17 (A) has shown the value of the coefficient A obtained with respect to 0-10. By the way, in the table of FIG. 18, the coefficient A represents the slope for each shutter speed SP, and further, for each shutter speed SP, the value of the luminance defining the slope is shown over the corresponding light intensity hcd There is. Therefore, the relationship between the brightness and the light intensity at each shutter speed SP can be approximated by a linear equation using the corresponding gradient (coefficient A) as in the following equation.

Y=A×光度+B (8)
そこで、各シャッタースピードSPに対して、例えば1例として、図18の表に示されている有効な最大の輝度の値(例えば、SP=1の場合には「242」)を使用して上記一次近似式の係数Bを計算することが可能である。そのようにして計算されたB係数の値が図18の表に示されている。
Y = A × light intensity + B (8)
Therefore, for each shutter speed SP, for example, the effective maximum luminance value shown in the table of FIG. 18 (for example, “242” in the case of SP = 1) is used as an example. It is possible to calculate the coefficient B of the first order approximation. The values of the B factor so calculated are shown in the table of FIG.

以上のことから、輝度Yが得られた時の測定用カメラ20のシャッタースピードSPが分かれば、それに対応するA係数及びB係数は図18の表から得られるので、そのシャッタースピードSPを使用して得られた輝度Yに対しては次式によって対応する光度hcdを計算することが可能である。   From the above, if the shutter speed SP of the measuring camera 20 when the luminance Y is obtained is known, the corresponding A coefficient and B coefficient can be obtained from the table of FIG. For the luminance Y thus obtained, it is possible to calculate the corresponding luminous intensity hcd according to the following equation.

光度=(Y−B)/A (9)
以上の如くにして、走行灯の最高輝度YMAXからそれに対応するヘッドライトLの走行灯としての光度(hcd)を決定することが可能である。尚、輝度と光度との関係を確立する態様は上述した実施例に制限されるべきものではなく、その他の方法によって適宜関連付けを行うことが可能であることは勿論である。
Intensity = (Y-B) / A (9)
As described above, it is possible to determine the luminous intensity (hcd) as the traveling light of the headlight L corresponding to the maximum luminance Y MAX of the traveling light. Note that the aspect of establishing the relationship between the luminance and the light intensity is not limited to the above-described embodiment, and it is needless to say that the association can be appropriately performed by other methods.

3.すれ違い灯の光度の決定
前述した如く、ヘッドライトLが走行灯の場合には、測定用カメラ20から得られるRGBデータを使用して選択した画素の各々に対して輝度Yを計算し、次いで、それらの輝度Yの内で最高輝度YMAXを探索し、その最高輝度YMAXを光度(hcd)へ変換することが必要であった。一方、すれ違い灯の場合には、光度を測定すべき位置は規則(道路運送車両法等)によって「路面照射点」として予め決められている。即ち、図19に示した如く、すれ違い灯の光度を測定すべき路面照射点36とは、ヘッドライトLの中心を通る垂線Vから左側1.3度で且つ該中心を通る水平線Hの下側0.6度(ヘッドライトLの高さが1m以下)の点36a又は0.9度(ヘッドライトLの高さが1m超)の点36bである。尚、図19における垂直線V及び水平線Hは、車両の中心軸線延長上で、左右夫々のヘッドライトLの中心の10m前方での垂直線及び水平線を示すものである。これらの角度は、ヘッドライトLより10m前方に投影した場合の角度を表している。図19に示されているすれ違い灯の配光パターン33にはカットライン37(水平カットライン37aと斜めカットライン37b)とエルボー点38とが存在している。
3. Determining the Light Intensity of the Passing Light As described above, if the headlight L is a traveling light, calculate the luminance Y for each of the selected pixels using RGB data obtained from the measuring camera 20, then It was necessary to search for the highest luminance Y MAX among those luminances Y and to convert the highest luminance Y MAX into a luminous intensity (hcd). On the other hand, in the case of a passing lamp, the position at which the light intensity should be measured is determined in advance as a "road surface irradiation point" by a rule (the Road Transportation Vehicle Act etc.). That is, as shown in FIG. 19, the road surface illumination point 36 where the luminous intensity of the passing light is to be measured is 1.3 degrees leftward from the vertical line V passing through the center of the headlight L and below the horizontal line H passing through the center The point 36a is 0.6 degrees (the height of the headlight L is 1 m or less) or the point 36b is 0.9 degrees (the height of the headlight L is more than 1 m). Vertical lines V and horizontal lines H in FIG. 19 indicate vertical lines and horizontal lines 10 m ahead of the centers of the left and right headlights L on the central axis extension of the vehicle. These angles represent angles when projected 10 m forward of the headlight L. Cut lines 37 (horizontal cut lines 37 a and oblique cut lines 37 b) and elbow points 38 exist in the light distribution pattern 33 of the passing light shown in FIG. 19.

この様に、すれ違い灯の光度の測定においては、測定すべき位置が不変的に規定されているので、図19の配光パターン33が測定用カメラ20によって撮像され、RGBデータが画像処理装置30へ供給されると、路面照射点36の位置に対応する画素の輝度Yから前述した式(9)を使用してヘッドライトLの光度(hcd)を決定することが可能である。   Thus, in the measurement of the luminous intensity of the passing light, since the position to be measured is defined in an invariable manner, the light distribution pattern 33 of FIG. 19 is imaged by the measuring camera 20, and the RGB data is processed by the image processing device 30. When supplied to the road surface, it is possible to determine the light intensity (hcd) of the headlight L from the brightness Y of the pixel corresponding to the position of the road surface illumination point 36 using the above-mentioned equation (9).

4.すれ違い灯のエルボー点の検出
上述した如く、測定用カメラ20のカラーイメージセンサ20bの各画素に対して輝度Yが計算されるので、図19に示されているように、これらの計算された輝度Yを互いに比較することによって配光パターン33内の水平カットライン37aと斜めカットライン37bとを探索し、それらのカットラインの交点としてエルボー点38の位置を決定することが可能である。本発明の1実施形態においては、差の差方式を使用してカットラインを抽出しており、差の差方式の原理について図20(A)〜(C)を参照して以下に説明する。
4. Detection of Elbow Point of Passing Light As described above, since the luminance Y is calculated for each pixel of the color image sensor 20b of the measuring camera 20, as shown in FIG. 19, these calculated luminances It is possible to search the horizontal cut line 37a and the oblique cut line 37b in the light distribution pattern 33 by comparing Y with each other, and determine the position of the elbow point 38 as the intersection point of these cut lines. In one embodiment of the present invention, the cut line is extracted using the difference method, and the principle of the difference method will be described below with reference to FIGS. 20 (A) to (C).

図20(A)には、CCDカラーイメージセンサ20b上に撮像されたすれ違い灯としてのヘッドライトLからの投射光の配光パターン33が示されている。複数個の等光度線で模式的に示されている配光パターン33は明るい部分であり、配光パターン33の右上側には水平カットライン37aが示されており、配光パターン33の左上側には斜めカットライン37bが示されている。水平カットライン37aと斜めカットライン37bとの交点はエルボー点38を構成している。カットライン37はその下側の配光パターン33の明るい部分とその上側の暗い部分との境界を構成する明暗分岐線となっている。図20(A)の右側部分には、カットライン37を含む配光パターン33の輝度(光度)分布の断面が示されており、カットライン37は明るい配光パターン33から暗い部分への急峻な勾配部分の内で輝度勾配線の最大輝度勾配点に存在している。差の差方式とは、原理的には、この輝度勾配線の最大輝度勾配点を画像処理によって見つけ出す技術である。   FIG. 20A shows a light distribution pattern 33 of projection light from the headlight L as a passing light imaged on the CCD color image sensor 20b. A light distribution pattern 33 schematically shown by a plurality of equal light intensity lines is a bright part, and a horizontal cut line 37 a is shown on the upper right side of the light distribution pattern 33, and the upper left side of the light distribution pattern 33. The diagonal cut line 37b is shown in FIG. An intersection of the horizontal cut line 37 a and the oblique cut line 37 b constitutes an elbow point 38. The cut line 37 is a light and dark branch line which forms a boundary between the bright part of the light distribution pattern 33 on the lower side thereof and the dark part on the upper side thereof. The right side of FIG. 20A shows a cross section of the luminance (light intensity) distribution of the light distribution pattern 33 including the cut line 37, and the cut line 37 is steep from the bright light distribution pattern 33 to the dark part Within the gradient part, it exists at the maximum brightness gradient point of the brightness gradient line. The difference-difference method is, in principle, a technique for finding the maximum luminance gradient point of this luminance gradient line by image processing.

即ち、図20(B)は互いに所定距離離隔(図示例においては0.44°ピッチ)されており且つ垂直に配列された3個の測定点e〜eが示されている。各測定点はイメージセンサ20bの各画素に対応している。夫々の測定点e,e,eにおける輝度値を夫々Y,Y,Yとすると、差の差方式では、
(Y+Y)−2Y=0 (10)
を満足する測定点eの位置をカットライン37の位置であるとして判別する。この差の差方式の式はY−Y=Y−Yと書き直すことが可能であり、これは、図20(A)における輝度勾配線において変曲点を構成している最大勾配点であることを意味している。図示例の如く0.44°ピッチで測定点が配列されている場合には、イメージセンサ20bの画素40にわたり約0.1°毎に順次下方へ移動して垂直スキャン39aを行って水平カットライン37aの位置を探し出すことが可能である。そして、一つの画素列についてスキャンが終了すると、横方向に所定距離ずれて別の画素列について同じように垂直スキャン39aを行ってその画素列における水平カットライン37aの位置を決定し、次いで以下同様にして予め設定した範囲にわたって全てのスキャンを行うことによって水平カットライン37aの位置を決定することが可能である。即ち、垂直スキャン39aを繰り返し行って差の差方式の式を満足する測定点eの多数の点を探し出しそれらの点を結んで点列としての水平カットライン37aとする。
That is, FIG. 20 (B) are mutually predetermined distance apart from the three that have been provided and vertically arranged is (0.44 ° pitch in the illustrated example) measurement points e 1 to e 3 is shown. Each measurement point corresponds to each pixel of the image sensor 20b. Assuming that the luminance values at the respective measurement points e 1 , e 2 and e 3 are Y 1 , Y 2 and Y 3 respectively, in the difference method,
(Y 1 + Y 3) -2Y 2 = 0 (10)
It is determined that the position of the measurement point e2 that satisfies the condition of ( 1) is the position of the cut line 37. The equation of the difference system of this difference can be rewritten as Y 1 -Y 2 = Y 2 -Y 3 , which is the maximum gradient constituting the inflection point in the luminance gradient line in FIG. It means that it is a point. When measurement points are arranged at a pitch of 0.44 ° as shown in the example shown, the horizontal cut line is moved by sequentially moving downward about every 0.1 ° across the pixels 40 of the image sensor 20b to perform a vertical scan 39a. It is possible to find out the position of 37a. Then, when scanning for one pixel row is completed, vertical scanning 39a is similarly performed for another pixel row with a predetermined distance shift in the horizontal direction to determine the position of the horizontal cut line 37a in that pixel row, and so on. It is possible to determine the position of the horizontal cut line 37a by performing all the scans over a preset range. That is, the horizontal cut line 37a as a point sequence by connecting multiple points locates the point of their measurement point e 2 that satisfy the equation of the difference method of the difference by repeating the vertical scan 39a.

一方、斜めカットライン37bを探し出すためには、図20(C)に示した如く、これら3つの測定点e〜eを互いに水平方向にずらして配置させる。図示例の場合には、4画素分下方で1画素分左横にずれて配置されているが、これは、斜めカットライン37bは水平カットライン37aに対して15度傾斜されていることが基本的であることを考慮に入れた配置である。この場合のスキャン方向は斜めスキャン39bとなり、斜めカットライン37bに対してほぼ直交方向にスキャンすることとなる。斜めスキャン39bの場合においても、3個の測定点e〜eの間に差の差方式の式を適用して、差の差方式の式が満足される画素40の位置をその斜めスキャン39bにおける斜めカットライン37bの位置として決定する。 On the other hand, in order to find the oblique cut line 37b, as shown in FIG. 20C, these three measurement points e 1 to e 3 are arranged mutually offset in the horizontal direction. In the case of the illustrated example, the four pixels are disposed at the lower side and shifted to the left by one pixel, but it is fundamental that the oblique cut line 37b is inclined 15 degrees with respect to the horizontal cut line 37a. It is an arrangement that takes into account the In this case, the scan direction is the oblique scan 39b, and scanning is performed in a direction substantially orthogonal to the oblique cut line 37b. Also in the case of the oblique scan 39b, the equation of the difference system between the three measurement points e 1 to e 3 is applied, and the position of the pixel 40 at which the equation of the difference system is satisfied is oblique scan It determines as the position of the diagonal cut line 37b in 39b.

以上の如くにして、水平カットライン37aと斜めカットライン37bとが決定されると、それらのカットラインの交点を見つけ出すことが可能であり、そのような交点をエルボー点38として決定することが可能である。   As described above, when the horizontal cut line 37a and the oblique cut line 37b are determined, it is possible to find the intersection of these cut lines, and such an intersection can be determined as the elbow point 38. It is.

尚、上述した実施例においては、3つの測定点間のピッチを0.44°としているが、これは単なる一例に過ぎず、例えば0.23°ピッチ(UTAC対応)又は使用するカラーイメージセンサ20bの画素配列に依存してその他の任意のピッチを選択することが可能であることは勿論である。以上の如く、カラーイメージセンサ20bの複数個の画素40の夫々の輝度Yを互いに比較する画像処理を行うことによってヘッドライトLからの投射光における水平カットライン37a及び斜めカットライン37bを探し出し、それらのカットラインの交点としてエルボー点38を決定することが可能である。   In the embodiment described above, the pitch between the three measurement points is 0.44 °, but this is merely an example, and for example, the 0.23 ° pitch (corresponding to UTAC) or the color image sensor 20b used Of course, it is possible to select any other pitch depending on the pixel arrangement of. As described above, the horizontal cut line 37a and the oblique cut line 37b in the projection light from the headlight L are searched by performing image processing to compare the respective luminances Y of the plurality of pixels 40 of the color image sensor 20b with one another. It is possible to determine the elbow point 38 as the intersection of the cut lines of.

以上説明した如く、CCDカラーイメージセンサ20bを有する測定用カメラ20を使用してヘッドライトLからの投射光を処理してRGBデータを出力させ、これらのRGBデータを画像処理装置30において光源の色温度を基礎として画像処理することによって、光軸、光度、エルボー点等を決定することが可能である。しかしながら、ヘッドライトLの投射光は10m前方の10mスクリーン上に照射されるものではなく、ヘッドライトテスター10内のレンズ17を含む光学系を介して内部の測定用スクリーン19上に照射されるものであるから、ヘッドライトテスター10の設計条件によっては、特に光学系により色収差等の悪影響を受ける場合がある。本発明は、このような色収差等に起因する光学系による悪影響を除去する技術も包含していることを特徴としている。   As described above, the projection light from the headlight L is processed using the measurement camera 20 having the CCD color image sensor 20b to output RGB data, and these RGB data are output to the image processing apparatus 30 as the color of the light source By image processing based on temperature, it is possible to determine the optical axis, luminous intensity, elbow point etc. However, the projection light of the headlight L is not irradiated on the 10 m screen 10 m ahead, but is irradiated on the internal measurement screen 19 via the optical system including the lens 17 in the headlight tester 10 Therefore, depending on the design conditions of the headlight tester 10, the optical system may be adversely affected, such as chromatic aberration. The present invention is characterized in that it includes a technique for removing the adverse effect of the optical system caused by such a chromatic aberration or the like.

ところで、前述した基準球を光源として使用して光度に50hcd、400hcd、1200hcdと順次段階的に設定し、且つその照射方向を0−0(左右方向角度0−上下方向角度0)に設定して、本カラーヘッドライトテスター10の測定用カメラ20でその配光パターンを撮像してビットマップデータを得、該ビットマップデータからRGBの夫々のデータ値を採取してプロットしたものが図21(走行灯基準球の場合)及び図22(すれ違い灯基準球の場合)である。これらの図において、横軸位置とは配光パターンの中央付近における水平方向の位置であり、縦軸位置とは配光パターンの中央付近における垂直方向の位置である。更に、これらの図において、レベルとはRGB夫々のデータ値であり夫々0〜255の範囲内の値を取る。尚、注意すべきであるが、これらの図において、基準球の光度を50hcdから1200hcdへ増加させているにも拘わらずに、RGBの夫々のデータ値(レベル)は殆ど同じ程度になっているが、これは、表示上の制限から、光度を増加させるに従い測定用カメラのシャッタースピードを上げているからである。従って、RGBのデータ値そのものの絶対的評価は無意味である。   By using the above-mentioned reference sphere as a light source, the luminous intensity is set to 50 hcd, 400 hcd, and 1200 hcd sequentially in stages, and the irradiation direction is set to 0-0 (horizontal angle 0-vertical angle 0). The light distribution pattern is imaged by the measurement camera 20 of the color headlight tester 10 to obtain bit map data, and respective data values of RGB are collected from the bit map data and plotted as shown in FIG. FIG. 22 (in the case of a passing reference sphere) and FIG. 22 (in the case of a passing reference sphere). In these figures, the horizontal axis position is the position in the horizontal direction near the center of the light distribution pattern, and the vertical axis position is the position in the vertical direction near the center of the light distribution pattern. Furthermore, in these figures, a level is a data value of each of RGB and takes a value within the range of 0 to 255, respectively. It should be noted that in these figures, although the light intensity of the reference sphere is increased from 50 hcd to 1200 hcd, the respective data values (levels) of RGB are almost the same level. However, this is because, due to display limitations, the shutter speed of the measurement camera is increased as the light intensity is increased. Therefore, the absolute evaluation of the RGB data values themselves is meaningless.

図21の走行灯基準球の場合には、50hcdでは比較的光度が低く、配光も赤みがかっており、Rのデータ値と比較してG及びBのデータ値は一層低くなっている。400hcdにおいては、RGBの夫々のデータ値はほぼ同じとなっており、ヘッドライトとしても平均的な配光分布を示している。1200hcdにおいては、光度が高いので配光は白っぽくなり、Rのデータ値と比較してG及びBのデータ値が逆転して一層大きくなっている。図22のすれ違い灯基準球の場合も、光度を50hcdから100hcd、120hcdと順に増加するに従い、比較的僅かではあるが、RGBの夫々のデータ値の大きさが逆転する傾向が見られている。すれ違い灯基準球の場合には、光度を変化させる幅が一層狭いので、RGBの夫々のデータ値の間にそれほど顕著な差は見られていない。RGBデータの夫々の大きさの逆転現象はイメージセンサ20bの中央部よりも周辺部において一層顕著となっており、これは光学系を介して投射光を測定していることが原因と考えられる。従って、使用する光学系の影響が大きい場合には、特に周辺部においては何らかの補正を行うことが適切である場合が有り得る。   In the case of the traveling light reference sphere of FIG. 21, the luminous intensity is relatively low at 50 hcd, and the light distribution is reddish, and the G and B data values are lower than the R data value. At 400 hcd, the respective data values of RGB are substantially the same, and show an average light distribution as a headlight. At 1200 hcd, since the light intensity is high, the light distribution becomes whitish, and the G and B data values are reversed and further increased compared to the R data value. Also in the case of the passing-light reference sphere of FIG. 22, as the light intensity is increased in order from 50 hcd to 100 hcd and 120 hcd, a tendency is observed that the magnitudes of the respective data values of RGB are reversed though relatively. In the case of the passing light reference sphere, the difference between the respective RGB data values is not so noticeable because the width for changing the light intensity is narrower. The reversal phenomenon of the respective sizes of the RGB data is more pronounced in the peripheral portion than in the central portion of the image sensor 20b, which is considered to be caused by measuring the projection light through the optical system. Therefore, when the influence of the optical system to be used is large, it may be appropriate to make some correction, particularly in the peripheral area.

5.rgb係数の補正
上述した如く、本発明の1側面によれば、光源としてのヘッドライトLの色温度に基づいてrgb係数の夫々の値を決定(選択)することが可能であり、その結果、式(1)を使用して輝度Y及びそれに対応する光度を決定することが可能である。しかしながら、カラーヘッドライトテスター10においては、10m再現を実現するために、主レンズ17を含む光学系を介してヘッドライトLからの投射光をカラーカメラである測定用カメラ20によって撮像している。従って、該投射光は光学系を通過することにより色収差等の影響を受けることとなり、該光学系の構成によってその影響を無視することができない場合もある。特に、主レンズ17としてフレネルレンズを使用している場合には、その様な色収差等の影響が一層顕著となる可能性がある。
5. Correction of rgb Coefficient As described above, according to one aspect of the present invention, it is possible to determine (select) respective values of the rgb coefficient based on the color temperature of the headlight L as a light source, and as a result, Equation (1) can be used to determine the luminance Y and the corresponding luminous intensity. However, in the color headlight tester 10, in order to realize 10 m reproduction, the projection light from the headlight L is imaged by the measurement camera 20, which is a color camera, through the optical system including the main lens 17. Therefore, the projection light is affected by chromatic aberration and the like by passing through the optical system, and the influence may not be neglected depending on the configuration of the optical system. In particular, in the case where a Fresnel lens is used as the main lens 17, the influence of such a chromatic aberration or the like may be more remarkable.

その様な状況に対処するために、本発明の1側面によれば、ヘッドライトLの色温度に基づいて決定(選択)された基準rgb係数(即ち、CIE標準光源に基づいて決定されているrgb係数)をイメージセンサの全ての画素に対して共通的に適用するのではなく、少なくとも1個の画素に対しては少なくとも1個の係数を修正した補正rgb係数を適用している。例えば、前述した如く、RGB夫々のデータの変動はイメージセンサの中央部においては比較的少ないが周辺部において一層顕著となっているので、本発明の1実施形態においては、イメージセンサの中央部の各画素に対しては、ヘッドライトLの色温度に基づいて決定(選択)された基準rgb係数を適用し、周辺部の各画素に対しては、基準rgb係数を適宜補正した補正rgb係数を適用する。しかしながら、特にフレネルレンズを使用した場合のように特に光学系による影響が大きく、中央部においても、色収差等の影響が無視できない場合があるので、本発明の別の実施形態においては、イメージセンサの位置に拘らずに、少なくとも1個の画素又は殆どの画素に対して補正rgb係数を適用する。更に、本発明の別の実施形態においては、rgb係数を個々の画素毎に適用する代わりに、イメージセンサの測定範囲内の全画素を複数個の画素から構成されるゾーンに分割し、rgb係数を各ゾーン内の複数個の画素に対しては共通的に適用する。従って、例えば、イメージセンサの中央部における1個又はそれ以上のゾーンに対しては基準rgb係数を適用しそれ以外のゾーンに対しては補正rgb係数を適用する。この場合に、夫々互いに異なる複数個の補正rgb係数を用意しておき、その内の一つの補正rgb係数を一つのゾーンにおける複数個の画素に共通的に適用することが可能である。この場合に、基準rgb係数と複数個の補正rgb係数とをテーブルの形態で画像処理装置30内に格納させておくことが望ましい。更に、基準rgb係数は光源としてのヘッドライトLの色温度に依存して変化するので、基準rgb係数と複数個のrgb補正係数とのテーブルは予め選択した色温度毎又はそれに対応する光度毎に用意して画像処理装置30内に格納させておくことが望ましい。   In order to cope with such a situation, according to one aspect of the present invention, the reference rgb coefficient determined based on the color temperature of the headlight L (ie determined based on the CIE standard light source) The rgb coefficient is not commonly applied to all the pixels of the image sensor, but a corrected rgb coefficient in which at least one coefficient is corrected is applied to at least one pixel. For example, as described above, since the variation of the respective RGB data is relatively small in the central part of the image sensor but becomes more pronounced in the peripheral part, in one embodiment of the present invention, the central part of the image sensor A reference rgb coefficient determined (selected) based on the color temperature of the headlight L is applied to each pixel, and a corrected rgb coefficient obtained by appropriately correcting the reference rgb coefficient is applied to each pixel in the peripheral portion. Apply However, as in the case of particularly using a Fresnel lens, the influence of the optical system is particularly large, and the influence of chromatic aberration and the like may not be neglected even in the central part. Therefore, in another embodiment of the present invention, Apply the corrected rgb coefficients to at least one pixel or most pixels regardless of position. Furthermore, in another embodiment of the present invention, instead of applying the rgb coefficient to each individual pixel, all pixels within the measurement range of the image sensor are divided into zones composed of a plurality of pixels, and the rgb coefficient is Applies commonly to a plurality of pixels in each zone. Thus, for example, the reference rgb coefficient is applied to one or more zones in the central part of the image sensor, and the correction rgb coefficient is applied to the other zones. In this case, it is possible to prepare a plurality of correction rgb coefficients different from one another and to apply one correction rgb coefficient among them to a plurality of pixels in one zone in common. In this case, it is desirable to store the reference rgb coefficient and the plurality of corrected rgb coefficients in the form of a table in the image processing apparatus 30. Furthermore, since the reference rgb coefficient changes depending on the color temperature of the headlight L as a light source, the table of the reference rgb coefficient and the plurality of rgb correction coefficients is for each preselected color temperature or for each corresponding light intensity. It is desirable that the image processing apparatus 30 be prepared and stored.

次に、上述したrgb補正係数の作成方法について説明する。   Next, a method of creating the rgb correction coefficient described above will be described.

図23(A)及び(B)は前述した基準球51からの投射光の光度(hcd)を測定するシステムを示しており、該システムは、基本的に、基準球取り付け装置50と、それから10m前方に配置されており照度計58を具備している10mスクリーン25と、を包含している。基準球取り付け装置50は、基準球51を着脱自在に取り付けることが可能な取り付けブラケット52aを有しており、取り付けブラケット52aは回転台テーブル52に固定されている。回転台テーブル52は回転自在に回転台54に軸支されており、回転台テーブル54は回転台前後移動ベース56上に設けられている。更に、左右回転ハンドル及び角度目盛53が回転台テーブル52に取り付けられており、且つ上下回転ハンドル及び角度目盛55が回転台54に取り付けられている。図23にはその具体的な構成は示されていないが、回転台テーブル52を上下に移動させて所望の高さに固定させることが可能である。   FIGS. 23A and 23B show a system for measuring the luminous intensity (hcd) of the projection light from the reference sphere 51 described above, and the system basically comprises the reference sphere attaching device 50 and 10 m from it. And a 10 m screen 25 located forward and equipped with a light meter 58. The reference ball mounting device 50 has a mounting bracket 52 a to which the reference ball 51 can be detachably mounted, and the mounting bracket 52 a is fixed to the turntable table 52. The turntable table 52 is rotatably supported by the turntable 54, and the turntable table 54 is provided on the turntable longitudinal movement base 56. Further, the left and right rotation handle and the angle scale 53 are attached to the turntable table 52, and the up and down rotation handle and the angle scale 55 are attached to the rotation platform 54. Although the specific configuration is not shown in FIG. 23, it is possible to move the turntable table 52 up and down and fix it at a desired height.

基準球取り付け装置50は、回転台前後移動ベース56によって前後移動させて、基準球51の回転中心51aの位置が10mスクリーン25から10mの位置に設定されてその位置に固定される。10mスクリーン25にはそれと同一面状に照度計58が設けられている。この照度計58は特殊のものであって、前掲した特開2013−2969号公報の図1に示されている照度計1と同じ構造及び機能を有しており、従って、その名称は照度計であるが、実際には、ヘッドライトの光度を測定するために、その測定値としてはヘッドライトLの光度(hcd)として換算されたカンデラ(又はヘクトカンデラ)値が出力される。この様なシステム構成によって、基準球51からの投射光を照度計58で受光して光度(hcd)を測定することが可能である。その場合に、照度計58は10mスクリーン25に固定されているが、左右回転ハンドル及び角度目盛53を操作することによって基準球51の投射方向を左右方向に変化させることが可能である。更に、上下回転ハンドル及び角度目盛55を操作することによって基準球51の投射方向を上下方向に変化させることが可能である。基準球取り付け装置50は極めて高精度で製作されているので、基準球51の上下及び左右方向における変化は極めて高精度で行うことが可能である。   The reference ball attaching device 50 is moved back and forth by the rotating table longitudinal movement base 56, and the position of the rotation center 51a of the reference ball 51 is set at a position of 10 m from the screen 25 and fixed at that position. An illuminance meter 58 is provided on the 10 m screen 25 in the same plane. This luminometer 58 is a special one and has the same structure and function as the luminometer 1 shown in FIG. 1 of Japanese Patent Application Laid-Open No. 2013-2969 mentioned above. However, in practice, in order to measure the light intensity of the headlights, a candelas (or hector candelas) value converted as the light intensity (hcd) of the headlights L is output as the measurement value. With such a system configuration, it is possible to receive the projected light from the reference sphere 51 by the illuminance meter 58 and measure the luminous intensity (hcd). In that case, the illuminance meter 58 is fixed to the 10 m screen 25. However, it is possible to change the projection direction of the reference sphere 51 in the left and right direction by operating the left and right rotation handle and the angle scale 53. Furthermore, by operating the vertical rotation handle and the angle scale 55, it is possible to change the projection direction of the reference ball 51 in the vertical direction. Since the reference ball attaching device 50 is manufactured with extremely high precision, it is possible to change the reference ball 51 in the vertical and horizontal directions with extremely high precision.

次に、図24も参照して、図23に示したシステムによって基準球51の光度を測定する態様について説明する。10mスクリーン25の或る選択した位置とヘッドライトテスター10の受光部11内のスクリーン19の対応する位置及びイメージセンサ20bの対応する画素との間の位置関係は図6に示した如くに一義的に決定することが可能である。従って、例えば、図24に示されているように基準球51の投射方向が10mスクリーン25上の下20、左35cm/10mの特定の位置に向いている場合には、その位置に対応するイメージセンサ20bの画素を特定することが可能である。即ち、基本的には、イメージセンサ20bの各画素の位置は10mスクリーン25上において対応する位置を特定することが可能である。従って、基準球51の色温度に対応する基準rgb係数を使用してイメージセンサ20bの各画素に対して基準球51の光度を決定することが可能であり、一方、照度計58を使用してイメージセンサ20bの各画素の位置に対する10mスクリーン25上の位置における光度を決定することが可能である。これらのイメージセンサ20bを介して決定された光度値と照度計58によって決定された光度値とを比較し、それらが実質的に一致する場合には、それらの画素に対しては基準rgb係数を適用することとし、それらが実質的に一致しない場合には、照度計58で得られた光度値に実質的に一致する光度値が画像処理装置30から得られるようにそれらに対応する画素に対して基準rgb係数を修正して新たに補正rgb係数を決定する。   Next, with reference to FIG. 24, an aspect of measuring the light intensity of the reference sphere 51 by the system shown in FIG. 23 will be described. The positional relationship between a selected position of the 10 m screen 25 and the corresponding position of the screen 19 in the light receiving portion 11 of the headlight tester 10 and the corresponding pixel of the image sensor 20b is unique as shown in FIG. It is possible to decide on Therefore, for example, as shown in FIG. 24, when the projection direction of the reference sphere 51 is directed to a specific position of the lower 20 and the left 35 cm / 10 m on the 10 m screen 25, an image corresponding to that position It is possible to identify the pixels of the sensor 20b. That is, basically, the position of each pixel of the image sensor 20b can specify the corresponding position on the 10 m screen 25. Thus, it is possible to determine the light intensity of the reference sphere 51 for each pixel of the image sensor 20b using the reference rgb coefficient corresponding to the color temperature of the reference sphere 51, while using the illuminometer 58 It is possible to determine the light intensity at a position on the 10 m screen 25 for the position of each pixel of the image sensor 20b. The light intensity values determined via these image sensors 20b are compared with the light intensity values determined by the illuminometer 58, and if they substantially match, the reference rgb coefficients are for those pixels. It applies, and if they do not substantially match, the light intensity values substantially corresponding to the light intensity values obtained by the illuminometer 58 are obtained for the corresponding pixels so as to be obtained from the image processing device 30. Then, the reference rgb coefficient is corrected to newly determine a corrected rgb coefficient.

この様な補正rgb係数を決定する場合に、1実施例においては、個々の画素毎に細かく補正rgb係数を決定し、別の実施例においては、イメージセンサ20bの測定範囲内における全画素を所定の複数個毎のゾーンに分割し、ゾーン毎に補正rgb係数を決定する。ゾーン分割実施例においては、一つのゾーン内に属する複数個の画素に対してはそのゾーンに対して決定された基準rgb係数又は補正rgb係数を共通に適用する。そして、補正rgb係数を決定する場合には、基準rgb係数を使用して得られた光度と照度計51を介して得られた光度との差をゼロとするように基準rgb係数の値を調整するが、その調整方法には幾つかの態様がある。即ち、1実施例においては、基準rgb係数の全ての値を調整して補正rgb係数とするものであり、別の実施例においては、基準rgb係数の内の少なくとも1つをゼロに設定し残りのものの値を適宜調整して補正rgb係数とするものである。そして、基準rgb係数の値を調整する場合に、1実施例においては、全ての基準rgb係数の夫々の係数を互いに独立的に調整するものであり、別の実施例においては、基準rgb係数の夫々の値に対して共通的に同一の値を乗算して調整するものである。更に、基準rgb係数はヘッドライトLの色温度に依存して変化するものであるから、所定の色温度又はそれに対応する光度毎(例えば、50,75,100,150,400,500,700,1000,1100,1200hcd毎)に基準rgb係数が存在しており、それらの基準rgb係数に対しても同じように補正rgb係数を決定し、光度毎に基準rgb係数と補正rgb係数とからなるテーブルを作成して画像処理装置30内に格納しておくことが可能である。この様なテーブルを作成した場合には、ヘッドライトLの光度が必ずしも特定のテーブルの光度に対応するものではない場合があるが、その場合には、最も近い2つの光度のテーブルの間を内挿して所望の値を得ることが可能である。   When determining such a correction rgb coefficient, in one embodiment, the correction rgb coefficient is determined finely for each individual pixel, and in another embodiment, all pixels within the measurement range of the image sensor 20b are specified. Divided into a plurality of zones, and a correction rgb coefficient is determined for each zone. In the zone division embodiment, the reference rgb coefficient or the corrected rgb coefficient determined for the zone is commonly applied to a plurality of pixels belonging to one zone. Then, when determining the correction rgb coefficient, the value of the reference rgb coefficient is adjusted so that the difference between the light intensity obtained using the reference rgb coefficient and the light intensity obtained through the illuminometer 51 is zero. However, the adjustment method has several aspects. That is, in one embodiment, all values of the reference rgb coefficient are adjusted to be a corrected rgb coefficient, and in another embodiment, at least one of the reference rgb coefficients is set to zero and the rest The values of these are appropriately adjusted to obtain corrected rgb coefficients. Then, when adjusting the value of the reference rgb coefficient, in one embodiment, the respective coefficients of all the reference rgb coefficients are adjusted independently of each other, and in another embodiment, the values of the reference rgb coefficients are adjusted. The respective values are adjusted by multiplying the same value in common. Furthermore, since the reference rgb coefficient changes depending on the color temperature of the headlight L, the predetermined color temperature or the corresponding light intensity (for example, 50, 75, 100, 150, 400, 500, 700, Reference rgb coefficients exist every 1000, 1100, and 1200 hcd), and the correction rgb coefficients are similarly determined for these reference rgb coefficients, and a table consisting of reference rgb coefficients and correction rgb coefficients for each light intensity Can be created and stored in the image processing apparatus 30. When such a table is created, the light intensity of the headlight L may not necessarily correspond to the light intensity of a particular table, but in that case, the distance between the two nearest light intensity tables is It is possible to interpolate to obtain the desired value.

6.ゾーン分割
1実施例においては、個々の画素毎に補正rgb係数を決定するものであるが、処理効率の観点から、別の実施例においては、イメージセンサの全画素を所定数毎のゾーンに分割し、夫々のゾーン毎に共通の補正rgb係数を決定することも可能である。そして、ゾーン分割を行う場合に、全てのゾーンが同数の画素数を有する場合と、少なくとも一つのゾーンが異なる画素数を有する場合とがある。本発明においてはいずれのゾーン分割を適用することも可能であるが、ここでは、1実施例として、全てのゾーンが同一の画素数を有する場合について説明する。
6. Zone division In one embodiment, the correction rgb coefficient is determined for each individual pixel, but in another embodiment from the viewpoint of processing efficiency, all pixels of the image sensor are divided into zones of a predetermined number. It is also possible to determine a common corrected rgb coefficient for each zone. When performing zone division, there are cases where all zones have the same number of pixels and cases where at least one zone has different numbers of pixels. Although any zone division can be applied in the present invention, a case where all zones have the same number of pixels will be described here as one embodiment.

図25に示した実施例においては、イメージセンサ20bは横×縦が640×480個の画素40からなる測定領域を有している。そして、これらの画素全体を20×20個の画素からなるゾーン41に分割し、横×縦が32×24個のゾーン41に分割している。各ゾーン41内にはRGBの夫々の画素40が所謂バイヤー配列で配置されている。図25においては、中央付近の幾つかのゾーン41に対してブロック番号3〜6が割り当てられている(例えば、(12,9)のゾーンに対してはブロック番号4が割り当てられている)。各ブロック番号は対応するrgb係数を格納しているテーブル内のブロックを指し示している。図26はその様なrgb係数のテーブルの1例を示している。例えば、図26において、ブロック番号5が指し示すrgb係数はr=0.4315、g=0.5369、b=0.0317である。従って、例えば、図25におけるゾーン(12,11)にはブロック番号5が割り当てられているので、そのゾーンに対してはr=0.4315、g=0.5369、b=0.0317のrgb係数の値が適用される。   In the embodiment shown in FIG. 25, the image sensor 20 b has a measurement area consisting of 640 × 480 pixels 40 in width × length. Then, the whole of these pixels are divided into zones 41 consisting of 20 × 20 pixels, and divided into zones of width × length 32 × 24. In each zone 41, respective RGB pixels 40 are arranged in a so-called buyer array. In FIG. 25, block numbers 3 to 6 are assigned to some zones 41 near the center (for example, block number 4 is assigned to the (12, 9) zone). Each block number points to a block in the table storing the corresponding rgb coefficient. FIG. 26 shows an example of such a table of rgb coefficients. For example, in FIG. 26, the rgb coefficient indicated by the block number 5 is r = 0.4315, g = 0.5369, b = 0.0317. Therefore, for example, since the zone (12, 11) in FIG. 25 is assigned the block number 5, for that zone, an rgb of r = 0.4315, g = 0.5369, b = 0.0317 The value of the coefficient is applied.

この様に、図25に示されている如く、各ゾーン41に対してはブロック番号が割り当てられているので、ゾーン41とブロック番号との対応表が画像処理装置30内に格納されており、更に、図26に示されるようなブロック番号とrgb係数との対応表も画像処理装置30内に格納されている。従って、特定の画素40に対しての輝度Y(光度)を計算する場合には、先ず、その画素40がどのゾーン41に属しているかを判別して対応するブロック番号を決定し、そのブロック番号が指し示すrgb係数を使用して計算を行うこととなる。図25においては、全てのゾーン41ではなく中央付近の選択したゾーン41に対してのみブロック番号が割り当てられているが、全てのゾーン41に対して同様にブロック番号を割り当てることも可能である。別の実施例としては、図25のイメージセンサ20bの測定範囲の全てを使う必要がない場合もあり、その様な場合には、図25に示されている如く、測定範囲の中にオプションとしてそれより小さな有効範囲を画定し、その有効範囲に属するゾーン41に対してのみブロック番号を割り当てる構成とすることも可能である。   Thus, as shown in FIG. 25, since a block number is assigned to each zone 41, a correspondence table between the zone 41 and the block number is stored in the image processing apparatus 30, Furthermore, a correspondence table of block numbers and rgb coefficients as shown in FIG. 26 is also stored in the image processing apparatus 30. Therefore, when calculating the luminance Y (light intensity) for a specific pixel 40, first, which zone 41 the pixel 40 belongs to is determined to determine the corresponding block number, and the block number The calculation is performed using the rgb coefficient indicated by. In FIG. 25, block numbers are assigned not to all zones 41 but only to the selected zone 41 near the center, but it is also possible to assign block numbers to all zones 41 in the same manner. As another example, it may not be necessary to use all of the measurement range of the image sensor 20b of FIG. 25, and in such a case, as shown in FIG. It is also possible to define a smaller effective range and to assign block numbers only to the zones 41 belonging to the effective range.

ところで、図25及び26に示した実施例は光度が400hcdの場合のrgb係数であって、ブロック番号5は400hcdの場合の基準rgb係数に対応している。従って、図25のイメージセンサ20bの中央付近の多くのゾーン41には基準rgb係数を指し示すブロック番号5が割り当てられている。図26に示されているように、ブロック番号5以外のブロック番号が指し示すrgb係数は基準rgb係数と値が異なっており、それらは補正rgb係数であることが分かる。これらの補正rgb係数は前述したrgb係数の補正の手続きによって適宜決定されたものである。ブロック番号0〜4及び6〜8においては、補正rgb係数は夫々0以外の係数値を有しているが、ブロック番号9〜11においては、補正rgb係数の内で補正r係数と補正b係数とはそれらの値が0であり、補正g係数のみが0以外の値を有している。そしてブロック番号12−14では全ての補正rgb係数が0に設定されており、そのブロック番号が割り当てられたゾーン41では輝度Yの計算を行わないこととなる。   By the way, the embodiment shown in FIGS. 25 and 26 corresponds to the rgb coefficient when the light intensity is 400 hcd, and the block number 5 corresponds to the reference rgb coefficient in the case of 400 hcd. Accordingly, block number 5 indicating the reference rgb coefficient is assigned to many zones 41 near the center of the image sensor 20b of FIG. As shown in FIG. 26, rgb coefficients indicated by block numbers other than block number 5 are different in value from the reference rgb coefficient, and it is understood that they are corrected rgb coefficients. These corrected rgb coefficients are appropriately determined by the above-described procedure of correcting the rgb coefficient. In block numbers 0 to 4 and 6 to 8, the corrected rgb coefficients have coefficient values other than 0, but in block numbers 9 to 11, the correction r coefficient and the correction b coefficient among the corrected rgb coefficients Are those whose values are 0, and only the correction g coefficient has a value other than 0. Then, in the block number 12-14, all the corrected rgb coefficients are set to 0, and the calculation of the luminance Y is not performed in the zone 41 to which the block number is assigned.

前述した如く、図26のブロック番号とrgb係数との対応表は光源光度が400hcdに対して調整されたものである。ところで、光度と色温度とは直接的に関連するものではないが、一般的には、光度が増加すると色温度も増加する傾向があると言える。そこで、図23に示したシステムを使用して、照度計58の代わりに色温度測定装置(分光放射計等で色温度を直接測定可能な装置)を使用して、基準球51の光度を50hcdから段階的に1200hcdまで変化させた場合の基準球51からの投射光の色温度を測定し、その結果を図27(A)に示してある。図27(B)は図27(A)の結果に対して近似式の1例を当て嵌めたものである。この結果から、一般的に、光源の光度が増加すると光源からの放射光の色温度も増加しているといえる。従って、図25で示したようなゾーン41とブロック番号との対応表及び図26で示したようなブロック番号とrgb係数との対応表は、少なくとも測定すべきヘッドライトLの予想される光度範囲にわたって夫々の光度(色温度)毎に用意しておき画像処理装置30内に格納しておくことが必要である。   As described above, the correspondence table between the block numbers and the rgb coefficients in FIG. 26 is one in which the light source luminous intensity is adjusted to 400 hcd. By the way, although the light intensity and the color temperature are not directly related, it can be generally said that the color temperature tends to increase as the light intensity increases. Therefore, using the system shown in FIG. 23, the luminous intensity of the reference sphere 51 is 50 hcd using a color temperature measuring device (a device capable of measuring the color temperature directly with a spectroradiometer etc.) instead of the illuminance meter 58. The color temperature of the projected light from the reference sphere 51 is measured in the case of gradually changing from 1,200 hcd to 1,200 hcd, and the result is shown in FIG. 27 (A). FIG. 27 (B) fits one example of the approximation formula to the result of FIG. 27 (A). From this result, it can be generally said that as the light intensity of the light source increases, the color temperature of the light emitted from the light source also increases. Therefore, the correspondence table between the zone 41 and the block number as shown in FIG. 25 and the correspondence table between the block number and the rgb coefficient as shown in FIG. It is necessary to prepare for each light intensity (color temperature) and store it in the image processing apparatus 30 over the period.

図28は図25と同様のイメージセンサ20bにおける全画素640×480を20×20の画素からなるゾーン41に均等にゾーン分割した構成を示している。図28においては、イメージセンサ20bの640×480の画像からなる測定範囲の内側に矩形状の有効範囲42を画定して、その有効範囲42の外側の全てのゾーン41に対してブロック番号0を割り当てている。一方、有効範囲42内のゾーン41に対しては夫々ブロック番号2〜7が割り当てられている。これらのブロック番号とrgb係数との対応表は図29に示されているが、図29の対応表はその表現形式が異なっているが内容的には図26の対応表と同一である。図28におけるゾーン41に割り当てられているブロック番号0は、図29に示されている如く、それらのrgb係数の値はr=0.4111、g=0.5461、b=0.0428である。図29において、ブロック番号5が指し示すrgb係数の値は光源光度が400hcdの場合の基準rgb係数であり、従って図29のブロック番号対rgb係数対応表は光源の光度が400hcdの場合のものであることが理解される。更に、図29に示されている如く、ブロック番号5以外のブロック番号が指し示すrgb係数は補正rgb係数であって、特に、ブロック番号2〜4及び6〜8の指し示す補正rgb係数の値は基準rgb係数の夫々の値に所定の定数を乗算して求められていることが理解される。図29の対応表は図28の夫々のゾーン41に適用されるべきものであるので、図29のゾーン41とブロック番号との対応表も光源光度が400hcdに対してのものである。   FIG. 28 shows a configuration in which all the pixels 640.times.480 in the image sensor 20b similar to FIG. 25 are equally divided into zones 41 consisting of 20.times.20 pixels. In FIG. 28, a rectangular effective area 42 is defined inside the measurement area consisting of a 640 × 480 image of the image sensor 20b, and the block number 0 is applied to all zones 41 outside the effective area 42. Assigned On the other hand, block numbers 2 to 7 are assigned to zones 41 within the effective range 42, respectively. The correspondence table of the block numbers and the rgb coefficients is shown in FIG. 29, but the correspondence table of FIG. 29 is the same as the correspondence table of FIG. The block number 0 assigned to the zone 41 in FIG. 28 is, as shown in FIG. 29, the values of their rgb coefficients are r = 0.4111, g = 0.5461, b = 0.0428 . In FIG. 29, the value of the rgb coefficient indicated by the block No. 5 is the reference rgb coefficient when the light source luminous intensity is 400 hcd, therefore the block number vs. rgb coefficient correspondence table of FIG. 29 is for the luminous intensity of the light source 400 hcd. It is understood. Furthermore, as shown in FIG. 29, the rgb coefficients indicated by block numbers other than block number 5 are corrected rgb coefficients, and in particular, the values of the corrected rgb coefficients indicated by block numbers 2 to 4 and 6 to 8 are standard. It is understood that each value of the rgb coefficient is determined by multiplying it by a predetermined constant. Since the correspondence table of FIG. 29 is to be applied to each zone 41 of FIG. 28, the correspondence table of the zone 41 and the block number of FIG. 29 is also for the light source luminous intensity of 400 hcd.

以上の如くに、補正rgb係数を適用することによって、カラーヘッドライトテスター10における光学系(特に主レンズとしてのフレネルレンズ)による色収差等に起因するバラツキを修正して適切にヘッドライトLの光度を高精度で決定することが可能である。更に、ゾーン分割処理を適用することにより処理を迅速化させることが可能となる。   As described above, by applying the correction rgb coefficient, the variation due to the chromatic aberration or the like due to the optical system (in particular, the Fresnel lens as the main lens) in the color headlight tester 10 is corrected and the light intensity of the headlight L is appropriately determined. It is possible to determine with high accuracy. Furthermore, it is possible to speed up processing by applying zone division processing.

7.最高輝度位置の補正
走行灯の配光パターン33における最高輝度YMAXの位置(h,v)は例えば3度30分バランス方式等によって決定することが可能であることについては前に説明した。尚、h及びvは、夫々、スクリーン19上の水平方向及び垂直方向の位置座標である。ところで、図23に示したシステムにおいて、基準球51として走行灯用の基準球を使用し、基準球51を選択した水平角度位置に設定して垂直方向に投射方向を段階的に変位させて、図23のシステムにおける10mスクリーン25の代わりに基準球51の1m前方に位置させたカラーヘッドライトテスタ10によって最高輝度YMAXの位置を決定したところ、バラツキが発生する場合があることが判明した。図30に示されているように、例えば、基準球51を左35cm(即ち、h=−35)の角度位置に設定して、基準球51を上10cm(即ち、v=10)から一定間隔(図示例においては1cm毎)毎に下側の方向へ下35cm(即ち、v=−35)まで角度を変位させ、夫々の角度位置においてカラーヘッドライトテスター10を使用して最大輝度YMAXの位置を測定した。その場合に、基準球51を同じ水平角度位置において上から下へ角度変位させただけであるから、夫々の垂直方向vの角度位置において得られるYMAXの(h,v)の位置座標は同じh座標上に存在することが予定される。しかしながら、カラーヘッドライトテスター10の中にはこの様なYMAXの特にh座標に僅かではあるが多少のバラツキが存在する場合があることが判明した。h座標のみならずv座標においてもバラツキが発生する可能性もある。これも、カラーヘッドライトテスター10における光学系(特に、フレネルレンズ)による色収差等の影響によるものと思われる。
7. Correction of Maximum Luminance Position It has been described above that the position (h, v) of the maximum luminance Y MAX in the light distribution pattern 33 of the traveling light can be determined by, for example, the 3 ° 30 minutes balance method or the like. Note that h and v are horizontal and vertical position coordinates on the screen 19, respectively. By the way, in the system shown in FIG. 23, a reference ball for traveling light is used as the reference ball 51, and the projection direction is stepwise displaced in the vertical direction by setting the reference ball 51 to the selected horizontal angle position. When the position of the maximum luminance Y MAX was determined by the color headlight tester 10 positioned 1 m ahead of the reference sphere 51 in place of the 10 m screen 25 in the system of FIG. 23, it was found that variation may occur. As shown in FIG. 30, for example, the reference sphere 51 is set at an angular position of 35 cm left (that is, h = -35), and the reference sphere 51 is uniformly spaced from the top 10 cm (that is, v = 10). The angle is displaced downward in the downward direction (i.e. every 1 cm in the example shown) down to 35 cm (i.e. v = -35), using the color headlight tester 10 at each angular position for maximum brightness Y MAX The position was measured. In that case, since the reference sphere 51 is only angularly displaced from the top to the bottom at the same horizontal angular position, the (h, v) position coordinates of Y MAX obtained at each angular position in the vertical direction v are the same. It is planned to exist on the h coordinate. However, it has been found that in the color headlight tester 10, there may be a slight but slight variation in the Y coordinate of such Y MAX . Not only the h coordinate but also the v coordinate may vary. This is also considered to be due to the influence of the chromatic aberration and the like by the optical system (in particular, the Fresnel lens) in the color headlight tester 10.

そこで、この様なバラツキを補正するために、図23のシステムにおいて上述した如くに基準球51として走行灯用の基準球を使用し、基準球51を夫々の水平角度位置に設定して垂直方向に角度変位させて夫々の垂直位置において図23のシステムにおける10mスクリーン25の代わりに基準球51の1m前方に位置させたカラーヘッドライトテスタ10によって最大輝度YMAXの位置を測定し、水平方向の有意のバラツキが存在するか否かのチェックを行った。その結果、この様な最高輝度位置の補正が必要とされるカラーヘッドライトテスター10に対しては、図31に示したブロック番号と位置補正値との対応表を作成し画像処理装置30内に格納している。尚、図31の対応表は図25に示したゾーン41とブロック番号との対応表に適用されるべきものである。図31に示されている実施例においては、高さ方向の位置補正はゼロ(v=0)であるが、水平方向の位置補正が幾つか存在していることが分かる。尚、別の実施例においては、水平方向の位置補正のみならず垂直方向の位置補正が必要となる場合もある。 Therefore, in order to correct such variations, as described above in the system of FIG. 23, the reference sphere for the traveling light is used as the reference sphere 51, and the reference sphere 51 is set to each horizontal angle position to vertically The position of the maximum luminance Y MAX is measured by the color headlight tester 10 positioned at 1 m ahead of the reference sphere 51 in place of the 10 m screen 25 in the system of FIG. It was checked whether there was significant variation. As a result, for the color headlight tester 10 that needs such correction of the maximum luminance position, the correspondence table between the block numbers and the position correction values shown in FIG. It is stored. The correspondence table of FIG. 31 is to be applied to the correspondence table of the zone 41 and the block number shown in FIG. In the embodiment shown in FIG. 31, although the height position correction is zero (v = 0), it can be seen that there are several horizontal position corrections. In another embodiment, not only horizontal position correction but also vertical position correction may be required.

図32は、図28と同様のゾーンとブロック番号との対応表の1例を示しているが、400hcdの走行灯のバランス点の位置(h、v)を補正するためのものである。図33は、図32の各ブロック番号に割り当てられている水平方向位置オフセット値h(cm)及び垂直方向位置オフセット値v(cm)を指し示しているテーブルである。従って、例えば、図32における水平方向画素範囲(300−319)と垂直方向画素範囲(120−139)のゾーンに対してはブロック番号5が割り当てられており、このブロック番号5に対応する位置補正量は、水平方向位置オフセット値h=0及び垂直方向位置オフセットv=0である。即ち、図32のゾーンにブロック番号5が割り当てられている場合には、そのゾーンに属する20×20個の画素に対しての位置の補正は行わないことになる。図32の実施例においては、その有効範囲内のゾーンの殆どにはブロック番号5が割り当てられており、残りのゾーンに対して割り当てられているブロック番号は4及び6のみであるから、位置補正の量は比較的僅かであることが理解される。   FIG. 32 shows an example of the same zone-block number correspondence table as FIG. 28, but for correcting the position (h, v) of the balance point of the traveling light of 400 hcd. FIG. 33 is a table indicating the horizontal position offset value h (cm) and the vertical position offset value v (cm) assigned to each block number in FIG. Therefore, for example, the block number 5 is assigned to the zones of the horizontal pixel range (300-319) and the vertical pixel range (120-139) in FIG. 32, and the position correction corresponding to the block number 5 is performed. The quantities are the horizontal position offset value h = 0 and the vertical position offset v = 0. That is, when the block number 5 is assigned to the zone of FIG. 32, the position correction is not performed on 20 × 20 pixels belonging to the zone. In the embodiment of FIG. 32, since most of the zones in the effective range are assigned the block number 5 and only 4 and 6 are assigned to the remaining zones, position correction is performed. It is understood that the amount of is relatively small.

8.エルボー点位置の補正
図23に示したシステムにおいて、基準球51としてすれ違い灯用の基準球を使用し、図24及び30に示されている如くに、基準球51を選択した水平(左右)角度位置(図24及び30においては、10mスクリーン上の対応する水平位置h(cm)として示してある)にセットし、その選択した水平角度位置を維持したままで、基準球51を垂直(上下)角度方向に角度(図24及び30においては、10mスクリーン上の対応する垂直位置v(cm)として示してある)を段階的に変化(図30においては1cm毎)させ、図23に示されている10mスクリーンの代わりに基準球51の前方1mに位置させた本カラーヘッドライトテスター10を使用して夫々の垂直位置vにおいてのエルボー点の位置を測定した。選択した水平位置hとしては、左35cm、左20cm、左10cm、中央(左右0)、右10cm、右20cm、右35cmを夫々使用した。その様にして得られた結果を図34にグラフとして示してある。
8. Correction of Elbow Point Position In the system shown in FIG. 23, using the reference ball for the passing light as the reference ball 51, as shown in FIGS. 24 and 30, the horizontal (left and right) angles at which the reference ball 51 is selected. Set the position (shown as the corresponding horizontal position h (cm) on the 10m screen in Figures 24 and 30) and keep the reference sphere 51 vertical (up and down) while maintaining its selected horizontal angular position The angles in the angular direction (shown in FIGS. 24 and 30 as the corresponding vertical position v (cm) on a 10 m screen) are varied stepwise (every 1 cm in FIG. 30) and are shown in FIG. Measure the position of the elbow point at each vertical position v using this color headlight tester 10 located 1 m in front of the reference sphere 51 instead of the 10 m screen did. As the selected horizontal position h, left 35 cm, left 20 cm, left 10 cm, center (left and right 0), right 10 cm, right 20 cm, and right 35 cm were used. The results so obtained are shown graphically in FIG.

ところで、図23に示したシステムにおける基準球取り付け装置50は極めて高精度に構成されており、基準球51の水平方向及び垂直方向の角度変位は極めて高精度で行うことが可能である。すれ違い灯用の基準球は水平カットラインと斜めカットライン及びそれらのカットラインの交点としてのエルボー点を有する配光パターンを投射する。従って、基準球51としてすれ違い灯用の基準球を基準球取り付け装置50に取り付けて、該基準球を選択した水平角度位置において垂直方向に段階的に角度変化させた場合には、その水平角度位置において垂直方向に一直線に位置を変化するエルボー点の点列が得られるはずである。   By the way, the reference ball attaching device 50 in the system shown in FIG. 23 is configured with extremely high accuracy, and it is possible to perform angular displacement of the reference sphere 51 in the horizontal direction and the vertical direction with extremely high accuracy. A reference ball for passing lights projects a light distribution pattern having horizontal cut lines and oblique cut lines and elbow points as intersections of those cut lines. Therefore, when the reference ball for passing light is attached to the reference ball mounting device 50 as the reference ball 51 and the angle is changed stepwise in the vertical direction at the selected horizontal angle position, the horizontal angle position A point series of elbow points that change positions in a straight line in the vertical direction should be obtained.

しかしながら、図34のグラフに測定結果が示されているように、上記いずれの水平位置hにおいても、垂直(上下)方向に基準球51を段階的に角度変位させた場合には、測定されたエルボー点の水平方向位置hは左右のバラツキを有している。図35は、基準球51を10mスクリーン上において左10cm(即ち、−10cm)の水平角度位置hに設定し、基準球51を上20cm(即ち、v=20)から一定間隔毎に下側の方向へ下35cm(即ち、v=−35)まで段階的に且つ直線的に角度を変位させて、エルボー点の位置(h、v)を基準球51の1m前方に位置させた本カラーヘッドライトテスター10で測定した場合の垂直(上下)方向の位置ずれ及び水平(左右)方向の位置ずれを示したグラフである。このグラフから、本カラーヘッドライトテスター10によって測定されたエルボー点の位置は水平(左右)方向のみならず垂直(上下)方向にもバラツキがあることが分かる。測定されたエルボー点の水平(左右)方向位置hとしては、本来は、h=−10cmの位置に一定に維持されるべきであるが、h=−10とh=−20との間で変動している。更に、測定されたエルボー点の垂直(上下)位置vにおいても一本の直線上に整列しておらず、僅かではあるが多少のバラツキがあることが示されている。   However, as shown in the graph of FIG. 34, the measurement results were obtained when the reference sphere 51 was angularly displaced stepwise in the vertical (up and down) direction at any of the above horizontal positions h. The horizontal position h of the elbow point has left and right variations. In FIG. 35, the reference sphere 51 is set on the 10 m screen at a horizontal angular position h of 10 cm (ie, -10 cm) on the left, and the reference sphere 51 is positioned 20 cm below (i.e. This color headlight whose position (h, v) of the elbow point is located 1 m ahead of the reference ball 51 by shifting the angle stepwise and linearly down to 35 cm (that is, v = -35) in the direction It is the graph which showed the position shift of the perpendicular | vertical (upper and lower) direction at the time of measuring with the tester 10, and the position shift of the horizontal (left and right) direction. From this graph, it can be seen that the position of the elbow point measured by the present color headlight tester 10 varies not only in the horizontal (left and right) direction but also in the vertical (upper and lower) direction. The horizontal (left and right) position h of the measured elbow point should originally be kept constant at the position of h = −10 cm, but fluctuates between h = −10 and h = −20 doing. Furthermore, it is also shown that the vertical (upper and lower) position v of the measured elbow point is not aligned on one straight line, and that there is slight variation.

カラーヘッドライトテスター10を使用してエルボー点のh、v位置を測定した場合にこの様なバラツキが発生する原因としては、カラーヘッドライトテスター10において10m再現を確立するために光学系を使用しているために色収差等の影響によるものと思われる。特に、光学系の主レンズ17としてフレネルレンズを使用した場合には、フレネルレンズの構造上の特殊性からその影響は一層顕著なものとなると考えられる。   As a cause of occurrence of such variations when the h, v position of the elbow point is measured using the color headlight tester 10, an optical system is used to establish a 10 m reproduction in the color headlight tester 10. It is considered to be due to the influence of chromatic aberration etc. In particular, in the case where a Fresnel lens is used as the main lens 17 of the optical system, it is considered that the influence thereof becomes more remarkable due to the structural peculiarity of the Fresnel lens.

従って、本カラーヘッドライトテスター10においてエルボー点の位置h、vを測定する場合には、上述した水平方向及び垂直方向のバラツキを補正することが重要となる。そのために、本発明においては、図23に示したシステムを使用してすれ違い灯用の基準球を基準球51としてセットし、基準球51を水平方向の選択した角度位置hに設定して基準球51を垂直方向に段階的に角度位置vを変化させて10mスクリーン25上のエルボー点のあるべき位置(h,v)を基準球取り付け装置50の角度メモリから決定し、一方、同じ設定状態において、カラーヘッドライトテスター10によって測定したエルボー点の位置(h,v)と比較して、それらに差異がある場合には位置補正量を決定している。そのようにして決定された位置補正テーブルを図36に(A)〜(C)として示してある。図36において、(A)はブロック番号と水平補正との対応を示しており、(B)はブロック番号とカットライン補正との対応を示しており、且つ(C)はブロック番号と高さ補正との対応を示している。尚、図37に概略図で示した如く、図36における(A)の水平補正とは、水平カットラインの測定位置に対する水平方向の位置補正h及び垂直方向の位置補正vであり、(B)のカットライン補正とは、斜めカットラインの測定位置に対する水平方向の位置補正h及び垂直方向の位置補正vであり、更に、(C)の高さ補正とは水平カットラインの上側にある第2水平カットラインの測定位置に対する水平方向の位置補正h及び垂直方向の位置補正vである。尚、(C)の高さ補正とは、実際には、ヘッドライトLの配光がZビーム配光である場合に適用される補正量である。図36に示した夫々の補正テーブルに示されているブロック番号がイメージセンサ20bのどの画素40(又はゾーン41)に適用されるかを示した対応表(不図示)も、例えば図25に示した形態で、用意されており画像処理装置30内に格納されている。   Therefore, in the case of measuring the positions h and v of the elbow point in the color headlight tester 10, it is important to correct the horizontal and vertical variations described above. Therefore, in the present invention, the reference ball for passing light is set as the reference ball 51 using the system shown in FIG. 23, and the reference ball 51 is set to the horizontally selected angular position h to obtain the reference ball. The angular position v is changed stepwise in the vertical direction 51 to determine the position (h, v) where the elbow point should be on the 10 m screen 25 from the angular memory of the reference ball mounting device 50, while in the same setting Compared with the position (h, v) of the elbow point measured by the color headlight tester 10, when there is a difference between them, the position correction amount is determined. The position correction tables determined as such are shown as (A) to (C) in FIG. In FIG. 36, (A) shows the correspondence between the block number and the horizontal correction, (B) shows the correspondence between the block number and the cutline correction, and (C) shows the block number and the height correction. It shows the correspondence with. Note that, as schematically shown in FIG. 37, the horizontal correction in (A) in FIG. 36 refers to the horizontal position correction h and the vertical position correction v with respect to the measurement position of the horizontal cut line, (B) The cutline correction of the horizontal position correction h and the vertical position correction v with respect to the measurement position of the oblique cutline, and the height correction of (C) is the second position above the horizontal cutline. These are horizontal position correction h and vertical position correction v with respect to the measurement position of the horizontal cut line. In addition, the height correction of (C) is a correction amount to be applied when the light distribution of the headlight L is actually a Z-beam light distribution. A correspondence table (not shown) showing, for example, which pixel 40 (or zone 41) of the image sensor 20b the block number indicated in each correction table shown in FIG. 36 is applied to, for example, is also shown in FIG. It is prepared and stored in the image processing apparatus 30 in the form of FIG.

9.測定原理及び手順
本発明の原理によれば、CIE標準光源の色温度に基づいてrgb係数を決定し、ヘッドライトの投射光をカラー画像処理してRGBデータを決定し、該RGBデータと該rgb係数とを使用して輝度Yを決定している。色温度とは光源の色を表現するものであって、その色と同じ色に見える黒体の温度を利用したものであり、光源の明るさを示す指標ではない。本発明においては、ヘッドライトも光源であるから、ヘッドライトの投射光をカラーカメラで撮像してその配光パターンをカラー画像処理する場合に使用されるrgb係数をヘッドライトの色温度に依存して決定すべきことに着目したものである。そして、何らかの方法でヘッドライトの色温度を直接に決定することが可能である場合には、その色温度に対応するrgb係数を決定(選択)すれば良い。一方、ヘッドライトの色温度を直接に決定することができない場合には、ヘッドライトの光度(色温度)を推定し、その推定した光度(色温度)をヘッドライトの真の色温度に近づければ良い。例えば、推定した光度(色温度)を使用して仮のrgb係数を決定し、これらの仮のrgb係数を使用して仮の輝度を決定し、該仮の輝度から仮の光度(色温度)を決定し、該仮の光度(色温度)が推定した色温度よりもヘッドライトの真の色温度に一層近いものとさせる。そして、その仮の光度(色温度)が最初に推定した光度(色温度)から許容差を越えている場合には、その仮の光度(色温度)に対応する新たなrgb係数を決定し、以下同様に処理すれば良い。
9. Measurement Principle and Procedure According to the principle of the present invention, the rgb coefficient is determined based on the color temperature of the CIE standard light source, the projection light of the headlight is subjected to color image processing to determine RGB data, the RGB data and the rgb The luminance Y is determined using the coefficients. The color temperature represents the color of the light source, and utilizes the temperature of a black body that appears to be the same color as the color, and is not an index indicating the brightness of the light source. In the present invention, since the headlight is also a light source, the rgb coefficient used when imaging the projection light of the headlight with a color camera and subjecting the light distribution pattern to color image processing depends on the color temperature of the headlight Focus on what needs to be determined. Then, if it is possible to directly determine the color temperature of the headlight by some method, the rgb coefficient corresponding to the color temperature may be determined (selected). On the other hand, if the color temperature of the headlight can not be determined directly, the light intensity (color temperature) of the headlight is estimated, and the estimated light intensity (color temperature) can be brought closer to the true color temperature of the headlight Just do it. For example, temporary brightness (color temperature) is used to determine temporary rgb coefficients, and temporary brightness is determined using these temporary rgb coefficients, and temporary brightness (color temperature) is determined from the temporary brightness. And the temporary light intensity (color temperature) is closer to the true color temperature of the headlight than the estimated color temperature. Then, if the temporary light intensity (color temperature) exceeds the tolerance from the light intensity (color temperature) initially estimated, a new rgb coefficient corresponding to the temporary light intensity (color temperature) is determined, The same procedure may be followed.

そして、上の如くに決定された輝度Yの中で最大輝度YMAXを探し出すことによって、その最大輝度YMAXの位置をヘッドライトの光軸(照射方向)として決定することが可能である。これはヘッドライトが走行灯モードにある場合の投射光の照射方向を決定することに対応している。更に、この最大輝度YMAXを予め定められた輝度・光度変換式に従って光度(hcd)へ変換させることが可能である。これはヘッドライトが走行灯モードにある場合のヘッドライトの光度(hcd)を決定することに対応している。 Then, by finding the maximum luminance Y MAX among the luminances Y determined as described above, it is possible to determine the position of the maximum luminance Y MAX as the optical axis (illumination direction) of the headlight. This corresponds to determining the irradiation direction of the projection light when the headlight is in the traveling light mode. Furthermore, it is possible to convert this maximum luminance Y MAX into a luminous intensity (hcd) according to a predetermined luminance-luminance conversion formula. This corresponds to determining the luminous intensity (hcd) of the headlight when the headlight is in the traveling light mode.

一方、上の如くに決定された輝度Yの中で所定の位置(路面照射点等)に対応する輝度Yを決定し、その輝度Yを光度へ変換させることも可能である。これはヘッドライトがすれ違いモードにある場合の路面照射点における光度を決定することに対応している。   On the other hand, it is also possible to determine the brightness Y corresponding to a predetermined position (road surface illumination point etc.) among the brightness Y determined as described above, and to convert the brightness Y into a light intensity. This corresponds to determining the light intensity at the road surface illumination point when the headlights are in the passing mode.

更に、上の如くに決定された輝度Yを互いに比較して明暗分割線としての水平カットラインと斜めカットラインとを探し出し、これらの水平及び斜めカットラインの交点としてエルボー点を決定することが可能である。   Furthermore, it is possible to compare the luminance Y determined as described above with each other to find a horizontal cut line and a diagonal cut line as a light and dark dividing line, and to determine an elbow point as an intersection point of these horizontal and diagonal cut lines. It is.

次に、本発明においてヘッドライトのテストを行う手順の幾つかの実施例について説明する。   Next, several embodiments of the procedure for testing a headlight in the present invention will be described.

先ず、ヘッドライトからの投射光の配光パターンをヘッドライトテスターの測定用カラーカメラで撮像できる位置へヘッドライトとヘッドライトテスターとを相対的に移動させる。ヘッドライトテスターの画像処理装置が該配光パターンにおける最高輝度を抽出し、該最高輝度が所定の範囲内に入るように測定用カラーカメラのシャッタースピードを上げたり下げたりして調節する。シャッタースピードが適切な値に設定されると、測定用カラーカメラを使用して画像処理装置がヘッドライトの光源種別の判定を行う。光源種別としては、代表的に、ハロゲンランプ、HIDランプ、LEDランプがある。ハロゲンランプは暖色系ランプとも言われ、一方HIDランプは寒色系ランプとも言われる。特に、暖色系ランプと寒色系ランプとでは色温度が異なっており、暖色系ランプ用の基本rgb係数と寒色系ランプ用の基本rgb係数とが用意されている。基本rgb係数とはその光源種別において代表的で基本となるrgb係数であって、例えば、暖色系光源種別の場合には、400hcdの光度に対するrgb係数である。従って、光源種別が判別されることによって、たとえヘッドライトの色温度を直接決定することができない場合であっても、その光源種別の基本rgb係数を仮のrgb係数として使用することが可能となる。例えば、テストすべきヘッドライトが暖色系ランプである場合には、そのヘッドライトの光度を暫定的に400hcdに設定するが、そのことはヘッドライトの色温度を400hcdに対応する色温度に推定していることと同じである。寒色系ランプ及びLEDランプについても予め基本rgb係数を決定しておき画像処理装置内に格納しておく。   First, the headlight and the headlight tester are relatively moved to a position where the light distribution pattern of the projection light from the headlight can be imaged by the measurement color camera of the headlight tester. The image processing device of the headlight tester extracts the maximum luminance in the light distribution pattern, and adjusts the shutter speed of the color camera for measurement to increase or decrease so that the maximum luminance falls within a predetermined range. When the shutter speed is set to an appropriate value, the image processing apparatus determines the type of light source of the headlight using the color camera for measurement. As a light source type, typically, there are a halogen lamp, an HID lamp, and an LED lamp. Halogen lamps are also referred to as warm-colored lamps, while HID lamps are also referred to as cold-colored lamps. In particular, the color temperature is different between the warm color lamp and the cold color lamp, and the basic rgb coefficient for the warm color lamp and the basic rgb coefficient for the cold color lamp are prepared. The basic rgb coefficients are representative and basic rgb coefficients in the light source type, and for example, in the case of a warm color light source type, they are rgb coefficients for a light intensity of 400 hcd. Therefore, even if the color temperature of the headlight can not be determined directly by determining the light source type, it is possible to use the basic rgb coefficient of the light source type as a temporary rgb coefficient. . For example, if the headlight to be tested is a warm lamp, the light intensity of the headlight is provisionally set to 400 hcd, which estimates the color temperature of the headlight to a color temperature corresponding to 400 hcd. Is the same as The basic rgb coefficients are also determined in advance for cold color lamps and LED lamps, and stored in the image processing apparatus.

光源種別を判別した後に、ヘッドライトのランプ種別(プロジェクター、レンズカット、マルチリフレクタ)を行うが、これは好適には正対用カメラによって行う。更に、正対用カメラを使用して画像処理装置がヘッドライトの中心をヘッドライトテスターの光軸と一致させる。この動作は通常正対動作と呼ばれている。   After determining the light source type, the lamp type of the headlight (projector, lens cut, multi-reflector) is performed, which is preferably performed by the facing camera. Further, using the facing camera, the image processor aligns the center of the headlight with the optical axis of the headlight tester. This operation is usually called facing operation.

正対が完了すると、走行灯モードかすれ違い灯モードかの測定モードの違いにより処理が分かれる。走行灯モードの場合には、ヘッドライトの色温度を直接的に決定することが可能であるか否かによって以下の如くに直説法と繰り返し法との2つの実施形態がある。   When the confrontation is completed, the processing is divided according to the difference in the measurement mode of the running light mode or the passing light mode. In the case of a traveling light mode, there are two embodiments, direct and iterative, as follows, depending on whether it is possible to directly determine the color temperature of the headlights.

A.走行灯モード
(1)直説法
先ず、ヘッドライトLの色温度を直接的に決定することが可能である場合には直説法が採用される。何故ならば、ヘッドライトLの色温度が決定(選択)されれば、そのヘッドライトLからの投射光に対して適用すべきrgb係数を直接決定することが可能だからである。例えば、1実施例においては、ヘッドライトテスター10に色温度測定器が設けられており、テストすべきヘッドライトLからの投射光を検知してヘッドライトの色温度を決定し、その決定された色温度の情報を画像処理装置30へ供給する。別の実施例においては、市販の普及型の色温度測定器をオペレータが操作してヘッドライトの色温度を測定し、その色温度情報をヘッドライトテスター10へオペレータが入力する。測定用カラーカメラ20がヘッドライトLからの投射光の配光パターン33を撮像してRGBデータを画像処理装置30へ供給し、画像処理装置30はRGBデータとrgb係数とを使用してカラーイメージセンサ20bの画素40に対する輝度Yを計算する。
A. Running Light Mode (1) Direct Method First, when it is possible to directly determine the color temperature of the headlight L, the direct method is adopted. This is because, once the color temperature of the headlight L is determined (selected), it is possible to directly determine the rgb coefficient to be applied to the projection light from the headlight L. For example, in one embodiment, the headlight tester 10 is provided with a color temperature measuring device, which detects the projection light from the headlight L to be tested to determine the color temperature of the headlight, which is determined The color temperature information is supplied to the image processing device 30. In another embodiment, an operator operates a commercially available color temperature measuring instrument of a popular type to measure the color temperature of the headlight, and the operator inputs the color temperature information to the headlight tester 10. The color camera for measurement 20 images the light distribution pattern 33 of the projection light from the headlight L and supplies RGB data to the image processing device 30, and the image processing device 30 uses the RGB data and the rgb coefficient to generate a color image The luminance Y for the pixel 40 of the sensor 20b is calculated.

尚、ヘッドライトテスター10が使用する光学系(特に、フレネルレンズ)の影響によって、カラーイメージセンサ20bの測定範囲内においてRGBデータのバラツキに基づく光度の変動を無視できない場合がある。この様な場合には、CIE標準光源の色温度に基づいて決定されたrgb係数を基準rgb係数とし、該基準rgb係数を適用する測定範囲内の位置を特定し、一方この様なバラツキを吸収するように基準rgb係数を修正した補正rgb係数を決定し、該補正rgb係数を適用する測定範囲内の位置を特定する。これらの基準rgb係数及び補正rgb係数及びそれら係数と測定範囲内の適用位置との対応表を画像処理装置30内に格納しておく。更に、1実施例においては、測定範囲内の全ての画素40に対してこの様な対応表を作成するものであるが、別の実施例においては、測定範囲内の全画素40を複数個の画素40からなるゾーン41に分割し、各ゾーン41に対しては共通の対応表を適用する。夫々のゾーン41は同一数の画素数を有するものであっても、異なる数の画素数を有するものであっても良い。   Incidentally, due to the influence of an optical system (in particular, a Fresnel lens) used by the headlight tester 10, it may not be possible to ignore the variation in light intensity based on the variation in RGB data within the measurement range of the color image sensor 20b. In such a case, the rgb coefficient determined based on the color temperature of the CIE standard light source is used as a reference rgb coefficient, and the position within the measurement range to which the reference rgb coefficient is applied is specified, while absorbing such variations The corrected rgb coefficient is determined so as to correct the reference rgb coefficient, and the position within the measurement range to which the corrected rgb coefficient is applied is specified. A table of correspondences between these reference rgb coefficients and the corrected rgb coefficients and the coefficients and the application position within the measurement range is stored in the image processing device 30. Furthermore, in one embodiment, such a correspondence table is generated for all the pixels 40 in the measurement range, but in another embodiment, a plurality of all pixels 40 in the measurement range is provided. It is divided into zones 41 composed of pixels 40, and a common correspondence table is applied to each zone 41. Each zone 41 may have the same number of pixels or may have a different number of pixels.

画像処理装置30は、上述した如くに計算された輝度Yの中で最高輝度YMAXを探し出す。次いで、画像処理装置30はその最高輝度YMAXの位置をヘッドライトLの光軸(照射方向)として決定する。更に、画像処理装置30は、予め定められている輝度Y(無次元)と光度(hcd)との間の変換式にしたがって、最高輝度YMAXを光度(hcd)へ変換する。この様にして直説法によってヘッドライトLの光軸(照射方向)と光度(hcd)とが決定される。 The image processing apparatus 30 finds the highest luminance Y MAX among the luminances Y calculated as described above. Next, the image processing device 30 determines the position of the maximum luminance Y MAX as the optical axis (illumination direction) of the headlight L. Furthermore, the image processing device 30 converts the maximum luminance Y MAX into a light intensity (hcd) in accordance with a predetermined conversion equation between the brightness Y (dimensionless) and the light intensity (hcd). Thus, the optical axis (irradiation direction) of the headlight L and the light intensity (hcd) are determined by the direct method.

(2)繰り返し法
次に、ヘッドライトLの色温度を直接的に決定することが不可能である場合には繰り返し法が採用される。この場合には、前述した光源種別の判定結果を利用して、予め光源種別毎に特定されている基本rgb係数を仮のrgb係数として使用する。例えば、光源種別の判定が暖色系(ハロゲンランプ)であった場合には、画像処理装置は、仮のrgb係数として400hcdのrgb係数を仮のrgb係数として使用する。測定用カラーカメラ20がヘッドライトLからの投射光の配光パターン33を撮像してRGBデータを画像処理装置30へ供給し、画像処理装置30はRGBデータと仮のrgb係数とを使用してカラーイメージセンサ20bの画素40に対する仮の輝度Yを計算する。
(2) Repeat Method Next, when it is impossible to directly determine the color temperature of the headlight L, the repeat method is adopted. In this case, the basic rgb coefficient specified in advance for each light source type is used as a temporary rgb coefficient using the determination result of the light source type described above. For example, when the determination of the light source type is a warm color system (halogen lamp), the image processing apparatus uses an rgb coefficient of 400 hcd as a temporary rgb coefficient as a temporary rgb coefficient. The color camera for measurement 20 images the light distribution pattern 33 of the projection light from the headlight L and supplies RGB data to the image processing device 30, and the image processing device 30 uses the RGB data and the temporary rgb coefficient. A provisional luminance Y for the pixel 40 of the color image sensor 20b is calculated.

尚、ヘッドライトテスター10が使用する光学系(特に、フレネルレンズ)の影響によって、カラーイメージセンサ20bの測定範囲内においてRGBデータのバラツキに基づく光度の変動を無視できない場合がある。この様な場合には、該基本rgb係数を基準rgb係数とし、該基準rgb係数を適用する測定範囲内の位置を特定し、一方この様なバラツキを吸収するように基準rgb係数を修正した補正rgb係数を決定し、該補正rgb係数を適用する測定範囲内の位置を特定する。これらの基準rgb係数及び補正rgb係数及びそれら係数と測定範囲内の適用位置との対応表を画像処理装置30内に格納しておく。更に、1実施例においては、測定範囲内の全ての画素40に対してこの様な対応表を作成するものであるが、別の実施例においては、測定範囲内の全画素40を複数個の画素40からなるゾーン41に分割し、各ゾーン41に対しては共通の対応表を適用する。夫々のゾーン41は同一数の画素数を有するものであっても、異なる数の画素数を有するものであっても良い。   Incidentally, due to the influence of an optical system (in particular, a Fresnel lens) used by the headlight tester 10, it may not be possible to ignore the variation in light intensity based on the variation in RGB data within the measurement range of the color image sensor 20b. In such a case, the basic rgb coefficient is used as a reference rgb coefficient, and a position within the measurement range to which the reference rgb coefficient is applied is specified, while correction is performed by correcting the reference rgb coefficient to absorb such variations. The rgb coefficient is determined, and the position within the measurement range to which the corrected rgb coefficient is to be applied is specified. A table of correspondences between these reference rgb coefficients and the corrected rgb coefficients and the coefficients and the application position within the measurement range is stored in the image processing device 30. Furthermore, in one embodiment, such a correspondence table is generated for all the pixels 40 in the measurement range, but in another embodiment, a plurality of all pixels 40 in the measurement range is provided. It is divided into zones 41 composed of pixels 40, and a common correspondence table is applied to each zone 41. Each zone 41 may have the same number of pixels or may have a different number of pixels.

画像処理装置30は、上述した如くに計算された仮の輝度Yの中で仮の最高輝度YMAXを探し出す。次いで、画像処理装置30は、予め定められている輝度Y(無次元)と光度(hcd)との間の変換式にしたがって、仮の最高輝度YMAXを仮の光度(hcd)へ変換する。 The image processing device 30 finds the temporary maximum brightness Y MAX among the temporary brightness Y calculated as described above. Next, the image processing device 30 converts the provisional maximum luminance Y MAX into a provisional luminous intensity (hcd) in accordance with a conversion formula between the luminance Y (dimensionless) and the luminous intensity (hcd) determined in advance.

次いで、この様にして得られた仮の光度が許容差を越えて光源種別判定結果に基づいて推定した400hcdとは異なっている場合には、画像処理装置30は、この様にして決定された仮の光度(hcd)に基づいて新たなrgb係数(好適には、基準rgb係数と補正rgb係数との結合)を選択し、測定用カラーカメラ20から供給される配光パターン33のRGBデータと該新たなrgb係数とを使用してカラーイメージセンサ20bの画素40に対する新たな輝度Yを計算する。画像処理装置30は、これらの新たな輝度の中で最大の新たな最高輝度YMAXを検出し、更に、前記変換式に従って新たな最高輝度YMAXを新たな、好適には、最終の、光度(hcd)へ変換させる。尚、必要であれば、この新たな光度に基づいて再度新たなrgb係数を選択して所望の精度を有する最終の光度が得られるまで又は所定の繰り返し数まで処理を繰り返すことも可能である。そして、最終の光度に対する最高輝度YMAXの位置に対して画像処理装置30が最高輝度(例えば、バランス点)位置補正テーブルを適用してヘッドライトLの光軸(照射方向)を決定する。 Then, when the provisional light intensity obtained in this manner is different from the 400 hcd estimated based on the light source type determination result beyond the tolerance, the image processing device 30 is determined in this manner. A new rgb coefficient (preferably, a combination of a reference rgb coefficient and a corrected rgb coefficient) is selected based on the temporary light intensity (hcd), and RGB data of the light distribution pattern 33 supplied from the color camera 20 for measurement The new luminance Y for the pixel 40 of the color image sensor 20b is calculated using the new rgb coefficient. The image processing unit 30 detects the maximum new maximum luminance Y MAX among these new luminances, and further, according to the conversion equation, the new maximum luminance Y MAX is newly determined, preferably the final value Convert to (hcd). If necessary, it is also possible to select a new rgb coefficient again based on this new light intensity and repeat the processing until a final light intensity having a desired accuracy is obtained or until a predetermined number of repetitions. Then, the image processing device 30 applies the maximum luminance (e.g., balance point) position correction table to the position of the maximum luminance Y MAX with respect to the final luminous intensity to determine the optical axis (irradiation direction) of the headlight L.

B.すれ違い灯モード
すれ違い灯モードが選択されている場合には、光度(hcd)の決定には上述した(1)直説法、(2)繰り返し法のいずれも適用可能であるが、すれ違い灯モードではRGBデータのバラツキは実質的に無視可能であるので補正rgb係数を使うことは必要ではない場合もある。又、すれ違い灯モードにおいては、光度を測定する箇所は最高輝度点ではなく予めランプ中心に対して規定された路面照射点と呼ばれる点である。即ち、ランプ高さが1m以下の場合の路面照射点とはランプ中心から左1.3度で下0.6度の位置であり、ランプ高さが1m超の場合には、ランプ中心から左1.3度で下0.9度の位置である。従って、これらの固定されている位置においてRGBデータとrgb係数とから輝度Yを計算し、上記変換式に従って光度(hcd)へ変換させれば良い。
B. Passing light mode When passing light mode is selected, any of (1) direct method and (2) repetition method described above can be applied to determine the light intensity (hcd). It may not be necessary to use a corrected rgb coefficient since data variations are substantially negligible. Also, in the passing light mode, the point at which the light intensity is measured is not the highest luminance point but a point called road surface illumination point which is previously defined with respect to the lamp center. That is, when the lamp height is 1 m or less, the road surface irradiation point is 1.3 degrees left and 0.6 degrees down from the center of the lamp, and when the lamp height is more than 1 m, left from the lamp center It is a position of 0.9 degrees below at 1.3 degrees. Therefore, the luminance Y may be calculated from the RGB data and the rgb coefficient at these fixed positions, and converted to the luminous intensity (hcd) according to the above conversion formula.

一方、すれ違い灯モードにおいては、エルボー点の位置を検出することが必要である。従って、画像処理装置30は、rgb係数とRGBデータとからカラーイメージセンサ20bの測定範囲内における各画素に対しての輝度Yを計算し、それらを互いに比較処理して明暗分岐線としての水平カットラインと斜めカットラインとを探し出す。比較処理を行う1実施例は差の差方式である。更に、エルボー点の位置検出においては、カラーヘッドライトテスター10の光学系(フレネルレンズ17)による影響が比較的大きいので、検出されたエルボー点の位置を補正するために位置補正テーブルを適用する。   On the other hand, in the passing light mode, it is necessary to detect the position of the elbow point. Therefore, the image processing device 30 calculates the luminance Y for each pixel in the measurement range of the color image sensor 20b from the rgb coefficient and the RGB data, compares them with one another, and cuts the horizontal cut as a bright and dark branch line Find lines and diagonal cut lines. One embodiment for performing comparison processing is the difference method. Further, in the position detection of the elbow point, since the optical system (Fresnel lens 17) of the color headlight tester 10 has a relatively large influence, the position correction table is applied to correct the position of the detected elbow point.

以上、本発明の具体的実施の態様について詳細に説明したが、本発明はこれらの具体的実施の態様に制限されるべきものではなく、本発明の技術的範囲を逸脱すること無しに種々の変更が可能であることは勿論である。   Although the specific embodiments of the present invention have been described above in detail, the present invention should not be limited to these specific embodiments, and various modifications may be made without departing from the technical scope of the present invention. Of course, changes are possible.

10:カラーヘッドライトテスター
11:受光部
17:主レンズ(フレネルレンズ)
19:内部(測定用)スクリーン
20:測定用カメラ
20b:半導体カラーイメージセンサ
21:データ処理装置
24:正対用カメラ
25:10mスクリーン
30:画像処理装置
33:配光パターン(画像)
37a:水平カットライン
37b:斜めカットライン
38:エルボー点
40:画素
41:ゾーン
50:基準球取り付け装置
51:基準球
58:照度計
10: color headlight tester 11: light receiving unit 17: main lens (Fresnel lens)
19: internal (for measurement) screen 20: camera for measurement 20b: semiconductor color image sensor 21: data processor 24: camera for facing 25: 10 m screen 30: image processor 33: light distribution pattern (image)
37a: horizontal cut line 37b: oblique cut line 38: elbow point 40: pixel 41: zone 50: reference ball mounting device 51: reference ball 58: illuminance meter

Claims (61)

ヘッドライトからの投射光を受け取る光学系、
該光学系を介して該投射光の配光パターンが投影されるスクリーン、
該スクリーン上の該配光パターンを撮像する測定用カラーカメラ、
該測定用カラーカメラの選択した複数個の画素の各々に対して該投射光の色温度に基づいてrgb係数を決定するrgb係数決定手段、
該測定用カラーカメラからのRGBデータを受け取って該rgb係数決定手段によって決定された対応する画素に対するrgb係数を適用して該対応する画素に対する輝度を決定する輝度決定手段、
該複数個の画素の内で最高輝度を有する画素を判別し該最高輝度を有する画素の上下左右方向の位置を該ヘッドライトの光軸として決定する光軸決定手段、
を有するカラーヘッドライトテスター。
An optical system that receives the projection light from the headlights,
A screen on which a light distribution pattern of the projection light is projected via the optical system;
A color camera for measurement which captures the light distribution pattern on the screen;
An rgb coefficient determination unit that determines an rgb coefficient based on a color temperature of the projection light for each of a plurality of selected pixels of the measurement color camera;
Luminance determination means for receiving RGB data from the color camera for measurement and applying the rgb coefficient to the corresponding pixel determined by the rgb coefficient determination means to determine the luminance for the corresponding pixel;
Optical axis determination means for determining a pixel having the highest luminance among the plurality of pixels and determining the position of the pixel having the highest luminance in the vertical and horizontal directions as the optical axis of the headlight.
Color headlight tester with.
前記光学系が主レンズを有している請求項1記載のカラーヘッドライトテスター。   The color headlight tester according to claim 1, wherein the optical system has a main lens. 前記主レンズがフレネルレンズである請求項2記載のカラーヘッドライトテスター。   The color headlight tester according to claim 2, wherein the main lens is a Fresnel lens. 前記測定用カラーカメラが複数個の画素を具備するカラーイメージセンサを有している請求項1記載のカラーヘッドライトテスター。   The color head light tester according to claim 1, wherein the color camera for measurement comprises a color image sensor having a plurality of pixels. 前記カラーイメージセンサがCCDカラーイメージセンサである請求項4記載のカラーヘッドライトテスター。   5. The color headlight tester according to claim 4, wherein the color image sensor is a CCD color image sensor. 前記rgb係数が、CIE標準光源の色温度に基づいて決定された少なくとも1個の基準rgb係数と、該基準rgb係数を修正した少なくとも1個の補正rgb係数と、を包含している請求項1記載のカラーヘッドライトテスター。   The method according to claim 1, wherein the rgb coefficients include at least one reference rgb coefficient determined based on the color temperature of the CIE standard light source and at least one correction rgb coefficient obtained by modifying the reference rgb coefficient. Color headlight tester described. 前記rgb係数決定手段は、前記カラーイメージセンサの各画素毎にrgb係数を決定する請求項4又は5記載のカラーヘッドライトテスター。   The color head light tester according to claim 4 or 5, wherein the rgb coefficient determining means determines an rgb coefficient for each pixel of the color image sensor. 前記カラーイメージセンサの複数個の画素が複数個のゾーンに分割されており、前記rgb係数決定手段は、前記ゾーンの一つに対して共通して使用されるrgb係数を決定する請求項4又は5記載のカラーヘッドライトテスター。   The plurality of pixels of the color image sensor are divided into a plurality of zones, and the rgb coefficient determination means determines an rgb coefficient commonly used for one of the zones. 5 color headlight tester. 前記rgb係数決定手段は、所定の光度又は色温度別にrgb係数を計算した複数個のテーブルを有しており、前記複数個のテーブルの中から選択してテーブルに従って使用すべきrgb係数を決定する請求項1乃至8の内のいずれか1項に記載したカラーヘッドライトテスター。   The rgb coefficient determination means has a plurality of tables in which rgb coefficients are calculated for each predetermined light intensity or color temperature, and selects from among the plurality of tables and determines rgb coefficients to be used according to the table A color headlight tester according to any one of the preceding claims. 更に、前記ヘッドライトの光源種別を判定する光源種別判定手段を有しており、前記rgb係数決定手段は、該光源種別の判定に従って適用すべきrgb係数を決定する請求項1記載のカラーヘッドライトテスター。   The color headlight according to claim 1, further comprising a light source type determination unit that determines a light source type of the headlight, wherein the rgb coefficient determination unit determines an rgb coefficient to be applied according to the determination of the light source type. tester. 前記輝度は、CIE・XYZ表色系における三刺激値X,Y,Zにより定義されるXYZ座標のY座標に対応しており、前記輝度決定手段が式Y=r×R+g×G+b×Bにより前記輝度を決定するものであり、尚、RGBは前記測定用カラーカメラから出力されるRGBデータであり且つrgbはRGBデータの夫々の重み付けとしての係数である請求項1乃至10記載のカラーヘッドライトテスター。   The luminance corresponds to Y coordinates of XYZ coordinates defined by tristimulus values X, Y and Z in the CIE · XYZ color system, and the luminance determining unit calculates the luminance by the formula Y = r × R + g × G + b × B. The color headlight according to any one of claims 1 to 10, wherein the luminance is determined, RGB is RGB data outputted from the color camera for measurement, and rgb is a coefficient as a weighting of each of the RGB data. tester. 前記光軸決定手段がバランス方式又は2値化重心方式のいずれかに基づいて前記最高輝度を判別する請求項1乃至11の内のいずれか1項に記載したカラーヘッドライトテスター。   The color head light tester according to any one of claims 1 to 11, wherein the optical axis determination means determines the maximum luminance based on either a balance method or a binarization center of gravity method. 前記光軸決定手段が、最高輝度位置補正テーブルを有しており、前記判別された最高輝度の位置に対して前記最高輝度位置補正テーブルからの位置補正データを適用して前記光軸を決定する請求項1乃至12の内のいずれか1項に記載したカラーヘッドライトテスター。   The optical axis determination means has a maximum luminance position correction table, and applies the position correction data from the maximum luminance position correction table to the determined position of the maximum luminance to determine the optical axis. A color headlight tester as claimed in any one of the preceding claims. 更に、少なくともCPUとメモリとを具備するコンピュータシステムから構成されている画像処理装置を有しており、前記rgb係数決定手段と、前記輝度決定手段と、前記光軸決定手段とは、本カラーヘッドライトテスターの動作を制御するプログラムの一部として前記画像処理装置内に格納されている請求項1乃至13の内のいずれか1項に記載したカラーヘッドライトテスター。   The image processing apparatus further comprises a computer system comprising at least a CPU and a memory, and the rgb coefficient determination means, the luminance determination means, and the optical axis determination means are the main color heads. The color head light tester according to any one of claims 1 to 13, which is stored in the image processing apparatus as part of a program for controlling the operation of a light tester. ヘッドライトからの投射光を受け取る光学系、
該光学系を介して該投射光の配光パターンが投影されるスクリーン、
該スクリーン上の該配光パターンを撮像する測定用カラーカメラ、
該測定用カラーカメラの選択した複数個の画素の各々に対して該投射光の色温度に基づいてrgb係数を決定するrgb係数決定手段、
該測定用カラーカメラからのRGBデータを受け取って該rgb係数決定手段によって決定された対応する画素に対するrgb係数を適用して該対応する画素に対する輝度を決定する輝度決定手段、
該複数個の画素の夫々に対応する複数個の輝度の内で最高輝度を判別し該最高輝度から該ヘッドライトの光度を決定する第1光度決定手段、
を有するカラーヘッドライトテスター。
An optical system that receives the projection light from the headlights,
A screen on which a light distribution pattern of the projection light is projected via the optical system;
A color camera for measurement which captures the light distribution pattern on the screen;
An rgb coefficient determination unit that determines an rgb coefficient based on a color temperature of the projection light for each of a plurality of selected pixels of the measurement color camera;
Luminance determination means for receiving RGB data from the color camera for measurement and applying the rgb coefficient to the corresponding pixel determined by the rgb coefficient determination means to determine the luminance for the corresponding pixel;
First intensity determining means for determining the highest intensity among the plurality of intensities corresponding to each of the plurality of pixels and determining the intensity of the headlight from the highest intensity;
Color headlight tester with.
前記光学系が主レンズを有している請求項15記載のカラーヘッドライトテスター。   The color headlight tester according to claim 15, wherein the optical system has a main lens. 前記主レンズがフレネルレンズである請求項16記載のカラーヘッドライトテスター。   The color headlight tester according to claim 16, wherein the main lens is a Fresnel lens. 前記測定用カラーカメラが複数個の画素を具備するカラーイメージセンサを有している請求項15記載のカラーヘッドライトテスター。   The color headlight tester according to claim 15, wherein the color camera for measurement comprises a color image sensor comprising a plurality of pixels. 前記カラーイメージセンサがCCDカラーイメージセンサである請求項18記載のカラーヘッドライトテスター。   The color head light tester according to claim 18, wherein the color image sensor is a CCD color image sensor. 前記rgb係数が、CIE標準光源の色温度に基づいて決定された少なくとも1個の基準rgb係数と、該基準rgb係数を修正した少なくとも1個の補正rgb係数と、を包含している請求項15記載のカラーヘッドライトテスター。   15. The apparatus according to claim 15, wherein the rgb coefficients include at least one reference rgb coefficient determined based on the color temperature of the CIE standard light source and at least one correction rgb coefficient obtained by modifying the reference rgb coefficient. Color headlight tester described. 前記rgb係数決定手段は、前記カラーイメージセンサの各画素毎にrgb係数を決定する請求項18又は19記載のカラーヘッドライトテスター。   20. The color head light tester according to claim 18, wherein said rgb coefficient determining means determines an rgb coefficient for each pixel of said color image sensor. 前記カラーイメージセンサの複数個の画素が複数個のゾーンに分割されており、前記rgb係数決定手段は、前記ゾーンの一つに対して共通して使用されるrgb係数を決定する請求項18又は19記載のカラーヘッドライトテスター。   The plurality of pixels of the color image sensor are divided into a plurality of zones, and the rgb coefficient determination means determines an rgb coefficient commonly used for one of the zones. 19 color headlight tester. 前記rgb係数決定手段は、所定の光度又は色温度別にrgb係数を計算した複数個のテーブルを有しており、前記複数個のテーブルの中から選択してテーブルに従って使用すべきrgb係数を決定する請求項15乃至22の内のいずれか1項に記載したカラーヘッドライトテスター。   The rgb coefficient determination means has a plurality of tables in which rgb coefficients are calculated for each predetermined light intensity or color temperature, and selects from among the plurality of tables and determines rgb coefficients to be used according to the table The color headlight tester according to any one of claims 15 to 22. 更に、前記ヘッドライトの光源種別を判定する光源種別判定手段を有しており、前記rgb係数決定手段は、該光源種別の判定に従って適用すべきrgb係数を決定する請求項15記載のカラーヘッドライトテスター。   The color headlight according to claim 15, further comprising a light source type determination unit that determines a light source type of the headlight, wherein the rgb coefficient determination unit determines an rgb coefficient to be applied according to the determination of the light source type. tester. 前記輝度は、CIE・XYZ表色系における三刺激値X,Y,Zにより定義されるXYZ座標のY座標に対応しており、前記輝度決定手段が式Y=r×R+g×G+b×Bにより前記輝度を決定するものであり、尚、RGBは前記測定用カラーカメラから出力されるRGBデータであり且つrgbはRGBデータの夫々の重み付けとしての係数である請求項15乃至24記載のカラーヘッドライトテスター。   The luminance corresponds to Y coordinates of XYZ coordinates defined by tristimulus values X, Y and Z in the CIE · XYZ color system, and the luminance determining unit calculates the luminance by the formula Y = r × R + g × G + b × B. The color headlight according to any one of claims 15 to 24, wherein the luminance is determined, RGB is RGB data outputted from the color camera for measurement, and rgb is a coefficient as a weighting of each of the RGB data. tester. 前記第1光度決定手段は、既知の光度を有する基準光源の光度と前記輝度決定手段によって決定される輝度との間に予め定められている条件に基づいて前記ヘッドライトの光度を決定する請求項15乃至25の内のいずれか1項に記載したカラーヘッドライトテスター。   The first light intensity determining means determines the light intensity of the headlight based on a condition predetermined between the light intensity of a reference light source having a known light intensity and the brightness determined by the brightness determining means. The color headlight tester according to any one of 15 to 25. 更に、少なくともCPUとメモリとを具備するコンピュータシステムから構成されている画像処理装置を有しており、前記rgb係数決定手段と、前記輝度決定手段と、前記第1光度決定手段とは、本カラーヘッドライトテスターの動作を制御するプログラムの一部として前記画像処理装置内に格納されている請求項15乃至26の内のいずれか1項に記載したカラーヘッドライトテスター。   The image processing apparatus further comprises a computer system comprising at least a CPU and a memory, and the rgb coefficient determination means, the luminance determination means, and the first light intensity determination means are the main color. The color headlight tester according to any one of claims 15 to 26, stored in the image processing apparatus as part of a program for controlling the operation of a headlight tester. ヘッドライトからの投射光を受け取る光学系、
該光学系を介して該投射光の配光パターンが投影されるスクリーン、
該スクリーン上の該配光パターンを撮像する測定用カラーカメラ、
該測定用カラーカメラの選択した複数個の画素の各々に対して該投射光の色温度に基づいてrgb係数を決定するrgb係数決定手段、
該測定用カラーカメラからのRGBデータを受け取って該rgb係数決定手段によって決定された対応する画素に対するrgb係数を適用して該対応する画素に対する輝度を決定する輝度決定手段、
該配光パターンにおいて該ヘッドライトの中心から所定の位置における輝度を判別し該輝度から該ヘッドライトの光度を決定する第2光度決定手段、
を有するカラーヘッドライトテスター。
An optical system that receives the projection light from the headlights,
A screen on which a light distribution pattern of the projection light is projected via the optical system;
A color camera for measurement which captures the light distribution pattern on the screen;
An rgb coefficient determination unit that determines an rgb coefficient based on a color temperature of the projection light for each of a plurality of selected pixels of the measurement color camera;
Luminance determination means for receiving RGB data from the color camera for measurement and applying the rgb coefficient to the corresponding pixel determined by the rgb coefficient determination means to determine the luminance for the corresponding pixel;
A second light intensity determination unit that determines the brightness at a predetermined position from the center of the headlight in the light distribution pattern and determines the light intensity of the headlight from the brightness;
Color headlight tester with.
前記光学系が主レンズを有している請求項28記載のカラーヘッドライトテスター。   The color headlight tester according to claim 28, wherein the optical system comprises a main lens. 前記主レンズがフレネルレンズである請求項29記載のカラーヘッドライトテスター。   The color headlight tester according to claim 29, wherein the main lens is a Fresnel lens. 前記測定用カラーカメラが複数個の画素を具備するカラーイメージセンサを有している請求項28記載のカラーヘッドライトテスター。   The color head light tester according to claim 28, wherein the color camera for measurement comprises a color image sensor comprising a plurality of pixels. 前記カラーイメージセンサがCCDカラーイメージセンサである請求項31記載のカラーヘッドライトテスター。   The color head light tester according to claim 31, wherein the color image sensor is a CCD color image sensor. 前記rgb係数が、CIE標準光源の色温度に基づいて決定された少なくとも1個の基準rgb係数と、該基準rgb係数を修正した少なくとも1個の補正rgb係数と、を包含している請求項28記載のカラーヘッドライトテスター。   The method according to claim 28, wherein the rgb coefficients include at least one reference rgb coefficient determined based on the color temperature of the CIE standard light source, and at least one correction rgb coefficient that is a modification of the reference rgb coefficient. Color headlight tester described. 前記rgb係数決定手段は、前記カラーイメージセンサの各画素毎にrgb係数を決定する請求項31又は32記載のカラーヘッドライトテスター。   The color head light tester according to claim 31 or 32, wherein the rgb coefficient determination means determines an rgb coefficient for each pixel of the color image sensor. 前記カラーイメージセンサの複数個の画素が複数個のゾーンに分割されており、前記rgb係数決定手段は、前記ゾーンの一つに対して共通して使用されるrgb係数を決定する請求項31又は32記載のカラーヘッドライトテスター。   The plurality of pixels of the color image sensor is divided into a plurality of zones, and the rgb coefficient determination means determines an rgb coefficient commonly used for one of the zones. 32. The color headlight tester according to 32. 前記rgb係数決定手段は、所定の光度又は色温度別にrgb係数を計算した複数個のテーブルを有しており、前記複数個のテーブルの中から選択してテーブルに従って使用すべきrgb係数を決定する請求項28乃至35の内のいずれか1項に記載したカラーヘッドライトテスター。   The rgb coefficient determination means has a plurality of tables in which rgb coefficients are calculated for each predetermined light intensity or color temperature, and selects from among the plurality of tables and determines rgb coefficients to be used according to the table A color headlight tester as claimed in any of claims 28 to 35. 更に、前記ヘッドライトの光源種別を判定する光源種別判定手段を有しており、前記rgb係数決定手段は、該光源種別の判定に従って適用すべきrgb係数を決定する請求項28記載のカラーヘッドライトテスター。   The color headlight according to claim 28, further comprising: a light source type determining unit that determines a light source type of the headlight, wherein the rgb coefficient determining unit determines an rgb coefficient to be applied according to the determination of the light source type. tester. 前記輝度は、CIE・XYZ表色系における三刺激値X,Y,Zにより定義されるXYZ座標のY座標に対応しており、前記輝度決定手段が式Y=r×R+g×G+b×Bにより前記輝度を決定するものであり、尚、RGBは前記測定用カラーカメラから出力されるRGBデータであり且つrgbはRGBデータの夫々の重み付けとしての係数である請求項28乃至37記載のカラーヘッドライトテスター。   The luminance corresponds to Y coordinates of XYZ coordinates defined by tristimulus values X, Y and Z in the CIE · XYZ color system, and the luminance determining unit calculates the luminance by the formula Y = r × R + g × G + b × B. The color headlight according to any one of claims 28 to 37, wherein the luminance is determined, and RGB is RGB data outputted from the color camera for measurement, and rgb is a coefficient as a weighting of each of the RGB data. tester. 前記第2光度決定手段は、既知の光度を有する基準光源の光度と前記輝度決定手段によって決定される輝度との間に予め定められている条件に基づいて前記ヘッドライトの光度を決定する請求項28乃至38の内のいずれか1項に記載したカラーヘッドライトテスター。   The second light intensity determination means determines the light intensity of the headlight based on a condition predetermined between the light intensity of a reference light source having a known light intensity and the brightness determined by the brightness determination means. 28. The color headlight tester according to any one of 28 to 38. 更に、少なくともCPUとメモリとを具備するコンピュータシステムから構成されている画像処理装置を有しており、前記rgb係数決定手段と、前記輝度決定手段と、前記第2光度決定手段とは、本カラーヘッドライトテスターの動作を制御するプログラムの一部として前記画像処理装置内に格納されている請求項28乃至39の内のいずれか1項に記載したカラーヘッドライトテスター。   Further, the image processing apparatus comprises a computer system comprising at least a CPU and a memory, and the rgb coefficient determination means, the luminance determination means, and the second light intensity determination means are the main color. 40. A color headlight tester according to any one of claims 28 to 39 stored in the image processing device as part of a program for controlling the operation of a headlight tester. ヘッドライトからの投射光を受け取る光学系、
該光学系を介して該投射光の配光パターンが投影されるスクリーン、
該スクリーン上の該配光パターンを撮像する測定用カラーカメラ、
該測定用カラーカメラの選択した複数個の画素の各々に対して該投射光の色温度に基づいてrgb係数を決定するrgb係数決定手段、
該測定用カラーカメラからのRGBデータを受け取って該rgb係数決定手段によって決定された対応する画素に対するrgb係数を適用して該対応する画素に対する輝度を決定する輝度決定手段、
該複数個の画素に対する輝度を互いに比較して少なくとも一本の水平カットラインと該水平カットラインに対して所定の角度を有する少なくとも一本の斜めカットラインとを判別しそれらのカットラインの交点としてエルボー点を決定するエルボー点決定手段、
を有するカラーヘッドライトテスター。
An optical system that receives the projection light from the headlights,
A screen on which a light distribution pattern of the projection light is projected via the optical system;
A color camera for measurement which captures the light distribution pattern on the screen;
An rgb coefficient determination unit that determines an rgb coefficient based on a color temperature of the projection light for each of a plurality of selected pixels of the measurement color camera;
Luminance determination means for receiving RGB data from the color camera for measurement and applying the rgb coefficient to the corresponding pixel determined by the rgb coefficient determination means to determine the luminance for the corresponding pixel;
The luminances for the plurality of pixels are compared with each other to determine at least one horizontal cut line and at least one oblique cut line having a predetermined angle with respect to the horizontal cut line, and as an intersection point of those cut lines Elbow point determination means for determining an elbow point,
Color headlight tester with.
前記光学系が主レンズを有している請求項41記載のカラーヘッドライトテスター。   42. The color headlight tester according to claim 41, wherein the optical system comprises a main lens. 前記主レンズがフレネルレンズである請求項42記載のカラーヘッドライトテスター。   43. The color headlight tester according to claim 42, wherein the main lens is a Fresnel lens. 前記測定用カラーカメラが複数個の画素を具備するカラーイメージセンサを有している請求項41記載のカラーヘッドライトテスター。   42. A color headlight tester as claimed in claim 41, wherein the measuring color camera comprises a color image sensor comprising a plurality of pixels. 前記カラーイメージセンサがCCDカラーイメージセンサである請求項44記載のカラーヘッドライトテスター。   The color head light tester according to claim 44, wherein the color image sensor is a CCD color image sensor. 前記rgb係数が、CIE標準光源の色温度に基づいて決定された少なくとも1個の基準rgb係数と、該基準rgb係数を修正した少なくとも1個の補正rgb係数と、を包含している請求項41記載のカラーヘッドライトテスター。   42. The method of claim 41, wherein the rgb coefficients include at least one reference rgb coefficient determined based on the color temperature of the CIE standard light source and at least one corrected rgb coefficient that is a modification of the reference rgb coefficient. Color headlight tester described. 前記rgb係数決定手段は、前記カラーイメージセンサの各画素毎にrgb係数を決定する請求項44又は45記載のカラーヘッドライトテスター。   46. The color head light tester according to claim 44, wherein said rgb coefficient determining means determines an rgb coefficient for each pixel of said color image sensor. 前記カラーイメージセンサの複数個の画素が複数個のゾーンに分割されており、前記rgb係数決定手段は、前記ゾーンの一つに対して共通して使用されるrgb係数を決定する請求項44又は45記載のカラーヘッドライトテスター。   The plurality of pixels of the color image sensor are divided into a plurality of zones, and the rgb coefficient determination means determines an rgb coefficient commonly used for one of the zones. 45 color head light tester. 前記rgb係数決定手段は、所定の光度又は色温度別にrgb係数を計算した複数個のテーブルを有しており、前記複数個のテーブルの中から選択してテーブルに従って使用すべきrgb係数を決定する請求項41乃至48の内のいずれか1項に記載したカラーヘッドライトテスター。   The rgb coefficient determination means has a plurality of tables in which rgb coefficients are calculated for each predetermined light intensity or color temperature, and selects from among the plurality of tables and determines rgb coefficients to be used according to the table 49. A color headlight tester as claimed in any of claims 41 to 48. 更に、前記ヘッドライトの光源種別を判定する光源種別判定手段を有しており、前記rgb係数決定手段は、該光源種別の判定に従って適用すべきrgb係数を決定する請求項41記載のカラーヘッドライトテスター。   The color headlight according to claim 41, further comprising a light source type determination unit that determines a light source type of the headlight, wherein the rgb coefficient determination unit determines an rgb coefficient to be applied according to the determination of the light source type. tester. 前記輝度は、CIE・XYZ表色系における三刺激値X,Y,Zにより定義されるXYZ座標のY座標に対応しており、前記輝度決定手段が式Y=r×R+g×G+b×Bにより前記輝度を決定するものであり、尚、RGBは前記測定用カラーカメラから出力されるRGBデータであり且つrgbはRGBデータの夫々の重み付けとしての係数である請求項41乃至50記載のカラーヘッドライトテスター。   The luminance corresponds to Y coordinates of XYZ coordinates defined by tristimulus values X, Y and Z in the CIE · XYZ color system, and the luminance determining unit calculates the luminance by the formula Y = r × R + g × G + b × B. The color headlight according to any of claims 41 to 50, wherein the luminance is determined, and RGB is RGB data output from the color camera for measurement, and rgb is a coefficient as a weighting of each of the RGB data. tester. 更に、少なくともCPUとメモリとを具備するコンピュータシステムから構成されている画像処理装置を有しており、前記rgb係数決定手段と、前記輝度決定手段と、前記エルボー点決定手段とは、本カラーヘッドライトテスターの動作を制御するプログラムの一部として前記画像処理装置内に格納されている請求項41乃至51の内のいずれか1項に記載したカラーヘッドライトテスター。   The image processing apparatus further comprises a computer system comprising at least a CPU and a memory, the rgb coefficient determination means, the luminance determination means, and the elbow point determination means being the main color head. 52. The color head light tester according to any one of claims 41 to 51, which is stored in the image processing apparatus as part of a program for controlling the operation of a light tester. ヘッドライトからの投射光を光学系を介してスクリーン上に投射させ、
該投射光の該スクリーン上の配光パターンを測定用カラーカメラで撮像し、
画像処理装置が該測定用カラーカメラの複数個の画素から該配光パターンに従う複数個のRGBデータを受け取ると共に該測定用カメラの選択した複数個の画素の各々に対して該投射光の色温度に基づいてrgb係数を決定してY=r×R+g×G+b×Bの式に従って該複数個の画素の夫々に対して複数個の輝度Yを決定し、
該複数個の輝度に基づいて該ヘッドライトに対して光軸、光度、エルボー点の内の少なくとも一つを決定する、
ことを包含しているカラー画像処理によるヘッドライトのテスト方法。
Projecting light from the headlights onto the screen through the optical system,
The light distribution pattern on the screen of the projection light is imaged by a color camera for measurement,
The image processing apparatus receives a plurality of RGB data according to the light distribution pattern from the plurality of pixels of the color camera for measurement, and the color temperature of the projection light for each of the plurality of pixels selected by the camera for measurement. And determining a plurality of luminances Y for each of the plurality of pixels according to the equation Y = r × R + g × G + b × B based on
Determining at least one of an optical axis, a luminous intensity, and an elbow point for the headlight based on the plurality of luminances;
Test method of headlight by color image processing that includes.
前記rgb係数を決定する場合に、前記ヘッドライトの色温度を測定するか又は推定し、該測定するか又は推定された色温度に基づいて該rgb係数を決定する請求項53記載の方法。   54. The method of claim 53, wherein determining the rgb coefficient comprises measuring or estimating a color temperature of the headlight and determining the rgb coefficient based on the measured or estimated color temperature. 前記rgb係数を決定する場合に、前記画像処理装置内に格納されておりCIE標準光源の色温度に基づいて決定された少なくとも1個の基準rgb係数と、該基準rgb係数を修正した少なくとも1個の補正rgb係数とに基づいて前記rgb係数を決定する請求項53の方法。   When determining the rgb coefficient, at least one reference rgb coefficient stored in the image processing device and determined based on the color temperature of the CIE standard light source, and at least one modified rgb coefficient 54. The method of claim 53, wherein the rgb coefficient is determined based on a corrected rgb coefficient of. 前記ヘッドライトの色温度の推定に基づいて前記rgb係数を決定する場合に、前記ヘッドライトの光源種別を判定し、光源種別毎に予め決定されている基本rgb係数を選択する請求項54記載の方法。   The light source type of the headlight is determined when the rgb coefficient is determined based on the estimation of the color temperature of the headlight, and a basic rgb coefficient determined in advance for each light source type is selected. Method. (a)前記基本rgb係数を選択して複数個の輝度Yを決定し、
(b)該複数個の輝度Yに基づいて前記ヘッドライトに対して仮の光度を決定し、
(c)該仮の光度が許容差を超えて該判定した光源種別の光度と異なる場合には、該仮の光度に基づいて新たなrgb係数を選択し、
(d)該新たなrgb係数を使用して複数個の新たな輝度Yを決定し、
(e)該複数個の新たな輝度Yに基づいて前記ヘッドライトに対して再度仮の光度を決定し、
(f)該仮の光度が許容差を超えて該判定した光源種別の光度とことならなくなるまでステップ(c)乃至(e)を繰り替えて実施して前記ヘッドライトに対して最終の光度を決定する、
ことを包含している請求項56記載の方法。
(A) selecting the basic rgb coefficients to determine a plurality of luminances Y;
(B) determining a provisional light intensity for the headlight based on the plurality of luminances Y;
(C) When the temporary light intensity exceeds the tolerance and is different from the light intensity of the determined light source type, a new rgb coefficient is selected based on the temporary light intensity,
(D) determining a plurality of new luminances Y using the new rgb coefficients;
(E) determining the provisional light intensity again for the headlight based on the plurality of new luminances Y,
(F) Repeat steps (c) to (e) until the provisional light intensity exceeds the tolerance and does not differ from the light intensity of the determined light source type to determine the final light intensity for the headlight. Do,
57. A method according to claim 56 comprising.
前記複数個の輝度に基づいて前記ヘッドライトが走行灯モードにある場合の光軸を決定する場合に、前記画像処理装置が、前記複数個の輝度の中で最高輝度を見つけ出して該最高輝度の位置を光軸として決定する請求項53乃至57の内のいずれか1項に記載の方法。   When determining an optical axis when the headlight is in the traveling light mode based on the plurality of luminances, the image processing device finds the highest luminance among the plurality of luminances and determines the highest luminance. 58. A method according to any one of claims 53 to 57, wherein the position is determined as the optical axis. 前記複数個の輝度に基づいて前記ヘッドライトが走行灯モードにある場合の光度を決定する場合に、前記画像処理装置が、前記複数個の輝度の中で最高輝度を見つけ出して予め定められている輝度と光度との関係式によって該最高輝度から対応する光度を決定する請求項53乃至58の内のいずれか1項に記載の方法。   In the case of determining the light intensity when the headlight is in the traveling light mode based on the plurality of luminances, the image processing device finds the highest luminance among the plurality of luminances and is determined in advance. 59. A method according to any one of claims 53 to 58, wherein the corresponding light intensity is determined from the highest brightness according to the relationship between brightness and light intensity. 前記複数個の輝度に基づいて前記ヘッドライトがすれ違い灯モードにある場合の光度を決定する場合に、前記画像処理装置が、前記複数個の輝度の中で前記ヘッドライトの路面照射点に対応する位置の輝度を探し出して予め定められている輝度と光度との関係式によって該探し出された輝度から対応する光度を決定する請求項53乃至57の内のいずれか1項に記載の方法。   The image processing apparatus corresponds to a road surface illumination point of the headlight among the plurality of luminances when determining the light intensity when the headlight is in the low light mode based on the plurality of luminances. 58. A method according to any one of claims 53 to 57, wherein the intensity of the position is sought and the corresponding intensity is determined from the retrieved intensity according to a predetermined relationship between the intensity and the intensity. 前記複数個の輝度に基づいて前記ヘッドライトがすれ違い灯モードにある場合のエルボー点を決定する場合に、前記画像処理装置が、前記複数個の輝度を互いに比較して水平カットラインと該水平カットラインに対して所定の角度を有する斜めカットラインとを探し出し、該水平カットラインと該斜めカットラインとの交点の位置として前記ヘッドライトのエルボー点を決定する請求項53乃至57の内のいずれか1項に記載の方法。   When determining the elbow point when the headlight is in the low light mode based on the plurality of luminances, the image processing device compares the plurality of luminances with each other to form a horizontal cut line and the horizontal cut. 58. The method according to any one of claims 53 to 57, wherein an oblique cut line having a predetermined angle with respect to the line is searched, and an elbow point of the headlight is determined as a position of an intersection of the horizontal cut line and the oblique cut line. Method according to paragraph 1.
JP2014188887A 2014-09-17 2014-09-17 Color headlight tester and test method of headlight by color image processing Active JP6548879B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014188887A JP6548879B2 (en) 2014-09-17 2014-09-17 Color headlight tester and test method of headlight by color image processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014188887A JP6548879B2 (en) 2014-09-17 2014-09-17 Color headlight tester and test method of headlight by color image processing

Publications (2)

Publication Number Publication Date
JP2016061633A JP2016061633A (en) 2016-04-25
JP6548879B2 true JP6548879B2 (en) 2019-07-24

Family

ID=55797538

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014188887A Active JP6548879B2 (en) 2014-09-17 2014-09-17 Color headlight tester and test method of headlight by color image processing

Country Status (1)

Country Link
JP (1) JP6548879B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6818969B2 (en) * 2019-01-17 2021-01-27 三菱電機株式会社 Information processing equipment, information processing methods and information processing programs
CN109889818A (en) * 2019-03-05 2019-06-14 信利光电股份有限公司 A kind of camera module light source test method
CN113030774A (en) * 2019-12-25 2021-06-25 常州星宇车灯股份有限公司 Dynamic time sequence detection device and detection method for steering lamp based on optical fiber color detector
CN115508054B (en) * 2022-09-16 2024-12-13 湖南辰东科技有限公司 Automated optical inspection device, inspection method and inspection system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4948249A (en) * 1987-06-23 1990-08-14 Hopkins Manufacturing Corporation Headlight aiming and light pattern testing apparatus and method
JP4885373B2 (en) * 2001-06-13 2012-02-29 安全自動車株式会社 Method and apparatus for light facing a light receiving part in a headlight tester
US7425695B2 (en) * 2005-08-19 2008-09-16 Scala Design Gmbh Light tester for vehicles, preferably for motor vehicles, with ray selection unit consisting of perforated plates spaced at different spacings from one another
JP2009132230A (en) * 2007-11-29 2009-06-18 Omron Corp Headlamp light distribution control device
JP5820152B2 (en) * 2011-06-15 2015-11-24 安全自動車株式会社 Headlight tester facing method and apparatus
JP5847450B2 (en) * 2011-06-16 2016-01-20 安全自動車株式会社 Color image processing type headlight tester

Also Published As

Publication number Publication date
JP2016061633A (en) 2016-04-25

Similar Documents

Publication Publication Date Title
CN101770646B (en) Edge detection method based on Bayer RGB images
JP6548879B2 (en) Color headlight tester and test method of headlight by color image processing
KR101284268B1 (en) Color lighting control method for improving image quality of vision system
JP6570816B2 (en) Color headlight tester and light / dark branch line search method
CN102450005A (en) Calibration target detection apparatus, calibration target detecting method for detecting calibration target, and program for calibration target detection apparatus
US20090046922A1 (en) Surface Inspecting Apparatus
KR101630596B1 (en) Photographing apparatus for bottom of car and operating method thereof
JP2010532018A (en) Multicolor autofocus device and method
CN105976753A (en) Abnormal light point detection and compensation method for correction of LED display device
US8988672B2 (en) Headlamp aiming using high-dynamic range camera
US20110058031A1 (en) Image processing measuring apparatus and image processing measurement method
US10724920B2 (en) Method of analyzing a light distribution of a vehicle headlight
US7899239B2 (en) Inspection method of bonded status of ball in wire bonding
JP5847450B2 (en) Color image processing type headlight tester
JP6385768B2 (en) Headlight tester and its facing method
KR102014171B1 (en) Apparatus and method for inspecting color mix defect of OLED
JP4239031B2 (en) Elbow point detection method in the optical axis adjustment method of downward headlights
JP6385767B2 (en) Color headlight tester that can determine the type of light source
CN106791736B (en) Trapezoidal correction method and projector
KR101767174B1 (en) The pattern search method in controlling a mixed color light source for improving quality of wide images
JP5590387B2 (en) Color target position determination device
KR101517554B1 (en) Control method for color lighting of vision system by conjugate gradient algorithm
KR101841528B1 (en) A method for controlling a mixed color light source for improving quality of wide images
CN109060309B (en) Color difference optimal resolution color matching instrument and testing method thereof
WO2012023370A1 (en) Target location determination device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170807

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180420

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180515

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20180704

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180910

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190212

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20190410

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190521

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20190604

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190626

R150 Certificate of patent or registration of utility model

Ref document number: 6548879

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250