JP6994890B2 - Crack detector, crack detection method, and computer program - Google Patents

Crack detector, crack detection method, and computer program Download PDF

Info

Publication number
JP6994890B2
JP6994890B2 JP2017190613A JP2017190613A JP6994890B2 JP 6994890 B2 JP6994890 B2 JP 6994890B2 JP 2017190613 A JP2017190613 A JP 2017190613A JP 2017190613 A JP2017190613 A JP 2017190613A JP 6994890 B2 JP6994890 B2 JP 6994890B2
Authority
JP
Japan
Prior art keywords
pixel
crack
density
region
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
JP2017190613A
Other languages
Japanese (ja)
Other versions
JP2019066266A (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.)
Shimizu Corp
Original Assignee
Shimizu Corp
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 Shimizu Corp filed Critical Shimizu Corp
Priority to JP2017190613A priority Critical patent/JP6994890B2/en
Publication of JP2019066266A publication Critical patent/JP2019066266A/en
Application granted granted Critical
Publication of JP6994890B2 publication Critical patent/JP6994890B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Image Analysis (AREA)

Description

本明細書によって開示される技術は、ひび割れ検出装置に関する。 The techniques disclosed herein relate to crack detectors.

対象物(例えば、建築物や土木構造物の壁)におけるひび割れ(クラック)の発生状況を診断するために、対象物を撮像した画像に対する画像処理を行うことにより、該画像からひび割れを検出する技術が知られている(例えば、特許文献1参照)。このような画像処理を用いたひび割れ検出によれば、例えば現場作業員の目視による場合と比較して、効率的に、かつ、精度良く、対象物におけるひび割れの発生状況を診断することができる。 A technique for detecting cracks in an image of an object (for example, a wall of a building or a civil engineering structure) by performing image processing on an image of the object in order to diagnose the occurrence of cracks in the image. Is known (see, for example, Patent Document 1). According to the crack detection using such image processing, it is possible to efficiently and accurately diagnose the crack occurrence state in the object as compared with the case of visual inspection by a field worker, for example.

特開2012-98045号公報Japanese Unexamined Patent Publication No. 2012-98045

上記従来の技術では、ひび割れ検出精度の点で向上の余地がある。すなわち、上記従来の技術では、ひび割れではないが、ひび割れの濃度に近い濃度を有する部分(例えば、対象物の表面の汚れ等)を誤ってひび割れとして検出する誤検出や、実際に存在するひび割れを検出できない検出漏れが少なからず発生する。そのため、上記従来の技術には、このような誤検出や検出漏れの発生を抑制してひび割れ検出精度をさらに向上させる、という課題がある。 With the above-mentioned conventional technique, there is room for improvement in terms of crack detection accuracy. That is, in the above-mentioned conventional technique, a false detection that is not a crack but has a concentration close to the crack concentration (for example, dirt on the surface of an object) is mistakenly detected as a crack, or a crack that actually exists is detected. Not a few detection omissions that cannot be detected occur. Therefore, the above-mentioned conventional technique has a problem of suppressing the occurrence of such erroneous detection and detection omission and further improving the crack detection accuracy.

本明細書では、画像処理を用いたひび割れ検出の精度を向上させる、という課題を解決することが可能な技術を開示する。 This specification discloses a technique capable of solving the problem of improving the accuracy of crack detection using image processing.

本明細書に開示される技術は、例えば、以下の形態として実現することが可能である。 The techniques disclosed herein can be realized, for example, in the following forms.

(1)本明細書に開示されるひび割れ検出装置は、対象物のひび割れを検出するひび割れ検出装置であって、前記対象物を表す画像において、ひび割れを表す画像領域である蓋然性の高いひび割れ候補領域を検出する候補検出部と、前記ひび割れ候補領域を構成する画素の中から、濃度値が黒色を表す濃度値に最も近い画素である特定画素を抽出する画素抽出部と、上限濃度差を設定する上限濃度差設定部と、前記特定画素に隣接し、かつ、前記特定画素との濃度差が前記上限濃度差以内である近似濃度画素を特定すると共に、特定された前記近似濃度画素に隣接し、かつ、特定された前記近似濃度画素との濃度差が前記上限濃度差以内である新たな近似濃度画素を特定する処理を繰り返す近似濃度画素特定部と、前記特定画素および前記近似濃度画素により構成される近似濃度領域の幅Wに対する長さL(ただし、L≧W)の比が第1の閾値以上であることを含む所定の条件を満たす前記ひび割れ候補領域を、ひび割れを表す画像領域であるひび割れ領域に設定する確認判定部と、を備える。本ひび割れ検出装置では、近似濃度画素特定部が、特定画素を起点として、参照元の画素に隣接する画素であって、濃度値が参照元の画素に近似する画素である近似濃度画素の特定を繰り返し、特定画素および近似濃度画素により構成される近似濃度領域を特定する。このように特定された近似濃度領域は、特定画素を起点として濃度がなだらかに変化するような画像領域となる。一般に、真にひび割れを表す画像領域(ひび割れ領域)は、ひび割れの中心部から縁部に向けて濃度がなだらかに変化するような画像領域となることが多い。また、対象物に発生するひび割れは、線分の成分を含んでいるため、真にひび割れを表す画像領域(ひび割れ領域)のアスペクト比(長さ/幅)は、ある程度大きい値となる。本ひび割れ検出装置では、確認判定部が、特定画素を起点として濃度がなだらかに変化する画像領域である近似濃度領域のアスペクト比(長さL/幅W)が第1の閾値以上であることを含む所定の条件を満たすひび割れ候補領域をひび割れ領域に設定する。そのため、本ひび割れ検出装置によれば、ひび割れではないが、ひび割れの濃度に近い濃度を有する部分(例えば、対象物の表面の汚れ等)を誤ってひび割れとして検出する誤検出が発生することを抑制することができ、画像処理を用いたひび割れ検出の精度を向上させることができる。 (1) The crack detection device disclosed in the present specification is a crack detection device for detecting a crack of an object, and is a crack candidate region having a high probability of being an image region representing a crack in an image representing the object. The upper limit density difference is set between the candidate detection unit that detects The upper limit density difference setting unit and the approximate density pixel adjacent to the specific pixel and having a density difference from the specific pixel within the upper limit density difference are specified, and are adjacent to the specified approximate density pixel. It is composed of an approximate density pixel specifying unit that repeats a process of specifying a new approximate density pixel whose density difference from the specified approximate density pixel is within the upper limit density difference, and the specific pixel and the approximate density pixel. The crack candidate region satisfying a predetermined condition including the ratio of the length L (however, L ≧ W) to the width W of the approximate density region is equal to or more than the first threshold value, and the crack candidate region is an image region representing a crack. It is provided with a confirmation determination unit to be set in the area. In this crack detection device, the approximate density pixel specifying unit identifies an approximate density pixel that is a pixel adjacent to a reference source pixel and whose density value is close to that of the reference source pixel, starting from the specific pixel. Repeatedly, the approximate density region composed of the specific pixel and the approximate density pixel is specified. The approximate density region specified in this way is an image region in which the density gradually changes from the specific pixel as a starting point. In general, an image region (crack region) that truly represents a crack is often an image region in which the density gradually changes from the center of the crack to the edge. Further, since the crack generated in the object contains a line segment component, the aspect ratio (length / width) of the image region (crack region) that truly represents the crack becomes a large value to some extent. In this crack detection device, the confirmation determination unit determines that the aspect ratio (length L / width W) of the approximate density region, which is an image region in which the density changes gently starting from a specific pixel, is equal to or higher than the first threshold value. A crack candidate region that satisfies a predetermined condition including is set as a crack region. Therefore, according to this crack detection device, it is possible to prevent the occurrence of erroneous detection in which a portion that is not a crack but has a concentration close to the crack concentration (for example, dirt on the surface of an object) is erroneously detected as a crack. It is possible to improve the accuracy of crack detection using image processing.

(2)上記ひび割れ検出装置において、前記上限濃度差設定部は、前記特定画素の濃度値と、前記ひび割れ候補領域内において前記特定画素の周辺領域内に位置する各画素の濃度値と、の差の絶対値の最大値を、前記上限濃度差として設定する構成としてもよい。本ひび割れ検出装置によれば、個々のひび割れ候補領域の濃度特性に応じて、上限濃度差を、過大または過小ではない適切な値に設定することができ、画像処理を用いたひび割れ検出の精度をさらに向上させることができる。 (2) In the crack detection device, the upper limit density difference setting unit is the difference between the density value of the specific pixel and the density value of each pixel located in the peripheral region of the specific pixel in the crack candidate region. The maximum value of the absolute value of may be set as the upper limit concentration difference. According to this crack detection device, the upper limit density difference can be set to an appropriate value that is not excessive or too small according to the density characteristics of each crack candidate region, and the accuracy of crack detection using image processing can be improved. It can be further improved.

(3)上記ひび割れ検出装置において、前記近似濃度領域の幅Wは、前記近似濃度領域を内包する最小矩形の幅Wsであり、前記近似濃度領域の長さLは、前記最小矩形の長さLsである構成としてもよい。本ひび割れ検出装置によれば、近似濃度領域の幅Wに対する長さLの比を迅速に、かつ、精度良く算出することができ、画像処理を用いたひび割れ検出の処理を迅速化させつつ、精度をさらに向上させることができる。 (3) In the crack detection device, the width W of the approximate concentration region is the width Ws of the minimum rectangle including the approximate concentration region, and the length L of the approximate concentration region is the length Ls of the minimum rectangle. It may be configured to be. According to this crack detection device, the ratio of the length L to the width W of the approximate density region can be calculated quickly and accurately, and the crack detection process using image processing can be speeded up and the accuracy can be calculated. Can be further improved.

(4)上記ひび割れ検出装置において、さらに、前記ひび割れ領域を示す画像をディスプレイに表示させる表示制御部を備える構成としてもよい。本ひび割れ検出装置によれば、ユーザに、対象物におけるひび割れの発生状況を把握させることができる。 (4) The crack detection device may further include a display control unit for displaying an image showing the crack region on the display. According to this crack detection device, the user can grasp the occurrence state of cracks in the object.

(5)上記ひび割れ検出装置において、前記対象物は、壁状の構造物である構成としてもよい。本ひび割れ検出装置によれば、ひび割れの発生が問題になりやすい対象物であり、かつ、比較的広い範囲でひび割れの検出を行う必要がある対象物である壁状の構造物について、ひび割れの検出を、効率的に、かつ、精度良く実行することができる。 (5) In the crack detection device, the object may be configured to be a wall-shaped structure. According to this crack detection device, crack detection is performed for wall-shaped structures that are objects that are prone to crack generation and that need to detect cracks in a relatively wide range. Can be executed efficiently and accurately.

なお、本明細書に開示される技術は、種々の形態で実現することが可能であり、例えば、ひび割れ検出装置、ひび割れ検出方法、それらの装置または方法の機能を実現するためのコンピュータプログラム、そのコンピュータプログラムを記録した一時的でない記録媒体等の形態で実現することが可能である。さらに、本明細書に開示される技術は、ロボットを用いた自動検査システムの要素技術としても有用である。 The techniques disclosed in the present specification can be realized in various forms, for example, a crack detection device, a crack detection method, a computer program for realizing the functions of those devices or methods, and the like. It can be realized in the form of a non-temporary recording medium or the like on which a computer program is recorded. Furthermore, the techniques disclosed herein are also useful as elemental techniques for automated inspection systems using robots.

本実施形態におけるひび割れ検出装置100の構成を概略的に示す説明図である。It is explanatory drawing which shows schematic structure of the crack detection apparatus 100 in this embodiment. ひび割れ検出処理の実行時に表示部120に表示される画面(処理時画面S1)の一例を示す説明図である。It is explanatory drawing which shows an example of the screen (processing screen S1) displayed on the display unit 120 at the time of execution of a crack detection process. ひび割れ検出処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the crack detection process. ひび割れ検出処理の結果を含む処理時画面S1の一例を示す説明図である。It is explanatory drawing which shows an example of the processing screen S1 including the result of the crack detection processing. ひび割れ候補検出処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the crack candidate detection process. 第1の二値画像Ib(1)の一例を示す説明図である。It is explanatory drawing which shows an example of the 1st binary image Ib (1). 第1のハーフラインフィルタ処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the 1st half line filter processing. 第1のハーフラインフィルタ処理の概要を示す説明図である。It is explanatory drawing which shows the outline of the 1st half line filter processing. 第1のハーフラインフィルタ処理の結果の一例を示す説明図である。It is explanatory drawing which shows an example of the result of the 1st half line filter processing. 拡張処理の結果の一例を示す説明図である。It is explanatory drawing which shows an example of the result of extended processing. 第2のハーフラインフィルタ処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the 2nd half line filter processing. 第2のハーフラインフィルタ処理の概要を示す説明図である。It is explanatory drawing which shows the outline of the 2nd half line filter processing. ひび割れ候補領域CCの設定結果の一例を示す説明図である。It is explanatory drawing which shows an example of the setting result of the crack candidate region CC. ひび割れ候補確認処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the crack candidate confirmation processing. ひび割れ候補確認処理の概要を示す説明図である。It is explanatory drawing which shows the outline of the crack candidate confirmation processing. ひび割れ候補確認処理の概要を示す説明図である。It is explanatory drawing which shows the outline of the crack candidate confirmation processing.

