JPWO2019049316A1 - Deformation detection apparatus and deformation detection method - Google Patents

Deformation detection apparatus and deformation detection method Download PDF

Info

Publication number
JPWO2019049316A1
JPWO2019049316A1 JP2019514061A JP2019514061A JPWO2019049316A1 JP WO2019049316 A1 JPWO2019049316 A1 JP WO2019049316A1 JP 2019514061 A JP2019514061 A JP 2019514061A JP 2019514061 A JP2019514061 A JP 2019514061A JP WO2019049316 A1 JPWO2019049316 A1 JP WO2019049316A1
Authority
JP
Japan
Prior art keywords
candidate
contour
deformed
unit
rectangle
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
JP2019514061A
Other languages
Japanese (ja)
Other versions
JP6548857B1 (en
Inventor
幸保 川畑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Application granted granted Critical
Publication of JP6548857B1 publication Critical patent/JP6548857B1/en
Publication of JPWO2019049316A1 publication Critical patent/JPWO2019049316A1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • EFIXED CONSTRUCTIONS
    • E01CONSTRUCTION OF ROADS, RAILWAYS, OR BRIDGES
    • E01DCONSTRUCTION OF BRIDGES, ELEVATED ROADWAYS OR VIADUCTS; ASSEMBLY OF BRIDGES
    • E01D22/00Methods or apparatus for repairing or strengthening existing bridges ; Methods or apparatus for dismantling bridges
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Structural Engineering (AREA)
  • Civil Engineering (AREA)
  • Theoretical Computer Science (AREA)
  • Architecture (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Image Analysis (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Abstract

対象物の表面が撮影された可視画像を分割する複数の矩形ブロックを設定する矩形設定部(1031)と、対象物の表面が撮影された可視画像の背景輝度値と、矩形設定部が設定した各矩形ブロック内の平均輝度値とに基づき、複数の矩形ブロックのうち、変状領域を形成する変状矩形の候補となる変状候補矩形を判定する候補矩形判定部(103)と、候補矩形判定部が判定した変状候補矩形のうち、互いに隣接する変状候補矩形の領域を統合した変状候補領域を設定する候補矩形統合部(104)と、候補矩形統合部が設定した変状候補領域の外周を形成する輪郭ブロックを抽出する候補輪郭抽出部(105)と、候補輪郭抽出部が抽出した各輪郭ブロックの周囲の各矩形ブロック内の輝度の特徴量に基づき、当該各輪郭ブロックが変状矩形であるかどうかを判定し、変状矩形であると判定した輪郭ブロックで囲まれた領域を前記変状領域と確定する候補輪郭判定部(106)とを備えた。A rectangular setting unit (1031) that sets a plurality of rectangular blocks that divide a visible image in which the surface of the object is photographed, a background luminance value of a visible image in which the surface of the object is photographed, and a rectangle setting unit are set. A candidate rectangle determination unit (103) that determines a deformed candidate rectangle that is a candidate for a deformed rectangle that forms a deformed region among a plurality of rectangular blocks based on the average luminance value in each rectangular block, and a candidate rectangle Among the candidate deformation rectangles determined by the determination unit, a candidate rectangle integration unit (104) for setting a modification candidate region obtained by integrating regions of the modification candidate rectangles adjacent to each other, and a modification candidate set by the candidate rectangle integration unit A candidate contour extracting unit (105) that extracts a contour block that forms the outer periphery of the region, and each contour block is based on the luminance feature amount in each rectangular block around each contour block extracted by the candidate contour extracting unit. Deformation Determining whether the shape, with a candidate contour determination unit and (106) of the region surrounded by the contour block determined as the Deformation region it is determined that the Henjo rectangular.

Description

この発明は、対象物の表面の変状箇所を検出する変状検出装置および変状検出方法に関するものである。   The present invention relates to a deformation detection apparatus and a deformation detection method for detecting a deformation location on the surface of an object.

従来、対象物の表面を撮像した画像データに基づき、当該対象物の表面の変状箇所を検出する技術が知られている。
例えば、特許文献1には、コンクリート表面を撮像したコンクリート表面画像に対して横方向に強い平滑化処理を行い、当該平滑化処理を実施した画像に対し、背景に比べてより黒い領域を漏水候補領域として抽出し、当該漏水候補領域について、輝度値、面積、幅および高さを特定して、指定した条件の範囲内にある領域を漏水領域として抽出し、領域の穴埋めおよび周囲領域の閉合処理等を行って、最終的な漏水領域を表示するコンクリート表面の変状領域の検出方法が開示されている。
2. Description of the Related Art Conventionally, a technique for detecting a deformed portion on the surface of an object based on image data obtained by imaging the surface of the object is known.
For example, in Patent Document 1, a concrete surface image obtained by imaging a concrete surface is subjected to a strong smoothing process in the lateral direction, and a blacker area is compared with the background for a leak candidate for the image subjected to the smoothing process. Extract the region as a region, specify the brightness value, area, width, and height of the candidate leakage region, extract the region within the specified conditions as the leakage region, fill the region, and close the surrounding region Etc., and a method for detecting a deformed region on the concrete surface that displays the final water leakage region is disclosed.

特開2012−202859号公報JP 2012-202859 A

特許文献1に開示されているような技術では、漏水領域は横幅が広いことを前提にしており、漏水領域の判定を、平滑化した画像から判定するため、判定漏れが発生し得るという課題があった。また、漏水候補領域に対して、輝度値、面積、幅および高さに基づく固定値の閾値によって漏水領域であるかどうかの判定を行うため、小さな漏水領域を見逃す可能性があるという課題があった。また、撮影条件等によっても、微細な領域に対する漏水の検出が困難となるという課題があった。   In the technology as disclosed in Patent Document 1, it is assumed that the water leakage area has a wide width, and since the determination of the water leakage area is determined from the smoothed image, there is a problem that a determination leakage may occur. there were. In addition, since it is determined whether or not it is a leaking area with a fixed value threshold based on the brightness value, area, width, and height, there is a problem that a small leaking area may be missed. It was. In addition, there is a problem in that it is difficult to detect water leakage in a fine area depending on photographing conditions and the like.

この発明は上記のような課題を解決するためになされたもので、微細な領域に対しても、変状領域の検出を可能とする変状検出装置および変状検出方法を提供することを目的とする。   The present invention has been made to solve the above-described problems, and an object thereof is to provide a deformation detection apparatus and a deformation detection method that can detect a deformed area even in a minute area. And

この発明に係る変状検出装置は、対象物の表面が撮影された可視画像を分割する複数の矩形ブロックを設定する矩形設定部と、対象物の表面が撮影された可視画像の背景輝度値と、矩形設定部が設定した各矩形ブロック内の平均輝度値とに基づき、複数の矩形ブロックのうち、変状領域を形成する変状矩形の候補となる変状候補矩形を判定する候補矩形判定部と、候補矩形判定部が判定した変状候補矩形のうち、互いに隣接する変状候補矩形の領域を統合した変状候補領域を設定する候補矩形統合部と、候補矩形統合部が設定した変状候補領域の外周を形成する輪郭ブロックを抽出する候補輪郭抽出部と、候補輪郭抽出部が抽出した各輪郭ブロックの周囲の各矩形ブロック内の輝度の特徴量に基づき、当該各輪郭ブロックが変状矩形であるかどうかを判定し、変状矩形であると判定した輪郭ブロックで囲まれた領域を変状領域と確定する候補輪郭判定部とを備えたものである。   The deformation detection device according to the present invention includes a rectangular setting unit that sets a plurality of rectangular blocks that divide a visible image in which the surface of the object is photographed, and a background luminance value of the visible image in which the surface of the object is photographed. A candidate rectangle determining unit that determines a deformed candidate rectangle that is a deformed rectangle candidate that forms a deformed region among a plurality of rectangular blocks based on the average luminance value in each rectangular block set by the rectangle setting unit Among the candidate deformation rectangles determined by the candidate rectangle determination unit, a candidate rectangle integration unit that sets a modification candidate region obtained by integrating regions of the modification candidate rectangles adjacent to each other, and a modification set by the candidate rectangle integration unit A candidate contour extracting unit that extracts a contour block that forms the outer periphery of the candidate region, and each contour block is deformed based on a feature value of luminance in each rectangular block around each contour block extracted by the candidate contour extracting unit Is a rectangle UGA determined, in which a region surrounded by the contour blocks is determined that Henjo rectangle and a candidate contour determination unit for determining a Henjo region.

この発明によれば、微細な領域に対しても、変状領域の検出を可能とすることができる。   According to the present invention, it is possible to detect a deformed region even for a fine region.

実施の形態1に係る変状検出装置の構成の一例を示す図である。It is a figure which shows an example of a structure of the deformation | transformation detection apparatus which concerns on Embodiment 1. FIG. 実施の形態1において、変状検出装置の動作を説明するためのフローチャートである。5 is a flowchart for explaining the operation of the deformation detection device in the first embodiment. 実施の形態1において、画像変換部が変換後可視画像を生成する動作を説明するための図である。In Embodiment 1, it is a figure for demonstrating the operation | movement which an image conversion part produces | generates a visible image after conversion. 実施の形態1において、画像変換部が変換後可視画像を生成する動作を説明するための図である。In Embodiment 1, it is a figure for demonstrating the operation | movement which an image conversion part produces | generates a visible image after conversion. 実施の形態1において、候補矩形統合部が、変状候補矩形の領域を統合する動作を具体的に説明するための図である。In Embodiment 1, it is a figure for demonstrating concretely the operation | movement which a candidate rectangle integration part integrates the area | region of a deformation | transformation candidate rectangle. 実施の形態1において、候補輪郭判定部によるステップST207の動作を詳細に説明するフローチャートである。9 is a flowchart for explaining in detail the operation of step ST207 by the candidate contour determination unit in the first embodiment. 実施の形態1において、候補輪郭判定部が、変状候補領域の輪郭ブロックについて、漏水によって変状した変状矩形であるかどうかの判定を行う動作を説明するための図である。In Embodiment 1, it is a figure for demonstrating the operation | movement which a candidate outline determination part determines whether it is the deformation | transformation rectangle deformed by the water leak about the outline block of a deformation | transformation candidate area | region. 注目輪郭ブロック内の平均輝度値と各参照ブロック内の平均輝度値を、各矩形ブロック平均輝度順に並べた一例を示す図である。It is a figure which shows an example which arranged the average luminance value in an attention outline block, and the average luminance value in each reference block in order of each rectangular block average luminance. 注目輪郭ブロック内の平均輝度値と各参照ブロック内の平均輝度値を、各矩形ブロック平均輝度順に並べた他の一例を示す図である。It is a figure which shows another example which arranged the average luminance value in an attention outline block, and the average luminance value in each reference block in order of each rectangular block average luminance. 実施の形態1において、輪郭間距離判定部の動作の一例を説明するための図である。In Embodiment 1, it is a figure for demonstrating an example of operation | movement of the distance determination part between contours. 実施の形態1において、データ生成部の動作の一例を説明するための図である。FIG. 10 is a diagram for describing an example of an operation of a data generation unit in the first embodiment. 実施の形態1において、画像用データで示される画像の一例を説明するための図である。6 is a diagram for describing an example of an image indicated by image data in Embodiment 1. FIG. 図13A,図13Bは、実施の形態1に係る変状検出装置のハードウェア構成の一例を示す図である。13A and 13B are diagrams illustrating an example of a hardware configuration of the deformation detection apparatus according to Embodiment 1.

以下、この発明の実施の形態について、図面を参照しながら詳細に説明する。
実施の形態1.
変状検出装置10は、対象物の表面を撮影した可視画像に基づき、対象物の表面における変状領域を検出する。実施の形態1では、一例として、対象物をコンクリート製のトンネルの内壁、対象物の表面をトンネルの内壁の表面とする。以下の説明では、「トンネルの内壁」とは、「トンネルの内壁の表面」を意味するものとする。また、実施の形態1では、変状検出装置10は、トンネルの内壁における漏水領域を変状領域として検出するものとする。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
Embodiment 1 FIG.
The deformation detection device 10 detects a deformation region on the surface of the object based on a visible image obtained by photographing the surface of the object. In the first embodiment, as an example, the object is the inner wall of a concrete tunnel, and the surface of the object is the surface of the inner wall of the tunnel. In the following description, “the inner wall of the tunnel” means “the surface of the inner wall of the tunnel”. Moreover, in Embodiment 1, the deformation detection apparatus 10 shall detect the water leakage area | region in the inner wall of a tunnel as a deformation | transformation area | region.

図1は、実施の形態1に係る変状検出装置10の構成の一例を示す図である。
図1に示すように、変状検出装置10は、画像処理部1と、可視画像生成部2と、データ記録部3と、データ出力部4と、画像出力部5とを備える。
可視画像生成部2は、カメラ(図1では図示省略)から、トンネルの内壁が撮像された複数枚の撮影画像を取得し、一枚に統合して、可視画像を生成する。
具体的には、ユーザが、トンネル内において、トンネルの内壁をカメラによって撮影する。この際、ユーザは、トンネルの内壁を複数回に分けて撮影する。可視画像生成部2は、カメラから、ユーザによって撮影された複数枚の撮影画像を取得し、取得した複数枚の撮影画像について、画像同士の位置合わせ、または、歪み補正等を実施して、当該複数枚の撮影画像を統合し、トンネルの内壁を撮影した1枚の可視画像とする。このとき、可視画像生成部2は、可視画像を、256階調のグレイスケール画像として生成する。なお、可視画像におけるトンネルの内壁の範囲が広い場合、可視画像生成部2は、例えば、「スパン」と呼ばれる10m×10m程度の覆工コンクリート単位毎に1つの可視画像を生成する。
可視画像生成部2は、可視画像を画像処理部1に出力する。
FIG. 1 is a diagram illustrating an example of a configuration of a deformation detection apparatus 10 according to the first embodiment.
As shown in FIG. 1, the deformation detection device 10 includes an image processing unit 1, a visible image generation unit 2, a data recording unit 3, a data output unit 4, and an image output unit 5.
The visible image generation unit 2 acquires a plurality of captured images obtained by capturing the inner wall of the tunnel from a camera (not shown in FIG. 1) and integrates them into a single image to generate a visible image.
Specifically, the user photographs the inner wall of the tunnel with a camera in the tunnel. At this time, the user shoots the inner wall of the tunnel in a plurality of times. The visible image generation unit 2 acquires a plurality of captured images captured by the user from the camera, performs alignment between images or distortion correction on the acquired plurality of captured images, and A plurality of photographed images are integrated into one visible image obtained by photographing the inner wall of the tunnel. At this time, the visible image generation unit 2 generates a visible image as a grayscale image having 256 gradations. When the range of the inner wall of the tunnel in the visible image is wide, the visible image generating unit 2 generates one visible image for each lining concrete unit of about 10 m × 10 m called “span”, for example.
The visible image generation unit 2 outputs the visible image to the image processing unit 1.

画像処理部1は、可視画像生成部2から出力された可視画像に基づき、トンネルの内壁の漏水領域(以下「変状領域」という。)を検出する。
画像処理部1は、画像変換部101と、背景輝度値算出部102と、候補矩形判定部103と、候補矩形統合部104と、候補輪郭抽出部105と、候補輪郭判定部106と、輪郭間距離判定部107と、領域統合部108と、データ生成部109と、画像生成部110とを有する。候補矩形判定部103は、矩形設定部1031を有する。
画像変換部101は、可視画像生成部2から出力された可視画像について、輝度値の分布(以下「輝度分布」という。)を求める。そして、画像変換部101は、求めた輝度分布に基づき、可視画像の輝度の変換を行い、変換後可視画像を生成する。画像変換部101は、生成した変換後可視画像を背景輝度値算出部102および候補矩形判定部103に出力する。
背景輝度値算出部102は、画像変換部101から出力された変換後可視画像の背景輝度値を算出する。具体的には、背景輝度値算出部102は、変換後可視画像について、輝度値のヒストグラムを作成し、最大画素数となる輝度値を背景輝度値とする。背景輝度値算出部102は、背景輝度値の情報を候補矩形判定部103に出力する。
The image processing unit 1 detects a water leakage region (hereinafter referred to as “deformed region”) on the inner wall of the tunnel based on the visible image output from the visible image generation unit 2.
The image processing unit 1 includes an image conversion unit 101, a background luminance value calculation unit 102, a candidate rectangle determination unit 103, a candidate rectangle integration unit 104, a candidate contour extraction unit 105, a candidate contour determination unit 106, The distance determination unit 107, the region integration unit 108, the data generation unit 109, and the image generation unit 110 are included. The candidate rectangle determination unit 103 includes a rectangle setting unit 1031.
The image conversion unit 101 obtains a luminance value distribution (hereinafter referred to as “luminance distribution”) for the visible image output from the visible image generation unit 2. Then, the image conversion unit 101 converts the luminance of the visible image based on the calculated luminance distribution, and generates a converted visible image. The image conversion unit 101 outputs the generated converted visible image to the background luminance value calculation unit 102 and the candidate rectangle determination unit 103.
The background luminance value calculation unit 102 calculates the background luminance value of the converted visible image output from the image conversion unit 101. Specifically, the background luminance value calculation unit 102 creates a luminance value histogram for the converted visible image, and sets the luminance value that is the maximum number of pixels as the background luminance value. The background luminance value calculation unit 102 outputs background luminance value information to the candidate rectangle determination unit 103.

候補矩形判定部103は、画像変換部101から出力された変換後可視画像と、背景輝度値算出部102から出力された背景輝度値とに基づき、変状領域を形成する変状矩形の候補となる変状候補矩形を判定する。
具体的には、まず、候補矩形判定部103の矩形設定部1031は、変換後可視画像を分割する複数の矩形ブロックを設定する。
そして、候補矩形判定部103は、背景輝度値算出部102が算出した変換後可視画像の背景輝度値と、矩形設定部1031が設定した各矩形ブロック内の平均輝度値に基づき、複数の矩形ブロックのうち、変状候補矩形となる矩形ブロックを判定する。具体的には、漏水領域を変状領域とする場合、候補矩形判定部103は、矩形ブロック内の平均輝度値が、変状領域を判定するための閾値(以下「第1の閾値」という。)より小さい場合に、当該矩形ブロックを、変状候補矩形と判定する。
The candidate rectangle determination unit 103 is based on the converted visible image output from the image conversion unit 101 and the background luminance value output from the background luminance value calculation unit 102, and a deformed rectangle candidate that forms a deformed region. The deformation candidate rectangle is determined.
Specifically, first, the rectangle setting unit 1031 of the candidate rectangle determination unit 103 sets a plurality of rectangular blocks that divide the converted visible image.
The candidate rectangle determination unit 103 then uses a plurality of rectangular blocks based on the background luminance value of the converted visible image calculated by the background luminance value calculation unit 102 and the average luminance value in each rectangular block set by the rectangle setting unit 1031. Among them, a rectangular block that is a deformation candidate rectangle is determined. Specifically, when the water leakage area is a deformed area, the candidate rectangle determination unit 103 uses the average luminance value in the rectangular block as a threshold for determining the deformed area (hereinafter referred to as “first threshold”). If it is smaller than (), the rectangular block is determined as a deformable candidate rectangle.

なお、矩形設定部1031は、カメラがトンネルの内壁を撮影した撮影画像の撮影解像度に応じて、矩形ブロックの矩形の大きさを可変とする。例えば、撮影解像度が1画素あたり0.25mmの場合、矩形設定部1031は、1ブロックを8画素×8ラインとしてブロック分けし、撮影解像度が1画素あたり0.5mmの場合、矩形設定部1031は、1ブロックを4画素×4ラインとしてブロック分けする等である。矩形設定部1031は、撮影解像度の情報を、カメラから取得するようにすればよい。
矩形ブロックの矩形の大きさを、撮影画像の撮影解像度に応じて可変とすることで、実際の単位面積当たりの領域に割り当てるブロックの大きさを最適にすることができる。
一方、矩形ブロックのサイズを大きく取ることにより、変状の特徴である輝度勾配または分散の大きなブロックの個数が、変状領域と判定される判定条件を満たさないケースも発生する。そのため、サイズを小さく取ることで、変状領域の判定の精度を高めることもできる。
候補矩形判定部103は、変状候補矩形の情報を、候補矩形統合部104に出力する。
Note that the rectangle setting unit 1031 changes the size of the rectangle of the rectangle block in accordance with the shooting resolution of the shot image obtained by shooting the inner wall of the tunnel by the camera. For example, when the shooting resolution is 0.25 mm per pixel, the rectangular setting unit 1031 divides one block into 8 pixels × 8 lines, and when the shooting resolution is 0.5 mm per pixel, the rectangular setting unit 1031 For example, one block is divided into 4 pixels × 4 lines. The rectangle setting unit 1031 may acquire information on the shooting resolution from the camera.
By making the rectangular size of the rectangular block variable according to the imaging resolution of the captured image, the size of the block allocated to the actual area per unit area can be optimized.
On the other hand, by increasing the size of the rectangular block, there may be a case where the number of blocks having a large luminance gradient or variance, which is a characteristic of deformation, does not satisfy the determination condition for determining a deformed area. Therefore, the accuracy of determination of the deformed region can be increased by reducing the size.
The candidate rectangle determination unit 103 outputs information on the deformed candidate rectangle to the candidate rectangle integration unit 104.

候補矩形統合部104は、候補矩形判定部103から出力された変状候補矩形の情報に基づき、互いに隣接する複数の変状候補矩形の領域を1つの領域として統合し、統合した領域を、変状領域の候補となる変状候補領域と設定する。候補矩形統合部104は、変状候補領域の情報を、候補輪郭抽出部105に出力する。   The candidate rectangle integration unit 104 integrates a plurality of adjacent modification candidate rectangle regions as one region based on the information on the modification candidate rectangle output from the candidate rectangle determination unit 103, and converts the integrated region into a transformation region. It is set as a deformation candidate area that is a candidate for the shape area. The candidate rectangle integration unit 104 outputs information on the deformation candidate area to the candidate contour extraction unit 105.

候補輪郭抽出部105は、候補矩形統合部104から出力された変状候補領域の情報に基づき、変状候補領域の輪郭ブロックを抽出する。
実施の形態1において、領域の輪郭とは領域の外周をいい、当該領域の輪郭を形成する変状候補矩形を輪郭ブロックという。実施の形態1において、領域の輪郭を形成する輪郭ブロックとは、矩形ブロックが有する4辺のうち、少なくとも1辺が、領域の輪郭を形成している矩形ブロックである。
このとき、候補輪郭抽出部105は、変状候補領域の輪郭ブロックに、輪郭ラベルを付与する。
候補輪郭抽出部105は、抽出した、変状候補領域の輪郭ブロックの情報と、変状候補領域の輪郭ブロックに付与された輪郭ラベルの情報とを、変状候補輪郭情報として、変状候補領域および変状候補矩形の情報に付与し、候補輪郭判定部106に出力する。
The candidate contour extraction unit 105 extracts the contour block of the deformation candidate region based on the information on the deformation candidate region output from the candidate rectangle integration unit 104.
In the first embodiment, the outline of a region refers to the outer periphery of the region, and a deformed candidate rectangle that forms the contour of the region is referred to as a contour block. In Embodiment 1, the outline block that forms the outline of the area is a rectangular block in which at least one of the four sides of the rectangular block forms the outline of the area.
At this time, the candidate contour extraction unit 105 gives a contour label to the contour block of the deformation candidate region.
The candidate contour extraction unit 105 uses the extracted contour block information of the deformation candidate region and the information of the contour label attached to the contour block of the deformation candidate region as the deformation candidate contour information. The information is added to the information on the deformation candidate rectangle and output to the candidate contour determination unit 106.

候補輪郭判定部106は、候補輪郭抽出部105から出力された変状候補輪郭情報に基づき、変状候補領域の再判定を行う。具体的には、候補輪郭判定部106は、変状候補領域の輪郭ブロックについて、当該輪郭ブロックの周囲の各矩形ブロックの輝度の特徴量に基づき、当該輪郭ブロックが変状矩形であるかどうかの判定を行う。特徴量の詳細については後述する。
候補輪郭判定部106は、変状矩形であると判定した輪郭ブロックで囲まれた領域を変状領域と確定する。また、候補輪郭判定部106は、変状領域を形成する変状候補矩形を、変状矩形と確定する。このとき、候補輪郭判定部106は、変状矩形であると確定した輪郭ブロックに、輪郭ラベルを再付与する。
候補輪郭判定部106は、変状領域の輪郭ブロックの情報と、変状領域の輪郭ブロックに付与された輪郭ラベルの情報とを、判定後変状輪郭情報として、変状領域および変状矩形の情報に付与し、輪郭間距離判定部107に出力する。
The candidate contour determination unit 106 performs redetermination of the deformation candidate region based on the deformation candidate contour information output from the candidate contour extraction unit 105. Specifically, the candidate contour determination unit 106 determines whether the contour block is a deformed rectangle based on the luminance feature amount of each rectangular block around the contour block for the contour block of the deformed candidate region. Make a decision. Details of the feature amount will be described later.
The candidate contour determination unit 106 determines the region surrounded by the contour block determined to be a deformed rectangle as the deformed region. Further, the candidate contour determination unit 106 determines the deformed candidate rectangle forming the deformed region as the deformed rectangle. At this time, the candidate contour determination unit 106 reassigns the contour label to the contour block determined to be a deformed rectangle.
The candidate contour determination unit 106 uses the information of the contour block of the deformed region and the information of the contour label attached to the contour block of the deformed region as post-determination deformed contour information, and displays the deformed region and the deformed rectangle. It is added to the information and output to the inter-contour distance determination unit 107.

輪郭間距離判定部107は、候補輪郭判定部106から出力された判定後変状輪郭情報に基づき、変状領域のうちの2つの変状領域間の最短距離を求め、求めた最短距離と閾値(以下「第2の閾値」という。)とに基づき、当該2つの変状領域を統合するか否かの判定を行う。
輪郭間距離判定部107は、統合すると判定した変状領域に統合フラグを付与し、統合フラグを付与した変状領域の情報を、判定後変状輪郭情報および変状矩形の情報とともに、領域統合部108に出力する。
The inter-contour distance determining unit 107 calculates the shortest distance between two deformed regions of the deformed regions based on the post-determination deformed contour information output from the candidate contour determining unit 106, and calculates the shortest distance and the threshold value. (Hereinafter, referred to as “second threshold value”), it is determined whether or not the two deformed regions are to be integrated.
The inter-contour distance determination unit 107 assigns an integration flag to the deformed region determined to be integrated, and integrates the information of the deformed region to which the integration flag is added together with the post-determination deformed contour information and the deformed rectangle information. Output to the unit 108.

領域統合部108は、輪郭間距離判定部107から出力された変状領域の情報に基づき、統合フラグが付与されている変状領域を統合して統合後変状領域とし、変状領域の輪郭ブロックに付与されている輪郭ラベルの再付与を行う。
領域統合部108は、統合後変状領域の情報、当該統合後変状領域に含まれる変状矩形の情報、輪郭ブロックの情報、および、輪郭ラベルの情報を、データ生成部109および画像生成部110に出力する。
The region integration unit 108 integrates the deformed regions to which the integration flag is assigned based on the information on the deformed region output from the inter-contour distance determination unit 107 to obtain a post-integrated deformed region. Re-assign the contour label given to the block.
The region integration unit 108 includes information on the post-integration deformed region, information on the deformed rectangle included in the post-integration deformed region, information on the contour block, and information on the contour label. The data generation unit 109 and the image generation unit To 110.

データ生成部109は、領域統合部108から出力された統合後変状領域の情報、変状矩形の情報、輪郭ブロックの情報、および、輪郭ラベルの情報に基づき、変状データを生成する。変状データとは、具体的には、例えば、統合後変状領域の輪郭および当該輪郭に付与されたラベルの情報、および、統合後変状領域の位置情報等を含むデータである。データ生成部109は、変状データを、データ出力部4に出力する。   The data generation unit 109 generates deformation data based on the post-integration deformed region information, deformed rectangle information, contour block information, and contour label information output from the region integration unit 108. Specifically, the deformation data is data including, for example, the outline of the post-integration deformed area and the label information attached to the outline, the position information of the post-integration deformed area, and the like. The data generation unit 109 outputs the deformed data to the data output unit 4.

画像生成部110は、領域統合部108から出力された統合後変状領域の情報、変状矩形の情報、輪郭ブロックの情報、および、輪郭ラベルの情報に基づき、変状領域に関する情報を画像として表示させるための画像用データを生成する。
画像生成部110は、画像用データを、画像出力部5に出力する。
The image generation unit 110 uses, as an image, information related to the deformed area based on the post-integrated deformed area information, deformed rectangle information, contour block information, and contour label information output from the area integrating unit 108. Image data for display is generated.
The image generation unit 110 outputs the image data to the image output unit 5.

データ記録部3は、可視画像生成部2から出力された可視画像を記録する。また、データ記録部3は、画像処理部1において生成され、変状領域の判定に用いられる変換後可視画像等、画像処理部1の処理で用いられるデータおよび画像処理部1の処理において出力される中間データを記録する。また、データ記録部3は、画像処理部1が変状領域を検出し、最終結果として出力する、変状データ、および、画像用データを記録する。
なお、この実施の形態1では、データ記録部3は、変状検出装置10が備えるものとしているが、これに限らず、データ記録部3は、変状検出装置10の外部の、変状検出装置10が参照可能な場所に備えられるものとしてもよい。
The data recording unit 3 records the visible image output from the visible image generating unit 2. In addition, the data recording unit 3 is generated in the image processing unit 1 and output in the processing of the image processing unit 1 and the data used in the processing of the image processing unit 1 such as the converted visible image used for the determination of the deformed area. Record intermediate data. The data recording unit 3 records the deformation data and the image data that the image processing unit 1 detects the deformation region and outputs as a final result.
In the first embodiment, the data recording unit 3 is provided in the deformation detection device 10. However, the data recording unit 3 is not limited to this, and the data recording unit 3 is configured to detect the deformation outside the deformation detection device 10. It is good also as a thing provided in the place where the apparatus 10 can be referred.

データ出力部4は、画像処理部1のデータ生成部109から出力された変状データを外部の記録装置等(図示省略)に出力する。データ出力部4は、変状データを、データ記録部3に記録させるようにしてもよい。
画像出力部5は、画像処理部1の画像生成部110から出力された画像データを、外部の表示装置等(図示省略)に出力する。画像出力部5は、画像用データを、データ記録部3に記録させるようにしてもよい。
The data output unit 4 outputs the deformation data output from the data generation unit 109 of the image processing unit 1 to an external recording device or the like (not shown). The data output unit 4 may cause the data recording unit 3 to record the deformation data.
The image output unit 5 outputs the image data output from the image generation unit 110 of the image processing unit 1 to an external display device or the like (not shown). The image output unit 5 may cause the data recording unit 3 to record image data.

次に、実施の形態1の変状検出装置10の動作について説明する。
図2は、実施の形態1において、変状検出装置10の動作を説明するためのフローチャートである。
Next, the operation of the deformation detection apparatus 10 according to the first embodiment will be described.
FIG. 2 is a flowchart for explaining the operation of the deformation detection apparatus 10 in the first embodiment.

可視画像生成部2は、カメラから、トンネルの内壁が撮像された複数枚の撮影画像を取得し、一枚に統合して、可視画像を生成する(ステップST201)。このとき、可視画像生成部2は、可視画像を、256階調のグレイスケール画像とする。
可視画像生成部2は、可視画像を画像処理部1に出力する。
The visible image generation unit 2 acquires a plurality of captured images obtained by capturing the inner wall of the tunnel from the camera, integrates them into one image, and generates a visible image (step ST201). At this time, the visible image generation unit 2 sets the visible image as a grayscale image having 256 gradations.
The visible image generation unit 2 outputs the visible image to the image processing unit 1.

画像処理部1の画像変換部101は、ステップST201において可視画像生成部2から出力された可視画像における輝度を変換して、変換後可視画像を生成する(ステップST202)。
ここで、図3および図4は、実施の形態1において、画像変換部101が変換後可視画像を生成する動作を説明するための図である。
まず、画像変換部101は、可視画像生成部2から出力された可視画像について、輝度レベルの変換を行う。具体的には、画像変換部101は、可視画像について、可視画像上の水平方向に並んだ画素のライン単位に平均輝度値を求め、当該平均輝度値が256階調の中間レベルの輝度値である128となるように可視画像内の輝度値をシフトする補正を行う。これにより、画像変換部101は、撮影光源とトンネルの内壁との関係において、垂直方向の輝度値のムラを軽減する。
図4Aは、可視画像生成部2から出力された可視画像の一例を示す図であり、図3Aは、図4Aに示すような可視画像の輝度値のヒストグラムを示す図である。なお、図3において、横軸は輝度値を示し、縦軸は各輝度値における画素の個数を示している。
画像変換部101が、可視画像に対して、ライン単位の平均輝度値を128とした補正を行うと、補正後の可視画像は、図4Bに示すような画像となる。また、図4Bに示すような、補正後の可視画像の輝度値のヒストグラムは、図3Bに示すようになる。
The image conversion unit 101 of the image processing unit 1 converts the luminance in the visible image output from the visible image generation unit 2 in step ST201, and generates a converted visible image (step ST202).
Here, FIG. 3 and FIG. 4 are diagrams for describing an operation in which the image conversion unit 101 generates a converted visible image in the first embodiment.
First, the image conversion unit 101 converts the luminance level of the visible image output from the visible image generation unit 2. Specifically, the image conversion unit 101 obtains an average luminance value for each line of pixels arranged in the horizontal direction on the visible image, and the average luminance value is an intermediate level luminance value of 256 gradations. Correction is performed to shift the luminance value in the visible image so as to be 128. As a result, the image conversion unit 101 reduces unevenness in the luminance value in the vertical direction in the relationship between the imaging light source and the inner wall of the tunnel.
4A is a diagram illustrating an example of a visible image output from the visible image generation unit 2, and FIG. 3A is a diagram illustrating a histogram of luminance values of the visible image as illustrated in FIG. 4A. In FIG. 3, the horizontal axis indicates the luminance value, and the vertical axis indicates the number of pixels at each luminance value.
When the image conversion unit 101 corrects the visible image with the average luminance value in line units set to 128, the corrected visible image becomes an image as shown in FIG. 4B. Moreover, the histogram of the luminance value of the visible image after correction as shown in FIG. 4B is as shown in FIG. 3B.

続いて、画像変換部101は、可視画像について、補正後の可視画像に対しての、画素データの輝度値から、累積ヒストグラムを求め、当該累積ヒストグラムの累積度数のグラフの傾きが一定となるよう、可視画像の輝度値を変換し、変換後可視画像を生成する。
累積ヒストグラムとは、図3Bのヒストグラムに関し、最初の輝度値0から輝度値ごとの画素数を累積したものである。画像変換部101は、当該累積ヒストグラムの累積画素数のグラフの傾きが一定となるように、可視画像の輝度値を変換する。
具体的には、画像変換部101は、以下の変換式を用いて、可視画像の輝度値を変換する。

x’=INT((hist(x)−xmin)×(L−1)/(1−xmin))
x’:変換後の輝度値
hist(x):変換前輝度値xに対する累積画素数÷補正後の可視画像の総画素数
xmin:hist(x)の最小値
L:階調数(=256)
INT():整数化関数

図4Cは、画像変換部101が可視画像の輝度値を変換した変換後可視画像を示す図であり、図3Cは、図4Cに示すような変換後可視画像のヒストグラムを示す図である。
このように、累積ヒストグラムの累積度数のグラフの傾きが一定となるよう、可視画像の輝度値を変換し、変換後可視画像とする処理は、照明条件、または、トンネル内壁とカメラとの位置関係等によって、撮影画像の輝度値の濃淡が相違してくることによる影響を取り除き、画像の全体的なバランスを改善するために行う。
画像変換部101は、生成した変換後可視画像を背景輝度値算出部102および候補矩形判定部103に出力する。
Subsequently, the image conversion unit 101 obtains a cumulative histogram from the luminance value of the pixel data for the visible image after correction with respect to the visible image so that the slope of the cumulative frequency graph of the cumulative histogram becomes constant. The luminance value of the visible image is converted, and the converted visible image is generated.
The cumulative histogram is obtained by accumulating the number of pixels for each luminance value from the initial luminance value 0 with respect to the histogram of FIG. 3B. The image conversion unit 101 converts the luminance value of the visible image so that the slope of the cumulative pixel count graph of the cumulative histogram is constant.
Specifically, the image conversion unit 101 converts the luminance value of the visible image using the following conversion formula.

x ′ = INT ((hist (x) −xmin) × (L−1) / (1−xmin))
x ′: luminance value after conversion hist (x): cumulative number of pixels with respect to luminance value x before conversion ÷ total number of pixels of visible image after correction xmin: minimum value of hist (x) L: number of gradations (= 256)
INT (): integerization function

FIG. 4C is a diagram illustrating a converted visible image obtained by converting the luminance value of the visible image by the image conversion unit 101, and FIG. 3C is a diagram illustrating a histogram of the converted visible image as illustrated in FIG. 4C.
As described above, the luminance value of the visible image is converted so that the slope of the cumulative frequency graph of the cumulative histogram is constant, and the converted visible image is processed by the illumination condition or the positional relationship between the tunnel inner wall and the camera. This is performed in order to remove the influence of the difference in the brightness value of the photographed image and improve the overall balance of the image.
The image conversion unit 101 outputs the generated converted visible image to the background luminance value calculation unit 102 and the candidate rectangle determination unit 103.

背景輝度値算出部102は、ステップST202において画像変換部101から出力された変換後可視画像の背景輝度値を算出する(ステップST203)。具体的には、背景輝度値算出部102は、変換後可視画像の輝度値のヒストグラムを作成し、最大画素数となる輝度値を背景輝度値とする。背景輝度値算出部102は、背景輝度値の情報を候補矩形判定部103に出力する。   The background luminance value calculation unit 102 calculates the background luminance value of the converted visible image output from the image conversion unit 101 in step ST202 (step ST203). Specifically, the background luminance value calculation unit 102 creates a histogram of luminance values of the converted visible image, and sets the luminance value that is the maximum number of pixels as the background luminance value. The background luminance value calculation unit 102 outputs background luminance value information to the candidate rectangle determination unit 103.

候補矩形判定部103は、ステップST202において画像変換部101から出力された変換後可視画像と、ステップST203において背景輝度値算出部102から出力された背景輝度値とに基づき、変状領域を形成する変状矩形の候補となる変状候補矩形を判定する(ステップST204)。
具体的には、まず、候補矩形判定部103の矩形設定部1031は、変換後可視画像を分割して複数の矩形ブロックを設定する。
そして、候補矩形判定部103は、背景輝度値算出部102が算出した変換後可視画像の背景輝度値と、矩形設定部1031が設定した各矩形ブロック内の平均輝度値とに基づき、複数の矩形ブロックのうち、変状候補矩形となる矩形ブロックを判定する。具体的には、漏水領域を変状領域とする場合、候補矩形判定部103は、矩形ブロック内の平均輝度値が、第1の閾値より小さい場合に、当該矩形ブロックを、変状候補矩形と判定する。
候補矩形判定部103は、変状領域を判定するための第1の閾値を、例えば、背景輝度値からオフセット値を減算した値(背景輝度値−Thlow1)とする。オフセット値であるThlow1は、比較的、背景輝度値に近い値を設定するものとする。当該値は、予め、ユーザが設定しておくようにすればよい。
なお、候補矩形判定部103が変状候補矩形と判定する矩形ブロックには、漏水以外の、汚れまたは色むら等による変状も含まれ得る。漏水以外の変状によって変状候補矩形と判定された矩形ブロックは、後述する候補輪郭判定部106の処理において除外される。
候補矩形判定部103は、変状候補矩形の情報を、候補矩形統合部104に出力する。
Candidate rectangle determination unit 103 forms a deformed region based on the converted visible image output from image conversion unit 101 in step ST202 and the background luminance value output from background luminance value calculation unit 102 in step ST203. A deformation candidate rectangle that is a deformed rectangle candidate is determined (step ST204).
Specifically, first, the rectangle setting unit 1031 of the candidate rectangle determining unit 103 divides the converted visible image and sets a plurality of rectangular blocks.
The candidate rectangle determination unit 103 then uses a plurality of rectangles based on the background luminance value of the converted visible image calculated by the background luminance value calculation unit 102 and the average luminance value in each rectangular block set by the rectangle setting unit 1031. Among the blocks, a rectangular block that is a deformation candidate rectangle is determined. Specifically, when the leaked area is a deformed area, the candidate rectangle determining unit 103 determines that the rectangular block is a deformed candidate rectangle when the average luminance value in the rectangular block is smaller than the first threshold value. judge.
The candidate rectangle determination unit 103 sets, for example, a value obtained by subtracting the offset value from the background luminance value (background luminance value− Th low1 ) as the first threshold for determining the deformed region. An offset value Th low1 is set to a value relatively close to the background luminance value. The value may be set by the user in advance.
Note that the rectangular block that is determined by the candidate rectangle determination unit 103 as the deformed candidate rectangle may include deformation due to dirt or uneven color other than water leakage. A rectangular block that has been determined as a deformed candidate rectangle due to a deformation other than water leakage is excluded in the process of the candidate contour determination unit 106 described later.
The candidate rectangle determination unit 103 outputs information on the deformed candidate rectangle to the candidate rectangle integration unit 104.

候補矩形統合部104は、ステップST204において候補矩形判定部103から出力された変状候補矩形の情報に基づき、互いに隣接する複数の変状候補矩形の領域を1つの領域として統合し、統合した領域を、変状候補領域と設定する(ステップST205)。
ある1つの変状候補矩形について、当該1つの変状候補矩形と隣接する他の変状候補矩形が存在しない場合は、候補矩形統合部104は、当該1つの変状候補矩形を変状候補領域とする。すなわち、1つの変状候補領域は、1つ以上の変状候補矩形によって形成されることになる。
Candidate rectangle integration section 104 integrates a plurality of adjacent change candidate rectangle areas as one area based on the information of the change candidate rectangle output from candidate rectangle determination section 103 in step ST204, and integrates the areas. Is set as a deformation candidate region (step ST205).
If there is no other deformation candidate rectangle adjacent to the one deformation candidate rectangle for one certain deformation candidate rectangle, the candidate rectangle integration unit 104 converts the one deformation candidate rectangle into the deformation candidate area. And That is, one deformation candidate region is formed by one or more deformation candidate rectangles.

ここで、図5は、実施の形態1において、候補矩形統合部104が、変状候補矩形の領域を統合する動作を具体的に説明するための図である。
図5は、複数の矩形ブロックが設定された変換後可視画像上で変状候補矩形を示したイメージの一例を示している。
なお、図5において、変状候補矩形は、矩形ブロックを太枠で囲むことで表現している。
まず、候補矩形統合部104は、候補矩形判定部103によって変状候補矩形と判定された矩形ブロックのうち、1つの矩形ブロックを選択し、当該選択された矩形ブロック(以下「注目ブロック」という。図5では501で示す)の領域を、当該注目ブロックと隣接する8つの他の矩形ブロックのうち変状候補矩形と判定された矩形ブロックの領域と統合する。
Here, FIG. 5 is a diagram for specifically explaining the operation of the candidate rectangle integration unit 104 integrating regions of deformed candidate rectangles in the first embodiment.
FIG. 5 shows an example of an image showing a deformed candidate rectangle on the converted visible image in which a plurality of rectangular blocks are set.
In FIG. 5, the deformation candidate rectangle is expressed by surrounding a rectangular block with a thick frame.
First, the candidate rectangle integration unit 104 selects one rectangular block among the rectangular blocks determined as the deformed candidate rectangle by the candidate rectangle determination unit 103, and refers to the selected rectangular block (hereinafter referred to as “target block”). 5 is integrated with the area of the rectangular block determined as the deformed candidate rectangle among the eight other rectangular blocks adjacent to the target block.

例えば、図5において、注目ブロック501の位置を、Xi,jの座標であらわすとすると、候補矩形統合部104は、当該注目ブロック501の領域と、当該注目ブロック501と隣接する8つの矩形ブロック(Xi−1,j−1〜Xi+1,j+1)のうち、変状候補矩形と判定された矩形ブロック(Xi−1,j−1、Xi,j−1、Xi+1,j−1、Xi−1,j)の領域とを統合する。
さらに、候補矩形統合部104は、現在の注目ブロック501の領域と隣接する矩形ブロックの領域とを統合した領域と隣接する、すでに形成されている他の領域があれば、あわせて統合する。
例えば、図5において、すでに統合されている矩形ブロック群(図5において502で示す矩形ブロックの矩形ブロック群)の領域があるので、候補矩形統合部104は、当該矩形ブロック群の領域についても、あわせて統合する。
そして、候補矩形統合部104は、統合した領域を、変状候補領域とし、当該変状候補領域の情報を、候補輪郭抽出部105に出力する。
For example, in FIG. 5, if the position of the target block 501 is represented by the coordinates of X i, j , the candidate rectangle integration unit 104 includes the region of the target block 501 and eight rectangular blocks adjacent to the target block 501. Among the blocks (X i−1, j−1 to X i + 1, j + 1 ), the rectangular blocks (X i−1, j−1 , X i, j−1 , X i + 1, j− ) determined to be deformed candidate rectangles. 1 , X i−1, j ).
Further, the candidate rectangle integration unit 104 integrates other areas that have already been formed that are adjacent to the area obtained by integrating the area of the current block of interest 501 and the area of the adjacent rectangular block.
For example, in FIG. 5, since there is a region of a rectangular block group that has already been integrated (a rectangular block group of the rectangular block indicated by 502 in FIG. 5), the candidate rectangle integration unit 104 also performs the region of the rectangular block group, Integrate together.
Then, the candidate rectangle integration unit 104 sets the integrated region as a modification candidate region, and outputs information on the modification candidate region to the candidate contour extraction unit 105.

候補輪郭抽出部105は、ステップST205において候補矩形統合部104から出力された変状候補領域の情報に基づき、変状候補領域の輪郭を形成する輪郭ブロックを抽出する(ステップST206)。
このとき、候補輪郭抽出部105は、輪郭ブロックに、輪郭ラベルを付与する。
Candidate contour extraction section 105 extracts a contour block that forms the contour of the deformation candidate area based on the information of the deformation candidate area output from candidate rectangle integration section 104 in step ST205 (step ST206).
At this time, the candidate contour extraction unit 105 gives a contour label to the contour block.

例えば、変状候補領域が、図5に示すような内容であったとすると、候補輪郭抽出部105は、当該変状候補領域の輪郭ブロックとして、(Xi−1,j−4、Xi+1,j−4、Xi+2,j−4、Xi+2,j−3、Xi+2,j−2、Xi+2,j−1、Xi+1,j−1、Xi,j、Xi−1,j、Xi−2,j−1、Xi−3,j、Xi−3,j+1、Xi−2,j+2、Xi−4,j+1、Xi−5,j、Xi−4,j−1、Xi−5,j−2、Xi−6,j−2、Xi−6,j−3、Xi−5,j−3、Xi−4,j−2、Xi−3,j−2、Xi−2,j−2、Xi−1,j−2、Xi,j−3)の変状候補矩形を抽出し、抽出した輪郭ブロックに、輪郭ラベルを付与する。
なお、候補輪郭抽出部105は、変状候補領域が複数ある場合は、変状候補領域毎に、それぞれ異なる輪郭ラベルを付与する。
候補輪郭抽出部105は、抽出した、変状候補領域の輪郭ブロックの情報と、変状候補領域の輪郭ブロックに付与された輪郭ラベルの情報とを、変状候補輪郭情報として、変状候補領域および変状候補矩形の情報に付与し、候補輪郭判定部106に出力する。
For example, if the deformation candidate area has the contents as shown in FIG. 5, the candidate contour extraction unit 105 uses (X i−1, j−4 , X i + 1, X i, j-4 , Xi + 2, j-4 , Xi + 2, j-3 , Xi + 2, j-2 , Xi + 2, j-1 , Xi + 1, j-1 , Xi , j , Xi -1, j , X i-2, j-1 , X i-3, j , X i-3, j + 1 , X i-2, j + 2 , X i-4, j + 1 , X i-5, j , X i-4, j-1 , Xi -5, j-2 , Xi -6, j-2 , Xi -6, j-3 , Xi -5, j-3 , Xi -4, j-2 , X i-3, j-2 , Xi -2, j-2 , Xi -1, j-2 , Xi , j-3 ) are extracted, and a contour label is extracted to the extracted contour block. Is granted.
Note that, when there are a plurality of deformation candidate areas, the candidate contour extraction unit 105 assigns different contour labels to the respective deformation candidate areas.
The candidate contour extraction unit 105 uses the extracted contour block information of the deformation candidate region and the information of the contour label attached to the contour block of the deformation candidate region as the deformation candidate contour information. The information is added to the information on the deformation candidate rectangle and output to the candidate contour determination unit 106.

候補輪郭判定部106は、ステップST206において候補輪郭抽出部105から出力された変状候補輪郭情報に基づき、変状候補領域の再判定を行う(ステップST207)。具体的には、候補輪郭判定部106は、変状候補領域の輪郭ブロックについて、当該輪郭ブロックの周囲の各矩形ブロック内の輝度の特徴量に基づき、当該輪郭ブロックが、漏水によって変状した変状領域を形成する変状矩形であるかどうかの判定を行う。ステップST207における、候補輪郭判定部106による変状候補領域の再判定処理は、漏水以外の変状による変状候補矩形を変状候補領域から除外し、漏水によって変状した変状領域および当該変状領域に含まれる変状矩形を確定することを目的としている。   Candidate contour determination unit 106 performs re-determination of the deformation candidate region based on the deformation candidate contour information output from candidate contour extraction unit 105 in step ST206 (step ST207). Specifically, the candidate contour determination unit 106 determines, with respect to the contour block of the deformation candidate area, the contour block that has been deformed due to water leakage based on the luminance feature amount in each rectangular block around the contour block. It is determined whether or not it is a deformed rectangle that forms a shape area. In step ST207, the candidate change determination area 106 performs the redetermination process for the candidate deformation area by excluding the candidate deformation rectangle due to a change other than leakage from the candidate deformation area, and the change area that has changed due to water leakage and the change area. The purpose is to determine the deformed rectangle included in the shape area.

ここで、図6は、実施の形態1において、候補輪郭判定部106によるステップST207の動作を詳細に説明するフローチャートである。
候補輪郭判定部106は、複数の輪郭ブロックのうち、1つの輪郭ブロックを選択し、当該選択された輪郭ブロック(以下「注目輪郭ブロック」という。)の周辺に存在する24の矩形ブロック(以下「参照ブロック」という。)について、各参照ブロック内の平均輝度値、および、輝度値の分散の値(以下「分散値」という。)を算出する(ステップST601)。
図7は、実施の形態1において、候補輪郭判定部106が、変状候補領域の輪郭ブロックについて、漏水によって変状した変状矩形であるかどうかの判定を行う動作を説明するための図である。図7では、複数の矩形ブロックが設定された変換後可視画像上で、例えば、図5で示したような変状候補領域が判定され、判定された変状候補領域の輪郭ブロックには輪郭ラベル「1」が付与されているイメージを示している。
Here, FIG. 6 is a flowchart for explaining in detail the operation of step ST207 by the candidate contour determination unit 106 in the first embodiment.
The candidate contour determination unit 106 selects one contour block from among the plurality of contour blocks, and 24 rectangular blocks (hereinafter referred to as “target contour blocks”) around the selected contour block (hereinafter referred to as “target contour block”). For the reference block, the average luminance value in each reference block and the value of the variance of the luminance value (hereinafter referred to as “dispersion value”) are calculated (step ST601).
FIG. 7 is a diagram for explaining an operation in which the candidate contour determination unit 106 determines whether or not the contour block of the deformed candidate region is a deformed rectangle deformed due to water leakage in the first embodiment. is there. In FIG. 7, for example, a deformation candidate area as illustrated in FIG. 5 is determined on the converted visible image in which a plurality of rectangular blocks are set, and a contour label is included in the contour block of the determined deformation candidate area. An image to which “1” is assigned is shown.

まず、候補輪郭判定部106は、ステップST601において、輪郭ラベル「1」が付与された輪郭ブロックである注目輪郭ブロック501(Xi,j)の周辺に存在する24の矩形ブロック(Xi−2,j−2〜Xi+2,j+2)を参照ブロックとし、各参照ブロック内の平均輝度値および分散値を算出する。First, in step ST601, the candidate contour determination unit 106 includes 24 rectangular blocks (X i−2 ) existing around the target contour block 501 (X i, j ) that is a contour block to which the contour label “1” is assigned. , J−2 to X i + 2, j + 2 ) as reference blocks, the average luminance value and the variance value in each reference block are calculated.

次に、候補輪郭判定部106は、以下の設定条件(1)および(2)にあてはまる参照ブロックの個数をそれぞれ算出する(ステップST602)。
(1)参照ブロックの平均輝度値<背景輝度値−Thlow2(Thlow2<Thlow1
(2)参照ブロックの分散値>背景分散値+Thvariance

なお、Thlow2は、背景輝度値とThlow1の中間の値とする。例えば、背景輝度値が128、Thlow1が86とすると、Thlow2は68、または、50等とする。
また、背景分散値は、変換後可視画像の全矩形ブロックの分散値のヒストグラムにて、設定された範囲を単位として区切った場合に、当該区切られた範囲の分散値を有する矩形ブロックの数が最大となる範囲の中間値とする。例えば、変換後可視化像の全矩形ブロックに対する分散値のヒストグラムにて、設定された範囲を50とすると、分散値200〜249を有する矩形ブロックの数が最大となった場合、背景分散値を255とする。
また、Thvarianceは、いくつかの可視画像のサンプルの背景領域に該当する矩形ブロックの分散値に基づき予め設定されている。
Next, candidate contour determination section 106 calculates the number of reference blocks that satisfy the following setting conditions (1) and (2) (step ST602).
(1) Average luminance value of the reference block <background luminance value -Th low2 (Th low2 <Th low1 )
(2) variance value of the reference block> background variance + Th variance

Th low2 is an intermediate value between the background luminance value and Th low1 . For example, if the background luminance value is 128 and Th low1 is 86, Th low2 is 68, 50, or the like.
The background variance value is the number of rectangular blocks having a variance value in the divided range when the set range is divided as a unit in the histogram of variance values of all rectangular blocks in the converted visible image. The intermediate value of the maximum range. For example, if the set range is 50 in the histogram of variance values for all rectangular blocks in the converted visualized image, the background variance value is 255 when the number of rectangular blocks having variance values 200 to 249 is maximized. And
Also, Th variance is previously set based on the variance value of the rectangular block corresponding to the background area of a sample of some of the visible image.

候補輪郭判定部106は、ステップST602で算出した参照ブロックの個数が、以下の判定条件(3)および(4)を満たすかどうかを判定する(ステップST603)。

(3)上記(1)の設定条件にあてはまる参照ブロックの個数≦Thbinarize1
(4)上記(2)の設定条件にあてはまる参照ブロックの個数>Thbinarize2

ここでは、例えば、Thbinarize1=8、Thbinarize2=8とする。なお、Thbinarize1およびThbinarize2の値は適宜設定可能とする。
Candidate contour determination section 106 determines whether or not the number of reference blocks calculated in step ST602 satisfies the following determination conditions (3) and (4) (step ST603).

(3) Number of reference blocks satisfying the setting condition of (1) ≦ Th binarize1
(4) Number of reference blocks satisfying the setting condition of (2)> Th binarize2

Here, for example, Th binarize1 = 8 and Th binarize2 = 8. Note that the values of Th binarize1 and Th binarize2 can be set as appropriate.

ここで、図8および図9は、注目輪郭ブロック内の平均輝度値と各参照ブロック内の平均輝度値を、各矩形ブロック平均輝度順に並べた一例を示す図である。
図8に示すような場合、上記の設定条件(3)を満たす。図9に示すような場合、上記の設定条件(3)を満たさない。
Here, FIG. 8 and FIG. 9 are diagrams illustrating an example in which the average luminance value in the target contour block and the average luminance value in each reference block are arranged in the order of the rectangular block average luminance.
In the case as shown in FIG. 8, the above setting condition (3) is satisfied. In the case shown in FIG. 9, the setting condition (3) is not satisfied.

ステップST603において、(3)および(4)の両方の設定条件を満たす場合(ステップST603の“YES”の場合)、候補輪郭判定部106は、注目輪郭ブロック501を、漏水によって変状した変状領域を形成する変状矩形と判定する。(ステップST604)。
例えば、図7の場合において、上記(1)の設定条件にあてはまる参照ブロックの個数が「3」、上記(2)の設定条件にあてはまる参照ブロックの個数が「10」であったとすると、当該個数は、判定条件(3)および(4)の両方の設定条件を満たすので、候補輪郭判定部106は、注目輪郭ブロック501を漏水によって変状した変状領域を形成する変状矩形と判定する。このとき、候補輪郭判定部106は、当該注目輪郭ブロック501に付与された輪郭ラベルはそのままとしておく。すなわち、注目輪郭ブロック501の輪郭ラベルは「1」のままである。
In step ST603, when both the setting conditions of (3) and (4) are satisfied (in the case of “YES” in step ST603), the candidate contour determination unit 106 deforms the target contour block 501 due to water leakage. The deformed rectangle forming the region is determined. (Step ST604).
For example, in the case of FIG. 7, if the number of reference blocks that satisfy the setting condition (1) is “3” and the number of reference blocks that satisfy the setting condition (2) is “10”, Since both of the determination conditions (3) and (4) are satisfied, the candidate contour determination unit 106 determines that the target contour block 501 is a deformed rectangle that forms a deformed region deformed due to water leakage. At this time, the candidate contour determination unit 106 keeps the contour label assigned to the target contour block 501 as it is. That is, the contour label of the target contour block 501 remains “1”.

一方、ステップST603において、(3)または(4)のいずれかの判定条件を満たさない場合(ステップST603の“NO”の場合)、候補輪郭判定部106は、注目輪郭ブロック501は、漏水によって変状した変状領域の変状矩形ではないと判定し、注目輪郭ブロック501に付与されている輪郭ラベルの情報を削除し、当該注目輪郭ブロック501を、変状候補領域から除外する(ステップST605)。すなわち、候補輪郭判定部106は、注目輪郭ブロック501を、変状候補矩形から除外する。
例えば、図7の場合において、上記(1)の設定条件にあてはまる参照ブロックの個数が「20」であったとすると、当該個数は、判定条件(3)の判定条件を満たさないので、候補輪郭判定部106は、注目輪郭ブロック501に付与されている輪郭ラベル「1」を削除し、当該注目輪郭ブロック501を、変状候補領域から除外する。
漏水領域を変状領域とする場合、変状領域は、一般的に、輪郭ブロックにて輝度勾配が急峻であることが多く、シミ等による漏水以外の輪郭ブロックでは、輝度勾配が緩やかなことが多い。候補輪郭判定部106は、注目輪郭ブロック周辺の各参照ブロックで輝度勾配を算出し、輝度勾配が緩やか(上記設定条件(1)を満たす)な参照ブロックの個数が多い(上記判定条件(3)を満たさない)場合、当該注目輪郭ブロックは変状領域ではないと判断する。
また、漏水領域を変状領域とする場合、変状領域は、一般的に、背景よりも輝度値の散らばりが大きい傾向にある。候補輪郭判定部106は、注目輪郭ブロック周辺の各参照ブロックの分散値を算出し、当該参照ブロックの分散値の散らばりが大きい(上記設定条件(2)を満たす)参照ブロックの個数が少ない(上記判定条件(4)を満たさない)場合、当該注目輪郭ブロックは変状領域ではないと判断する。
このように、漏水領域を変状領域とする場合、変状領域は、一般的に、背景輝度値よりも輝度値が低く、背景分散値よりも大きな分散値となる傾向があるため、候補輪郭判定部106は、上記判定条件(3)および判定条件(4)で判定し、参照ブロックを含め、当該判定条件(3)および判定条件(4)に該当する参照ブロックが閾値以上の個数あれば、注目輪郭ブロックは変状領域の可能性が高いと判断する。
On the other hand, if any of the determination conditions (3) or (4) is not satisfied in step ST603 (in the case of “NO” in step ST603), the candidate contour determination unit 106 determines that the target contour block 501 is changed due to water leakage. Is determined not to be a deformed rectangle of the deformed region, the information on the contour label attached to the target contour block 501 is deleted, and the target contour block 501 is excluded from the candidate transform region (step ST605). . That is, the candidate contour determination unit 106 excludes the target contour block 501 from the deformed candidate rectangle.
For example, in the case of FIG. 7, if the number of reference blocks satisfying the setting condition (1) is “20”, the number does not satisfy the determination condition of the determination condition (3). The unit 106 deletes the contour label “1” given to the target contour block 501 and excludes the target contour block 501 from the deformation candidate region.
When the water leakage area is a deformed area, the deformed area generally has a sharp brightness gradient in the contour block, and the brightness gradient may be gentle in the contour block other than the water leak due to a stain or the like. Many. The candidate contour determination unit 106 calculates a luminance gradient in each reference block around the target contour block, and the number of reference blocks having a gentle luminance gradient (satisfying the setting condition (1)) is large (the determination condition (3)). Is not satisfied), it is determined that the target contour block is not a deformed region.
In addition, when the water leakage area is a deformed area, the deformed area generally tends to have a larger dispersion of luminance values than the background. The candidate contour determination unit 106 calculates the dispersion value of each reference block around the target contour block, and the number of reference blocks having a large dispersion of the reference block (satisfying the setting condition (2)) is small (the above-mentioned If the determination condition (4) is not satisfied), it is determined that the target contour block is not a deformed region.
As described above, when the water leakage area is a deformed area, the deformed area generally has a luminance value lower than the background luminance value and tends to be a larger variance value than the background variance value. The determination unit 106 makes a determination based on the determination condition (3) and the determination condition (4), and if there are a number of reference blocks including the reference block that correspond to the determination condition (3) and the determination condition (4) equal to or greater than the threshold value. The attention outline block is determined to have a high possibility of a deformed area.

候補輪郭判定部106は、以上の処理を、全ての輪郭ブロックに対して行い、新たに変状候補領域の輪郭ブロックとなった変状候補矩形があるかどうか判定する(ステップST606)。
ステップST606において、新たに輪郭ブロックとなった変状候補矩形がある場合(ステップST606の“YES”の場合)、候補輪郭判定部106は、当該新たな輪郭ブロックを注目輪郭ブロックとして、ステップST601〜ステップST605の処理を繰り返す。
候補輪郭判定部106は、新たに輪郭ブロックとなった変状候補矩形が存在しなくなるまで、ステップST601〜ステップST605の処理を繰り返す。
例えば、図7に示すように、輪郭ブロック(Xi−4,j−3、Xi−4,j−1、Xi−5,j、Xi−4,j+1、Xi−3,j+1、および、Xi−3,j+2)が、変状候補領域の変状候補矩形から除外されたとする。
この場合、新たに、変状候補矩形(Xi−3,j−1、および、Xi−4,j)が、輪郭ブロックとなる。そこで、候補輪郭判定部106は、新たな輪郭ブロック(Xi−3,j−1、および、Xi−4,j)について、ステップST601〜ステップST605の処理を行うことになる。
Candidate contour determination section 106 performs the above processing for all contour blocks, and determines whether there is a deformed candidate rectangle that has newly become a contour block in the deformed candidate region (step ST606).
In step ST606, when there is a deformed candidate rectangle that has newly become a contour block (in the case of “YES” in step ST606), the candidate contour determination unit 106 sets the new contour block as a target contour block in steps ST601 to ST601. The process of step ST605 is repeated.
Candidate contour determination section 106 repeats the processing from step ST601 to step ST605 until there is no deformed candidate rectangle that has newly become a contour block.
For example, as shown in FIG. 7, contour blocks (X i−4, j−3 , X i−4, j−1 , X i−5, j , X i−4, j + 1 , X i−3, j + 1) , And X i−3, j + 2 ) are excluded from the deformation candidate rectangles of the deformation candidate area.
In this case, the transformation candidate rectangles (X i−3, j−1 and X i−4, j ) are newly contour blocks. Therefore, the candidate contour determination unit 106 performs the processing from step ST601 to step ST605 for new contour blocks (X i-3, j-1 and X i-4, j ).

