JP5056931B2 - Vehicle color determination device, vehicle color determination system, and vehicle color determination method - Google Patents

Vehicle color determination device, vehicle color determination system, and vehicle color determination method Download PDF

Info

Publication number
JP5056931B2
JP5056931B2 JP2010231905A JP2010231905A JP5056931B2 JP 5056931 B2 JP5056931 B2 JP 5056931B2 JP 2010231905 A JP2010231905 A JP 2010231905A JP 2010231905 A JP2010231905 A JP 2010231905A JP 5056931 B2 JP5056931 B2 JP 5056931B2
Authority
JP
Japan
Prior art keywords
vehicle
color
captured image
color determination
plate
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.)
Expired - Fee Related
Application number
JP2010231905A
Other languages
Japanese (ja)
Other versions
JP2011018380A (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.)
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Electric Industries Ltd
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 Sumitomo Electric Industries Ltd filed Critical Sumitomo Electric Industries Ltd
Priority to JP2010231905A priority Critical patent/JP5056931B2/en
Publication of JP2011018380A publication Critical patent/JP2011018380A/en
Application granted granted Critical
Publication of JP5056931B2 publication Critical patent/JP5056931B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、道路を走行する車両を撮像して得られた撮像画像に基づいて車両の色を判定する車色判定装置、該車色判定装置を備える車色判定システム及び車色判定方法に関する。   The present invention relates to a vehicle color determination device that determines a color of a vehicle based on a captured image obtained by imaging a vehicle traveling on a road, a vehicle color determination system including the vehicle color determination device, and a vehicle color determination method.

道路を走行する車両のナンバープレート(車番)を複数の地点で識別し、識別したナンバープレートを照合することにより、所定の地点間を走行するのに要する旅行時間を求めるための技術が開発されている。   A technology has been developed to determine the travel time required to travel between predetermined points by identifying the number plates (vehicle numbers) of vehicles traveling on the road at multiple points and collating the identified number plates. ing.

一方で、ナンバープレートの曲がり又は汚れなどにより、一部文字を認識することができないという課題があった。そこで、道路上に設置したカメラからのカラー画像データを取得し、取得したカラー画像データから車両のボンネットなどの車両の色を判別する判別エリアを抽出し、抽出した判別エリアの色を識別することにより車両の色を判別する車色判別装置が開示されている(特許文献1参照)。   On the other hand, there has been a problem that some characters cannot be recognized due to bending or dirt of the license plate. Therefore, color image data from a camera installed on the road is acquired, a discrimination area for discriminating the color of the vehicle such as a vehicle bonnet is extracted from the obtained color image data, and the color of the extracted discrimination area is identified Discloses a vehicle color discrimination device that discriminates the color of a vehicle (see Patent Document 1).

特開2000−222673号公報JP 2000-222673 A

しかしながら、特許文献1の技術は、ナンバープレートの文字情報が一部認識できない場合を想定して文字情報とは異なる車両の色を識別するものであり、ナンバープレートの文字情報と車両の色の両者を識別するためには、高解像度であって、視野が広くかつカラー画像を取得することができるカメラを必要とする。しかし、このようなカメラは高価であり、道路の複数の地点にこのようなカメラを多数設置することは現実的ではない。また、画像データから車両のボンネットなどの判別エリアを抽出する場合、誤ってフロントウィンドを抽出するおそれもあり、精度よく車両の色を識別する方法が望まれていた。   However, the technique of Patent Document 1 identifies a color of a vehicle different from the character information on the assumption that some of the character information of the license plate cannot be recognized. Both the character information of the license plate and the color of the vehicle Is required to have a high-resolution camera with a wide field of view and a color image. However, such a camera is expensive, and it is not realistic to install many such cameras at a plurality of points on the road. Further, when a discrimination area such as a hood of a vehicle is extracted from image data, there is a possibility that a front window may be erroneously extracted, and a method for accurately identifying the color of a vehicle has been desired.

本発明は、斯かる事情に鑑みてなされたものであり、低コストで精度良く車両の色を判定することができる車色判定装置、該車色判定装置を備える車色判定システム及び車色判定方法を提供することを目的とする。   The present invention has been made in view of such circumstances, and is a vehicle color determination device that can accurately determine the color of a vehicle at low cost, a vehicle color determination system including the vehicle color determination device, and a vehicle color determination. It aims to provide a method.

第1発明に係る車色判定装置は、道路を走行する車両を撮像する2つの撮像部それぞれで撮像して得られたモノクロの第1の撮像画像及びカラーの第2の撮像画像に基づいて車両の色を判定する車色判定装置であって、異なる撮像時点の第1の撮像画像それぞれに基づいて車両の特徴部位を検出する特徴部位検出手段と、該特徴部位検出手段で検出した特徴部位の第1の撮像画像上の移動距離を算出する移動距離算出手段と、該移動距離算出手段で算出した移動距離に応じて、車両の色判定のための特定部位の全部又は一部が第2の撮像画像上の所定の判定領域に含まれるように該第2の撮像画像の撮像時点を決定する決定手段と、該決定手段で決定した撮像時点の第2の撮像画像上の前記判定領域の各画素の色成分に基づいて車両の色を判定する車色判定手段とを備えることを特徴とする。   A vehicle color determination device according to a first aspect of the present invention is a vehicle based on a monochrome first captured image and a color second captured image obtained by imaging each of two imaging units that capture a vehicle traveling on a road. A vehicle color determination device for determining the color of a vehicle, characterized by detecting a characteristic part of the vehicle based on each of the first captured images at different imaging points, and of the characteristic part detected by the characteristic part detection unit The movement distance calculation means for calculating the movement distance on the first captured image, and all or a part of the specific part for color determination of the vehicle is the second according to the movement distance calculated by the movement distance calculation means. Determining means for determining an imaging time point of the second captured image so as to be included in a predetermined determination area on the captured image; and each of the determination areas on the second captured image at the imaging time point determined by the determining means The vehicle color is determined based on the color component of the pixel. Characterized in that it comprises a body color determining means for.

第2発明に係る車色判定装置は、第1発明において、前記特徴部位検出手段で検出した特徴部位の第1の撮像画像上の水平位置を算出する水平位置算出手段と、該水平位置算出手段で算出した水平位置に応じて、前記判定領域の第2の撮像画像上の水平位置を決定する水平位置決定手段とを備えることを特徴とする。   According to a second aspect of the present invention, there is provided a vehicle color determination apparatus according to the first aspect, wherein a horizontal position calculation unit that calculates a horizontal position on the first captured image of the feature part detected by the feature part detection unit, and the horizontal position calculation unit And a horizontal position determining means for determining a horizontal position on the second captured image of the determination area according to the horizontal position calculated in (5).

第3発明に係る車色判定装置は、第1発明又は第2発明において、前記特徴部位は、ナンバープレートであることを特徴とする。   The vehicle color determination apparatus according to a third aspect of the present invention is characterized in that, in the first aspect or the second aspect, the characteristic part is a license plate.

第4発明に係る車色判定装置は、第1発明乃至第3発明のいずれか1つにおいて、前記第2の撮像画像の解像度は、前記第1の撮像画像の解像度より小さいことを特徴とする。   The vehicle color determination device according to a fourth aspect of the present invention is characterized in that, in any one of the first to third aspects, the resolution of the second captured image is smaller than the resolution of the first captured image. .

第5発明に係る車色判定システムは、1又は複数の前述の発明のいずれか1つに係る車色判定装置と、該車色判定装置から所定の情報を受信する受信装置とを備える車色判定システムであって、前記車色判定装置は、車両の特徴部位に関する情報及び判定した車色に関する情報を前記受信装置へ送信する送信手段を備えることを特徴とする。   A vehicle color determination system according to a fifth aspect of the present invention includes a vehicle color determination device according to any one of one or more of the above-described inventions, and a reception device that receives predetermined information from the vehicle color determination device. In the determination system, the vehicle color determination device includes a transmission unit that transmits information on a characteristic part of the vehicle and information on the determined vehicle color to the reception device.

第6発明に係る車色判定方法は、道路を走行する車両を撮像する2つの撮像部それぞれで撮像して得られたモノクロの第1の撮像画像及びカラーの第2の撮像画像に基づいて車両の色を判定する車色判定方法であって、異なる撮像時点の第1の撮像画像それぞれに基づいて車両の特徴部位を検出し、検出された特徴部位の第1の撮像画像上の移動距離を算出し、算出された移動距離に応じて、車両の色判定のための特定部位の全部又は一部が第2の撮像画像上の所定の判定領域に含まれるように該第2の撮像画像の撮像時点を決定し、決定された撮像時点の第2の撮像画像上の前記判定領域の各画素の色成分に基づいて車両の色を判定することを特徴とする。   According to a sixth aspect of the present invention, there is provided a vehicle color determination method based on a monochrome first captured image and a color second captured image obtained by imaging each of two imaging units that capture a vehicle traveling on a road. A vehicle color determination method for determining a color of a vehicle, wherein a feature part of a vehicle is detected based on each of first captured images at different imaging points, and a movement distance of the detected feature part on the first captured image is determined. The second captured image is calculated so that all or part of the specific part for determining the color of the vehicle is included in a predetermined determination region on the second captured image according to the calculated moving distance. The imaging time point is determined, and the color of the vehicle is determined based on the color component of each pixel in the determination area on the second captured image at the determined imaging time point.