A.実施形態:
A-1.装置構成:
図1は、本実施形態におけるひび割れ検出装置100の構成を概略的に示す説明図である。ひび割れ検出装置100は、例えばパーソナルコンピュータやタブレット型端末、スマートフォン等の汎用コンピュータである。ひび割れ検出装置100は、記憶部110と、表示部120と、入力部130と、インターフェース部140と、制御部170とを備える。これらの各部は、バス190を介して互いに通信可能に接続されている。
A. Embodiment:
A-1. Device configuration:
FIG. 1 is an explanatory diagram schematically showing the configuration of the crack detection device 100 in the present embodiment. The crack detection device 100 is a general-purpose computer such as a personal computer, a tablet terminal, or a smartphone. The crack detection device 100 includes a storage unit 110, a display unit 120, an input unit 130, an interface unit 140, and a control unit 170. Each of these parts is communicably connected to each other via a bus 190.

表示部120は、例えば液晶ディスプレイ等により構成され、各種の画像や情報を表示する。入力部130は、例えばキーボードやマウス、マイク等により構成され、ユーザの操作や音声による指示を受け付ける。インターフェース部140は、例えば、LANインターフェースやUSBインターフェース等により構成され、有線または無線により他の装置(例えば、撮像装置320)との通信を行う。 The display unit 120 is composed of, for example, a liquid crystal display or the like, and displays various images and information. The input unit 130 is composed of, for example, a keyboard, a mouse, a microphone, or the like, and receives user operations and voice instructions. The interface unit 140 is configured by, for example, a LAN interface, a USB interface, or the like, and communicates with another device (for example, an image pickup device 320) by wire or wirelessly.

記憶部110は、例えばハードディスクドライブ(HDD)等により構成され、各種のプログラムやデータを記憶する。例えば、記憶部110には、後述するひび割れ検出処理を実行するためのひび割れ検出プログラムCPが格納されている。ひび割れ検出プログラムCPは、例えば、CD-ROMやDVD-ROM、USBメモリ等のコンピュータ読み取り可能な記録媒体(図示しない)に格納された状態で提供され、ひび割れ検出装置100にインストールすることにより記憶部110に格納される。 The storage unit 110 is composed of, for example, a hard disk drive (HDD) or the like, and stores various programs and data. For example, the storage unit 110 stores a crack detection program CP for executing a crack detection process described later. The crack detection program CP is provided in a state of being stored in a computer-readable recording medium (not shown) such as a CD-ROM, a DVD-ROM, or a USB memory, and is installed in the crack detection device 100 to store the device. It is stored in 110.

また、記憶部110には、画像データIdが格納されている。画像データIdは、例えば、対象物(本実施形態では、建築物310の壁)を、デジタルスチルカメラ等の撮像装置320で撮像することにより生成されたものである。画像データIdは、インターフェース部140を介してひび割れ検出装置100に入力され、記憶部110に格納される。 Further, the image data Id is stored in the storage unit 110. The image data Id is generated by, for example, capturing an object (in this embodiment, the wall of the building 310) with an image pickup device 320 such as a digital still camera. The image data Id is input to the crack detection device 100 via the interface unit 140 and stored in the storage unit 110.

制御部170は、例えばCPUやROM、RAM等により構成され、記憶部110から読み出したコンピュータプログラムを実行することにより、ひび割れ検出装置100の動作を制御する。例えば、制御部170は、ひび割れ検出プログラムCPを読み出して実行することにより、後述のひび割れ検出処理を実行するひび割れ検出処理部200として機能する。ひび割れ検出処理部200は、表示制御部210と、候補検出処理部220と、候補確認処理部230とを含む。また、候補検出処理部220は、二値画像取得部222と、候補判定部224と、候補領域設定部226とを含む。また、候補確認処理部230は、画素抽出部231と、上限濃度差設定部232と、近似濃度画素特定部233と、確認判定部234とを含む。これら各部の機能については、後述のひび割れ検出処理の説明に合わせて説明する。 The control unit 170 is composed of, for example, a CPU, a ROM, a RAM, or the like, and controls the operation of the crack detection device 100 by executing a computer program read from the storage unit 110. For example, the control unit 170 functions as a crack detection processing unit 200 that executes a crack detection process described later by reading and executing the crack detection program CP. The crack detection processing unit 200 includes a display control unit 210, a candidate detection processing unit 220, and a candidate confirmation processing unit 230. Further, the candidate detection processing unit 220 includes a binary image acquisition unit 222, a candidate determination unit 224, and a candidate area setting unit 226. Further, the candidate confirmation processing unit 230 includes a pixel extraction unit 231, an upper limit density difference setting unit 232, an approximate density pixel identification unit 233, and a confirmation determination unit 234. The functions of each of these parts will be described in accordance with the description of the crack detection process described later.

A-2.ひび割れ検出処理:
次に、ひび割れ検出装置100により実行されるひび割れ検出処理について説明する。ひび割れ検出処理は、対象物を撮像した画像に対する画像処理を行うことにより、該画像からひび割れ(クラック)を検出する処理である。一般に、対象物に発生するひび割れは、線分の成分(すなわち、細長く、かつ、直線的に伸びる成分)を含んでいる。本実施形態では、このようなひび割れの特徴を利用して、精度の高いひび割れ検出処理を実現している。なお、本実施形態では、ひび割れ検出処理の対象物は、建築物310のタイル張りの壁(すなわち、壁状の構造物)である。
A-2. Crack detection process:
Next, the crack detection process executed by the crack detection device 100 will be described. The crack detection process is a process of detecting cracks from an image obtained by capturing an image of an object by performing image processing on the image. In general, cracks that occur in an object contain a component of a line segment (that is, a component that is elongated and extends linearly). In the present embodiment, the crack detection process with high accuracy is realized by utilizing the characteristics of such cracks. In the present embodiment, the object of the crack detection process is a tiled wall (that is, a wall-shaped structure) of the building 310.

図2は、ひび割れ検出処理の実行時に表示部120に表示される画面(以下、「処理時画面S1」という)の一例を示す説明図である。処理時画面S1は、表示制御部210によって表示部120に表示される。処理時画面S1は、画像選択領域R1と、手法選択領域R2と、画像表示領域R3とを含んでいる。画像選択領域R1は、ひび割れ検出処理の対象となる対象画像IOを選択するための領域である。手法選択領域R2は、ひび割れ検出処理に使用する手法(アルゴリズム)を選択するための領域である。画像表示領域R3は、対象画像IO等を表示するための領域である。 FIG. 2 is an explanatory diagram showing an example of a screen (hereinafter referred to as “processing screen S1”) displayed on the display unit 120 when the crack detection process is executed. The processing screen S1 is displayed on the display unit 120 by the display control unit 210. The processing screen S1 includes an image selection area R1, a method selection area R2, and an image display area R3. The image selection area R1 is an area for selecting a target image IO to be targeted for crack detection processing. The method selection area R2 is an area for selecting a method (algorithm) used for the crack detection process. The image display area R3 is an area for displaying the target image IO and the like.

処理時画面S1の画像選択領域R1には、記憶部110に記憶された画像データId(図1参照)の表す画像の識別子(ファイル名やサムネイル等)が、選択肢として表示される。画像選択領域R1に表示された画像の選択肢の中から、ユーザが入力部130を介して所望の画像(例えば、「画像1」)を選択すると、選択された画像が対象画像IOとして設定され、画像表示領域R3に表示される。なお、画像選択領域R1には、ひび割れ検出処理により検出されたひび割れの個数を表示する個数表示欄R11が含まれている。 In the image selection area R1 of the processing screen S1, an identifier (file name, thumbnail, etc.) of the image represented by the image data Id (see FIG. 1) stored in the storage unit 110 is displayed as an option. When the user selects a desired image (for example, "image 1") from the image choices displayed in the image selection area R1 via the input unit 130, the selected image is set as the target image IO. It is displayed in the image display area R3. The image selection area R1 includes a number display column R11 for displaying the number of cracks detected by the crack detection process.

また、処理時画面S1の手法選択領域R2には、ひび割れ検出処理を構成する後述の各処理(ひび割れ候補検出処理、ひび割れ候補確認処理)に使用する手法(アルゴリズム)の選択肢が表示される。手法選択領域R2に表示された複数の手法の中から、ユーザが入力部130を介して各処理についての所望の手法(例えば、ひび割れ候補検出処理の「手法A」、および、ひび割れ候補確認処理の「手法H」)を選択し、「実行」ボタンB1を選択すると、選択された手法を用いたひび割れ検出処理が開始される。なお、図2に示すように、本実施形態では、対象画像IOは、建築物310のタイル張りの壁が写った画像であり、画像を構成する各画素が256階調の濃度で表現されたグレースケール画像である。また、対象画像IOには、ひび割れを表す画素(以下、「ひび割れ画素Pc」という)や、ひび割れではないが、ひび割れの濃度に近い濃度を有する部分(例えば、対象物の表面の汚れ等)を表す画素(以下、「ノイズ画素Pn」という)が含まれている。 Further, in the method selection area R2 of the processing screen S1, options of the method (algorithm) used for each processing (crack candidate detection processing, crack candidate confirmation processing) described later constituting the crack detection processing are displayed. From the plurality of methods displayed in the method selection area R2, the user uses the input unit 130 to perform a desired method for each process (for example, "method A" of the crack candidate detection process and the crack candidate confirmation process. When "Method H") is selected and the "Execute" button B1 is selected, the crack detection process using the selected method is started. As shown in FIG. 2, in the present embodiment, the target image IO is an image showing the tiled wall of the building 310, and each pixel constituting the image is represented by a density of 256 gradations. It is a grayscale image. Further, in the target image IO, a pixel representing a crack (hereinafter referred to as “crack pixel Pc”) and a portion that is not a crack but has a density close to the density of the crack (for example, dirt on the surface of the object) are included. A representative pixel (hereinafter referred to as "noise pixel Pn") is included.

図3は、ひび割れ検出処理の流れを示すフローチャートである。まず、ひび割れ検出処理部200は、必要により対象画像IOに対する前処理を実行する(S120)。前処理としては、例えば、対象画像IOの濃度を補正する処理や、対象画像IOからタイルを表す画像領域(以下、「タイル領域」という)を抽出し、タイル領域以外の画像領域(目地の領域等)をひび割れ検出の対象範囲から除外する処理等が挙げられる。なお、タイル領域を抽出する処理は、公知の手法を用いて実行することができる。また、対象画像IOにおけるひび割れ検出の対象範囲が予め定められている場合には、タイル領域を抽出する処理が実行される必要はない。 FIG. 3 is a flowchart showing the flow of the crack detection process. First, the crack detection processing unit 200 executes preprocessing for the target image IO, if necessary (S120). As preprocessing, for example, a process of correcting the density of the target image IO, an image area representing a tile (hereinafter referred to as “tile area”) is extracted from the target image IO, and an image area (joint area) other than the tile area is extracted. Etc.) is excluded from the target range of crack detection. The process of extracting the tile area can be executed by using a known method. Further, when the target range for crack detection in the target image IO is predetermined, it is not necessary to execute the process of extracting the tile area.

次に、候補検出処理部220は、ひび割れ候補検出処理を実行する(S130)。ひび割れ候補検出処理は、対象画像IOから、ひび割れを表す画素である蓋然性の高いひび割れ候補画素Pccを含むひび割れ候補領域CCを検出する処理である。候補検出処理部220は、特許請求の範囲における候補検出部に相当する。ひび割れ候補検出処理の内容については、後に詳述する。 Next, the candidate detection processing unit 220 executes the crack candidate detection processing (S130). The crack candidate detection process is a process of detecting a crack candidate region CC including a crack candidate pixel Pcc, which is a pixel representing a crack, from the target image IO. The candidate detection processing unit 220 corresponds to the candidate detection unit within the scope of claims. The details of the crack candidate detection process will be described later.

次に、ひび割れ検出処理部200は、ひび割れ候補検出処理(S130)において、少なくとも1つのひび割れ候補領域CCが検出されたか否かを判定する(S140)。ひび割れ候補領域CCが検出されたと判定された場合には(S140:YES)、候補確認処理部230が、ひび割れ候補確認処理を実行する(S150)。ひび割れ候補確認処理は、対象画像IOから検出されたひび割れ候補領域CCが、真にひび割れを表す画像領域であるひび割れ領域CRであるか否かを確認する処理である。ひび割れ候補確認処理の内容については、後に詳述する。また、ひび割れ候補検出処理においてひび割れ候補領域CCが検出されなかったと判定された場合には(S140:NO)、ひび割れ候補確認処理(S150)はスキップされる。 Next, the crack detection processing unit 200 determines whether or not at least one crack candidate region CC is detected in the crack candidate detection process (S130) (S140). When it is determined that the crack candidate region CC has been detected (S140: YES), the candidate confirmation processing unit 230 executes the crack candidate confirmation processing (S150). The crack candidate confirmation process is a process for confirming whether or not the crack candidate region CC detected from the target image IO is the crack region CR, which is an image region that truly represents a crack. The details of the crack candidate confirmation process will be described later. If it is determined that the crack candidate region CC is not detected in the crack candidate detection process (S140: NO), the crack candidate confirmation process (S150) is skipped.

次に、表示制御部210は、ひび割れ検出処理の結果を表示部120に表示させる(S160)。図4は、ひび割れ検出処理の結果を含む処理時画面S1の一例を示す説明図である。図4に示す処理時画面S1の例では、画像表示領域R3に表示された対象画像IO上に、検出されたひび割れ領域CRを示す画像(すなわち、ひび割れ候補画素Pccの少なくとも一部を示す画像)が表示されている。また、処理時画面S1の画像選択領域R1の個数表示欄R11には、対象画像IOから検出されたひび割れ領域CRの個数(例えば、1個)が示されている。ユーザは、ひび割れ検出処理の結果を示す処理時画面S1を通じて、対象画像IOに表された対象物(例えば、建築物310の壁)におけるひび割れの発生状況を把握することができる。 Next, the display control unit 210 causes the display unit 120 to display the result of the crack detection process (S160). FIG. 4 is an explanatory diagram showing an example of the processing screen S1 including the result of the crack detection processing. In the example of the processing screen S1 shown in FIG. 4, an image showing the detected crack region CR (that is, an image showing at least a part of the crack candidate pixel Pcc) is displayed on the target image IO displayed in the image display region R3. Is displayed. Further, in the number display field R11 of the image selection area R1 of the processing screen S1, the number of cracked areas CR detected from the target image IO (for example, one) is shown. The user can grasp the occurrence state of cracks in the object (for example, the wall of the building 310) represented by the target image IO through the processing screen S1 showing the result of the crack detection process.