ステップST606において、新たに輪郭ブロックとなった変状候補矩形がない場合(ステップST606の“NO”の場合)、すなわち、全ての輪郭ブロックについて、漏水によって変状した変状領域を形成する変状矩形であるかどうかの判定を終了した場合、候補輪郭判定部106は、変状候補領域の輪郭ブロックに対して、輪郭ラベルの再付与を行う(ステップST607)。具体的には、候補輪郭判定部106は、ステップST206において候補輪郭抽出部105が同一の輪郭ラベルを付与した輪郭ブロックで囲まれた変状候補領域が複数に分かれた場合、分かれた変状候補領域の輪郭ブロックについて、別の輪郭ラベルを付与する。
例えば、図7において、701および702で示す変状候補領域に含まれる変状候補矩形は、もともと1つの変状候補領域に属しており、ステップST206において、当該変状候補領域の輪郭ブロックには「1」の輪郭ラベルが付与されていた(図5参照)。しかし、候補輪郭判定部106が、輪郭ブロックは、漏水によって変状した変状領域の変状矩形かどうかを判定する処理を行った結果、当該1つの変状候補領域が、701に示す変状候補領域と702に示す変状候補領域に分かれた。
そこで、候補輪郭判定部106は、例えば、702に示す変状候補領域の輪郭ブロックについては、輪郭ラベル「3」を付与する。なお、候補輪郭判定部106は、候補輪郭抽出部105同様、異なる変状候補領域にはそれぞれ異なる輪郭ラベルを付与する。今、図7に示すように、輪郭ブロックに輪郭ラベル「2」が付与されている変状候補領域703があるので、候補輪郭判定部106は、変状候補領域702の輪郭ブロックには、例えば、他の変状候補領域の輪郭ブロックと重複しない輪郭ラベル「3」を付与する。
なお、候補輪郭判定部106は、特定の輪郭ラベル(例えば「1」)が付与されていた輪郭ブロックについて、そのまま当該特定の輪郭ラベルを当該輪郭ブロックに輪郭ラベルとして再付与しても、他の変状候補領域の輪郭ブロックの輪郭ラベルと重複しない場合は、当該特定の輪郭ラベルが付与されていた輪郭ブロックには、当該特定の輪郭ラベルを再付与してもよい。例えば、図7に示す変状候補領域701の輪郭ブロックには、「1」の輪郭ラベルが再付与される。
そして、候補輪郭判定部106は、漏水によって変状したと判定し、輪郭ラベルを再付与した輪郭ブロックで囲まれた領域を変状領域と確定する。また、候補輪郭判定部106は、変状領域を形成する変状候補矩形を、変状矩形と確定する。
その後、ステップST204に戻り、候補矩形判定部103は、変状矩形と確定されなかった輪郭ブロックを除外した変状候補領域の輪郭ブロックとなる変状候補矩形について、オフセット値であるThlow1の値を、1回目に変状候補矩形となる矩形ブロックを判定した際の値よりも小さい値に設定して、2回目の変状候補矩形となる矩形ブロックの判定を行う。そして、以降の処理を再び行い、候補輪郭判定部106は、ステップST207において、1回目の判定で変状矩形と確定されなかった輪郭ブロックを除外した変状候補矩形が統合された変状候補領域の輪郭ブロックについて、漏水によって変状した変状領域の変状矩形かどうかを判定する。候補輪郭判定部106は、2回目の判定で、漏水によって変状した変状領域の変状矩形と判断した輪郭ブロックに輪郭ラベルを付与し、当該輪郭ブロックで囲まれた領域を変状領域と確定する。
1回目の判定で除外された輪郭ブロックは、漏水以外の、汚れまたは色むら等によって変状した矩形ブロックと判断された矩形ブロックである。2回目の判定で、さらに、漏水以外の、汚れまたは色むら等によって変状した矩形ブロックで囲まれた領域内に存在する、漏水によって変状した矩形ブロックで囲まれた変状領域の判定を行う。
以降、汚れまたは色むら等によって変状したと判断した矩形ブロックを除外した変状候補領域の輪郭ブロックがなくなるまで、当該判定を繰り返す。
In step ST606, when there is no deformation candidate rectangle that has newly become a contour block (in the case of “NO” in step ST606), that is, a deformation that forms a deformed region that has been deformed due to water leakage in all the contour blocks. When the determination of whether or not the shape is rectangular is completed, the candidate contour determination unit 106 reassigns the contour label to the contour block in the deformed candidate region (step ST607). Specifically, when the candidate contour determination unit 106 divides a plurality of deformation candidate regions surrounded by the contour blocks to which the candidate contour extraction unit 105 has assigned the same contour label in step ST206, the candidate contour determination unit 106 separates the candidate candidates. Another contour label is assigned to the contour block of the region.
For example, in FIG. 7, the modification candidate rectangles included in the modification candidate areas indicated by 701 and 702 originally belong to one modification candidate area, and in step ST206, the contour block of the modification candidate area includes An outline label of “1” was given (see FIG. 5). However, as a result of performing processing for determining whether the contour block is a deformed rectangle of the deformed region that has been deformed due to water leakage, the candidate contour determining unit 106 determines that the one deformed candidate region has the deformed state indicated by 701. It was divided into a candidate area and a deformable candidate area indicated by 702.
Therefore, the candidate contour determination unit 106 assigns the contour label “3” to the contour block of the deformable candidate region indicated by 702, for example. Similar to the candidate contour extraction unit 105, the candidate contour determination unit 106 assigns different contour labels to different deformation candidate regions. Now, as shown in FIG. 7, since there is a deformed candidate region 703 in which the contour label “2” is given to the contour block, the candidate contour determining unit 106 includes, for example, the contour block of the deformed candidate region 702 as The contour label “3” that does not overlap with the contour block of another deformation candidate region is assigned.
Note that the candidate contour determination unit 106 may re-assign the specific contour label to the contour block as the contour label as it is for the contour block to which the specific contour label (for example, “1”) has been assigned. In the case where it does not overlap with the contour label of the contour block in the deformable candidate region, the specific contour label may be reassigned to the contour block to which the specific contour label has been assigned. For example, the contour label “1” is re-assigned to the contour block of the deformation candidate region 701 shown in FIG.
And the candidate outline determination part 106 determines with having deformed by water leak, and determines the area | region enclosed by the outline block which gave the outline label again as a deformed area. Further, the candidate contour determination unit 106 determines the deformed candidate rectangle forming the deformed region as the deformed rectangle.
Thereafter, the process returns to step ST204, and the candidate rectangle determination unit 103 determines the value of Th low1 that is an offset value for the deformed candidate rectangle that becomes the contour block of the deformed candidate area excluding the contour block that has not been determined as the deformed rectangle. Is set to a value smaller than the value at the time of determining the rectangular block that becomes the deformation candidate rectangle for the first time, and the rectangular block that becomes the second deformation candidate rectangle is determined. Then, the subsequent process is performed again, and the candidate contour determination unit 106 integrates the deformed candidate rectangles obtained by integrating the deformed candidate rectangles excluding the contour blocks that are not determined as deformed rectangles in the first determination in step ST207. It is determined whether or not the contour block is a deformed rectangle of the deformed region deformed due to water leakage. The candidate contour determination unit 106 assigns a contour label to the contour block determined to be the deformed rectangle of the deformed region deformed due to water leakage in the second determination, and the region surrounded by the contour block is defined as the deformed region. Determine.
The contour block excluded in the first determination is a rectangular block determined to be a rectangular block deformed due to dirt or uneven color other than water leakage. In the second determination, the determination of the deformed region surrounded by the rectangular block deformed due to water leakage, which is present in the region surrounded by the rectangular block deformed due to dirt or uneven color other than the water leak, is performed. Do.
Thereafter, the determination is repeated until there is no contour block in the deformable candidate area excluding the rectangular block determined to be deformed due to dirt or uneven color.

