JP5513238B2 - Image processing system and image processing program - Google Patents

Image processing system and image processing program Download PDF

Info

Publication number
JP5513238B2
JP5513238B2 JP2010100836A JP2010100836A JP5513238B2 JP 5513238 B2 JP5513238 B2 JP 5513238B2 JP 2010100836 A JP2010100836 A JP 2010100836A JP 2010100836 A JP2010100836 A JP 2010100836A JP 5513238 B2 JP5513238 B2 JP 5513238B2
Authority
JP
Japan
Prior art keywords
value
pedestrian
candidate area
data
pedestrian candidate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2010100836A
Other languages
Japanese (ja)
Other versions
JP2011234012A (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.)
TOKIN OAR CO.,LTD.
Original Assignee
TOKIN OAR CO.,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 TOKIN OAR CO.,LTD. filed Critical TOKIN OAR CO.,LTD.
Priority to JP2010100836A priority Critical patent/JP5513238B2/en
Publication of JP2011234012A publication Critical patent/JP2011234012A/en
Application granted granted Critical
Publication of JP5513238B2 publication Critical patent/JP5513238B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Studio Devices (AREA)
  • Image Analysis (AREA)

Description

本発明は、撮影された画像から歩行者を適切に認識することができる画像処理システムおよび画像処理プログラムに関する。   The present invention relates to an image processing system and an image processing program that can appropriately recognize a pedestrian from a photographed image.

車両の先頭位置に搭載されたカメラから撮影された画像から、車両の進行方向に位置する歩行者の存在を検知して、車内の表示装置などに、歩行者の位置を表示し、或いは、フロントウィンドウ上に歩行者の位置を投影する装置が提案されている。   Detect the presence of a pedestrian located in the traveling direction of the vehicle from an image taken from a camera mounted at the head position of the vehicle, and display the position of the pedestrian on a display device in the vehicle, or the front An apparatus for projecting the position of a pedestrian on a window has been proposed.

撮影される画像には、歩行者のほか、他の車両、信号機、標識などが含まれるため、歩行者を認識するために、赤外線カメラを用いて撮影し、赤外線の放射量にしたがった画素のデータ値を有する画像を得て、そこから歩行者の領域を特定する技術が提案されている。より詳細には、撮影された画像において、ある閾値より大きな値を示す領域の形状を特定し、その形状に基づき、歩行者が検出される。   In addition to pedestrians, the captured images include other vehicles, traffic lights, signs, etc., so in order to recognize pedestrians, images are taken using an infrared camera, and the pixels in accordance with the amount of infrared radiation are captured. There has been proposed a technique for obtaining an image having a data value and specifying a pedestrian area therefrom. More specifically, the shape of a region showing a value larger than a certain threshold is specified in the captured image, and a pedestrian is detected based on the shape.

しかしながら、単なる形状の認識では、歩行者と同様に赤外線を放射し、かつ、比較的細長い形状の物体を歩行者と認識する可能性もある。その一方、形状に基づく判断では、歩行者が横方向に並んでいる場合や、木やガードレールなどの遮蔽物により、歩行者の一部が隠れている場合には、歩行者を認識できない場合もある。   However, simple shape recognition may emit infrared rays in the same way as a pedestrian and may recognize a relatively elongated object as a pedestrian. On the other hand, in the judgment based on the shape, when the pedestrians are lined up in the horizontal direction or when a part of the pedestrian is hidden by a shield such as a tree or a guardrail, the pedestrian may not be recognized. is there.

特開2005−159392号公報JP 2005-159392 A 特開2008−65463号公報JP 2008-65463 A

特許文献1には、近赤外線カメラにて撮影された画像中、一定以上の近赤外線の放射量を有する領域を抽出し、さらに、その領域に含まれる画素のデータ値の分散を求め、分散が所定値以上である場合に、当該領域が歩行者に相当すると判断する技術が開示されている。   Patent Document 1 extracts a region having a near-infrared radiation amount greater than or equal to a certain value from an image photographed by a near-infrared camera, and further obtains a variance of data values of pixels included in the region. A technique for determining that the area corresponds to a pedestrian when the value is equal to or greater than a predetermined value is disclosed.

また、特許文献2には、近赤外線カメラにて撮影された画像中、歩行者候補領域を抽出し、さらに、その領域に含まれる画素のデータ値を参照して、所定の値より大きな値を有する画素をカウントし、その候補領域に対する画素の面積の割合が閾値より小さいときに、その領域が歩行者に相当すると判断する技術が開示されている。   In Patent Document 2, a pedestrian candidate area is extracted from an image taken by a near-infrared camera, and a value larger than a predetermined value is referred to by referring to a data value of a pixel included in the area. A technique is disclosed in which a pixel is counted, and when the ratio of the area of the pixel to the candidate area is smaller than a threshold, the area is determined to correspond to a pedestrian.

上述したように、歩行者が横方向に並んでいる場合や、木やガードレールなどの遮蔽物により、歩行者の一部が隠れている場合であっても、確実かつ迅速に、歩行者の存在を検知できる技術が望まれる。   As described above, even when pedestrians are lined up sideways or when a part of the pedestrian is hidden by a shield such as a tree or guardrail, the presence of the pedestrian is surely and quickly. A technology that can detect this is desired.

本発明は、短い処理時間で確実に歩行者の存在を検知することができる画像処理システムおよび画像処理プログラムを提供することを目的とする。   An object of the present invention is to provide an image processing system and an image processing program that can reliably detect the presence of a pedestrian in a short processing time.

本発明の目的は、赤外線カメラにより撮影された、撮影対象物の温度に基づく各画素のデータ値を含む画像データを受け入れて、前記画像データから、各画素が温度に基づく3値以上の多値のデータ値を有する、多値画像データを取得する多値画像データ取得手段と、
前記多値画像データ中、各画素のデータ値に基づいて、所定温度以上を示す画素の領域を歩行者候補領域として抽出する歩行者候補領域抽出手段と、
前記歩行者候補領域に含まれる画素のデータ値を参照して、前記データ値ごとにその度数の割合を示すヒストグラムを生成し、前記値ごとの度数の割合に基づいて、前記歩行者候補領域が歩行者に該当するかを判断する第1の判定手段と、
前記第1の判定手段により歩行者に該当すると判断された歩行者候補領域について、その外縁を取り囲む外枠領域を生成し、かつ、当該外枠領域を横方向及び縦方向に複数のブロックに分割し、ブロックごとの、当該ブロックに含まれる歩行者候補領域の画素のデータ値に基づき、前記横方向のブロックにおけるデータ値の変化を示す指標値と、前記縦方向のブロックにおけるデータ値の変化を示す指標値とに基づいて、前記歩行者候補領域が歩行者に該当するかをさらに判断する第2の判定手段と、を備えたことを特徴とする画像処理システムにより達成される。
An object of the present invention is to accept image data including a data value of each pixel based on the temperature of an object to be photographed, which is captured by an infrared camera, and from the image data, each pixel is a multi-value having three or more values based on temperature. Multi-value image data acquisition means for acquiring multi-value image data having the data values of
In the multi-value image data, based on the data value of each pixel, a pedestrian candidate area extracting unit that extracts a pixel area indicating a predetermined temperature or more as a pedestrian candidate area;
By referring to the data value of the pixel included in the pedestrian candidate area, a histogram indicating the frequency ratio for each data value is generated, and based on the frequency ratio for each value, the pedestrian candidate area is First determination means for determining whether the pedestrian is applicable;
For the pedestrian candidate area determined to be a pedestrian by the first determining means, an outer frame area surrounding the outer edge is generated, and the outer frame area is divided into a plurality of blocks in the horizontal direction and the vertical direction. Then, based on the data value of the pixel of the pedestrian candidate area included in the block for each block, the index value indicating the change in the data value in the horizontal block and the change in the data value in the vertical block This is achieved by an image processing system comprising: second determination means for further determining whether the pedestrian candidate area corresponds to a pedestrian based on an index value to be indicated.

好ましい実施態様においては、前記第1の判定手段が、前記値ごとの度数の割合が、それぞれ、予め定められた所定の範囲内であるかに基づいて判断する。   In a preferred embodiment, the first determination means makes a determination based on whether the frequency ratio for each value is within a predetermined range.

また、好ましい実施態様においては、前記第2の判定手段が、前記ブロックごとに、前記ブロックに含まれる歩行者候補領域の画素のデータ値の平均値を算出し、前記横方向における平均値の変化を示す第1の指標値を算出するとともに、前記縦方向における平均値の変化を示す第2の指標値を算出する。   In a preferred embodiment, the second determination means calculates an average value of data values of pixels of a pedestrian candidate area included in the block for each block, and changes in the average value in the horizontal direction. Is calculated, and a second index value indicating a change in average value in the vertical direction is calculated.

より好ましい実施態様においては、前記多値画像データのデータ値は、温度が高くなるのにしたがってその値が増大し、
前記第2の判定手段が、
前記第1の指標値として、前記横方向について、平均値の最大値と最小値との差を算出し、前記第1の指標値が、前記第1の指標値が所定の範囲内であるときに、第1の条件に合致すると判断し、
前記第2の指標値として、縦方向に隣接するブロックについて、上側に位置するブロックの平均値−下側に位置するブロックの平均値を算出し、前記第2の指標値が正であるときに、第2の条件に合致すると判断し
前記第1の条件および第2の条件に合致するときに、前記歩行者候補領域が歩行者に該当すると判断する。
In a more preferred embodiment, the data value of the multi-value image data increases as the temperature increases,
The second determination means is
When the difference between the maximum value and the minimum value of the average value is calculated as the first index value in the horizontal direction, and the first index value is within a predetermined range To determine that the first condition is met,
As the second index value, for the blocks adjacent in the vertical direction, the average value of the blocks positioned on the upper side−the average value of the blocks positioned on the lower side is calculated, and when the second index value is positive It is determined that the second condition is satisfied, and it is determined that the pedestrian candidate area corresponds to a pedestrian when the first condition and the second condition are satisfied.

別の好ましい実施態様においては、前記多値画像データのデータ値は、温度が高くなるのにしたがってその値が増大し、
前記第2の判定手段が、
前記第1の指標値として、横方向に隣接するブロックについての平均値の差を算出し、当該第1の指標値が、それぞれ、所定の範囲内であるときに、第1の条件に合致すると判断し、
前記第2の指標値として、縦方向に隣接するブロックについて、上側に位置するブロックの平均値−下側に位置するブロックの平均値を算出し、前記第2の指標値が正であるときに、第2の条件に合致すると判断し、
前記第1の条件および第2の条件に合致するときに、前記歩行者候補領域が歩行者に該当すると判断する。
In another preferred embodiment, the data value of the multi-valued image data increases as the temperature increases,
The second determination means is
As the first index value, a difference between average values of blocks adjacent in the horizontal direction is calculated, and when the first index value is within a predetermined range, the first condition is met. Judgment
As the second index value, for the blocks adjacent in the vertical direction, the average value of the blocks positioned on the upper side−the average value of the blocks positioned on the lower side is calculated, and when the second index value is positive Judge that the second condition is met,
When the first condition and the second condition are met, it is determined that the pedestrian candidate area corresponds to a pedestrian.

また、好ましい実施態様においては、前記第2の判定手段が、
前記ブロックごとに、前記ブロックに含まれる歩行者候補領域の画素のデータ値ごとの度数の割合を算出し、前記横方向における度数の割合の変化を示す第3の指標値を算出するとともに、前記縦方向における度数の割合の変化を示す第4の指標値を算出する。
In a preferred embodiment, the second determination means is
For each block, calculate a frequency ratio for each pixel data value of the pedestrian candidate area included in the block, calculate a third index value indicating a change in the frequency ratio in the lateral direction, and A fourth index value indicating a change in the frequency ratio in the vertical direction is calculated.

