JP2007194802A - Color correcting device and color correcting method - Google Patents
Color correcting device and color correcting method Download PDFInfo
- Publication number
- JP2007194802A JP2007194802A JP2006009757A JP2006009757A JP2007194802A JP 2007194802 A JP2007194802 A JP 2007194802A JP 2006009757 A JP2006009757 A JP 2006009757A JP 2006009757 A JP2006009757 A JP 2006009757A JP 2007194802 A JP2007194802 A JP 2007194802A
- Authority
- JP
- Japan
- Prior art keywords
- color
- source
- area
- information
- unit
- 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.)
- Pending
Links
Images
Landscapes
- Image Processing (AREA)
- Closed-Circuit Television Systems (AREA)
- Image Analysis (AREA)
Abstract
Description
本発明は、複数の撮像装置で撮影された画像に色校正処理を施す色校正処理装置に関し、照明環境の変化等への適応性を向上した色校正処理装置に関するものである。 The present invention relates to a color calibration processing device that performs color calibration processing on images captured by a plurality of imaging devices, and relates to a color calibration processing device that has improved adaptability to changes in an illumination environment.
従来、複数のカメラで撮影した画像にコンピュータで画像処理を施して、人物等のオブジェクトを追跡監視する追跡監視システムが知られている。このような追跡監視システムでは、各カメラの特性、照明環境、設置条件などが違うと、各カメラで撮影した同一のオブジェクト(例えば、人物等)の画像の見え方、特にオブジェクトの色の見え方が、各カメラで異なることとなる。したがって、複数のカメラを用いてオブジェクトの追跡を行うためには、複数カメラ間で異なる色の見え方をする同一のオブジェクトの対応付けを図る、すなわち色の恒常性を維持する必要がある。従来の追跡監視システムでは、オブジェクトの色情報を用いて、複数カメラ間でのオブジェクトの色の校正処理を行うことにより、複数のカメラで撮影した同一のオブジェクトの対応付けが行われている。これにより、複数のカメラ間におけるオブジェクトの対応付けの精度が向上し、複数カメラ間でのオブジェクトの追跡精度の向上が図られている。 2. Description of the Related Art Conventionally, tracking and monitoring systems are known that perform image processing with a computer on images taken by a plurality of cameras to track and monitor objects such as people. In such a tracking and monitoring system, if the characteristics, lighting environment, installation conditions, etc. of each camera are different, how the image of the same object (for example, person) taken by each camera looks, particularly how the color of the object looks However, this is different for each camera. Therefore, in order to track an object using a plurality of cameras, it is necessary to match the same object that looks different colors among the plurality of cameras, that is, to maintain color constancy. In the conventional tracking and monitoring system, the object color information is calibrated between the plurality of cameras using the object color information, thereby associating the same object photographed by the plurality of cameras. As a result, the accuracy of associating objects between a plurality of cameras is improved, and the tracking accuracy of objects between the plurality of cameras is improved.
このような追跡監視システムでは、例えば、照明環境の変化があった場合に、照明環境の変化に応じてオブジェクトの色情報を更新する必要がある。従来、照明環境の変化を検出する方法として、画像の変化を検出するために2つの画像領域の対応するピクセル間の偏差を検出する方法が知られている(例えば、特許文献1参照)。また、照明環境の変化を検出する他の方法として、新たなシーンの始まりを検出するために映像を格納し、映像信号の代表値を用いてシーン変化の検出を実現する方法が知られている(例えば、特許文献2参照)。また、照明環境の変化を検出する他の方法として、多くの画像の特性を基に、個々の画像の特徴ベクトルを作成し、各ベクトルの違いを計算して得られた値(オブジェクトの特徴を持つ値)がそれぞれの画像に対して変化したときシーンの変化を検出する方法が知られている(例えば、特許文献3参照)。
しかしながら、従来の追跡監視システムでは、例えば、追跡対象のオブジェクトが追加されると、それに伴ってオブジェクトの色情報が追加される。この場合、新たに追加されたオブジェクトと同様のオブジェクトの色情報をすでに保持している場合であっても、オブジェクトの追加にともなってオブジェクトの色情報が追加される。このように、色校正処理に不用なオブジェクトの色情報まで追加されると、オブジェクトの色情報が過度に多くなるという問題があった。すなわち、オブジェクトの色情報が増加すると、色校正処理に用いる情報量が多くなるため、色校正処理に要する時間が長くなり、色校正処理の動作も不安定になるという問題があった。 However, in the conventional tracking monitoring system, for example, when an object to be tracked is added, color information of the object is added accordingly. In this case, even if the color information of the same object as the newly added object is already held, the color information of the object is added as the object is added. As described above, when even the color information of an object unnecessary for the color proofing process is added, there is a problem that the color information of the object becomes excessively large. That is, when the color information of the object increases, the amount of information used for the color proofing process increases, so that the time required for the color proofing process becomes long and the operation of the color proofing process becomes unstable.
また、照明環境が変化した場合には、それまで使用していたオブジェクトの色情報が使用できなくなり、その分だけ不用な色情報が増えるという問題があった。そして、照明環境が変化したときには、すぐにその変化に対応して、新しい色情報を入手する必要があるが、従来の照明環境の変化の検出方法では、計算負荷が非常に大きく、リアルタイム処理に適していないという問題があった。 Further, when the lighting environment changes, there is a problem that the color information of the object that has been used until then cannot be used, and unnecessary color information increases accordingly. When the lighting environment changes, it is necessary to obtain new color information immediately in response to the change. However, the conventional detection method of the lighting environment change has a very heavy calculation load, and it is difficult to perform real-time processing. There was a problem that it was not suitable.
本発明は、上記従来の問題を解決するためになされたもので、計算負荷が小さく、照明環境の変化にもリアルタイムで対応することのできる色校正処理装置を提供することを目的とする。 The present invention has been made to solve the above-described conventional problems, and it is an object of the present invention to provide a color proofing processing apparatus that has a small calculation load and can cope with changes in the lighting environment in real time.
本発明の色校正処理装置は、色校正の対象となるソースカラーの色情報と、色校正後のリファレンスカラーの色情報を含むカラーセット情報を記憶するカラーセット情報記憶手段と、前記カラーセットを用いて、複数の撮像装置で撮影された各ソース画像のうち前記ソースカラーと類似範囲内の色を前記リファレンスカラーに校正する色校正手段と、前記各ソース画像から特定のソース領域を選択する領域選択手段と、前記ソース領域を代表する色としてソース領域カラーを決定する領域カラー決定手段と、前記ソース領域カラーを用いて、前記カラーセットのソースカラーを更新するカラーセット更新手段とを備えた構成を有している。 The color calibration processing apparatus of the present invention comprises color set information storage means for storing color information of a source color to be color calibrated, color set information including color information of a reference color after color calibration, and the color set. A color calibrating unit that calibrates a color within a range similar to the source color to the reference color among the source images captured by a plurality of imaging devices, and a region for selecting a specific source region from the source images A configuration comprising: selection means; area color determination means for determining a source area color as a color representative of the source area; and color set update means for updating the source color of the color set using the source area color. have.
この構成により、ソース領域のソース領域カラーを用いて、カラーセットのソースカラーが置き換えられて更新される。したがって、追跡対象のオブジェクトが追加された場合や、照明環境に変化があった場合であっても、色校正処理に不用な情報を保持しなくてすむ。これにより、色校正処理のために保持する情報量が少なくてすみ、計算負荷が軽減される。したがって、色校正処理に要する時間が短くなり、色校正処理の動作が安定する。また、計算負荷が小さいので、照明環境の変化にもリアルタイムで対応できる。 With this configuration, the source color of the color set is replaced and updated using the source area color of the source area. Therefore, even when an object to be tracked is added or when the lighting environment is changed, it is not necessary to hold information unnecessary for the color calibration process. This reduces the amount of information held for the color proofing process and reduces the calculation load. Accordingly, the time required for the color calibration process is shortened, and the operation of the color calibration process is stabilized. In addition, since the calculation load is small, it is possible to deal with changes in the lighting environment in real time.
また、本発明の色校正処理装置では、前記領域選択手段は、前記複数のソース画像から、背景画像中を移動する前景オブジェクト(例えば、人物など)をソースオブジェクトとして抽出するソースオブジェクト抽出手段を備え、前記領域カラー決定手段は、前記ソースオブジェクトの平均色を、前記ソース領域カラーであるオブジェクトカラーとして決定するオブジェクトカラー決定手段を備え、色校正処理装置には、前記ソースオブジェクトと所定のリファレンスオブジェクトが類似するか否かを判定するオブジェクト類似判定手段が備えられ、前記カラーセット更新手段は、前記ソースオブジェクトと前記リファレンスオブジェクトが類似すると判定されたときに、前記ソースオブジェクトのオブジェクトカラーを用いて、前記カラーセットのソースカラーを更新する構成を有している。 In the color proofing processing apparatus of the present invention, the area selecting unit includes a source object extracting unit that extracts, from the plurality of source images, a foreground object (for example, a person) moving in a background image as a source object. The area color determining means includes object color determining means for determining an average color of the source object as an object color that is the source area color, and the color calibration processing apparatus includes the source object and a predetermined reference object. Object similarity determination means for determining whether or not they are similar is provided, and the color set update means uses the object color of the source object when it is determined that the source object and the reference object are similar. Color cell It has a configuration to update the door source color.
この構成により、追跡対象のオブジェクトが追加された場合であっても、ソースオブジェクトがリファレンスオブジェクトと類似するときには、ソースオブジェクトのオブジェクトカラー(ソースオブジェクトの平均色)を用いて、カラーセットのソースカラーが更新され、色校正処理に不用なカラーセットの情報を保持しなくてすむ。これにより、色校正処理のために保持する情報量が少なくてすみ、計算負荷が軽減される。 With this configuration, even when an object to be tracked is added, if the source object is similar to the reference object, the source color of the color set is set using the object color of the source object (the average color of the source object). It is not necessary to retain information on the color set that has been updated and is unnecessary for the color proofing process. This reduces the amount of information held for the color proofing process and reduces the calculation load.
また、本発明の色校正処理装置では、前記オブジェクト類似判定手段は、前記ソースオブジェクトと前記リファレンスオブジェクトの特徴量を比較することにより、前記ソースオブジェクトと前記リファレンスオブジェクトの類似度を判定する構成を有している。 In the color proofing processing apparatus of the present invention, the object similarity determination unit determines the similarity between the source object and the reference object by comparing feature quantities of the source object and the reference object. is doing.
この構成により、ソースオブジェクトとリファレンスオブジェクトの特徴量(例えば、移動速度、大きさ、縦横比など)を用いてオブジェクトの類似度を判定することができ、ソースオブジェクトとリファレンスオブジェクトの対応付けの精度が向上し、ソースオブジェクトの追跡精度が向上する。 With this configuration, it is possible to determine the degree of similarity between objects using feature quantities (for example, moving speed, size, aspect ratio, etc.) of the source object and the reference object, and the accuracy of the association between the source object and the reference object is improved. Improve the tracking accuracy of the source object.
また、本発明の色校正処理装置では、前記カラーセット更新手段は、前記ソースオブジェクトのオブジェクトカラーと前記カラーセットのソースカラーの重み付け平均処理で得られた重み付け平均色を、更新用のソースカラーとして用いる構成を有している。 In the color proofing processing apparatus of the present invention, the color set updating means uses the weighted average color obtained by the weighted average processing of the object color of the source object and the source color of the color set as a source color for update. It has the structure to be used.
この構成により、ソースオブジェクトのオブジェクトカラーとカラーセットのソースカラーとの色の違いが大きい場合あっても、重み付けの度合いを調整することにより、更新用のソースカラーの色を調整することができる。 With this configuration, even when the color difference between the object color of the source object and the source color of the color set is large, the color of the source color for update can be adjusted by adjusting the degree of weighting.
また、本発明の色校正処理装置では、前記カラーセット情報記憶手段には、前記ソースカラーの色情報を獲得した領域情報を含むカラーセット情報が記憶され、前記領域選択手段は、前記複数のソース画像から背景画像を獲得する背景画像獲得手段と、前記背景画像から、前記ソースカラーの領域情報に対応する対応領域(例えば、街路樹や道路など)を探索する対応領域探索手段を備え、前記領域カラー決定手段は、前記対応領域の平均色を、前記ソース領域カラーである対応領域カラーとして決定する対応領域カラー決定手段を備え、色校正処理装置には、前記対応領域カラーに基づいて、前記ソース画像における照明環境の変化を検出する照明変化検出手段が備えられ、前記カラーセット更新手段は、照明環境に変化があったと判定されたときに、前記対応領域カラーを用いて前記カラーセットのソースカラーを更新する構成を有している。 In the color calibration processing apparatus of the present invention, the color set information storage means stores color set information including area information obtained from the color information of the source color, and the area selection means includes the plurality of source information. Background image acquisition means for acquiring a background image from an image, and corresponding area search means for searching a corresponding area (for example, a roadside tree or a road) corresponding to the source color area information from the background image. The color determining unit includes a corresponding region color determining unit that determines an average color of the corresponding region as a corresponding region color that is the source region color, and the color calibration processing device includes the source color based on the corresponding region color. Illumination change detection means for detecting a change in the illumination environment in the image is provided, and the color set update means determines that the illumination environment has changed. When the has a structure that updates the source color of the color set by using the corresponding region color.
この構成により、照明環境に変化があった場合であっても、照明環境に変化があったと判定されたときには、対応領域カラーを用いてカラーセットのソースカラーが更新され、色校正処理に不用なカラーセットの情報を保持しなくてすむ。これにより、色校正処理のために保持する情報量が少なくてすみ、計算負荷が軽減される。 With this configuration, even if there is a change in the lighting environment, if it is determined that there is a change in the lighting environment, the source color of the color set is updated using the corresponding area color, which is unnecessary for color calibration processing. No need to keep color set information. This reduces the amount of information held for the color proofing process and reduces the calculation load.
また、本発明の色校正処理装置では、前記照明変化検出手段は、前記対応領域カラーと前記ソースカラーの色距離を算出する色距離算出手段と、前記対応領域カラーと前記ソースカラーの色距離が、所定のしきい色距離よりも大きいときに、照明環境に変化があったと判定する照明変化判定手段とを備えた構成を有している。 In the color proofing processing apparatus of the present invention, the illumination change detecting means includes a color distance calculating means for calculating a color distance between the corresponding area color and the source color, and a color distance between the corresponding area color and the source color. And an illumination change determination means for determining that the illumination environment has changed when the distance is larger than the predetermined threshold color distance.
この構成により、対応領域カラーとソースカラーの色距離(色空間における二つの色座標の間の距離)を用いて照明環境の変化の有無を判定することができ、従来の照明環境の変化の検出方法に比べて計算負荷が軽減され、照明環境の変化等への適応性が向上する。 With this configuration, it is possible to determine whether there is a change in the lighting environment using the color distance between the corresponding area color and the source color (the distance between two color coordinates in the color space), and to detect a change in the conventional lighting environment Compared with the method, the calculation load is reduced, and adaptability to changes in the lighting environment is improved.
また、本発明の色校正処理装置では、前記背景画像獲得手段は、所定の時間間隔で、前記複数のソース画像から前記背景画像を獲得し、前記照明変化検出手段は、前記所定の時間間隔で、前記ソース画像における照明環境の変化を検出する構成を有している。 In the color proofing processing apparatus of the present invention, the background image acquisition unit acquires the background image from the plurality of source images at a predetermined time interval, and the illumination change detection unit has the predetermined time interval. And a configuration for detecting a change in illumination environment in the source image.
この構成により、所定の時間間隔で、ソース画像から背景画像を獲得し、照明環境の変化を検出する。したがって、照明環境が変化する頻度に応じて所定の時間間隔を調整することにより、照明環境の変化の検出計算を行う頻度を調整することができ、常に照明環境の変化を検出する場合に比べて計算負荷が軽減される。 With this configuration, a background image is acquired from the source image at a predetermined time interval, and a change in the lighting environment is detected. Therefore, by adjusting the predetermined time interval according to the frequency of change of the lighting environment, the frequency of performing the detection calculation of the change of the lighting environment can be adjusted, as compared with the case where the change of the lighting environment is always detected. Calculation load is reduced.
また、本発明の色校正処理装置では、前記色校正手段は、前記対応領域を複数の小領域に分割する領域分割手段を備え、前記複数の小領域ごとに、前記対応領域カラーを用いて前記カラーセットのソースカラーを更新する構成を有している。 In the color proofing processing apparatus of the present invention, the color proofing means includes area dividing means for dividing the corresponding area into a plurality of small areas, and the corresponding area color is used for each of the plurality of small areas. It has a configuration for updating the source color of the color set.
この構成により、対応領域(例えば、街路樹)がそれぞれ異なる色を有する複数の小領域(例えば、葉の部分と幹の部分)から構成されているときには、複数の小領域ごとの対応領域カラーを用いてソースカラーを更新でき、対応領域の対応付けの精度が向上する。 With this configuration, when a corresponding area (for example, a roadside tree) is composed of a plurality of small areas having different colors (for example, a leaf portion and a trunk portion), the corresponding area color for each of the plurality of small areas is set. The source color can be updated by using this, and the accuracy of matching the corresponding areas is improved.
本発明の色校正処理方法では、色校正の対象となるソースカラーの色情報と、色校正後のリファレンスカラーの色情報を含むカラーセット情報を記憶し、複数の撮像装置で撮影された各ソース画像から特定のソース領域を選択し、前記ソース領域を代表する色としてソース領域カラーを決定し、前記ソース領域カラーを用いて、前記カラーセットのソースカラーを更新し、前記カラーセットを用いて、前記複数のソース画像のうち前記ソースカラーと類似範囲内の色を前記リファレンスカラーに校正する構成を有している。 In the color calibration processing method of the present invention, the color information of the source color to be color calibrated and the color set information including the color information of the reference color after color calibration are stored, and each source photographed by a plurality of imaging devices Select a specific source region from the image, determine a source region color as a color representative of the source region, update the source color of the color set using the source region color, and use the color set, Of the plurality of source images, a color within a range similar to the source color is calibrated to the reference color.
また、本発明の色校正処理方法では、前記ソース画像から、背景画像中を移動する前景オブジェクトをソースオブジェクトとして抽出し、前記ソースオブジェクトの平均色を、前記ソース領域カラーであるオブジェクトカラーとして決定し、前記ソースオブジェクトと所定のリファレンスオブジェクトが類似するか否かを判定し、前記ソースオブジェクトと前記リファレンスオブジェクトが類似すると判定されたときに、前記ソースオブジェクトのオブジェクトカラーを用いて、前記カラーセットのソースカラーを更新する構成を有している。 In the color proofing processing method of the present invention, a foreground object moving in a background image is extracted as a source object from the source image, and an average color of the source object is determined as an object color that is the source region color. Determining whether or not the source object and a predetermined reference object are similar, and when it is determined that the source object and the reference object are similar, using the object color of the source object, the source of the color set It has a configuration for updating the color.
また、本発明の色校正処理方法では、前記ソースカラーの色情報を獲得した領域情報を含むカラーセット情報を記憶し、前記複数のソース画像から背景画像を獲得し、前記背景画像から、前記ソースカラーの領域情報に対応する対応領域を探索し、前記対応領域の平均色を、前記ソース領域カラーである対応領域カラーとして決定し、前記対応領域カラーに基づいて、前記ソース画像における照明環境の変化を検出し、照明環境に変化があったと判定されたときに、前記対応領域カラーを用いて前記カラーセットのソースカラーを更新する構成を有している。 In the color calibration processing method of the present invention, color set information including area information obtained from the color information of the source color is stored, a background image is obtained from the plurality of source images, and the source image is obtained from the background image. The corresponding area corresponding to the color area information is searched, the average color of the corresponding area is determined as the corresponding area color which is the source area color, and the lighting environment in the source image is changed based on the corresponding area color And when it is determined that the lighting environment has changed, the source color of the color set is updated using the corresponding area color.
本発明は、ソース領域カラーを用いてカラーセットのソースカラーを更新するカラーセット更新手段を設けることにより、色校正処理に不用なカラーセットの情報を保持しなくてすみ、計算負荷が軽減されて、照明環境の変化にリアルタイムで対応できるという効果を有する色校正処理装置を提供することができるものである。 In the present invention, by providing color set update means for updating the source color of the color set using the source area color, it is possible to avoid holding color set information unnecessary for the color proofing process, and the calculation load is reduced. Thus, it is possible to provide a color proofing processing apparatus having an effect of being able to cope with changes in the lighting environment in real time.
以下、本発明の実施の形態の色校正処理装置について、図1〜図9を用いて説明する。本実施の形態では、図2に示すように、二つのカメラで撮影された二つのカメラ画像にコンピュータで画像処理を施して、その二つのカメラ画像間をまたがって移動するオブジェクト(例えば、人物など)を追跡監視する追跡監視システムに用いられる色校正処理装置の場合を例示する。 Hereinafter, a color calibration processing apparatus according to an embodiment of the present invention will be described with reference to FIGS. In the present embodiment, as shown in FIG. 2, two camera images taken by two cameras are subjected to image processing by a computer, and an object that moves between the two camera images (for example, a person or the like) The case of a color proofing processing apparatus used in a tracking and monitoring system that tracks and monitors) is illustrated.
以下の説明では、二つのカメラをカメラAおよびカメラBという。そして、カメラAで撮像された画像をソース画像Aといい、カメラBで撮影された画像をソース画像Bという。本実施の形態では、カメラAとカメラBは互いに離れた位置に配置されている(図2参照)。そして、監視対象である人物は、カメラAのソース画像AとカメラBのソース画像Bをまたがって移動する。 In the following description, the two cameras are referred to as camera A and camera B. An image captured by the camera A is referred to as a source image A, and an image captured by the camera B is referred to as a source image B. In the present embodiment, the camera A and the camera B are arranged at positions separated from each other (see FIG. 2). The person to be monitored moves across the source image A of the camera A and the source image B of the camera B.
本発明の実施の形態の色校正処理装置のブロック図を図1に示す。図1に示すように、色校正処理装置1は、二つのカメラ2(カメラAおよびカメラB)が設置された監視場所に設置される二つのクライアントユニット3(クライアントユニットAおよびクライアントユニットB)と、中央の監視場所に設置される一つのサーバユニット4を備えている。
FIG. 1 shows a block diagram of a color calibration processing apparatus according to an embodiment of the present invention. As shown in FIG. 1, the color
図1に示すように、クライアントユニット3は、ソース画像獲得部5と、領域選択部6と、領域カラー決定部7と、色校正部8と、照明変化検出部9と、カラーセット更新部10と、カラーセット情報記憶部11を備えている。また、サーバユニット4は、オブジェクト類似判定部12と、リファレンスオブジェクト記憶部13を備えている。
As shown in FIG. 1, the
ソース画像獲得部5は、カメラ2(カメラAまたはカメラB)からソース画像(ソース画像Aまたはソース画像B)を獲得する。本実施の形態では、ソース画像獲得部5において、予め設定された所定のフレームレート(例えば、1秒間隔または5秒間隔など)でソース画像の獲得が行われる。
The source
図3は、領域選択部6の構成を示すブロック図である。図3に示すように、領域選択部6は、ソース画像から、背景画像中を移動する前景オブジェクトをソースオブジェクトとして抽出するソースオブジェクト抽出部14を備えている。また、領域選択部6は、ソース画像から、ソースオブジェクトが切り出された後の背景画像を獲得する背景画像獲得部15と、背景画像から、後述するカラーセットのソースカラーの領域情報に対応する対応領域を探索する対応領域探索部16を備えている。本実施の形態では、背景画像の獲得は、所定の時間間隔(例えば、1分間隔または5分間隔)で行われる。このように、領域選択部6は、ソース画像から特定のソース領域(ソースオブジェクト、背景画像の対応領域)を選択できるように構成されている。
FIG. 3 is a block diagram showing a configuration of the
図4は、領域カラー決定部7の構成を示すブロック図である。図4に示すように、領域カラー決定部7は、ソースオブジェクトの平均色を算出し、オブジェクトカラーとして決定するオブジェクトカラー決定部17を備えている。例えば、ソースオブジェクトが様々な色を有している場合には、ソースオブジェクトの平均色は、輝度に対応するグレースケールの色情報となる。あるいは、ソースオブジェクトの平均色は、RGBのカラー情報のそれぞれの平均色を持つ色情報を持ってもよい。また、領域カラー決定部7は、対応領域の平均色を算出し、対応領域カラーとして決定する対応領域カラー決定部18を備えている。例えば、対応領域がほぼ一様な色を有している場合には、対応領域の平均色は、ほぼ一様な色を代表する中心的な色の色情報となる。すなわち、対応領域の平均色は、対応領域の代表色であるともいえる。この対応領域の代表色としては、対応領域の平均色のほかに、例えば、対応領域に含まれる色の最繁値(最も頻繁に現れる色)が用いられてもよい。このように、領域カラー決定部7は、ソース領域(ソースオブジェクト、対応領域)を代表する色として、ソース領域カラー(ソースオブジェクトカラー、対応領域カラー)を決定できるように構成されている。
FIG. 4 is a block diagram showing a configuration of the area
図5は、色校正部8の構成を示すブロック図である。図5に示すように、色校正部8は、ソースオブジェクトのオブジェクト情報(オブジェクトの色情報や位置情報等)が格納されるソースオブジェクト格納部19を備えている。また、色校正部8は、対応領域の対応領域情報(対応領域の色情報や位置情報等)が格納される対応領域格納部20と、対応領域を複数の小領域に分割する領域分割部21を備えている。また、色校正部8は、ソース画像の特定のソース領域(ソースオブジェクト、対応領域または小領域)のうち、ソースカラーと類似範囲内の色を有する領域を探索する類似領域探索部22と、探索された領域の色を、後述するカラーセットのリファレンスカラーに置換する領域色置換部23を備えている。このように、色校正部8は、カラーセット情報記憶部11に記憶されたカラーセット情報を用いて、ソース画像(ソース画像Aまたはソース画像B)のうち、ソースカラーと類似範囲内の色を、リファレンスカラーに校正できるように構成されている。
FIG. 5 is a block diagram showing the configuration of the
カラーセット情報記憶部11には、例えば、図6に示すようなカラーセット情報が記憶されている。カラーセット情報は、色校正の対象となるソースカラーの色情報と、ソースカラーの色情報を獲得したもとの領域を示す領域情報と、色校正に用いるリファレンスカラーの色情報を有している。
For example, color set information as shown in FIG. 6 is stored in the color set
本実施の形態では、例えば、図2に示すソース画像(ソース画像Aおよびソース画像B)のソースオブジェクト(例えば人物)から獲得したカラーセット情報として、グレースケールのソースカラーの色情報(グレー3、グレー2)が記憶されている。リファレンスカラーの色情報(グレー1)は、例えば、リファレンスオブジェクト記憶部13に記憶されている人物のリファレンスオブジェクトから獲得される。なお、この場合、ソースカラーの領域情報は、ソースオブジェクト(例えば人物)がソース画面中を移動し、一定の領域に止まっているとは限らないため、カラーセット情報として記憶されない。
In this embodiment, for example, as color set information acquired from the source object (for example, a person) of the source image (source image A and source image B) shown in FIG. Gray 2) is stored. The color information (gray 1) of the reference color is acquired from, for example, a person reference object stored in the reference
また、本実施の形態では、例えば、図2に示すソース画像(ソース画像Aおよびソース画像B)の背景画像の対応領域の小領域(例えば街路樹の葉の部分)から獲得したカラーセット情報として、緑色のソースカラーの色情報(緑8、緑6)と領域情報(2b、4e)が記憶されている。リファレンスカラーの色情報(緑7)は、例えば、リファレンスオブジェクト記憶部13に記憶されている街路樹のリファレンスオブジェクトの葉の部分から獲得される。また、背景画像の対応領域の小領域(例えば街路樹の幹の部分)から獲得したカラーセット情報として、茶色のソースカラーの色情報(茶2、茶3)と領域情報(2c、4f)が記憶されている。リファレンスカラーの色情報(茶7)は、例えば、リファレンスオブジェクト記憶部13に記憶されている街路樹のリファレンスオブジェクトの幹の部分から獲得される。
In the present embodiment, for example, as color set information acquired from a small region (for example, a leaf portion of a street tree) of a corresponding region of the background image of the source image (source image A and source image B) shown in FIG. , Green source color color information (green 8, green 6) and area information (2b, 4e) are stored. The color information (green 7) of the reference color is acquired from, for example, the leaf portion of the reference object of the roadside tree stored in the reference
図7は、オブジェクト類似判定部12の構成を示すブロック図である。図7に示すように、オブジェクト類似判定部12は、特徴量獲得部24と、特徴量類似判定部25を備えている。特徴量獲得部24は、色校正部8のソースオブジェクト格納部19からソースオブジェクトの特徴量を獲得するとともに、リファレンスオブジェクト記憶部13からリファレンスオブジェクトの特徴量を獲得する。例えば、図2には、リファレンスオブジェクトの例が示される。本実施の形態では、リファレンスオブジェクトとして、例えば、街路樹や人物、道路などのオブジェクトが用いられる。そして、オブジェクトの特徴量として、例えば、オブジェクトの移動速度や大きさ、縦横比などの特徴量が使用される。特徴量類似判定部25は、ソースオブジェクトの特徴量とリファレンスオブジェクトの特徴量を比較することによって、ソースオブジェクトとリファレンスオブジェクトの類似度を判定する。このように、オブジェクト類似判定部12は、ソースオブジェクトとリファレンスオブジェクトが類似するか否かを判定できるように構成されている。
FIG. 7 is a block diagram illustrating a configuration of the object
図8は、照明変化検出部9の構成を示すブロック図である。図8に示すように、照明変化検出部9は、カラーセット情報記憶部11からカラーセット情報を獲得するカラーセット情報獲得部26と、カラーセット情報から対応領域(または小領域)に対応するソースカラーを獲得するソースカラー獲得部27を備えている(図6参照)。また、照明変化検出部9は、対応領域の色情報(対応領域カラー)を獲得する対応領域カラー獲得部34と、上記のソースカラーと対応領域カラーの色距離Dを最小二乗法等の比較手法を用いて計算する色距離計算部29と、色距離Dが所定のしきい色距離Dsよりも大きいときに照明変化があったと判定する照明変化判定部30を備えている。このように、照明変化検出部9は、ソース画像における照明環境の変化を検出できるように構成されている。
FIG. 8 is a block diagram illustrating a configuration of the illumination
本実施の形態では、ソースカラーと対応領域カラーの色距離Dは、例えば、下記の式1によって計算される。ここでは、ソースカラーのHSV色空間における座標を(h1、s1、v1)とし、対応領域カラーのHSV色空間における座標を(h2、s2、v2)とする。
D={(h1−h2)2+(s1−s2)2+(v1−v2)2}0.5 (式1)
In the present embodiment, the color distance D between the source color and the corresponding region color is calculated by, for example, the following
D = {(h1-h2) 2 + (s1-s2) 2 + (v1-v2) 2 } 0.5 (Formula 1)
図9は、カラーセット更新部10の構成を示すブロック図である。図9に示すように、カラーセット更新部10は、カラーセット情報獲得部31と、ソースカラー獲得部32と、ソース領域情報獲得部33と、領域カラー獲得部34と、重み付け計算部35と、ソースカラー置換部36を備えている。
FIG. 9 is a block diagram illustrating a configuration of the color set
カラーセット更新部10では、ソースオブジェクトとリファレンスオブジェクトが類似すると判定されたときに、ソース領域情報獲得部33によって、ソースオブジェクトのオブジェクト情報が獲得され、領域カラー獲得部34によって、ソースオブジェクトのオブジェクトカラーが獲得される。また、カラーセット情報獲得部31で、カラーセット情報が獲得され、ソースカラー獲得部32によって、ソースオブジェクトに対応するソースカラーが獲得される。そして、重み付け計算部35において、オブジェクトカラーとソースカラーの重み付け平均処理が行われ、ソースカラー置換部36において、重み付け平均処理前の古いソースカラーが、重み付け平均処理後の新しいソースカラーに置換される。このようにカラーセット更新部10は、ソースオブジェクトのオブジェクトカラーを用いて、カラーセットのソースカラーを自動的に更新できるように構成されている。
In the color set
本実施の形態では、重み付け計算部35において、オブジェクトカラーとソースカラーの重み付け平均処理が下記の式2を用いて行われる。ここで、Csは、重み付け平均処理を行う前の(更新前の)カラーセットのソースカラーの色情報であり、Coは、オブジェクトカラーの色情報である。また、Aは、重み付け係数(0≦A≦1)である。そして、Cs’が、重み付け平均処理によって得られた(更新後の)カラーセットのソースカラーの色情報である。
Cs’=(1−A)×Cs+A×Co (式2)
In the present embodiment, the
Cs ′ = (1−A) × Cs + A × Co (Formula 2)
また、カラーセット更新部10では、ソース画像において照明環境の変化があったと判定されたときに、ソース領域情報獲得部33によって、対応領域の対応領域情報が獲得され、領域カラー獲得部34によって、対応領域の対応領域カラーが獲得される。また、カラーセット情報獲得部31で、カラーセット情報が獲得され、ソースカラー獲得部32によって、対応領域に対応するソースカラーが獲得される。そして、上記と同様にして、重み付け計算部35において、オブジェクトカラーとソースカラーの重み付け平均処理が行われ、ソースカラー置換部36において、重み付け平均処理前の古いソースカラーが、重み付け平均処理後の新しいソースカラーに置換される。この場合、上記の式2におけるCoとして、オブジェクトカラーの色情報の代わりに、対応領域カラー(対応領域の平均色)が用いられる。このようにカラーセット更新部10は、対応領域の対応領域カラーを用いて、カラーセットのソースカラーを自動的に更新できるように構成されている。
Further, in the color set
以上のように構成された色校正処理装置1について、図10〜図15を用いてその動作を説明する。
The operation of the color
まず、本発明の実施の形態の色校正処理装置1において、ソースオブジェクトのオブジェクトカラーを用いて、色校正処理およびソースカラーの更新が行われるときの動作について、図10〜図12を用いて説明する。
First, in the color
図10は、本実施の形態の色校正処理装置1において、ソースオブジェクトのオブジェクトカラーを用いて、色校正処理およびソースカラーの更新処理を行うときの全体の流れを示すフロー図である。本実施の形態では、クライアントユニット3のソース画像獲得部5は、常時、所定のフレームレートで、カメラ2からソース画像を獲得している。
FIG. 10 is a flowchart showing the overall flow when the color calibration processing and the source color update processing are performed using the object color of the source object in the color
図10に示すように、ソースオブジェクトのオブジェクトカラーを用いて、色校正処理およびソースカラーの更新処理を行うときには、まず、領域選択部6のソースオブジェクト抽出部14において、ソース画像からソースオブジェクトの抽出を行う(S11)。つぎに、領域カラー決定部7のオブジェクトカラー決定部17において、ソースオブジェクトの代表色(例えば、ソースオブジェクトの平均色)をオブジェクトカラーとして決定する(S12)。そして、色校正部8において、ソースオブジェクトのオブジェクトカラーを用いて、色校正処理が行われる(S13)。
As shown in FIG. 10, when performing color calibration processing and source color update processing using the object color of the source object, first, the source
図11は、色校正部8において、ソースオブジェクトのオブジェクトカラーを用いて、色校正処理(S13)を行うときの流れを示すフロー図である。図11に示すように、オブジェクトカラーを用いて色校正を行うときには、まず、ソースオブジェクト格納部19に、ソースオブジェクトのオブジェクト情報が格納される(S131)。そして、類似領域探索部22は、オブジェクト情報からソースオブジェクトのオブジェクトカラーの色情報を獲得するとともに(S132)、カラーセット情報記憶部11からカラーセットのソースカラーの色情報を獲得する(S133)。
FIG. 11 is a flowchart showing a flow when the
そして、類似領域探索部22では、ソースカラーと類似範囲内の色を有するソースオブジェクトの探索が行われる(S134)。ソースカラーと類似範囲内の色を有するソースオブジェクトが見つかった場合には、領域色置換部23において、ソースオブジェクトの色がそのソースカラーに対応するリファレンスカラーに置換され(S135)、色校正処理が終了する。一方、ソースカラーと類似範囲内の色を有するソースオブジェクトが見つからなかった場合には、色の置換を行わずに処理が終了する。
Then, the similar
上記のような色校正処理(S13)が行われた後、サーバユニット4のオブジェクト類似判定部12の特徴量獲得部24は、ソースオブジェクトとリファレンスオブジェクトの特徴量を獲得する(S14)。そして、オブジェクト類似判定部12の特徴類似判定部において、ソースオブジェクトとリファレンスオブジェクトの特徴量に基づいて、ソースオブジェクトとリファレンスオブジェクトの類似判定が行われる(S15)。
After the color proofing process (S13) as described above is performed, the feature
ソースオブジェクトとリファレンスオブジェクトが類似すると判定された場合には、クライアントユニット3のカラーセット更新部10において、ソースオブジェクトのオブジェクトカラーを用いて、ソースカラーの更新処理(S16)が行われる。一方、ソースオブジェクトとリファレンスオブジェクトが類似しないと判定された場合には、ソースカラーの更新を行うことなく処理を終了する。
If it is determined that the source object and the reference object are similar, the color set
図12は、カラーセット更新部10において、ソースオブジェクトのオブジェクトカラーを用いて、ソースカラーの更新処理(S16)を行うときの流れを示すフロー図である。図12に示すように、オブジェクトカラーを用いてソースカラーの更新を行うときには、まず、カラーセット更新部10のソース領域情報獲得部33によって、ソースオブジェクトのオブジェクト情報が獲得される(S161)。そして、領域カラー獲得部34によって、ソースオブジェクトのオブジェクト情報からオブジェクトカラーが獲得される(S162)。また、カラーセット情報獲得部31では、カラーセット情報記憶部11からカラーセット情報が獲得される(S163)。そして、ソースカラー獲得部32において、カラーセット情報からソースオブジェクトに対応するソースカラーが検索され獲得される(S164)。
FIG. 12 is a flowchart showing a flow when the color set
その後、カラーセット更新部10の重み付け計算部35において、オブジェクトカラーとソースカラーの重み付け平均処理が行われ(S165)、オブジェクトカラーとソースカラーから新しいソースカラーが求められる。そして、ソースカラー置換部36において、カラーセットの古いソースカラーが、新しいソースカラーに置換される(S166)。このようにして、カラーセットのソースカラーが自動的に更新される。
Thereafter, the
つぎに、本発明の実施の形態の色校正処理装置1において、対応領域の対応領域カラーを用いて、色校正処理およびソースカラーの更新が行われるときの動作について、図13〜図15を用いて説明する。
Next, in the color
図13は、本実施の形態の色校正処理装置1において、背景画像の対応領域の対応領域カラーを用いて、色校正処理およびソースカラーの更新処理を行うときの全体の流れを示すフロー図である。本実施の形態でも、クライアントユニット3のソース画像獲得部5は、常時、所定のフレームレートで、カメラ2からソース画像を獲得している。
FIG. 13 is a flowchart showing the overall flow when the color calibration processing and the source color update processing are performed using the corresponding area color of the corresponding area of the background image in the color
図13に示すように、対応領域の対応領域カラーを用いて、色校正処理およびソースカラーの更新処理を行うときには、まず、領域選択部6の背景画像獲得部15において、ソース画像から背景画像の獲得が行われる(S21)。この背景画像の獲得は、所定の時間間隔(例えば、1分間隔または5分間隔)で行われる。つぎに、領域選択部6の対応領域探索部16において、背景画像から、カラーセットのソースカラーの領域情報に対応する対応領域の探索が行われる(S22)。そして、領域カラー決定部7の対応領域カラー決定部18において、対応領域の代表色(例えば、対応領域の平均色)が計算され、対応領域カラーとして決定される(S23)。
As shown in FIG. 13, when performing color calibration processing and source color update processing using the corresponding region color of the corresponding region, first, the background
つづいて、照明変化検出部9において、カラーセットのソースカラーと対応領域カラーがそれぞれ獲得されて、カラーセットのソースカラーと対応領域カラーとの色距離Dが色距離計算部29で計算される(S24)。そして、照明変化判定部30において、色距離Dがしきい色距離Dsよりも大きいか否かの判定が行われる(S25)。その判定の結果、色距離Dがしきい色距離Dsよりも大きい場合には、照明環境に変化があったと判定され、ソースカラーの更新処理(S26)が行われる。一方、色距離Dがしきい色距離Ds以下であった場合には、照明環境に変化がなかったと判定され、ソースカラーの更新処理が行われない。
Subsequently, in the illumination
図14は、カラーセット更新部10において、対応領域の対応領域カラーを用いて、ソースカラーの更新処理(S26)を行うときの流れを示すフロー図である。図14に示すように、対応領域カラーを用いてソースカラーの更新を行うときには、まず、カラーセット更新部10のソース領域情報獲得部33によって、対応領域の対応領域情報が獲得される(S261)。そして、領域カラー獲得部34によって、対応領域の対応領域情報から対応領域カラーが獲得される(S262)。また、カラーセット情報獲得部31では、カラーセット情報記憶部11からカラーセット情報が獲得される(S263)。そして、ソースカラー獲得部32において、カラーセット情報から対応領域に対応するソースカラーが検索され獲得される(S264)。
FIG. 14 is a flowchart showing a flow when the color set
その後、カラーセット更新部10の重み付け計算部35において、対応領域カラーとソースカラーの重み付け平均処理が行われ(S265)、対応領域カラーとソースカラーから新しいソースカラーが求められる。そして、ソースカラー置換部36において、カラーセットの古いソースカラーが、新しいソースカラーに置換される(S266)。このようにして、カラーセットのソースカラーが自動的に更新される。
Thereafter, the
上記のように一のカラーセットについて、ソースカラーの更新処理(S26)が完了した後、すべてのカラーセットについて、ソースカラーの更新が完了したか否かの判断が行われる(S27)。その判断の結果、すべてのカラーセットについて、カラーセットの更新が完了していないと判断された場合には、再び、背景画像から、カラーセットのソースカラーの領域情報に対応する対応領域の探索し(S22)、平均色を計算する(S23)。そして、照明環境の変化の有無についての判定を行い(S24〜S25)、残りのカラーセットについてソースカラー更新処理(S26)を繰り返し行う。 After the source color update process (S26) is completed for one color set as described above, it is determined whether the source color update is completed for all color sets (S27). As a result of the determination, if it is determined that the update of the color set has not been completed for all the color sets, the corresponding area corresponding to the area information of the source color of the color set is searched again from the background image. (S22) An average color is calculated (S23). Then, it is determined whether or not there is a change in the lighting environment (S24 to S25), and the source color update process (S26) is repeatedly performed for the remaining color sets.
そして、上記のようにして更新されたカラーセットを用いて、色校正部8において色校正処理が行われる(S28)。
Then, using the color set updated as described above, the
図15は、色校正部8において、対応領域の対応領域カラーを用いて、色校正処理(S28)を行うときの流れを示すフロー図である。図15に示すように、対応領域カラーを用いて色校正を行うときには、まず、対応領域格納部20に、対応領域の対応領域情報が格納される(S281)。
FIG. 15 is a flowchart showing a flow when the
つぎに、色校正部8の領域分割部21において、対応領域を小領域に分割するか否かの判断が行われる(S282)。本実施の形態では、例えば、対応領域が街路樹のような複数の色の領域(例えば、葉の緑色の領域と幹の茶色の領域の二つの領域)から構成されている場合には、対応領域を小領域に分割する必要があると判断され、領域分割の処理が行われる(S283)。一方、対応領域が道路のように単一の色の領域(例えば、舗装面のグレーの領域)から構成されている場合には、対応領域を小領域に分割する必要はないと判断される。
Next, the
その後、色校正部8の領域探索部において、格納された対応領域情報から、対応領域(または小領域)の対応領域カラーの色情報が獲得されるとともに(S284)、カラーセット情報記憶部11から、カラーセットのソースカラーの色情報が獲得される(S285)。そして、類似領域探索部22では、ソースカラーと類似範囲内の色を有する対応領域(または小領域)の探索が行われる(S286)。
Thereafter, in the area search unit of the
その探索の結果、ソースカラーと類似範囲内の色を有する対応領域(または小領域)が見つかった場合には、領域色置換部23において、対応領域(または小領域)の色がそのソースカラーに対応するリファレンスカラーに置換され(S287)、色校正処理が終了する。一方、ソースカラーと類似範囲内の色を有する対応領域(または小領域)が見つからなかった場合には、色の置換を行わずに処理が終了する。
As a result of the search, when a corresponding region (or small region) having a color within the range similar to the source color is found, the region
このような発明の実施の形態の色校正処理装置1によれば、ソース領域カラー(オブジェクトカラー、対応領域カラー)を用いてカラーセットのソースカラーを更新するカラーセット更新部10を設けることにより、色校正処理に不用なカラーセットの情報を保持しなくてすみ、計算負荷が軽減されて、照明環境の変化にリアルタイムで対応することができる。
According to the color
すなわち、本実施の形態では、カラーセット更新部10において、ソース領域(ソースオブジェクト、対応領域)のソース領域カラー(オブジェクトカラー、対応領域カラー)を用いて、カラーセットのソースカラーが置き換えられて更新される。したがって、追跡対象のオブジェクトが追加された場合や、照明環境に変化があった場合であっても、色校正処理に不用なカラーセットの情報を保持しなくてすむ。これにより、色校正処理のために保持する情報量が少なくてすみ、計算負荷が軽減される。したがって、色校正処理に要する時間が短くなり、色校正処理の動作が安定する。また、計算負荷が小さいので、照明環境の変化にもリアルタイムで対応できる。
That is, in the present embodiment, the color set
また、本実施の形態では、追跡対象のオブジェクトが追加された場合であっても、オブジェクト類似判定部12において、ソースオブジェクトがリファレンスオブジェクトと類似するか否かの判定が行われる。そして、ソースオブジェクトとリファレンスオブジェクトが類似すると判定されたときには、カラーセット更新部10において、ソースオブジェクトのオブジェクトカラー(ソースオブジェクトの平均色)を用いて、カラーセットのソースカラーが更新される。これにより、色校正処理に不用なカラーセットの情報を保持しなくてすむ。したがって、色校正処理のために保持する情報量が少なくてすみ、計算負荷が軽減される。
In the present embodiment, even when an object to be tracked is added, the object
また、本実施の形態では、オブジェクト類似判定部12において、ソースオブジェクトとリファレンスオブジェクトの特徴量(例えば、移動速度、大きさ、縦横比など)を用いてオブジェクトの類似度を判定することができ、ソースオブジェクトとリファレンスオブジェクトの対応付けの精度が向上し、ソースオブジェクトの追跡精度が向上する。
Further, in the present embodiment, the object
また、本実施の形態では、カラーセット更新部10において、オブジェクトカラーとソースカラーの重み付け平均処理で得られた重み付け平均色が、更新用のソースカラーとして用いられる。これにより、ソースオブジェクトのオブジェクトカラーとカラーセットのソースカラーとの色の違いが大きい場合あっても、重み付けの度合いを調整することにより、更新用のソースカラーの色を調整することができる。
In the present embodiment, the color set
また、本実施の形態では、照明環境に変化があった場合には、照明変化検出部9において、照明環境に変化があったと判定される。そして、照明環境に変化があったと判定されたときには、カラーセット更新部10において、対応領域カラーを用いてカラーセットのソースカラーが更新される。これにより、色校正処理に不用なカラーセットの情報を保持しなくてすむ。したがって、色校正処理のために保持する情報量が少なくてすみ、計算負荷が軽減される。
In the present embodiment, when there is a change in the illumination environment, the illumination
また、本実施の形態では、照明変化検出部9において、対応領域カラーとソースカラーの色距離(色空間における二つの色座標の間の距離)を用いて照明環境の変化の有無の判定が行われる。これにより、従来の照明環境の変化の検出方法に比べて計算負荷が軽減され、照明環境の変化等への適応性が向上する。
In the present embodiment, the
また、本実施の形態では、領域選択部6の背景画像獲得部15において、所定の時間間隔(例えば、1分間隔または5分間隔)で、ソース画像から背景画像を獲得する。そして、照明変化検出において、その背景画像から照明環境の変化を検出する。したがって、照明環境が変化する頻度に応じて所定の時間間隔を調整することにより、照明環境の変化の検出計算を行う頻度を調整することができ、常に照明環境の変化を検出する場合に比べて計算負荷が軽減される。
In the present embodiment, the background
また、本実施の形態では、色校正部8において、対応領域(例えば、街路樹)がそれぞれ異なる色を有する複数の小領域(例えば、葉の部分と幹の部分)から構成されているときには、複数の小領域ごとの対応領域カラーを用いてソースカラーが更新される。これにより、対応領域の対応付けの精度が向上する。
In the present embodiment, in the
以上、本発明の実施の形態を例示により説明したが、本発明の範囲はこれらに限定されるものではなく、請求項に記載された範囲内において目的に応じて変更・変形することが可能である。 The embodiments of the present invention have been described above by way of example, but the scope of the present invention is not limited to these embodiments, and can be changed or modified according to the purpose within the scope of the claims. is there.
例えば、以上の説明では、撮像装置として、所定のフレームレートで静止画像の撮影を行うカメラ2の場合を例示して説明したが、本発明の範囲はこれに限定されるものではなく、常時、動画画像の撮影を行うカメラ(ビデオカメラ)であってもよい。
For example, in the above description, the case of the
また、以上の説明では、色校正処理装置1が、二つのクライアントユニット3と一つのサーバユニット4で構成された例について説明したが、本発明の範囲はこれに限定されるものではない。例えば、各クライアントユニット3がサーバユニット4の機能(オブジェクト類似判定手段、リファレンスオブジェクト記憶手段)を備えた構成であってもよい。
In the above description, the example in which the color
また、以上の説明では、撮像装置であるカメラ2が二つの場合を例示して説明したが、本発明の範囲はこれに限定されるものではなく、撮像装置が三つ以上の場合であっても同様に実施可能である。
In the above description, the case where there are two
また、以上の説明では、カメラAおよびカメラBの撮影領域が部分的に重複している場合を例示して説明したが(図2参照)、本発明の範囲はこれに限定されるものではなく、カメラAおよびカメラBの撮影領域が重複していない場合であっても同様に実施可能である。 In the above description, the case where the shooting areas of the camera A and the camera B partially overlap has been illustrated (see FIG. 2), but the scope of the present invention is not limited to this. Even if the shooting areas of the camera A and the camera B do not overlap, the same can be implemented.
また、以上の説明では、色校正処理装置1によって自動的にカラーセットの選択および更新が行われる例について説明したが、本発明の範囲はこれに限定されるものではなく、ユーザが手動でカラーセットの選択を行い、そのカラーセットの領域情報を用いてカラーセットの更新が行われても良い。
In the above description, the example in which the color
以上のように、本発明にかかる色校正処理装置は、色校正処理に不用なカラーセットの情報を保持しなくてすみ、計算負荷が軽減されて、照明環境の変化にリアルタイムで対応できるという効果を有し、追跡監視システム等に用いられる色校正処理装置等として有用である。 As described above, the color calibration processing apparatus according to the present invention eliminates the need to hold information on color sets that are not necessary for color calibration processing, reduces the calculation load, and can respond to changes in the lighting environment in real time. And is useful as a color proofing processing device or the like used in a tracking and monitoring system.
1 色校正処理装置
2 カメラ
5 ソース画像獲得部
6 領域選択部(領域選択手段)
7 領域カラー決定部(領域カラー決定手段)
8 色校正部(色校正手段)
9 照明変化検出部(照明変化検出手段)
10 カラーセット更新部(カラーセット更新手段)
11 カラーセット情報記憶部(カラーセット情報記憶手段)
12 オブジェクト類似判定部(オブジェクト類似判定手段)
13 リファレンスオブジェクト記憶部
14 ソースオブジェクト抽出部(ソースオブジェクト抽出手段)
15 背景画像獲得部(背景画像獲得手段)
16 対応領域探索部(対応領域探索手段)
17 オブジェクトカラー決定部(オブジェクトカラー決定手段)
18 対応領域カラー決定部(対応領域カラー決定手段)
21 領域分割部(領域分割手段)
24 特徴量獲得部
25 特徴量類似判定部
29 色距離計算部
30 照明変化判定部
35 重み付け計算部
1 color
7 area color determining unit (area color determining means)
8 Color calibration section (color calibration means)
9 Illumination change detection unit (illumination change detection means)
10 Color set update unit (Color set update means)
11 Color set information storage unit (color set information storage means)
12 Object similarity determination unit (object similarity determination means)
13 Reference
15 Background image acquisition unit (background image acquisition means)
16 Corresponding area search unit (corresponding area searching means)
17 Object color determining unit (object color determining means)
18 Corresponding area color determining unit (corresponding area color determining means)
21 Region dividing unit (region dividing means)
24 feature
Claims (11)
前記カラーセットを用いて、複数の撮像装置で撮影された各ソース画像のうち前記ソースカラーと類似範囲内の色を前記リファレンスカラーに校正する色校正手段と、
前記各ソース画像から特定のソース領域を選択する領域選択手段と、
前記ソース領域を代表する色としてソース領域カラーを決定する領域カラー決定手段と、
前記ソース領域カラーを用いて、前記カラーセットのソースカラーを更新するカラーセット更新手段と、
を備えたことを特徴とする色校正処理装置。 Color set information storage means for storing color information of a source color to be color proofed and color set information including color information of a reference color after color proofing;
Color calibration means for calibrating the reference color to a color within a similar range to the source color among the source images photographed by a plurality of imaging devices using the color set;
Area selection means for selecting a specific source area from each of the source images;
Area color determining means for determining a source area color as a color representative of the source area;
Color set update means for updating a source color of the color set using the source region color;
A color proofing processing apparatus comprising:
前記領域カラー決定手段は、前記ソースオブジェクトの平均色を、前記ソース領域カラーであるオブジェクトカラーとして決定するオブジェクトカラー決定手段を備え、
色校正処理装置には、前記ソースオブジェクトと所定のリファレンスオブジェクトが類似するか否かを判定するオブジェクト類似判定手段が備えられ、
前記カラーセット更新手段は、前記ソースオブジェクトと前記リファレンスオブジェクトが類似すると判定されたときに、前記ソースオブジェクトのオブジェクトカラーを用いて、前記カラーセットのソースカラーを更新することを特徴とする請求項1に記載の色校正処理装置。 The region selection means includes source object extraction means for extracting, as a source object, a foreground object that moves in a background image from the source image,
The area color determining unit includes an object color determining unit that determines an average color of the source object as an object color that is the source area color,
The color proofing processing apparatus includes an object similarity determination unit that determines whether or not the source object and a predetermined reference object are similar.
The color set update means updates the source color of the color set using the object color of the source object when it is determined that the source object and the reference object are similar. The color proofing processing apparatus described in 1.
前記ソースオブジェクトと前記リファレンスオブジェクトの特徴量を比較することにより、前記ソースオブジェクトと前記リファレンスオブジェクトの類似度を判定することを特徴とする請求項2に記載の色校正処理装置。 The object similarity determination means includes
The color proofreading apparatus according to claim 2, wherein the similarity between the source object and the reference object is determined by comparing feature quantities of the source object and the reference object.
前記ソースオブジェクトのオブジェクトカラーと前記カラーセットのソースカラーの重み付け平均処理で得られた重み付け平均色を、更新用のソースカラーとして用いることを特徴とする請求項2または請求項3に記載の色校正処理装置。 The color set update means includes
4. The color proofing according to claim 2, wherein a weighted average color obtained by weighted average processing of the object color of the source object and the source color of the color set is used as a source color for update. Processing equipment.
前記領域選択手段は、前記複数のソース画像から背景画像を獲得する背景画像獲得手段と、前記背景画像から、前記ソースカラーの領域情報に対応する対応領域を探索する対応領域探索手段を備え、
前記領域カラー決定手段は、前記対応領域の平均色を、前記ソース領域カラーである対応領域カラーとして決定する対応領域カラー決定手段を備え、
色校正処理装置には、前記対応領域カラーに基づいて、前記ソース画像における照明環境の変化を検出する照明変化検出手段が備られ、
前記カラーセット更新手段は、照明環境に変化があったと判定されたときに、前記対応領域カラーを用いて前記カラーセットのソースカラーを更新することを特徴とする請求項1に記載の色校正処理装置。 The color set information storage means stores color set information including area information obtained from the color information of the source color,
The area selection means includes background image acquisition means for acquiring a background image from the plurality of source images, and corresponding area search means for searching a corresponding area corresponding to the area information of the source color from the background image,
The area color determining means includes a corresponding area color determining means for determining an average color of the corresponding area as a corresponding area color that is the source area color,
The color calibration processing device is provided with illumination change detection means for detecting a change in illumination environment in the source image based on the corresponding area color,
2. The color calibration process according to claim 1, wherein the color set update unit updates a source color of the color set using the corresponding area color when it is determined that a lighting environment has changed. apparatus.
前記対応領域カラーと前記ソースカラーの色距離を算出する色距離算出手段と、
前記対応領域カラーと前記ソースカラーの色距離が、所定のしきい色距離よりも大きいときに、照明環境に変化があったと判定する照明変化判定手段と、
を備えたことを特徴とする請求項5に記載の色校正処理装置。 The illumination change detecting means includes
A color distance calculating means for calculating a color distance between the corresponding area color and the source color;
Illumination change determination means for determining that the illumination environment has changed when a color distance between the corresponding area color and the source color is greater than a predetermined threshold color distance;
The color proofing processing apparatus according to claim 5, further comprising:
所定の時間間隔で、前記複数のソース画像から前記背景画像を獲得し、
前記照明変化検出手段は、
前記所定の時間間隔で、前記ソース画像における照明環境の変化を検出することを特徴とする請求項5または請求項6に記載の色校正処理装置。 The background image acquisition means includes
Obtaining the background image from the plurality of source images at a predetermined time interval;
The illumination change detecting means includes
The color calibration processing apparatus according to claim 5, wherein a change in an illumination environment in the source image is detected at the predetermined time interval.
前記対応領域を複数の小領域に分割する領域分割手段を備え、
前記複数の小領域ごとに、前記ソースカラーと類似範囲内の色を前記リファレンスカラーに校正することを特徴とする請求項5ないし請求項7のいずれかに記載の色校正処理装置。 The color proofing means includes
An area dividing means for dividing the corresponding area into a plurality of small areas;
8. The color calibration processing apparatus according to claim 5, wherein a color within a range similar to the source color is calibrated to the reference color for each of the plurality of small regions.
複数の撮像装置で撮影された各ソース画像から特定のソース領域を選択し、
前記ソース領域を代表する色としてソース領域カラーを決定し、
前記ソース領域カラーを用いて、前記カラーセットのソースカラーを更新し、
前記カラーセットを用いて、前記複数のソース画像のうち前記ソースカラーと類似範囲内の色を前記リファレンスカラーに校正することを特徴とする色校正処理方法。 Stores color set information including the color information of the source color to be color proofed and the color information of the reference color after color proofing,
Select a specific source area from each source image taken by multiple imaging devices,
Determining a source region color as a color representative of the source region;
Using the source region color to update the source color of the color set;
A color calibration processing method, wherein a color within a range similar to the source color among the plurality of source images is calibrated to the reference color using the color set.
前記ソースオブジェクトの平均色を、前記ソース領域カラーであるオブジェクトカラーとして決定し、
前記ソースオブジェクトと所定のリファレンスオブジェクトが類似するか否かを判定し、
前記ソースオブジェクトと前記リファレンスオブジェクトが類似すると判定されたときに、前記ソースオブジェクトのオブジェクトカラーを用いて、前記カラーセットのソースカラーを更新することを特徴とする請求項9に記載の色校正処理方法。 From the source image, foreground object moving in the background image is extracted as a source object,
Determining an average color of the source object as an object color that is the source region color;
Determine whether the source object and a given reference object are similar;
The color calibration processing method according to claim 9, wherein when it is determined that the source object and the reference object are similar, the source color of the color set is updated using the object color of the source object. .
前記複数のソース画像から背景画像を獲得し、
前記背景画像から、前記ソースカラーの領域情報に対応する対応領域を探索し、
前記対応領域の平均色を、前記ソース領域カラーである対応領域カラーとして決定し、
前記対応領域カラーに基づいて、前記ソース画像における照明環境の変化を検出し、
照明環境に変化があったと判定されたときに、前記対応領域カラーを用いて前記カラーセットのソースカラーを更新することを特徴とする請求項9に記載の色校正処理方法。
Storing color set information including area information obtained from the color information of the source color;
Obtaining a background image from the plurality of source images;
From the background image, search for a corresponding area corresponding to the area information of the source color,
Determining an average color of the corresponding area as a corresponding area color that is the source area color;
Detecting a change in lighting environment in the source image based on the corresponding area color;
The color calibration processing method according to claim 9, wherein when it is determined that the illumination environment has changed, the source color of the color set is updated using the corresponding area color.
Priority Applications (9)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006009757A JP2007194802A (en) | 2006-01-18 | 2006-01-18 | Color correcting device and color correcting method |
CN201110035075XA CN102164287B (en) | 2006-01-10 | 2007-01-05 | Color correction device and color correction method |
CN2007800022102A CN101371271B (en) | 2006-01-10 | 2007-01-05 | Color correction processing device |
EP07706388A EP1973074A4 (en) | 2006-01-10 | 2007-01-05 | Color correction device, color correction method, dynamic camera color correction device, and video search device using the same |
PCT/JP2007/050041 WO2007080834A1 (en) | 2006-01-10 | 2007-01-05 | Color correction device, color correction method, dynamic camera color correction device, and video search device using the same |
EP10195138A EP2296104A1 (en) | 2006-01-10 | 2007-01-05 | Dynamic camera color correction device, and video search device using the same |
CN2011100348321A CN102164238B (en) | 2006-01-10 | 2007-01-05 | Color correction device, dynamic camera color correction device, and video search device using the same |
US12/160,151 US8018494B2 (en) | 2006-01-10 | 2007-01-05 | Color correction device, color correction method, dynamic camera color correction device, and video search device using the same |
US13/182,680 US8698913B2 (en) | 2006-01-10 | 2011-07-14 | Color correction device, color correction method, dynamic camera color correction device, and video search device using the same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006009757A JP2007194802A (en) | 2006-01-18 | 2006-01-18 | Color correcting device and color correcting method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007194802A true JP2007194802A (en) | 2007-08-02 |
Family
ID=38450159
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006009757A Pending JP2007194802A (en) | 2006-01-10 | 2006-01-18 | Color correcting device and color correcting method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007194802A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010079806A (en) * | 2008-09-29 | 2010-04-08 | Saxa Inc | Image processing device, mobile body counting device, and program |
-
2006
- 2006-01-18 JP JP2006009757A patent/JP2007194802A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010079806A (en) * | 2008-09-29 | 2010-04-08 | Saxa Inc | Image processing device, mobile body counting device, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101558467B1 (en) | System for revising coordinate in the numerical map according to gps receiver | |
WO2007080834A1 (en) | Color correction device, color correction method, dynamic camera color correction device, and video search device using the same | |
US7660439B1 (en) | Method and system for flow detection and motion analysis | |
EP2549759B1 (en) | Method and system for facilitating color balance synchronization between a plurality of video cameras as well as method and system for obtaining object tracking between two or more video cameras | |
EP1903500B1 (en) | System, medium, and method compensating brightness of an image | |
JP5208893B2 (en) | Moving object tracking device | |
KR101863727B1 (en) | CCTV System Capable of Searching Objects Complied with Multiple Terms from Image and Searching Method thereof | |
KR101564410B1 (en) | Image processing method for correcting the linking information of section in the image | |
JP7446060B2 (en) | Information processing device, program and information processing method | |
KR20170038144A (en) | Attention detection apparatus and attention detection method | |
US9712744B2 (en) | Image quality compensation system and method | |
KR101951232B1 (en) | A High Quality CCTV Image System Using Separated Storage of Object Area and Adaptive Background Image | |
CN104243796A (en) | Photographing apparatus, photographing method, template creation apparatus, and template creation method | |
JP4578864B2 (en) | Automatic tracking device and automatic tracking method | |
CN100584009C (en) | Method and device for determination of a motion of a background in a series of images | |
JP2007194802A (en) | Color correcting device and color correcting method | |
JP2000306191A (en) | Area division and device for extracting object | |
JP2006302115A (en) | Object detection method and object detection device | |
CN113239756A (en) | Automatic white balance method and device based on target identification | |
JP2007019713A (en) | Color calibration processor | |
JP7129271B2 (en) | Image processing device | |
JP7026871B1 (en) | Image processing device, image processing method, and image processing program | |
JP6959444B2 (en) | Measurement information processing device | |
JP2015092301A (en) | Image processing apparatus and image processing method of the same, and computer program and image processing system | |
CN110766710B (en) | Image target discrimination method |