候補輪郭判定部106は、変状領域の輪郭ブロックの情報と、変状領域の輪郭ブロックに付与された輪郭ラベルの情報とを、判定後変状輪郭情報として、変状領域および変状矩形の情報に付与し、輪郭間距離判定部107に出力する。   The candidate contour determination unit 106 uses the information of the contour block of the deformed region and the information of the contour label attached to the contour block of the deformed region as post-determination deformed contour information, and displays the deformed region and the deformed rectangle. It is added to the information and output to the inter-contour distance determination unit 107.

図2のフローチャートに戻る。
輪郭間距離判定部107は、ステップST207において候補輪郭判定部106から出力された判定後変状輪郭情報に基づき、変状領域のうちの2つの変状領域間の最短距離を求め、求めた最短距離と第2の閾値とに基づき、当該2つの変状領域を統合するか否かの判定を行う(ステップST208)。
Returning to the flowchart of FIG.
The inter-contour distance determination unit 107 obtains the shortest distance between two deformed regions of the deformed regions based on the post-determination deformed contour information output from the candidate contour determining unit 106 in step ST207, and determines the shortest distance obtained. Based on the distance and the second threshold, it is determined whether or not the two deformed regions are to be integrated (step ST208).

ここで、図10は、実施の形態1において、輪郭間距離判定部107の動作の一例を説明するための図である。
例えば、図10に示すように、候補輪郭判定部106によって、4つの変状領域が確定されて、それぞれ、輪郭ブロックに輪郭ラベル「1」〜「4」が付与されていたとする。
まず、輪郭間距離判定部107は、変状領域ごとに、隣接する領域間の最短距離を求める。
例えば、図10の例でいうと、輪郭間距離判定部107は、以下のとおり隣接する変状領域間の最短距離を求める。
輪郭ラベル1の変状領域と輪郭ラベル2の変状領域の領域間の最短距離:3
輪郭ラベル1の変状領域と輪郭ラベル3の変状領域の領域間の最短距離:2
輪郭ラベル1の変状領域と輪郭ラベル4の変状領域の領域間の最短距離:10
輪郭ラベル2の変状領域と輪郭ラベル3の変状領域の領域間の最短距離:17
輪郭ラベル2の変状領域と輪郭ラベル4の変状領域の領域間の最短距離:8
輪郭ラベル3の変状領域と輪郭ラベル4の変状領域の領域間の最短距離:21
Here, FIG. 10 is a diagram for explaining an example of the operation of the inter-contour distance determination unit 107 in the first embodiment.
For example, as shown in FIG. 10, it is assumed that four deformed regions are determined by the candidate contour determination unit 106 and contour labels “1” to “4” are assigned to the contour blocks, respectively.
First, the inter-contour distance determination unit 107 obtains the shortest distance between adjacent regions for each deformed region.
For example, in the example of FIG. 10, the inter-contour distance determination unit 107 obtains the shortest distance between adjacent deformed regions as follows.
Minimum distance between the deformed area of the contour label 1 and the deformed area of the contour label 2: 3
Minimum distance between the deformed area of the contour label 1 and the deformed area of the contour label 3: 2
Shortest distance between the deformed area of the contour label 1 and the deformed area of the contour label 4: 10
Shortest distance between the deformed area of the contour label 2 and the deformed area of the contour label 3: 17
Shortest distance between the deformed area of the contour label 2 and the deformed area of the contour label 4: 8
Shortest distance between the deformed area of the contour label 3 and the deformed area of the contour label 4: 21