A-3.ひび割れ候補検出処理:
次に、ひび割れ候補検出処理(図3のS130)について詳細に説明する。上述したように、ひび割れ候補検出処理は、対象画像IOから、ひび割れを表す画素である蓋然性の高いひび割れ候補画素Pccを含むひび割れ候補領域CCを検出する処理である。図5は、ひび割れ候補検出処理の流れを示すフローチャートである。
A-3. Crack candidate detection process:
Next, the crack candidate detection process (S130 in FIG. 3) will be described in detail. As described above, the crack candidate detection process is a process of detecting a crack candidate region CC including a crack candidate pixel Pcc, which is a pixel representing a crack, from the target image IO. FIG. 5 is a flowchart showing the flow of the crack candidate detection process.

はじめに、候補検出処理部220の二値画像取得部222は、対象画像(原画像)IOに対して二値化処理を実行し、二値画像(以下、「第1の二値画像」という)Ib(1)を取得する(S210)。図6は、第1の二値画像Ib(1)の一例を示す説明図である。図6には、第1の二値画像Ib(1)の一部分(図2のX1部に相当する部分)の構成が拡大して示されている。第1の二値画像Ib(1)は、対象物を、黒色を表す濃度値(本実施形態では、0)と、白色を表す濃度値(本実施形態では、255)との2階調で表現する画像である。すなわち、第1の二値画像Ib(1)は、黒色画素Pkと白色画素Pwとから構成された画像である。なお、図6では、黒色画素Pkにハッチングを付している。 First, the binary image acquisition unit 222 of the candidate detection processing unit 220 executes binarization processing on the target image (original image) IO, and binarizes the image (hereinafter referred to as "first binary image"). Acquire Ib (1) (S210). FIG. 6 is an explanatory diagram showing an example of the first binary image Ib (1). FIG. 6 shows an enlarged configuration of a part (a part corresponding to the X1 part of FIG. 2) of the first binary image Ib (1). In the first binary image Ib (1), the object has two gradations of a density value representing black color (0 in the present embodiment) and a density value representing white color (255 in the present embodiment). It is an image to be expressed. That is, the first binary image Ib (1) is an image composed of black pixels Pk and white pixels Pw. In FIG. 6, the black pixel Pk is hatched.

対象画像IOに対する二値化処理は、任意の公知の手法(例えば、判別分析法に従って画像のヒストグラムを参照した閾値決定を行い、該閾値を用いて画像を二値化する手法等)を用いて実行することができるが、本実施形態では、二値化処理として以下の処理を実行する。すなわち、グレースケール画像である対象画像(原画像)IOを構成する画素の中から注目画素を順次選択し、注目画素の濃度値を、注目画素の周辺に位置する複数の周辺画素の濃度値の平均値と比較する。なお、周辺画素の範囲は任意に設定することができ、例えば、注目画素の周りを取り囲む8つの画素とすることができる。複数の周辺画素の濃度値の平均値に対して注目画素の濃度値が小さい場合(すなわち、白色を表す濃度値(255)に対する黒色を表す濃度値(0)の大小関係と一致する場合)には、注目画素の濃度値を、黒色を表す濃度値(すなわち、0)に変換する。また、複数の周辺画素の濃度値の平均値に対して注目画素の濃度値が大きい場合(すなわち、白色を表す濃度値(255)に対する黒色を表す濃度値(0)の大小関係と一致しない場合)には、注目画素の濃度値を、白色を表す濃度値(すなわち、255)に変換する。これにより、白色画素Pwと黒色画素Pkとにより構成された第1の二値画像Ib(1)が生成される。なお、対象画像IOに対して二値化処理を行った二値画像Ibは、必ずしも画像として表示される必要はない。 The binarization process for the target image IO uses an arbitrary known method (for example, a method of determining a threshold value with reference to an image histogram according to a discriminant analysis method and binarizing the image using the threshold value). Although it can be executed, in the present embodiment, the following process is executed as the binarization process. That is, the pixel of interest is sequentially selected from the pixels constituting the target image (original image) IO, which is a grayscale image, and the density value of the pixel of interest is the density value of a plurality of peripheral pixels located around the pixel of interest. Compare with the average value. The range of peripheral pixels can be arbitrarily set, and for example, eight pixels surrounding the pixel of interest can be set. When the density value of the pixel of interest is smaller than the average value of the density values of a plurality of peripheral pixels (that is, when it matches the magnitude relationship of the density value (0) representing black with respect to the density value (255) representing white). Converts the density value of the pixel of interest to a density value representing black color (that is, 0). Further, when the density value of the pixel of interest is larger than the average value of the density values of the plurality of peripheral pixels (that is, when the magnitude relationship of the density value (0) representing black color with respect to the density value (255) representing white color does not match. ) Converts the density value of the pixel of interest to a density value representing white color (that is, 255). As a result, the first binary image Ib (1) composed of the white pixel Pw and the black pixel Pk is generated. The binary image Ib obtained by binarizing the target image IO does not necessarily have to be displayed as an image.

グレースケール画像である対象画像IOにおいて、ひび割れを表すひび割れ画素Pcの濃度値は、黒の濃度値に近い。そのため、対象画像IOの二値化処理により生成された第1の二値画像Ib(1)においては、ひび割れ画素Pcは黒色画素Pkとなる。ただし、第1の二値画像Ib(1)における黒色画素Pkが、すべてひび割れ画素Pcであるとは限らない。すなわち、対象画像IOに含まれる、ひび割れではないが、ひび割れの濃度に近い濃度を有する部分(例えば、対象物の表面の汚れ等)を表すノイズ画素Pnも、第1の二値画像Ib(1)において黒色画素Pkとなる場合がある。図6に示す例では、第1の二値画像Ib(1)中に、ひび割れ画素Pcである黒色画素Pkに加えて、ノイズ画素Pnである黒色画素Pkが含まれている。 In the target image IO, which is a grayscale image, the density value of the crack pixel Pc representing the crack is close to the density value of black. Therefore, in the first binary image Ib (1) generated by the binarization process of the target image IO, the cracked pixel Pc becomes the black pixel Pk. However, not all the black pixels Pk in the first binary image Ib (1) are cracked pixels Pc. That is, the noise pixel Pn included in the target image IO, which is not a crack but has a density close to the crack density (for example, dirt on the surface of the object), is also the first binary image Ib (1). ) May result in black pixels Pk. In the example shown in FIG. 6, in the first binary image Ib (1), in addition to the black pixel Pk which is the crack pixel Pc, the black pixel Pk which is the noise pixel Pn is included.

次に、候補検出処理部220の候補判定部224は、第1の二値画像Ib(1)を対象として、第1のハーフラインフィルタ処理を実行する(S220)。図7は、第1のハーフラインフィルタ処理の流れを示すフローチャートである。また、図8は、第1のハーフラインフィルタ処理の概要を示す説明図である。図8では、ひび割れ画素Pcにより構成される領域、および、ノイズ画素Pnにより構成される領域が太い破線で示されている(図9,10,13においても同様)。 Next, the candidate determination unit 224 of the candidate detection processing unit 220 executes the first half-line filter processing on the first binary image Ib (1) (S220). FIG. 7 is a flowchart showing the flow of the first half-line filter processing. Further, FIG. 8 is an explanatory diagram showing an outline of the first half-line filter processing. In FIG. 8, the region composed of the cracked pixel Pc and the region composed of the noise pixel Pn are shown by a thick broken line (the same applies to FIGS. 9, 10 and 13).

まず、候補判定部224は、第1の二値画像Ib(1)を構成する画素の1つを注目画素SPとして選択する(S221)。なお、本実施形態では、注目画素SPを、第1の二値画像Ib(1)を構成する黒色画素Pkの中から選択する。ただし、注目画素SPを、第1の二値画像Ib(1)を構成するすべての画素の中から選択するとしてもよい。図8には、3つの注目画素SP(SP(1),SP(2),SP(3))が例示されている。なお、実際には、複数の画素が注目画素SPとして同時に選択されることはなく、各画素が1つずつ順番に注目画素SPとして選択される。 First, the candidate determination unit 224 selects one of the pixels constituting the first binary image Ib (1) as the pixel of interest SP (S221). In this embodiment, the pixel SP of interest is selected from the black pixels Pk constituting the first binary image Ib (1). However, the pixel of interest SP may be selected from all the pixels constituting the first binary image Ib (1). FIG. 8 illustrates three notable pixels SP (SP (1), SP (2), SP (3)). In reality, a plurality of pixels are not simultaneously selected as the pixel of interest SP, and each pixel is sequentially selected as the pixel of interest SP one by one.

次に、候補判定部224は、第1の二値画像Ib(1)上に、注目画素SPを端点とし、所定の長さL1を有し、互いに異なる所定の傾きを有する複数の仮想線分SLを設定する(S222)。図8には、各注目画素SPについて、45度ずつ傾きが異なる8本の仮想線分SLが例示されており、各仮想線分SLの長さL1は5画素分とされているが、仮想線分SLの本数や長さは、任意に設定可能である。 Next, the candidate determination unit 224 has a plurality of virtual line segments having a predetermined length L1 and different predetermined inclinations from each other on the first binary image Ib (1) with the pixel of interest SP as an end point. SL is set (S222). FIG. 8 exemplifies eight virtual line segment SLs having different inclinations of 45 degrees for each attention pixel SP, and the length L1 of each virtual line segment SL is set to five pixels, but it is virtual. The number and length of the line segment SL can be set arbitrarily.

候補判定部224は、各仮想線分SLについて、「仮想線分SL上に位置する画素の内の所定の割合RA1以上の画素の濃度値が黒色画素Pkの濃度値に一致する(すなわち、所定の割合RA1以上の画素が黒色画素Pkに該当する)」という条件(以下、「第1の条件」という)を満たすか否かを判定する(S223)。このときの所定の割合RA1は、例えば、80%~100%の範囲内の1つの値に設定される。例えば、図8に示された注目画素SP(1)について設定された2つの仮想線分SL(仮想線分SL(1)およびSL(2))については、仮想線分SL上に位置する画素のすべてが黒色画素Pkに該当するため、上記第1の条件を満たすと判定される。一方、図8に示された注目画素SP(1)について設定された他の仮想線分SL(3)については、仮想線分SL上に位置する画素の内、黒色画素Pkに該当する画素の割合が低い(RA1未満である)ため、上記第1の条件を満たさないと判定される。 For each virtual line segment SL, the candidate determination unit 224 states that "the density value of pixels having a predetermined ratio RA1 or more among the pixels located on the virtual line segment SL matches the density value of the black pixel Pk (that is, predetermined). (S223), it is determined whether or not the condition (hereinafter, referred to as “first condition”) of “a pixel having a ratio RA1 or more corresponds to a black pixel Pk) is satisfied (S223). The predetermined ratio RA1 at this time is set to, for example, one value in the range of 80% to 100%. For example, for the two virtual line segment SLs (virtual line segment SL (1) and SL (2)) set for the pixel of interest SP (1) shown in FIG. 8, the pixels located on the virtual line segment SL. Since all of the above correspond to black pixels Pk, it is determined that the first condition is satisfied. On the other hand, regarding the other virtual line segment SL (3) set for the attention pixel SP (1) shown in FIG. 8, among the pixels located on the virtual line segment SL, the pixel corresponding to the black pixel Pk Since the ratio is low (less than RA1), it is determined that the first condition is not satisfied.

また、候補判定部224は、上記第1の条件を満たす仮想線分SLの中に、傾きが互いに180度異なる(すなわち、注目画素SPを通る1つの仮想的な直線上に位置する)2つの仮想線分SLの組(以下、「条件満足線分対」という)が存在するか否かを判定する(S224)。この判定は、換言すれば、複数の仮想線分SLの内、傾きが互いに180度異なる2つの仮想線分SLの両方について、仮想線分SL上に位置する画素の内の所定の割合RA1以上の画素の濃度値が黒色画素Pkの濃度値に一致する、という第1の条件が満たされるか否かの判定である。 Further, the candidate determination unit 224 has two different inclinations of 180 degrees (that is, located on one virtual straight line passing through the pixel SP of interest) in the virtual line segment SL satisfying the first condition. It is determined whether or not a set of virtual line segment SLs (hereinafter referred to as "condition-satisfying line segment pair") exists (S224). In other words, this determination is based on a predetermined ratio RA1 or more of the pixels located on the virtual line segment SL for both of the two virtual line segment SLs whose slopes differ by 180 degrees from each other among the plurality of virtual line segment SLs. It is a determination whether or not the first condition that the density value of the pixel of 1 matches the density value of the black pixel Pk is satisfied.