より好ましい実施形態においては、前記第2の判定手段が、
前記第3の指標値として、前記横方向に隣接するブロックにおいて、値ごとの度数の変化の割合の最大値と最小値との差を算出し、前記第3の指標値が、所定の範囲内であるときに、第3の条件に合致すると判断し、
前記第4の指標値として、前記縦方向に隣接するブロックにおいて、値ごとの度数の変化の割合の差を算出し、値にしたがって、前記第4の指標値が所定の同一の傾向を示すときに、第4の条件に合致すると判断し、
前記第3の条件および第4の条件に合致するときに、前記歩行者候補領域が歩行者に該当すると判断する。
In a more preferred embodiment, the second determination means is
As the third index value, a difference between the maximum value and the minimum value of the frequency change ratio for each value in the block adjacent in the horizontal direction is calculated, and the third index value is within a predetermined range. Is determined to meet the third condition,
As the fourth index value, the blocks adjacent to the longitudinal direction, and calculates the difference between the rate of change of frequency of each value in accordance with the value, when the index value of the fourth exhibits a predetermined same trends To the fourth condition,
When the third condition and the fourth condition are met, it is determined that the pedestrian candidate area corresponds to a pedestrian.

別の好ましい実施形態においては、前記第2の判定手段が、
前記第3の指標値として、前記横方向に隣接するブロックにおいて、値ごとの度数の変化の割合の差を算出し、前記第3の指標値が、それぞれ、所定の範囲内であるときに、第3の条件に合致すると判断し、
前記第4の指標値として、前記縦方向に隣接するブロックにおいて、値ごとの度数の変化の割合の差を算出し、値にしたがって、前記第4の指標値が所定の同一の傾向を示すときに、第4の条件に合致すると判断し、
前記第3の条件および第4の条件に合致するときに、前記歩行者候補領域が歩行者に該当すると判断する。
In another preferred embodiment, the second determination means is
As the third index value, in the block adjacent in the horizontal direction, the difference in the frequency change rate for each value is calculated, and when the third index value is within a predetermined range, Judging that the third condition is met,
As the fourth index value, the blocks adjacent to the longitudinal direction, and calculates the difference between the rate of change of frequency of each value in accordance with the value, when the index value of the fourth exhibits a predetermined same trends To the fourth condition,
When the third condition and the fourth condition are met, it is determined that the pedestrian candidate area corresponds to a pedestrian.

また、好ましい実施態様においては、前記歩行者候補領域を構成する画素の座標および画素のデータ値を参照して、前記データ値ごとの重心位置を算出し、前記重心位置の座標に基づいて、前記歩行者候補領域が歩行者に該当するかをさらに判断する第3の判定手段を備える。   Further, in a preferred embodiment, referring to the coordinates of the pixels constituting the pedestrian candidate area and the data value of the pixels, a center of gravity position is calculated for each data value, and based on the coordinates of the center of gravity position, Third determining means for further determining whether the pedestrian candidate area corresponds to a pedestrian is provided.

より好ましい実施態様においては、前記第3の判定手段が、前記データ値ごとの重心のx座標が、所定の範囲内に隣接しているときに、前記歩行者候補領域が歩行者に該当すると判断する。   In a more preferred embodiment, the third determination means determines that the pedestrian candidate area corresponds to a pedestrian when the x-coordinate of the center of gravity for each data value is adjacent within a predetermined range. To do.

別の好ましい実施態様においては、前記第3の判定手段が、前記データ値ごとの重心のy座標が、温度が高いことを示すデータ値になるのにしたがって大きくなるときに、前記歩行者候補領域が歩行者に該当すると判断する。   In another preferred embodiment, when the third determining means increases the y-coordinate of the center of gravity for each data value as the data value indicating that the temperature is high, the pedestrian candidate area Is considered a pedestrian.

また、本発明の目的は、赤外線カメラにより撮影された、撮影対象物の温度に基づく各画素のデータ値を含む画像データを受け入れて、前記画像データから、各画素が温度に基づく3値以上の多値のデータ値であって、温度が高くなるのにしたがって値が増大する多値画像データを取得する多値画像データ取得ステップと、
前記多値画像データ中、各画素のデータ値に基づいて、所定温度以上を示す画素の領域を歩行者候補領域として抽出する歩行者候補領域抽出ステップと、
前記歩行者候補領域に含まれる画素のデータ値を参照して、前記データ値ごとにその度数の割合を示すヒストグラムを生成し、前記値ごとの度数の割合に基づいて、前記歩行者候補領域が歩行者に該当するかを判断する第1の判定ステップと、
前記第1の判定ステップにより歩行者に該当すると判断された歩行者候補領域について、その外縁を取り囲む外枠領域を生成し、かつ、当該外枠領域を横方向及び縦方向に複数のブロックに分割し、ブロックごとの、当該ブロックに含まれる歩行者候補領域の画素のデータ値に基づき、前記横方向のブロックにおけるデータ値の変化を示す指標値と、前記縦方向のブロックにおけるデータ値の変化を示す指標値とに基づいて、前記歩行者候補領域が歩行者に該当するかをさらに判断する第2の判定ステップと、をコンピュ一タに実行させることを特徴とする画像処理プログラムにより達成される。
Further, an object of the present invention is to accept image data including data values of each pixel based on the temperature of an object to be photographed, which is captured by an infrared camera, and from the image data, each pixel has three or more values based on temperature. A multi-value image data acquisition step for acquiring multi-value image data that is multi-value data values and increases in value as the temperature increases;
In the multi-value image data, based on the data value of each pixel, a pedestrian candidate area extraction step for extracting a pixel area indicating a predetermined temperature or more as a pedestrian candidate area;
By referring to the data value of the pixel included in the pedestrian candidate area, a histogram indicating the frequency ratio for each data value is generated, and based on the frequency ratio for each value, the pedestrian candidate area is A first determination step for determining whether the pedestrian is applicable;
For the pedestrian candidate area determined to be a pedestrian in the first determination step, an outer frame area surrounding the outer edge is generated, and the outer frame area is divided into a plurality of blocks in the horizontal direction and the vertical direction. Then, based on the data value of the pixel of the pedestrian candidate area included in the block for each block, the index value indicating the change in the data value in the horizontal block and the change in the data value in the vertical block And a second determination step of further determining whether or not the pedestrian candidate area corresponds to a pedestrian based on the indicated index value. This is achieved by an image processing program that causes a computer to execute the second determination step. .

本発明によれば、短い処理時間で確実に歩行者の存在を検知することができる画像処理システムおよび画像処理プログラムを提供することが可能となる。   According to the present invention, it is possible to provide an image processing system and an image processing program capable of reliably detecting the presence of a pedestrian in a short processing time.

図1は、本発明の第1の実施の形態にかかる画像処理システムの概略を示すブロックダイヤグラムである。FIG. 1 is a block diagram showing an outline of an image processing system according to a first embodiment of the present invention. 図2は、本実施の形態にかかる歩行者認識処理部の例を示すブロックダイヤグラムである。FIG. 2 is a block diagram showing an example of a pedestrian recognition processing unit according to the present embodiment. 図3(a)、(b)は、それぞれ、歩行者候補領域特定部22による処理が実行された状態の画像データの例を示す図である。FIGS. 3A and 3B are diagrams illustrating examples of image data in a state where the processing by the pedestrian candidate area specifying unit 22 is executed. 図4は、本実施の形態にかかる熱源体領域抽出部において実行される処理の例を示すフローチャートである。FIG. 4 is a flowchart illustrating an example of processing executed in the heat source body region extraction unit according to the present embodiment. 図5は、歩行者候補領域特定部において実行される処理(歩行者候補領域特定処理)の例を示すフローチャートである。FIG. 5 is a flowchart illustrating an example of a process (pedestrian candidate area specifying process) executed in the pedestrian candidate area specifying unit. 図6は、本実施の形態にかかる第1判定処理部における第1の判定処理の例を示すフローチャートである。FIG. 6 is a flowchart illustrating an example of the first determination process in the first determination processing unit according to the present embodiment. 図7は、画像データにおいて実際の歩行者の領域についてのヒストグラムおよび歩行者以外(人工物)の領域についてのヒストグラムの例である。FIG. 7 is an example of a histogram for an actual pedestrian area and a histogram for an area other than a pedestrian (artifact) in the image data. 図8は、本実施の形態にかかる第2判定処理部における第2の判定処理の例を示すフローチャートである。FIG. 8 is a flowchart illustrating an example of the second determination process in the second determination processing unit according to the present embodiment. 図9(a)、(b)は、画像データ中において抽出された歩行者候補領域、外枠領域およびブロックの例を説明する図である。FIGS. 9A and 9B are diagrams illustrating examples of pedestrian candidate regions, outer frame regions, and blocks extracted in the image data. 図10は、本実施の形態にかかる第3判定処理部による第3の判定処理の例を示すフローチャートである。FIG. 10 is a flowchart illustrating an example of the third determination process by the third determination processing unit according to the present embodiment. 図11は、歩行者候補領域および値ごとの重心位置の例を示す図である。FIG. 11 is a diagram illustrating an example of a pedestrian candidate region and a barycentric position for each value. 図12(a)、(b)は、それぞれ、画像データの例を示す図である。12A and 12B are diagrams illustrating examples of image data. 図13は、本発明の第2の実施の形態にかかる第2判定処理の例を示すフローチャートである。FIG. 13 is a flowchart illustrating an example of the second determination process according to the second embodiment of the present invention. 図14(a)は、外枠領域および分割されたブロックの例を示す図、図14(b)は、各ブロックに関するヒストグラムの例を示す図である。FIG. 14A is a diagram illustrating an example of an outer frame region and divided blocks, and FIG. 14B is a diagram illustrating an example of a histogram related to each block.

以下、添付図面を参照して、本発明の実施の形態につき説明を加える。図1は、本発明の第1の実施の形態にかかる画像処理システムの概略を示すブロックダイヤグラムである。本実施の形態にかかる画像処理システム10は、遠赤外線カメラにより取得された画像データに基づいて、画像中に歩行者が撮影されているかを判定する。図1に示すように、画像処理システム10は、遠赤外線カメラ11、インタフェース(I/F)12、CPU13、入力部14、表示部15、RAM16、ROM17および歩行者認識処理部18を有する。I/F12〜歩行者認識処理部18は、バスに接続されている。本実施の形態にかかる画像処理システム10は、車両に搭載され、車両の進行方向の画像を撮影し、当該画像データに基づいて、歩行者の存在の有無を検出する。   Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. FIG. 1 is a block diagram showing an outline of an image processing system according to a first embodiment of the present invention. The image processing system 10 according to the present embodiment determines whether a pedestrian is captured in an image based on image data acquired by a far-infrared camera. As shown in FIG. 1, the image processing system 10 includes a far-infrared camera 11, an interface (I / F) 12, a CPU 13, an input unit 14, a display unit 15, a RAM 16, a ROM 17, and a pedestrian recognition processing unit 18. The I / F 12 to the pedestrian recognition processing unit 18 are connected to a bus. An image processing system 10 according to the present embodiment is mounted on a vehicle, takes an image of the traveling direction of the vehicle, and detects the presence or absence of a pedestrian based on the image data.