第1発明及び第6発明にあっては、車色判定装置は、一方の撮像部(第1撮像部)で撮像して得られ、撮像時点が異なるモノクロの第1の撮像画像それぞれに基づいて車両の特徴部位を検出する。車両の特徴部位は、例えば、ナンバープレートである。なお、ナンバープレートに代えて車両の車頭部、車尾部、車両前方又は後方の角部などであってもよい。車両の特徴部位は、例えば、車両が存在しない場合の画像と車両が存在する場合の画像との差に基づいて車両を検出し、検出した車両の画像に基づいて、矩形状のナンバープレート部の切り出し処理を行うことにより検出することができる。車色判定装置は、検出した特徴部位の第1の撮像画像上の移動距離を算出する。例えば、撮像時点がtの第1の撮像画像上の特徴部位の位置と、撮像時点がt+1の第1の撮像画像上の特徴部位の位置との差により移動距離を算出する。車色判定装置は、算出した移動距離に応じて、車両の色判定のための特定部位(例えば、車両のボンネット)の全部又は一部がカラーの第2の撮像画像上の所定の判定領域(例えば、中心付近の領域)に含まれるように第2の撮像画像の撮像時点を決定する。この場合、特徴部位の移動距離と第2の撮像画像の撮像時点(第1の撮像画像の撮像時点からの経過時点)との関係を予め設定しておくことができる。   In the first invention and the sixth invention, the vehicle color determination device is obtained by imaging with one imaging unit (first imaging unit) and is based on each monochrome first captured image with different imaging time points. Detect a characteristic part of the vehicle. The characteristic part of the vehicle is, for example, a license plate. In addition, it may replace with a number plate and the vehicle head part, a vehicle tail part, the vehicle front or back corner | angular part etc. may be sufficient. The characteristic part of the vehicle is detected, for example, based on the difference between the image when the vehicle is not present and the image when the vehicle is present, and based on the detected vehicle image, It can be detected by performing a cut-out process. The vehicle color determination device calculates a movement distance of the detected feature portion on the first captured image. For example, the movement distance is calculated based on the difference between the position of the characteristic part on the first captured image at the imaging time t and the position of the characteristic part on the first captured image at the imaging time t + 1. The vehicle color determination device has a predetermined determination region (second determination image) on a second captured image in which all or a part of a specific part (for example, a hood of the vehicle) for determining the color of the vehicle is colored according to the calculated moving distance. For example, the imaging time point of the second captured image is determined so as to be included in the area near the center. In this case, the relationship between the moving distance of the characteristic part and the imaging time of the second captured image (elapsed time from the imaging time of the first captured image) can be set in advance.

車色判定装置は、決定した撮像時点の第2の撮像画像上の判定領域の各画素の色成分に基づいて車両の色を判定する。例えば、判定領域の各画素の色成分をRGBからHSI(H:色相、S:彩度、I:輝度)に変換し、色相H及び/又は輝度Iに基づいて車両の色を判定することができる。車両の特徴部位の移動距離、すなわち、車両の速度に応じて車両の色を判定するための特定部位が第2の撮像画像の判定領域に重なることにより、従来の方法に比べて精度良く車両の色を判定することができる。また、車両の特徴部位を検出するためのモノクロの第1の撮像画像と車両の色を判定するためのカラーの第2の撮像画像とを用いることにより、従来のように車両の特徴部位を検出するためにカラー画像かつ高解像度の撮像部を用いる必要がなく、例えば、車両の特徴部位の検出には、高解像度、視野が狭くかつモノクロ画像を用い、車両の色判定には、低解像度、視野が広くかつカラー画像を用いることで、装置全体としてのコストを低減することができる。   The vehicle color determination device determines the color of the vehicle based on the color component of each pixel in the determination area on the second captured image at the determined imaging time point. For example, the color component of each pixel in the determination region is converted from RGB to HSI (H: hue, S: saturation, I: luminance), and the color of the vehicle is determined based on the hue H and / or luminance I. it can. Since the specific part for determining the color of the vehicle according to the moving distance of the characteristic part of the vehicle, that is, the speed of the vehicle, overlaps the determination region of the second captured image, the vehicle is more accurately compared with the conventional method. The color can be determined. Further, by using a monochrome first captured image for detecting a vehicle characteristic part and a color second captured image for determining the color of the vehicle, the characteristic part of the vehicle is detected as in the past. For example, it is not necessary to use a color image and a high-resolution imaging unit. By using a color image with a wide field of view, the cost of the entire apparatus can be reduced.

第2発明にあっては、車色判定装置は、検出した特徴部位の第1の撮像画像上の水平位置を算出し、算出した水平位置に応じて、判定領域の第2の撮像画像上の水平位置を決定する。この場合、第1の撮像画像上の特徴部位の水平位置と第2の撮像画像上の判定領域の水平位置との関係を予め設定しておくことができる。これにより、特徴部位の水平位置に応じて第2の撮像画像上での判定領域の水平位置を決定することができ、車両の色を精度良く判定することが可能となる。   In the second invention, the vehicle color determination device calculates a horizontal position on the first captured image of the detected characteristic part, and on the second captured image in the determination area according to the calculated horizontal position. Determine the horizontal position. In this case, the relationship between the horizontal position of the characteristic part on the first captured image and the horizontal position of the determination area on the second captured image can be set in advance. Thereby, the horizontal position of the determination area on the second captured image can be determined according to the horizontal position of the characteristic part, and the color of the vehicle can be determined with high accuracy.

第3発明にあっては、特徴部位は、ナンバープレートである。これにより、車両のナンバープレートと車両の色とを対応付けることができ、仮にナンバープレートの文字の一部を認識することができないような場合でも、車両の色により車両の識別を補完することができ、車両の識別精度を向上させることができる。   In the third invention, the characteristic part is a license plate. As a result, the license plate of the vehicle can be associated with the color of the vehicle, and even if some of the characters on the license plate cannot be recognized, the vehicle identification can be supplemented by the color of the vehicle. The vehicle identification accuracy can be improved.

第4発明にあっては、第2の撮像画像の解像度は、第1の撮像画像の解像度より小さい。これにより、第1の撮像画像は、高解像度、視野が狭くかつモノクロ画像(例えば、白黒画像)とし、第2の撮像画像は、低解像度、視野が広くかつカラー画像とすることにより、高解像度であって、視野が広くかつカラー画像を取得することができる撮像部が必要なく、装置全体としてのコストを低減することができる。   In the fourth invention, the resolution of the second captured image is smaller than the resolution of the first captured image. As a result, the first captured image has a high resolution, a narrow field of view and a monochrome image (for example, a black and white image), and the second captured image has a low resolution, a wide field of view, and a color image. In addition, it is not necessary to have an imaging unit with a wide field of view and capable of acquiring a color image, and the cost of the entire apparatus can be reduced.

第5発明にあっては、車色判定装置は、車両の特徴部位に関する情報(例えば、ナンバープレートの文字情報)及び判定した車色に関する情報を受信装置(例えば、受信機能を備える中央装置、監視装置など)へ送信する。これにより、車両のナンバープレートと車両の色とを対応付けることができ、仮にナンバープレートの文字の一部を認識することができないような場合でも、車両の色により車両の識別を補完することができ、車両の識別精度を向上させることができる。   In the fifth aspect of the invention, the vehicle color determination device receives information related to the characteristic part of the vehicle (for example, character information of the license plate) and information related to the determined vehicle color (for example, a central device having a reception function, monitoring) Device). As a result, the license plate of the vehicle can be associated with the color of the vehicle, and even if some of the characters on the license plate cannot be recognized, the vehicle identification can be supplemented by the color of the vehicle. The vehicle identification accuracy can be improved.

本発明によれば、従来のように車両の特徴部位を検出するためにカラー画像かつ高解像度の撮像部を用いる必要がなく、例えば、車両の特徴部位の検出には、高解像度、視野が狭くかつモノクロ画像を用い、車両の色判定には、低解像度、視野が広くかつカラー画像を用いることで、装置全体としてのコストを低減することができる。   According to the present invention, it is not necessary to use a color image and a high-resolution imaging unit to detect a characteristic part of a vehicle as in the prior art. For example, a high-resolution and a narrow field of view are used for detection of a characteristic part of a vehicle. In addition, for the color determination of the vehicle using a monochrome image, the cost of the entire apparatus can be reduced by using a color image with a low resolution and a wide field of view.