候補判定部224は、条件満足線分対が存在すると判定した場合には(S224:YES)、現在選択されている注目画素SPを、ひび割れを表す画素である蓋然性の高いひび割れ候補画素(以下、「第1次ひび割れ候補画素」という)Pcc1に設定する(S225)。一方、候補判定部224は、条件満足線分対が存在しないと判定した場合には(S224:NO)、注目画素SPを第1次ひび割れ候補画素Pcc1に設定する処理(S225)をスキップする。例えば、図8に示された注目画素SP(1)について設定された2つの仮想線分SL(仮想線分SL(1)およびSL(2))は、傾きが互いに180度異なる2つの仮想線分SLの組であり、かつ、両方が上記第1の条件を満たしている。そのため、条件満足線分対が存在すると判定され、このときの注目画素SP(1)が第1次ひび割れ候補画素Pcc1に設定される。なお、図8に示された他の注目画素SP(2)についても、同様に、条件満足線分対が存在すると判定され、第1次ひび割れ候補画素Pcc1に設定される。一方、図8に示された他の注目画素SP(3)については、条件満足線分対が存在しないと判定され、第1次ひび割れ候補画素Pcc1には設定されない。 When the candidate determination unit 224 determines that a condition-satisfying line segment pair exists (S224: YES), the currently selected pixel of interest SP is a pixel representing a crack, which is a highly probable crack candidate pixel (hereinafter referred to as a crack candidate pixel). It is set to Pcc1 (referred to as "primary crack candidate pixel") (S225). On the other hand, when the candidate determination unit 224 determines that the condition satisfaction line segment pair does not exist (S224: NO), the candidate determination unit 224 skips the process (S225) of setting the attention pixel SP to the primary crack candidate pixel Pcc1. For example, the two virtual line segments SL (virtual line segment SL (1) and SL (2)) set for the attention pixel SP (1) shown in FIG. 8 have two virtual line segments having slopes different from each other by 180 degrees. It is a set of line segments, and both satisfy the first condition. Therefore, it is determined that a condition-satisfying line segment pair exists, and the pixel of interest SP (1) at this time is set to the first crack candidate pixel Pcc1. Similarly, the other noteworthy pixel SP (2) shown in FIG. 8 is also determined to have a condition-satisfying line segment pair, and is set in the first crack candidate pixel Pcc1. On the other hand, regarding the other notable pixel SP (3) shown in FIG. 8, it is determined that the condition-satisfying line segment pair does not exist, and the first crack candidate pixel Pcc1 is not set.

候補検出処理部220は、対象となる画素のすべてについて注目画素SPとしての選択が完了したか否かを判定し(S226)、注目画素SPの選択が完了していない(すなわち、未選択の対象画素がある)と判定した場合には(S226:NO)、S221に戻って上述の処理を繰り返す。一方、候補検出処理部220は、対象となる画素のすべてについて注目画素SPとしての選択が完了したと判定した場合には(S226:YES)、第1のハーフライン処理を終了する。 The candidate detection processing unit 220 determines whether or not the selection of all the target pixels as the pixel of interest SP has been completed (S226), and the selection of the pixel of interest SP has not been completed (that is, the unselected target). If it is determined (S226: NO), the process returns to S221 and the above processing is repeated. On the other hand, when the candidate detection processing unit 220 determines that the selection of all the target pixels as the pixel of interest SP is completed (S226: YES), the candidate detection processing unit 220 ends the first half-line processing.

図9は、第1のハーフラインフィルタ処理の結果の一例を示す説明図である。図9では、第1のハーフラインフィルタ処理において第1次ひび割れ候補画素Pcc1に設定された画素にハッチングが付されている。上述したように、一般に、ひび割れは、線分の成分を含んでいる。そのため、第1のハーフラインフィルタ処理では、仮想線分SLの長さの2倍分の線分上に位置する画素の内の一定割合以上が黒色画素Pkであれば、そのときの注目画素SPはひび割れを表す画素である蓋然性が高いひび割れ候補画素であると判定している。図9に示された例では、真にひび割れを表すひび割れ画素Pcの大部分が、第1次ひび割れ候補画素Pcc1に設定されている。また、図9の左上付近に示されたノイズ画素Pnはすべて、第1次ひび割れ候補画素Pcc1には設定されていない。すなわち、これらのノイズ画素Pnが誤ってひび割れとして検出される誤検出の発生が防止されている。ただし、図9の右下付近に示されたノイズ画素Pnは、比較的細長い一群の領域を構成しているため、該ノイズ画素Pnの一部は、誤って第1次ひび割れ候補画素Pcc1に設定されている。 FIG. 9 is an explanatory diagram showing an example of the result of the first half-line filter processing. In FIG. 9, the pixels set in the primary crack candidate pixel Pcc1 in the first half-line filter processing are hatched. As mentioned above, cracks generally contain line segment components. Therefore, in the first half-line filter processing, if a certain percentage or more of the pixels located on the line segment twice the length of the virtual line segment SL is the black pixel Pk, the pixel SP of interest at that time. Is determined to be a crack candidate pixel having a high probability of being a pixel representing a crack. In the example shown in FIG. 9, most of the crack pixels Pc that truly represent cracks are set in the primary crack candidate pixel Pcc1. Further, all the noise pixels Pn shown near the upper left of FIG. 9 are not set in the primary crack candidate pixel Pcc1. That is, the occurrence of erroneous detection in which these noise pixels Pn are erroneously detected as cracks is prevented. However, since the noise pixel Pn shown near the lower right of FIG. 9 constitutes a relatively elongated group of regions, a part of the noise pixel Pn is erroneously set as the first crack candidate pixel Pcc1. Has been done.

なお、上述した内容の第1のハーフラインフィルタ処理は、実際には、フィルタを用いた画像処理により実現される。後述する第2のハーフラインフィルタ処理についても同様である。 The first half-line filter processing described above is actually realized by image processing using a filter. The same applies to the second half-line filter processing described later.

第1のハーフラインフィルタ処理(図5のS220)の完了後、候補検出処理部220は、拡張処理を実行する(S230)。上述した第1のハーフラインフィルタ処理では、真にひび割れを表すひび割れ画素Pcの一部、具体的には、一群のひび割れ画素Pcにより構成される領域の縁部(特に、ひび割れの長手方向の縁部)に位置するひび割れ画素Pcが、第1次ひび割れ候補画素Pcc1に設定されないことがある。そのため、候補検出処理部220は、第1のハーフラインフィルタ処理により設定された一群の第1次ひび割れ候補画素Pcc1により構成される領域を拡張し、拡張された領域に含まれる画素の内、第1のハーフラインフィルタ処理において第1次ひび割れ候補画素Pcc1として設定されなかった画素を、第1次ひび割れ候補画素Pcc1に修正する。このような拡張処理は、例えば、モルフォロジー(morphology)演算により実現することができる。 After the completion of the first half-line filter processing (S220 in FIG. 5), the candidate detection processing unit 220 executes the expansion processing (S230). In the first half-line filtering process described above, a part of the crack pixel Pc that truly represents the crack, specifically, the edge of the region composed of the group of the crack pixel Pc (particularly, the edge in the longitudinal direction of the crack). The crack pixel Pc located in the portion) may not be set in the primary crack candidate pixel Pcc1. Therefore, the candidate detection processing unit 220 expands the region composed of the group of primary crack candidate pixels Pcc1 set by the first half-line filter processing, and among the pixels included in the expanded region, the first The pixel that was not set as the first crack candidate pixel Pcc1 in the half-line filter processing of 1 is corrected to the first crack candidate pixel Pcc1. Such an extended process can be realized, for example, by a morphology operation.

候補検出処理部220は、第1の二値画像Ib(1)を基に、拡張処理の完了時における第1次ひび割れ候補画素Pcc1の濃度値を、黒色を表す濃度値(すなわち、0)に変換し、それ以外の画素の濃度値を、白色を表す濃度値(すなわち、255)に変換することにより、変換後の二値画像(以下、「第2の二値画像」という)Ib(2)を生成する。なお、第2の二値画像Ib(2)は、第1の二値画像Ib(1)における(拡張処理前の)第1次ひび割れ候補画素Pcc1の濃度値が黒色を表す濃度値に変換され、(拡張処理前の)第1次ひび割れ候補画素Pcc1以外の画素の少なくとも一部の濃度値が白色を表す濃度値に変換された二値画像であると言える。 Based on the first binary image Ib (1), the candidate detection processing unit 220 changes the density value of the primary crack candidate pixel Pcc1 at the completion of the expansion processing to a density value representing black (that is, 0). By converting and converting the density values of the other pixels to the density values representing white (that is, 255), the converted binary image (hereinafter referred to as "second binary image") Ib (2). ) Is generated. In the second binary image Ib (2), the density value of the primary crack candidate pixel Pcc1 (before the expansion process) in the first binary image Ib (1) is converted into a density value representing black. , It can be said that it is a binary image in which at least a part of the density values of the pixels other than the primary crack candidate pixel Pcc1 (before the expansion process) are converted into the density values representing white.

図10は、拡張処理の結果の一例を示す説明図である。図10には、第2の二値画像Ib(2)上において、第1次ひび割れ候補画素Pcc1に設定された画素にハッチングが付されている。図10を図9と比較すると明らかなように、拡張処理の実行前から第1次ひび割れ候補画素Pcc1として設定されていた画素により構成される領域は、拡張処理によって拡張される。なお、拡張処理の完了時における第1次ひび割れ候補画素Pcc1により構成される領域は、ひび割れ画素Pcにより構成される領域と完全に一致するとは限らないが、両者は概ね一致する。 FIG. 10 is an explanatory diagram showing an example of the result of the expansion process. In FIG. 10, on the second binary image Ib (2), the pixels set in the primary crack candidate pixel Pcc1 are hatched. As is clear when FIG. 10 is compared with FIG. 9, the area composed of the pixels set as the primary crack candidate pixel Pcc1 before the execution of the expansion process is expanded by the expansion process. The region composed of the primary crack candidate pixels Pcc1 at the completion of the expansion process does not always completely coincide with the region composed of the crack pixels Pc, but they generally coincide with each other.

次に、候補判定部224は、第2の二値画像Ib(2)を対象として、第2のハーフラインフィルタ処理を実行する(図5のS240)。図11は、第2のハーフラインフィルタ処理の流れを示すフローチャートである。また、図12は、第2のハーフラインフィルタ処理の概要を示す説明図である。図12では、第1次ひび割れ候補画素Pcc1により構成される領域が太い一点鎖線で示されている。 Next, the candidate determination unit 224 executes a second half-line filter process on the second binary image Ib (2) (S240 in FIG. 5). FIG. 11 is a flowchart showing the flow of the second half-line filter processing. Further, FIG. 12 is an explanatory diagram showing an outline of the second half-line filter processing. In FIG. 12, the region composed of the first crack candidate pixel Pcc1 is shown by a thick alternate long and short dash line.

まず、候補判定部224は、第2の二値画像Ib(2)を構成する第1次ひび割れ候補画素Pcc1の1つを注目画素SPとして選択する(S241)。図12には、2つの注目画素SP(SP(1),SP(2))が例示されている。なお、実際には、複数の画素が注目画素SPとして同時に選択されることはなく、各画素が1つずつ順番に注目画素SPとして選択される。 First, the candidate determination unit 224 selects one of the primary crack candidate pixels Pcc1 constituting the second binary image Ib (2) as the pixel of interest SP (S241). FIG. 12 illustrates two notable pixels SP (SP (1), SP (2)). In reality, a plurality of pixels are not simultaneously selected as the pixel of interest SP, and each pixel is sequentially selected as the pixel of interest SP one by one.

次に、候補判定部224は、第2の二値画像Ib(2)上に、注目画素SPを端点とし、所定の長さL2を有し、互いに異なる所定の傾きを有する複数の仮想線分SLを設定する(S242)。図12には、各注目画素SPについて、45度ずつ傾きが異なる8本の仮想線分SLが例示されており、各仮想線分SLの長さL2は10画素分とされているが、仮想線分SLの本数や長さは、任意に設定可能である。ただし、第2のハーフラインフィルタ処理において設定される仮想線分SLの長さL2は、第1のハーフラインフィルタ処理において設定される仮想線分SLの長さL1より長い(L2>L1)。長さL2は、長さL1の2倍以上であることが好ましい。 Next, the candidate determination unit 224 has a plurality of virtual line segments having a predetermined length L2 and different predetermined inclinations from each other on the second binary image Ib (2) with the pixel of interest SP as an end point. SL is set (S242). FIG. 12 exemplifies eight virtual line segment SLs having different inclinations of 45 degrees for each attention pixel SP, and the length L2 of each virtual line segment SL is set to 10 pixels, but it is virtual. The number and length of the line segment SL can be set arbitrarily. However, the length L2 of the virtual line segment SL set in the second half-line filter processing is longer than the length L1 of the virtual line segment SL set in the first half-line filter processing (L2> L1). The length L2 is preferably twice or more the length L1.

候補判定部224は、各仮想線分SLについて、「仮想線分SL上に位置する画素の内の所定の割合RA2以上の画素の濃度値が黒色画素Pkの濃度値に一致する(すなわち、所定の割合RA2以上の画素が黒色画素Pkに該当する)」という条件(以下、「第2の条件」という)を満たすか否かを判定する(S243)。このときの所定の割合RA2は、第1のハーフラインフィルタ処理における上記割合RA1より低く、例えば、60%~80%の範囲内の1つの値に設定される。 For each virtual line segment SL, the candidate determination unit 224 states that "the density value of pixels having a predetermined ratio RA2 or more among the pixels located on the virtual line segment SL matches the density value of the black pixel Pk (that is, predetermined). (S243), it is determined whether or not the condition (hereinafter, referred to as “second condition”) of “a pixel having a ratio RA2 or more corresponds to a black pixel Pk) is satisfied (S243). The predetermined ratio RA2 at this time is lower than the ratio RA1 in the first half-line filter processing, and is set to, for example, one value in the range of 60% to 80%.

