WO2015178252A1 - 矩形検出装置 - Google Patents

矩形検出装置 Download PDF

Info

Publication number
WO2015178252A1
WO2015178252A1 PCT/JP2015/063637 JP2015063637W WO2015178252A1 WO 2015178252 A1 WO2015178252 A1 WO 2015178252A1 JP 2015063637 W JP2015063637 W JP 2015063637W WO 2015178252 A1 WO2015178252 A1 WO 2015178252A1
Authority
WO
WIPO (PCT)
Prior art keywords
partial matching
image data
template
rectangular
rectangular shape
Prior art date
Application number
PCT/JP2015/063637
Other languages
English (en)
French (fr)
Inventor
健太朗 塩田
健介 横井
Original Assignee
株式会社デンソー
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 株式会社デンソー filed Critical 株式会社デンソー
Publication of WO2015178252A1 publication Critical patent/WO2015178252A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis

Definitions

  • the present invention relates to a rectangular detection device that detects a rectangular shape from image data captured by an imaging device.
  • Patent Document 1 when a partial image including a pattern that is substantially the same as a target image is detected from partial image data of an object, first, a first template that includes a belt-shaped first pattern is used. A belt-like partial image including a pattern substantially the same as one pattern is detected. Then, in the extending direction of the band-shaped partial image, the target image including the second pattern is used to detect the partial image including the substantially same pattern as the target image.
  • the present invention has been made to solve the above-described problems, and an object of the present invention is to provide a rectangular detection device that reduces processing load for detecting rectangular shapes having different aspect ratios from image data.
  • the rectangle detection apparatus of the present invention includes image acquisition means, partial matching processing means, and rectangle detection means.
  • the image acquisition unit acquires image data captured by the imaging device.
  • the partial matching processing means scans the image data acquired by the image acquisition means with a rectangular template having a predetermined aspect ratio, and obtains the degree of partial matching between the image data at each scanning position and each of the four sides of the template.
  • the rectangle detection unit integrates the partial matching degrees obtained by the partial matching processing unit, and detects a rectangular shape from the image data.
  • image data is obtained by obtaining the partial matching degree between the image data and each of the four sides of the template, and integrating the partial matching degree of the image data with respect to each side of the template.
  • a template having a predetermined aspect ratio may be prepared in accordance with the aspect ratio of the rectangle to be detected. Moreover, it is desirable to use a square template having the same aspect ratio as long as it corresponds to a rectangular shape having any aspect ratio.
  • the schematic diagram which shows the integration result of the partial matching process of FIG. The schematic diagram which shows the partial matching process with the template of the magnitude
  • FIG. 1 shows a rectangular detection device 10 mounted on a vehicle.
  • the rectangular detection device 10 includes a partial matching processing device (image acquisition means, partial matching processing means) 20 and a rectangular integrated processing device (rectangular detection means) 30.
  • the partial matching processing device 20 is configured by, for example, an FPGA (Field Programmable Gate Array).
  • the rectangular integrated processing device 30 is mainly configured by, for example, a microcomputer having a CPU, a RAM, a ROM, an input / output interface, and the like.
  • the image data captured by the in-vehicle camera is preprocessed before being input to the partial matching processing device 20, and edge image data in which an edge is detected is generated.
  • the partial matching processing device 20 acquires the edge image data from which the edge has been detected as image data, and executes partial matching processing for obtaining the degree of partial matching between the image data and each of the four sides of the rectangular template.
  • the partial matching processing device 20 obtains a partial matching degree according to the degree of overlap between each side of the template and the edge on the image data. For example, the case where each side of the template and the edge on the image data are overlapped and the length is equal is 100, and the case where there is no overlap is 0.
  • the rectangle integration processing device 30 integrates the partial matching degrees obtained by the partial matching processing device 20 to detect a rectangular shape or an image area where a rectangular shape exists from the image data, and outputs a detection result.
  • the detection result output by the rectangular integrated processing device 30 is displayed on the display so as to be superimposed on the image captured by the in-vehicle camera.
  • the partial matching processing device 20 acquires, as image data, edge image data in which an edge is detected from an image captured by the in-vehicle camera.
  • a partial matching process for obtaining a partial matching degree between a plurality of image data 100 and 102 having different magnifications and one square template 200 is executed (S402). Details of the partial matching processing in S402 will be described later.
  • the rectangle integration processing device 30 integrates the degree of partial matching obtained by the partial matching processing device 20, and detects an image area in which a rectangular shape or a rectangular shape exists from image data (S404, rectangle detection means). Details of the rectangle integration processing in S404 will be described later.
  • the rectangular integration processing device 30 displays the detected rectangular shape or the image area where the rectangular shape exists based on the image data having different magnifications.
  • the coordinates on the display are converted (S406), and the conversion result is output (S408).
  • FIG. 3 shows a detailed flowchart of the partial matching processing executed in S402 (partial matching processing means) in FIG.
  • the partial matching processing device 20 performs the partial matching processing between the image data 100 and 102 and the template 200 having different magnifications, from the upper end of the image toward the Y direction from the lower end of the image.
  • the template 200 is sequentially scanned.
  • FIG. 5 shows an example in which partial matching processing between rectangular road signs 120 and 122 installed on both sides of the road 110 and each side of the template 200 is executed.
  • FIG. 5 shows an example of scanning two image data 100 and 102 having different magnifications for the sake of simplicity, three or more image data having different magnifications may be scanned.
  • the partial matching processing device 20 performs a partial matching process between the image data 100 and 102 and the template 200 at the position in the Y direction currently being scanned.
  • the template 200 is sequentially scanned in the direction (S412).
  • the partial matching processing device 20 executes a partial matching process for obtaining a degree of partial matching between each side of the square template 200 and the image data 100 and 102 at the X-direction and Y-direction scanning positions currently being scanned. (S414).
  • a condition that the degree of partial matching between at least two sides of the template 200 and the detected image data 100 and 102 is equal to or greater than a predetermined value is the execution result of the partial matching process (
  • the partial matching processing device 20 extracts a partial matching result that satisfies a predetermined condition, and scan positions in the X and Y directions.
  • the partial matching degree is stored in the RAM for each of the image data 100 and 102 (S418), and the process proceeds to S420.
  • the left side, upper side, and lower side partial matching degrees and the right side, upper side, and lower side partial matching degrees are equal to or greater than a predetermined value, and the rectangular shape is It meets certain conditions that exist.
  • the degree of partial matching between the template 200 and the road sign 122 in the image data 100 is not greater than or equal to a predetermined value. Absent.
  • the degree of partial matching is equal to or greater than a predetermined value and satisfies a predetermined condition in which a rectangular shape exists.
  • the degree of partial matching between the template 200 and the road sign 120 in the image data 102 is not greater than or equal to a predetermined value, and therefore satisfies a predetermined condition that a rectangular shape exists. Absent.
  • the partial matching processing device 20 proceeds to S420.
  • the partial matching processing device 20 determines whether or not scanning has been completed to the right end in the X direction at the position in the Y direction currently being scanned.
  • the partial matching processing device 20 proceeds to S412 and shifts the scanning position to the right in order to execute the next partial matching processing.
  • the partial matching processing device 20 determines whether the scanning is finished up to the lower end in the Y direction ( S422). When the scanning has not been completed up to the lower end in the Y direction (S422: No), the partial matching processing device 20 proceeds to S410, and shifts the scanning position downward in order to execute the next partial matching processing.
  • the rectangle integration processing device 30 replaces the left, right, upper and lower coordinates of the overlapping templates 200 in an overlapping manner.
  • the outermost coordinates on the left, right, top and bottom of the group of templates 200 that are present are updated as the coordinates of the new rectangular area (S434), and the process proceeds to S436.
  • the rectangular integrated processing device 30 shifts the processing to S436. That is, when there is only one template 200 without overlapping, the rectangle integration processing device 30 does not update the partial matching result.
  • the rectangle integration processing device 30 ends this processing.
  • the rectangular integration processing of FIG. 4 converts the rectangular shape detected by the image data 100 and 102 having different magnifications or the image area where the rectangular shape exists into the coordinates on the display as described above. To do.
  • FIG. 6 shows the result of coordinate conversion of the partial matching result displayed on the display 300.
  • the image areas 210 and 212 in FIG. 6 represent areas that have been updated and coordinate-converted with the outermost coordinates on the left, right, upper, and lower sides of the overlapping template 200 group. That is, the rectangular road signs 120 and 122 exist in the image area 210 and the image area 212.
  • the original image data before performing the edge detection is subjected to image processing, so that the rectangular objects existing in the image areas 210 and 212 are identified as the road signs 120 and 122. To do.
  • FIG. 7 shows an example in which a rectangular road sign 130 on the left side of the road 110 and a truck 132 traveling in front of the right side of the host vehicle are captured.
  • the left side, right side, and lower side partial matching degrees and the left side, right side, and upper side partial matching degrees are equal to or greater than a predetermined value, and the rectangular shape is It meets certain conditions that exist.
  • the degree of partial matching between the template 222 and the road sign 130 in the image data 140 is not equal to or greater than a predetermined value, so Absent.
  • the left side, upper side partial matching degree, right side, upper side partial matching degree, left side, lower side partial matching degree, right side is equal to or greater than a predetermined value and satisfies a predetermined condition in which a rectangular shape exists.
  • the degree of partial matching between the template 220 and the rear shape of the track 132 in the image data 140 is not greater than or equal to a predetermined value. Do not meet.
  • the rectangular integration processing device 30 extracts and superimposes the sides of the templates 220 and 222 having a partial matching degree equal to or greater than a predetermined value in the integration process of the partial matching degree that satisfies a predetermined condition in which a rectangular shape exists. .
  • the image area 230 representing the road sign 130 and the image area 232 representing the rear shape of the truck 132 are output as the integration result and displayed on the display 300.
  • the rectangular objects existing in the image areas 230 and 232 become the rear part of the road sign 130 and the track 132, respectively. Is identified.
  • a square template is used, so that it matches the aspect ratio of the detection object having a rectangular shape.
  • the processing time can be shortened as compared with the method of scanning image data for each template having a different aspect ratio, so that the processing load is reduced.
  • the partial matching degree between the image data and each of the four sides of the square template is obtained, and the partial matching degree for each side of the template is integrated to detect a rectangular shape or an image region where the rectangular shape exists from the image data. it can.
  • partial matching processing between a plurality of image data having different magnifications and a plurality of square templates having different sizes may be performed.
  • the rectangular template is not limited to a square, and a rectangular template having an appropriate aspect ratio may be used depending on the rectangular shape to be detected.
  • the detection target is not limited to a truck, and any vehicle may be used as long as it has a rectangular shape.
  • the rectangular detector of the present invention is not limited to the one mounted on the vehicle described in the above embodiment, and may be used for any application.
  • Rectangle detection device 20 Partial matching processing device 30: Rectangle integration processing device 100, 102, 140: Image data 120, 122, 130: Road sign 132: Truck (vehicle) 200, 220, 222: Template

Abstract

 矩形検出装置は、車載カメラが撮像した画像からエッジが検出された画像データを取得し(S400)、倍率の異なる複数の画像データと1個の正方形のテンプレートとの部分マッチング処理を実行する(S402)。矩形検出装置は、部分マッチング処理において、画像データを走査している走査位置のテンプレートの各辺と画像データとの部分マッチング度を求める。矩形形状が存在する所定条件を部分マッチング処理の実行結果が満たしていれば、走査位置における部分マッチング度を含む部分マッチング処理の実行結果を格納する。矩形検出装置は、倍率の異なる画像データ毎に格納された部分マッチング度を統合し、画像データから矩形形状または矩形形状が存在する画像領域を検出する(S404)。

Description

矩形検出装置
 本発明は、撮像装置により撮像された画像データから矩形形状を検出する矩形検出装置に関する。
 撮像装置により撮像された画像データから目的画像を検出する技術が公知である。例えば特許文献1では、対象物の一部の画像データから、目的画像と実質的に同一のパターンを含む部分画像を検出する場合、まず、帯状の第1パターンを含む第1テンプレートを用いて第1パターンと実質的に同一のパターンを含む帯状部分画像を検出する。そして、帯状部分画像の延長方向において、第2パターンを含む目的画像を用い、目的画像と実質的に同一のパターンを含む部分画像を検出する。
特開2001-357398号公報
 目的画像が縦横比の異なる矩形形状である場合、特許文献1のように、画像データから目的画像のテンプレートと一致する画像を検出する方式では、縦横比の異なる矩形形状毎にテンプレートを用意する必要がある。そして、縦横比の異なるテンプレート毎に画像データを走査して一致する矩形形状を検出するので、処理時間が長くなり、処理負荷が増加するという問題がある。
 ハフ変換等の直線検出方法を用いて矩形形状を検出する場合も、処理時間が長くなり、処理負荷が増加するという問題がある。
 本発明は、上記課題を解決するためになされたものであり、縦横比の異なる矩形形状を画像データから検出する処理負荷を低減する矩形検出装置を提供することを目的とする。
 本発明の矩形検出装置は、画像取得手段と、部分マッチング処理手段と、矩形検出手段と、を備えている。
 画像取得手段は、撮像装置が撮像した画像データを取得する。部分マッチング処理手段は、画像取得手段が取得する画像データを所定縦横比の矩形のテンプレートで走査し、各走査位置における画像データとテンプレートの4辺それぞれとの部分マッチング度を求める。矩形検出手段は、部分マッチング処理手段が求める部分マッチング度を統合して、画像データから矩形形状を検出する。
 このように、異なる縦横比を有する矩形形状を検出する場合にも一種類の所定縦横比のテンプレートを使用するので、縦横比の異なる複数のテンプレートを用意する必要がない。これにより、縦横比の異なるテンプレート毎に画像データを走査する方式に比べて処理時間を短縮できるので、処理負荷が低減する。
 そして、一種類の所定縦横比のテンプレートであっても、画像データとテンプレートの4辺それぞれとの部分マッチング度を求め、テンプレートの各辺に対する画像データの部分マッチング度を統合することにより、画像データから矩形形状、または矩形形状が存在する画像領域を検出できる。
 画像データから検出する矩形形状を横長または縦長に限るのであれば、検出対象の矩形形状の縦横比に合わせて所定縦横比のテンプレートを用意すればよい。また、どのような縦横比の矩形形状にも対応するのであれば、縦横比の等しい正方形のテンプレートを使用することが望ましい。
第1実施形態の矩形検出装置を示すブロック図。 矩形検出処理のメインルーチンを示すフローチャート。 テンプレートによる矩形形状の部分マッチング処理を示すフローチャート。 矩形統合処理を示すフローチャート。 異なる倍率の画像データと1個のテンプレートとの部分マッチング処理を示す模式図。 図5の部分マッチング処理の統合結果を示す模式図。 第2実施形態による画像データと異なる大きさのテンプレートとの部分マッチング処理を示す模式図。 図7の部分マッチング処理の統合結果を示す模式図。
 以下、本発明の実施形態を図に基づいて説明する。
  [第1実施形態]
 図1に、車両に搭載される矩形検出装置10を示す。矩形検出装置10は、部分マッチング処理装置(画像取得手段、部分マッチング処理手段)20と、矩形統合処理装置(矩形検出手段)30とを備えている。部分マッチング処理装置20は、例えばFPGA(Field Programmable Gate Array)等で構成されている。矩形統合処理装置30は、例えばCPU、RAM、ROM、入出力インタフェース等を有するマイクロコンピュータにより主に構成されている。
 車載カメラが撮像した画像データは部分マッチング処理装置20に入力される前に前処理され、エッジが検出されたエッジ画像データが生成される。このエッジが検出されたエッジ画像データを画像データとして部分マッチング処理装置20は取得し、画像データと矩形のテンプレートの4辺それぞれとの部分マッチング度を求める部分マッチング処理を実行する。
 尚、第1実施形態および後述する第2実施形態では、矩形のテンプレートとして正方形のテンプレートを使用した例について説明する。
 部分マッチング処理装置20は、テンプレートの各辺と画像データ上のエッジとの重複度に応じて部分マッチング度を求める。例えば、テンプレートの各辺と画像データ上のエッジとが重複して長さが一致している場合を100とし、全く重複していない場合を0とする。
 矩形統合処理装置30は、部分マッチング処理装置20が求めた部分マッチング度を統合して画像データから矩形形状または矩形形状が存在する画像領域を検出し、検出結果を出力する。矩形統合処理装置30が出力する検出結果は、車載カメラが撮像した画像に重ねてディスプレイに表示される。
  (矩形検出処理)
 図2に示す矩形検出処理のメインルーチンは、例えば、車載カメラが撮像した画像を表示するディスプレイ上の実行ボタンを運転者が操作することにより起動し、常時実行される。図2および後述する図3、4において「S」はステップを表わしている。
 図2のS400(画像取得手段)において部分マッチング処理装置20は、画像データとして、車載カメラが撮像した画像からエッジが検出されたエッジ画像データを画像データとして取得する。第1実施形態では、図5に示すように、倍率の異なる複数の画像データ100、102と1個の正方形のテンプレート200との部分マッチング度を求める部分マッチング処理を実行する(S402)。S402の部分マッチング処理の詳細については後述する。
 矩形統合処理装置30は、部分マッチング処理装置20が求めた部分マッチング度を統合し、画像データから矩形形状または矩形形状が存在する画像領域を検出する(S404、矩形検出手段)。S404の矩形統合処理の詳細については後述する。
 そして、矩形統合処理装置30は、検出した矩形形状または矩形形状が存在する画像領域を例えばディスプレイ上に表示するために、倍率の異なる画像データで検出した矩形形状または矩形形状が存在する画像領域をディスプレイ上の座標に変換し(S406)、変換結果を出力する(S408)。
  (部分マッチング処理)
 図2のS402(部分マッチング処理手段)で実行する部分マッチング処理の詳細なフローチャートを図3に示す。図3のS410において部分マッチング処理装置20は、倍率の異なる画像データ100、102とテンプレート200との部分マッチング処理を行うために、画像データ100、102に対し画像の上端から下端のY方向に向けてテンプレート200で順次走査する。
 図5は、道路110の両側に設置された矩形の道路標識120、122とテンプレート200の各辺との部分マッチング処理を実行する例を示している。図5では、説明を簡単にするために倍率の異なる2個の画像データ100、102を走査する例を示すが、倍率の異なる3個以上の画像データを走査してもよい。
 部分マッチング処理装置20は、現在走査しているY方向の位置において、画像データ100、102とテンプレート200との部分マッチング処理を行うために、画像データ100、102に対し画像の左端から右端のX方向に向けてテンプレート200で順次走査する(S412)。
 そして、部分マッチング処理装置20は、現在走査しているX方向およびY方向の走査位置において、正方形のテンプレート200の各辺と画像データ100、102との部分マッチング度を求める部分マッチング処理を実行する(S414)。
 画像上に矩形形状が存在する所定条件として、例えば、テンプレート200の少なくとも2辺とエッジ検出された画像データ100、102との部分マッチング度が所定値以上である条件を部分マッチング処理の実行結果(以下、単に「部分マッチング結果」とも言う。)が満たしていれば(S416:Yes)、部分マッチング処理装置20は、所定条件を満たす部分マッチング結果を抽出し、X方向およびY方向の走査位置と部分マッチング度とを、画像データ100、102毎にRAMに格納し(S418)、S420に処理を移行する。
 図5では、画像データ100におけるテンプレート200と道路標識120との部分マッチング度について、左辺、上辺、下辺の部分マッチング度および右辺、上辺、下辺の部分マッチング度が所定値以上であり、矩形形状が存在する所定条件を満たしている。
 画像データ100におけるテンプレート200と道路標識122との部分マッチング度については、テンプレート200の少なくとも2辺と道路標識122との部分マッチング度が所定値以上ではないので、矩形形状が存在する所定条件を満たさない。
 また、画像データ102におけるテンプレート200と道路標識122との部分マッチング度について、左辺、下辺の部分マッチング度と、右辺、下辺の部分マッチング度と、左辺、上辺の部分マッチング度と、右辺、上辺の部分マッチング度とが所定値以上であり、矩形形状が存在する所定条件を満たしている。
 画像データ102におけるテンプレート200と道路標識120との部分マッチング度については、テンプレート200の少なくとも2辺と道路標識120との部分マッチング度が所定値以上ではないので、矩形形状が存在する所定条件を満たさない。
 部分マッチング結果が所定条件を満たさない場合(S416:No)、部分マッチング処理装置20は、S420に処理を移行する。
 S420において部分マッチング処理装置20は、現在走査しているY方向の位置において、X方向の右端まで走査を終了したか否かを判定する。X方向の右端まで走査を終了していない場合(S420:No)、部分マッチング処理装置20は、S412に処理を移行し、次の部分マッチング処理を実行するために右方向に走査位置をずらす。
 現在走査しているY方向の位置において、X方向の右端まで走査を終了した場合(S420:Yes)、部分マッチング処理装置20は、Y方向の下端まで走査を終了したか否かを判定する(S422)。Y方向の下端まで走査を終了していない場合(S422:No)、部分マッチング処理装置20は、S410に処理を移行し、次の部分マッチング処理を実行するために下方向に走査位置をずらす。
 Y方向の下端まで走査を終了した場合(S422:Yes)、部分マッチング処理装置20は本処理を終了する。
  (矩形統合処理)
 図2のS404で実行する矩形統合処理の詳細なフローチャートを図4に示す。図4のS430において矩形統合処理装置30は、部分マッチング処理装置20が、矩形形状が存在する所定条件を満たすと判定してRAMに格納した画像データ100、102毎の部分マッチング結果を順次読み出す。
 そして、読み出した部分マッチング結果に基づき、テンプレート200が複数重なってグループになった部分マッチング結果があるか否かを判定する(S432)。
 図5に示すように、テンプレート200が複数重なったグループになっている場合(S432:Yes)、矩形統合処理装置30は、重なっているテンプレート200のそれぞれの左右上下の座標に代えて、重なっているテンプレート200のグループの左右上下の最外座標を新たな矩形形状の領域の座標として更新し(S434)、S436に処理を移行する。
 テンプレート200が複数重なったグループになっていない場合(S432:No)、矩形統合処理装置30はS436に処理を移行する。つまり、テンプレート200が重ならずに一つだけの場合、矩形統合処理装置30は部分マッチング結果を更新しない。
 但し、テンプレート200が重ならずに一つだけであり、テンプレート200の4辺のうち少なくとも一辺と画像データとの部分マッチング度が0であれば矩形形状と見なすことはできないので、格納されていた部分マッチング結果を削除してからS436に処理を移行する。
 すべての部分マッチング結果を読み出すと(S436:Yes)、矩形統合処理装置30は本処理を終了する。
 図4の矩形統合処理が終了すると、矩形統合処理装置30は、前述したように、倍率の異なる画像データ100、102で検出した矩形形状または矩形形状が存在する画像領域をディスプレイ上の座標に変換する。部分マッチング結果を座標変換してディスプレイ300に表示した結果を図6に示す。
 図6の画像領域210、212は、重なっているテンプレート200のグループの左右上下の最外座標で更新され、座標変換された領域を表わしている。つまり、画像領域210内、画像領域212内に矩形形状の道路標識120、122が存在している。
 そして、画像領域210、212において、エッジ検出を実行する前の元の画像データを画像処理することにより、画像領域210、212に存在する矩形形状の物体が道路標識120、122であることを識別する。
  [第2実施形態]
 第2実施形態の矩形検出処理について、図7および図8に基づいて説明する。第2実施形態の矩形検出装置は第1実施形態の図1に示す矩形検出装置10の構成と実質的に同一であるから、第1実施形態と同一符号で説明する。
 図7に示すように、第2実施形態では、画像データの倍率を変更せず、異なる大きさの正方形のテンプレート220、222と画像データ140との部分マッチング処理を実行する。図7は、道路110の左側に矩形の道路標識130と、自車両の右側前方を走行しているトラック132とが撮像された例を示している。
 図7では、画像データ140におけるテンプレート220と道路標識130との部分マッチング度について、左辺、右辺、下辺の部分マッチング度および左辺、右辺、上辺の部分マッチング度が所定値以上であり、矩形形状が存在する所定条件を満たしている。
 画像データ140におけるテンプレート222と道路標識130との部分マッチング度については、テンプレート222の少なくとも2辺と道路標識130との部分マッチング度が所定値以上ではないので、矩形形状が存在する所定条件を満たさない。
 また、画像データ140におけるテンプレート222とトラック132の後部形状との部分マッチング度について、左辺、上辺の部分マッチング度と、右辺、上辺の部分マッチング度と、左辺、下辺の部分マッチング度と、右辺、下辺の部分マッチング度とが所定値以上であり、矩形形状が存在する所定条件を満たしている。
 画像データ140におけるテンプレート220とトラック132の後部形状との部分マッチング度については、テンプレート220の少なくとも2辺とトラック132との部分マッチング度が所定値以上ではないので、矩形形状が存在する所定条件を満たさない。
 第2実施形態の矩形統合処理装置30は、矩形形状が存在する所定条件を満たす部分マッチング度の統合処理において、部分マッチング度が所定値以上であるテンプレート220、222の辺を抽出して重ね合わせる。これにより、図8に示すように、道路標識130を表わす画像領域230、トラック132の後部形状を表わす画像領域232が統合結果として出力され、ディスプレイ300に表示される。
 そして、画像領域230、232において、エッジ検出を実行する前の元の画像データを画像処理することにより、画像領域230、232に存在する矩形形状の物体が、それぞれ道路標識130、トラック132の後部であることを識別する。
 以上説明した本発明の第1、第2実施形態によると、異なる縦横比を有する矩形形状の検出対象を検出する場合、正方形のテンプレートを使用するので、矩形形状を有する検出対象の縦横比に合わせて縦横比の異なるテンプレートを用意する必要がない。したがって、縦横比の異なるテンプレート毎に画像データを走査する方式に比べ、処理時間を短縮できるので、処理負荷が低減する。
 そして、画像データと正方形のテンプレートの4辺それぞれとの部分マッチング度を求め、テンプレートの各辺に対する部分マッチング度を統合することにより、画像データから矩形形状、または矩形形状が存在する画像領域を検出できる。
 また、矩形のテンプレートとして正方形のテンプレートを使用するので、どのような縦横比の矩形形状を有する検出対象にも対応できる。
  [他の実施形態]
 以上、本発明の実施形態について説明したが、本発明は上記実施形態に限定されるものではなく、その要旨を逸脱しない範囲で種々の実施形態に適用可能である。
 例えば、倍率の異なる複数の画像データと大きさの異なる複数の正方形のテンプレートとの部分マッチング処理を行ってもよい。
 また、矩形のテンプレートは正方形に限るものではなく、検出対象の矩形形状によって適切な縦横比の長方形のテンプレートを使用してもよい。
 矩形形状の車両を検出する場合、検出対象はトラックに限るものではなく、矩形形状を有するのであればどのような車両を検出対象としてもよい。
 本発明の矩形検出装置は、上記実施形態で説明した車両に搭載されるものに限らず、どのような用途に用いてもよい。
10:矩形検出装置
20:部分マッチング処理装置
30:矩形統合処理装置
100、102、140:画像データ
120、122、130:道路標識
132:トラック(車両)
200、220、222:テンプレート

Claims (9)

  1.  撮像装置が撮像した画像データ(100、102、140)を取得する画像取得手段(20、S400)と、
     前記画像取得手段が取得する前記画像データを所定縦横比の矩形のテンプレート(200、220、222)で走査し、各走査位置における前記画像データと前記テンプレートの4辺それぞれとの部分マッチング度を求める部分マッチング処理手段(20、S402、S410~S422)と、
     前記部分マッチング処理手段が求める前記部分マッチング度を統合して、前記画像データから矩形形状を検出する矩形検出手段(30、S404、S430~S436)と、
    を備えることを特徴とする矩形検出装置(10)。
  2.  前記テンプレートは正方形であることを特徴とする請求項1に記載の矩形検出装置。
  3.  前記部分マッチング処理手段(S416、S418)は、各走査位置における前記部分マッチング度が、矩形形状が存在する所定条件を満たすか否かを判定し、前記所定条件を満たす前記部分マッチング度を抽出し、
     前記矩形検出手段は、前記部分マッチング処理手段が抽出する前記部分マッチング度を統合して前記画像データから矩形形状を検出する、
    ことを特徴とする請求項1または2に記載の矩形検出装置。
  4.  前記画像取得手段は倍率の異なる複数の前記画像データ(100、102)を取得し、
     前記部分マッチング処理手段は、倍率の異なる複数の前記画像データそれぞれと前記テンプレート(200)の4辺それぞれとの前記部分マッチング度を求める、
    ことを特徴とする請求項1から3のいずれか一項に記載の矩形検出装置。
  5.  前記部分マッチング処理手段は、大きさの異なる複数の前記テンプレート(220、222)のそれぞれで前記画像データ(140)を走査し、前記画像データと複数の前記テンプレートの4辺それぞれとの前記部分マッチング度を求める、
    ことを特徴とする請求項1から4のいずれか一項に記載の矩形検出装置。
  6.  車両に搭載される矩形検出装置であって、
     前記画像取得手段は車載の撮像装置が撮像した画像データを取得する、
    ことを特徴とする請求項1から5のいずれか一項に記載の矩形検出装置。
  7.  前記矩形検出手段は、前記部分マッチング度を統合して矩形の道路標識(120、122、130)を検出することを特徴とする請求項6に記載の矩形検出装置。
  8.  前記矩形検出手段は、前記部分マッチング度を統合して矩形形状を有する車両(132)を検出することを特徴とする請求項6または7に記載の矩形検出装置。
  9.  前記矩形検出手段は、前記部分マッチング度を統合して矩形形状を有するトラックを検出することを特徴とする請求項8に記載の矩形検出装置。
PCT/JP2015/063637 2014-05-20 2015-05-12 矩形検出装置 WO2015178252A1 (ja)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2014104399A JP2015219820A (ja) 2014-05-20 2014-05-20 矩形検出装置
JP2014-104399 2014-05-20

Publications (1)

Publication Number Publication Date
WO2015178252A1 true WO2015178252A1 (ja) 2015-11-26

Family

ID=54553925

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2015/063637 WO2015178252A1 (ja) 2014-05-20 2015-05-12 矩形検出装置

Country Status (2)

Country Link
JP (1) JP2015219820A (ja)
WO (1) WO2015178252A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108470469A (zh) * 2018-03-12 2018-08-31 海信集团有限公司 道路障碍物预警方法、装置及终端

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000311248A (ja) * 1999-04-28 2000-11-07 Sharp Corp 画像処理装置
JP2004038624A (ja) * 2002-07-04 2004-02-05 Nissan Motor Co Ltd 車両認識方法、車両認識装置及び車両認識用プログラム
JP2008292279A (ja) * 2007-05-24 2008-12-04 Mobile Computing Technologies:Kk 文字認識によるデータベース更新を行うナビゲーション装置
JP2009210432A (ja) * 2008-03-04 2009-09-17 Alpine Electronics Inc 運転支援装置
JP2013140468A (ja) * 2012-01-04 2013-07-18 Hitachi High-Technologies Corp パターンマッチング装置、検査システム、及びコンピュータプログラム

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000311248A (ja) * 1999-04-28 2000-11-07 Sharp Corp 画像処理装置
JP2004038624A (ja) * 2002-07-04 2004-02-05 Nissan Motor Co Ltd 車両認識方法、車両認識装置及び車両認識用プログラム
JP2008292279A (ja) * 2007-05-24 2008-12-04 Mobile Computing Technologies:Kk 文字認識によるデータベース更新を行うナビゲーション装置
JP2009210432A (ja) * 2008-03-04 2009-09-17 Alpine Electronics Inc 運転支援装置
JP2013140468A (ja) * 2012-01-04 2013-07-18 Hitachi High-Technologies Corp パターンマッチング装置、検査システム、及びコンピュータプログラム

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108470469A (zh) * 2018-03-12 2018-08-31 海信集团有限公司 道路障碍物预警方法、装置及终端

Also Published As

Publication number Publication date
JP2015219820A (ja) 2015-12-07

Similar Documents

Publication Publication Date Title
US10192309B2 (en) Camera calibration device
JP4154374B2 (ja) パターンマッチング装置及びそれを用いた走査型電子顕微鏡
JP4416039B2 (ja) 縞模様検知システム、縞模様検知方法および縞模様検知用プログラム
JP6542539B2 (ja) 車両用進入可否判定装置
KR20190051463A (ko) 카메라 캘리브레이션을 위한 체커보드 코너점 추출 장치 및 방법
WO2011114947A1 (ja) 横断歩道検出装置、横断歩道検出方法及びプログラム
JP4872769B2 (ja) 路面判別装置および路面判別方法
JP2013236087A5 (ja)
JP2007121147A (ja) パターンマッチング装置およびそれを用いた半導体検査システム
US20120121127A1 (en) Image processing apparatus and non-transitory storage medium storing image processing program
JP6341191B2 (ja) 情報演算装置
WO2015098222A1 (ja) 情報処理装置及び情報処理方法及びプログラム
JP2018173276A (ja) 計測支援装置、計測支援方法及びプログラム
WO2015178252A1 (ja) 矩形検出装置
JP5155204B2 (ja) 白線検出装置
WO2020209046A1 (ja) 物体検出装置
JP5684550B2 (ja) パターンマッチング装置およびそれを用いた半導体検査システム
JP4969628B2 (ja) 走行区分線検出装置
JP2008294451A (ja) 画像形成方法、及び画像形成装置
JP5958368B2 (ja) 白線検出装置
JP6224467B2 (ja) パターン評価装置および走査型電子顕微鏡
JP6156212B2 (ja) 物体検出装置
KR20150042417A (ko) 촬영부를 이용한 차선검출방법 및 차선검출시스템
JP2014123301A (ja) 白線検出装置
JP6876484B2 (ja) データ処理装置、データ処理方法、及び、プログラム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15796396

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15796396

Country of ref document: EP

Kind code of ref document: A1