本発明に係る車色判定システムの構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of the vehicle color determination system which concerns on this invention. プレート認識用カメラで撮像したプレート用撮像画像の一例を示す説明図である。It is explanatory drawing which shows an example of the picked-up image for plates imaged with the plate recognition camera. 車体色判定用カメラで撮像した色判定用撮像画像の一例を示す説明図である。It is explanatory drawing which shows an example of the picked-up image for color determination imaged with the vehicle body color determination camera. プレート位置及びその移動距離の一例を示す説明図である。It is explanatory drawing which shows an example of a plate position and its moving distance. 色判定用撮像画像上のプレート位置の一例を示す説明図である。It is explanatory drawing which shows an example of the plate position on the captured image for color determination. 色判定用撮像画像上のプレート位置の算出方法の一例を示す説明図である。It is explanatory drawing which shows an example of the calculation method of the plate position on the picked-up image for color determination. 色判定用撮像画像上のプレート位置の算出方法の一例を示す説明図である。It is explanatory drawing which shows an example of the calculation method of the plate position on the picked-up image for color determination. 色判定用撮像画像上のプレート位置の算出方法の他の例を示す説明図である。It is explanatory drawing which shows the other example of the calculation method of the plate position on the captured image for color determination. 色判定用撮像画像上のプレート位置の算出方法の他の例を示す説明図である。It is explanatory drawing which shows the other example of the calculation method of the plate position on the captured image for color determination. 車体色判定領域の一例を示す説明図である。It is explanatory drawing which shows an example of a vehicle body color determination area | region. 車色判定装置の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of a vehicle color determination apparatus. 車体色判定の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of vehicle body color determination. 実施の形態2の車体色判定領域の特定方法の一例を示す説明図である。FIG. 10 is an explanatory diagram illustrating an example of a method for specifying a vehicle body color determination region according to a second embodiment. 実施の形態2の車色判定装置の処理手順を示すフローチャートである。6 is a flowchart illustrating a processing procedure of the vehicle color determination device according to the second embodiment.

実施の形態1
以下、本発明を実施の形態を示す図面に基づいて説明する。図1は本発明に係る車色判定システムの構成の一例を示すブロック図である。本発明に係る車色判定システムは、車色判定装置100、中央装置300などを備えている。車色判定装置100には、撮像装置200を接続してある。なお、撮像装置200は、車色判定装置100に内蔵する構成であってもよい。
Embodiment 1
Hereinafter, the present invention will be described with reference to the drawings illustrating embodiments. FIG. 1 is a block diagram showing an example of the configuration of a vehicle color determination system according to the present invention. The vehicle color determination system according to the present invention includes a vehicle color determination device 100, a central device 300, and the like. An imaging device 200 is connected to the vehicle color determination device 100. The imaging device 200 may be configured to be built in the vehicle color determination device 100.

撮像装置200は、照明部210、プレート認識用カメラ220、車体色判定用カメラ230などを備えている。照明部210は、複数のLEDを備え、プレート認識用カメラ220で車両を撮像するタイミング(例えば、33msの都度)に併せて近赤外光を、道路を走行する車両に対して照射する。これにより、例えば、夜間においても、プレート認識用カメラ220で車両を撮像してナンバープレート(車番)を認識することができる。   The imaging apparatus 200 includes an illumination unit 210, a plate recognition camera 220, a vehicle body color determination camera 230, and the like. The illumination unit 210 includes a plurality of LEDs, and irradiates the vehicle traveling on the road with near-infrared light at the timing (for example, every 33 ms) when the plate recognition camera 220 images the vehicle. Thereby, for example, even at night, the plate recognition camera 220 can capture the vehicle and recognize the license plate (vehicle number).

プレート認識用カメラ220は、道路を走行する車両を撮像し、撮像して得られた画像データを車色判定装置100へ出力する。プレート認識用カメラ220で撮像して得られるプレート用撮像画像(第1の撮像画像)は、高解像度(例えば、横×縦が1400×1050、1600×1200など)であり、視野(画角)は狭く(例えば、10°〜15°)、白黒画像である。ここで、白黒画像は、白、黒、それらの中間のグレーなどで構成される濃淡画像である。   The plate recognition camera 220 images a vehicle traveling on the road, and outputs image data obtained by the imaging to the vehicle color determination device 100. The plate captured image (first captured image) obtained by capturing with the plate recognition camera 220 has high resolution (for example, horizontal x vertical is 1400 x 1050, 1600 x 1200, etc.), and the field of view (view angle). Is narrow (for example, 10 ° to 15 °) and is a black and white image. Here, the black-and-white image is a grayscale image composed of white, black, gray in between, and the like.

車体色判定用カメラ230は、道路を走行する車両を撮像し、撮像して得られた画像データを車色判定装置100へ出力する。車体色判定用カメラ230で撮像して得られる色判定用撮像画像(第2の撮像画像)は、低解像度(例えば、横×縦が720×480、800×600など)、視野(画角)は広く(例えば、20°〜50°)、カラー画像である。これにより、高解像度であって、視野が広くかつカラー画像を取得することができるカメラ(撮像装置)が必要なく、装置全体としてのコストを低減することができる。   The vehicle color determination camera 230 images a vehicle traveling on the road and outputs image data obtained by the imaging to the vehicle color determination device 100. A color determination captured image (second captured image) obtained by capturing with the vehicle body color determination camera 230 has a low resolution (for example, horizontal × vertical is 720 × 480, 800 × 600, etc.), field of view (view angle). Is a wide (eg, 20 ° -50 °) color image. This eliminates the need for a camera (imaging device) that has a high resolution, a wide field of view, and a color image, and can reduce the cost of the entire device.

プレート認識用カメラ220、車体色判定用カメラ230は撮像装置200に内蔵され、すなわち、同一筐体内に組み込まれ、それぞれのカメラの取り付け位置、レンズの光軸等は、撮像装置200を製造する際に所定の位置に固定される。これにより、撮像装置200を道路脇に設置する場合、プレート認識用カメラ220、車体色判定用カメラ230それぞれの取り付け位置を調整する必要はない。   The plate recognition camera 220 and the vehicle body color determination camera 230 are built in the imaging apparatus 200, that is, incorporated in the same housing, and the mounting position of each camera, the optical axis of the lens, and the like are determined when the imaging apparatus 200 is manufactured. Fixed in place. Thus, when the imaging device 200 is installed on the side of the road, it is not necessary to adjust the attachment positions of the plate recognition camera 220 and the vehicle body color determination camera 230.

図2はプレート認識用カメラ220で撮像したプレート用撮像画像の一例を示す説明図であり、図3は車体色判定用カメラ230で撮像した色判定用撮像画像の一例を示す説明図である。図2に示すように、プレート用撮像画像は、高解像度であり、撮像画像の左上を座標の中心として横軸をxp、縦軸をypで示す。また、図3に示すように、色判定用撮像画像は、プレート用撮像画像の解像度より低解像度であり、撮像画像の左上を座標の中心として横軸をxs、縦軸をysで示す。   FIG. 2 is an explanatory diagram illustrating an example of a plate captured image captured by the plate recognition camera 220. FIG. 3 is an explanatory diagram illustrating an example of a color determination captured image captured by the vehicle body color determination camera 230. As shown in FIG. 2, the plate captured image has a high resolution, and the horizontal axis is represented by xp and the vertical axis is represented by yp with the upper left of the captured image being the center of coordinates. As shown in FIG. 3, the color determination captured image has a resolution lower than the resolution of the plate captured image, and the horizontal axis is represented by xs and the vertical axis is represented by ys with the upper left of the captured image being the center of coordinates.

プレート認識用カメラ220及び車体色判定用カメラ230を撮像装置200内の所定の位置に固定することにより、図2に示すように、ある撮像時刻tにおいて、プレート用撮像画像に車両の前部が映っている場合、撮像時刻tから所定の時間経過した撮像時刻t+Δtにおいては、図3に示すように色判定用撮像画像には、前記車両の全体が映し出されている。   By fixing the plate recognition camera 220 and the vehicle body color determination camera 230 at predetermined positions in the image pickup apparatus 200, as shown in FIG. In the case where the image is shown, at the imaging time t + Δt after a predetermined time has elapsed from the imaging time t, the entire vehicle is shown in the color determination captured image as shown in FIG.

車色判定装置100は、装置内の各部を制御する制御部10、プレート認識用画像入力部11、車体色判定用画像入力部12、車両検出部13、プレート認識部14、プレート位置算出部15、文字認識部16、車体色判定領域特定部17、車体色判定部18、記憶部19、昼夜判定部20、時計21、通信部22などを備えている。   The vehicle color determination apparatus 100 includes a control unit 10 that controls each unit in the apparatus, a plate recognition image input unit 11, a vehicle body color determination image input unit 12, a vehicle detection unit 13, a plate recognition unit 14, and a plate position calculation unit 15. A character recognition unit 16, a vehicle body color determination region specifying unit 17, a vehicle body color determination unit 18, a storage unit 19, a day / night determination unit 20, a clock 21, a communication unit 22, and the like.