候補判定部224は、上記第2の条件を満たす仮想線分SL(以下、「条件満足線分」という)が存在するか否かを判定し(S244)、条件満足線分が存在すると判定した場合には(S244:YES)、現在選択されている注目画素SPを、新たなひび割れ候補画素(以下、「第2次ひび割れ候補画素」という)Pcc2に設定する(S245)。すなわち、第2次ひび割れ候補画素Pcc2は、第1のハーフラインフィルタ処理においてひび割れ候補画素(第1次ひび割れ候補画素Pcc1)であると判定された画素の内、第2のハーフラインフィルタ処理においてもひび割れ候補画素(第2次ひび割れ候補画素Pcc2)であると判定された画素であり、更新されたひび割れ候補画素であると言える。一方、候補判定部224は、条件満足線分が存在しないと判定した場合には(S244:NO)、注目画素SPを第2次ひび割れ候補画素Pcc2に設定する処理(S245)をスキップする。すなわち、この場合には、第1のハーフラインフィルタ処理においてひび割れ候補画素(第1次ひび割れ候補画素Pcc1)であると判定された画素であっても、第2のハーフラインフィルタ処理においてひび割れ候補画素(第2次ひび割れ候補画素Pcc2)ではないと判定される。例えば、図12に示された注目画素SP(1)については、該注目画素SP(1)について設定された仮想線分SL(1)上に位置する画素のすべてが黒色画素Pkに該当することから、該仮想線分SL(1)が条件満足線分に該当するため、該注目画素SP(1)は第2次ひび割れ候補画素Pcc2に設定される。一方、図12に示された他の注目画素SP(2)については、条件満足線分が存在しないため、該注目画素SP(2)は第2次ひび割れ候補画素Pcc2には設定されない。 The candidate determination unit 224 determines whether or not there is a virtual line segment SL (hereinafter referred to as “condition satisfaction line segment”) that satisfies the second condition (S244), and determines that a condition satisfaction line segment exists. In that case (S244: YES), the currently selected pixel of interest SP is set to a new crack candidate pixel (hereinafter, referred to as “secondary crack candidate pixel”) Pcc2 (S245). That is, the second crack candidate pixel Pcc2 is also in the second half-line filter processing among the pixels determined to be the crack candidate pixel (first crack candidate pixel Pcc1) in the first half-line filter processing. It is a pixel determined to be a crack candidate pixel (secondary crack candidate pixel Pcc2), and can be said to be an updated crack candidate pixel. On the other hand, when the candidate determination unit 224 determines that the condition satisfaction line segment does not exist (S244: NO), the candidate determination unit 224 skips the process (S245) of setting the attention pixel SP to the second crack candidate pixel Pcc2. That is, in this case, even if the pixel is determined to be the crack candidate pixel (first crack candidate pixel Pcc1) in the first half-line filter processing, the crack candidate pixel is determined in the second half-line filter processing. It is determined that it is not (secondary crack candidate pixel Pcc2). For example, with respect to the pixel of interest SP (1) shown in FIG. 12, all the pixels located on the virtual line segment SL (1) set for the pixel of interest SP (1) correspond to the black pixel Pk. Therefore, since the virtual line segment SL (1) corresponds to the condition satisfaction line segment, the attention pixel SP (1) is set to the second crack candidate pixel Pcc2. On the other hand, with respect to the other attention pixel SP (2) shown in FIG. 12, since the condition satisfaction line segment does not exist, the attention pixel SP (2) is not set in the second crack candidate pixel Pcc2.

候補検出処理部220は、対象となる画素のすべてについて注目画素SPとしての選択が完了したか否かを判定し(S246)、注目画素SPの選択が完了していない(すなわち、未選択の対象画素がある)と判定した場合には(S246:NO)、S241に戻って上述の処理を繰り返す。一方、候補検出処理部220は、対象となる画素のすべてについて注目画素SPとしての選択が完了したと判定した場合には(S246:YES)、第2のハーフライン処理を終了する。 The candidate detection processing unit 220 determines whether or not the selection of all the target pixels as the pixel of interest SP has been completed (S246), and the selection of the pixel of interest SP has not been completed (that is, the unselected target). If it is determined (S246: NO), the process returns to S241 and the above processing is repeated. On the other hand, when the candidate detection processing unit 220 determines that the selection of all the target pixels as the pixel of interest SP is completed (S246: YES), the candidate detection processing unit 220 ends the second half-line processing.

第2のハーフラインフィルタ処理(図5のS240)の完了後、候補検出処理部220の候補領域設定部226は、第2のハーフラインフィルタ処理において設定された第2次ひび割れ候補画素Pcc2を含む画像領域を、ひび割れを表す画像領域である蓋然性の高いひび割れ候補領域CCとして設定する(S250)。なお、ひび割れ候補領域CCは、第2次ひび割れ候補画素Pcc2のみから構成されるとしてもよいし、第2次ひび割れ候補画素Pcc2ではない画素を僅かに含んでいてもよい。例えば、一群の第2次ひび割れ候補画素Pcc2により囲まれた領域の内側に、第2次ひび割れ候補画素Pcc2ではない画素が僅かに存在する場合に、そのような第2次ひび割れ候補画素Pcc2ではない画素を含めてひび割れ候補領域CCを設定するものとしてもよい。 After the completion of the second half-line filter processing (S240 in FIG. 5), the candidate area setting unit 226 of the candidate detection processing unit 220 includes the second crack candidate pixel Pcc2 set in the second half-line filter processing. The image region is set as a crack candidate region CC, which is an image region representing cracks and has a high probability (S250). The crack candidate region CC may be composed of only the secondary crack candidate pixel Pcc2, or may include a small number of pixels that are not the secondary crack candidate pixel Pcc2. For example, if there are a few pixels that are not the secondary crack candidate pixels Pcc2 inside the area surrounded by the group of secondary crack candidate pixels Pcc2, it is not such a secondary crack candidate pixel Pcc2. The crack candidate region CC may be set including the pixels.

図13は、ひび割れ候補領域CCの設定結果の一例を示す説明図である。図13では、第2のハーフラインフィルタ処理において第2次ひび割れ候補画素Pcc2に設定された画素(ひび割れ候補領域CC)に、ハッチングが付されている。上述したように、一般に、ひび割れは、線分の成分を含んでいる。そのため、第2のハーフラインフィルタ処理では、注目画素SPを端点とする長さL2の仮想線分SL上に位置する画素の内の一定割合以上が黒色画素Pkであれば、該注目画素SPはひび割れを表す画素である蓋然性が高いひび割れ候補画素であると判定している。 FIG. 13 is an explanatory diagram showing an example of the setting result of the crack candidate region CC. In FIG. 13, the pixels (crack candidate region CC) set in the secondary crack candidate pixel Pcc2 in the second half-line filter processing are hatched. As mentioned above, cracks generally contain line segment components. Therefore, in the second half-line filter processing, if a certain percentage or more of the pixels located on the virtual line segment SL having a length L2 having the attention pixel SP as an end point is a black pixel Pk, the attention pixel SP is It is determined that it is a crack candidate pixel having a high probability of being a pixel representing a crack.

なお、第2のハーフラインフィルタ処理では、仮想線分SLの長さ(L2)を、第1のハーフラインフィルタ処理における仮想線分SLの長さ(L1)より長くしている。そのため、ノイズ画素Pnを誤って第2次ひび割れ候補画素Pcc2に設定する誤検出の発生を抑制することができる。例えば、図13に示された例では、真にひび割れを表すひび割れ画素Pcの大部分が、第2次ひび割れ候補画素Pcc2として設定されている一方、図13の右下付近に示されたノイズ画素Pnは、第2次ひび割れ候補画素Pcc2に設定されていない。すなわち、これらのノイズ画素Pnが誤ってひび割れとして検出される誤検出の発生が防止されている。 In the second half-line filter processing, the length of the virtual line segment SL (L2) is made longer than the length of the virtual line segment SL (L1) in the first half-line filter processing. Therefore, it is possible to suppress the occurrence of erroneous detection in which the noise pixel Pn is erroneously set in the secondary crack candidate pixel Pcc2. For example, in the example shown in FIG. 13, most of the crack pixels Pc that truly represent cracks are set as the secondary crack candidate pixels Pcc2, while the noise pixels shown near the lower right of FIG. Pn is not set in the second crack candidate pixel Pcc2. That is, the occurrence of erroneous detection in which these noise pixels Pn are erroneously detected as cracks is prevented.

また、第2のハーフラインフィルタ処理では、上記第2の条件(仮想線分SL上に位置する画素の内の所定の割合RA2以上の画素の濃度値が黒色画素Pkの濃度値に一致する)における所定の割合RA2が、第1のハーフラインフィルタ処理において用いられる上記第1の条件(仮想線分SL上に位置する画素の内の所定の割合RA1以上の画素の濃度値が黒色画素Pkの濃度値に一致する)における所定の割合RA1より低く設定されている。そのため、真にひび割れを表すひび割れ画素Pcが第2次ひび割れ候補画素Pcc2に設定されない検出漏れの発生を抑制することができる。 Further, in the second half-line filter processing, the second condition (the density value of the pixels having a predetermined ratio RA2 or more among the pixels located on the virtual line segment SL matches the density value of the black pixel Pk). The predetermined ratio RA2 in the above is used in the first half-line filter processing, and the density value of the pixels having the predetermined ratio RA1 or more among the pixels located on the virtual line segment SL is the black pixel Pk. It is set lower than the predetermined ratio RA1 in (corresponding to the concentration value). Therefore, it is possible to suppress the occurrence of detection omission in which the crack pixel Pc that truly represents the crack is not set in the secondary crack candidate pixel Pcc2.

以上説明したひび割れ候補検出処理により、対象画像IOから、ひび割れを表す画素である蓋然性の高いひび割れ候補画素(第2次ひび割れ候補画素Pcc2)を含むひび割れ候補領域CCが検出される。 By the crack candidate detection process described above, the crack candidate region CC including the crack candidate pixel (secondary crack candidate pixel Pcc2) having a high probability of being a pixel representing the crack is detected from the target image IO.

A-4.ひび割れ候補確認処理:
次に、ひび割れ候補確認処理(図3のS150)について詳細に説明する。上述したように、ひび割れ候補確認処理は、対象画像IOから検出されたひび割れ候補領域CCが、真にひび割れを表す画像領域であるひび割れ領域CRであるか否かを確認する処理である。図14は、ひび割れ候補確認処理の流れを示すフローチャートである。また、図15および図16は、ひび割れ候補確認処理の概要を示す説明図である。
A-4. Crack candidate confirmation process:
Next, the crack candidate confirmation process (S150 in FIG. 3) will be described in detail. As described above, the crack candidate confirmation process is a process for confirming whether or not the crack candidate region CC detected from the target image IO is the crack region CR, which is an image region that truly represents a crack. FIG. 14 is a flowchart showing the flow of the crack candidate confirmation process. 15 and 16 are explanatory views showing an outline of the crack candidate confirmation process.

はじめに、候補確認処理部230は、1つのひび割れ候補領域CCを選択する(S310)。図15には、対象画像IO(グレースケール画像)上における選択された1つのひび割れ候補領域CCが示されている。上述したように、本実施形態では、ひび割れ候補領域CCは、第2次ひび割れ候補画素Pcc2から構成された画像領域である。 First, the candidate confirmation processing unit 230 selects one crack candidate region CC (S310). FIG. 15 shows one selected crack candidate region CC on the target image IO (grayscale image). As described above, in the present embodiment, the crack candidate region CC is an image region composed of the secondary crack candidate pixel Pcc2.

次に、候補確認処理部230の画素抽出部231は、ひび割れ候補領域CCを構成する画素の中から、濃度値が最小の画素である最小濃度画素Pminを抽出する(S312)。本実施形態では、対象画像IOは、黒色を表す濃度値が「0」であり、白色を表す濃度値が「255」である256階調のグレースケール画像である。そのため、ひび割れ候補領域CCを構成する画素の内の濃度値が最小の画素は、濃度値が黒色を表す濃度値に最も近い画素であると言える。図15には、ひび割れ候補領域CCにおいて抽出された最小濃度画素Pminが示されている。最小濃度画素Pminは、特許請求の範囲における特定画素に相当する。 Next, the pixel extraction unit 231 of the candidate confirmation processing unit 230 extracts the minimum density pixel Pmin, which is the pixel having the minimum density value, from the pixels constituting the crack candidate region CC (S312). In the present embodiment, the target image IO is a gray scale image having 256 gradations in which the density value representing black is "0" and the density value representing white is "255". Therefore, it can be said that the pixel having the smallest density value among the pixels constituting the crack candidate region CC is the pixel whose density value is closest to the density value representing black. FIG. 15 shows the minimum density pixel Pmin extracted in the crack candidate region CC. The minimum density pixel Pmin corresponds to a specific pixel in the claims.

次に、上限濃度差設定部232は、上限濃度差ΔCmaxを設定する(S314)。上限濃度差ΔCmaxは、後述する近似濃度画素Psの特定処理(S316,S318)に用いられるものである。本実施形態では、上限濃度差設定部232は、ひび割れ候補領域CC内において最小濃度画素Pminの周辺領域PRを設定し、最小濃度画素Pminの濃度値と、周辺領域PR内に位置する各画素の濃度値と、の差の絶対値の最大値を、上限濃度差ΔCmaxとして設定する。すなわち、上限濃度差ΔCmaxは、最小濃度画素Pminの濃度値と、周辺領域PR内における濃度値が最大の画素の濃度値と、の差の絶対値である。なお、周辺領域PRは任意に設定することができ、例えば図15に示すように、最小濃度画素Pminの周りを取り囲む8つの画素から構成された領域とすることができる。 Next, the upper limit concentration difference setting unit 232 sets the upper limit concentration difference ΔCmax (S314). The upper limit density difference ΔCmax is used for the specific processing (S316, S318) of the approximate density pixels Ps described later. In the present embodiment, the upper limit density difference setting unit 232 sets the peripheral region PR of the minimum density pixel Pmin in the crack candidate region CC, and the density value of the minimum density pixel Pmin and each pixel located in the peripheral region PR. The maximum value of the absolute value of the difference between the concentration value and the concentration value is set as the upper limit concentration difference ΔCmax. That is, the upper limit density difference ΔCmax is an absolute value of the difference between the density value of the minimum density pixel Pmin and the density value of the pixel having the maximum density value in the peripheral region PR. The peripheral area PR can be arbitrarily set, and as shown in FIG. 15, for example, it can be an area composed of eight pixels surrounding the minimum density pixel Pmin.