遠赤外線カメラ11は、遠赤外線領域を検知し、撮影対象物の遠赤外線の放射量にしたがった画像信号を得ることができる。たとえば、画像信号は、画素ごとの、当該画素において受け入れた遠赤外線の放射量を示す多値のデータ値から構成される。I/F12は、遠赤外線カメラ11から受け入れた画像信号に基づき、画素の位置情報(座標)とデータ値とを対応付けて、画像データとしてRAM16の所定の領域に格納する。遠赤外線カメラ11は、たとえば、車両の前端部に配置され、前方(車両の通常の進行方向)の画像を撮影することができる。   The far-infrared camera 11 can detect a far-infrared region and obtain an image signal according to the amount of far-infrared radiation of the object to be photographed. For example, the image signal is composed of multi-value data values indicating the amount of far-infrared radiation received in each pixel for each pixel. Based on the image signal received from the far-infrared camera 11, the I / F 12 associates pixel position information (coordinates) with a data value, and stores them in a predetermined area of the RAM 16 as image data. The far-infrared camera 11 is, for example, disposed at the front end portion of the vehicle and can take an image of the front (the normal traveling direction of the vehicle).

CPU13は、情報処理システム10の全体の制御、操作者による入力部14のスイッチ操作に基づく処理、表示部15への画像表示の制御、遠赤外線カメラ11の起動や撮影の指示、歩行者認識処理部18に対する動作の指示などを実行する。入力部14は、スイッチ類(図示せず)を有し、スイッチ操作に基づく操作信号をCPU13に与える。表示部15は、表示装置(たとえば液晶表示装置)を備え、遠赤外線カメラ11にて撮影された画像などを含む画像をその画面上に表示することができる。   The CPU 13 controls the information processing system 10 as a whole, processes based on the switch operation of the input unit 14 by the operator, controls image display on the display unit 15, activation of the far-infrared camera 11, shooting instructions, and pedestrian recognition processing. An operation instruction to the unit 18 is executed. The input unit 14 includes switches (not shown) and gives an operation signal based on the switch operation to the CPU 13. The display unit 15 includes a display device (for example, a liquid crystal display device), and can display an image including an image taken by the far-infrared camera 11 on the screen.

RAM16は、遠赤外線カメラ11にて撮影された画像信号に基づく画像データ、処理にて生じたデータ、パラメータ、演算値を格納する。ROM17は、情報処理システム10の全体の制御、操作者による入力部14のスイッチ操作に基づく処理、表示部15への画像表示の制御、遠赤外線カメラ11の起動や撮影の指示、歩行者認識処理部18に対する動作の指示などの処理プログラムを格納する。   The RAM 16 stores image data based on the image signal photographed by the far-infrared camera 11, data generated by the processing, parameters, and calculation values. The ROM 17 controls the entire information processing system 10, processing based on the switch operation of the input unit 14 by the operator, control of image display on the display unit 15, activation of the far-infrared camera 11 and shooting instruction, pedestrian recognition processing A processing program such as an operation instruction for the unit 18 is stored.

図2は、本実施の形態にかかる歩行者認識処理部の例を示すブロックダイヤグラムである。図2に示すように、歩行者認識処理部18は、熱源体領域抽出部21、歩行者候補領域特定部22、歩行者判定部23、および、表示画像生成部24を有する。   FIG. 2 is a block diagram showing an example of a pedestrian recognition processing unit according to the present embodiment. As shown in FIG. 2, the pedestrian recognition processing unit 18 includes a heat source body region extraction unit 21, a pedestrian candidate region specification unit 22, a pedestrian determination unit 23, and a display image generation unit 24.

熱源体領域抽出部21は、画像データを受け入れ、画像データに基づき、所定以上の温度を有する領域を熱源体領域として抽出する。歩行者候補領域特定部22は、熱源体領域から、さらに、所定の判断を行なうことで、歩行者候補領域を絞り込む。歩行者判定部23は、後述するように、3種類の判定を行なうことで、歩行者候補領域から最終的に歩行者領域を見出す。表示画像生成部24は、画像データに、最終的に認識された歩行者領域を示す枠を重ね合わせた画像データを生成して、表示部15に出力する。   The heat source body region extraction unit 21 receives image data, and extracts a region having a predetermined temperature or more as a heat source body region based on the image data. The pedestrian candidate area specifying unit 22 further narrows down the pedestrian candidate area by making a predetermined determination from the heat source body area. The pedestrian determination unit 23 finally finds a pedestrian area from the pedestrian candidate areas by performing three types of determinations as described later. The display image generation unit 24 generates image data in which a frame indicating the finally recognized pedestrian area is superimposed on the image data, and outputs the generated image data to the display unit 15.

本実施の形態においては、熱源体領域処理部21は、4値化処理部31、ノイズ除去処理部43およびラベリング処理部33を有する。また、歩行者判定部23は、第1判定処理部34、第2判定処理部35および第3判定処理部36を有する。本実施の形態にかかる歩行者認識処理部18において実行される処理については、後に詳述する。   In the present embodiment, the heat source region processing unit 21 includes a quaternization processing unit 31, a noise removal processing unit 43, and a labeling processing unit 33. The pedestrian determination unit 23 includes a first determination processing unit 34, a second determination processing unit 35, and a third determination processing unit 36. Processing executed in the pedestrian recognition processing unit 18 according to the present embodiment will be described in detail later.

図3(a)、(b)は、それぞれ、歩行者候補領域特定部22による処理が実行された状態の画像データの例を示す図である。たとえば、図3(a)においては、画像データ300には、3つの歩行者候補領域301〜303が含まれている。実際の画像では、歩行者候補領域301、302は単独の歩行者に対応し、その一方、歩行者候補領域302は、複数の歩行者が横に(並列して)並んでいる状態に対応する。歩行者候補領域302は、単に、その外郭を構成する枠(外枠)の縦横比で判断すると、たとえば、通常の歩行者のように縦方向の大きさ(長さ)が横方向の大きさ(幅)よりも十分に大きいことが成立しないため、歩行者に該当すると判断されない可能性が高い。   FIGS. 3A and 3B are diagrams illustrating examples of image data in a state where the processing by the pedestrian candidate area specifying unit 22 is executed. For example, in FIG. 3A, the image data 300 includes three pedestrian candidate areas 301 to 303. In the actual image, the pedestrian candidate areas 301 and 302 correspond to a single pedestrian, while the pedestrian candidate area 302 corresponds to a state in which a plurality of pedestrians are arranged side by side (in parallel). . The pedestrian candidate area 302 is simply determined by the aspect ratio of the frame (outer frame) that forms the outline of the pedestrian candidate area 302. For example, the size (length) in the vertical direction is the size in the horizontal direction like a normal pedestrian. Since it is not established that it is sufficiently larger than (width), there is a high possibility that it is not determined to be a pedestrian.

また、図3(b)においては、画像データ310には、2つの歩行者候補領域311、312が含まれる。実際には、双方とも歩行者を示しているが、その下半分が、壁やガードレールなどの遮蔽物により遮られ、歩行者候補領域には含まれなくなっている。本実施の形態においては、図3(a)に示すような、複数人の歩行者が並んだ(或いは重なり合った)ような歩行者候補領域や、図3(b)に示すような、歩行者の外郭の一部が欠落した歩行者候補領域についても、適切に歩行者として認識できるようにしている。   In FIG. 3B, the image data 310 includes two pedestrian candidate areas 311 and 312. Actually, both of them indicate pedestrians, but the lower half is blocked by a shield such as a wall or guardrail and is not included in the candidate pedestrian area. In the present embodiment, a pedestrian candidate area where a plurality of pedestrians are arranged (or overlapped) as shown in FIG. 3A, or a pedestrian as shown in FIG. The pedestrian candidate area in which a part of the outline of the pedestrian is missing can be appropriately recognized as a pedestrian.

図4は、本実施の形態にかかる熱源体領域抽出部において実行される処理の例を示すフローチャートである。図4に示すように、熱源体領域抽出部21の4値化処理部31は、画像データを構成する各画素のデータ値を4値化して、新たな画素のデータ値からなる4値化された画像データを生成する(ステップ401)。新たな画素のデータ値も、RAM16の所定の領域に格納される。   FIG. 4 is a flowchart illustrating an example of processing executed in the heat source body region extraction unit according to the present embodiment. As shown in FIG. 4, the quaternarization processing unit 31 of the heat source body region extraction unit 21 quaternizes the data values of each pixel constituting the image data, and is quaternized with the data values of new pixels. The generated image data is generated (step 401). The data value of the new pixel is also stored in a predetermined area of the RAM 16.

画像データを構成する画素のデータ値は、たとえば、8ビットで0〜127の何れかの値を示す多値データである。ここで、本実施の形態においては、最も温度が低い状態を示す値を「0」、温度が高くなるのにしたがってデータ値が増大することとする。4値化処理部31は、閾値Pth1、Pth2、Pth3(Pth1<Pth2<Pth3)を用いて、
0≦画素のデータ値<Pth1:第1の値(最低値)v1
Pth1≦画素のデータ値<Pth2:第2の値v2
Pth2≦画素のデータ値<Pth3:第3の値v3
Pth3≦画素のデータ値:第4の値(最高値)v4
(ただし、v1<v2<v3<v4)
となるように、それぞれの画素に対する新たなデータ値を決定すれば良い。以下、便宜上、第1の値v1、第2の値v2、第3の値v3および第4の値v4を、それぞれ、「0」、「1」、「2」、「3」とする。また、第2の値v2を「低温値」、第3の値v3を「中温値」、第4の値v4を「高温値」とも称する。
The data value of the pixels constituting the image data is, for example, multi-value data indicating any value from 0 to 127 with 8 bits. In this embodiment, the value indicating the lowest temperature is “0”, and the data value increases as the temperature increases. The quaternarization processing unit 31 uses threshold values Pth1, Pth2, and Pth3 (Pth1 <Pth2 <Pth3),
0 ≦ pixel data value <Pth1: first value (lowest value) v1
Pth1 ≦ pixel data value <Pth2: second value v2
Pth2 ≦ pixel data value <Pth3: third value v3
Pth3 ≦ pixel data value: fourth value (maximum value) v4
(However, v1 <v2 <v3 <v4)
A new data value for each pixel may be determined so that Hereinafter, for convenience, the first value v1, the second value v2, the third value v3, and the fourth value v4 are set to “0”, “1”, “2”, and “3”, respectively. The second value v2 is also referred to as “low temperature value”, the third value v3 is also referred to as “medium temperature value”, and the fourth value v4 is also referred to as “high temperature value”.

無論、データ値は上述したものに限定されず、最も温度が高い状態を示す値が「0」であり、温度が低くなるのにしたがってデータ値が増大するようなものを採用しても良いことは言うまでも無い。   Of course, the data value is not limited to that described above, and the value indicating the highest temperature is “0”, and the data value may increase as the temperature decreases. Needless to say.

ノイズ除去部43は、4値化された画像データ中、最低値(つまり、最も温度が低いこと)を示す画素を除き、第2の値(低温値)〜第4の値(高温値)を有する画素からなる領域を、初期的な熱源体領域候補として抽出する(ステップ402)。また、ノイズ除去部43は、初期的な熱源体領域候補において、画素数が極端に少ない領域(たとえば、画素数が所定の下限値Pminより小さい領域)を熱源体領域から除外する(ステップ403)とともに、画素数が極端に多い領域(たとえば、画素数が所定の上限値Pmaxを超える領域)を、熱源体領域候補から除外する(ステップ404)。   The noise removal unit 43 sets the second value (low temperature value) to the fourth value (high temperature value) except for the pixel indicating the lowest value (that is, the lowest temperature) in the four-valued image data. A region composed of pixels having the same is extracted as an initial heat source region candidate (step 402). Further, the noise removing unit 43 excludes an area having an extremely small number of pixels (for example, an area where the number of pixels is smaller than a predetermined lower limit Pmin) from the heat source area from the initial heat source area candidates (step 403). At the same time, a region having an extremely large number of pixels (for example, a region where the number of pixels exceeds a predetermined upper limit value Pmax) is excluded from the heat source region candidates (step 404).

