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

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

Info

Publication number
JP2019066266A
JP2019066266A JP2017190613A JP2017190613A JP2019066266A JP 2019066266 A JP2019066266 A JP 2019066266A JP 2017190613 A JP2017190613 A JP 2017190613A JP 2017190613 A JP2017190613 A JP 2017190613A JP 2019066266 A JP2019066266 A JP 2019066266A
Authority
JP
Japan
Prior art keywords
pixel
crack
density
area
approximate
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.)
Granted
Application number
JP2017190613A
Other languages
Japanese (ja)
Other versions
JP6994890B2 (en
Inventor
ジョージ ラシキア
V Lashkia George
ジョージ ラシキア
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 Construction Co Ltd
Shimizu Corp
Original Assignee
Shimizu Construction Co Ltd
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 Construction Co Ltd, Shimizu Corp filed Critical Shimizu Construction Co Ltd
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

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

Abstract

To provide a crack detector with which it is possible to improve the accuracy of detecting a crack using an image processing technique.SOLUTION: A candidate detection unit of the crack detector detects a crack candidate region from an image that represents an object. A pixel extraction unit extracts, from pixels constituting the crack candidate region, a specific pixel Pmin whose concentration value is closest to a concentration value that represents a black color. An upper-limit concentration difference setting unit sets an upper-limit concentration difference. An approximate concentration pixel specification unit repeats the process of specifying an approximate concentration pixel Ps which is adjacent to a specific pixel and whose concentration difference with the specific pixel is within the upper-limit concentration difference and specifying a new approximate concentration pixel which is adjacent to the specified approximate concentration pixel and whose concentration difference with the specified approximate concentration pixel is within the upper-limit concentration difference. A confirmation determination unit sets a crack candidate region that satisfies a prescribed condition including that the ratio of length Ls to the width Ws of an approximate concentration region SR constituted by the specific pixel and the approximate concentration pixel is greater than or equal to a threshold, as a crack region.SELECTED DRAWING: Figure 16

Description

本明細書によって開示される技術は、ひび割れ検出装置に関する。   The technology disclosed by the present specification relates to a crack detection device.

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

特開2012−98045号公報JP, 2012-98045, A

上記従来の技術では、ひび割れ検出精度の点で向上の余地がある。すなわち、上記従来の技術では、ひび割れではないが、ひび割れの濃度に近い濃度を有する部分(例えば、対象物の表面の汚れ等)を誤ってひび割れとして検出する誤検出や、実際に存在するひび割れを検出できない検出漏れが少なからず発生する。そのため、上記従来の技術には、このような誤検出や検出漏れの発生を抑制してひび割れ検出精度をさらに向上させる、という課題がある。   The above-mentioned prior art has room for improvement in the crack detection accuracy. That is, in the above-mentioned conventional technology, although not a crack, erroneous detection in which a portion having a concentration close to the concentration of the crack (for example, dirt on the surface of the object) is erroneously detected as a crack There are not a few undetected detection leaks. Therefore, the above-mentioned conventional technology has a problem that the crack detection accuracy is further improved by suppressing the occurrence of such erroneous detection or detection omission.

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

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

(1)本明細書に開示されるひび割れ検出装置は、対象物のひび割れを検出するひび割れ検出装置であって、前記対象物を表す画像において、ひび割れを表す画像領域である蓋然性の高いひび割れ候補領域を検出する候補検出部と、前記ひび割れ候補領域を構成する画素の中から、濃度値が黒色を表す濃度値に最も近い画素である特定画素を抽出する画素抽出部と、上限濃度差を設定する上限濃度差設定部と、前記特定画素に隣接し、かつ、前記特定画素との濃度差が前記上限濃度差以内である近似濃度画素を特定すると共に、特定された前記近似濃度画素に隣接し、かつ、特定された前記近似濃度画素との濃度差が前記上限濃度差以内である新たな近似濃度画素を特定する処理を繰り返す近似濃度画素特定部と、前記特定画素および前記近似濃度画素により構成される近似濃度領域の幅Wに対する長さL(ただし、L≧W)の比が第1の閾値以上であることを含む所定の条件を満たす前記ひび割れ候補領域を、ひび割れを表す画像領域であるひび割れ領域に設定する確認判定部と、を備える。本ひび割れ検出装置では、近似濃度画素特定部が、特定画素を起点として、参照元の画素に隣接する画素であって、濃度値が参照元の画素に近似する画素である近似濃度画素の特定を繰り返し、特定画素および近似濃度画素により構成される近似濃度領域を特定する。このように特定された近似濃度領域は、特定画素を起点として濃度がなだらかに変化するような画像領域となる。一般に、真にひび割れを表す画像領域(ひび割れ領域)は、ひび割れの中心部から縁部に向けて濃度がなだらかに変化するような画像領域となることが多い。また、対象物に発生するひび割れは、線分の成分を含んでいるため、真にひび割れを表す画像領域(ひび割れ領域)のアスペクト比(長さ/幅)は、ある程度大きい値となる。本ひび割れ検出装置では、確認判定部が、特定画素を起点として濃度がなだらかに変化する画像領域である近似濃度領域のアスペクト比(長さL/幅W)が第1の閾値以上であることを含む所定の条件を満たすひび割れ候補領域をひび割れ領域に設定する。そのため、本ひび割れ検出装置によれば、ひび割れではないが、ひび割れの濃度に近い濃度を有する部分(例えば、対象物の表面の汚れ等)を誤ってひび割れとして検出する誤検出が発生することを抑制することができ、画像処理を用いたひび割れ検出の精度を向上させることができる。 (1) The crack detection device disclosed in the present specification is a crack detection device that detects a crack of an object, and in an image representing the object, a highly probable crack candidate region that is an image region representing a crack. The upper limit density difference is set from the candidate detection unit that detects the pixel, the pixel extraction unit that extracts the specific pixel that is the pixel closest to the density value that represents black, from the pixels that configure the crack candidate area An upper limit density difference setting unit specifies an approximate density pixel adjacent to the specific pixel and having a density difference with the specific pixel within the upper limit density difference, and is adjacent to the specified approximate density pixel, Further, an approximate density pixel specifying unit that repeats a process of specifying a new approximate density pixel whose density difference with the specified approximate density pixel is within the upper limit density difference, the specific pixel, and the near pixel The crack candidate area satisfying the predetermined condition including that the ratio of the length L (where L ≧ W) to the width W of the approximate density area constituted by the density pixels is equal to or more than the first threshold represents a crack And a confirmation determination unit configured to set a crack area that is an image area. In the crack detection device, the approximate density pixel specifying unit is a pixel adjacent to the reference source pixel from the specific pixel as a starting point, and the specification of the approximate density pixel is a pixel whose density value approximates the reference source pixel. Repeatedly, an approximate density area constituted of a specific pixel and an approximate density pixel is specified. The approximate density area specified in this way is an image area where the density gradually changes starting from the specific pixel. In general, an image area that truly represents a crack (crack area) is often an image area in which the density gradually changes from the center to the edge of the crack. Further, since the crack generated in the object includes the component of the line segment, the aspect ratio (length / width) of the image area (cracked area) that truly represents the crack becomes a somewhat large value. In the crack detection device, the confirmation determination unit determines that the aspect ratio (length L / width W) of the approximate density area, which is an image area in which the density gradually changes starting from the specific pixel, is equal to or greater than the first threshold. A crack candidate area satisfying a predetermined condition including is set as a crack area. Therefore, according to the present crack detection device, it is possible to suppress the occurrence of false detection in which a portion having a concentration close to the concentration of the crack (for example, dirt on the surface of the object) is 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 may be a difference between the density value of the specific pixel and the density value of each pixel located in the peripheral area of the specific pixel in the crack candidate area. The maximum value of the absolute values of may be set as the upper limit density difference. According to the present crack detection apparatus, the upper limit concentration difference can be set to an appropriate value that is neither excessive nor excessive according to the concentration characteristics of individual crack candidate regions, 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 is good also as composition. According to the present crack detection apparatus, the ratio of the length L to the width W of the approximate concentration region can be calculated quickly and accurately, and the processing of crack detection using image processing can be speeded up while being accurate. Can be further improved.

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

(5)上記ひび割れ検出装置において、前記対象物は、壁状の構造物である構成としてもよい。本ひび割れ検出装置によれば、ひび割れの発生が問題になりやすい対象物であり、かつ、比較的広い範囲でひび割れの検出を行う必要がある対象物である壁状の構造物について、ひび割れの検出を、効率的に、かつ、精度良く実行することができる。 (5) In the above crack detection device, the object may be a wall-like structure. According to the crack detection apparatus, the crack detection is performed on a wall-like structure that is an object on which the occurrence of the crack is likely to be a problem and the crack needs to be detected in a relatively wide range. Can be performed efficiently and accurately.

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

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

A.実施形態:
A−1.装置構成:
図1は、本実施形態におけるひび割れ検出装置100の構成を概略的に示す説明図である。ひび割れ検出装置100は、例えばパーソナルコンピュータやタブレット型端末、スマートフォン等の汎用コンピュータである。ひび割れ検出装置100は、記憶部110と、表示部120と、入力部130と、インターフェース部140と、制御部170とを備える。これらの各部は、バス190を介して互いに通信可能に接続されている。
A. Embodiment:
A-1. Device configuration:
FIG. 1 is an explanatory view schematically showing the configuration of the crack detection apparatus 100 in the present embodiment. The crack detection device 100 is, for example, 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. These units are communicably connected to one another via a bus 190.

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

記憶部110は、例えばハードディスクドライブ(HDD)等により構成され、各種のプログラムやデータを記憶する。例えば、記憶部110には、後述するひび割れ検出処理を実行するためのひび割れ検出プログラムCPが格納されている。ひび割れ検出プログラムCPは、例えば、CD−ROMやDVD−ROM、USBメモリ等のコンピュータ読み取り可能な記録媒体(図示しない)に格納された状態で提供され、ひび割れ検出装置100にインストールすることにより記憶部110に格納される。  The storage unit 110 is configured by, 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 the state of being stored in a computer readable recording medium (not shown) such as, for example, a CD-ROM, a DVD-ROM, a USB memory, etc. 110 are stored.

また、記憶部110には、画像データIdが格納されている。画像データIdは、例えば、対象物(本実施形態では、建築物310の壁)を、デジタルスチルカメラ等の撮像装置320で撮像することにより生成されたものである。画像データIdは、インターフェース部140を介してひび割れ検出装置100に入力され、記憶部110に格納される。   The storage unit 110 also stores image data Id. The image data Id is generated, for example, by imaging an object (in the present embodiment, a wall of a building 310) with an imaging device 320 such as a digital still camera. The image data Id is input to the crack detection apparatus 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 includes, for example, a CPU, a ROM, a RAM, and 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. The candidate detection processing unit 220 also 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 specification unit 233, and a confirmation determination unit 234. The functions of these units will be described along with the description of the crack detection process described later.

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

図2は、ひび割れ検出処理の実行時に表示部120に表示される画面(以下、「処理時画面S1」という)の一例を示す説明図である。処理時画面S1は、表示制御部210によって表示部120に表示される。処理時画面S1は、画像選択領域R1と、手法選択領域R2と、画像表示領域R3とを含んでいる。画像選択領域R1は、ひび割れ検出処理の対象となる対象画像IOを選択するための領域である。手法選択領域R2は、ひび割れ検出処理に使用する手法(アルゴリズム)を選択するための領域である。画像表示領域R3は、対象画像IO等を表示するための領域である。   FIG. 2 is an explanatory view showing an example of a screen (hereinafter, referred to as “processing time screen S1”) displayed on the display unit 120 when the crack detection processing is performed. The processing time screen S1 is displayed on the display unit 120 by the display control unit 210. The processing time 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 subjected to the crack detection process. The method selection area R2 is an area for selecting a method (algorithm) to be 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 (such as a file name or a thumbnail) of an 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 options displayed in the image selection region 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 field 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 time screen S1, options of methods (algorithms) used for each processing (crack candidate detection processing, crack candidate confirmation processing) described later that configures the crack detection processing are displayed. From among the plurality of methods displayed in the method selection region R2, the user can input a desired method for each process via the input unit 130 (for example, “Method A” of crack candidate detection process, and crack candidate confirmation process) When "Method H" is selected and the "Execute" button B1 is selected, crack detection processing using the selected method is started. Note that, as shown in FIG. 2, in the present embodiment, the target image IO is an image in which the tiled wall of the building 310 is captured, and each pixel constituting the image is expressed with a density of 256 gradations. It is a gray scale image. Further, in the target image IO, a pixel representing a crack (hereinafter referred to as “crack pixel Pc”) or a portion not having a crack but having a concentration close to the concentration of the crack (for example, dirt on the surface of the object) Pixels to be represented (hereinafter referred to as “noise pixels Pn”) are 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 as necessary (S120). As preprocessing, for example, a process of correcting the density of the target image IO, or an image area (hereinafter referred to as a "tile area") representing a tile from the target image IO is extracted. Etc. may be excluded from the target range of crack detection. In addition, the process which extracts a tile area | region can be performed using a well-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 region.

次に、候補検出処理部220は、ひび割れ候補検出処理を実行する(S130)。ひび割れ候補検出処理は、対象画像IOから、ひび割れを表す画素である蓋然性の高いひび割れ候補画素Pccを含むひび割れ候補領域CCを検出する処理である。候補検出処理部220は、特許請求の範囲における候補検出部に相当する。ひび割れ候補検出処理の内容については、後に詳述する。   Next, the candidate detection processing unit 220 executes crack candidate detection processing (S130). The crack candidate detection process is a process of detecting, from the target image IO, a crack candidate area CC including a crack candidate pixel Pcc having a high probability of being a pixel representing a crack. The candidate detection processing unit 220 corresponds to a candidate detection unit in the claims. The contents of the crack candidate detection process will be described in detail 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 at least one crack candidate area CC is detected in the crack candidate detection process (S130) (S140). If it is determined that the crack candidate area CC is detected (S140: YES), the candidate confirmation processing unit 230 executes the crack candidate confirmation process (S150). The crack candidate confirmation process is a process for confirming whether or not the crack candidate area CC detected from the target image IO is a crack area CR that is an image area that truly represents a crack. The contents of the crack candidate confirmation process will be described in detail later. When it is determined that the crack candidate area 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 view showing an example of the processing time 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 area CR on the target image IO displayed in the image display area R3 (that is, an image showing at least a part of the crack candidate pixel Pcc) Is displayed. In addition, the number (for example, one) of the cracked regions CR detected from the target image IO is shown in the number display column R11 of the image selection region R1 of the processing screen S1. The user can grasp the generation status of the crack in the object (for example, the wall of the building 310) represented in the target image IO through the processing time screen S1 showing the result of the crack detection processing.

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, from the target image IO, the crack candidate area CC including the crack candidate pixel Pcc having a high probability of being a pixel representing a crack. FIG. 5 is a flowchart showing a flow of crack candidate detection processing.

はじめに、候補検出処理部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 a binarization process on the target image (original image) IO, and a binary image (hereinafter referred to as a "first binary image") Acquire Ib (1) (S210). FIG. 6 is an explanatory view showing an example of the first binary image Ib (1). FIG. 6 is an enlarged view of the configuration of a part (the part corresponding to the X1 part in FIG. 2) of the first binary image Ib (1). The first binary image Ib (1) has two gradations of a density value (0 in the present embodiment) representing black and a density value (255 in the present embodiment) representing white. It is an image to express. 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 pixels Pk are hatched.

対象画像IOに対する二値化処理は、任意の公知の手法(例えば、判別分析法に従って画像のヒストグラムを参照した閾値決定を行い、該閾値を用いて画像を二値化する手法等)を用いて実行することができるが、本実施形態では、二値化処理として以下の処理を実行する。すなわち、グレースケール画像である対象画像(原画像)IOを構成する画素の中から注目画素を順次選択し、注目画素の濃度値を、注目画素の周辺に位置する複数の周辺画素の濃度値の平均値と比較する。なお、周辺画素の範囲は任意に設定することができ、例えば、注目画素の周りを取り囲む8つの画素とすることができる。複数の周辺画素の濃度値の平均値に対して注目画素の濃度値が小さい場合(すなわち、白色を表す濃度値(255)に対する黒色を表す濃度値(0)の大小関係と一致する場合)には、注目画素の濃度値を、黒色を表す濃度値(すなわち、0)に変換する。また、複数の周辺画素の濃度値の平均値に対して注目画素の濃度値が大きい場合(すなわち、白色を表す濃度値(255)に対する黒色を表す濃度値(0)の大小関係と一致しない場合)には、注目画素の濃度値を、白色を表す濃度値(すなわち、255)に変換する。これにより、白色画素Pwと黒色画素Pkとにより構成された第1の二値画像Ib(1)が生成される。なお、対象画像IOに対して二値化処理を行った二値画像Ibは、必ずしも画像として表示される必要はない。   The binarization processing for the target image IO may be performed using any known method (for example, a method of performing threshold determination with reference to the histogram of the image according to the discriminant analysis method and using the threshold to binarize the image). Although the process can be performed, in the present embodiment, the following process is performed as the binarization process. That is, the target pixel is sequentially selected from the pixels constituting the target image (original image) IO that is a gray scale image, and the density value of the target pixel is the density value of the plurality of peripheral pixels located around the target pixel. Compare with the average value. The range of the peripheral pixels can be set arbitrarily, and can be, for example, eight pixels surrounding the pixel of interest. When the density value of the pixel of interest is smaller than the average value of density values of a plurality of peripheral pixels (that is, when it matches the magnitude relationship between density values (0) representing black and density values representing white (255)) Converts the density value of the pixel of interest into a density value representing black (ie, 0). In addition, when the density value of the pixel of interest is larger than the average value of the density values of a plurality of peripheral pixels (that is, it does not match the magnitude relation of the density value (0) representing black with the density value (255) representing white , Convert the density value of the pixel of interest into a density value (ie, 255) representing white. As a result, a first binary image Ib (1) composed of the white pixel Pw and the black pixel Pk is generated. The binary image Ib obtained by performing the binarization process on 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 gray scale image, the density value of the cracked 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 processing of the target image IO, the cracked pixel Pc becomes a black pixel Pk. However, not all black pixels Pk in the first binary image Ib (1) are cracked pixels Pc. That is, the noise pixel Pn which is included in the target image IO and which is not a crack but has a density close to the density of the crack (for example, dirt on the surface of the target) is also the first binary image Ib (1 In some cases, the black pixel Pk is used. In the example shown in FIG. 6, in addition to the black pixel Pk which is the cracked pixel Pc, the black pixel Pk which is the noise pixel Pn is included in the first binary image Ib (1).

次に、候補検出処理部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 performs the first half line filter process on the first binary image Ib (1) (S220). FIG. 7 is a flowchart showing the flow of the first half line filter process. FIG. 8 is an explanatory view showing an outline of the first half line filter process. In FIG. 8, a region constituted by the cracked pixel Pc and a region constituted by the noise pixel Pn are indicated by thick broken lines (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 target pixel SP (S221). In the present embodiment, the target pixel SP is selected from black pixels Pk that constitute the first binary image Ib (1). However, the target pixel SP may be selected from all the pixels constituting the first binary image Ib (1). Three target pixels SP (SP (1), SP (2), SP (3)) are illustrated in FIG. In actuality, a plurality of pixels are not simultaneously selected as the target pixel SP, and the respective pixels are sequentially selected as the target pixel 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 sets, on the first binary image Ib (1), a plurality of virtual line segments having the target pixel SP as an end point, a predetermined length L1, and different predetermined inclinations. The SL is set (S222). In FIG. 8, eight virtual line segments SL having different inclinations by 45 degrees are illustrated for each target pixel SP, and the length L1 of each virtual line segment SL is set to five pixels, but The number and length of the line segments 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 sets “the density value of pixels of 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, the predetermined It is determined whether the condition (hereinafter referred to as "first condition") is satisfied (S223). The pixel of ratio RA1 or more corresponds to the black pixel Pk). The predetermined ratio RA1 at this time is set to, for example, one value within the range of 80% to 100%. For example, for two virtual line segments SL (virtual line segments 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 the black pixel Pk, it is determined that the above first condition is satisfied. On the other hand, with regard to the other virtual line segment SL (3) set for the pixel of interest SP (1) shown in FIG. 8, among the pixels located on the virtual line segment SL, of the pixels 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 sets two inclinations different from each other by 180 degrees in the virtual line segment SL satisfying the first condition (that is, positioned on one virtual straight line passing the target pixel SP). It is determined whether there is a set of virtual line segments SL (hereinafter referred to as a “condition satisfaction line segment pair”) (S224). This determination is, in other words, a predetermined ratio RA1 or more of the pixels positioned on the virtual line segment SL for both of the two virtual line segments SL having inclinations different by 180 degrees among the plurality of virtual line segments SL. It is determined whether or not the first condition that the density value of the pixel of (b) coincides with 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には設定されない。   If the candidate determination unit 224 determines that the condition-satisfied line segment pair is present (S224: YES), the currently selected focused pixel SP is a crack candidate pixel with high probability of being a pixel representing a crack (hereinafter referred to as It is set to “Pcc 1” (referred to as “first crack candidate pixel”) (S 225). On the other hand, when the candidate determination unit 224 determines that the condition-satisfied line segment pair does not exist (S224: NO), the candidate determination unit 224 skips the process (S225) of setting the focused pixel SP as the first crack candidate pixel Pcc1. For example, two virtual line segments SL (virtual line segments SL (1) and SL (2)) set for the pixel of interest SP (1) shown in FIG. 8 are two virtual lines whose inclinations differ from each other by 180 degrees. It is a set of minutes SL, and both satisfy the first condition. Therefore, it is determined that the condition satisfaction line segment pair exists, and the focused pixel SP (1) at this time is set as the first crack candidate pixel Pcc1. Similarly, with respect to the other target pixel SP (2) shown in FIG. 8, it is determined that the condition satisfying line segment pair exists, and is set as the first crack candidate pixel Pcc1. On the other hand, it is determined that the condition satisfaction line segment pair does not exist for the other attention pixel SP (3) shown in FIG. 8 and is not set as the first crack candidate pixel Pcc1.

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

図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 view showing an example of the result of the first half line filter process. In FIG. 9, the pixels set to the first crack candidate pixel Pcc1 in the first half line filter process are hatched. As described above, in general, the crack includes the component of the line segment. Therefore, in the first half line filter process, if a fixed ratio or more of the pixels positioned on a line segment twice the length of the virtual line segment SL is a black pixel Pk, then the focused pixel SP 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 a crack are set as the first crack candidate pixel Pcc1. Further, all the noise pixels Pn shown near the upper left of FIG. 9 are not set as the first crack candidate pixel Pcc1. That is, the occurrence of an erroneous detection in which these noise pixels Pn are erroneously detected as a crack is prevented. However, since the noise pixel Pn shown near the lower right of FIG. 9 constitutes a relatively elongated group of regions, a portion of the noise pixel Pn is erroneously set as the first crack candidate pixel Pcc1. It is done.

なお、上述した内容の第1のハーフラインフィルタ処理は、実際には、フィルタを用いた画像処理により実現される。後述する第2のハーフラインフィルタ処理についても同様である。   In addition, the 1st half line filter processing of the contents mentioned above is actually realized by the image processing which used the filter. The same applies to the second half line filter process 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 process (S220 in FIG. 5), the candidate detection processing unit 220 executes the expansion process (S230). In the first half-line filtering described above, a part of the cracked pixel Pc that truly represents a crack, specifically, an edge of a region constituted by a group of cracked pixels Pc (in particular, a longitudinal edge of the crack There are cases where the crack pixel Pc located in (1) is not set as the first crack candidate pixel Pcc1. Therefore, the candidate detection processing unit 220 extends the region constituted by the group of first crack candidate pixels Pcc1 set by the first half-line filter processing, and, among the pixels included in the expanded region, A pixel not set as the first crack candidate pixel Pcc1 in the half line filter process of 1 is corrected to the first crack candidate pixel Pcc1. Such expansion processing can be realized by, for example, 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 processor 220 sets the density value of the first crack candidate pixel Pcc1 at the time of completion of the expansion process to the density value (ie, 0) representing black. The converted binary image (hereinafter referred to as “second binary image”) Ib (2) by converting the density values of the other pixels into density values representing white (that is, 255). Generate). In the second binary image Ib (2), the density value of the first crack candidate pixel Pcc1 (before the expansion processing) in the first binary image Ib (1) is converted to a density value representing black. It can be said that the binary image is a binary image in which the density values of at least a part of pixels other than the first crack candidate pixel Pcc1 (before the expansion processing) are converted to density values representing white.

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

次に、候補判定部224は、第2の二値画像Ib(2)を対象として、第2のハーフラインフィルタ処理を実行する(図5のS240)。図11は、第2のハーフラインフィルタ処理の流れを示すフローチャートである。また、図12は、第2のハーフラインフィルタ処理の概要を示す説明図である。図12では、第1次ひび割れ候補画素Pcc1により構成される領域が太い一点鎖線で示されている。   Next, the candidate determination unit 224 executes the 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 process. FIG. 12 is an explanatory view showing an outline of the second half line filter process. In FIG. 12, a region constituted by the first crack candidate pixel Pcc1 is indicated by a thick dashed-dotted 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 first crack candidate pixels Pcc1 constituting the second binary image Ib (2) as a target pixel SP (S241). Two target pixels SP (SP (1), SP (2)) are illustrated in FIG. In actuality, a plurality of pixels are not simultaneously selected as the target pixel SP, and the respective pixels are sequentially selected as the target pixel 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 sets, on the second binary image Ib (2), a plurality of virtual line segments having the target pixel SP as an end point, a predetermined length L2, and different predetermined inclinations. The SL is set (S242). In FIG. 12, eight virtual line segments SL having different inclinations by 45 degrees are illustrated for each target pixel SP, and the length L2 of each virtual line segment SL is set to 10 pixels, but The number and length of the line segments SL can be set arbitrarily. However, the length L2 of the virtual line segment SL set in the second half line filter process is longer than the length L1 of the virtual line segment SL set in the first half line filter process (L2> L1). The length L2 is preferably at least twice 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 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 for each virtual line segment SL. It is determined whether the condition (hereinafter referred to as "second condition") is satisfied (S243). The pixel of ratio RA2 or more corresponds to the black pixel Pk). The predetermined ratio RA2 at this time is set to a value lower than the ratio RA1 in the first half line filtering process, for example, within 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 a virtual line segment SL satisfying the second condition (hereinafter referred to as a “condition satisfaction line segment”) exists (S244), and determines that a condition satisfaction line segment exists. In the case (S244: YES), the currently selected focused pixel SP is set to a new crack candidate pixel (hereinafter, referred to as "secondary crack candidate pixel") Pcc2 (S245). That is, among the pixels determined to be the crack candidate pixels (first crack candidate pixels Pcc1) in the first half line filter processing, the second crack candidate pixels Pcc2 are also selected in the second half line filter processing. It is a pixel determined to be a crack candidate pixel (secondary crack candidate pixel Pcc2), and it can be said that it is an updated crack candidate pixel. On the other hand, if the candidate determination unit 224 determines that the condition-satisfied line segment does not exist (S244: NO), the candidate determination unit 224 skips the process (S245) of setting the focused pixel SP as the second crack candidate pixel Pcc2. That is, in this case, even if it is the pixel determined to be a crack candidate pixel (first order crack candidate pixel Pcc1) in the first half line filter process, the crack candidate pixel in the second half line filter process It is determined that (the second crack candidate pixel Pcc2) is not present. For example, for the pixel of interest SP (1) shown in FIG. 12, all of the pixels located on the virtual line segment SL (1) set for the pixel of interest SP (1) correspond to the black pixel Pk. Since the virtual line segment SL (1) corresponds to the condition satisfaction line segment, the focused pixel SP (1) is set to the second crack candidate pixel Pcc2. On the other hand, for the other attention pixel SP (2) shown in FIG. 12, no condition satisfaction line segment exists, so the attention pixel SP (2) is not set as 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 the selection as the target pixel SP has been completed for all the target pixels (S246), and the selection of the target pixel SP has not been completed (that is, an unselected target). If it is determined that there is a pixel) (S246: NO), the process returns to S241 to repeat the above process. On the other hand, if the candidate detection processing unit 220 determines that the selection as the target pixel SP has been completed for all of the target pixels (S246: YES), the second half-line processing ends.

第2のハーフラインフィルタ処理(図5のS240)の完了後、候補検出処理部220の候補領域設定部226は、第2のハーフラインフィルタ処理において設定された第2次ひび割れ候補画素Pcc2を含む画像領域を、ひび割れを表す画像領域である蓋然性の高いひび割れ候補領域CCとして設定する(S250)。なお、ひび割れ候補領域CCは、第2次ひび割れ候補画素Pcc2のみから構成されるとしてもよいし、第2次ひび割れ候補画素Pcc2ではない画素を僅かに含んでいてもよい。例えば、一群の第2次ひび割れ候補画素Pcc2により囲まれた領域の内側に、第2次ひび割れ候補画素Pcc2ではない画素が僅かに存在する場合に、そのような第2次ひび割れ候補画素Pcc2ではない画素を含めてひび割れ候補領域CCを設定するものとしてもよい。   After completion of the second half line filter process (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 process. The image area is set as a highly probable crack candidate area CC which is an image area representing a crack (S250). The crack candidate region CC may be configured of only the second crack candidate pixel Pcc2 or may slightly include pixels other than the second crack candidate pixel Pcc2. For example, when there is a small number of pixels other than the second crack candidate pixel Pcc2 inside a region surrounded by a group of second crack candidate pixels Pcc2, such a second crack candidate pixel Pcc2 is not It is good also as what sets crack candidate field CC including a pixel.

図13は、ひび割れ候補領域CCの設定結果の一例を示す説明図である。図13では、第2のハーフラインフィルタ処理において第2次ひび割れ候補画素Pcc2に設定された画素(ひび割れ候補領域CC)に、ハッチングが付されている。上述したように、一般に、ひび割れは、線分の成分を含んでいる。そのため、第2のハーフラインフィルタ処理では、注目画素SPを端点とする長さL2の仮想線分SL上に位置する画素の内の一定割合以上が黒色画素Pkであれば、該注目画素SPはひび割れを表す画素である蓋然性が高いひび割れ候補画素であると判定している。   FIG. 13 is an explanatory view showing an example of the setting result of the crack candidate area CC. In FIG. 13, the pixels (crack candidate area CC) set as the second crack candidate pixel Pcc2 in the second half line filter process are hatched. As described above, in general, the crack includes the component of the line segment. Therefore, in the second half line filter process, if a certain percentage or more of the pixels positioned on the virtual line segment SL of length L2 having the target pixel SP as an end point is the black pixel Pk, the target pixel SP is It is determined that the pixel 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 filtering process, the length (L2) of the virtual line segment SL is longer than the length (L1) of the virtual line segment SL in the first half line filtering process. Therefore, it is possible to suppress the occurrence of false detection in which the noise pixel Pn is erroneously set to the second crack candidate pixel Pcc2. For example, in the example shown in FIG. 13, most of the crack pixels Pc that truly represent a crack are set as the second crack candidate pixel Pcc2, while the noise pixels shown near the lower right of FIG. Pn is not set to the second crack candidate pixel Pcc2. That is, the occurrence of an erroneous detection in which these noise pixels Pn are erroneously detected as a crack is prevented.

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

以上説明したひび割れ候補検出処理により、対象画像IOから、ひび割れを表す画素である蓋然性の高いひび割れ候補画素(第2次ひび割れ候補画素Pcc2)を含むひび割れ候補領域CCが検出される。   In the crack candidate detection process described above, a crack candidate area CC including a crack candidate pixel (secondary crack candidate pixel Pcc2) having high probability that is a pixel representing a 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 of confirming whether the crack candidate area CC detected from the target image IO is a crack area CR that is an image area that truly represents a crack. FIG. 14 is a flowchart showing a flow of crack candidate confirmation processing. Moreover, FIG. 15 and FIG. 16 is explanatory drawing which shows the outline | summary of a 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 area CC (S310). FIG. 15 shows one selected crack candidate area CC on the target image IO (gray scale image). As described above, in the present embodiment, the crack candidate region CC is an image region configured of the second 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 with the minimum density value, from the pixels forming the crack candidate area CC (S312). In the present embodiment, the target image IO is a gray scale image of 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 area CC is the pixel closest to the density value representing black. FIG. 15 shows the minimum density pixel Pmin extracted in the crack candidate area CC. The minimum density pixel Pmin corresponds to the 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 density difference setting unit 232 sets the upper limit density difference ΔCmax (S314). The upper limit density difference ΔCmax is used in the identification process (S316, S318) of the approximate density pixel Ps described later. In the present embodiment, the upper limit density difference setting unit 232 sets the peripheral area PR of the minimum density pixel Pmin in the crack candidate area CC, and the density value of the minimum density pixel Pmin and each pixel located in the peripheral area PR. The maximum value of the absolute value of the difference between the density value is set as the upper limit density 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 with the largest density value in the peripheral region PR. The peripheral region PR can be set arbitrarily, and for example, as shown in FIG. 15, can be a region 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 for the minimum density pixel Pmin (S316). The approximate density pixel Ps for the minimum density pixel Pmin is a pixel adjacent to the minimum density pixel Pmin, and the density difference with the minimum density pixel Pmin is a pixel within the upper limit density difference ΔCmax. That is, among the pixels adjacent to the minimum density pixel Pmin, the minimum density pixel Pmin is a pixel whose density value is close to the density value of the minimum density pixel Pmin. In the example shown in FIG. 16, as indicated by the arrows, four pixels adjacent to the minimum density pixel Pmin in the top, bottom, left, and right directions are identified as approximate density pixels Ps.

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

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

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

次に、確認判定部234は、最小矩形REsの幅Wsに対する長さLs(ただし、Ls≧Ws)の比(以下、「アスペクト比(Ls/Ws)」という)が、所定の閾値Th1以上であるか否かを判定する(S330)。なお、最小矩形REsの幅Wsは、近似濃度領域SRの幅に相当し、最小矩形REsの長さLsは、近似濃度領域SRの長さに相当する。閾値Th1は、特許請求の範囲における第1の閾値に相当する。   Next, the confirmation determination unit 234 determines that the ratio of the length Ls (where Ls ≧ Ws) to the width Ws of the minimum rectangle REs (hereinafter referred to as “aspect ratio (Ls / Ws)”) is a predetermined threshold Th1 or more. It is determined whether there is any (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)。   If the aspect ratio (Ls / Ws) of the minimum rectangle REs is equal to or greater than the threshold 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, if the aspect ratio (Ls / Ws) of the minimum rectangle REs is less than the threshold Th1 (S330: NO), the confirmation determination unit 234 determines that the selected crack candidate region CC is a crack region that truly represents a crack. It is determined that one that is not CR but not crack is erroneously detected (false detection) (S350).

一般に、対象物に発生するひび割れは、線分の成分(すなわち、細長く、かつ、直線的に伸びる成分)を含んでいるため、真にひび割れを表す画像領域(ひび割れ領域CR)のアスペクト比は、ある程度大きい値となる。また、上述したように、ひび割れ候補領域CCが真にひび割れを表す画像領域である場合には、ひび割れ候補領域CCを構成する画素の多くが、近似濃度領域SRを構成する近似濃度画素Psとして特定されることとなる。そのため、本実施形態では、近似濃度領域SR(を内包する最小矩形REs)のアスペクト比が比較的大きい場合に、該ひび割れ候補領域CCは真のひび割れ領域CRであると判定し、近似濃度領域SR(を内包する最小矩形REs)のアスペクト比が比較的小さい場合に、該ひび割れ候補領域CCは真のひび割れ領域CRではないと判定するものとしている。   Generally, a crack generated in an object contains a component of a line segment (i.e., an elongated and linearly extending component), so the aspect ratio of an image area (cracked area CR) that truly represents a crack is It becomes a large value to some extent. Further, as described above, in the case where the crack candidate region CC is an image region that truly represents a crack, many of the pixels constituting the crack candidate region CC are specified as the approximate concentration pixels Ps constituting the approximate concentration region SR. It will be done. Therefore, in the present embodiment, when the aspect ratio of the approximate concentration region SR (smallest rectangle REs including the region is relatively large), it is determined that the crack candidate region CC is a true crack region CR, and the approximate concentration region SR When the aspect ratio of (minimum rectangle REs including (inclusive) 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 selection of all the crack candidate areas CC is completed (S360), and when it is determined that there is an unselected crack candidate area CC (S360: NO), S310 Return to and repeat the above process. On the other hand, if the candidate confirmation processing unit 230 determines that there is no unselected crack candidate area CC (S360: YES), the candidate confirmation processing unit 230 ends the crack candidate confirmation process.

以上説明したひび割れ候補確認処理により、ひび割れ候補検出処理において対象画像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 area CC detected from the target image IO in the crack candidate detection process is a crack area CR that truly represents a crack. The crack area CR confirmed by the crack candidate confirmation process is shown on the target image IO displayed in the image display area R3 of the processing screen S1 as described above (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. Effects of the present embodiment:
As described above, the crack detection device 100 according to the present embodiment includes the candidate detection processing unit 220. The candidate detection processing unit 220 detects a highly probable crack candidate area CC which is an image area representing a crack in an image (target image IO) representing an object. In addition, the crack detection device 100 according to the present embodiment includes a pixel extraction unit 231, an upper limit density difference setting unit 232, an approximate density pixel specification 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 closest to the density value representing black), from the pixels forming the crack candidate area CC. The upper limit density difference setting unit 232 sets the upper limit density difference ΔCmax. The approximate density pixel specifying unit 233 specifies the approximate density pixel Ps adjacent to the minimum density pixel Pmin and determining the approximate density pixel Ps whose density difference with the minimum density pixel Pmin is within the upper limit density difference ΔCmax. And the process of identifying a new approximate density pixel Ps whose density difference from the specified approximate density pixel Ps is within the upper limit density difference ΔCmax is repeated. Confirmation determining unit 234 includes a predetermined ratio that the ratio of length L (where LLW) to width W of the approximate density area SR configured by the minimum density pixel Pmin and the approximate density pixel Ps is equal to or larger than a threshold Th1. A crack candidate region CC which satisfies the condition is set as a crack region CR which is an image region representing a 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 apparatus 100 according to the present embodiment is a pixel adjacent to the reference source pixel starting from the minimum density pixel Pmin, and the density value approximates the reference source pixel. The identification of the approximate density pixel Ps which is a pixel is repeated, and the approximate density region SR configured of the minimum density pixel Pmin and the approximate density pixel Ps is specified. The approximate density area SR specified in this way is an image area in which the density gradually changes starting from the minimum density pixel Pmin. In general, an image area that truly represents a crack (cracked area CR) is often an image area in which the density gradually changes from the center to the edge of the crack. Further, since the crack generated in the object includes the component of the line segment, the aspect ratio of the image area (cracked area CR) which truly represents the crack becomes a large value to some extent. In the crack detection apparatus 100 of the present embodiment, the confirmation determination unit 234 determines the aspect ratio (L of the approximate density area SR (minimum rectangle REs including the density area SR), which is an image area whose density gradually changes starting from the minimum density pixel Pmin. A crack candidate region CC satisfying a predetermined condition including that / W) is equal to or more than the threshold value Th1 is set as the crack region CR. Therefore, according to the crack detection apparatus 100 of the present embodiment, although not a crack, an erroneous detection occurs in which a portion having a concentration close to the concentration of the crack (for example, dirt on the surface of the object) is erroneously detected as a crack Can be suppressed, and the accuracy of crack detection using image processing can be improved.

また、本実施形態のひび割れ検出装置100では、上限濃度差設定部232は、最小濃度画素Pminの濃度値と、ひび割れ候補領域CC内において最小濃度画素Pminの周辺領域PR内に位置する各画素の濃度値と、の差の絶対値の最大値を、上限濃度差ΔCmaxとして設定する。そのため、本実施形態のひび割れ検出装置100によれば、個々のひび割れ候補領域CCの濃度特性に応じて、上限濃度差ΔCmaxを、過大または過小ではない適切な値に設定することができ、画像処理を用いたひび割れ検出の精度をさらに向上させることができる。   Further, in the crack detection apparatus 100 of the present embodiment, the upper limit density difference setting unit 232 sets the density value of the minimum density pixel Pmin and each pixel located in the peripheral area PR of the minimum density pixel Pmin in the crack candidate area CC. The maximum value of the absolute value of the difference between the density value is set as the upper limit density difference ΔCmax. Therefore, according to the crack detection device 100 of the present embodiment, the upper limit concentration difference ΔCmax can be set to an appropriate value that is neither excessive nor excessive according to the density characteristics of the individual crack candidate regions CC, and image processing The accuracy of crack detection using 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 W of the minimum rectangle REs including the approximate concentration region SR is used as the width W of the approximate concentration region SR, and the minimum rectangle REs is determined as the length L of the approximate concentration region SR. The length Ls of Therefore, according to the crack detection apparatus 100 of the present embodiment, the ratio of the length L to the width W of the approximate concentration region SR can be calculated quickly and accurately, and processing of crack detection using image processing Accuracy can be further improved while speeding up

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

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

B.変形例:
本明細書で開示される技術は、上述の実施形態に限られるものではなく、その要旨を逸脱しない範囲において種々の形態に変形することができ、例えば次のような変形も可能である。
B. Modification:
The technology disclosed in the present specification is not limited to the above-described embodiment, and can be modified into various forms without departing from the scope of the present invention. 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 various modifications are possible. For example, the crack detection apparatus 100 may include an imaging unit, and the crack detection processing unit 200 may execute the crack detection process on an image generated by imaging the target by the imaging unit.

また、上記実施形態では、処理時画面S1等がひび割れ検出装置100の表示部120に表示されるとしているが、処理時画面S1等がひび割れ検出装置100の備える表示部120ではなく、外部のディスプレイに表示されるとしてもよい。なお、この場合には、ひび割れ検出装置100が表示部120を備える必要は無い。   In the above embodiment, the processing screen S1 and the like are displayed on the display unit 120 of the crack detection device 100. However, the processing screen S1 and the like are not the display unit 120 of the crack detection device 100 but an external display It may be displayed on the screen. In this case, the crack detection device 100 does not have 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 a pixel representing a crack is closer to the density value of black than white is used as the target image IO, but conversely, the density value of a pixel representing a crack is higher than black An image close to the density value of white 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 minimum density value (minimum density pixel Pmin) from the pixels forming the crack candidate area CC. A process of extracting the pixel having the largest density value from the pixels forming the crack candidate area CC is performed. It can be said that the pixel having the largest density value at this time is the pixel closest to the density value representing the black color (a specific pixel in the claims).

また、上記実施形態におけるひび割れ検出処理の内容は、あくまで一例であり、種々変形可能である。例えば、上記実施形態におけるひび割れ候補検出処理(図5)の処理内容は、あくまで一例であり、他の任意の内容のひび割れ候補検出処理によってひび割れ候補領域CCを検出するものとしてもよい。   Moreover, the content of the crack detection process in the said embodiment is an example to the last, and can be variously deformed. 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 area CC may be detected by the crack candidate detection process of any other content.

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

また、上記実施形態では、近似濃度領域SRの幅Wとして、近似濃度領域SRを内包する最小矩形REsの幅Wsが用いられ、近似濃度領域SRの長さLとして、最小矩形REsの長さLsが用いられているが、近似濃度領域SRの幅Wや長さLが、他の方法により規定されてもよい。   In the above embodiment, the width Ws of the minimum rectangle REs including the approximate concentration 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 other methods.

また、上記実施形態では、ひび割れ候補確認処理(図14)において、近似濃度領域SRを内包する最小矩形REsのアスペクト比(Ls/Ws)が閾値Th1以上であるという条件を満たせば、該ひび割れ候補領域CCはひび割れ領域CRに設定されるとしているが、上記条件に加えて他の条件が満たされる場合に、該ひび割れ候補領域CCはひび割れ領域CRに設定されるものとしてもよい。   In the above embodiment, in the crack candidate confirmation process (FIG. 14), if the condition that the aspect ratio (Ls / Ws) of the minimum rectangle REs including the approximate concentration region SR is the threshold Th1 or more is satisfied, the crack candidate is 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, although the object of the crack detection process is a tiled wall of the building 310, other wall-like structures (for example, concrete walls of a building or civil engineering structures) Or the like, or an object other than a wall-like 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 specification unit 234: confirmation determination unit 310: building 320: imaging Device CC: Crack candidate region CP: Crack detection program CR: Crack region IO: Target image Ib (1): First binary image Ib (2): Second binary image Id: Image data Pc: Crack pixel Pcc1 : First crack candidate pixel Pcc2: Second crack candidate pixel Pk: Black Element 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: target pixel SR: approximate density area

Claims (7)

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

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020203684A1 (en) 2019-03-29 2020-10-08 三井化学株式会社 Lithium ion battery stack
JP2021051597A (en) * 2019-09-25 2021-04-01 株式会社イクシス Image processing apparatus, image processing method, and computer program
JP2021051022A (en) * 2019-09-25 2021-04-01 株式会社イクシス Building structure diagnosis system
CN113706510A (en) * 2021-08-31 2021-11-26 杭州师范大学钱江学院 Welding seam detection positioning method based on gray value mutation point interpolation line segment fitting

Citations (6)

* 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
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

Patent Citations (6)

* 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
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

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020203684A1 (en) 2019-03-29 2020-10-08 三井化学株式会社 Lithium ion battery stack
JP2021051597A (en) * 2019-09-25 2021-04-01 株式会社イクシス Image processing apparatus, image processing method, and computer program
JP2021051022A (en) * 2019-09-25 2021-04-01 株式会社イクシス Building structure diagnosis system
JP7385192B2 (en) 2019-09-25 2023-11-22 株式会社イクシス Image processing device, image processing method, and computer program
JP7471570B2 (en) 2019-09-25 2024-04-22 株式会社イクシス Building structure diagnostic system
CN113706510A (en) * 2021-08-31 2021-11-26 杭州师范大学钱江学院 Welding seam detection positioning method based on gray value mutation point interpolation line segment fitting
CN113706510B (en) * 2021-08-31 2023-07-28 杭州师范大学钱江学院 Weld joint detection positioning method based on gray value mutation point interpolation line segment fitting

Also Published As

Publication number Publication date
JP6994890B2 (en) 2022-01-14

Similar Documents

Publication Publication Date Title
JP6936685B2 (en) Crack detection device, crack detection method, and computer program
JP2019066266A (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
EP3889588A1 (en) Inspection assistance device, inspection assistance method, and inspection assistance program for concrete structure
JP2009211626A (en) Image processing device and method
JP2021165888A (en) Information processing apparatus, information processing method of information processing apparatus, and program
JP6936691B2 (en) Crack detection device, crack detection method, and computer program
CN110751654B (en) Image matting method, medium, equipment and device
JP6894338B2 (en) Crack detection device, crack detection method, and computer program
JP2018045396A (en) Image processing apparatus, image processing method, and program
US8250484B2 (en) Computer and method for generatiing edge detection commands of objects
JP2013117409A (en) Crack detection method
JP6894339B2 (en) Crack detection device, crack detection method, and computer program
CN110660056A (en) Building crack width measurement algorithm and method based on image processing
JP6980208B2 (en) Structure maintenance work support system
CN111462278B (en) Depth-based material sequencing rendering method, medium, equipment and device
JP2021135209A (en) Device and method for determining crack region and program for the same
JP2018197692A (en) Damage state processing system
WO2022074746A1 (en) Deterioration detection apparatus, deterioration detection method, and program
JP7385192B2 (en) Image processing device, image processing method, and computer program
CN113167568B (en) Coordinate calculation device, coordinate calculation method, and computer-readable recording medium
JP7340487B2 (en) Program creation device, object detection system, anchor setting method and anchor setting program
CN110580731B (en) 3D character rendering method, medium, device and apparatus
CN112633065A (en) Face detection method, system, storage medium and terminal based on data enhancement

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 Request for written amendment filed

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