次に、近似濃度画素特定部233は、最小濃度画素Pminに対する近似濃度画素Psを特定する(S316)。最小濃度画素Pminに対する近似濃度画素Psは、最小濃度画素Pminに隣接する画素であり、かつ、最小濃度画素Pminとの濃度差が上限濃度差ΔCmax以内の画素である。すなわち、最小濃度画素Pminは、最小濃度画素Pminに隣接する画素の内、濃度値が最小濃度画素Pminの濃度値に近似する画素である。図16に示された例では、矢印で示すように、最小濃度画素Pminの上下左右方向に隣接する4つの画素が、近似濃度画素Psとして特定されている。 Next, the approximate density pixel specifying unit 233 specifies the approximate density pixel Ps with respect to the minimum density pixel Pmin (S316). The approximate density pixels Ps with respect to the minimum density pixel Pmin are pixels adjacent to the minimum density pixel Pmin, and the density difference from the minimum density pixel Pmin is within the upper limit density difference ΔCmax. That is, the minimum density pixel Pmin is a pixel whose density value is close to the density value of the minimum density pixel Pmin among the pixels adjacent to the minimum density pixel Pmin. In the example shown in FIG. 16, as shown by the arrows, four pixels adjacent to each other in the vertical and horizontal directions of the minimum density pixel Pmin are specified as approximate density pixels Ps.

次に、近似濃度画素特定部233は、特定された近似濃度画素Psに対する新たな近似濃度画素Psを特定する(S318)。すなわち、近似濃度画素特定部233は、特定された近似濃度画素Psに隣接する画素であり、かつ、該近似濃度画素Psとの濃度差が上限濃度差ΔCmax以内の画素を、新たな近似濃度画素Psとして特定する。近似濃度画素特定部233は、新たな近似濃度画素Psとして特定される画素が存在しなくなるまで、この処理を繰り返す。 Next, the approximate density pixel specifying unit 233 identifies new approximate density pixels Ps with respect to the specified approximate density pixels Ps (S318). That is, the approximate density pixel specifying unit 233 is a pixel adjacent to the specified approximate density pixel Ps, and the pixel whose density difference from the approximate density pixel Ps is within the upper limit density difference ΔCmax is a new approximate density pixel. Specified as Ps. The approximate density pixel specifying unit 233 repeats this process until there are no pixels specified as new approximate density pixels Ps.

図16には、上記処理が繰り返されることにより特定された近似濃度画素Psが、太線で囲んで示されている。上述のような方法により順次特定された近似濃度画素Psの集合(下記の近似濃度領域SR)は、最小濃度画素Pminを起点として濃度がなだらかに変化するような画像領域となる。一般に、真にひび割れを表す画像領域は、ひび割れの中心部から縁部に向けて濃度がなだらかに変化するような画像領域(すなわち、隣接画素間の濃度差が小さい画像領域)となることが多い。そのため、ひび割れ候補領域CCが真にひび割れを表す画像領域である場合には、図16に示すように、ひび割れ候補領域CCを構成する画素の多くが近似濃度画素Psとして特定されることとなる。一方、ひび割れ候補領域CCが真にひび割れを表す画像領域ではなく、濃度が急激に変化する箇所(すなわち、隣接画素間の濃度差が大きい箇所)を含む場合には、そのような箇所において新たな近似濃度画素Psとして特定される画素が存在しなくなるため、近似濃度画素Psとして特定される画素は少なくなる。 In FIG. 16, the approximate density pixels Ps identified by repeating the above processing are shown surrounded by a thick line. The set of approximate density pixels Ps (the following approximate density region SR) sequentially specified by the method as described above is an image region in which the density gradually changes from the minimum density pixel Pmin as a starting point. In general, an image region that truly represents a crack is often an image region in which the density gradually changes from the center of the crack to the edge (that is, an image region in which the density difference between adjacent pixels is small). .. Therefore, when the crack candidate region CC is an image region that truly represents cracks, as shown in FIG. 16, most of the pixels constituting the crack candidate region CC are specified as approximate density pixels Ps. On the other hand, if the crack candidate region CC is not an image region that truly represents a crack, but includes a location where the density changes rapidly (that is, a location where the density difference between adjacent pixels is large), a new location is created in such a location. Since the pixels specified as the approximate density pixels Ps do not exist, the number of pixels specified as the approximate density pixels Ps decreases.

近似濃度画素Psの特定が完了すると、確認判定部234は、最小濃度画素Pminとすべての近似濃度画素Psとから構成される画像領域である近似濃度領域SRを特定すると共に、近似濃度領域SRを内包する最小矩形REsを算出する(S320)。図16には、近似濃度領域SR、および、それを内包する最小矩形REsが示されている。 When the identification of the approximate density pixel Ps is completed, the confirmation determination unit 234 identifies the approximate density region SR, which is an image region composed of the minimum density pixel Pmin and all the approximate density pixels Ps, and determines the approximate density region SR. The minimum rectangular REs to be included is calculated (S320). FIG. 16 shows an approximate concentration region SR and a minimum rectangular REs containing the approximate concentration region SR.

次に、確認判定部234は、最小矩形REsの幅Wsに対する長さLs(ただし、Ls≧Ws)の比(以下、「アスペクト比(Ls/Ws)」という)が、所定の閾値Th1以上であるか否かを判定する(S330)。なお、最小矩形REsの幅Wsは、近似濃度領域SRの幅に相当し、最小矩形REsの長さLsは、近似濃度領域SRの長さに相当する。閾値Th1は、特許請求の範囲における第1の閾値に相当する。 Next, in the confirmation determination unit 234, the ratio of the length Ls (however, Ls ≧ Ws) to the width Ws of the minimum rectangle REs (hereinafter referred to as “aspect ratio (Ls / Ws)”) is equal to or higher than a predetermined threshold value Th1. It is determined whether or not there is (S330). The width Ws of the minimum rectangle REs corresponds to the width of the approximate density region SR, and the length Ls of the minimum rectangle REs corresponds to the length of the approximate density region SR. The threshold Th1 corresponds to the first threshold in the claims.

確認判定部234は、最小矩形REsのアスペクト比(Ls/Ws)が閾値Th1以上である場合には(S330:YES)、選択されたひび割れ候補領域CCは、真にひび割れを表すひび割れ領域CRであると判定する(S340)。一方、確認判定部234は、最小矩形REsのアスペクト比(Ls/Ws)が閾値Th1未満である場合には(S330:NO)、選択されたひび割れ候補領域CCは、真にひび割れを表すひび割れ領域CRではなく、ひび割れではないものが誤って検出されたもの(誤検出)であると判定する(S350)。 When the aspect ratio (Ls / Ws) of the minimum rectangle REs is equal to or greater than the threshold value Th1 (S330: YES), the confirmation determination unit 234 determines that the selected crack candidate region CC is a crack region CR that truly represents a crack. It is determined that there is (S340). On the other hand, in the confirmation determination unit 234, when the aspect ratio (Ls / Ws) of the minimum rectangle REs is less than the threshold value Th1 (S330: NO), the selected crack candidate region CC is a crack region that truly represents a crack. It is determined that something that is not a CR and is not a crack is erroneously detected (erroneous detection) (S350).

一般に、対象物に発生するひび割れは、線分の成分(すなわち、細長く、かつ、直線的に伸びる成分)を含んでいるため、真にひび割れを表す画像領域(ひび割れ領域CR)のアスペクト比は、ある程度大きい値となる。また、上述したように、ひび割れ候補領域CCが真にひび割れを表す画像領域である場合には、ひび割れ候補領域CCを構成する画素の多くが、近似濃度領域SRを構成する近似濃度画素Psとして特定されることとなる。そのため、本実施形態では、近似濃度領域SR(を内包する最小矩形REs)のアスペクト比が比較的大きい場合に、該ひび割れ候補領域CCは真のひび割れ領域CRであると判定し、近似濃度領域SR(を内包する最小矩形REs)のアスペクト比が比較的小さい場合に、該ひび割れ候補領域CCは真のひび割れ領域CRではないと判定するものとしている。 In general, cracks generated in an object include a line segment component (that is, a component that is elongated and extends linearly), so that the aspect ratio of the image region (crack region CR) that truly represents the crack is determined. It will be a large value to some extent. Further, as described above, when the crack candidate region CC is an image region that truly represents a crack, most of the pixels constituting the crack candidate region CC are specified as approximate density pixels Ps constituting the approximate density region SR. Will be done. Therefore, in the present embodiment, when the aspect ratio of the approximate density region SR (the smallest rectangle REs including the present rectangle REs) is relatively large, it is determined that the crack candidate region CC is a true crack region CR, and the approximate density region SR is determined. When the aspect ratio of (the smallest rectangle REs including) is relatively small, it is determined that the crack candidate region CC is not a true crack region CR.

候補確認処理部230は、すべてのひび割れ候補領域CCの選択が完了したか否かを判定し(S360)、未選択のひび割れ候補領域CCが存在すると判定した場合には(S360:NO)、S310に戻って上述の処理を繰り返す。一方、候補確認処理部230は、未選択のひび割れ候補領域CCが存在しないと判定した場合には(S360:YES)、ひび割れ候補確認処理を終了する。 The candidate confirmation processing unit 230 determines whether or not the selection of all the crack candidate regions CC is completed (S360), and if it is determined that there is an unselected crack candidate region CC (S360: NO), S310. Return to and repeat the above process. On the other hand, when the candidate confirmation processing unit 230 determines that the unselected crack candidate region CC does not exist (S360: YES), the candidate confirmation processing unit 230 ends the crack candidate confirmation processing.

以上説明したひび割れ候補確認処理により、ひび割れ候補検出処理において対象画像IOから検出された各ひび割れ候補領域CCが、真にひび割れを表すひび割れ領域CRであるか否かが確認される。ひび割れ候補確認処理により確認されたひび割れ領域CRは、上述したように、処理時画面S1の画像表示領域R3に表示された対象画像IO上に示される(図4参照)。 By the crack candidate confirmation process described above, it is confirmed whether or not each crack candidate region CC detected from the target image IO in the crack candidate detection process is a crack region CR that truly represents a crack. As described above, the crack region CR confirmed by the crack candidate confirmation process is shown on the target image IO displayed in the image display area R3 of the screen S1 during processing (see FIG. 4).

A-5.本実施形態の効果:
以上説明したように、本実施形態のひび割れ検出装置100は、候補検出処理部220を備える。候補検出処理部220は、対象物を表す画像(対象画像IO)において、ひび割れを表す画像領域である蓋然性の高いひび割れ候補領域CCを検出する。また、本実施形態のひび割れ検出装置100は、画素抽出部231と、上限濃度差設定部232と、近似濃度画素特定部233と、確認判定部234とを備える。画素抽出部231は、ひび割れ候補領域CCを構成する画素の中から、濃度値が最小の(すなわち、黒色を表す濃度値に最も近い)画素である最小濃度画素Pminを抽出する。上限濃度差設定部232は、上限濃度差ΔCmaxを設定する。近似濃度画素特定部233は、最小濃度画素Pminに隣接し、かつ、最小濃度画素Pminとの濃度差が上限濃度差ΔCmax以内である近似濃度画素Psを特定すると共に、特定された近似濃度画素Psに隣接し、かつ、特定された近似濃度画素Psとの濃度差が上限濃度差ΔCmax以内である新たな近似濃度画素Psを特定する処理を繰り返す。確認判定部234は、最小濃度画素Pminおよび近似濃度画素Psにより構成される近似濃度領域SRの幅Wに対する長さL(ただし、L≧W)の比が閾値Th1以上であることを含む所定の条件を満たすひび割れ候補領域CCを、ひび割れを表す画像領域であるひび割れ領域CRに設定する。
A-5. Effect of this embodiment:
As described above, the crack detection device 100 of the present embodiment includes a candidate detection processing unit 220. The candidate detection processing unit 220 detects a crack candidate region CC, which is an image region representing cracks, in an image representing an object (target image IO). Further, the crack detection device 100 of the present embodiment includes a pixel extraction unit 231, an upper limit density difference setting unit 232, an approximate density pixel identification unit 233, and a confirmation determination unit 234. The pixel extraction unit 231 extracts the minimum density pixel Pmin, which is the pixel having the minimum density value (that is, the pixel closest to the density value representing black color) from the pixels constituting the crack candidate region CC. The upper limit density difference setting unit 232 sets the upper limit density difference ΔCmax. The approximate density pixel specifying unit 233 identifies the approximate density pixels Ps that are adjacent to the minimum density pixel Pmin and whose density difference from the minimum density pixel Pmin is within the upper limit density difference ΔCmax, and the specified approximate density pixels Ps. The process of specifying a new approximate density pixel Ps adjacent to the above and having a density difference from the specified approximate density pixel Ps within the upper limit density difference ΔCmax is repeated. The confirmation determination unit 234 includes a predetermined ratio including that the ratio of the length L (where L ≧ W) to the width W of the approximate density region SR composed of the minimum density pixel Pmin and the approximate density pixel Ps is the threshold Th1 or more. The crack candidate region CC that satisfies the conditions is set in the crack region CR, which is an image region representing the crack.