プレート認識用画像入力部11は、プレート認識用カメラ220で撮像して得られた画像データを取得し、取得した画像データをフレーム単位に撮像時刻に対応付けて記憶部19に記憶する。   The plate recognition image input unit 11 acquires image data obtained by imaging with the plate recognition camera 220, and stores the acquired image data in the storage unit 19 in association with the imaging time for each frame.

車体色判定用画像入力部12は、車体色判定用カメラ230で撮像して得られた画像データを取得し、取得した画像データをフレーム単位に撮像時刻に対応付けて記憶部19に記憶する。   The vehicle body color determination image input unit 12 acquires image data obtained by imaging with the vehicle body color determination camera 230, and stores the acquired image data in the storage unit 19 in association with the imaging time for each frame.

車両検出部13は、プレート認識用カメラ220で撮像して得られた画像データを記憶部19から取り出し、取り出した画像データに基づいて、車両(車両の一部を含む)を検出する。車両の検出処理としては、例えば、車両が存在しない場合のプレート用撮像画像と車両が存在する場合のプレート用撮像画像との差に基づいて車両を検出することができる。車両検出部13は、検出した車両画像をプレート認識部14へ出力する。なお、車両画像は、プレート用撮像画像から車両の部分を抽出した車両部分のみの画像でもよく、あるいは、プレート用撮像画像の中の車両部分の範囲を特定するものでもよい。   The vehicle detection unit 13 takes out image data obtained by imaging with the plate recognition camera 220 from the storage unit 19 and detects a vehicle (including a part of the vehicle) based on the taken-out image data. As the vehicle detection process, for example, the vehicle can be detected based on the difference between the plate-captured image when the vehicle is not present and the plate-captured image when the vehicle is present. The vehicle detection unit 13 outputs the detected vehicle image to the plate recognition unit 14. Note that the vehicle image may be an image of only the vehicle portion obtained by extracting the vehicle portion from the plate-captured image, or may specify the range of the vehicle portion in the plate-captured image.

プレート認識部14は、検出された車両画像に基づいて、矩形状のナンバープレート部の切り出し処理を行うことによりナンバープレートを認識する。プレート認識部14は、認識したナンバープレートのプレート画像、プレート用撮像画像上のナンバープレートの座標などをプレート位置算出部15、文字認識部16へ出力する。   Based on the detected vehicle image, the plate recognition unit 14 recognizes a license plate by performing a cutting process of a rectangular license plate part. The plate recognizing unit 14 outputs the recognized plate image of the license plate, the coordinates of the license plate on the captured image for plate, and the like to the plate position calculating unit 15 and the character recognizing unit 16.

プレート位置算出部15は、内部に画像メモリを備え、プレート認識部14から出力されたプレート画像のプレート用撮像画像上の座標から、ナンバープレート部の所定の位置(例えば、矩形状のナンバープレート部の上部中央の位置、以下、「プレート位置」という)を算出するとともに、算出したプレート位置の座標(xp、yp)と、そのプレート用撮像画像の撮像時刻とを関連付けて画像メモリに記憶する。なお、プレート位置は、上述の位置に限定されるものではなく、ナンバープレート部の他の箇所であってもよい。   The plate position calculation unit 15 includes an image memory therein, and a predetermined position of the license plate unit (for example, a rectangular license plate unit) from the coordinates on the plate image of the plate image output from the plate recognition unit 14. (Hereinafter referred to as “plate position”), and the calculated coordinates (xp, yp) of the plate position and the imaging time of the captured image for the plate are stored in the image memory in association with each other. In addition, a plate position is not limited to the above-mentioned position, The other location of a license plate part may be sufficient.

プレート位置算出部15は、異なる撮像時刻(例えば、時刻t、時刻t+1)におけるプレート位置の座標に基づいて、時刻t、t+1の間のプレート位置の移動ベクトル(xm、ym)を算出する。   The plate position calculation unit 15 calculates a movement vector (xm, ym) of the plate position between times t and t + 1 based on the coordinates of the plate position at different imaging times (for example, time t and time t + 1).

図4はプレート位置及びその移動距離の一例を示す説明図である。図4に示すように、プレート位置のxp軸方向の移動距離xmは、xm=xp(t+1)−xp(t)となり、プレート位置のyp軸方向の移動距離ymは、ym=yp(t+1)−yp(t)となる。ここで、xp(y)、yp(t)は、それぞれ時刻tにおけるプレート位置の座標xp、座標ypである。プレート用撮像画像上で、プレート位置の縦方向(垂直方向)の移動距離はymで求めることができ、横方向(水平方向)の移動距離はxmで求めることができる。   FIG. 4 is an explanatory view showing an example of the plate position and its moving distance. As shown in FIG. 4, the movement distance xm of the plate position in the xp-axis direction is xm = xp (t + 1) −xp (t), and the movement distance ym of the plate position in the yp-axis direction is ym = yp (t + 1). −yp (t). Here, xp (y) and yp (t) are the plate position coordinate xp and the coordinate yp at time t, respectively. On the plate captured image, the movement distance in the vertical direction (vertical direction) of the plate position can be obtained by ym, and the movement distance in the horizontal direction (horizontal direction) can be obtained by xm.

文字認識部16は、プレート認識部14から出力されたプレート画像に基づいて、ナンバー(車番)の文字を認識する。文字の認識処理は、例えば、プレート画像を二値化した二値化画像と、車番テンプレートである参照画像とを入力とするマッチドフィルタにより、二値化画像と参照画像との類似度を示す相関分布を作成し、ナンバープレートの支局名、分類番号、車種記号、一連番号の文字毎に、相関分布の最大値が示す文字を認識文字として抽出することができる。   The character recognition unit 16 recognizes the character of the number (vehicle number) based on the plate image output from the plate recognition unit 14. The character recognition process indicates, for example, the similarity between the binarized image and the reference image by a matched filter that receives a binarized image obtained by binarizing the plate image and a reference image that is a car number template. A correlation distribution is created, and the character indicated by the maximum value of the correlation distribution can be extracted as a recognized character for each character of the branch name, classification number, vehicle type symbol, and serial number of the license plate.

車体色判定領域特定部17は、プレート位置算出部15が、例えば、撮像時刻t+1におけるプレート用撮像画像で算出したプレート位置の座標(xp、yp)、プレート位置の移動距離(例えば、ym)などに基づいて、撮像時刻t+1から所定の時間経過後の撮像時刻t+nにおける色判定用撮像画像上でのプレート位置の座標(xs、ys)を算出する。   The vehicle body color determination region specifying unit 17 includes, for example, the coordinates (xp, yp) of the plate position calculated by the plate-captured image at the imaging time t + 1, the movement distance (for example, ym) of the plate position, and the like. Based on the above, the coordinates (xs, ys) of the plate position on the color determination captured image at the imaging time t + n after the elapse of a predetermined time from the imaging time t + 1 are calculated.

図5は色判定用撮像画像上のプレート位置の一例を示す説明図であり、図6及び図7は色判定用撮像画像上のプレート位置の算出方法の一例を示す説明図である。図5の例では、撮像時刻t+1においてプレート用撮像画像で特定されたプレート位置に基づいて、撮像時刻がt+nにおける色判定用撮像画像上でプレート位置を特定する様子を示している。   FIG. 5 is an explanatory diagram illustrating an example of a plate position on the color determination captured image, and FIGS. 6 and 7 are explanatory diagrams illustrating an example of a method for calculating the plate position on the color determination captured image. The example of FIG. 5 shows a state in which the plate position is specified on the color determination captured image at the imaging time t + n based on the plate position specified by the plate captured image at the imaging time t + 1.

図6では、プレート用撮像画像でのプレート位置の移動距離ymと色判定用撮像画像でのプレート位置の座標ysとの関係を示している。すなわち、色判定用撮像画像でのプレート位置の座標ysは、プレート用撮像画像でのプレート位置の移動距離ymに応じて求めることができる。なお、図6に示す関係は、予め求めておくことができる。また、色判定用撮像画像でのプレート位置の座標ysを算出する場合、図6に示す関係を演算により求めることもでき、あるいは、移動距離ymと座標ysとの対応付けをLUT等に記憶しておき、移動距離ymを座標ysに変換して求めることもできる。   FIG. 6 shows the relationship between the moving distance ym of the plate position in the plate image and the coordinate ys of the plate position in the color determination image. That is, the coordinate ys of the plate position in the color determination captured image can be obtained according to the movement distance ym of the plate position in the plate captured image. The relationship shown in FIG. 6 can be obtained in advance. When calculating the coordinate ys of the plate position in the color determination captured image, the relationship shown in FIG. 6 can be obtained by calculation, or the correspondence between the movement distance ym and the coordinate ys is stored in the LUT or the like. In addition, the movement distance ym can be obtained by converting it into the coordinate ys.