次に、輪郭間距離判定部107は、求めた、隣接する変状領域間の最短距離が、予め設定された第2の閾値Thconnected以下の場合、当該隣接する変状領域について、統合すると判定し、該当の変状領域に統合フラグを付与する。
例えば、Thconnected=8であったとすると、輪郭間距離判定部107は、輪郭ラベル1の変状領域と輪郭ラベル2の変状領域、および、輪郭ラベル1の変状領域と輪郭ラベル3の変状領域を統合すると判定する。そして、輪郭間距離判定部107は、統合すると判定した変状領域に統合フラグを付与する。すなわち、輪郭ラベル1〜輪郭ラベル3の変状領域に、統合フラグが付与される。
Next, when the obtained shortest distance between adjacent deformed areas is equal to or less than a preset second threshold Th connected , the contour distance determining unit 107 determines that the adjacent deformed areas are to be integrated. Then, an integration flag is assigned to the relevant deformed area.
For example, when Th connected = 8, the inter-contour distance determination unit 107 changes the deformed region of the contour label 1 and the deformed region of the contour label 2, and the deformed region of the contour label 1 and the contour label 3. It is determined that the shape areas are integrated. Then, the inter-contour distance determination unit 107 gives an integration flag to the deformed area determined to be integrated. That is, the integrated flag is assigned to the deformed regions of the contour labels 1 to 3.