次いで、ラベリング処理部33が、ラベリングにより同一の熱源体領域に属する画素に、同一のラベルを付与する(ステップ405)。ラベリング付与により、RAM16には、画素の位置を示す座標値(x座標、y座標)、低温値から高温値の何れかを示すデータ値、およびラベルからなる画素のデータが格納される。   Next, the labeling processing unit 33 gives the same label to the pixels belonging to the same heat source region by labeling (step 405). As a result of labeling, the RAM 16 stores coordinate values (x-coordinate, y-coordinate) indicating pixel positions, data values indicating either low-temperature values to high-temperature values, and pixel data including labels.

図5は、歩行者候補領域特定部において実行される処理(歩行者候補領域特定処理)の例を示すフローチャートである。図5に示すように、歩行者候補領域特定部22は、熱源体領域を構成する画素のx座標およびy座標を参照して、x座標の最小値xmin、最大値xmax、y座標の最小値ymin、最大値ymaxを取得し、(xmin,ymin)、(xmin,ymax)、(xmax,ymin)および(xmax,ymax)の4点にて画定される熱源体領域の外枠領域を特定する(ステップ501)。ステップ501により、熱源体領域のそれぞれについて、当該熱源体領域と接する矩形の外枠領域が得られる。   FIG. 5 is a flowchart illustrating an example of a process (pedestrian candidate area specifying process) executed in the pedestrian candidate area specifying unit. As shown in FIG. 5, the pedestrian candidate area specifying unit 22 refers to the x coordinate and y coordinate of the pixels constituting the heat source body area, and the x coordinate minimum value xmin, maximum value xmax, and y coordinate minimum value. ymin and the maximum value ymax are acquired, and the outer frame region of the heat source region defined by the four points (xmin, ymin), (xmin, ymax), (xmax, ymin) and (xmax, ymax) is specified (Step 501). In step 501, for each heat source body region, a rectangular outer frame region in contact with the heat source body region is obtained.

次いで、歩行者候補領域特定部22は、画像データを構成する画素の縦方向および横方向の個数、並びに、遠赤外線カメラ11のレンズの焦点距離を考慮して、外枠領域の幅が所定値より大きいような熱源体領域を、歩行者候補領域から除外する(ステップ502)。たとえば、画素の個数およびレンズの焦点距離により、外枠領域の実際の大きさを把握することができる。そこで、歩行者が横に並んだとしても通常考えられない幅(たとえば、数m以上)に相当する外枠領域については、歩行者候補領域から除外している。無論、縦方向についても同様の判断を行なって良い。   Next, the pedestrian candidate area specifying unit 22 considers the number of pixels constituting the image data in the vertical direction and the horizontal direction, and the focal length of the lens of the far-infrared camera 11, and the width of the outer frame area is a predetermined value. The larger heat source body region is excluded from the pedestrian candidate region (step 502). For example, the actual size of the outer frame region can be grasped from the number of pixels and the focal length of the lens. Therefore, an outer frame region corresponding to a width that is not normally considered even if pedestrians are arranged side by side (for example, several meters or more) is excluded from the pedestrian candidate regions. Of course, the same judgment may be made for the vertical direction.

歩行者候補領域特定部22は、外径領域の縦横比(縦の長さ/横幅)が、所定より小さい熱源体領域を、歩行者候補領域から除外する(ステップ503)。これは、歩行者が横に並んだとしても、或いは、歩行者の一部が隠れていたとしても、横幅が縦の長さの数倍になる可能性が小さいという判断に基づいている。   The pedestrian candidate area specifying unit 22 excludes, from the pedestrian candidate area, heat source body areas in which the aspect ratio (vertical length / width) of the outer diameter area is smaller than a predetermined value (step 503). This is based on the judgment that the possibility that the horizontal width is several times the vertical length is small even if the pedestrians are arranged side by side or even if a part of the pedestrians is hidden.

また、歩行者候補領域特定部22は、各熱源体領域の重心位置の座標および中心位置の座標を算出する(ステップ504)。熱源体領域の重心位置のx座標、および、y座標は以下のように算出され得る。
重心位置のx座標=(1/N)・Σ(熱源体領域に含まれる画素のx座標)
重心位置のy座標=(1/N)・Σ(熱源体領域に含まれる画素のy座標)
なお、Nは、熱源体領域を構成する画素の数である。
Moreover, the pedestrian candidate area | region specific | specification part 22 calculates the coordinate of the gravity center position of each heat source body area | region, and the coordinate of a center position (step 504). The x-coordinate and y-coordinate of the gravity center position of the heat source body region can be calculated as follows.
X-coordinate of the center of gravity position = (1 / N) · Σ (x-coordinate of pixels included in the heat source region)
Y coordinate of the center of gravity position = (1 / N) · Σ (y coordinate of the pixel included in the heat source region)
N is the number of pixels constituting the heat source region.

また、熱源体領域の中心位置のx座標、および、y座標は以下のように算出され得る。
中心位置のx座標=(1/2)・(xmin+xmax)
中心位置のy座標=(1/2)・(ymin+ymax)
歩行者候補領域特定部22は、重心位置のx座標と、中心位置のx座標との相違が所定の範囲外、つまり|(重心位置のx座標)−(中心位置のx座標)|>所定値であるような熱源体領域を、歩行者候補領域から除外する(ステップ505)。また、歩行者候補領域特定部22は、重心位置のy座標が中心位置のy座標より下、つまり、(重心位置のy座標)<(中心位置のy座標)であるような熱源体領域を、歩行者候補領域から除外する(ステップ506)。これにより、除外されなかった熱源体領域が歩行者候補領域となり、RAM16に格納された歩行者候補領域の情報が、次の歩行者判定部23による処理にて参照される。
Further, the x coordinate and the y coordinate of the center position of the heat source body region can be calculated as follows.
X coordinate of center position = (1/2) · (xmin + xmax)
Center position y coordinate = (1/2) · (ymin + ymax)
The pedestrian candidate region specifying unit 22 determines that the difference between the x-coordinate of the center of gravity position and the x-coordinate of the center position is outside a predetermined range, that is, | (x coordinate of the center of gravity position) − (x coordinate of the center position) | The heat source body region having a value is excluded from the pedestrian candidate regions (step 505). Further, the pedestrian candidate region specifying unit 22 selects a heat source region where the y coordinate of the center of gravity is below the y coordinate of the center, that is, (y coordinate of the center of gravity) <(y coordinate of the center). The pedestrian candidate area is excluded (step 506). As a result, the heat source region that has not been excluded becomes a pedestrian candidate region, and information on the pedestrian candidate region stored in the RAM 16 is referred to in the next processing by the pedestrian determination unit 23.

なお、本実施の形態にかかる歩行者候補領域特定処理では、外径領域の幅、外径領域の縦横比、重心位置および中心位置のx座標、並びに、重心位置および中心位置のy座標に基づいて、熱源体領域から歩行者候補領域を絞り込んでいる。しかしながら、絞込みのための所定値や所定範囲は、あまり感度の良いものでなくても良い。つまり、歩行者候補領域特定処理では、多くの熱源体領域を除外する必要は無い。また、上記全ての絞込みを行なわなくても良い。本実施の形態においては、次に実行される歩行者判定部23における処理が、歩行者認識の主たるものであり、歩行者候補領域特定処理はその前処理である。そこで、歩行者候補領域特定処理においては、あまり厳密に歩行者候補領域を絞り込む必要が無い。   In the pedestrian candidate area specifying process according to the present embodiment, based on the width of the outer diameter area, the aspect ratio of the outer diameter area, the x coordinate of the centroid position and the center position, and the y coordinate of the centroid position and the center position. Thus, the pedestrian candidate area is narrowed down from the heat source body area. However, the predetermined value and the predetermined range for narrowing down may not be very sensitive. That is, in the pedestrian candidate area specifying process, it is not necessary to exclude many heat source body areas. Moreover, it is not necessary to perform all the above-mentioned narrowing down. In the present embodiment, the process performed in the pedestrian determination unit 23 to be executed next is the main process for pedestrian recognition, and the pedestrian candidate area specifying process is a pre-process. Therefore, in the pedestrian candidate area specifying process, it is not necessary to narrow down the pedestrian candidate areas very strictly.

次に、歩行者判定部23における処理について説明する。図6は、本実施の形態にかかる第1判定処理部における第1の判定処理の例を示すフローチャートである。図6に示すように、第1判定処理部34は、RAM16から処理対象となる歩行者候補領域の情報を取得する(ステップ601)。第1判定処理部34は、歩行者候補領域における画素のデータ値に基づいて、値ごとのヒストグラムを生成する(ステップ602)。前述したように、画素のデータ値は、低温値、中温値、および、高温値の何れかである。たとえば、ヒストグラムにおいては、低温値、中温値、高温値を有する画素数の割合が示される。   Next, processing in the pedestrian determination unit 23 will be described. FIG. 6 is a flowchart illustrating an example of the first determination process in the first determination processing unit according to the present embodiment. As illustrated in FIG. 6, the first determination processing unit 34 acquires information on a pedestrian candidate area to be processed from the RAM 16 (step 601). The first determination processing unit 34 generates a histogram for each value based on the pixel data value in the pedestrian candidate area (step 602). As described above, the pixel data value is one of a low temperature value, a medium temperature value, and a high temperature value. For example, in the histogram, the ratio of the number of pixels having a low temperature value, a medium temperature value, and a high temperature value is shown.

第1判定処理部34は、各値の画素数の割合が、それぞれ、予め定められた範囲内であるかを判断する(ステップ603)。図7は、画像データにおいて実際の歩行者の領域についてのヒストグラムおよび歩行者以外(人工物)の領域についてのヒストグラムの例である。図7において、符号701〜703が歩行者の領域についてのヒストグラムを示し、符号711〜713が人工物の領域についてのヒストグラムを示す。   The first determination processing unit 34 determines whether the ratio of the number of pixels of each value is within a predetermined range (step 603). FIG. 7 is an example of a histogram for an actual pedestrian area and a histogram for an area other than a pedestrian (artifact) in the image data. In FIG. 7, reference numerals 701 to 703 indicate histograms for the pedestrian area, and reference numerals 711 to 713 indicate histograms for the artifact area.

図7に示すように、人工物の領域は、歩行者の領域と比較すると、特定の値に値が偏る傾向がある。本実施の形態では、予め多数の画像データから実際に歩行者の領域を切り出して、低温値〜高温値の割合を求めて、歩行者の領域における各値の範囲を取得している。この取得された値の範囲は、RAM16に格納されている。図7において、符号721、722、723で示す範囲が、それぞれ、歩行者の領域と考えられる高温値、中温値および低温値の値の範囲である。   As shown in FIG. 7, the artificial region tends to be biased to a specific value as compared to the pedestrian region. In the present embodiment, a pedestrian region is actually cut out from a large number of image data in advance, and a ratio between a low temperature value and a high temperature value is obtained, and a range of each value in the pedestrian region is acquired. The acquired value range is stored in the RAM 16. In FIG. 7, ranges indicated by reference numerals 721, 722, and 723 are ranges of high temperature values, medium temperature values, and low temperature values that are considered to be pedestrian regions, respectively.