これにより、所定時間の間(撮像時刻tと撮像時刻t+1との時間差)のプレート位置の移動距離、すなわち、車両の速度に対応させて色判定用撮像画像上でのプレート位置の垂直位置を精度良く求めることができ、結果として、後述する車両の色を判定するための車体色判定領域を、車両の速度に関わらず精度良く特定することが可能となる。   Thus, the plate position moving distance during the predetermined time (the time difference between the imaging time t and the imaging time t + 1), that is, the vertical position of the plate position on the color determination captured image is accurately matched to the vehicle speed. As a result, a vehicle body color determination area for determining the color of the vehicle, which will be described later, can be specified with high accuracy regardless of the speed of the vehicle.

図6の例において、プレート用撮像画像の撮像時刻t+1と、色判定用撮像画像の撮像時刻t+nの撮像時間差(n−1)に応じて、移動距離ymに対応する座標ysを変えることもできる。例えば、撮像時間差が小さい場合には、座標ysを小さくし、撮像時間差が大きくなるに応じて、座標ysを大きくすることができる。これにより、所定時間の間のプレート位置の移動距離、すなわち、車両の速度及び撮像時間差に対応させて色判定用撮像画像上でのプレート位置の垂直位置を精度良く求めることができ、結果として、後述する車両の色を判定するための車体色判定領域を、車両の速度に関わらず精度良く特定することが可能となる。   In the example of FIG. 6, the coordinate ys corresponding to the moving distance ym can be changed according to the imaging time difference (n−1) between the imaging time t + 1 of the plate imaging image and the imaging time t + n of the color determination imaging image. . For example, when the imaging time difference is small, the coordinate ys can be reduced, and the coordinate ys can be increased as the imaging time difference increases. Thereby, it is possible to accurately determine the vertical position of the plate position on the color-determined captured image corresponding to the moving distance of the plate position during a predetermined time, that is, the speed of the vehicle and the imaging time difference. A vehicle body color determination region for determining the color of the vehicle, which will be described later, can be specified with high accuracy regardless of the speed of the vehicle.

図7では、プレート用撮像画像でのプレート位置の座標xpと色判定用撮像画像でのプレート位置の座標xsとの関係を示している。すなわち、色判定用撮像画像でのプレート位置の座標xsは、プレート用撮像画像でのプレート位置の座標xpに応じて求めることができる。なお、図7に示す関係は、予め求めておくことができる。また、色判定用撮像画像でのプレート位置の座標xsを算出する場合、図7に示す関係を演算により求めることもでき、あるいは、xpとxsとの対応付けをLUT等に記憶しておき、座標xpを座標xsに変換して求めることもできる。これにより、色判定用撮像画像上でのプレート位置の水平位置を求めることができ、車体色判定領域を精度良く特定することが可能となる。   FIG. 7 shows the relationship between the coordinate xp of the plate position in the captured image for plate and the coordinate xs of the plate position in the captured image for color determination. That is, the plate position coordinate xs in the color determination captured image can be obtained according to the plate position coordinate xp in the plate captured image. The relationship shown in FIG. 7 can be obtained in advance. When calculating the coordinate xs of the plate position in the color determination captured image, the relationship shown in FIG. 7 can be obtained by calculation, or the association between xp and xs is stored in an LUT or the like. It can also be obtained by converting the coordinate xp to the coordinate xs. Accordingly, the horizontal position of the plate position on the color determination captured image can be obtained, and the vehicle body color determination region can be specified with high accuracy.

図8及び図9は色判定用撮像画像上のプレート位置の算出方法の他の例を示す説明図である。図8では、プレート用撮像画像でのプレート位置の移動距離ymと色判定用撮像画像でのプレート位置の座標ysとの関係を示し、図9では、プレート用撮像画像でのプレート位置の座標xpと色判定用撮像画像でのプレート位置の座標xsとの関係を示している。図6及び図7の例との違いは、例えば、撮像する道路の車線が異なる場合などを想定しおり、移動距離ymが0の場合の座標ysの値、座標xpが0の場合の座標xsの値などが相違する。   8 and 9 are explanatory diagrams showing another example of a method for calculating the plate position on the color determination captured image. FIG. 8 shows the relationship between the movement distance ym of the plate position in the plate image and the coordinate ys of the plate position in the color determination image. In FIG. 9, the plate position coordinate xp in the plate image. And the coordinate xs of the plate position in the color determination captured image are shown. The difference from the example of FIGS. 6 and 7 assumes, for example, a case where the lanes of the road to be imaged are different, and the value of the coordinate ys when the movement distance ym is 0, and the coordinate xs when the coordinate xp is 0. The value is different.

車体色判定領域特定部17は、算出した色判定用撮像画像上でのプレート位置の座標(xs、ys)に基づいて、色判定用撮像画像上の車体色判定領域を特定する。   The vehicle body color determination area specifying unit 17 specifies the vehicle body color determination area on the color determination captured image based on the coordinates (xs, ys) of the plate position on the calculated color determination captured image.

図10は車体色判定領域の一例を示す説明図である。図10に示すように、車体色判定領域は、プレート位置の座標(xs、ys)より所定の画素数(例えば、10〜20画素)だけ上側の領域であって、100画素×100画素で構成される平行四辺形の領域とすることができる。この場合、平行四辺形の辺の傾きは、車両の進行方向又は道路方向に並行となるようにすることができる。なお、車体色判定領域の形状、大きさ、プレート位置からの距離等は、一例であって、これに限定されるものではなく、車両のボンネット又はトランクなど、比較的広い塗色部分に含まれる領域であればよい。   FIG. 10 is an explanatory diagram showing an example of the vehicle body color determination area. As shown in FIG. 10, the vehicle body color determination area is an area that is a predetermined number of pixels (for example, 10 to 20 pixels) above the coordinates (xs, ys) of the plate position, and is configured by 100 pixels × 100 pixels. It can be a parallelogram area. In this case, the inclination of the sides of the parallelogram can be parallel to the traveling direction of the vehicle or the road direction. It should be noted that the shape, size, distance from the plate position, etc. of the vehicle body color determination area are merely examples, and are not limited to these, and are included in a relatively wide paint color portion such as a vehicle hood or trunk. Any area may be used.

プレート用撮像画像の撮像時刻から所定の時間経過した撮像時刻の色判定用撮像画像を用いることにより、色判定用撮像画像上で車両のプレート位置は中心付近に移動する。これにより、車両色判定領域を色判定用撮像画像上で確保することができるため、設置場所でのカメラの設置条件の調整をする必要がなくなる。   By using the color determination captured image at a capturing time after a predetermined time has elapsed from the image capturing time of the plate captured image, the plate position of the vehicle moves to the vicinity of the center on the color determining captured image. As a result, the vehicle color determination region can be secured on the color determination captured image, so that it is not necessary to adjust the camera installation conditions at the installation location.

車体色判定部18は、特定された車体色判定領域の画素値を、例えば、RGBからHSI(H:色相、S:彩度、I:輝度)に変換し、彩度Sの値に応じて、有彩色か無彩色かを判定するとともに、色相H及び/又は輝度Iに基づいて車両の色を判定する。判定する色の種類は、適宜決定することができるが、例えば、色相Hの値に応じて、赤、黄、緑、水、青、紫などに区分することができ、また、輝度Iの値に応じて、白、灰、黒などに区分することができる。   The vehicle body color determination unit 18 converts the pixel value of the specified vehicle body color determination region from, for example, RGB to HSI (H: hue, S: saturation, I: luminance), and according to the value of the saturation S. The color of the vehicle is determined based on the hue H and / or the luminance I. The type of color to be determined can be determined as appropriate. For example, according to the value of hue H, it can be classified into red, yellow, green, water, blue, purple, and the value of luminance I. Depending on the situation, it can be divided into white, gray, black, etc.

より具体的には、車体色判定部18は、車体色判定領域の全画素に対して、色相H、輝度Iを求め、画素毎に色を判定し、各色の画素数を集計する。車体色判定部18は、集計した色毎の画素数に基づいて、車体の色を判定する。例えば、画素数が最も多い色を車体の色とすることができる。あるいは、所定の閾値以上の画素数であって、多い順に車体の色の第1候補、第2候補としてもよい。あるいは、所定の閾値以上の画素数のそれぞれの色を混合した色を車体の色と判定してもよい。   More specifically, the vehicle body color determination unit 18 obtains the hue H and the luminance I for all the pixels in the vehicle body color determination region, determines the color for each pixel, and totals the number of pixels of each color. The vehicle body color determination unit 18 determines the color of the vehicle body based on the total number of pixels for each color. For example, the color with the largest number of pixels can be the color of the vehicle body. Or it is good also as the 1st candidate of the color of a vehicle body, and a 2nd candidate in order with the number of pixels more than a predetermined threshold. Or you may determine the color which mixed each color of the pixel number more than a predetermined threshold value as the color of a vehicle body.

車体色判定部18は、後述する昼夜判定部20からの判定結果に応じて、例えば、昼間であれば、有彩色、無彩色を問わず色の判定を行い、夜間であれば、無彩色のみの色の判定を行う。   The vehicle body color determination unit 18 performs color determination regardless of chromatic or achromatic color during daytime, for example, according to the determination result from the day / night determination unit 20 described later, and only achromatic color at night. Judgment of color is performed.