輪郭間距離判定部107は、統合フラグを付与した変状領域の情報を、判定後変状輪郭情報および変状矩形の情報とともに、領域統合部108に出力する。   The contour-to-contour distance determination unit 107 outputs the information on the deformed region to which the integration flag has been added to the region integration unit 108 together with the post-determination deformed contour information and the deformed rectangle information.

領域統合部108は、輪郭間距離判定部107から出力された変状領域の情報に基づき、統合フラグが付与されている変状領域を統合して統合後変状領域とし、変状領域の輪郭ブロックに付与されている輪郭ラベルの再付与を行う(ステップST209)。
例えば、図10の例でいうと、領域統合部108は、輪郭ラベル1〜輪郭ラベル3の変状領域を統合し、統合した統合後変状領域の輪郭ブロックに輪郭ラベル「1」を再付与する。
領域統合部108は、統合後変状領域の情報、当該統合後変状領域に含まれる変状矩形の情報、輪郭ブロックの情報、および、輪郭ラベルの情報を、データ生成部109および画像生成部110に出力する。
The region integration unit 108 integrates the deformed regions to which the integration flag is assigned based on the information on the deformed region output from the inter-contour distance determination unit 107 to obtain a post-integrated deformed region. The contour label given to the block is given again (step ST209).
For example, in the example of FIG. 10, the region integration unit 108 integrates the deformed regions of the contour labels 1 to 3 and reassigns the contour label “1” to the integrated contour block of the integrated deformed region. To do.
The region integration unit 108 includes information on the post-integration deformed region, information on the deformed rectangle included in the post-integration deformed region, information on the contour block, and information on the contour label. The data generation unit 109 and the image generation unit To 110.