第1判定処理部34は、各値の画素数の割合が、それぞれ、定められた範囲内であるかを判断して、全てが範囲内であれば(ステップ604でYes)、RAM16中の歩行者候補領域の情報を残す(ステップ605)。これは、RAM16中の当該歩行者候補領域の情報を削除せずそのままにしておけば良い。その一方、ステップ604でNoと判断された場合には、第1判定処理部34は、RAM16中の歩行者候補領域の情報を削除する(ステップ606)。その後、第1判定処理部34は、RAM16中の歩行者候補領域の情報を参照して、全ての歩行者候補領域について処理を終了したかを判断する(ステップ607)。ステップ607でNoと判断された場合には、ステップ601に戻る。その一方、ステップ607でYesと判断された場合には、第1の判定処理が終了される。   The first determination processing unit 34 determines whether the ratio of the number of pixels of each value is within a predetermined range, and if all are within the range (Yes in Step 604), walking in the RAM 16 Information on the candidate area is left (step 605). This may be performed without deleting the information on the candidate pedestrian area in the RAM 16. On the other hand, when it is determined No in step 604, the first determination processing unit 34 deletes the information on the pedestrian candidate area in the RAM 16 (step 606). Thereafter, the first determination processing unit 34 refers to the information on the pedestrian candidate areas in the RAM 16 and determines whether the process has been completed for all the pedestrian candidate areas (step 607). If NO is determined in step 607, the process returns to step 601. On the other hand, if it is determined Yes in step 607, the first determination process is terminated.

次いで、第2判定処理部35が、第2の判定処理を実行する。図8は、本実施の形態にかかる第2判定処理部における第2の判定処理の例を示すフローチャートである。図8に示すように、第2判定処理部35は、RAM16から処理対象となる歩行者候補領域の情報を取得する(ステップ601)。第2判定処理部35は、歩行者候補領域の情報中、各画素のx座標およびy座標を参照して、歩行者候補領域におけるx座標の最小値xmin、最大値xmax、y座標の最小値ymin、最大値ymaxを取得し、(xmin,ymin)、(xmin,ymax)、(xmax,ymin)および(xmax,ymax)の4点にて画定される歩行者候補領域の外枠領域を特定する(ステップ802)。これは、図5のステップ501と略同様の処理である。ステップ802により、歩行者候補領域と接する矩形の外枠領域が得られる。   Next, the second determination processing unit 35 executes a second determination process. FIG. 8 is a flowchart illustrating an example of the second determination process in the second determination processing unit according to the present embodiment. As illustrated in FIG. 8, the second determination processing unit 35 acquires information on a pedestrian candidate area to be processed from the RAM 16 (step 601). The second determination processing unit 35 refers to the x-coordinate and y-coordinate of each pixel in the pedestrian candidate area information, and the x-coordinate minimum value xmin, the maximum value xmax, and the y-coordinate minimum value in the pedestrian candidate area. ymin, the maximum value ymax is acquired, and the outer frame area of the pedestrian candidate area defined by the four points (xmin, ymin), (xmin, ymax), (xmax, ymin) and (xmax, ymax) is specified (Step 802). This is substantially the same processing as step 501 in FIG. By step 802, a rectangular outer frame area in contact with the pedestrian candidate area is obtained.

次いで、第2判定処理部35は、外枠領域を複数のブロックに分割して、各ブロックに属する画素を特定する(ステップ803)。ブロックの数は、たとえば、3×3=9であれば良い。或いは、外枠領域のサイズおよび縦横比に応じて、縦、横とも、所定の範囲(たとえば2〜4)の範囲で変更可能としても良い。以下、ブロック数を9とした場合を説明する。図9(a)、(b)は、画像データ中において抽出された歩行者候補領域、外枠領域およびブロックの例を説明する図である。図9(a)では、元の画像データ900に、歩行者候補領域の外縁を示す曲線911、外枠およびブロックを規定する直線910が重ねられている。   Next, the second determination processing unit 35 divides the outer frame area into a plurality of blocks, and specifies pixels belonging to each block (step 803). The number of blocks may be 3 × 3 = 9, for example. Or according to the size and aspect ratio of an outer frame area | region, it is good also as changeable in the range of a predetermined range (for example, 2-4) both in length and width. Hereinafter, a case where the number of blocks is 9 will be described. FIGS. 9A and 9B are diagrams illustrating examples of pedestrian candidate regions, outer frame regions, and blocks extracted in the image data. In FIG. 9A, the original image data 900 is overlaid with a curve 911 indicating the outer edge of the pedestrian candidate area, and a straight line 910 defining the outer frame and the block.

第2判定処理部35は、ブロックごとに当該ブロックに含まれる歩行者候補領域を構成する画素のデータ値の平均値を算出する(ステップ804)。図9(b)では、たとえば、左上段のブロックに含まれる歩行者候補領域921の画素のデータ値についての平均値、中央上段のブロックに含まれる歩行者候補領域922の画素のデータ値についての平均値などが算出される。   The second determination processing unit 35 calculates the average value of the data values of the pixels constituting the pedestrian candidate area included in the block for each block (step 804). In FIG. 9B, for example, the average value of the pixel data values of the pedestrian candidate area 921 included in the upper left block and the data value of the pixels of the pedestrian candidate area 922 included in the upper central block. An average value is calculated.

次いで、第2判定処理部35は、各ブロックの平均値の横方向における変化を示す指標値を取得する(ステップ805)。図9(b)において、たとえば、左上段のブロックに含まれる歩行者候補領域921、中央上段のブロックに含まれる歩行者候補領域922、右上段のブロックに含まれる歩行者候補領域923のそれぞれについて、平均値の変化を示す指標値(第1の指標値)が取得される。中段、下段についても同様に平均値の変化を示す指標値が取得される。横方向については、平均値の変化を示す指標値として、たとえば、平均値の最大値と最小値との差の絶対値(|最大値−最小値|)を用いることができる。   Next, the second determination processing unit 35 acquires an index value indicating a change in the horizontal direction of the average value of each block (step 805). 9B, for example, each of the pedestrian candidate area 921 included in the upper left block, the pedestrian candidate area 922 included in the upper central block, and the pedestrian candidate area 923 included in the upper right block. Then, an index value (first index value) indicating a change in average value is acquired. Similarly, an index value indicating a change in average value is acquired for the middle and lower stages. In the horizontal direction, for example, an absolute value (| maximum value−minimum value |) of the difference between the maximum value and the minimum value of the average value can be used as the index value indicating the change of the average value.

また、第2判定処理部35は、各ブロックの平均値の縦方向における変化を示す指標値を取得する(ステップ806)。図9(b)において、たとえば、左上段のブロックに含まれる歩行者候補領域921、左中段のブロックに含まれる歩行者候補領域931、左下段のブロックに含まれる歩行者候補領域932のそれぞれについて、平均値の変化を示す指標値(第2の指標値)が取得される。中央の列、および、右列についても、同様に平均値の変化を示す指標値が取得される。縦方向については、平均値の変化を示す指標値として、(上側に位置するブロックについての平均値)−(下側に位置するブロックについての平均値)を用いることができる。   Further, the second determination processing unit 35 acquires an index value indicating a change in the average value of each block in the vertical direction (step 806). In FIG. 9B, for example, each of the pedestrian candidate area 921 included in the upper left block, the pedestrian candidate area 931 included in the middle left block, and the pedestrian candidate area 932 included in the lower left block. Then, an index value (second index value) indicating a change in average value is acquired. Similarly, an index value indicating a change in average value is acquired for the center column and the right column. For the vertical direction, as an index value indicating a change in average value, (average value for the block located on the upper side) − (average value for the block located on the lower side) can be used.

第2判定処理部35は、上段、中段、下段のそれぞれの、横方向についての平均値の変化を示す第1の指標値が、所定の第1の条件に合致し、かつ、左列、中央の列、右列のそれぞれの、縦方向についての平均値の変化を示す第2の指標値が、所定の第2の条件に合致しているかを判断する(ステップ807)。   In the second determination processing unit 35, the first index value indicating the change in the average value in the horizontal direction in each of the upper, middle, and lower stages matches the predetermined first condition, and the left column, the center It is determined whether the second index value indicating the change in the average value in the vertical direction of each of the columns and the right column meets a predetermined second condition (step 807).

本実施の形態において、たとえば、第1の条件は、第1の指標値が、所定の閾値よりも小さいことである。つまり、横方向については、平均値の変化が、所定よりも小さいこと、つまり、平均値がほぼ一定であることが条件となる。また、第2の条件は、第2の指標値が正の値であることである。つまり、縦方向については、平均値が、上から下に向かって減少している(温度が上から下に向かって減少する傾向がある)ことが条件となる。   In the present embodiment, for example, the first condition is that the first index value is smaller than a predetermined threshold value. That is, in the horizontal direction, the condition is that the change in average value is smaller than a predetermined value, that is, the average value is substantially constant. The second condition is that the second index value is a positive value. That is, in the vertical direction, the condition is that the average value decreases from top to bottom (temperature tends to decrease from top to bottom).

ステップ807でYesと判断された場合には、第2判定処理部35は、RAM16中の歩行者候補領域の情報を残す(ステップ808)。その一方、ステップ807でNoと判断された場合には、第2判定処理部35は、RAM16中の歩行者候補領域の情報を削除する(ステップ809)。その後、第2判定処理部35は、RAM16中の歩行者候補領域の情報を参照して、全ての歩行者候補領域について処理を終了したかを判断する(ステップ810)。ステップ810でNoと判断された場合には、ステップ801に戻る。その一方、ステップ810でYesと判断された場合には、第2の判定処理が終了される。   When it is determined Yes in step 807, the second determination processing unit 35 leaves information on the pedestrian candidate area in the RAM 16 (step 808). On the other hand, when it is determined No in step 807, the second determination processing unit 35 deletes the information on the pedestrian candidate area in the RAM 16 (step 809). Thereafter, the second determination processing unit 35 refers to the information on the pedestrian candidate areas in the RAM 16 and determines whether the process has been completed for all the pedestrian candidate areas (step 810). If NO is determined in step 810, the process returns to step 801. On the other hand, if it is determined Yes in step 810, the second determination process is terminated.

次いで、第3判定処理部36が、第3の判定処理を実行する。図10は、本実施の形態にかかる第3判定処理部による第3の判定処理の例を示すフローチャートである。図10に示すように、第3判定処理部36は、RAM16から処理対象となる歩行者候補領域の情報を取得する(ステップ1001)。第3判定処理部36は、歩行者候補領域の情報を参照して、値ごと、つまり、高温値、中温値および低温値のそれぞれについて、重心位置の座標を取得する(ステップ1002)。同じ値を有するM個の画素のx座標、y座標は、それぞれ以下のように求められ得る。
重心位置のx座標=(1/M)・Σ(同じ値を有する画素のx座標)
重心位置のy座標=(1/M)・Σ(同じ値を有する画素のy座標)
第3判定処理部36は、各値についての重心位置のx座標を比較し(ステップ1003)、
各値の重心位置のx座標が所定範囲内に隣接しているかを判断する(ステップ1004)。ステップ1004においては、たとえば、x座標の最大値とx座標の最小値との差の絶対値(|x座標の最大値−x座標の最小値|)が算出され、当該差の絶対値が所定の閾値より小さいかが判断される。ステップ1004でYesと判断された場合には、第3判定処理部は、各値についての重心位置のy座標を比較し(ステップ1005)、高温側の値になるのにしたがって、y座標がより大きいかを判断する(ステップ1006)。ステップ1006では、(高温値についてのy座標)>(中温値についてのy座標)>(低温値についてのy座標)が成立しているかが判断される。
Next, the third determination processing unit 36 executes a third determination process. FIG. 10 is a flowchart illustrating an example of the third determination process by the third determination processing unit according to the present embodiment. As illustrated in FIG. 10, the third determination processing unit 36 acquires information on a pedestrian candidate area to be processed from the RAM 16 (step 1001). The third determination processing unit 36 refers to the information on the pedestrian candidate area, and acquires the coordinates of the center of gravity position for each value, that is, for each of the high temperature value, the medium temperature value, and the low temperature value (step 1002). The x coordinate and y coordinate of M pixels having the same value can be obtained as follows.
X coordinate of centroid position = (1 / M) · Σ (x coordinate of pixels having the same value)
Y coordinate of the center of gravity position = (1 / M) · Σ (y coordinate of pixels having the same value)
The third determination processing unit 36 compares the x-coordinates of the centroid positions for each value (step 1003),
It is determined whether the x-coordinates of the centroid positions of the respective values are adjacent within a predetermined range (step 1004). In step 1004, for example, the absolute value of the difference between the maximum value of the x coordinate and the minimum value of the x coordinate (| the maximum value of the x coordinate−the minimum value of the x coordinate |) is calculated, and the absolute value of the difference is predetermined. It is judged whether it is smaller than the threshold value. When it is determined Yes in step 1004, the third determination processing unit compares the y-coordinates of the centroid positions for the respective values (step 1005), and the y-coordinate becomes more as the value becomes higher. It is determined whether it is larger (step 1006). In step 1006, it is determined whether (y coordinate for high temperature value)> (y coordinate for medium temperature value)> (y coordinate for low temperature value) is satisfied.