昼夜判定部20は、時計21からの出力(時刻)に応じて、昼夜の別(例えば、昼モードか否か)を判定し、判定結果を車体色判定部18へ出力する。   The day / night determination unit 20 determines whether the day / night is different (for example, whether the mode is the day mode) according to the output (time) from the clock 21, and outputs the determination result to the vehicle body color determination unit 18.

通信部22は、制御部10の制御により、文字認識部16で認識したナンバープレート(車番)も文字情報と、車体色判定部18で判定した車両の色とを関連付けて、中央装置300へ送信する。これにより、車両のナンバープレートと車両の色とを対応付けることができ、仮にナンバープレートの文字の一部を認識することができないような場合でも、車両の色により車両の識別を補完することができ、車両の識別精度を向上させることができる。   Under the control of the control unit 10, the communication unit 22 associates the license plate (vehicle number) recognized by the character recognition unit 16 with the character information and the color of the vehicle determined by the vehicle body color determination unit 18, and sends it to the central device 300. Send. As a result, the license plate of the vehicle can be associated with the color of the vehicle, and even if some of the characters on the license plate cannot be recognized, the vehicle identification can be supplemented by the color of the vehicle. The vehicle identification accuracy can be improved.

次に、車色判定装置100の動作について説明する。図11は車色判定装置100の処理手順を示すフローチャートである。制御部10は、プレート用撮像画像を取得し(S11)、車両を検出する(S12)。制御部10は、車両画像から矩形状のナンバープレート部を抽出することにより、プレートを認識し(S13)、認識したプレートから文字を認識する(S14)。   Next, the operation of the vehicle color determination device 100 will be described. FIG. 11 is a flowchart showing a processing procedure of the vehicle color determination apparatus 100. The control part 10 acquires the picked-up image for plates (S11), and detects a vehicle (S12). The control unit 10 extracts a rectangular license plate portion from the vehicle image, thereby recognizing the plate (S13) and recognizing characters from the recognized plate (S14).

制御部10は、抽出したナンバープレート部の位置に基づいて、プレート位置を算出し(S15)、異なる撮像時刻のプレート用撮像画像上のプレート位置に基づいて、プレート位置の移動距離を算出する(S16)。   The control unit 10 calculates the plate position based on the extracted position of the license plate unit (S15), and calculates the moving distance of the plate position based on the plate position on the plate captured image at different imaging times (S15). S16).

制御部10は、プレート用撮像画像の撮像時刻から所定時間経過後の撮像時刻の色判定用撮像画像を取得し(S17)、色判定用撮像画像上のプレート位置を求めることにより、車体色判定領域を特定する(S18)。制御部10は、車体色を判定する(S19)。なお、車体色の判定処理の詳細は後述する。   The control unit 10 acquires a color determination captured image at an imaging time after a predetermined time has elapsed from the imaging time of the plate captured image (S17), and obtains the plate position on the color determination captured image, thereby determining the body color. An area is specified (S18). The controller 10 determines the vehicle body color (S19). The details of the vehicle body color determination process will be described later.

制御部10は、認識したプレート情報(車番の文字情報)、車体色を関連付けて外部の中央装置へ送信し(S20)、処理終了指示の有無を判定する(S21)。処理終了指示がない場合(S21でNO)、制御部10は、ステップS11以降の処理を続け、処理終了指示があった場合(S21でYES)、処理を終了する。   The control unit 10 associates the recognized plate information (character information of the car number) and the vehicle body color and transmits them to the external central device (S20), and determines whether or not there is a processing end instruction (S21). When there is no process end instruction (NO in S21), the control unit 10 continues the process from step S11, and when there is a process end instruction (YES in S21), the process ends.

図12は車体色判定の処理手順を示すフローチャートである。制御部10は、車体色判定領域の画素値(各画素の色成分)をRGBからHSI(H:色相、S:彩度、I:輝度)に変換し(S191)、彩度Sが所定の閾値(例えば、0.4)より大きいか否かを判定する(S192)。彩度Sが所定の閾値より大きい場合(S192でYES)、制御部10は、有彩色であるとして色相Hを算出し(S193)、彩度Sが所定の閾値より大きくない場合(S192でNO)、無彩色であるとして輝度Iを算出する(S194)。   FIG. 12 is a flowchart showing a processing procedure for vehicle body color determination. The control unit 10 converts the pixel value (color component of each pixel) in the vehicle body color determination region from RGB to HSI (H: hue, S: saturation, I: luminance) (S191), and the saturation S is a predetermined value. It is determined whether it is larger than a threshold value (for example, 0.4) (S192). When the saturation S is greater than the predetermined threshold (YES in S192), the control unit 10 calculates the hue H as a chromatic color (S193), and when the saturation S is not greater than the predetermined threshold (NO in S192). ), The luminance I is calculated as an achromatic color (S194).

制御部10は、色相H又は輝度Iに基づいて、画素の色を判定し(S195)、車体色判定領域のすべての画素の色判定が終了したか否かを判定する(S196)。すべての画素の色判定が終了していない場合(S196でNO)、制御部10は、ステップS192以降の処理を続ける。   The control unit 10 determines the color of the pixel based on the hue H or the luminance I (S195), and determines whether the color determination for all the pixels in the vehicle body color determination region is completed (S196). If the color determination for all the pixels has not been completed (NO in S196), the control unit 10 continues the process from step S192.

すべての画素の色判定が終了した場合(S196でYES)、制御部10は、判定した各色の画素数を集計し(S197)、昼モードか否かを判定する(S198)。昼モードである場合(S198でYES)、制御部10は、有彩色又は無彩色により車体色を判定し(S199)、昼モードでない場合(S198でNO)、無彩色により車体色を判定し(S200)、処理を終了する。   When the color determination of all the pixels is completed (YES in S196), the control unit 10 adds up the determined number of pixels of each color (S197) and determines whether the day mode is set (S198). If it is the daytime mode (YES in S198), the control unit 10 determines the vehicle body color by chromatic or achromatic color (S199), and if it is not the daytime mode (NO in S198), the control unit 10 determines the vehicle body color by the achromatic color ( S200), the process is terminated.

上述のとおり、車両のナンバープレート(特徴部位)の位置を基準として車体色の判定領域を特定することにより、従来の方法に比べて精度良く車両の色を判定することができる。また、車両のプレート位置を検出するためのプレート用撮像画像と車両の色を判定するための色判定用撮像画像とを用いることにより、高解像度であって、視野が広くかつカラー画像を取得することができるカメラが必要なく、装置全体としてのコストを低減することができる。   As described above, by specifying the vehicle body color determination region based on the position of the license plate (characteristic part) of the vehicle, the color of the vehicle can be determined with higher accuracy than in the conventional method. Further, by using a plate-captured image for detecting the plate position of the vehicle and a color-determined captured image for determining the color of the vehicle, a color image having a high resolution and a wide field of view is obtained. This eliminates the need for a camera capable of reducing the overall cost of the apparatus.

実施の形態2
上述の実施の形態1では、撮像時刻t+1におけるプレート用撮像画像で算出したプレート位置の座標(xp、yp)、プレート位置の移動距離(例えば、ym)などに基づいて、撮像時刻t+1から所定の時間経過後の撮像時刻t+nにおける色判定用撮像画像上でのプレート位置の座標(xs、ys)を算出する構成であったが、プレート用撮像画像の撮像時刻と色判定用撮像画像の撮像時刻との関係は、これに限定されるものではない。例えば、プレート用撮像画像で算出したプレート位置の座標(xp、yp)、プレート位置の移動距離(例えば、ym)などに基づいて、色判定用撮像画像の撮像時刻を決定することもできる。
Embodiment 2
In the first embodiment described above, a predetermined position from the imaging time t + 1 is determined based on the coordinates (xp, yp) of the plate position calculated from the captured image for the plate at the imaging time t + 1, the movement distance (for example, ym) of the plate position, and the like. Although the coordinates (xs, ys) of the plate position on the color determination captured image at the imaging time t + n after the lapse of time have been calculated, the imaging time of the plate captured image and the imaging time of the color determination captured image The relationship with is not limited to this. For example, the imaging time of the color determination captured image can be determined based on the coordinates (xp, yp) of the plate position calculated from the captured image for plate, the movement distance (for example, ym) of the plate position, and the like.