このように本実施形態のひび割れ検出装置100の近似濃度画素特定部233は、最小濃度画素Pminを起点として、参照元の画素に隣接する画素であって、濃度値が参照元の画素に近似する画素である近似濃度画素Psの特定を繰り返し、最小濃度画素Pminおよび近似濃度画素Psにより構成される近似濃度領域SRを特定する。このように特定された近似濃度領域SRは、最小濃度画素Pminを起点として濃度がなだらかに変化するような画像領域となる。一般に、真にひび割れを表す画像領域(ひび割れ領域CR)は、ひび割れの中心部から縁部に向けて濃度がなだらかに変化するような画像領域となることが多い。また、対象物に発生するひび割れは、線分の成分を含んでいるため、真にひび割れを表す画像領域(ひび割れ領域CR)のアスペクト比は、ある程度大きい値となる。本実施形態のひび割れ検出装置100では、確認判定部234が、最小濃度画素Pminを起点として濃度がなだらかに変化する画像領域である近似濃度領域SR(を内包する最小矩形REs)のアスペクト比(L/W)が閾値Th1以上であることを含む所定の条件を満たすひび割れ候補領域CCをひび割れ領域CRに設定する。そのため、本実施形態のひび割れ検出装置100によれば、ひび割れではないが、ひび割れの濃度に近い濃度を有する部分(例えば、対象物の表面の汚れ等)を誤ってひび割れとして検出する誤検出が発生することを抑制することができ、画像処理を用いたひび割れ検出の精度を向上させることができる。 As described above, the approximate density pixel specifying unit 233 of the crack detection device 100 of the present embodiment is a pixel adjacent to the reference source pixel starting from the minimum density pixel Pmin, and the density value is close to the reference source pixel. The specification of the approximate density pixel Ps, which is a pixel, is repeated, and the approximate density region SR composed of the minimum density pixel Pmin and the approximate density pixel Ps is specified. The approximate density region SR specified in this way is an image region in which the density gradually changes from the minimum density pixel Pmin as a starting point. In general, an image region that truly represents a crack (crack region CR) is often an image region in which the density gradually changes from the center of the crack to the edge. Further, since the crack generated in the object contains a line segment component, the aspect ratio of the image region (crack region CR) that truly represents the crack becomes a large value to some extent. In the crack detection device 100 of the present embodiment, the confirmation determination unit 234 has an aspect ratio (L) of an approximate density region SR (minimum rectangle REs including), which is an image region in which the density gradually changes from the minimum density pixel Pmin as a starting point. A crack candidate region CC that satisfies a predetermined condition including that / W) is at least the threshold Th1 is set in the crack region CR. Therefore, according to the crack detection device 100 of the present embodiment, erroneous detection occurs in which a portion that is not a crack but has a concentration close to the crack concentration (for example, dirt on the surface of an object) is erroneously detected as a crack. It is possible to suppress this, and it is possible to improve the accuracy of crack detection using image processing.

また、本実施形態のひび割れ検出装置100では、上限濃度差設定部232は、最小濃度画素Pminの濃度値と、ひび割れ候補領域CC内において最小濃度画素Pminの周辺領域PR内に位置する各画素の濃度値と、の差の絶対値の最大値を、上限濃度差ΔCmaxとして設定する。そのため、本実施形態のひび割れ検出装置100によれば、個々のひび割れ候補領域CCの濃度特性に応じて、上限濃度差ΔCmaxを、過大または過小ではない適切な値に設定することができ、画像処理を用いたひび割れ検出の精度をさらに向上させることができる。 Further, in the crack detection device 100 of the present embodiment, the upper limit density difference setting unit 232 is the density value of the minimum density pixel Pmin and each pixel located in the peripheral region PR of the minimum density pixel Pmin in the crack candidate region CC. The maximum value of the absolute value of the difference between the concentration value and the concentration value is set as the upper limit concentration difference ΔCmax. Therefore, according to the crack detection device 100 of the present embodiment, the upper limit density difference ΔCmax can be set to an appropriate value that is not excessive or too small according to the density characteristics of the individual crack candidate regions CC, and image processing can be performed. The accuracy of crack detection using the above can be further improved.

また、本実施形態のひび割れ検出装置100では、近似濃度領域SRの幅Wとして、近似濃度領域SRを内包する最小矩形REsの幅Wsを用い、近似濃度領域SRの長さLとして、最小矩形REsの長さLsを用いる。そのため、本実施形態のひび割れ検出装置100によれば、近似濃度領域SRの幅Wに対する長さLの比を迅速に、かつ、精度良く算出することができ、画像処理を用いたひび割れ検出の処理を迅速化させつつ、精度をさらに向上させることができる。 Further, in the crack detection device 100 of the present embodiment, the width Ws of the minimum rectangular REs including the approximate density region SR is used as the width W of the approximate concentration region SR, and the minimum rectangular REs is used as the length L of the approximate density region SR. Length Ls is used. Therefore, according to the crack detection device 100 of the present embodiment, the ratio of the length L to the width W of the approximate density region SR can be calculated quickly and accurately, and the crack detection process using image processing can be performed. It is possible to further improve the accuracy while speeding up.

また、本実施形態のひび割れ検出装置100は、さらに、ひび割れ領域CRを示す画像を表示部120に表示させる表示制御部210を備える。そのため、本実施形態のひび割れ検出装置100によれば、ユーザに、対象物におけるひび割れの発生状況を把握させることができる。 Further, the crack detection device 100 of the present embodiment further includes a display control unit 210 for displaying an image showing the crack region CR on the display unit 120. Therefore, according to the crack detection device 100 of the present embodiment, the user can be made to grasp the state of occurrence of cracks in the object.

また、本実施形態のひび割れ検出装置100では、ひび割れ検出処理の対象物は、建築物310のタイル張りの壁、すなわち壁状の構造物である。壁状の構造物は、ひび割れの発生が問題になりやすい対象物であり、かつ、比較的広い範囲でひび割れの検出を行う必要がある対象物である。本実施形態のひび割れ検出装置100によれば、そのような対象物のひび割れの検出を、効率的に、かつ、精度良く実行することができる。 Further, in the crack detection device 100 of the present embodiment, the object of the crack detection process is a tiled wall of the building 310, that is, a wall-shaped structure. A wall-shaped structure is an object in which the occurrence of cracks tends to be a problem, and it is necessary to detect cracks in a relatively wide range. According to the crack detection device 100 of the present embodiment, it is possible to efficiently and accurately detect cracks in such an object.

B.変形例:
本明細書で開示される技術は、上述の実施形態に限られるものではなく、その要旨を逸脱しない範囲において種々の形態に変形することができ、例えば次のような変形も可能である。
B. Modification example:
The technique disclosed in the present specification is not limited to the above-described embodiment, and can be transformed into various forms without departing from the gist thereof, and for example, the following modifications are also possible.

上記実施形態におけるひび割れ検出装置100の構成は、あくまで一例であり、種々変形可能である。例えば、ひび割れ検出装置100が撮像部を備え、ひび割れ検出処理部200が、該撮像部による対象物の撮像により生成された画像を対象として、ひび割れ検出処理を実行するとしてもよい。 The configuration of the crack detection device 100 in the above embodiment is merely an example and can be variously modified. For example, the crack detection device 100 may include an image pickup unit, and the crack detection processing unit 200 may execute the crack detection processing on an image generated by imaging an object by the image pickup unit.

また、上記実施形態では、処理時画面S1等がひび割れ検出装置100の表示部120に表示されるとしているが、処理時画面S1等がひび割れ検出装置100の備える表示部120ではなく、外部のディスプレイに表示されるとしてもよい。なお、この場合には、ひび割れ検出装置100が表示部120を備える必要は無い。 Further, in the above embodiment, the processing screen S1 and the like are displayed on the display unit 120 of the crack detection device 100, but the processing screen S1 and the like are not the display unit 120 provided in the crack detection device 100, but an external display. It may be displayed in. In this case, the crack detection device 100 does not need to include the display unit 120.

また、上記実施形態では、ひび割れを表す画素の濃度値が白色よりも黒色の濃度値に近い画像が対象画像IOとして用いられているが、反対に、ひび割れを表す画素の濃度値が黒色よりも白色の濃度値に近い画像が対象画像IOとして用いられてもよい。このような場合には、ひび割れ候補確認処理(図14)において、ひび割れ候補領域CCを構成する画素の中から濃度値が最小の画素(最小濃度画素Pmin)を抽出する処理(S312)の代わりに、ひび割れ候補領域CCを構成する画素の中から濃度値が最大の画素を抽出する処理が行われる。このときの濃度値が最大の画素は、濃度値が黒色を表す濃度値に最も近い画素(特許請求の範囲における特定画素)であると言える。 Further, in the above embodiment, an image in which the density value of the pixel representing the crack is closer to the density value of black than white is used as the target image IO, but conversely, the density value of the pixel representing the crack is higher than that of black. An image close to the white density value may be used as the target image IO. In such a case, in the crack candidate confirmation process (FIG. 14), instead of the process (S312) of extracting the pixel having the smallest density value (minimum density pixel Pmin) from the pixels constituting the crack candidate region CC. , The process of extracting the pixel having the maximum density value from the pixels constituting the crack candidate region CC is performed. It can be said that the pixel having the maximum density value at this time is the pixel (specific pixel in the claims) whose density value is closest to the density value representing black.

また、上記実施形態におけるひび割れ検出処理の内容は、あくまで一例であり、種々変形可能である。例えば、上記実施形態におけるひび割れ候補検出処理(図5)の処理内容は、あくまで一例であり、他の任意の内容のひび割れ候補検出処理によってひび割れ候補領域CCを検出するものとしてもよい。 Further, the content of the crack detection process in the above embodiment is merely an example and can be variously modified. For example, the processing content of the crack candidate detection process (FIG. 5) in the above embodiment is merely an example, and the crack candidate region CC may be detected by the crack candidate detection process having any other content.

また、上記実施形態では、上限濃度差ΔCmaxは、最小濃度画素Pminの濃度値と、ひび割れ候補領域CC内において最小濃度画素Pminの周辺領域PR内に位置する各画素の濃度値と、の差の絶対値の最大値であるとしているが、上限濃度差ΔCmaxは、他の方法により設定されてもよい。例えば、上限濃度差ΔCmaxは、予め設定された固定値であってもよい。 Further, in the above embodiment, the upper limit density difference ΔCmax is the difference between the density value of the minimum density pixel Pmin and the density value of each pixel located in the peripheral region PR of the minimum density pixel Pmin in the crack candidate region CC. Although it is assumed to be the maximum value of the absolute value, the upper limit concentration difference ΔCmax may be set by another method. For example, the upper limit concentration difference ΔCmax may be a preset fixed value.

また、上記実施形態では、近似濃度領域SRの幅Wとして、近似濃度領域SRを内包する最小矩形REsの幅Wsが用いられ、近似濃度領域SRの長さLとして、最小矩形REsの長さLsが用いられているが、近似濃度領域SRの幅Wや長さLが、他の方法により規定されてもよい。 Further, in the above embodiment, the width Ws of the minimum rectangular REs including the approximate density region SR is used as the width W of the approximate concentration region SR, and the length Ls of the minimum rectangle REs is used as the length L of the approximate concentration region SR. However, the width W and the length L of the approximate concentration region SR may be defined by another method.

また、上記実施形態では、ひび割れ候補確認処理(図14)において、近似濃度領域SRを内包する最小矩形REsのアスペクト比(Ls/Ws)が閾値Th1以上であるという条件を満たせば、該ひび割れ候補領域CCはひび割れ領域CRに設定されるとしているが、上記条件に加えて他の条件が満たされる場合に、該ひび割れ候補領域CCはひび割れ領域CRに設定されるものとしてもよい。 Further, in the above embodiment, in the crack candidate confirmation process (FIG. 14), if the condition that the aspect ratio (Ls / Ws) of the minimum rectangular REs including the approximate density region SR is equal to or higher than the threshold Th1 is satisfied, the crack candidate is satisfied. Although the region CC is set to the crack region CR, the crack candidate region CC may be set to the crack region CR when other conditions are satisfied in addition to the above conditions.

また、上記実施形態では、ひび割れ検出処理の対象物は、建築物310のタイル張りの壁であるとしているが、それ以外の壁状の構造物(例えば、建築物のコンクリートの壁や土木構造物の壁面等)であってもよいし、壁状の構造物以外の物体であってもよい。 Further, in the above embodiment, the object of the crack detection process is the tiled wall of the building 310, but other wall-like structures (for example, concrete walls and civil engineering structures of the building). It may be an object other than a wall-shaped structure.