ステップ1006でYesと判断された場合には、第3判定処理部36は、RAM16 の歩行者候補領域の情報を残す(ステップ1007)。その一方、ステップ1004でNoと判断された場合、或いは、ステップ1006でNoと判断された場合には、第3判定処理部36は、RAM16中の歩行者候補領域の情報を削除する(ステップ1008)。その後、第3判定処理部36は、RAM16中の歩行者候補領域の情報を参照して、全ての歩行者候補領域について処理を終了したかを判断する(ステップ1009)。ステップ1009でNoと判断された場合には、ステップ1001に戻る。   If it is determined Yes in step 1006, the third determination processing unit 36 leaves information on the pedestrian candidate area in the RAM 16 (step 1007). On the other hand, if it is determined No in step 1004 or if it is determined No in step 1006, the third determination processing unit 36 deletes the information on the pedestrian candidate area in the RAM 16 (step 1008). ). Thereafter, the third determination processing unit 36 refers to the information on the pedestrian candidate areas in the RAM 16 and determines whether the process has been completed for all the pedestrian candidate areas (step 1009). If NO in step 1009, the process returns to step 1001.

ステップ1009でYesと判断された場合には、第3判定処理部36は、RAM16に格納された歩行者候補領域の情報を、最終的な歩行者領域の情報とする(ステップ1010)。ステップ1010では、歩行者候補領域の情報を新たに歩行者領域の情報として、RAM16に格納しても良いし、歩行者候補領域の情報に、歩行者領域確定フラグを設け、当該歩行者領域確定フラグを「1」にセットしても良い。   When it is determined Yes in step 1009, the third determination processing unit 36 uses information on the pedestrian candidate area stored in the RAM 16 as final pedestrian area information (step 1010). In step 1010, information on the pedestrian candidate area may be newly stored in the RAM 16 as information on the pedestrian area, or a pedestrian area confirmation flag is provided in the information on the pedestrian candidate area to confirm the pedestrian area. The flag may be set to “1”.

図11は、歩行者候補領域および値ごとの重心位置の例を示す図である。図11において、歩行者候補領域1100の、高温値についての重心位置、中温値についての重心位置および低温値についての重心位置が、それぞれ、符号1101、1102、1103で示されている。高温値についての重心位置の座標は(X4,Y4)、中温値についての重心位置の座標は(X3,Y3)、低温値についての重心位置の座標は(X2,Y2)である。   FIG. 11 is a diagram illustrating an example of a pedestrian candidate region and a barycentric position for each value. In FIG. 11, the centroid position for the high temperature value, the centroid position for the medium temperature value, and the centroid position for the low temperature value of the pedestrian candidate area 1100 are indicated by reference numerals 1101, 1102, and 1103, respectively. The coordinates of the centroid position for the high temperature value are (X4, Y4), the coordinates of the centroid position for the medium temperature value are (X3, Y3), and the coordinates of the centroid position for the low temperature value are (X2, Y2).

ステップ1004では、x座標の最大値X3と、最小値X2とが比較され、X3−X2が、所定の閾値Xthより小さいと判断される。また、ステップ1006では、y座標が比較され、Y4>Y3>Y2が成立していると判断される。したがって、図11に示す歩行者候補領域1100は、重心位置についての条件を満たすため、歩行者領域と判断される。   In step 1004, the maximum value X3 of the x coordinate and the minimum value X2 are compared, and it is determined that X3-X2 is smaller than a predetermined threshold value Xth. In step 1006, the y-coordinates are compared, and it is determined that Y4> Y3> Y2 holds. Therefore, the pedestrian candidate area 1100 shown in FIG. 11 is determined as a pedestrian area because the condition for the center of gravity position is satisfied.

歩行者判定部23における処理が終了すると、表示画像生成部24は、RAM16から歩行者領域の情報を取得して、画像データに、歩行者領域を囲む枠を付与して、枠が付された画像データを、表示部15に出力する。これにより、表示部15の画面上には、歩行者領域を枠で囲んで強調した画像が表示される。   When the processing in the pedestrian determination unit 23 is completed, the display image generation unit 24 acquires information on the pedestrian area from the RAM 16, adds a frame surrounding the pedestrian area to the image data, and adds the frame. The image data is output to the display unit 15. Thereby, on the screen of the display part 15, the image which surrounded and highlighted the pedestrian area | region is displayed.

図12(a)、(b)は、それぞれ、画像データの例を示す図である。図12(a)において、画像1200においては、複数の歩行者候補領域(たとえば、符号1202、1202、1203参照)が存在する。処理の結果、歩行者候補領域1201が歩行者領域であると判断され、図12(b)に示すように、画像1210において、歩行者領域の枠1211が付加される。   12A and 12B are diagrams illustrating examples of image data. In FIG. 12A, in an image 1200, there are a plurality of pedestrian candidate areas (see, for example, reference numerals 1202, 1202, and 1203). As a result of the processing, it is determined that the pedestrian candidate area 1201 is a pedestrian area, and a pedestrian area frame 1211 is added to the image 1210 as shown in FIG.

次に本発明の第2の実施の形態について説明する。第1の実施の形態においては、第2判定処理において、外枠領域を複数のブロックに分割し、各ブロックに含まれる歩行者候補領域を構成する画素のデータ値の平均値を算出し、平均値の傾向を見ることで、歩行者候補領域の絞込みを行なっている。第2の実施の形態では、各ブロックの温度分布を取得して、温度分布の傾向から、歩行者候補領域の絞込みを行なう。熱源体領域抽出部21による処理、歩行者候補領域特定部22による処理は、第1の実施の形態のものと同様である。また、歩行者判定部23における第1判定処理部34および第3判定処理部26における処理も、第1の実施の形態のものと同様である。   Next, a second embodiment of the present invention will be described. In the first embodiment, in the second determination process, the outer frame area is divided into a plurality of blocks, and the average value of the data values of the pixels constituting the pedestrian candidate area included in each block is calculated. The pedestrian candidate area is narrowed down by looking at the value trends. In the second embodiment, the temperature distribution of each block is acquired, and the pedestrian candidate area is narrowed down from the tendency of the temperature distribution. The processing by the heat source body region extraction unit 21 and the processing by the pedestrian candidate region specification unit 22 are the same as those in the first embodiment. The processing in the first determination processing unit 34 and the third determination processing unit 26 in the pedestrian determination unit 23 is the same as that in the first embodiment.

図13は、本発明の第2の実施の形態にかかる第2判定処理の例を示すフローチャートである。図13において、ステップ1301〜1303は、第1の実施の形態と同様である。ステップ1303の後、第2判定処理部35は、各ブロックにおいて、当該ブロックに含まれる歩行者候補領域を校正する画素のデータ値に基づいて、値ごとのヒストグラムを生成する(ステップ1304)。画素のデータ値は、低温値、中温値、および、高温値の何れかであるため、たとえば、ヒストグラムにおいては、低温値、中温値、高温値を有する画素数の割合が示される。本実施の形態では、外枠領域は9つのブロックに分割されるため、9つのヒストグラムが生成される。   FIG. 13 is a flowchart illustrating an example of the second determination process according to the second embodiment of the present invention. In FIG. 13, steps 1301 to 1303 are the same as those in the first embodiment. After step 1303, in each block, the second determination processing unit 35 generates a histogram for each value based on the data value of the pixel that calibrates the pedestrian candidate area included in the block (step 1304). Since the data value of the pixel is one of a low temperature value, a medium temperature value, and a high temperature value, for example, the histogram shows the ratio of the number of pixels having a low temperature value, a medium temperature value, and a high temperature value. In the present embodiment, since the outer frame area is divided into nine blocks, nine histograms are generated.

次いで、第2判定処理部35は、横方向のブロックの度数の割合の変化を示す指標値(第3の指標値)を取得する(ステップ1305)。また、第2判定処理部35は、縦方向のブロックの度数の割合の変化を示す指標値(第4の指標値)を取得する(ステップ1306)。第2判定部35は、第3の指標値の全てが所定の第3の条件にしがっており、かつ、第4の指標値の全てが所定の第4の条件にしたがっているかを判断する(ステップ1307)。   Next, the second determination processing unit 35 acquires an index value (third index value) indicating a change in the frequency ratio of the horizontal blocks (step 1305). Further, the second determination processing unit 35 acquires an index value (fourth index value) indicating a change in the frequency ratio of the vertical blocks (step 1306). The second determination unit 35 determines whether all of the third index values are in accordance with a predetermined third condition and whether all of the fourth index values are in accordance with a predetermined fourth condition ( Step 1307).

図14(a)は、外枠領域および分割されたブロックの例を示す図、図14(b)は、各ブロックに関するヒストグラムの例を示す図である。図14(b)においては、図14(a)に示すように外枠領域1400を9つに分割したブロックA11〜A13のうち、A11〜A13(符号1411〜1413)、A21およびA31(符号1421、1431)についてのヒストグラムを例示している。   FIG. 14A is a diagram illustrating an example of an outer frame region and divided blocks, and FIG. 14B is a diagram illustrating an example of a histogram related to each block. 14B, among the blocks A11 to A13 obtained by dividing the outer frame region 1400 into nine as shown in FIG. 14A, A11 to A13 (reference numerals 1411 to 1413), A21 and A31 (reference numeral 1421). , 1431).

たとえば、第3の指標値として、横方向の各値について、度数の割合の最大値と最小値との差の絶対値を用いることができる。図14(b)の例では、上段のブロックについて、度数の割合の最大値と最小値との差の絶対値として、それぞれ、以下の値が算出される。
|V4(A11)−V4(A12)|
|V3(A13)−V3(A11)|
|V2(A13)−V3(A12)|
横方向については、上記差の絶対値(第3の指標値)が、所定の閾値より小さい場合に、第3の条件にしたがっていると判断される。中段および下段についても同様に、第3の指標値が算出され、所定の閾値よりも小さいかが判断される。
For example, as the third index value, the absolute value of the difference between the maximum value and the minimum value of the frequency ratio can be used for each value in the horizontal direction. In the example of FIG. 14B, the following values are calculated as absolute values of the difference between the maximum value and the minimum value of the frequency ratio for the upper block.
| V4 (A11) -V4 (A12) |
| V3 (A13) -V3 (A11) |
| V2 (A13) -V3 (A12) |
Regarding the horizontal direction, when the absolute value of the difference (third index value) is smaller than a predetermined threshold, it is determined that the third condition is being followed. Similarly, the third index value is calculated for the middle stage and the lower stage, and it is determined whether it is smaller than a predetermined threshold value.