データ生成部109は、ステップST209において領域統合部108から出力された統合後変状領域の情報、変状矩形の情報、輪郭ブロックの情報、および、輪郭ラベルの情報に基づき、変状データを生成する(ステップST210)。変状データとは、具体的には、例えば、統合後変状領域の輪郭および当該輪郭に付与された輪郭ラベルの情報、および、統合後変状領域の位置情報等を含むデータである。   Data generation section 109 generates deformation data based on post-integration deformed area information, deformed rectangle information, contour block information, and contour label information output from area integration section 108 in step ST209. (Step ST210). Specifically, the deformation data is data including, for example, the contour of the post-integration deformed region and information on the contour label attached to the contour, the position information of the post-integration deformed region, and the like.

データ生成部109は、例えば、各統合後変状領域について、同じ輪郭ラベルが付与された全ての輪郭ブロックを含み、かつ、当該全ての輪郭ブロックと最短の直線で外接する線を統合後変状領域の輪郭包囲線とする。また、データ生成部109は、輪郭ブロックと凸性の欠如部分の面積が最小となる端点に存在する輪郭ブロックの座標を、統合後変状領域の位置情報とする。例えば、図10の例でいうと、データ生成部109は、図11に太線で示す線を、統合後変状領域の統合後輪郭1101とし、白丸1102で示す輪郭ブロックの座標を、統合後変状領域の位置情報とする。
なお、輪郭ブロックの座標は、変換後可視画像上における画素単位の座標であり、輪郭を含む当該輪郭ブロックの端点となる、左上、左下、右上、右下のいずれかの座標となる。
輪郭包囲線のデータ、および、統合後変状領域の位置情報は、変状データに含まれる。
そして、データ生成部109は、変状データを、データ出力部4に出力する。
For example, the data generation unit 109 includes all the contour blocks to which the same contour label is assigned for each post-integration deformed region, and the post-integration deforms lines that circumscribe all the contour blocks with the shortest straight line. The contour outline of the region is used. In addition, the data generation unit 109 uses the coordinates of the contour block existing at the end point where the area of the contour block and the lack of convexity as a minimum is the positional information of the post-integration deformed region. For example, in the example of FIG. 10, the data generation unit 109 sets the line indicated by the bold line in FIG. 11 as the post-integration outline 1101 of the post-integration deformed area, and changes the coordinates of the outline block indicated by the white circle 1102 to the post-integration change. Position information.
Note that the coordinates of the contour block are the coordinates of the pixel unit on the converted visible image, and are the coordinates of the upper left, lower left, upper right, and lower right, which are the end points of the contour block including the contour.
The data of the contour encircling line and the positional information of the post-integration deformed area are included in the deformed data.
Then, the data generation unit 109 outputs the deformed data to the data output unit 4.