100:ひび割れ検出装置 110:記憶部 120:表示部 130:入力部 140:インターフェース部 170:制御部 190:バス 200:ひび割れ検出処理部 210:表示制御部 220:候補検出処理部 222:二値画像取得部 224:候補判定部 226:候補領域設定部 230:候補確認処理部 231:画素抽出部 232:上限濃度差設定部 233:近似濃度画素特定部 234:確認判定部 310:建築物 320:撮像装置 CC:ひび割れ候補領域 CP:ひび割れ検出プログラム CR:ひび割れ領域 IO:対象画像 Ib(1):第1の二値画像 Ib(2):第2の二値画像 Id:画像データ Pc:ひび割れ画素 Pcc1:第1次ひび割れ候補画素 Pcc2:第2次ひび割れ候補画素 Pk:黒色画素 Pmin:最小濃度画素 Pn:ノイズ画素 PR:周辺領域 Ps:近似濃度画素 Pw:白色画素 R1:画像選択領域 R11:個数表示欄 R2:手法選択領域 R3:画像表示領域 S1:処理時画面 SL:仮想線分 SP:注目画素 SR:近似濃度領域 100: Crack detection device 110: Storage unit 120: Display unit 130: Input unit 140: Interface unit 170: Control unit 190: Bus 200: Crack detection processing unit 210: Display control unit 220: Candidate detection processing unit 222: Binary image Acquisition unit 224: Candidate determination unit 226: Candidate area setting unit 230: Candidate confirmation processing unit 231: Pixel extraction unit 232: Upper limit density difference setting unit 233: Approximate density pixel identification unit 234: Confirmation determination unit 310: Building 320: Imaging Device CC: Crack candidate area CP: Crack detection program CR: Crack area IO: Target image Ib (1): First binary image Ib (2): Second binary image Id: Image data Pc: Crack pixel Pcc1 : 1st crack candidate pixel Pcc2: 2nd crack candidate pixel Pk: Black pixel Pmin: Minimum density pixel Pn: Noise pixel PR: Peripheral area Ps: Approximate density pixel Pw: White pixel R1: Image selection area R11: Number display Column R2: Method selection area R3: Image display area S1: Processing screen SL: Virtual line segment SP: Featured pixel SR: Approximate density area

Claims (7)

対象物のひび割れを検出するひび割れ検出装置であって、
前記対象物を表す画像において、ひび割れを表す画像領域である蓋然性の高いひび割れ候補領域を検出する候補検出部と、
前記ひび割れ候補領域を構成する画素の中から、濃度値が黒色を表す濃度値に最も近い画素である特定画素を抽出する画素抽出部と、
上限濃度差を設定する上限濃度差設定部と、
(1)前記特定画素に隣接し、かつ、前記特定画素との濃度差が前記上限濃度差以内である近似濃度画素を特定すると共に
(2)特定された前記近似濃度画素に隣接し、かつ、特定された前記近似濃度画素との濃度差が前記上限濃度差以内である新たな近似濃度画素を特定する処理を繰り返す
似濃度画素特定部と、
前記特定画素および前記近似濃度画素により構成される近似濃度領域の幅Wに対する長さL(ただし、L≧W)の比が第1の閾値以上であることを含む所定の条件を満たす前記ひび割れ候補領域を、ひび割れを表す画像領域であるひび割れ領域に設定する確認判定部と、
を備える、ひび割れ検出装置。
A crack detection device that detects cracks in an object.
In the image representing the object, a candidate detection unit for detecting a crack candidate region having a high probability of being an image region representing a crack, and a candidate detection unit.
A pixel extraction unit that extracts a specific pixel whose density value is the closest to the density value representing black from the pixels constituting the crack candidate region.
The upper limit concentration difference setting unit that sets the upper limit density difference, and
(1) An approximate density pixel that is adjacent to the specific pixel and whose density difference from the specific pixel is within the upper limit density difference is specified , and at the same time.
(2) The process of specifying a new approximate density pixel adjacent to the specified approximate density pixel and having a density difference from the specified approximate density pixel within the upper limit density difference is repeated .
Approximate density pixel identification part and
The crack candidate satisfying a predetermined condition including that the ratio of the length L (however, L ≧ W) to the width W of the approximate density region composed of the specific pixel and the approximate density pixel is equal to or larger than the first threshold value. A confirmation determination unit that sets the area to the cracked area, which is an image area representing cracks, and
A crack detection device.
請求項1に記載のひび割れ検出装置であって、
前記上限濃度差設定部は、前記特定画素の濃度値と、前記ひび割れ候補領域内において前記特定画素の周辺領域内に位置する各画素の濃度値と、の差の絶対値の最大値を、前記上限濃度差として設定する、ひび割れ検出装置。
The crack detection device according to claim 1.
The upper limit density difference setting unit sets the maximum value of the absolute value of the difference between the density value of the specific pixel and the density value of each pixel located in the peripheral region of the specific pixel in the crack candidate region. A crack detection device set as the upper limit concentration difference.
請求項1または請求項2に記載のひび割れ検出装置であって、
前記近似濃度領域の幅Wは、前記近似濃度領域を内包する最小矩形の幅Wsであり、前記近似濃度領域の長さLは、前記最小矩形の長さLsである、ひび割れ検出装置。
The crack detection device according to claim 1 or 2.
The crack detection device, wherein the width W of the approximate concentration region is the width Ws of the minimum rectangle including the approximate concentration region, and the length L of the approximate concentration region is the length Ls of the minimum rectangle.
請求項1から請求項3までのいずれか一項に記載のひび割れ検出装置であって、さらに、
前記ひび割れ領域を示す画像をディスプレイに表示させる表示制御部を備える、ひび割れ検出装置。
The crack detection device according to any one of claims 1 to 3, further comprising.
A crack detection device including a display control unit for displaying an image showing the crack region on a display.
請求項1から請求項4までのいずれか一項に記載のひび割れ検出装置であって、
前記対象物は、壁状の構造物である、ひび割れ検出装置。
The crack detection device according to any one of claims 1 to 4.
The object is a crack detection device, which is a wall-shaped structure.
対象物のひび割れを検出するひび割れ検出方法であって、
前記対象物を表す画像において、ひび割れを表す画像領域である蓋然性の高いひび割れ候補領域を検出する工程と、
前記ひび割れ候補領域を構成する画素の中から、濃度値が黒色を表す濃度値に最も近い画素である特定画素を抽出する工程と、
上限濃度差を設定する工程と、
(1)前記特定画素に隣接し、かつ、前記特定画素との濃度差が前記上限濃度差以内である近似濃度画素を特定すると共に
(2)特定された前記近似濃度画素に隣接し、かつ、特定された前記近似濃度画素との濃度差が前記上限濃度差以内である新たな近似濃度画素を特定する処理を繰り返す
程と、
前記特定画素および前記近似濃度画素により構成される近似濃度領域の幅Wに対する長さL(ただし、L≧W)の比が第1の閾値以上であることを含む所定の条件を満たす前記ひび割れ候補領域を、ひび割れを表す画像領域であるひび割れ領域に設定する工程と、
を備える、ひび割れ検出方法。
It is a crack detection method that detects cracks in an object.
A step of detecting a crack candidate region having a high probability of being an image region representing a crack in an image representing the object, and a step of detecting the crack candidate region.
A step of extracting a specific pixel whose density value is the closest to the density value representing black from the pixels constituting the crack candidate region, and
The process of setting the upper limit concentration difference and
(1) An approximate density pixel that is adjacent to the specific pixel and whose density difference from the specific pixel is within the upper limit density difference is specified , and at the same time.
(2) The process of specifying a new approximate density pixel adjacent to the specified approximate density pixel and having a density difference from the specified approximate density pixel within the upper limit density difference is repeated .
Process and
The crack candidate satisfying a predetermined condition including that the ratio of the length L (however, L ≧ W) to the width W of the approximate density region composed of the specific pixel and the approximate density pixel is equal to or larger than the first threshold value. The process of setting the region to the cracked region, which is an image region representing cracks,
A crack detection method.
対象物のひび割れを検出するためのコンピュータプログラムであって、
前記対象物を表す画像において、ひび割れを表す画像領域である蓋然性の高いひび割れ候補領域を検出する候補検出機能と、
前記ひび割れ候補領域を構成する画素の中から、濃度値が黒色を表す濃度値に最も近い画素である特定画素を抽出する画素抽出機能と、
上限濃度差を設定する上限濃度差設定機能と、
(1)前記特定画素に隣接し、かつ、前記特定画素との濃度差が前記上限濃度差以内である近似濃度画素を特定すると共に
(2)特定された前記近似濃度画素に隣接し、かつ、特定された前記近似濃度画素との濃度差が前記上限濃度差以内である新たな近似濃度画素を特定する処理を繰り返す
似濃度画素特定機能と、
前記特定画素および前記近似濃度画素により構成される近似濃度領域の幅Wに対する長さL(ただし、L≧W)の比が第1の閾値以上であることを含む所定の条件を満たす前記ひび割れ候補領域を、ひび割れを表す画像領域であるひび割れ領域に設定する確認判定機能と、
をコンピュータに実現させる、コンピュータプログラム。
A computer program for detecting cracks in an object,
In the image representing the object, a candidate detection function for detecting a crack candidate region having a high probability of being an image region representing a crack, and
A pixel extraction function that extracts specific pixels whose density value is the closest to the density value representing black from the pixels constituting the crack candidate region, and
The upper limit concentration difference setting function that sets the upper limit density difference, and
(1) An approximate density pixel that is adjacent to the specific pixel and whose density difference from the specific pixel is within the upper limit density difference is specified , and at the same time.
(2) The process of specifying a new approximate density pixel adjacent to the specified approximate density pixel and having a density difference from the specified approximate density pixel within the upper limit density difference is repeated .
Approximate density pixel identification function and
The crack candidate satisfying a predetermined condition including that the ratio of the length L (however, L ≧ W) to the width W of the approximate density region composed of the specific pixel and the approximate density pixel is equal to or larger than the first threshold value. A confirmation judgment function that sets the area to the cracked area, which is an image area representing cracks, and
A computer program that makes a computer realize.
JP2017190613A 2017-09-29 2017-09-29 Crack detector, crack detection method, and computer program Active JP6994890B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017190613A JP6994890B2 (en) 2017-09-29 2017-09-29 Crack detector, crack detection method, and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017190613A JP6994890B2 (en) 2017-09-29 2017-09-29 Crack detector, crack detection method, and computer program

Publications (2)

Publication Number Publication Date
JP2019066266A JP2019066266A (en) 2019-04-25
JP6994890B2 true JP6994890B2 (en) 2022-01-14

Family

ID=66339421

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017190613A Active JP6994890B2 (en) 2017-09-29 2017-09-29 Crack detector, crack detection method, and computer program

Country Status (1)

Country Link
JP (1) JP6994890B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3951906A4 (en) 2019-03-29 2023-08-16 Mitsui Chemicals, Inc. Lithium ion battery stack
JP7471570B2 (en) * 2019-09-25 2024-04-22 株式会社イクシス Building structure diagnostic system
JP7385192B2 (en) * 2019-09-25 2023-11-22 株式会社イクシス Image processing device, image processing method, and computer program
CN113706510B (en) * 2021-08-31 2023-07-28 杭州师范大学钱江学院 Weld joint detection positioning method based on gray value mutation point interpolation line segment fitting

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015004538A (en) 2013-06-19 2015-01-08 株式会社 東京ウエルズ Defect inspection method
JP2015040827A (en) 2013-08-23 2015-03-02 シャープ株式会社 Defect determination device, and defect determination method
US20150139498A1 (en) 2013-01-07 2015-05-21 Tread Gauge Ptr, LLC Apparatus and method for tire sidewall crack analysis
JP2017053819A (en) 2015-09-11 2017-03-16 国立大学法人富山大学 Crack detection method and detection program of concrete
JP2017072517A (en) 2015-10-08 2017-04-13 西日本高速道路エンジニアリング四国株式会社 Detection method of surface crack of concrete

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06229930A (en) * 1993-02-06 1994-08-19 Iwata:Kk Method and apparatus fro inspecting concrete block product

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150139498A1 (en) 2013-01-07 2015-05-21 Tread Gauge Ptr, LLC Apparatus and method for tire sidewall crack analysis
JP2015004538A (en) 2013-06-19 2015-01-08 株式会社 東京ウエルズ Defect inspection method
JP2015040827A (en) 2013-08-23 2015-03-02 シャープ株式会社 Defect determination device, and defect determination method
JP2017053819A (en) 2015-09-11 2017-03-16 国立大学法人富山大学 Crack detection method and detection program of concrete
JP2017072517A (en) 2015-10-08 2017-04-13 西日本高速道路エンジニアリング四国株式会社 Detection method of surface crack of concrete

Also Published As

Publication number Publication date
JP2019066266A (en) 2019-04-25

Similar Documents

Publication Publication Date Title
JP6936685B2 (en) Crack detection device, crack detection method, and computer program
JP6994890B2 (en) Crack detector, crack detection method, and computer program
JP6936684B2 (en) Crack detection device, crack detection method, and computer program
JP5086830B2 (en) Image inspection apparatus, image inspection method, and computer program
CN110678901B (en) Information processing apparatus, information processing method, and computer-readable storage medium
JP6088792B2 (en) Image detection apparatus, control program, and image detection method
US20140253541A1 (en) Interactive tool for inspecting and repairing three dimensional models
JP5385182B2 (en) Object detection device
JP2008245719A (en) Object area extracting method, apparatus, and program
JP6936691B2 (en) Crack detection device, crack detection method, and computer program
JP6894338B2 (en) Crack detection device, crack detection method, and computer program
JP2013115751A5 (en)
JP2007041730A (en) Electric wire abnormality detection method, device, and program
JP6894339B2 (en) Crack detection device, crack detection method, and computer program
CN110751654B (en) Image matting method, medium, equipment and device
KR101799143B1 (en) System and method for estimating target size
JP2007199865A (en) Image processing algorithm evaluation apparatus, image processing algorithm creation apparatus, image inspection apparatus, method for evaluating image processing algorithm, method for creating image processing algorithm, and method for inspecting image
JP2018197692A (en) Damage state processing system
JP2010074368A (en) Image processor, image processing method and program
RU2470368C2 (en) Image processing method
CN113167568B (en) Coordinate calculation device, coordinate calculation method, and computer-readable recording medium
JP2008269181A (en) Object detector
JP6320130B2 (en) Image processing apparatus, control method thereof, and control program
JP2014127763A (en) Image processing apparatus, image processing method, and program
JP2008077489A (en) Image processor, method, program, and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200901

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210601

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210531

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210713

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211214

R150 Certificate of patent or registration of utility model

Ref document number: 6994890

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150