また、第4の指標値として、縦方向に隣接するブロックの高温値および低温値について、(上側に位置するブロックの度数の割合)−(下側に位置する度数の割合)を用いることができる。図14(b)の例では、左列のブロックについて、(上側に位置するブロックの度数の割合)−(下側に位置する度数の割合)として以下の値が算出される。
V4(A11)−V4(A21)
V2(A11)−V2(A21)
V4(A21)−V4(A31)
V2(A21)−V2(A31)
縦方向については、高温値V4は、上から下に向かって減少し、低音値V2は、上から下の向かって上昇する場合に第4の条件にしたがっていると判断される。つまり、左列のブロックでは、
V4(A11)−V4(A21)>0、V4(A21)−V4(A31)>0、かつ、
V2(A11)−V2(A21)<0、V2(A21)−V2(A31)<0であることが、第4の条件となる。
As the fourth index value, (the ratio of the frequency of the block positioned on the upper side) − (the ratio of the frequency positioned on the lower side) can be used for the high temperature value and the low temperature value of the block adjacent in the vertical direction. . In the example of FIG. 14B, the following values are calculated as (the ratio of the frequency of the block positioned on the upper side) − (the ratio of the frequency positioned on the lower side) for the block in the left column.
V4 (A11) -V4 (A21)
V2 (A11) -V2 (A21)
V4 (A21) -V4 (A31)
V2 (A21) -V2 (A31)
Regarding the vertical direction, the high temperature value V4 decreases from the top to the bottom, and the low sound value V2 is determined to comply with the fourth condition when rising from the top to the bottom. In other words, in the left column block,
V4 (A11) -V4 (A21)> 0, V4 (A21) -V4 (A31)> 0, and
The fourth condition is that V2 (A11) −V2 (A21) <0 and V2 (A21) −V2 (A31) <0.

ステップ1307でYesと判断された場合には、第2判定処理部35は、RAM16中の歩行者候補領域の情報を残す(ステップ1308)。その一方、ステップ1307でNoと判断された場合には、第2判定処理部35は、RAM16中の歩行者候補領域の情報を削除する(ステップ1309)。その後、第2判定処理部35は、RAM16中の歩行者候補領域の情報を参照して、全ての歩行者候補領域について処理を終了したかを判断する(ステップ1310)。ステップ1310でNoと判断された場合には、ステップ1301に戻る。その一方、ステップ1310でYesと判断された場合には、第2の判定処理が終了される。   If it is determined Yes in step 1307, the second determination processing unit 35 leaves information on the pedestrian candidate area in the RAM 16 (step 1308). On the other hand, if it is determined No in step 1307, the second determination processing unit 35 deletes the information on the pedestrian candidate area in the RAM 16 (step 1309). Thereafter, the second determination processing unit 35 refers to the information on the pedestrian candidate areas in the RAM 16 and determines whether the process has been completed for all the pedestrian candidate areas (step 1310). If it is determined No in step 1310, the process returns to step 1301. On the other hand, if it is determined Yes in step 1310, the second determination process is terminated.

本発明は、以上の実施の形態に限定されることなく、特許請求の範囲に記載された発明の範囲内で、種々の変更が可能であり、それらも本発明の範囲内に包含されるものであることは言うまでもない。   The present invention is not limited to the above embodiments, and various modifications can be made within the scope of the invention described in the claims, and these are also included in the scope of the present invention. Needless to say.

たとえば、第1の実施の形態の第2の判定処理では、横方向における変化を示す第1の指標値として、平均値の最大値と最小値との差の絶対値を用いていたが、これに限定されず、隣接するブロックの平均値の差の絶対値を用いても良い。この場合、第1の条件は、上記平均値の差の絶対値の全てが、所定の閾値よりも小さいことになる。   For example, in the second determination process of the first embodiment, the absolute value of the difference between the maximum value and the minimum value of the average value is used as the first index value indicating the change in the horizontal direction. The absolute value of the difference between the average values of adjacent blocks may be used. In this case, the first condition is that all the absolute values of the difference between the average values are smaller than a predetermined threshold value.

また、第2の実施の形態にかかる第2の判定処理では、横方向における変化を示す第3の指標値として、度数の割合の最大値と最小値との差の絶対値を用いていた。しかしながら、これに限定されず、たとえば、第3の指標値として、横方向で隣接するブロックの各値について、隣接する値に関する度数の割合の差の絶対値を用いることができる。図14(b)の例では、上段のブロックについて、隣接する値に関する度数の割合の差の絶対値として、以下の値が算出される。
|V4(A11)−V4(A12)|
|V3(A11)−V3(A12)|
|V2(A11)−V3(A12)|
|V4(A12)−V4(A13)|
|V3(A12)−V3(A13)|
|V2(A12)−V3(A13)|
この例では、横方向について、上記差の絶対値が、所定の閾値より小さい場合に、第3の条件にしたがっていると判断される。中段および下段についても同様に、第3の指標値が算出され、所定の閾値よりも小さいかが判断される。
In the second determination process according to the second embodiment, the absolute value of the difference between the maximum value and the minimum value of the frequency ratio is used as the third index value indicating the change in the horizontal direction. However, the present invention is not limited to this. For example, as the third index value, the absolute value of the frequency ratio difference between adjacent values can be used for each value of the adjacent blocks in the horizontal direction. In the example of FIG. 14B, the following values are calculated as the absolute value of the frequency ratio difference between adjacent values for the upper block.
| V4 (A11) -V4 (A12) |
| V3 (A11) -V3 (A12) |
| V2 (A11) -V3 (A12) |
| V4 (A12) -V4 (A13) |
| V3 (A12) -V3 (A13) |
| V2 (A12) -V3 (A13) |
In this example, in the horizontal direction, when the absolute value of the difference is smaller than a predetermined threshold, it is determined that the third condition is being followed. Similarly, the third index value is calculated for the middle stage and the lower stage, and it is determined whether it is smaller than a predetermined threshold value.

また、本発明においては、遠赤外線カメラにより撮影された画像データを4値化して、4値化された新たな画像データが得られているが、これに限定されるものではなく3値化された新たな画像データや、5値化以上の値を有する新たな画像データが生成され、新たな画像データが処理に利用されても良い。   In the present invention, the image data captured by the far-infrared camera is converted into four values to obtain new four-valued image data. However, the present invention is not limited to this and is converted into three values. New image data or new image data having a value of five or more values may be generated, and the new image data may be used for processing.

10 画像処理システム
11 遠赤外線カメラ
12 インタフェース
13 CPU
14 入力部
15 表示部
16 RAM
17 ROM
18 歩行者認識部
21 熱源体領域抽出部
22 歩行者候補領域特定部
23 歩行者判定部
31 4値化処理部
32 ノイズ除去処理部
33 ラベリング処理部
34 第1判定処理部
35 第2判定処理部
36 第3判定処理部
DESCRIPTION OF SYMBOLS 10 Image processing system 11 Far-infrared camera 12 Interface 13 CPU
14 Input unit 15 Display unit 16 RAM
17 ROM
DESCRIPTION OF SYMBOLS 18 Pedestrian recognition part 21 Heat source body area | region extraction part 22 Pedestrian candidate area | region specific | specification part 23 Pedestrian determination part 31 Four-valued process part 32 Noise removal process part 33 Labeling process part 34 1st determination process part 35 2nd determination process part 36 Third determination processing unit

Claims (12)