データ出力部4は、ステップST210においてデータ生成部109から出力された変状データを、外部の記録装置等(図示省略)に出力する(ステップST212)。データ出力部4は、変状データを、データ記録部3に記録させるようにしてもよい。
このように、統合後変状領域の輪郭に対する位置情報等をデータ化し、記録しておくことにより、例えば、他の分析装置等が、当該外部の記録装置等に記録している変状データを参照し、変状領域の解析処理等に用いることができる。
The data output unit 4 outputs the deformed data output from the data generation unit 109 in step ST210 to an external recording device or the like (not shown) (step ST212). The data output unit 4 may cause the data recording unit 3 to record the deformation data.
In this way, by converting the positional information and the like for the outline of the deformed region after integration into data and recording it, for example, the deformed data recorded in the external recording device or the like by other analyzers or the like can be stored. It can be referred to and used for deformation region analysis processing or the like.

画像生成部110は、ステップST209において領域統合部108から出力された統合後変状領域の情報、変状矩形の情報、輪郭ブロックの情報、および、輪郭ラベルの情報に基づき、変状領域に関する情報を画像として表示させるための画像用データを生成する(ステップST211)。画像用データで示される画像は、具体的には、図12に示すように、変換後可視画像上において、変状領域の輪郭を重畳した画像である。すなわち、画像用データとは、例えば、図12に示すようなイメージの画像を表示させるためのデータである。
画像生成部110は、画像用データを、画像出力部5に出力する。
The image generation unit 110, based on the post-integration deformed region information, deformed rectangle information, contour block information, and contour label information output from the region integration unit 108 in step ST209, information on the deformed region. Is generated as an image (step ST211). Specifically, as shown in FIG. 12, the image indicated by the image data is an image in which the contour of the deformed region is superimposed on the converted visible image. That is, the image data is, for example, data for displaying an image as shown in FIG.
The image generation unit 110 outputs the image data to the image output unit 5.

画像出力部5は、ステップST211において画像生成部110から出力された画像データを、外部の表示装置等(図示省略)に出力する(ステップST213)。画像出力部5は、画像用データを、データ記録部3に記録させるようにしてもよい。
例えば、変状領域に関する情報を、イメージとして画像で表示させることで、ユーザは、表示装置等を確認し、変状領域の解析等を行うことができる。
The image output unit 5 outputs the image data output from the image generation unit 110 in step ST211 to an external display device or the like (not shown) (step ST213). The image output unit 5 may cause the data recording unit 3 to record image data.
For example, by displaying information on the deformed area as an image as an image, the user can check the display device and analyze the deformed area.

なお、以上の実施の形態1では、変状検出装置10は、トンネルの内壁の漏水領域を変状領域として検出するものとしたが、これは一例に過ぎず、変状検出装置10は、コンクリート表面において白華等の析出物が出現している領域を変状領域として検出することもできる。
なお、この場合、白華等の析出物は輝度が高いとされるため、候補矩形判定部103は、変状候補矩形を判定する際の第1の閾値には、背景輝度値にオフセット値を加算した値(背景輝度値+Thhigh1)を用いるようにし、矩形ブロックの平均輝度値が第1の閾値よりも大きい場合に、当該矩形ブロックを変状候補矩形と判定するようにする。
また、候補輪郭判定部106は、変状候補領域の輪郭ブロックについて、析出物によって変状した変状領域の変状矩形であるかどうかの判定を行う際の設定条件(1)として、以下の設定条件を用いるようにする。
参照ブロックの平均輝度値>背景輝度値+Thhigh2(Thhigh2>Thhigh1
また、以上の実施の形態1では、変状検出装置10は、画像変換部101を備えるようにしたが、画像変換部101は必須ではない。
例えば、変状を検出する対象となる、元々の画像が、トンネルの内壁の画像のような、ムラが想定される画像とは異なり、ムラのないような画像である場合には、画像変換部101を備えないようにすることもできる。画像変換部101による変換後可視画像の生成処理は、撮影環境または状況等により必要に応じて実施される。
In the first embodiment described above, the deformation detection device 10 detects the leakage area of the inner wall of the tunnel as the deformation region. However, this is only an example, and the deformation detection device 10 is a concrete detector. A region where precipitates such as white flower appear on the surface can also be detected as a deformed region.
In this case, since the precipitate such as white flower has high luminance, the candidate rectangle determination unit 103 sets an offset value to the background luminance value as the first threshold when determining the deformed candidate rectangle. The added value (background luminance value + Th high1 ) is used, and when the average luminance value of the rectangular block is larger than the first threshold value, the rectangular block is determined as a deformed candidate rectangle.
In addition, the candidate contour determination unit 106 sets the following as a setting condition (1) when determining whether or not the contour block of the deformed candidate region is a deformed rectangle of the deformed region deformed by the precipitate: Use setting conditions.
Average luminance value of reference block> background luminance value + Th high2 (Th high2 > Th high1 )
In the first embodiment, the deformation detection apparatus 10 includes the image conversion unit 101. However, the image conversion unit 101 is not essential.
For example, in the case where the original image to be detected for deformation is an image that does not have unevenness unlike an image that is supposed to be uneven, such as an image of an inner wall of a tunnel, the image conversion unit 101 may be omitted. The generation process of the visible image after conversion by the image conversion unit 101 is performed as necessary depending on the shooting environment or the situation.

図12A,図12Bは、実施の形態1に係る変状検出装置10のハードウェア構成の一例を示す図である。
この発明の実施の形態1において、画像処理部1と、可視画像生成部2と、データ出力部4と、画像出力部5の各機能は、処理回路1201により実現される。すなわち、変状検出装置10は、カメラから取得した複数枚の撮影画像に基づき、トンネルの内壁の漏水領域を変状領域として検出し、検出した変状領域に関する情報をイメージ画像として表示あるいは記憶させる制御を行うための処理回路1201を備える。
処理回路1201は、図12Aに示すように専用のハードウェアであっても、図12Bに示すようにメモリ1205に格納されるプログラムを実行するCPU(Central Processing Unit)1206であってもよい。
12A and 12B are diagrams illustrating an example of a hardware configuration of the deformation detection apparatus 10 according to the first embodiment.
In the first embodiment of the present invention, the functions of the image processing unit 1, the visible image generation unit 2, the data output unit 4, and the image output unit 5 are realized by the processing circuit 1201. That is, the deformation detection device 10 detects a water leakage area on the inner wall of the tunnel as a deformation area based on a plurality of captured images acquired from the camera, and displays or stores information regarding the detected deformation area as an image image. A processing circuit 1201 for performing control is provided.
The processing circuit 1201 may be dedicated hardware as illustrated in FIG. 12A or a CPU (Central Processing Unit) 1206 that executes a program stored in the memory 1205 as illustrated in FIG. 12B.

処理回路1201が専用のハードウェアである場合、処理回路1201は、例えば、単一回路、複合回路、プログラム化したプロセッサ、並列プログラム化したプロセッサ、ASIC(Application Specific Integrated Circuit)、FPGA(Field−Programmable Gate Array)、またはこれらを組み合わせたものが該当する。   When the processing circuit 1201 is dedicated hardware, the processing circuit 1201 includes, for example, a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, an ASIC (Application Specific Integrated Circuit), and an FPGA (Field-Programmable). Gate Array) or a combination thereof.

処理回路1201がCPU1206の場合、画像処理部1と、可視画像生成部2と、データ出力部4と、画像出力部5の各機能は、ソフトウェア、ファームウェア、または、ソフトウェアとファームウェアとの組み合わせにより実現される。すなわち、画像処理部1と、可視画像生成部2と、データ出力部4と、画像出力部5は、HDD(Hard Disk Drive)1202、メモリ1205等に記憶されたプログラムを実行するCPU1206、システムLSI(Large−Scale Integration)等の処理回路により実現される。また、HDD1202、メモリ1205等に記憶されたプログラムは、画像処理部1と、可視画像生成部2と、データ出力部4と、画像出力部5の手順または方法をコンピュータに実行させるものであるとも言える。ここで、メモリ1205とは、例えば、RAM(Random Access Memory)、ROM(Read Only Memory)、フラッシュメモリ、EPROM(Erasable Programmable Read Only Memory)、EEPROM(Electrically Erasable Programmable Read−Only Memory)等の、不揮発性または揮発性の半導体メモリ、磁気ディスク、フレキシブルディスク、光ディスク、コンパクトディスク、ミニディスク、および、DVD(Digital Versatile Disc)等が該当する。   When the processing circuit 1201 is the CPU 1206, each function of the image processing unit 1, the visible image generation unit 2, the data output unit 4, and the image output unit 5 is realized by software, firmware, or a combination of software and firmware. Is done. That is, the image processing unit 1, the visible image generation unit 2, the data output unit 4, and the image output unit 5 are a CPU 1206 that executes programs stored in an HDD (Hard Disk Drive) 1202, a memory 1205, and the like, a system LSI This is realized by a processing circuit such as (Large-Scale Integration). The program stored in the HDD 1202, the memory 1205, or the like may cause a computer to execute the procedure or method of the image processing unit 1, the visible image generation unit 2, the data output unit 4, and the image output unit 5. I can say that. Here, the memory 1205 is, for example, a RAM (Random Access Memory), a ROM (Read Only Memory), a flash memory, an EPROM (Erasable Programmable Read Only Memory), an EEPROM (Electrically Erasable Memory), or the like. Or volatile semiconductor memory, magnetic disk, flexible disk, optical disk, compact disk, mini disk, DVD (Digital Versatile Disc), and the like.

なお、画像処理部1と、可視画像生成部2と、データ出力部4と、画像出力部5の各機能について、一部を専用のハードウェアで実現し、一部をソフトウェアまたはファームウェアで実現するようにしてもよい。例えば、画像処理部1については専用のハードウェアとしての処理回路1201でその機能を実現し、可視画像生成部2と、データ出力部4と、画像出力部5については処理回路がメモリ1205に格納されたプログラムを読み出して実行することによってその機能を実現することが可能である。
データ記録部3は、例えば、HDD1202を使用する。なお、これは一例にすぎず、データ記録部3は、DVD、メモリ1205等によって構成されるものであってもよい。さらに、変状検出装置10とネットワークで接続されているHDD等であってもよい。
また、変状検出装置10は、カメラ、外部の記録装置、または、外部の表示装置等の外部機器との通信を行う入力インタフェース装置1203、出力インタフェース装置1204を有する。
Note that some of the functions of the image processing unit 1, the visible image generation unit 2, the data output unit 4, and the image output unit 5 are realized by dedicated hardware, and part is realized by software or firmware. You may do it. For example, the function of the image processing unit 1 is realized by a processing circuit 1201 as dedicated hardware, and the processing circuit is stored in the memory 1205 for the visible image generation unit 2, the data output unit 4, and the image output unit 5. The function can be realized by reading and executing the read program.
The data recording unit 3 uses an HDD 1202, for example. This is only an example, and the data recording unit 3 may be constituted by a DVD, a memory 1205, or the like. Further, it may be an HDD or the like connected to the deformation detection apparatus 10 via a network.
In addition, the deformation detection apparatus 10 includes an input interface device 1203 and an output interface device 1204 that communicate with an external device such as a camera, an external recording device, or an external display device.

以上のように、実施の形態1によれば、変状検出装置10は、対象物の表面が撮影された可視画像を分割する複数の矩形ブロックを設定する矩形設定部1031と、対象物の表面が撮影された可視画像の背景輝度値と、矩形設定部1031が設定した各矩形ブロック内の平均輝度値とに基づき、複数の矩形ブロックのうち、変状領域を形成する変状矩形の候補となる変状候補矩形を判定する候補矩形判定部103と、候補矩形判定部103が判定した変状候補矩形のうち、互いに隣接する変状候補矩形の領域を統合した変状候補領域を設定する候補矩形統合部104と、候補矩形統合部104が設定した変状候補領域の外周を形成する輪郭ブロックを抽出する候補輪郭抽出部105と、候補輪郭抽出部105が抽出した各輪郭ブロックの周囲の各矩形ブロック内の輝度の特徴量に基づき、当該各輪郭ブロックが変状矩形であるかどうかを判定し、変状矩形であると判定した輪郭ブロックで囲まれた領域を変状領域と確定する候補輪郭判定部106とを備えるようにした。これにより、微細な領域に対しても、変状領域の検出を可能とすることができる。   As described above, according to the first embodiment, the deformation detection device 10 includes the rectangular setting unit 1031 that sets a plurality of rectangular blocks that divide a visible image obtained by photographing the surface of the object, and the surface of the object. Based on the background luminance value of the visible image in which the image is photographed and the average luminance value in each rectangular block set by the rectangular setting unit 1031, among the plurality of rectangular blocks, the deformed rectangle candidate forming the deformed region A candidate rectangle determining unit 103 that determines a candidate deformation rectangle, and a candidate that sets a candidate deformation region that is obtained by integrating the regions of the candidate deformation rectangles adjacent to each other from the candidate deformation rectangles determined by the candidate rectangle determining unit 103 The rectangle integration unit 104, the candidate outline extraction unit 105 that extracts the outline block that forms the outer periphery of the deformation candidate area set by the candidate rectangle integration unit 104, and the surroundings of each outline block extracted by the candidate outline extraction unit 105 Based on the luminance feature value in each rectangular block, it is determined whether or not each contour block is a deformed rectangle, and the region surrounded by the contour block determined to be a deformed rectangle is determined as the deformed region. A candidate contour determination unit 106 is provided. Thereby, it is possible to detect a deformed region even for a fine region.