図13は実施の形態2の車体色判定領域の特定方法の一例を示す説明図である。図13に示すように、撮像時刻t+1におけるプレート用撮像画像で算出したプレート位置の座標(xp、yp)、プレート位置の移動距離(例えば、ym)などに基づいて、制御部10は、色判定用撮像画像の撮像時刻t+mを決定する。すなわち、車両の色判定のための特定部位(例えば、車両のボンネット、トランクなど)の全部又は一部が色判定用撮像画像の所定の車体色判定領域(例えば、中心付近の領域)に含まれるように撮像時刻t+mを決定する。なお、この場合、プレート位置の移動距離、プレート位置の座標(xp、yp)と色判定用撮像画像の撮像時刻t+m(プレート用撮像画像の撮像時刻t+1からの経過時間)との関係を予め設定しておくことができる。   FIG. 13 is an explanatory diagram illustrating an example of a method for specifying a vehicle body color determination region according to the second embodiment. As illustrated in FIG. 13, the control unit 10 determines the color based on the coordinates (xp, yp) of the plate position calculated from the captured image for the plate at the imaging time t + 1, the movement distance (for example, ym) of the plate position, and the like. The imaging time t + m of the captured image is determined. That is, all or a part of a specific part for determining the color of the vehicle (for example, a vehicle hood, trunk, etc.) is included in a predetermined vehicle color determination region (for example, a region near the center) of the color determination captured image. Thus, the imaging time t + m is determined. In this case, the relationship between the movement distance of the plate position, the coordinates (xp, yp) of the plate position and the imaging time t + m of the color determination captured image (the elapsed time from the imaging time t + 1 of the captured image for plate) is set in advance. Can be kept.

また、プレート用撮像画像上のプレート位置の座標xp(水平位置)に応じて、車体色判定領域の色判定用撮像画像上の水平位置を決定することもできる。この場合、プレート用撮像画像上のプレート位置の座標xp(水平位置)と車体色判定領域の色判定用撮像画像上の水平位置との関係を予め設定しておくことができる。これにより、プレート位置の水平位置に応じて色判定用撮像画像上の車体色判定領域の水平位置を決定することができ、車両の色を精度良く判定することが可能となる。   Further, the horizontal position on the color determination captured image of the vehicle body color determination region can be determined according to the plate position coordinate xp (horizontal position) on the plate captured image. In this case, the relationship between the coordinate xp (horizontal position) of the plate position on the plate image and the horizontal position on the color determination image in the vehicle body color determination area can be set in advance. Accordingly, the horizontal position of the vehicle body color determination region on the color determination captured image can be determined according to the horizontal position of the plate position, and the color of the vehicle can be determined with high accuracy.

図14は実施の形態2の車色判定装置100の処理手順を示すフローチャートである。制御部10は、プレート用撮像画像を取得し(S31)、車両を検出する(S32)。制御部10は、車両画像から矩形状のナンバープレート部を抽出することにより、プレートを認識し(S33)、認識したプレートから文字を認識する(S34)。   FIG. 14 is a flowchart illustrating a processing procedure of the vehicle color determination apparatus 100 according to the second embodiment. The control part 10 acquires the picked-up image for plates (S31), and detects a vehicle (S32). The controller 10 recognizes the plate by extracting a rectangular license plate portion from the vehicle image (S33), and recognizes characters from the recognized plate (S34).

制御部10は、抽出したナンバープレート部の位置に基づいて、プレート位置を算出し(S35)、異なる撮像時刻のプレート用撮像画像上のプレート位置に基づいて、プレート位置の移動距離を算出する(S36)。   The control unit 10 calculates the plate position based on the extracted position of the license plate part (S35), and calculates the movement distance of the plate position based on the plate position on the plate captured image at different imaging times (S35). S36).

制御部10は、プレート位置の移動距離、座標などに基づいて、色判定用撮像画像の撮像時刻を決定し(S37)、決定した撮像時刻の色判定用撮像画像を取得する(S38)。制御部10は、車体色を判定する(S39)。なお、車体色の判定処理は、図12の例と同様である。   The control unit 10 determines the imaging time of the color determination captured image based on the movement distance and coordinates of the plate position (S37), and acquires the color determination captured image at the determined imaging time (S38). The controller 10 determines the vehicle body color (S39). The vehicle body color determination process is the same as in the example of FIG.

制御部10は、認識したプレート情報(車番の文字情報)、車体色を関連付けて外部の中央装置へ送信し(S40)、処理終了指示の有無を判定する(S41)。処理終了指示がない場合(S41でNO)、制御部10は、ステップS31以降の処理を続け、処理終了指示があった場合(S41でYES)、処理を終了する。   The control unit 10 associates the recognized plate information (character information of the car number) and the vehicle body color and transmits them to the external central device (S40), and determines whether or not there is a processing end instruction (S41). When there is no process end instruction (NO in S41), the control unit 10 continues the process after step S31, and when there is a process end instruction (YES in S41), the process ends.

上述のとおり、車両のプレート位置の移動距離、すなわち、車両の速度に応じて車両の色を判定するための特定部位が色判定用撮像画像の所定の車体色判定領域に重なるように、色判定用撮像画像の撮像時刻を決定することにより、従来の方法に比べて精度良く車両の色を判定することができる。また、車両のプレート位置を検出するためのプレート用撮像画像と車両の色を判定するための色判定用撮像画像とを用いることにより、高解像度であって、視野が広くかつカラー画像を取得することができるカメラが必要なく、装置全体としてのコストを低減することができる。   As described above, the color determination is performed so that the specific part for determining the color of the vehicle according to the moving distance of the plate position of the vehicle, that is, the speed of the vehicle overlaps the predetermined vehicle body color determination region of the color determination captured image. By determining the imaging time of the captured image for the vehicle, the color of the vehicle can be determined more accurately than in the conventional method. Further, by using a plate-captured image for detecting the plate position of the vehicle and a color-determined captured image for determining the color of the vehicle, a color image having a high resolution and a wide field of view is obtained. This eliminates the need for a camera capable of reducing the overall cost of the apparatus.

上述の実施の形態では、100画素×100画素の大きさであって平行四辺形状の車体色判定領域を用いる構成であったが、車体色判定領域の大きさ、形状などは固定的なものに限定されるものではない。例えば、プレート用撮像画像又は色判定用撮像画像により車両の大きさを検出し、検出した車両の大きさに応じて車体色判定領域の大きさ、形状、プレート位置からの距離などを変化させることもできる。また、車両の大きさに代えて、車種などを検出するようにしてもよい。   In the above-described embodiment, the size is 100 pixels × 100 pixels and the parallelogram-shaped vehicle body color determination region is used. However, the size and shape of the vehicle body color determination region are fixed. It is not limited. For example, the size of the vehicle is detected from the plate captured image or the color determination captured image, and the size, shape, distance from the plate position, etc. of the vehicle body color determination region is changed according to the detected vehicle size. You can also. Further, the vehicle type or the like may be detected instead of the size of the vehicle.

上述の実施の形態では、道路を走行する車両の前方から車両を撮像する構成であるが、これに限定されるものではなく、車両の後方から撮像する構成であってもよい。この場合には、車体色判定領域は、車両のトランク、屋根などの塗色部分に含まれるようにすればよい。   In the above-described embodiment, the vehicle is imaged from the front of the vehicle traveling on the road. However, the present invention is not limited to this, and may be configured to image from the rear of the vehicle. In this case, the vehicle body color determination region may be included in a paint color portion such as a trunk or a roof of the vehicle.

上述の実施の形態では、車両の前面側のナンバープレートを読み取るようにカメラを設置した場合について記載したが、本発明は、車両の後面側のナンバープレートを読み取るようにカメラを設置した場合にも応用できる。この場合、車両の走行する向きが逆になるため、図6〜図9の例において、直線の傾きは前面側の場合と比べて正負が反転する(すなわち、直線の傾きが負になる)。また、カメラの設置条件等によっては、図6〜図9に例示した直線は上下左右に移動し得る。   In the above-described embodiment, the case where the camera is installed so as to read the license plate on the front side of the vehicle has been described, but the present invention also applies to the case where the camera is installed so as to read the license plate on the rear side of the vehicle. Can be applied. In this case, since the traveling direction of the vehicle is reversed, in the examples of FIGS. 6 to 9, the slope of the straight line is inverted from that of the front side (that is, the slope of the straight line is negative). Moreover, the straight lines illustrated in FIGS. 6 to 9 can move up, down, left, and right depending on the installation conditions of the camera.

開示された実施の形態は、すべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味及び範囲内でのすべての変更が含まれることが意図される。   The disclosed embodiments are to be considered in all respects as illustrative and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

100 車色判定装置
10 制御部
11 プレート認識用画像入力部
12 車体色判定用画像入力部
13 車両検出部
14 プレート認識部
15 プレート位置算出部
16 文字認識部
17 車体色判定領域特定部
18 車体色判定部
19 記憶部
20 昼夜判定部
21 時計
22 通信部
200 撮像装置
210 照明部
220 プレート認識用カメラ
230 車体色判定用カメラ
300 中央装置
DESCRIPTION OF SYMBOLS 100 Car color determination apparatus 10 Control part 11 Image input part for plate recognition 12 Image input part for vehicle body color determination 13 Vehicle detection part 14 Plate recognition part 15 Plate position calculation part 16 Character recognition part 17 Car body color determination area specification part 18 Car body color Determination unit 19 Storage unit 20 Day / night determination unit 21 Clock 22 Communication unit 200 Imaging device 210 Illumination unit 220 Plate recognition camera 230 Car body color determination camera 300 Central device

Claims (6)