赤外線カメラにより撮影された、撮影対象物の温度に基づく各画素のデータ値を含む画像データを受け入れて、前記画像データから、各画素が温度に基づく3値以上の多値のデータ値を有する、多値画像データを取得する多値画像データ取得手段と、
前記多値画像データ中、各画素のデータ値に基づいて、所定温度以上を示す画素の領域を歩行者候補領域として抽出する歩行者候補領域抽出手段と、
前記歩行者候補領域に含まれる画素のデータ値を参照して、前記データ値ごとにその度数の割合を示すヒストグラムを生成し、前記値ごとの度数の割合に基づいて、前記歩行者候補領域が歩行者に該当するかを判断する第1の判定手段と、
前記第1の判定手段により歩行者に該当すると判断された歩行者候補領域について、その外縁を取り囲む外枠領域を生成し、かつ、当該外枠領域を横方向及び縦方向に複数のブロックに分割し、ブロックごとの、当該ブロックに含まれる歩行者候補領域の画素のデータ値に基づき、前記横方向のブロックにおけるデータ値の変化を示す指標値と、前記縦方向のブロックにおけるデータ値の変化を示す指標値とに基づいて、前記歩行者候補領域が歩行者に該当するかをさらに判断する第2の判定手段と、を備えたことを特徴とする画像処理システム。
Accepting image data captured by an infrared camera and including data values of each pixel based on the temperature of the object to be imaged, and from the image data, each pixel has a multivalued data value of three or more values based on the temperature; Multi-value image data acquisition means for acquiring multi-value image data;
In the multi-value image data, based on the data value of each pixel, a pedestrian candidate area extracting unit that extracts a pixel area indicating a predetermined temperature or more as a pedestrian candidate area;
By referring to the data value of the pixel included in the pedestrian candidate area, a histogram indicating the frequency ratio for each data value is generated, and based on the frequency ratio for each value, the pedestrian candidate area is First determination means for determining whether the pedestrian is applicable;
For the pedestrian candidate area determined to be a pedestrian by the first determining means, an outer frame area surrounding the outer edge is generated, and the outer frame area is divided into a plurality of blocks in the horizontal direction and the vertical direction. Then, based on the data value of the pixel of the pedestrian candidate area included in the block for each block, the index value indicating the change in the data value in the horizontal block and the change in the data value in the vertical block An image processing system comprising: a second determination unit that further determines whether the pedestrian candidate area corresponds to a pedestrian based on an index value indicated.
前記第1の判定手段が、前記値ごとの度数の割合が、それぞれ、予め定められた所定の範囲内であるかに基づいて判断することを特徴とする請求項1に記載の画像処理システム。   The image processing system according to claim 1, wherein the first determination unit makes a determination based on whether the ratio of the frequency for each value is within a predetermined range. 前記第2の判定手段が、前記ブロックごとに、前記ブロックに含まれる歩行者候捕領域の画素のデータ値の平均値を算出し、前記横方向における平均値の変化を示す第1の指標値を算出するとともに、前記縦方向における平均値の変化を示す第2の指標値を算出することを特徴とする請求項1または2に記載の画像処理システム。   The second determination means calculates, for each block, an average value of data values of pixels of a pedestrian scavenging area included in the block, and a first index value indicating a change in the average value in the horizontal direction The image processing system according to claim 1, wherein a second index value indicating a change in average value in the vertical direction is calculated. 前記多値画像データのデータ値は、温度が高くなるのにしたがってその値が増大し、
前記第2の判定手段が、
前記第1の指標値として、前記横方向について、平均値の最大値と最小値との差を算出し、前記第1の指標値が、前記第1の指標値が所定の範囲内であるときに、第1の条件に合致すると判断し、
前記第2の指標値として、縦方向に隣接するブロックについて、上側に位置するブロックの平均値―下側に位置するブロックの平均値を算出し、前記第2の指標値が正であるときに、第2の条件に合致すると判断し
前記第1の条件および第2の条件に合致するときに、前記歩行者候補領域が歩行者に該当すると判断することを特徴とする請求項3に記載の画像処理システム。
The data value of the multi-value image data increases as the temperature increases,
The second determination means is
When the difference between the maximum value and the minimum value of the average value is calculated as the first index value in the horizontal direction, and the first index value is within a predetermined range To determine that the first condition is met,
As the second index value, for the blocks adjacent in the vertical direction, the average value of the blocks located on the upper side−the average value of the blocks located on the lower side is calculated, and when the second index value is positive 4. The method according to claim 3, wherein the pedestrian candidate area is determined to correspond to a pedestrian when the second condition is determined and the first condition and the second condition are satisfied. 5. Image processing system.
前記多値画像データのデータ値は、温度が高くなるのにしたがってその値が増大し、
前記第2の判定手段が、
前記第1の指標値として、横方向に隣接するブロックについての平均値の差を算出し、当該第1の指標値が、それぞれ、所定の範囲内であるときに、第1の条件に合致すると判断し、
前記第2の指標値として、縦方向に隣接するブロックについて、上側に位置するブロックの平均値―下側に位置するブロックの平均値を算出し、前記第2の指標値が正であるときに、第2の条件に合致すると判断し、
前記第1の条件および第2の条件に合致するときに、前記歩行者候補領域が歩行者に該当すると判断することを特徴とする請求項3に記載の画像処理システム。
The data value of the multi-value image data increases as the temperature increases,
The second determination means is
As the first index value, a difference between average values of blocks adjacent in the horizontal direction is calculated, and when the first index value is within a predetermined range, the first condition is met. Judgment
As the second index value, for the blocks adjacent in the vertical direction, the average value of the blocks located on the upper side−the average value of the blocks located on the lower side is calculated, and when the second index value is positive Judge that the second condition is met,
4. The image processing system according to claim 3, wherein when the first condition and the second condition are met, it is determined that the pedestrian candidate area corresponds to a pedestrian.
前記第2の判定手段が、
前記ブロックごとに、前記ブロックに含まれる歩行者候補領域の画素のデータ値ごとの度数の割合を算出し、前記横方向における度数の割合の変化を示す第3の指標値を算出するとともに、前記縦方向における度数の割合の変化を示す第4の指標値を算出することを特徴とする請求項1または2に記載の画像処理システム。
The second determination means is
For each block, calculate a frequency ratio for each pixel data value of the pedestrian candidate area included in the block, calculate a third index value indicating a change in the frequency ratio in the lateral direction, and The image processing system according to claim 1, wherein a fourth index value indicating a change in the frequency ratio in the vertical direction is calculated.
前記第2の判定手段が、
前記第3の指標値として、前記横方向に隣接するブロックにおいて、値ごとの度数の変化の割合の最大値と最小値との差を算出し、前記第3の指標値が、所定の範囲内であるときに、第3の条件に合致すると判断し、
前記第4の指標値として、前記縦方向に隣接するブロックにおいて、値ごとの度数の変化の割合の差を算出し、値にしたがって、前記第4の指標値が所定の同一の傾向を示すときに、第4の条件に合致すると判断し、
前記第3の条件および第4の条件に合致するときに、前記歩行者候補領域が歩行者に該当すると判断することを特徴とする請求項6に記載の画像処理システム。
The second determination means is
As the third index value, a difference between the maximum value and the minimum value of the frequency change ratio for each value in the block adjacent in the horizontal direction is calculated, and the third index value is within a predetermined range. Is determined to meet the third condition,
As the fourth index value, the blocks adjacent to the longitudinal direction, and calculates the difference between the rate of change of frequency of each value in accordance with the value, when the index value of the fourth exhibits a predetermined same trends To the fourth condition,
The image processing system according to claim 6, wherein when the third condition and the fourth condition are met, it is determined that the pedestrian candidate area corresponds to a pedestrian.
前記第2の判定手段が、
前記第3の指標値として、前記横方向に隣接するブロックにおいて、値ごとの度数の変化の割合の差を算出し、前記第3の指標値が、それぞれ、所定の範囲内であるときに、第3の条件に合致すると判断し、
前記第4の指標値として、前記縦方向に隣接するブロックにおいて、値ごとの度数の変化の割合の差を算出し、値にしたがって、前記第4の指標値が所定の同一の傾向を示すときに、第4の条件に合致すると判断し、
前記第3の条件および第4の条件に合致するときに、前記歩行者候補領域が歩行者に該当すると判断することを特徴とする請求項6に記載の画像処理システム。
The second determination means is
As the third index value, in the block adjacent in the horizontal direction, the difference in the frequency change rate for each value is calculated, and when the third index value is within a predetermined range, Judging that the third condition is met,
As the fourth index value, the blocks adjacent to the longitudinal direction, and calculates the difference between the rate of change of frequency of each value in accordance with the value, when the index value of the fourth exhibits a predetermined same trends To the fourth condition,
The image processing system according to claim 6, wherein when the third condition and the fourth condition are met, it is determined that the pedestrian candidate area corresponds to a pedestrian.
前記歩行者候補領域を構成する画素の座標および画素のデータ値を参照して、前記データ値ごとの重心位置を算出し、前記重心位置の座標に基づいて、前記歩行者候補領域が歩行者に該当するかをさらに判断する第3の判定手段を備えたことを特徴とする請求項1ないし8の何れか一項に記載の画像処理システム。   Referring to the coordinates of the pixels constituting the pedestrian candidate area and the data value of the pixel, a centroid position for each data value is calculated, and the pedestrian candidate area is determined to be a pedestrian based on the coordinates of the centroid position. The image processing system according to any one of claims 1 to 8, further comprising a third determination unit that further determines whether or not it is applicable. 前記第3の判定手段が、前記データ値ごとの重心のx座標が、所定の範囲内に隣接しているときに、前記歩行者候補領域が歩行者に該当すると判断することを特徴とする請求項9に記載の画像処理システム。   The third determining means determines that the pedestrian candidate area corresponds to a pedestrian when the x-coordinate of the center of gravity for each data value is adjacent within a predetermined range. Item 10. The image processing system according to Item 9. 前記第3の判定手段が、前記データ値ごとの重心のy座標が、温度が高いことを示すデータ値になるのにしたがって大きくなるときに、前記歩行者候補領域が歩行者に該当すると判断することを特徴とする請求項9または10に記載の画像処理システム。   The third determining means determines that the pedestrian candidate area corresponds to a pedestrian when the y-coordinate of the center of gravity for each data value increases as the data value indicates that the temperature is high. The image processing system according to claim 9 or 10, wherein 赤外線カメラにより撮影された、撮影対象物の温度に基づく各画素のデータ値を含む画像データを受け入れて、前記画像データから、各画素が温度に基づく3値以上の多値のデータ値であって、温度が高くなるのにしたがって値が増大する多値画像データを取得する多値画像データ取得ステップと、
前記多値画像データ中、各画素のデータ値に基づいて、所定温度以上を示す画素の領域を歩行者候補領域として抽出する歩行者候補領域抽出ステップと、
前記歩行者候補領域に含まれる画素のデータ値を参照して、前記データ値ごとにその度数の割合を示すヒストグラムを生成し、前記値ごとの度数の割合に基づいて、前記歩行者候補領域が歩行者に該当するかを判断する第1の判定ステップと、
前記第1の判定ステップにより歩行者に該当すると判断された歩行者候補領域について、その外縁を取り囲む外枠領域を生成し、かつ、当該外枠領域を横方向及び縦方向に複数のブロックに分割し、ブロックごとの、当該ブロックに含まれる歩行者候補領域の画素のデータ値に基づき、前記横方向のブロックにおけるデータ値の変化を示す指標値と、前記縦方向のブロックにおけるデータ値の変化を示す指標値とに基づいて、前記歩行者候補領域が歩行者に該当するかをさらに判断する第2の判定ステップと、をコンピュ一タに実行させることを特徴とする画像処理プログラム。
Accepting image data captured by an infrared camera and including data values of each pixel based on the temperature of the object to be imaged, each pixel having a multi-value data value of three or more values based on the temperature. A multi-value image data acquisition step for acquiring multi-value image data whose value increases as the temperature increases;
In the multi-value image data, based on the data value of each pixel, a pedestrian candidate area extraction step for extracting a pixel area indicating a predetermined temperature or more as a pedestrian candidate area;
By referring to the data value of the pixel included in the pedestrian candidate area, a histogram indicating the frequency ratio for each data value is generated, and based on the frequency ratio for each value, the pedestrian candidate area is A first determination step for determining whether the pedestrian is applicable;
For the pedestrian candidate area determined to be a pedestrian in the first determination step, an outer frame area surrounding the outer edge is generated, and the outer frame area is divided into a plurality of blocks in the horizontal direction and the vertical direction. Then, based on the data value of the pixel of the pedestrian candidate area included in the block for each block, the index value indicating the change in the data value in the horizontal block and the change in the data value in the vertical block An image processing program for causing a computer to execute a second determination step of further determining whether or not the pedestrian candidate area corresponds to a pedestrian based on an index value to be indicated.
JP2010100836A 2010-04-26 2010-04-26 Image processing system and image processing program Active JP5513238B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010100836A JP5513238B2 (en) 2010-04-26 2010-04-26 Image processing system and image processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010100836A JP5513238B2 (en) 2010-04-26 2010-04-26 Image processing system and image processing program

Publications (2)

Publication Number Publication Date
JP2011234012A JP2011234012A (en) 2011-11-17
JP5513238B2 true JP5513238B2 (en) 2014-06-04

Family

ID=45322922

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010100836A Active JP5513238B2 (en) 2010-04-26 2010-04-26 Image processing system and image processing program

Country Status (1)

Country Link
JP (1) JP5513238B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4734884B2 (en) * 2004-09-30 2011-07-27 日産自動車株式会社 Person detection apparatus and method
JP4534700B2 (en) * 2004-09-30 2010-09-01 日産自動車株式会社 Person detection apparatus and method
JP3970876B2 (en) * 2004-11-30 2007-09-05 本田技研工業株式会社 Vehicle periphery monitoring device
JP4777196B2 (en) * 2006-09-11 2011-09-21 川崎重工業株式会社 Driving assistance device

Also Published As

Publication number Publication date
JP2011234012A (en) 2011-11-17

Similar Documents

Publication Publication Date Title
TWI541763B (en) Method, electronic device and medium for adjusting depth values
JP4203512B2 (en) Vehicle periphery monitoring device
KR101517181B1 (en) System and method for warning lane departure
JP4263737B2 (en) Pedestrian detection device
US20080226175A1 (en) Apparatus, method, and program for face feature point detection
JP2008286725A (en) Person detector and detection method
JP2014085920A (en) Vehicle surroundings monitoring device
US9160986B2 (en) Device for monitoring surroundings of a vehicle
JP4991384B2 (en) Approaching object detection device and approaching object detection program
JP2009276910A (en) Image processor, method and program
JP6413318B2 (en) Vehicle detection device, system, and program
JP6413319B2 (en) Vehicle detection device, system, and program
JP4887540B2 (en) Vehicle periphery monitoring device, vehicle, vehicle periphery monitoring program, and vehicle periphery monitoring method
JP4198542B2 (en) Face presence / absence determination device and face presence / absence determination program
JP2007188407A (en) Image processing device and image processing program
JP5502149B2 (en) Vehicle periphery monitoring device
JP5513238B2 (en) Image processing system and image processing program
JP2010286995A (en) Image processing system for vehicle
JP4765113B2 (en) Vehicle periphery monitoring device, vehicle, vehicle periphery monitoring program, and vehicle periphery monitoring method
JP4543861B2 (en) Person detection apparatus and method
JP5642785B2 (en) Vehicle periphery monitoring device
JP2014006820A (en) Vehicle periphery monitoring device
JP4842301B2 (en) Pedestrian detection device and program
KR20140042551A (en) Method of extracting feature for human detection and apparatus for performing the same
JP5559121B2 (en) Object type determination device

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20110830

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20110830

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130425

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131212

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131217

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140213

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140327

R150 Certificate of patent or registration of utility model

Ref document number: 5513238

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250