なお、本願発明はその発明の範囲内において、実施の形態の任意の構成要素の変形、もしくは実施の形態の任意の構成要素の省略が可能である。   In the present invention, any constituent element of the embodiment can be modified or any constituent element of the embodiment can be omitted within the scope of the invention.

この発明に係る変状検出装置は、微細な領域に対しても、変状領域の検出を可能とできるように構成したため、対象物の表面の変状箇所を検出する変状検出装置に適用することができる。   Since the deformation detection device according to the present invention is configured to be able to detect a deformation region even for a fine region, the deformation detection device is applied to a deformation detection device that detects a deformation location on the surface of an object. be able to.

1 画像処理部、2 可視画像生成部、3 データ記録部、4 データ出力部、5 画像出力部、10 変状検出装置、101 画像変換部、102 背景輝度値算出部、103 候補矩形判定部、104 候補矩形統合部、105 候補輪郭抽出部、106 候補輪郭判定部、107 輪郭間距離判定部、108 領域統合部、109 データ生成部、110 画像生成部、1031 矩形設定部、1201 処理回路、1202 HDD、1203 入力インタフェース装置、1204 出力インタフェース装置、1205 メモリ、1206 CPU。   DESCRIPTION OF SYMBOLS 1 Image processing part, 2 Visible image generation part, 3 Data recording part, 4 Data output part, 5 Image output part, 10 Deformation detection apparatus, 101 Image conversion part, 102 Background luminance value calculation part, 103 Candidate rectangle determination part, 104 candidate rectangle integration unit, 105 candidate contour extraction unit, 106 candidate contour determination unit, 107 distance between contour determination unit, 108 region integration unit, 109 data generation unit, 110 image generation unit, 1031 rectangle setting unit, 1201 processing circuit, 1202 HDD, 1203 input interface device, 1204 output interface device, 1205 memory, 1206 CPU.

Claims (8)

対象物の表面が撮影された可視画像を分割する複数の矩形ブロックを設定する矩形設定部と、
対象物の表面が撮影された可視画像の背景輝度値と、前記矩形設定部が設定した各矩形ブロック内の平均輝度値とに基づき、前記複数の矩形ブロックのうち、変状領域を形成する変状矩形の候補となる変状候補矩形を判定する候補矩形判定部と、
前記候補矩形判定部が判定した変状候補矩形のうち、互いに隣接する変状候補矩形の領域を統合した変状候補領域を設定する候補矩形統合部と、
前記候補矩形統合部が設定した変状候補領域の外周を形成する輪郭ブロックを抽出する候補輪郭抽出部と、
前記候補輪郭抽出部が抽出した各輪郭ブロックの周囲の各矩形ブロック内の輝度の特徴量に基づき、当該各輪郭ブロックが前記変状矩形であるかどうかを判定し、前記変状矩形であると判定した輪郭ブロックで囲まれた領域を前記変状領域と確定する候補輪郭判定部
とを備えた変状検出装置。
A rectangular setting unit that sets a plurality of rectangular blocks that divide a visible image in which the surface of the object is captured;
Based on the background luminance value of the visible image obtained by photographing the surface of the object and the average luminance value in each rectangular block set by the rectangular setting unit, a variable that forms a deformed area among the plurality of rectangular blocks is formed. A candidate rectangle determination unit that determines a deformed candidate rectangle that is a candidate for a rectangular shape;
A candidate rectangle integration unit for setting a deformation candidate region obtained by integrating the regions of the deformation candidate rectangles adjacent to each other among the deformation candidate rectangles determined by the candidate rectangle determination unit;
A candidate contour extraction unit that extracts a contour block that forms the outer periphery of the deformed candidate region set by the candidate rectangle integration unit;
Based on the luminance feature amount in each rectangular block around each contour block extracted by the candidate contour extraction unit, it is determined whether each contour block is the deformed rectangle, and the deformed rectangle is A deformation detection apparatus comprising: a candidate contour determination unit that determines a region surrounded by the determined contour block as the deformation region.
前記対象物の表面が撮影された可視画像における輝度を変換した変換後可視画像を生成する画像変換部を備え、
前記矩形設定部は、前記画像変換部が生成した変換後可視画像を分割する複数の矩形ブロックを設定し、
前記候補矩形判定部は、前記画像変換部が生成した変換後可視画像の背景輝度値と、前記矩形設定部が設定した各矩形ブロック内の平均輝度値とに基づき、前記変状候補矩形を判定する
ことを特徴とする請求項1記載の変状検出装置。
An image conversion unit that generates a converted visible image obtained by converting luminance in a visible image obtained by photographing the surface of the object;
The rectangle setting unit sets a plurality of rectangular blocks for dividing the converted visible image generated by the image conversion unit,
The candidate rectangle determination unit determines the deformation candidate rectangle based on a background luminance value of the converted visible image generated by the image conversion unit and an average luminance value in each rectangular block set by the rectangle setting unit. The deformation detection device according to claim 1, wherein:
前記矩形設定部は、
前記可視画像の解像度に応じて、前記矩形ブロックの大きさを可変とする
ことを特徴とする請求項1記載の変状検出装置。
The rectangle setting unit
The deformation detection device according to claim 1, wherein the size of the rectangular block is variable according to the resolution of the visible image.
前記候補輪郭判定部が確定した複数の前記変状領域のうちの2つの変状領域間の最短距離を求め、求めた最短距離と閾値とに基づき、当該2つの変状領域を統合するか否かの判定を行う輪郭間距離判定部と、
前記輪郭間距離判定部が、前記2つの変状領域を統合すると判定した場合に、当該2つの変状領域を統合し、統合後変状領域とする領域統合部と、
前記領域統合部が統合した統合後変状領域に関する情報からなる変状データを生成する変状データ生成部と、
前記領域統合部が統合した統合後変状領域に関する情報に基づく画像データを生成する画像生成部
とを備えた請求項1から請求項3のうちのいずれか1項記載の変状検出装置。
Whether the candidate contour determination unit determines the shortest distance between two deformed regions out of the plurality of deformed regions, and whether to integrate the two deformed regions based on the determined shortest distance and a threshold value An inter-contour distance determination unit for determining whether or not
When the inter-contour distance determining unit determines that the two deformed regions are integrated, a region integrating unit that integrates the two deformed regions into a post-integrated deformed region;
A deformation data generation unit that generates deformation data composed of information related to the post-integration deformation region integrated by the region integration unit;
The deformation detection device according to claim 1, further comprising: an image generation unit configured to generate image data based on information related to the post-integration deformed region integrated by the region integration unit.
前記変状領域とは、漏水により変状した領域であり、
前記候補矩形判定部は、
前記矩形ブロック内の平均輝度値が、前記背景輝度値からオフセット値を減算した閾値より小さい場合に、当該矩形ブロックを前記変状候補矩形と判定する
ことを特徴とする請求項1記載の変状検出装置。
The deformed region is a region deformed due to water leakage,
The candidate rectangle determination unit
2. The deformation according to claim 1, wherein when the average luminance value in the rectangular block is smaller than a threshold value obtained by subtracting an offset value from the background luminance value, the rectangular block is determined as the deformation candidate rectangle. Detection device.
前記変状領域とは、析出物により変状した領域であり、
前記候補矩形判定部は、
前記矩形ブロック内の平均輝度値が、前記背景輝度値にオフセット値を加算した閾値より大きい場合に、当該矩形ブロックを前記変状候補矩形と判定する
ことを特徴とする請求項1記載の変状検出装置。
The deformed region is a region deformed by precipitates,
The candidate rectangle determination unit
2. The deformation according to claim 1, wherein when the average luminance value in the rectangular block is larger than a threshold obtained by adding an offset value to the background luminance value, the rectangular block is determined as the deformation candidate rectangle. Detection device.
前記対象物が撮影された複数枚の撮影画像をカメラから取得し、当該複数枚の撮影画像を一枚に統合して前記可視画像を生成する可視画像生成部
を備えた請求項1記載の変状検出装置。
The variable according to claim 1, further comprising: a visible image generation unit configured to acquire a plurality of photographed images obtained by photographing the target object from a camera, and combine the plurality of photographed images into one sheet to generate the visible image. Status detector.
矩形設定部が、対象物の表面が撮影された可視画像を分割する複数の矩形ブロックを設定するステップと、
候補矩形判定部が、対象物の表面が撮影された可視画像の背景輝度値と、前記矩形設定部が設定した各矩形ブロック内の平均輝度値とに基づき、前記複数の矩形ブロックのうち、変状領域を形成する変状矩形の候補となる変状候補矩形を判定するステップと、
候補矩形統合部が、前記候補矩形判定部が判定した変状候補矩形のうち、互いに隣接する変状候補矩形の領域を統合した変状候補領域を設定するステップと、
候補輪郭抽出部が、前記候補矩形統合部が設定した変状候補領域の外周を形成する輪郭ブロックを抽出するステップと、
候補輪郭判定部が、前記候補輪郭抽出部が抽出した各輪郭ブロックの周囲の各矩形ブロック内の輝度の特徴量に基づき、当該各輪郭ブロックが前記変状矩形であるかどうかを判定し、前記変状矩形であると判定した輪郭ブロックで囲まれた領域を前記変状領域と確定するステップ
とを備えた変状検出方法。
A step of setting a plurality of rectangular blocks by which the rectangular setting unit divides the visible image in which the surface of the object is captured;
The candidate rectangle determination unit is configured to change a variable among the plurality of rectangular blocks based on a background luminance value of a visible image obtained by photographing the surface of the target object and an average luminance value in each rectangular block set by the rectangle setting unit. Determining a deformed candidate rectangle that is a deformed rectangle candidate forming the deformed region;
A candidate rectangle integration unit setting a transformation candidate region obtained by integrating regions of transformation candidate rectangles adjacent to each other among the transformation candidate rectangles determined by the candidate rectangle determination unit;
A candidate contour extracting unit extracting a contour block forming an outer periphery of the deformed candidate region set by the candidate rectangle integrating unit;
The candidate contour determination unit determines whether each contour block is the deformed rectangle based on the luminance feature amount in each rectangular block around each contour block extracted by the candidate contour extraction unit, A deformation detection method comprising: determining an area surrounded by a contour block determined to be a deformed rectangle as the deformed area.
JP2019514061A 2017-09-08 2017-09-08 Deformation detection device and deformation detection method Active JP6548857B1 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2017/032493 WO2019049316A1 (en) 2017-09-08 2017-09-08 Deformation detection device and deformation detection method

Publications (2)

Publication Number Publication Date
JP6548857B1 JP6548857B1 (en) 2019-07-24
JPWO2019049316A1 true JPWO2019049316A1 (en) 2019-11-07

Family

ID=65633824

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019514061A Active JP6548857B1 (en) 2017-09-08 2017-09-08 Deformation detection device and deformation detection method

Country Status (2)

Country Link
JP (1) JP6548857B1 (en)
WO (1) WO2019049316A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112614115B (en) * 2020-12-28 2024-03-26 中国第一汽车股份有限公司 Power battery water seepage monitoring method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004264237A (en) * 2003-03-04 2004-09-24 Matsushita Electric Ind Co Ltd Crack detection device
JP4751991B2 (en) * 2005-07-20 2011-08-17 財団法人北九州産業学術推進機構 Method and apparatus for detecting and discriminating defects inside a tube
US8873837B2 (en) * 2011-08-04 2014-10-28 University Of Southern California Image-based crack detection
SG11201709275YA (en) * 2015-05-26 2017-12-28 Mitsubishi Electric Corp Detection apparatus and detection method

Also Published As

Publication number Publication date
JP6548857B1 (en) 2019-07-24
WO2019049316A1 (en) 2019-03-14

Similar Documents

Publication Publication Date Title
US20180255254A1 (en) Automatic lens flare detection and correction for light-field images
JP6469678B2 (en) System and method for correcting image artifacts
JP5825172B2 (en) Image determination apparatus, image determination method, and computer program for image determination
JP5768590B2 (en) Image processing apparatus, image processing method, and program
JP5870745B2 (en) Image processing apparatus, binarization threshold value calculation method, and computer program
JP2012073997A (en) Object tracking device, object tracking method, and program thereof
JP2011250013A (en) Image quality evaluation method, image quality evaluation apparatus, and program
JP6564284B2 (en) Image processing apparatus and image processing method
CN113888509A (en) Method, device and equipment for evaluating image definition and storage medium
JP6478639B2 (en) IMAGE PROCESSING APPARATUS, IMAGE PROCESSING METHOD, AND PROGRAM
JP2005345290A (en) Streak-like flaw detecting method and streak-like flaw detector
JP6548857B1 (en) Deformation detection device and deformation detection method
US20150145983A1 (en) Image acquisition device, image acquisition method, and computer-readable storage medium
JP2016164709A (en) Image processing device, imaging apparatus, and image processing program
JP6657622B2 (en) Image processing apparatus and image processing method
JP5927265B2 (en) Image processing apparatus and program
JP2017103756A (en) Image data processing apparatus and method
JP2006302115A (en) Object detection method and object detection device
JP2017162391A (en) Image processing method and image processing program
JP2017054431A (en) Image processing device, image processing method, and program
US10380463B2 (en) Image processing device, setting support method, and non-transitory computer-readable media
JP6105960B2 (en) Image processing apparatus, image processing method, and imaging apparatus
JP2018072942A (en) Image processing apparatus, image processing method, program, and storage medium
JP2017098900A (en) Image processing apparatus, image processing method, and program
JP6827778B2 (en) Image processing equipment, image processing methods and programs

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190312

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190312

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20190312

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20190418

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190625

R150 Certificate of patent or registration of utility model

Ref document number: 6548857

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250