道路を走行する車両を撮像する2つの撮像部それぞれで撮像して得られたモノクロの第1の撮像画像及びカラーの第2の撮像画像に基づいて車両の色を判定する車色判定装置であって、
異なる撮像時点の第1の撮像画像それぞれに基づいて車両の特徴部位を検出する特徴部位検出手段と、
該特徴部位検出手段で検出した特徴部位の第1の撮像画像上の移動距離を算出する移動距離算出手段と、
該移動距離算出手段で算出した移動距離に応じて、車両の色判定のための特定部位の全部又は一部が第2の撮像画像上の所定の判定領域に含まれるように該第2の撮像画像の撮像時点を決定する決定手段と、
該決定手段で決定した撮像時点の第2の撮像画像上の前記判定領域の各画素の色成分に基づいて車両の色を判定する車色判定手段とを備えることを特徴とする車色判定装置。
A vehicle color determination device that determines a color of a vehicle based on a monochrome first captured image and a color second captured image obtained by imaging each of two imaging units that capture a vehicle traveling on a road. And
Feature part detection means for detecting a feature part of the vehicle based on each of the first captured images at different imaging points;
A moving distance calculating means for calculating a moving distance on the first captured image of the characteristic part detected by the characteristic part detecting means;
In accordance with the movement distance calculated by the movement distance calculation means, the second imaging so that all or a part of the specific part for determining the color of the vehicle is included in a predetermined determination area on the second imaging image. Determining means for determining an image capturing time;
A vehicle color determination device comprising vehicle color determination means for determining a color of a vehicle based on a color component of each pixel in the determination region on the second captured image at the time of image capture determined by the determination means. .
前記特徴部位検出手段で検出した特徴部位の第1の撮像画像上の水平位置を算出する水平位置算出手段と、
該水平位置算出手段で算出した水平位置に応じて、前記判定領域の第2の撮像画像上の水平位置を決定する水平位置決定手段と
を備えることを特徴とする請求項1に記載の車色判定装置。
Horizontal position calculating means for calculating a horizontal position on the first captured image of the characteristic part detected by the characteristic part detecting means;
2. The vehicle color according to claim 1, further comprising: a horizontal position determining unit that determines a horizontal position on the second captured image of the determination region according to the horizontal position calculated by the horizontal position calculating unit. Judgment device.
前記特徴部位は、ナンバープレートであることを特徴とする請求項1又は請求項2に記載の車色判定装置。   The vehicle color determination device according to claim 1, wherein the characteristic part is a license plate. 前記第2の撮像画像の解像度は、前記第1の撮像画像の解像度より小さいことを特徴とする請求項1乃至請求項3のいずれか1つに記載の車色判定装置。   4. The vehicle color determination device according to claim 1, wherein a resolution of the second captured image is smaller than a resolution of the first captured image. 5. 1又は複数の請求項1乃至請求項4のいずれか1つに記載の車色判定装置と、該車色判定装置から所定の情報を受信する受信装置とを備える車色判定システムであって、
前記車色判定装置は、
車両の特徴部位に関する情報及び判定した車色に関する情報を前記受信装置へ送信する送信手段を備えることを特徴とする車色判定システム。
A vehicle color determination system comprising: the vehicle color determination device according to any one of claims 1 to 4; and a reception device that receives predetermined information from the vehicle color determination device.
The vehicle color determination device
A vehicle color determination system comprising: a transmission unit configured to transmit information regarding a characteristic part of a vehicle and information regarding a determined vehicle color to the receiving device.
道路を走行する車両を撮像する2つの撮像部それぞれで撮像して得られたモノクロの第1の撮像画像及びカラーの第2の撮像画像に基づいて車両の色を判定する車色判定方法であって、
異なる撮像時点の第1の撮像画像それぞれに基づいて車両の特徴部位を検出し、
検出された特徴部位の第1の撮像画像上の移動距離を算出し、
算出された移動距離に応じて、車両の色判定のための特定部位の全部又は一部が第2の撮像画像上の所定の判定領域に含まれるように該第2の撮像画像の撮像時点を決定し、
決定された撮像時点の第2の撮像画像上の前記判定領域の各画素の色成分に基づいて車両の色を判定することを特徴とする車色判定方法。
A vehicle color determination method for determining a color of a vehicle based on a monochrome first captured image and a color second captured image obtained by capturing each of two imaging units that capture a vehicle traveling on a road. And
Detecting a characteristic part of the vehicle based on each of the first captured images at different imaging points;
Calculating the movement distance of the detected feature part on the first captured image;
According to the calculated moving distance, the imaging time point of the second captured image is determined so that all or a part of the specific part for determining the color of the vehicle is included in the predetermined determination region on the second captured image. Decide
A vehicle color determination method, comprising: determining a color of a vehicle based on a color component of each pixel in the determination region on the second captured image at the determined capturing time.
JP2010231905A 2010-10-14 2010-10-14 Vehicle color determination device, vehicle color determination system, and vehicle color determination method Expired - Fee Related JP5056931B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010231905A JP5056931B2 (en) 2010-10-14 2010-10-14 Vehicle color determination device, vehicle color determination system, and vehicle color determination method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010231905A JP5056931B2 (en) 2010-10-14 2010-10-14 Vehicle color determination device, vehicle color determination system, and vehicle color determination method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2007311019A Division JP4706693B2 (en) 2007-11-30 2007-11-30 Vehicle color determination device, vehicle color determination system, and vehicle color determination method

Publications (2)

Publication Number Publication Date
JP2011018380A JP2011018380A (en) 2011-01-27
JP5056931B2 true JP5056931B2 (en) 2012-10-24

Family

ID=43596051

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010231905A Expired - Fee Related JP5056931B2 (en) 2010-10-14 2010-10-14 Vehicle color determination device, vehicle color determination system, and vehicle color determination method

Country Status (1)

Country Link
JP (1) JP5056931B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110110721A (en) * 2019-04-19 2019-08-09 北京停简单信息技术有限公司 Vehicle information recognition method and device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10713499B2 (en) * 2012-04-23 2020-07-14 Conduent Business Services, Llc Real-time video triggering for traffic surveillance and photo enforcement applications using near infrared video acquisition
JP2017062706A (en) * 2015-09-25 2017-03-30 アイシン・エィ・ダブリュ株式会社 Travel support system, travel support method, and computer program

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09222432A (en) * 1996-02-16 1997-08-26 Mitsubishi Electric Corp Device for imaging speeding car
JP4035910B2 (en) * 1999-01-29 2008-01-23 三菱電機株式会社 Car color discrimination device
JP2002329289A (en) * 2001-05-07 2002-11-15 Matsushita Electric Ind Co Ltd Method and device for detecting vehicle
JP4855672B2 (en) * 2004-12-10 2012-01-18 富士通株式会社 Part extraction program
JP2006201817A (en) * 2005-01-17 2006-08-03 Hitachi Ltd Method and device for discriminating vehicle body color
JP4618062B2 (en) * 2005-09-07 2011-01-26 住友電気工業株式会社 Monitoring device, monitoring system, and monitoring method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110110721A (en) * 2019-04-19 2019-08-09 北京停简单信息技术有限公司 Vehicle information recognition method and device

Also Published As

Publication number Publication date
JP2011018380A (en) 2011-01-27

Similar Documents

Publication Publication Date Title
JP4035910B2 (en) Car color discrimination device
CN107392103B (en) Method and device for detecting road lane line and electronic equipment
JP5846872B2 (en) Image processing device
US7957559B2 (en) Apparatus and system for recognizing environment surrounding vehicle
KR101417571B1 (en) Object identification device
JP4437714B2 (en) Lane recognition image processing device
US8050456B2 (en) Vehicle and road sign recognition device
US20090010482A1 (en) Diagrammatizing Apparatus
CN107273788B (en) Imaging system for performing lane detection in a vehicle and vehicle imaging system
JP4863951B2 (en) Traffic light recognition device
CN108197523B (en) Night vehicle detection method and system based on image conversion and contour neighborhood difference
US9807320B2 (en) Operation input device, operation input method, and computer-readable recording medium
KR20120072020A (en) Method and apparatus for detecting run and road information of autonomous driving system
JP4706693B2 (en) Vehicle color determination device, vehicle color determination system, and vehicle color determination method
JP5056931B2 (en) Vehicle color determination device, vehicle color determination system, and vehicle color determination method
JP4936045B2 (en) Vehicle color discrimination device, method and program
JP5166933B2 (en) Vehicle recognition device and vehicle
JP2010286995A (en) Image processing system for vehicle
JP2005285011A (en) Human recognition system and image processing apparatus
JP2007018451A (en) Road boundary line detecting device
JP2001222680A (en) License plate number reader
CN110688876A (en) Lane line detection method and device based on vision
JP6825299B2 (en) Information processing equipment, information processing methods and programs
JP2005242914A (en) Human recognition system and image processor
KR20190137286A (en) Automatic Parking Method for Number Cognition

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101125

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111025

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: 20120703

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120716

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150810

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees