JP2007102458A - Method for automatically drawing notice portion by image processing, device therefor and recording medium recording program - Google Patents

Method for automatically drawing notice portion by image processing, device therefor and recording medium recording program Download PDF

Info

Publication number
JP2007102458A
JP2007102458A JP2005291071A JP2005291071A JP2007102458A JP 2007102458 A JP2007102458 A JP 2007102458A JP 2005291071 A JP2005291071 A JP 2005291071A JP 2005291071 A JP2005291071 A JP 2005291071A JP 2007102458 A JP2007102458 A JP 2007102458A
Authority
JP
Japan
Prior art keywords
image
image processing
processing flow
original
individuals
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
JP2005291071A
Other languages
Japanese (ja)
Other versions
JP4581090B2 (en
Inventor
Kei Kawamura
圭 河村
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.)
Yamaguchi University NUC
Original Assignee
Yamaguchi University NUC
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 Yamaguchi University NUC filed Critical Yamaguchi University NUC
Priority to JP2005291071A priority Critical patent/JP4581090B2/en
Publication of JP2007102458A publication Critical patent/JP2007102458A/en
Application granted granted Critical
Publication of JP4581090B2 publication Critical patent/JP4581090B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To dispense with work for removing an image element except a notice portion from an image including a noise element except the notice portion photographed so as to inspect an abnormal state such as a crack of a concrete structure to visually confirm the abnormal state of the notice portion. <P>SOLUTION: In this method, an objective image wherein the image element except the notice portion is deleted from a known original image is created. Data on an individual as an optimized image processing flow imparting an image most approximate to the objective image obtained by applying evolutionary algorithm to the original image, and image characteristic data showing a characteristic of the known original image are stored as data corresponding to the known image about each of a plurality of original images to form a database. The original image most approximate to an unknown original image in the database is selected by performing comparison with image characteristic data of the unknown original image, and image processing to the unknown image is performed by the image processing flow shown by the optimized individual about the selected original image to obtain an image wherein the notice portion is drawn. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、画像処理による画像中の注目部分を自動的に描出する方法及び装置に関し、より詳細には、進化的アルゴリズム(遺伝的アルゴリズム、免疫アルゴリズム)を適用したデジタル画像処理の手法による注目部分の描出、検出の方法及び装置に関する。   The present invention relates to a method and apparatus for automatically drawing a target portion in an image by image processing, and more particularly, a target portion by a digital image processing technique to which an evolutionary algorithm (genetic algorithm, immune algorithm) is applied. The present invention relates to a method and an apparatus for drawing and detecting the image.

画像中の注目部分を描出する手法を適用する実際的な例として、例えばコンクリート構造物におけるひび割れ等の変状を検出することがあげられる。コンクリート構造物は建造物、交通・輸送の設備等、社会的、経済的発展の基幹となるものであり、耐腐食性があり、耐久性に優れていると言えるが、経年劣化、地震や衝突等による損傷によりその性能が失われることもある。そのため、コンクリート構造物は定期的な検査、詳細調査が行われ、その結果に基づいて劣化診断、対策が行われる。点検に際して、目視と打診により変状を確認、記録するという方法が用いられているが、このような目視、打診による点検作業は専門的知識、熟練を要するものであり、そのような専門技術者の確保が次第に困難になり、対象とされる構造物の増加、大規模化とともに、点検作業の量、処理データ量も膨大になるという問題が生じている。   As a practical example of applying a technique for drawing a portion of interest in an image, for example, detecting a deformation such as a crack in a concrete structure can be cited. Concrete structures are the foundation of social and economic development for buildings, transportation and transportation facilities, etc., and are said to be corrosion resistant and highly durable. The performance may be lost due to damage caused by the above. Therefore, the concrete structure is regularly inspected and detailed surveys are performed, and deterioration diagnosis and countermeasures are performed based on the results. At the time of inspection, a method of checking and recording the deformation by visual inspection and percussion is used, but such inspection operation by visual inspection and percussion requires specialized knowledge and skill, and such an expert engineer. As the number of structures to be processed increases and the scale increases, the amount of inspection work and the amount of processing data increase.

このような目視、打診による点検作業に対して、画像処理の手法によりコンクリート構造物のひび割れを検出することについての提案がなされている。   For such inspection work by visual inspection and percussion, proposals have been made to detect cracks in concrete structures by image processing techniques.

画像処理によりひび割れの検査を行うために、画像データを処理し、コンクリートのひび割れのような変状と汚れや傷とを識別し、変状を抽出するという手法が用いられ、その例としてオペレータが画像上にひび割れをトレースする機能を用いるものがある。これはオペレータが変状部分を強調し、画像中に顕在する変状部分をトレーススケッチすることによってトレースした部分の長さや面積等を計測できるようにすることにより、目視点検、スケッチによる手法に比較して省力化を行うものである。オペレータが画像中に変状を顕在化させるためのトレースの作業、変状の長さや面積の測定における作業等が依然として残る。また、パターン認識の手法を用いる例があるが、パターン認識を行うまでの作業がやはり残存し、十分な省力化がなされるとは言えない。このような背景技術については、次のような文献に開示されている。
「PC架橋施工法2002年版」Vol.47,No.1,Jan.2005(社団法人プレストレスコンクリート技術協会発行、第81〜85頁) 特開2000−155011号公報 特開2004−239870号公報 非特許文献1には、デジタルカメラによるコンクリート構造物の画像に対し、エッジ強調処理等を用いて、ひび割れ等の損傷部の特徴を描出し、ひび割れ幅を計測することの可能性について一般的に示されているが、実際にどのように実施し得るか、どの程度の成果が得られるかについては特に示されていない。
In order to inspect cracks by image processing, a method is used in which image data is processed to identify deformations such as cracks in concrete, dirt and scratches, and the deformation is extracted. Some use a function to trace cracks on an image. This is because the operator can measure the length and area of the traced part by emphasizing the deformed part and tracing the sketched part of the deformed part that appears in the image. This is to save labor. The trace work for the operator to reveal the deformation in the image and the work for measuring the length and area of the deformation still remain. Although there is an example using a pattern recognition method, the work until pattern recognition still remains, and it cannot be said that sufficient labor saving is achieved. Such background art is disclosed in the following documents.
"PC cross-linking construction method 2002 version" Vol. 47, no. 1, Jan. 2005 (issued by the Prestressed Concrete Technology Association, pages 81-85) JP 2000-155011 A In JP-A-2004-239870, non-patent document 1 describes the feature of a damaged part such as a crack on an image of a concrete structure using a digital camera, and measures the crack width. However, there is no specific indication of how it can actually be implemented and how much results can be achieved.

特許文献1には、位置決めのためにプリント板に設けられたアライメントマークのような対象となるマーキングの位置計測に際し、設定されたテンプレートと探索領域を用いて、フィルタ処理の種類と順番、間引き率のパラメータをサンプル画像に適応し、遺伝的アルゴリズムを用いてパラメータの最適化することが示されているが、コンクリート構造物の検査におけるひび割れ等の不規則な形状を示す変状を描出する際の画像処理に適用することは意図されていない。   In Patent Document 1, in measuring the position of a target marking such as an alignment mark provided on a printed board for positioning, using a set template and a search area, the type and order of filter processing, and a thinning rate are disclosed. It has been shown that the parameters are adapted to the sample image and the parameters are optimized using a genetic algorithm. However, in the inspection of concrete structures, it is difficult to draw irregularities such as cracks. It is not intended to be applied to image processing.

特許文献2には、液晶表示画面のシミのような画面欠陥の検査において、画面欠陥の状態に合わせてフィルタ構成数値を遺伝的アルゴリズムを用いて自動計算させることにより空間フィルタを作成して用いることが示されている。この場合画面欠陥を含む画像の画像処理を行う空間フィルタを遺伝的アルゴリズムを用いて作成するのであるが、散在する画像欠陥の位置、大きさ、個数等を評価することを意図しており、このような手法をコンクリート構造物の検査におけるひび割れ等の不規則な形状を示す変状を描出する際の画像処理に適用することはできない。   In Patent Document 2, in the inspection of a screen defect such as a stain on a liquid crystal display screen, a spatial filter is created and used by automatically calculating a filter configuration value using a genetic algorithm in accordance with the state of the screen defect. It is shown. In this case, a spatial filter that performs image processing of an image including a screen defect is created using a genetic algorithm, but it is intended to evaluate the position, size, number, etc. of scattered image defects. Such a technique cannot be applied to image processing when rendering deformations showing irregular shapes such as cracks in the inspection of concrete structures.

従来の技術において、コンクリート構造物のひび割れのような変状を検査するような場合に、撮影された画像に対して、目視により変状を確認するという作業が不可避であり、コンクリート構造物における変状以外の汚れ等のノイズ要素を含む多数の画像についてこのような作業を行うのには十分な経験と多くの労力、時間が必要であった。そのため、このように画像中に注目部分以外のノイズ要素が含まれる場合に、注目部分以外の画像要素を除去して注目部分を描出することが望まれていた。   In the conventional technology, when inspecting deformation such as cracks in a concrete structure, it is inevitable to visually check the captured image for deformation. In order to perform such work on a large number of images including noise elements such as dirt other than the shape, sufficient experience, a lot of labor and time are required. Therefore, when a noise element other than the target portion is included in the image as described above, it has been desired to draw the target portion by removing the image elements other than the target portion.

本発明は、前述した課題を解決すべくなしたものであり、各々が画像処理フローを表す複数の個体を初期設定することと、
該複数の個体に対して各個体の表す画像処理フローにより与えられた画像の画像処理した際の優劣性を示す適応度をあらかじめ設定した評価関数を用いて求めることと、
前記複数の個体に対し前記評価関数に基づいて適応度がより高くなるように新たな複数の個体を生成する過程を反復して適応度が最も高くなる複数の個体を得るように最適化処理を行うことと、
とからなる遺伝的アルゴリズムを適用して得られた複数の個体を用いた画像処理フローにより画像中の注目部分以外の画像要素を削除し注目部分を自動描出する方法であって、
既知の原画像に対して注目部分以外の画像要素を削除した目的画像を作成しておき、該原画像に対して遺伝的アルゴリズムを適用して得られた目的画像に最も近似した画像を与える最適化された画像処理フローを表す複数の個体を生成するとともに、該既知の原画像の特徴を示す画像特徴データを生成し、該複数の個体のデータ及び該画像特徴データを前記複数の既知の画像に対応するデータとして蓄積することを複数の原画像について行いデータベースを形成することと、
注目部分を描出すべき未知の原画像に対してその画像特徴データを前記データベースに蓄積された複数の原画像の特徴データと比較して前記データベースにおける最も近似した原画像を選択することと、
該選択された原画像についての最適化された個体の表す画像処理フローにより前記未知の画像に対する画像処理を行って注目部分を描出した画像を得ることと、
からなるようにしたものである。
The present invention has been made to solve the above-mentioned problems, and initializing a plurality of individuals each representing an image processing flow;
Obtaining a fitness value indicating superiority or inferiority when image processing is performed on an image given by an image processing flow represented by each individual for the plurality of individuals using a preset evaluation function;
An optimization process is performed so as to obtain a plurality of individuals having the highest fitness by repeating a process of generating a plurality of new individuals so that the fitness becomes higher based on the evaluation function for the plurality of individuals. To do and
An image processing flow using a plurality of individuals obtained by applying a genetic algorithm consisting of and automatically deleting a target part by deleting image elements other than the target part in the image,
Create an objective image with the image elements other than the part of interest removed from the known original image, and give an image that most closely approximates the target image obtained by applying a genetic algorithm to the original image And generating a plurality of individuals representing the converted image processing flow, generating image feature data indicating features of the known original image, and using the plurality of known data and the image feature data of the plurality of individuals To store data as data corresponding to a plurality of original images to form a database,
Comparing the image feature data of an unknown original image to be drawn of interest with the feature data of a plurality of original images stored in the database, and selecting the closest original image in the database;
Obtaining an image depicting a portion of interest by performing image processing on the unknown image according to an image processing flow representing the optimized individual for the selected original image;
It is made up of.

また、本発明は、各々が画像処理フローを表す複数の抗体を初期設定することと、
該複数の抗体に対して各個体の表す画像処理フローにより与えられた画像の画像処理した際の優劣性を示す親和度をあらかじめ設定した評価関数を用いて求めることと、
前記複数の抗体に対し前記評価関数に基づいて親和度がより高くなるように新たな複数の抗体を生成する過程を反復して親和度が最も高くなる複数の抗体を得るように最適化処理を行うことと、
とからなる免疫アルゴリズムを適用して得られた複数の抗体を用いた画像処理フローにより画像中の注目部分以外の画像要素を削除し注目部分を自動描出する方法であって、
既知の原画像に対して注目部分以外の画像要素を削除した目的画像を作成しておき、該原画像に対して免疫アルゴリズムを適用して得られた目的画像に最も近似した画像を与える最適化された画像処理フローを表す複数の抗体を生成するとともに、該既知の原画像の特徴を示す画像特徴データを生成し、該複数の抗体のデータ及び該画像特徴データを前記複数の既知の画像に対応するデータとして蓄積することを複数の原画像について行いデータベースを形成することと、
注目部分を描出すべき未知の原画像に対してその画像特徴データを前記データベースに蓄積された複数の原画像の特徴データと比較して前記データベースにおける最も近似した原画像を選択することと、
該選択された原画像についての最適化された抗体の表す画像処理フローにより前記未知の画像に対する画像処理を行って注目部分を描出した画像を得ることと、
からなるようにしてもよい。
The present invention also includes initializing a plurality of antibodies each representing an image processing flow;
Obtaining an affinity indicating superiority when image processing is performed on an image given by an image processing flow represented by each individual for the plurality of antibodies using a preset evaluation function;
An optimization process is performed so as to obtain a plurality of antibodies having the highest affinity by repeating a process of generating a plurality of new antibodies so that the affinity becomes higher based on the evaluation function for the plurality of antibodies. To do and
An image processing flow using a plurality of antibodies obtained by applying an immunity algorithm consisting of:
Optimization that creates a target image by deleting image elements other than the part of interest from a known original image, and gives an image that most closely approximates the target image obtained by applying an immunization algorithm to the original image Generating a plurality of antibodies representing the processed image processing flow, generating image feature data indicating characteristics of the known original image, and converting the plurality of antibody data and the image feature data into the plurality of known images Performing a plurality of original images to be stored as corresponding data to form a database;
Comparing the image feature data of an unknown original image to be drawn of interest with the feature data of a plurality of original images stored in the database, and selecting the closest original image in the database;
Obtaining an image depicting a target portion by performing image processing on the unknown image according to an image processing flow represented by the optimized antibody for the selected original image;
You may make it consist of.

本発明は、このような注目部分を自動描出することをコンピュータ上で実行するためのプログラムを記録した記録媒体としてもよい。   The present invention may be a recording medium on which a program for executing such automatic drawing of the attention portion on a computer is recorded.

また、本発明は、画像を取り込み画像特徴データを抽出する手段と、
各々が画像処理フローを表す複数の個体に対して各個体の表す画像処理フローにより与えられた画像の画像処理した際の優劣性を示す適応度をあらかじめ設定した評価関数を用いて求め、前記複数の個体に対し前記評価関数に基づいて適応度がより高くなるように新たな複数の個体を生成する過程を反復して適応度が最も高くなる複数の個体を得るように最適化処理を行う遺伝的アルゴリズムを実行する手段と、
既知の原画像に対して注目部分以外の画像要素を削除した目的画像を作成しておき、該原画像に対して遺伝的アルゴリズムを適用して得られた目的画像に最も近似した画像を与える最適化された画像処理フローを表す複数の個体を生成するとともに、該既知の原画像の特徴を示す画像特徴データを生成し、該複数の個体のデータ及び該画像特徴データを前記複数の既知の画像に対応するデータとして蓄積することを複数の原画像について行うことにより形成されたデータベースと、
注目部分を描出すべき未知の原画像に対してその画像特徴データを前記データベースに蓄積された複数の原画像の特徴データと比較して前記データベースにおける最も近似した原画像を選択する手段と、
該選択された原画像についての最適化された個体の表す画像処理フローにより前記未知の画像に対する画像処理を行って注目部分を描出した画像を得る手段と、
からなる注目部分を自動描出する装置としてもよい。
The present invention also includes means for capturing an image and extracting image feature data;
Obtaining a plurality of individuals each representing an image processing flow by using an evaluation function set in advance to indicate fitness indicating superiority or inferiority when the image given by the image processing flow represented by each individual is processed; Genetics for performing optimization processing to obtain a plurality of individuals having the highest fitness by repeating a process of generating a plurality of new individuals so that the fitness of the individual is higher based on the evaluation function A means of executing a genetic algorithm;
Create an objective image with the image elements other than the part of interest removed from the known original image, and give an image that most closely approximates the target image obtained by applying a genetic algorithm to the original image And generating a plurality of individuals representing the converted image processing flow, generating image feature data indicating features of the known original image, and using the plurality of known data and the image feature data of the plurality of individuals A database formed by performing a plurality of original images to be stored as data corresponding to
Means for comparing the image feature data of an unknown original image to be drawn of interest with the feature data of a plurality of original images stored in the database, and selecting the closest original image in the database;
Means for performing image processing on the unknown image by an image processing flow representing the optimized individual for the selected original image to obtain an image depicting a target portion;
It is good also as an apparatus which draws the attention part which consists of automatically.

また、本発明は、画像を取り込み画像特徴データを抽出する手段と、
各々が画像処理フローを表す複数の抗体に対して各抗体の表す画像処理フローにより与えられた画像の画像処理した際の優劣性を示す親和度をあらかじめ設定した評価関数を用いて求め、前記複数の個体に対し前記評価関数に基づいて親和度がより高くなるように新たな複数の抗体を生成する過程を反復して親和度が最も高くなる複数の抗体を得るように最適化処理を行う免疫アルゴリズムを実行する手段と、
既知の原画像に対して注目部分以外の画像要素を削除した目的画像を作成しておき、該原画像に対して免疫アルゴリズムを適用して得られた目的画像に最も近似した画像を与える最適化された画像処理フローを表す複数の抗体を生成するとともに、該既知の原画像の特徴を示す画像特徴データを生成し、該複数の抗体のデータ及び該画像特徴データを前記複数の既知の画像に対応するデータとして蓄積することを複数の原画像について行うことにより形成されたデータベースと、
注目部分を描出すべき未知の原画像に対してその画像特徴データを前記データベースに蓄積された複数の原画像の特徴データと比較して前記データベースにおける最も近似した原画像を選択する手段と、
該選択された原画像についての最適化された抗体の表す画像処理フローにより前記未知の画像に対する画像処理を行って注目部分を描出した画像を得る手段と、
からなる注目部分を自動描出する装置としてもよい。
The present invention also includes means for capturing an image and extracting image feature data;
A plurality of antibodies each representing an image processing flow are obtained by using an evaluation function set in advance for an affinity indicating superiority or inferiority when the image given by the image processing flow represented by each antibody is processed, Immunization is performed so that a plurality of antibodies having the highest affinity are obtained by repeating the process of generating a plurality of new antibodies so that the affinity becomes higher based on the evaluation function. Means for executing the algorithm;
Optimization that creates a target image by deleting image elements other than the part of interest from a known original image, and gives an image that most closely approximates the target image obtained by applying an immunization algorithm to the original image Generating a plurality of antibodies representing the processed image processing flow, generating image feature data indicating characteristics of the known original image, and converting the plurality of antibody data and the image feature data into the plurality of known images A database formed by performing a plurality of original images to be stored as corresponding data;
Means for comparing the image feature data of an unknown original image to be drawn of interest with the feature data of a plurality of original images stored in the database, and selecting the closest original image in the database;
Means for performing image processing on the unknown image by an image processing flow represented by the optimized antibody for the selected original image to obtain an image depicting a target portion;
It is good also as an apparatus which draws the attention part which consists of automatically.

本発明の方法および装置において、画像中の注目部分は、コンクリート構造物の変状としてのひび割れとしてもよい。   In the method and apparatus of the present invention, the portion of interest in the image may be a crack as a deformation of the concrete structure.

本発明により、複数のあらかじめ選択された原画像に対して遺伝的アルゴリズムまたは免疫アルゴリズムのような進化的アルゴリズムを適用して得られた画像処理フローをデータベースとして蓄積しておき、未知の画像に対して、複数の原画像から最も類似した原画像を選択しその原画像に対する画像処理フローにより未知の画像の画像処理を行って対象物の変状のような画像中の注目部分が自動的に描出された画像を得ることができ、コンクリート構造物のひび割れのような変状を目視により確認とするというよう経験、労力、時間を要する作業を省くことができて、作業能率が格段に向上する。   According to the present invention, an image processing flow obtained by applying an evolutionary algorithm such as a genetic algorithm or an immune algorithm to a plurality of preselected original images is accumulated as a database, and an unknown image is Then, the most similar original image is selected from a plurality of original images, and an unknown image is processed by an image processing flow for the original image to automatically draw a noticed portion in the image such as the deformation of the object. It is possible to obtain a processed image, and it is possible to omit work that requires experience, labor, and time, such as checking a deformation such as a crack of a concrete structure by visual observation, and the work efficiency is remarkably improved.

本発明は、例えばコンクリート構造物を撮影したデジタル画像に対し画像処理を行って、ひび割れでない要素を除去し、注目部分としてのひび割れ自体が描出された画像を形成するための最適な画像処理のフローを遺伝的アルゴリズムを用いて形成するものとして具体化されるものであり、これを実現するために不可欠な進化的アルゴリズムのうち、遺伝的アルゴリズムについて概略説明する。   The present invention, for example, performs image processing on a digital image obtained by photographing a concrete structure, removes elements that are not cracked, and forms an image in which the crack itself as a target portion is drawn. Of the evolutionary algorithm indispensable for realizing this, the genetic algorithm will be outlined.

〔遺伝的アルゴリズム〕 遺伝的アルゴリズム(GA)は、自然界の生物システムの遺伝と自然選択による適応過程、進化のメカニズムに倣ったアルゴリズムであり、自然淘汰、交叉、突然変異などの特徴的操作を用いて新たな個体を生成し、実用解ないし最適解を高速に見出す手法である。 [Genetic algorithm] The genetic algorithm (GA) is an algorithm that imitates the adaptation process and evolution mechanism of inheritance and natural selection of natural biological systems, and uses characteristic operations such as natural selection, crossover, and mutation. This is a technique for generating a new individual and finding a practical solution or an optimum solution at high speed.

GAでは、生物学的、遺伝学的な概念を例えば次のように対応させて用いる。
個体:個々の探索点
環境:与えられた問題
世代:ある時刻における個体集団を構成する個体群
染色体:個体のもつ遺伝情報を記述したもの
遺伝子:染色体の基本構成要素であり、染色体がビット列であれば0または1
生殖:子孫(後世代)の個体の生成
淘汰:劣った個体を選択して淘汰する過程
適応度:環境への適合性の高さを示す個体の評価度
交叉:生殖における子孫の染色体の生成方法
突然変異:生殖の際に遺伝子に生じるランダムな変更
GAによる処理手順として、図1に示される単純GA(SGA)の処理手順について説明する。
(1)初期個体の生成
N個の個体I(1≦i≦N)から生成される初期個体集団を生成する。初期母集団とも呼ばれる。対象とする探索空間の最適解の存在範囲などについての予備知識がない通常の場合、個体の染色体をランダムに設定する。
(2)適応度の計算
N個の個体I(1≦i≦N)に対して適応度f(I)を求める。適応度はどれだけその個体が優れているかを示したもので、値が大きいほど優れた個体となる。一般に、あらかじめ定めておいた評価関数を用いて各個体ごとに求める。
(3)選択
SGAでは適応度に基づいて劣った個体を淘汰して新しい個体を補う自然淘汰の操作をこの処理で表現する。N個の個体I(1≦i≦N)から重複を許して新たにN個の個体を選択する。この際個体を選択する1回の試行で適応度f(I)の個体Iが選ばれる確率P(I)は次式で表される。
In GA, biological and genetic concepts are used in correspondence with each other as follows, for example.
Individual: Individual search point environment: Given problem generation: Individual group constituting individual population at a certain time Chromosome: Describes genetic information of individual gene: Basic component of chromosome, whether chromosome is bit string 0 or 1
Reproduction: Generation of offspring (later generation) individuals 淘汰: Process of selecting and inferior inferior individuals Fitness: Evaluation of individuals showing high suitability to the environment Crossover: Method for generating progeny chromosomes in reproduction Mutation: Random changes that occur in genes during reproduction A simple GA (SGA) processing procedure shown in FIG. 1 will be described as a GA processing procedure.
(1) Generation of initial individuals An initial individual population generated from N individuals I i (1 ≦ i ≦ N) is generated. Also called the initial population. In the normal case where there is no prior knowledge about the existence range of the optimal solution in the target search space, the individual chromosome is set at random.
(2) Calculation of fitness A fitness f (I i ) is obtained for N individuals I i (1 ≦ i ≦ N). The fitness indicates how good the individual is. The higher the value, the better the individual. In general, it is determined for each individual using a predetermined evaluation function.
(3) Selection In SGA, a natural selection operation that compensates for a new individual by deceiving an inferior individual based on fitness is expressed by this processing. Duplicate is allowed from N individuals I i (1 ≦ i ≦ N), and new N individuals are selected. At this time, the probability P (I i ) that the individual I i having the fitness f (I i ) is selected in one trial for selecting the individual is expressed by the following equation.

Figure 2007102458
このようにその個体の適応度が高いほど、個体が選択される確率は適応度が高く、適応度に基づく自然淘汰であると言える。
(4)交叉
適応度が高い個体を次世代に残すとともに、それらをもとにして新しい個体(探索点)を発生させる必要がある。これはGAの本質的部分であり、生物が進化するように最適解を表す個体の一部分を持った個体同士が交叉すれば、より最適解に近い個体が得られるという考えに基づいている。SGAでは選択後のN個の個体をランダムに2つずつ選んでペアを作る。そして交叉率(生起確率)に基づいて、そのペアを交叉させるか否かを決定する。交叉させることが決まったペアについては、それらの染色体を交叉させて新しい染色体を作り、それらによってもとの染色体を置き換える処理を行う。交叉法としては、2つの個体の遺伝子型のランダムに選んだ位置に交差点が設定され、その点で遺伝子型を2つに切り後半部分を入れ換えることによって子孫の遺伝子型が生成される1点交叉が典型的であるが、ほかにも交叉位置を2点にした2点交叉、交叉位置を3点以上にした多点交叉、遺伝子ごとにいずれかの親の対応遺伝子をそれぞれ確率p,1−pで選択する一様交叉などがある。図2に、(a)1点交叉、(b)2点交叉、(c)一様交叉の例を示す。
(5)突然変異
染色体の交叉の後、全個体の染色体の全遺伝子に対して非常に低い生起確率(突然変異率)に基づいて、その遺伝子をランダムに対立遺伝子に置き換える処理が突然変異であり、その例を図2(d)に示す。例えば、ビット列で表現される染色体の場合、そのビットを反転させる。突然変異の目的は
a.探索空間内の探索範囲を限定してしまうことの回避
b.局所解からの脱出
初期個体の生成方法によっては、交叉だけでは絶対に生じない遺伝子型が生じることがある。例えば、初期個体群のある遺伝子座の遺伝子が全て0であった場合、通常の交叉ではその遺伝子座の遺伝子を1にすることは不可能である。また、進化過程の早い時期において個体集団が局所解に収束してしまうような場合に、突然変異によって生成された染色体がもとになって局所解から抜け出し、再び最適解を目指すようにすることが可能になる。
(6)終了判定
選択、交叉、突然変異といった操作によって、次世代のN個の個体が確定された。これらの適応度を求め、個体集団があらかじめ定められた終了基準を満たしていれば全ての処理を終了し、満たしていなければ選択の処理に戻る。終了のための評価基準としては
a.世代数>しきい値
b.適応度の上昇率<しきい値
c.個体集団中の最大適応度>しきい値
d.個体集団の平均適応度>しきい値
などがある。
〔画像処理の手法〕 本発明では画像処理によりコンクリート構造物のひび割れのような変状の描出を行うのであるが、その場合の画像処理フローについて説明する。なお、コンクリート構造物のひび割れを画像中の注目部分の例として説明するが、本発明による手法は、他に遊離石灰、コンクリートの剥離、コンクリートの剥落、錆汁、鉄筋の露出のような、種々の変状を注目部分としても同様に適用されるものである。
Figure 2007102458
Thus, it can be said that the higher the fitness level of the individual, the higher the fitness of selecting the individual, and natural selection based on the fitness level.
(4) Crossover It is necessary to leave individuals with high fitness in the next generation and generate new individuals (search points) based on them. This is an essential part of GA, and is based on the idea that an individual closer to the optimal solution can be obtained if individuals having a part of the individual representing the optimal solution cross over so that the organism evolves. In SGA, N individuals after selection are randomly selected two by two to make a pair. Based on the crossover rate (occurrence probability), it is determined whether or not to cross the pair. For a pair that has been determined to be crossed, the chromosomes are crossed to create a new chromosome, and the original chromosome is replaced by them. As a crossover method, an intersection is set at a randomly selected position of the genotypes of two individuals, and the genotype of the offspring is generated by switching the genotype into two at that point and replacing the latter half. In other cases, two-point crossover with two crossover positions, multipoint crossover with three or more crossover positions, and the probability of p, 1- There is a uniform crossover selected by p. FIG. 2 shows examples of (a) one-point crossover, (b) two-point crossover, and (c) uniform crossover.
(5) Mutation After the crossover of chromosomes, the process of randomly replacing alleles with alleles based on a very low probability of occurrence (mutation rate) for all genes on the chromosomes of all individuals is mutation. An example thereof is shown in FIG. For example, in the case of a chromosome represented by a bit string, the bit is inverted. The purpose of the mutation is a. Avoiding limiting the search range in the search space b. Escape from local solutions Depending on how the initial individuals are generated, genotypes that never occur by crossover alone may occur. For example, if all genes at a certain locus in the initial population are 0, it is impossible to set the gene at that locus to 1 by normal crossover. In addition, when an individual population converges to a local solution at an early stage of the evolution process, it is necessary to escape from the local solution based on the chromosomes generated by the mutation and aim for the optimal solution again. Is possible.
(6) Termination determination Next generation N individuals were determined by operations such as selection, crossover, and mutation. These fitness values are obtained, and if the individual group satisfies a predetermined termination criterion, all the processes are terminated, and if not, the process returns to the selection process. Evaluation criteria for termination are: a. Number of generations> Threshold value b. Increase rate of fitness <threshold c. Maximum fitness in population> threshold d. Average fitness of individual population> threshold.
[Image Processing Method] In the present invention, the deformation such as a crack of a concrete structure is drawn by image processing. The image processing flow in that case will be described. Note that cracks in the concrete structure will be described as an example of an attention part in the image. However, the method according to the present invention can be applied to various other methods such as free lime, concrete peeling, concrete peeling, rust juice, and rebar exposure. The above-mentioned deformation is also applied to the attention part.

画像処理のなされる画像はコンクリート構造物等の対象物をデジタルカメラ等により撮影し、コンピュータに取り込まれる。取り込まれた画像に対し、デジタルカメラの光学的特性や撮影状況に対する補正(レンズの収差の補正、あおり補正等)を行い、分割して撮影した場合には画像を合成するというような幾何学的補正を行う。   An image to be subjected to image processing is captured by a digital camera or the like to capture an object such as a concrete structure. The captured image is corrected for the optical characteristics and shooting conditions of the digital camera (lens aberration correction, tilt correction, etc.), and when the images are divided and taken, the image is synthesized. Make corrections.

幾何学的補正のなされた画像に対して、ひび割れ等の変状を描出するための画像処理を行う。ひび割れ描出のための画像処理の手順は、前処理→2値化→2値画像処理という段階で行うのがよいと考えられる。前処理は画像中の注目部分であるひび割れを鮮明化する処理であり、フィルタ処理、明るさやコントラストの調整等を行う。フィルタ処理には、画像をぼかすことにより画像に含まれるノイズを除去する平滑化フィルタ(加重平均フィルタ、メディアンフィルタ、エッジ保存フィルタ等)、画像中のある領域と他の領域との境界としてのエッジを検出し画像の特徴を表すための特徴描出フィルタ(微分フィルタ、先鋭化フィルタ、移動差分フィルタ、シェーディング補正等)があり、これらを選択的に組み合わせて用いる。   Image processing for rendering deformations such as cracks is performed on the geometrically corrected image. It is considered that the image processing procedure for drawing a crack is preferably performed at the stage of preprocessing → binarization → binary image processing. The pre-processing is processing for sharpening cracks that are the target portion in the image, and performs filter processing, adjustment of brightness and contrast, and the like. Filter processing includes a smoothing filter (weighted average filter, median filter, edge preserving filter, etc.) that removes noise contained in the image by blurring the image, and an edge as a boundary between one region and another region in the image There are feature drawing filters (differential filter, sharpening filter, moving difference filter, shading correction, etc.) for detecting the image and representing the feature of the image, and these are used in combination selectively.

前処理の行われた画像においてひび割れのような注目部分とそれ以外の部分とを分離するために2値化処理を行う。2値化は輝度等の特定のパラメータについての閾値処理により行う。2値画像処理は、2値化処理のされた画像に対し、2値化によってひび割れ等の注目部分とそれ以外の画像要素とが完全には分離されないことに対する改善処理として行うものであり、画像をいくつかの連結した部分に分けてそれぞれにラベルを割り当てるラベリング、孤立点の除去、細線化、彩度によるノイズ除去、継ぎ目の除去等がある。   A binarization process is performed in order to separate an attention part such as a crack from the pre-processed image and other parts. Binarization is performed by threshold processing for specific parameters such as luminance. The binary image processing is performed as an improvement process for the fact that the binarized image does not completely separate a target portion such as a crack and other image elements due to the binarization. Are divided into several connected parts, and a label is assigned to each of the parts, isolated point removal, thinning, noise removal by saturation, seam removal, and the like.

〔遺伝的アルゴリズムを用いた画像処理フローの作成〕
画像処理フローの作成にGAを適用することを考える。この画像処理は、コンクリート構造物を撮影したデジタル画像に対し画像処理を行って、ひび割れでない要素を除去し、ひび割れ自体が描出された画像を形成するために行うものであり、当初の撮影したデジタル画像からひび割れが描出できている目的画像を得るための画像処理手順とパラメータをGAの適用により最適なものとすることが必要になる。そこで、画像処理手順及びパラメータを遺伝子として表現し、GAによって各個体(画像処理フロー)を発生させ、各個体の画像処理フローに従って画像処理を行い、それにより得られた画像においてひび割れが描出できていれば適応度をより高く、ひび割れが描出できていなければ適応度を低くなるように設定する。適応度の高い処理フローが次世代に生き残り、適応度の低いフローは環境に適応できていないため淘汰されていく。生き残った適応度の高い処理フロー同士を交叉させてやることによって、よりひび割れが描出できる個体が生成される。これを繰り返し行うことによって最終的に最もひび割れが描出できる個体(画像処理フロー)が得られると考えられる。このように画像処理フローの作成にGAを適用するには、どのように染色体をコーディングするか、作成された画像処理フローをどのように評価するか、について決定する必要があり、これらについて説明する。
[Creation of image processing flow using genetic algorithm]
Consider applying GA to the creation of an image processing flow. This image processing is performed to remove the elements that are not cracked by performing image processing on the digital image obtained by photographing the concrete structure, and to form an image in which the crack itself is depicted. It is necessary to optimize the image processing procedure and parameters for obtaining a target image in which cracks can be drawn from the image by applying GA. Therefore, image processing procedures and parameters are expressed as genes, each individual (image processing flow) is generated by GA, image processing is performed according to the image processing flow of each individual, and cracks can be drawn in the obtained image. If so, the fitness level is set higher, and if the crack is not drawn, the fitness level is set low. Processing flow with high fitness survives to the next generation, and flow with low fitness cannot be adapted to the environment. By crossing the surviving processing flows with high fitness, individuals that can depict more cracks are generated. By repeating this, it is considered that an individual (image processing flow) that can finally draw the most cracks can be obtained. In order to apply GA to the creation of an image processing flow in this way, it is necessary to determine how to code the chromosome and how to evaluate the created image processing flow, which will be described. .

A.染色体のコーディング
コンクリート構造物の画像からひび割れを描出するための画像処理の手順として、「前処理」→「2値化処理」→「2値画像処理」という形が広く用いられており、本発明においてこの手順を広義の処理フローとして用い、広義の処理フローの形を崩さないように処理手法を選択する。GAを用いた画像処理フローの作成において、染色体は「前処理」→「2値化処理」→「2値画像処理」の形の画像処理フローについての遺伝子情報(0、1のビット列)として規定される。図3において、(a)は画像処理フローの例であり、(b)はその画像処理フローについてのコーディングの例を示すものであるが、染色体を示すビット列の形は、どのような画像処理フローの形を設定するかに応じたものとなる。図3(a)に示す画像処理フローでは、前処理としてメディアンフィルタ、鮮鋭化フィルタ、明るさ調整、コントラスト調整の各処理を行い、2値化処理として直接閾値指定法により閾値指定を行い、2値画像処理としてラベリング処理を行うものとなっている。2値化を行うときの閾値設定に関して、通常の2進数(バイナリーコード)を用いてもよいが、値が1異なる数値を遺伝子型に変換したときハミング距離が1となるグレイコードを用いれば局所探索能力の点では有利であると考えられる。これらの各処理に対して染色体を表すビット列において、1ないし数ビットが割り当てられている。染色体のコーディングに際して、ひび割れを描出するのにどのような処理が有効かを考慮して処理の組み合わせを選択することが重要である。また、遺伝子長(ビット長)が長くなると、最適化に要する時間が増大するので、実用上有効な処理の数、組み合わせを設定することも必要である。
A. Chromosome coding As an image processing procedure for drawing a crack from an image of a concrete structure, a form of “preprocessing” → “binarization processing” → “binary image processing” is widely used. This procedure is used as a processing flow in a broad sense, and a processing method is selected so as not to break the shape of the broad processing flow. In creating an image processing flow using GA, the chromosome is defined as gene information (0, 1 bit string) for the image processing flow in the form of “preprocessing” → “binarization processing” → “binary image processing”. Is done. In FIG. 3, (a) shows an example of an image processing flow, and (b) shows an example of coding for the image processing flow. The shape of a bit string indicating a chromosome is any image processing flow. It depends on whether the shape of is set. In the image processing flow shown in FIG. 3A, the median filter, the sharpening filter, the brightness adjustment, and the contrast adjustment are performed as preprocessing, and the threshold is specified by the direct threshold specification method as binarization processing. Labeling processing is performed as value image processing. Regarding the threshold setting when binarization is performed, an ordinary binary number (binary code) may be used, but if a numerical value having a different value is converted to a genotype, a gray code having a Hamming distance of 1 is used. It is considered advantageous in terms of search ability. For each of these processes, 1 to several bits are assigned in a bit string representing a chromosome. When coding a chromosome, it is important to select a combination of treatments in consideration of what kind of treatments are effective for drawing cracks. In addition, as the gene length (bit length) increases, the time required for optimization increases, so it is also necessary to set the number and combination of practically effective processes.

B.作成された画像処理フローの評価
GAにより画像中のひび割れ等の注目部分を描出する画像処理フローを最適化するプロセスは、図1に示される単純GA(SGA)で考えると、染色体(画像処理フローを表すビット列)をもつN個の個体をランダムに設定し、与えられた画像に対し各個体の画像処理フローに従って画像処理された画像がひび割れ等の注目部分をどの程度良好に描出し得たかを適応度として規定し、適応度が高くなるようにGAに従って個体を取捨選択することを反復し、最適化された画像処理フローを得ることになる。
B. Evaluation of the created image processing flow The process of optimizing the image processing flow for drawing the attention part such as cracks in the image by GA is the chromosome (image processing flow) when considered with the simple GA (SGA) shown in FIG. N individuals with a bit string representing the image) are randomly set, and how well the image processed according to the image processing flow of each individual for the given image is able to depict the attention part such as cracks. It is defined as the fitness level, and it is repeated to select individuals according to the GA so that the fitness level is high, and an optimized image processing flow is obtained.

GAでは、初期世代(0世代)の個体をランダムに作り、この初期世代の個体へ遺伝子操作(交叉や突然変異)を行い次世代を作る、さらに1世代の個体へ遺伝子操作を行う、というように繰り返し(世代交代)により、最適な個体(最適な画像処理フロー)を探索する。ここで、
a)GAでは、どの世代も同じ数の個体が作られる。すなわち、計算が終了するまで、各世代において、同じ数の個体が存在する。
b)GAでは、エリート保存という手法があり、適応度(評価値)が高いものは必ず次世代に残される。
c)GAでの計算は、決められた世代数の世代交代(最大世代数)を繰り返すと終了する。最終世代の個体はほぼ1つの個体(最も適応度の高かった個体)へ収束し、エリート個体(探索の中で最も適応度が高かったもの)が常に保存されている。
In GA, the initial generation (0th generation) individuals are randomly created, genetic manipulation (crossover and mutation) is performed on these early generation individuals to create the next generation, and further genetic manipulation is performed on one generation individuals. The optimum individual (optimum image processing flow) is searched by repeating (generation change). here,
a) In GA, the same number of individuals is created for every generation. That is, the same number of individuals exist in each generation until the calculation is completed.
b) In GA, there is a method of elite preservation, and a high fitness (evaluation value) is always left to the next generation.
c) The calculation in GA ends when the generation change (maximum generation number) of the determined number of generations is repeated. The individual of the last generation converges to almost one individual (the individual with the highest fitness), and the elite individual (the one with the highest fitness in the search) is always preserved.

このようにして最適解が得られるが、与えられた条件において、必ずしも結果として最適解に到っていないことは生じ得る。その場合、そのような条件下で得られた最も適応度の高いものを準最適解とする。   In this way, an optimal solution can be obtained, but under the given conditions, it may not necessarily reach the optimal solution as a result. In that case, the one with the highest fitness obtained under such conditions is set as a sub-optimal solution.

個体(画像処理フロー)を最適化しひび割れ画像を良好に描出するために、画像処理フローないしそれによる画像処理で生成された画像の評価手法が重要性を持つ。そこで、画像中の注目部分としてひび割れ画像の場合に、この画像処理フローの評価について考えると、図4(a)はコンクリート構造物を撮影した画像に対して最適な画像処理フローにより画像処理して得られた良好にひび割れを描出している画像である。これに対して図4(b)は同じ画像に他の何らかの画像処理を行って得られた画像であり、現実的にはこの画像は目標画像におけるひび割れ以外のノイズを含むものであり、あるいは目標画像に対して欠損が生じていることがあるが、このようなノイズ、欠損がより少なくなる画像処理フローがより好適なものであると言える。このことから、目標画像との一致の度合いを定量化するために、画像中のノイズ率(Noise/Back)と欠損率(Loss/Crack)を採り、評価関数を   In order to optimize an individual (image processing flow) and draw a cracked image satisfactorily, an image processing flow or an evaluation method of an image generated by image processing based on the image processing flow is important. Therefore, in the case of a cracked image as an attention part in the image, considering the evaluation of this image processing flow, FIG. 4 (a) is obtained by performing image processing with an optimal image processing flow for an image obtained by photographing a concrete structure. It is the obtained image which has drawn the crack well. On the other hand, FIG. 4B is an image obtained by performing some other image processing on the same image. In reality, this image includes noise other than cracks in the target image, or the target image. In some cases, the image has a defect, but it can be said that an image processing flow in which such noise and defect are reduced is more preferable. From this, in order to quantify the degree of coincidence with the target image, the noise rate (Noise / Back) and the loss rate (Loss / Cack) in the image are taken, and the evaluation function is calculated.

Figure 2007102458
として、画像処理フローの評価に用いる。好適な画像処理フローの場合、ノイズ率、欠損率がともに0に近く、評価関数は1に近い値となる。
(1)対話型GAによる手法
ここでひび割れ等の注目部分がどの程度良好に描出し得たかについての判断は、人が目視により行い、それ以外の処理をコンピュータ上で行うという最適化処理の形が対話型GAの手法である。どの程度良好に注目部分が描出されているかについての評価、判断は高度な識別力を要することであるのことからすれば、対話型GAは便宜的なものであるが、コンクリート構造物のような多量の画像を処理する場合には、多大の時間を要することになる。
(2)画像中の注目部分の自動抽出
画像中のひび割れ等の注目部分がどの程度良好に描出されているかについての人の判断自体をコンピュータ上で行うことは困難であるが、このような人の判断結果を累計的にデータベースとして蓄積しておき、これを利用して描出の評価、判断をコンピュータ上で行うことにより、注目部分の自動描出がなされる。
Figure 2007102458
Used to evaluate the image processing flow. In the case of a suitable image processing flow, both the noise rate and the loss rate are close to 0, and the evaluation function is close to 1.
(1) Method by interactive GA Here, the judgment of how well the attention part such as cracks could be drawn is a form of optimization processing in which a person makes a visual observation and performs other processing on a computer. Is the interactive GA technique. Interactive GA is convenient because it requires a high level of discriminating power to evaluate and judge how well the target part is drawn, but it does not look like a concrete structure. When processing a large amount of images, it takes a lot of time.
(2) Automatic extraction of the attention part in the image It is difficult for a person to judge how well the attention part such as a crack in the image is depicted on the computer. These judgment results are accumulated as a database in a cumulative manner, and the evaluation and judgment of rendering are performed on a computer using this database, so that the target portion is automatically rendered.

図5は、このような画像中の注目部分の自動描出を行うシステムの構成要素として画像処理フローをデータベースとして蓄積するフローを示すものである。画像処理フローを蓄積するための機材としては、画像を取り込む機能、取り込まれた画像の特徴を表す画像特徴データを生成する機能、図1に示されるSGAないしGAの処理を行い最適化された個体のデータを得る機能、画像特徴データおよび個体のデータを蓄積する記憶手段を備えたコンピュータシステムを用いる。画像特徴データは、複数の画像の近似性を判断するための指標となるデータであり、統計的なテクスチャ特徴の計算手法用いて各画像の特徴量を求める。この計算手法としては、濃度ヒストグラム法、同時正規行列法、差分統計量法等として知られる手法があり、これら複数の手法により各画像に対して算定される特徴量を画像の類似度判定のための画像特徴データとし、このデータの比較により画像の類似度を判定する。   FIG. 5 shows a flow of storing an image processing flow as a database as a component of a system that automatically draws a target portion in such an image. The equipment for accumulating the image processing flow includes an image capturing function, a function for generating image feature data representing the characteristics of the captured image, and an individual that has been optimized by performing SGA or GA processing shown in FIG. A computer system having a function for obtaining data, image feature data, and storage means for storing individual data is used. The image feature data is data serving as an index for determining the closeness of a plurality of images, and the feature amount of each image is obtained using a statistical texture feature calculation method. This calculation method includes a method known as a density histogram method, a simultaneous normal matrix method, a difference statistic method, and the like. The feature amount calculated for each image by these multiple methods is used to determine the similarity of images. The image similarity data is determined by comparing the data.

このような機能を有するコンピュータシステムを用いて、あらかじめひび割れを完全に描出している目標画像が得られている既知の原画像に対しGAを適用し、原画像に個体(画像処理フロー)を適用して得られる画像が目標画像に最も近似するように最適化する。その結果として得られた個体についての解を、その特定の原画像についての最適解としてデータベースに格納する。それとともに原画像が持つ画像特徴量をその原画像についての特定するためのデータとして原画像に対応して格納する。すなわち、ある特定の既知の原画像に対応して画像特徴量のデータと、最適解の個体(画像処理フロー)のデータとが格納される。この操作を複数の目標画像の得られている原画像に対して繰り返して行い、データベースを充実させていく。ここで、データベースの充実は重要であり、データを多く蓄積するほど自動描出に際して多様な特徴を持つ画像に対応できるようになる。   Using a computer system with such functions, GA is applied to a known original image from which a target image that has been fully drawn in advance is obtained, and an individual (image processing flow) is applied to the original image The image obtained in this way is optimized so as to approximate the target image most closely. The solution for the individual obtained as a result is stored in the database as the optimum solution for the specific original image. At the same time, the image feature quantity of the original image is stored in correspondence with the original image as data for specifying the original image. In other words, image feature amount data and data of an optimal solution individual (image processing flow) are stored corresponding to a specific known original image. This operation is repeated for the original images from which a plurality of target images are obtained, and the database is enriched. Here, the enhancement of the database is important, and the more data that is stored, the more images that can be used for automatic rendering.

図6は、図5に示されたフローにより形成された画像処理フローのデータベースを用いて未知の画像についてひび割れを自動描出するフローを示すものである。このための機材はデータベース形成時にものと同様の機能のものを用いればよい。蓄積されている既知の画像についての画像処理フローの最適解はその画像についての特徴量データをキーとして取り出せるようになっている。未知の画像についてひび割れを自動描出するためには、まずその未知の画像を読み取って、画像データを取り込み、その画像の特徴量データを取得する。この特徴量データをデータベースに蓄積されている既知の画像の特徴量データと比較しそれらの類似度から、最も近似したものを特徴量データを選択し、それに対応する個体(画像処理フロー)を未知の画像のひび割れを描出するための最適な画像処理フローとして画像処理を行い、ひび割れを描出する。このひび割れの自動描出は、ひび割れ画像からひび割れを描出するのに最適な画像処理フローが類似したひび割れ画像に対しても有効であることに基づいており、データベースに蓄積されていない未知のひび割れ画像に対しても、データベース内の最も画像特徴量が近似した画像についての画像処理フローを適用することによって良好にひび割れ画像が描出されることになる。データベースの作成の際には目標画像の設定、目標画像との類似性の判定を人が行う必要があるが、データベースが形成された後は、コンピュータの機能により自動的にひび割れが描出できる。   FIG. 6 shows a flow of automatically rendering a crack for an unknown image using the image processing flow database formed by the flow shown in FIG. For this purpose, equipment having the same function as that at the time of database formation may be used. The optimum solution of the image processing flow for the stored known image can be extracted using the feature amount data for the image as a key. In order to automatically draw a crack for an unknown image, first, the unknown image is read, image data is taken in, and feature amount data of the image is acquired. Compare this feature quantity data with the feature quantity data of the known image stored in the database, select the feature quantity data that is the most approximate from their similarity, and unknown the corresponding individual (image processing flow) Image processing is performed as an optimal image processing flow for rendering the cracks in the image, and the cracks are rendered. This automatic rendering of cracks is based on the fact that the optimal image processing flow for rendering cracks from crack images is also effective for similar cracked images, and it is possible to extract unknown crack images that are not stored in the database. On the other hand, a crack image can be satisfactorily rendered by applying an image processing flow for an image having the closest image feature amount in the database. When creating a database, it is necessary for a person to set a target image and determine similarity to the target image. However, after the database is formed, a crack can be drawn automatically by the function of the computer.

〔免疫アルゴリズムを用いた画像処理フローの作成〕
画像処理フローの最適化においてGAを適用した場合、解探索の初期段階で個体集団の多様性が失われる初期収束のような難点が起こり得るが、これに対する改善策として生体内のインテリジェントシステムである免疫システムに基づいた最適化手法としての免疫アルゴリズムを適用することが考えられる。そこで、免疫システムと免疫アゴリズムについて概略説明する。
[Creation of image processing flow using immune algorithm]
When GA is applied in the optimization of the image processing flow, there may be difficulties such as initial convergence in which the diversity of the individual population is lost at the initial stage of solution search. It is conceivable to apply an immune algorithm as an optimization method based on the immune system. Therefore, an outline of the immune system and immune algorithm will be described.

A.免疫システム
免疫システムは、生体内に浸入する未知の抗原に対応するため、抗体の再構築により抗原に対応する抗体を産生し、抗原を排除する生体関し防衛機構である。この抗原に対する一連の処理は免疫応答と呼ばれ、次のようなステップにより実現していると考えられる。
ステップ1:抗原の認識
生体内に浸入した抗原をリンパ系が認識し、免疫応答を開始する。
ステップ2:抗体の再構築
抗体産生細胞により、その抗原を排除し得る抗体を構築するために、選択・交叉・突然変異・増殖などによって再構築を行い、適切な抗体を産生する。
ステップ3:抗体による抗原の排除
浸入した抗原を分解・中和することで生体防御を行う。
ステップ4:排除に利用された抗体の記憶
一度排除した抗原に対しては、記憶細胞に記憶された抗体の記憶を用いることで素早い抗原排除を行う。
ステップ5:抗体の抑制
抗原排除のため、抗体が大量に産生された結果、生体内の抗体集団の多様性が失われたため、自己に対する免疫性を示し、大量に発生した抗体の産生を抑えることで多様性を維持する。
A. Immune System The immune system is a biological defense mechanism that eliminates an antigen by producing an antibody corresponding to the antigen by reconstructing the antibody in order to deal with an unknown antigen that enters the living body. A series of treatments for this antigen is called an immune response and is considered to be realized by the following steps.
Step 1: Recognition of antigen The lymphatic system recognizes an antigen that has entered the body and initiates an immune response.
Step 2: Reconstruction of antibody In order to construct an antibody capable of eliminating the antigen by an antibody-producing cell, the antibody is reconstructed by selection, crossover, mutation, proliferation, etc. to produce an appropriate antibody.
Step 3: Exclusion of antigen by antibody A biological defense is performed by degrading and neutralizing the invading antigen.
Step 4: Memory of Antibody Used for Exclusion Antigen that has been excluded once is quickly excluded by using the memory of the antibody stored in the memory cell.
Step 5: Suppression of antibodies As a result of antibody production in large quantities due to antigen exclusion, the diversity of antibody populations in the body has been lost. To maintain diversity.

免疫システムは、大別して次の3つの機構に分類される。
1)一次免疫応答
未知の抗原に対して行う抗原排除である。抗原排除に使用された有効な抗体は記憶細胞に格納される。
2)二次免疫応答
一度排除した抗原に対して行う抗原排除、一次免疫応答時に獲得した記憶細胞の活用により、より素早い抗原排除を実現する。
3)抑制機構
増えすぎた抗体の産生を抑制することで多様性を保持し、未知の膨大な抗原の浸入に備える。
The immune system is roughly classified into the following three mechanisms.
1) Primary immune response Antigen exclusion performed on an unknown antigen. Effective antibodies used for antigen exclusion are stored in memory cells.
2) Secondary immune response A faster antigen elimination is realized by the antigen elimination performed on the antigen once eliminated and the use of memory cells acquired at the time of the primary immune response.
3) Inhibition mechanism Diversity is maintained by suppressing the production of too many antibodies, and preparations are made for the invasion of unknown enormous antigens.

免疫システムは図7に表されるような形態である。免疫システムをひび割れの自動描出に当てはめて考えると、一次免疫応答は原画像(抗原)から目標画像に最も類似した画像を得るための画像処理手順(抗体)を求めることに相当し、二次免疫応答は画像特徴量の類似性(抗原の類似性)からデータベース(記憶細胞)に検索をかけることによって、過去に処理した画像処理手順(過去に処理した有効な個体)を用いて迅速に抗原を排除することに相当する。   The immune system is in the form as shown in FIG. When the immune system is applied to the automatic depiction of cracks, the primary immune response is equivalent to obtaining an image processing procedure (antibody) to obtain an image most similar to the target image from the original image (antigen). The response is performed by searching the database (memory cells) based on the similarity of image features (similarity of antigen), and using the image processing procedure processed in the past (effective individuals processed in the past) Equivalent to eliminating.

B.免疫アルゴリズム
免疫アルゴリズム(IA)は免疫システムのもつ多様性のある抗体の産生機構と、その自己調節機構に基づいた探索アルゴリズムである。GAとIAとでは、対応する概念に関して表1に示すような用語の違いがある。
B. Immune Algorithm Immune Algorithm (IA) is a search algorithm based on the production mechanism of diverse antibodies of the immune system and its self-regulatory mechanism. There is a difference in terms between GA and IA as shown in Table 1 regarding the corresponding concept.

Figure 2007102458
IAは、免疫システムの持つ多様性のある抗体の産生機構と、その自己調節機構を模した探索アルゴリズムであり、複数の最適解を探索することが可能である。IAの基本的なフローを図8に示す。それぞれの内容は次のようになる。
(1)初期抗体群の生成
抗原を入力情報として認識させた後、GAと同様に抗体を生成する。このとき、過去に有効な抗体を記憶細胞(データベース)から読み込み、初期抗体群を生成する。記憶細胞が存在しない、もしくは記憶細胞が抗体群の総数に満たないときには、抗体の各遺伝子をランダムに発生することによって初期抗体群を生成する。
(2)抗体間の親和度の計算
全ての抗体について他の全ての抗体との親和度を計算する。抗体間の親和度ayi,y
Figure 2007102458
IA is a search algorithm that imitates the production mechanism of various antibodies of the immune system and its self-regulation mechanism, and can search for a plurality of optimal solutions. The basic flow of IA is shown in FIG. The contents of each are as follows.
(1) Generation of initial antibody group After an antigen is recognized as input information, an antibody is generated in the same manner as GA. At this time, an antibody effective in the past is read from a memory cell (database) to generate an initial antibody group. When there are no memory cells or the memory cells are less than the total number of antibody groups, an initial antibody group is generated by randomly generating each gene of the antibody.
(2) Calculation of affinity between antibodies Calculate the affinity of all antibodies with all other antibodies. The affinity ay i, y between antibodies is

Figure 2007102458
で与えられる。ここで、Hi,jは抗体iと抗体jとの距離を表す。抗体間の距離はハミング距離を用いている。
(3)抗体と抗原との親和度の計算
全ての抗体について抗原との親和度(解の評価値)を計算する。
(4)終了判定
GAと同様に、あらかじめ設定した終了条件を満たせば計算を終了する。
(5)記憶細胞、サプレッサー細胞への分化
探索過程で得られた有効な抗体を記憶細胞とサプレッサー細胞に分化させる。この分化された記憶細胞が最適解の候補となる。まず、抗体iの濃度c
Figure 2007102458
Given in. Here, H i, j represents the distance between the antibody i and the antibody j. Hamming distance is used as the distance between antibodies.
(3) Calculation of affinity between antibody and antigen The affinity (evaluation value of the solution) with the antigen is calculated for all antibodies.
(4) End determination As with the GA, the calculation ends when a preset end condition is satisfied.
(5) Differentiation into memory cells and suppressor cells The effective antibody obtained in the search process is differentiated into memory cells and suppressor cells. These differentiated memory cells are candidates for the optimal solution. First, the concentration c i of antibody i is

Figure 2007102458
Figure 2007102458

Figure 2007102458
によって計算する。ここで、Tac1は抗体間の類似度の閾値であり、Nは抗体の総数である。つまり、抗体iと抗体jがTac1以上であれば、同一種類の抗体とみなす。そして、抗体の濃度cが閾値Tac2を超えた抗体を記憶細胞に分化させる。ただし、同世代に分化する記憶細胞の数は1つ以下とする。なお、記憶細胞の数には上限があり、記憶細胞の総数が上限に達した場合、それまでに保存してきた記憶細胞と分化した記憶細胞との親和度を計算し、その中で最も親和度の高い記憶細胞と入れ換えを行う。ただし、入れ換えは抗原との親和度が選択された記憶細胞よりも新たに分化した記憶細胞の方が高い場合にのみ行う。また、新たに分化した記憶細胞と同じ遺伝子をもつ抗体をサプレッサー細胞にも分化させる。
(6)抗体産生の促進と抑制
抗体産生の促進と抑制は以下の手順によって行われる。
1)抗体の中で抗原との親和度が低いものN/2個を自然消滅させる。
2)1)の操作で生き残った各抗体についてサプレッサー細胞との親和度を比較し、親和度の閾値を超えた抗体を消滅させる。
3)2)の操作で生き残った各抗体について次世代に残る期待値を
Figure 2007102458
Calculate by Here, Tac1 is a threshold of similarity between antibodies, and N is the total number of antibodies. That is, if antibody i and antibody j are equal to or higher than Tac1 , they are regarded as the same type of antibody. Then, the antibody having the antibody concentration c i exceeding the threshold T ac2 is differentiated into a memory cell. However, the number of memory cells that differentiate into the same generation is one or less. There is an upper limit on the number of memory cells, and when the total number of memory cells reaches the upper limit, the affinity between the memory cells that have been stored so far and the differentiated memory cells is calculated, and the highest affinity among them. Replace with high memory cells. However, the replacement is performed only when the newly differentiated memory cell has a higher affinity with the antigen than the selected memory cell. In addition, antibodies having the same gene as newly differentiated memory cells are also differentiated into suppressor cells.
(6) Promotion and suppression of antibody production Promotion and suppression of antibody production are performed by the following procedure.
1) N / 2 antibodies having a low affinity with an antigen are naturally extinguished.
2) Compare the affinity of each antibody surviving in the operation of 1) with suppressor cells, and eliminate the antibody exceeding the affinity threshold.
3) Expectation value remaining in the next generation for each antibody that survived the operation of 2)

Figure 2007102458
Figure 2007102458

Figure 2007102458
で与える。ここで、Tac3はサプレッサー細胞との類似度の閾値であり、N′は生き残っている抗体数、Sはサプレッサー細胞の総数、kは産生抑制力である。式(6)によって期待値を与えることにより、各抗体において抗原との親和度が高いほど次世代に残る確率が高く、サプレッサー細胞との親和度が高いほど次世代に残る確率が低くなるように設定される。サプレッサー細胞に反応する抗体の産生を抑制することによって同種類の記憶細胞の産生を防ぎ、複数解の探索効率を向上させる。
(7)抗体の産生
(6)における2)のステップによって消滅した抗体に代わる新しい抗体をランダムに発生させた遺伝子によって産生する。次に、現段階で生存しているN/2個の抗体から重複を許してN/4個のペアを作り、交叉させることによって新たにN/2個の抗体を産生する。なお、ペアを作るための抗体の選択は、期待値が高い抗体ほど高確率で選択されたものとする。また、産生したN/2個の抗体に対して突然変異を行う。ここで交叉と突然変異はGAと同様に行う。
Figure 2007102458
Give in. Here, Tac3 is a threshold value of similarity to suppressor cells, N ′ is the number of surviving antibodies, S is the total number of suppressor cells, and k is a production inhibitory power. By giving the expected value by equation (6), the higher the affinity with the antigen in each antibody, the higher the probability of remaining in the next generation, and the higher the affinity with the suppressor cell, the lower the probability of remaining in the next generation. Is set. By suppressing the production of antibodies that react with suppressor cells, the production of the same type of memory cells is prevented, and the search efficiency of multiple solutions is improved.
(7) Production of antibody A new antibody is produced by a gene generated at random in place of the antibody that disappeared in step 2) in (6). Next, N / 2 antibodies are produced by allowing N / 4 pairs to be duplicated from the N / 2 antibodies surviving at the present stage and crossing them. In addition, as for the selection of the antibody for making a pair, it is assumed that an antibody having a higher expected value is selected with higher probability. In addition, mutation is performed on the produced N / 2 antibodies. Here, crossover and mutation are performed in the same manner as GA.

以上のようなIAのフローを、GAを用いた場合と同様にひび割れ画像に適用して、画像処理フローの最適化を行い、ひび割れの自動描出を行う。IAでも、GAの場合同様に、初期世代(0世代)の個体をランダムに作り、この初期世代の個体へ遺伝子操作(交叉や突然変異)を行い次世代を作る、さらに1世代の個体へ遺伝子操作を行う、というように繰り返し(世代交代)により、最適な個体(最適な画像処理フロー)を探索する。ここで、
a)IAでも、どの世代も同じ数の個体が作られる。すなわち、計算が終了するまで、各世代において、同じ数の個体が存在する。
b)IAでは、記憶細胞に探索された解の中で最も適応度(評価値)が高いものが常に保存されている(詳しく言うと、上位個数の解が保存されている)。
c)IAでの計算は、決められた世代数の世代交代(最大世代数)を繰り返すと終了する。最終世代の個体が1つの個体(最も適応度の高かった個体)に収束することはないが、記憶細胞に最も適応度が高い個体が保存されていることから、これが最適な解(画像処理フロー)となる。
The IA flow as described above is applied to a cracked image in the same manner as when GA is used, the image processing flow is optimized, and the crack is automatically drawn. In IA, as in the case of GA, an initial generation (0 generation) individual is randomly created, and genetic manipulation (crossover and mutation) is performed on this initial generation individual to create the next generation. The optimum individual (optimum image processing flow) is searched by repeating the operation (generation change). here,
a) In IA, the same number of individuals is created for every generation. That is, the same number of individuals exist in each generation until the calculation is completed.
b) In the IA, the solution having the highest fitness (evaluation value) among the solutions searched for in the memory cell is always stored (more specifically, a higher number of solutions are stored).
c) The calculation in IA ends when the generation change (maximum generation number) of the determined number of generations is repeated. The individual of the last generation does not converge to one individual (the individual with the highest fitness), but since the individual with the highest fitness is stored in the memory cell, this is the optimal solution (image processing flow) )

このようにして最適解が得られるが、与えられた条件において、必ずしも結果として最適解に到っていないことは生じ得る。その場合、そのような条件下で得られた最も適応度の高いものを準最適解とする。   In this way, an optimal solution can be obtained, but under the given conditions, it may not necessarily reach the optimal solution as a result. In that case, the one with the highest fitness obtained under such conditions is set as a sub-optimal solution.

IAは、GAの課題である局所解からの脱出を実現し、類似画像検索による自動画像処理において、複数の代替案を用意しておくことで実行する解を選択する余地を残しておくことができる。   The IA realizes escape from the local solution, which is a problem of GA, and leaves room for selecting a solution to be executed by preparing a plurality of alternatives in automatic image processing by similar image search. it can.

以上では、描出すべき画像中の注目部分として、コンクリート構造物のひび割れの例について説明したが、本発明によりGAまたはIAのアルゴリズムを適用するに際しては、注目部分がコンクリート構造物のひび割れに限られるという制約はないものであり、本発明によるGAまたはIAのアルゴリズムを用いた手法は、例えば、遊離石灰、コンクリートの剥離、コンクリートの剥落、錆汁、鉄筋の露出等、他の注目部分の描出にも同様に適用できるものである。   In the above, an example of a crack in a concrete structure has been described as a target portion in an image to be drawn. However, when applying the GA or IA algorithm according to the present invention, the target portion is limited to a crack in a concrete structure. The method using the GA or IA algorithm according to the present invention is not limited to the drawing of other noticeable parts such as free lime, concrete peeling, concrete peeling, rust juice, rebar exposure, etc. Can be applied similarly.

単純遺伝的アルゴリズムを示す図である。It is a figure which shows a simple genetic algorithm. (a)一点交叉の例を示す図である。(b)2点交叉の例を示す図である。(c)一様交叉の例を示す図である。(d)突然変異の例を示す図である。(A) It is a figure which shows the example of one point crossing. (B) It is a figure which shows the example of 2 point crossing. (C) It is a figure which shows the example of uniform crossing. (D) It is a figure which shows the example of a mutation. (a)個体の表す画像処理フローの例を示す図である。(b)画像処理フローのコーディングの例を示す図である。(A) It is a figure which shows the example of the image processing flow which an individual represents. (B) It is a figure which shows the example of the coding of an image processing flow. (a)ひび割れを良好に描出している画像の例である。(b)ひび割れ以外の要素を含む画像の例である。(A) It is an example of the image which has drawn the crack favorably. (B) It is an example of the image containing elements other than a crack. 既知の画像についてのデータベースを作成するフローを示す図である。It is a figure which shows the flow which produces the database about a known image. 未知の画像についてひび割れを自動描出するフローを示す図である。It is a figure which shows the flow which draws a crack automatically about an unknown image. 免疫システムの形態を示す図である。It is a figure which shows the form of an immune system. 免疫アルゴリズムの基本的フローを示す図である。It is a figure which shows the basic flow of an immunity algorithm.

Claims (7)

各々が画像処理フローを表す複数の個体を初期設定することと、
該複数の個体に対して各個体の表す画像処理フローにより与えられた画像の画像処理をした際の優劣性を示す適応度をあらかじめ設定した評価関数を用いて求めることと、
前記複数の個体に対し前記評価関数に基づいて適応度がより高くなるように新たな複数の個体を生成する過程を反復して適応度が最も高くなる複数の個体を得るように最適化処理を行うことと、
からなる遺伝的アルゴリズムを適用して得られた複数の個体を用いた画像処理フローにより画像中の注目部分以外の画像要素を削除し注目部分を自動描出する方法であって、
既知の原画像に対して注目部分以外の画像要素を削除した目的画像を作成しておき、該原画像に対して遺伝的アルゴリズムを適用して得られた目的画像に最も近似した画像を与える最適化された画像処理フローを表す複数の個体を生成するとともに、該既知の原画像の特徴を示す画像特徴データを生成し、該複数の個体のデータ及び該画像特徴データを前記複数の既知の画像に対応するデータとして蓄積することを複数の原画像について行いデータベースを形成することと、
注目部分を描出すべき未知の原画像に対してその画像特徴データを前記データベースに蓄積された複数の原画像の特徴データと比較して前記データベースにおける最も近似した原画像を選択することと、
該選択された原画像についての最適化された個体の表す画像処理フローにより前記未知の画像に対する画像処理を行って注目部分を描出した画像を得ることと、
からなることを特徴とする注目部分を自動描出する方法。
Initializing multiple individuals, each representing an image processing flow;
Obtaining a fitness value indicating the superiority or inferiority when performing image processing of an image given by the image processing flow represented by each individual for the plurality of individuals using a preset evaluation function;
An optimization process is performed so as to obtain a plurality of individuals having the highest fitness by repeating a process of generating a plurality of new individuals so that the fitness becomes higher based on the evaluation function for the plurality of individuals. To do and
An image processing flow using a plurality of individuals obtained by applying a genetic algorithm consisting of an image element other than the attention part in the image and automatically drawing the attention part,
Create an objective image with the image elements other than the part of interest removed from the known original image, and give an image that most closely approximates the target image obtained by applying a genetic algorithm to the original image And generating a plurality of individuals representing the converted image processing flow, generating image feature data indicating features of the known original image, and using the plurality of known data and the image feature data of the plurality of individuals To store data as data corresponding to a plurality of original images to form a database,
Comparing the image feature data of an unknown original image to be drawn of interest with the feature data of a plurality of original images stored in the database, and selecting the closest original image in the database;
Obtaining an image depicting a portion of interest by performing image processing on the unknown image according to an image processing flow representing the optimized individual for the selected original image;
A method for automatically drawing a feature of interest characterized by comprising
各々が画像処理フローを表す複数の抗体を初期設定することと、
該複数の抗体に対して各個体の表す画像処理フローにより与えられた画像の画像処理した際の優劣性を示す親和度をあらかじめ設定した評価関数を用いて求めることと、
前記複数の抗体に対し前記評価関数に基づいて親和度がより高くなるように新たな複数の抗体を生成する過程を反復して親和度が最も高くなる複数の抗体を得るように最適化処理を行うことと、
からなる免疫アルゴリズムを適用して得られた複数の抗体を用いた画像処理フローにより画像中の注目部分以外の画像要素を削除し注目部分を自動描出する方法であって、
既知の原画像に対して注目部分以外の画像要素を削除した目的画像を作成しておき、該原画像に対して免疫アルゴリズムを適用して得られた目的画像に最も近似した画像を与える最適化された画像処理フローを表す複数の抗体を生成するとともに、該既知の原画像の特徴を示す画像特徴データを生成し、該複数の抗体のデータ及び該画像特徴データを前記複数の既知の画像に対応するデータとして蓄積することを複数の原画像について行いデータベースを形成することと、
注目部分を描出すべき未知の原画像に対してその画像特徴データを前記データベースに蓄積された複数の原画像の特徴データと比較して前記データベースにおける最も近似した原画像を選択することと、
該選択された原画像についての最適化された抗体の表す画像処理フローにより前記未知の画像に対する画像処理を行って注目部分を描出した画像を得ることと、
からなることを特徴とする注目部分を自動描出する方法。
Initializing a plurality of antibodies each representing an image processing flow;
Obtaining an affinity indicating superiority when image processing is performed on an image given by an image processing flow represented by each individual for the plurality of antibodies using a preset evaluation function;
An optimization process is performed so as to obtain a plurality of antibodies having the highest affinity by repeating a process of generating a plurality of new antibodies so that the affinity becomes higher based on the evaluation function for the plurality of antibodies. To do and
An image processing flow using a plurality of antibodies obtained by applying an immunity algorithm consisting of a method for automatically drawing a target portion by deleting image elements other than the target portion in the image,
Optimization that creates a target image by deleting image elements other than the part of interest from a known original image, and gives an image that most closely approximates the target image obtained by applying an immunization algorithm to the original image Generating a plurality of antibodies representing the processed image processing flow, generating image feature data indicating characteristics of the known original image, and converting the plurality of antibody data and the image feature data into the plurality of known images Performing a plurality of original images to be stored as corresponding data to form a database;
Comparing the image feature data of an unknown original image to be drawn of interest with the feature data of a plurality of original images stored in the database, and selecting the closest original image in the database;
Obtaining an image depicting a target portion by performing image processing on the unknown image according to an image processing flow represented by the optimized antibody for the selected original image;
A method for automatically drawing a feature of interest characterized by comprising
前記画像中の注目部分がコンクリート構造物の変状としてのひび割れであることを特徴とする請求項1または2のいずれかに記載の変状を自動描出する方法。   The method for automatically rendering deformation according to claim 1, wherein the portion of interest in the image is a crack as deformation of a concrete structure. 請求項1または2のいずれかに記載の注目部分を自動描出する方法をコンピュータ上で実行するためのプログラムを記録した記録媒体。   A recording medium recording a program for executing on a computer a method for automatically rendering a portion of interest according to claim 1. 画像を取り込み画像特徴データを抽出する手段と、
各々が画像処理フローを表す複数の個体に対して各個体の表す画像処理フローにより与えられた画像の画像処理した際の優劣性を示す適応度をあらかじめ設定した評価関数を用いて求め、前記複数の個体に対し前記評価関数に基づいて適応度がより高くなるように新たな複数の個体を生成する過程を反復して適応度が最も高くなる複数の個体を得るように最適化処理を行う遺伝的アルゴリズムを実行する手段と、
既知の原画像に対して注目部分以外の画像要素を削除した目的画像を作成しておき、該原画像に対して遺伝的アルゴリズムを適用して得られた目的画像に最も近似した画像を与える最適化された画像処理フローを表す複数の個体を生成するとともに、該既知の原画像の特徴を示す画像特徴データを生成し、該複数の個体のデータ及び該画像特徴データを前記複数の既知の画像に対応するデータとして蓄積することを複数の原画像について行うことにより形成されたデータベースと、
注目部分を描出すべき未知の原画像に対してその画像特徴データを前記データベースに蓄積された複数の原画像の特徴データと比較して前記データベースにおける最も近似した原画像を選択する手段と、
該選択された原画像についての最適化された個体の表す画像処理フローにより前記未知の画像に対する画像処理を行って注目部分を描出した画像を得る手段と、
からなることを特徴とする注目部分を自動描出する装置。
Means for capturing an image and extracting image feature data;
Obtaining a plurality of individuals each representing an image processing flow by using an evaluation function set in advance to indicate fitness indicating superiority or inferiority when the image given by the image processing flow represented by each individual is processed; Genetics for performing optimization processing to obtain a plurality of individuals having the highest fitness by repeating a process of generating a plurality of new individuals so that the fitness of the individual is higher based on the evaluation function A means of executing a genetic algorithm;
Create an objective image with the image elements other than the part of interest removed from the known original image, and give an image that most closely approximates the target image obtained by applying a genetic algorithm to the original image And generating a plurality of individuals representing the converted image processing flow, generating image feature data indicating features of the known original image, and using the plurality of known data and the image feature data of the plurality of individuals A database formed by performing a plurality of original images to be stored as data corresponding to
Means for comparing the image feature data of an unknown original image to be drawn of interest with the feature data of a plurality of original images stored in the database, and selecting the closest original image in the database;
Means for performing image processing on the unknown image by an image processing flow representing the optimized individual for the selected original image to obtain an image depicting a target portion;
A device that automatically draws a target area characterized by comprising
画像を取り込み画像特徴データを抽出する手段と、
各々が画像処理フローを表す複数の抗体に対して各抗体の表す画像処理フローにより与えられた画像の画像処理した際の優劣性を示す親和度をあらかじめ設定した評価関数を用いて求め、前記複数の個体に対し前記評価関数に基づいて親和度がより高くなるように新たな複数の抗体を生成する過程を反復して親和度が最も高くなる複数の抗体を得るように最適化処理を行う免疫アルゴリズムを実行する手段と、
既知の原画像に対して注目部分以外の画像要素を削除した目的画像を作成しておき、該原画像に対して免疫アルゴリズムを適用して得られた目的画像に最も近似した画像を与える最適化された画像処理フローを表す複数の抗体を生成するとともに、該既知の原画像の特徴を示す画像特徴データを生成し、該複数の抗体のデータ及び該画像特徴データを前記複数の既知の画像に対応するデータとして蓄積することを複数の原画像について行うことにより形成されたデータベースと、
注目部分を描出すべき未知の原画像に対してその画像特徴データを前記データベースに蓄積された複数の原画像の特徴データと比較して前記データベースにおける最も近似した原画像を選択する手段と、
該選択された原画像についての最適化された抗体の表す画像処理フローにより前記未知の画像に対する画像処理を行って注目部分を描出した画像を得る手段と、
からなることを特徴とする注目部分を自動描出する装置。
Means for capturing an image and extracting image feature data;
A plurality of antibodies each representing an image processing flow are obtained by using an evaluation function set in advance for an affinity indicating superiority or inferiority when the image given by the image processing flow represented by each antibody is processed, Immunization is performed so that a plurality of antibodies having the highest affinity are obtained by repeating the process of generating a plurality of new antibodies so that the affinity becomes higher based on the evaluation function. Means for executing the algorithm;
Optimization that creates a target image by deleting image elements other than the part of interest from a known original image, and gives an image that most closely approximates the target image obtained by applying an immunization algorithm to the original image Generating a plurality of antibodies representing the processed image processing flow, generating image feature data indicating characteristics of the known original image, and converting the plurality of antibody data and the image feature data into the plurality of known images A database formed by performing a plurality of original images to be stored as corresponding data;
Means for comparing the image feature data of an unknown original image to be drawn of interest with the feature data of a plurality of original images stored in the database, and selecting the closest original image in the database;
Means for performing image processing on the unknown image by an image processing flow represented by the optimized antibody for the selected original image to obtain an image depicting a target portion;
A device that automatically draws a target area characterized by comprising
前記画像中の注目部分がコンクリート構造物の変状としてのひび割れであることを特徴とする請求項5または6のいずれかに記載の注目部分を自動描出する装置。   7. The apparatus for automatically rendering a focused portion according to claim 5, wherein the focused portion in the image is a crack as a deformation of the concrete structure.
JP2005291071A 2005-10-04 2005-10-04 Method for automatically drawing a portion of interest by image processing, apparatus therefor, and recording medium recording a program Active JP4581090B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005291071A JP4581090B2 (en) 2005-10-04 2005-10-04 Method for automatically drawing a portion of interest by image processing, apparatus therefor, and recording medium recording a program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005291071A JP4581090B2 (en) 2005-10-04 2005-10-04 Method for automatically drawing a portion of interest by image processing, apparatus therefor, and recording medium recording a program

Publications (2)

Publication Number Publication Date
JP2007102458A true JP2007102458A (en) 2007-04-19
JP4581090B2 JP4581090B2 (en) 2010-11-17

Family

ID=38029348

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005291071A Active JP4581090B2 (en) 2005-10-04 2005-10-04 Method for automatically drawing a portion of interest by image processing, apparatus therefor, and recording medium recording a program

Country Status (1)

Country Link
JP (1) JP4581090B2 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008181294A (en) * 2007-01-24 2008-08-07 Sony Corp Information processing apparatus, method and program
JP2009133085A (en) * 2007-11-29 2009-06-18 Central Japan Railway Co Crack checking device for tunnel lining
JP2010244364A (en) * 2009-04-07 2010-10-28 Nikon Corp Genetic processing apparatus, genetic processing method and program
JP2010257257A (en) * 2009-04-24 2010-11-11 Nikon Corp Apparatus and method for processing hereditary, and program
JP2010257067A (en) * 2009-04-22 2010-11-11 Nikon Corp Apparatus and method for processing hereditary, and program
JP2010262407A (en) * 2009-04-30 2010-11-18 Nikon Corp Genetic processor, genetic processing method, and program
JP2011503266A (en) * 2007-11-12 2011-01-27 メルク パテント ゲゼルシャフト ミット ベシュレンクテル ハフツング Coated phosphor particles with matched refractive index
WO2012096163A1 (en) * 2011-01-13 2012-07-19 パナソニック株式会社 Image processing device, image processing method, and program therefor
WO2019009007A1 (en) * 2017-07-06 2019-01-10 富士フイルム株式会社 Machine learning data generation method, machine learning data generation program, machine learning data generation system, server device, image processing method, image processing program, and image processing system
JP2020107009A (en) * 2018-12-27 2020-07-09 東洋製罐グループホールディングス株式会社 Image processing system, and image processing program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0792651A (en) * 1993-09-24 1995-04-07 Konica Corp Picture clipping device
JP2002366929A (en) * 2001-06-11 2002-12-20 Printing Bureau Ministry Of Finance Method and device for extracting failure and defect of printed matter
JP2004078330A (en) * 2002-08-12 2004-03-11 Fuji Xerox Co Ltd Pattern recognition device and learning method therefor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0792651A (en) * 1993-09-24 1995-04-07 Konica Corp Picture clipping device
JP2002366929A (en) * 2001-06-11 2002-12-20 Printing Bureau Ministry Of Finance Method and device for extracting failure and defect of printed matter
JP2004078330A (en) * 2002-08-12 2004-03-11 Fuji Xerox Co Ltd Pattern recognition device and learning method therefor

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008181294A (en) * 2007-01-24 2008-08-07 Sony Corp Information processing apparatus, method and program
JP2011503266A (en) * 2007-11-12 2011-01-27 メルク パテント ゲゼルシャフト ミット ベシュレンクテル ハフツング Coated phosphor particles with matched refractive index
JP2009133085A (en) * 2007-11-29 2009-06-18 Central Japan Railway Co Crack checking device for tunnel lining
JP2010244364A (en) * 2009-04-07 2010-10-28 Nikon Corp Genetic processing apparatus, genetic processing method and program
JP2010257067A (en) * 2009-04-22 2010-11-11 Nikon Corp Apparatus and method for processing hereditary, and program
JP2010257257A (en) * 2009-04-24 2010-11-11 Nikon Corp Apparatus and method for processing hereditary, and program
JP2010262407A (en) * 2009-04-30 2010-11-18 Nikon Corp Genetic processor, genetic processing method, and program
WO2012096163A1 (en) * 2011-01-13 2012-07-19 パナソニック株式会社 Image processing device, image processing method, and program therefor
JPWO2012096163A1 (en) * 2011-01-13 2014-06-09 パナソニック株式会社 Image processing apparatus, image processing method, and program thereof
US9070042B2 (en) 2011-01-13 2015-06-30 Panasonic Intellectual Property Management Co., Ltd. Image processing apparatus, image processing method, and program thereof
JP5954712B2 (en) * 2011-01-13 2016-07-20 パナソニックIpマネジメント株式会社 Image processing apparatus, image processing method, and program thereof
WO2019009007A1 (en) * 2017-07-06 2019-01-10 富士フイルム株式会社 Machine learning data generation method, machine learning data generation program, machine learning data generation system, server device, image processing method, image processing program, and image processing system
JP2020107009A (en) * 2018-12-27 2020-07-09 東洋製罐グループホールディングス株式会社 Image processing system, and image processing program
JP7247578B2 (en) 2018-12-27 2023-03-29 東洋製罐グループホールディングス株式会社 Image processing system and image processing program

Also Published As

Publication number Publication date
JP4581090B2 (en) 2010-11-17

Similar Documents

Publication Publication Date Title
JP4581090B2 (en) Method for automatically drawing a portion of interest by image processing, apparatus therefor, and recording medium recording a program
US20200364842A1 (en) Surface defect identification method and apparatus
CN111178197B (en) Mass R-CNN and Soft-NMS fusion based group-fed adherent pig example segmentation method
CN110390669B (en) Method for detecting cracks in bridge image
CN111222519B (en) Construction method, method and device of hierarchical colored drawing manuscript line extraction model
CN115100221A (en) Glass defect segmentation method
CN110245697B (en) Surface contamination detection method, terminal device and storage medium
CN110598581B (en) Optical music score recognition method based on convolutional neural network
CN113096121B (en) Pavement crack detection method and system based on cross fracture mechanics and image processing
CN110969620A (en) Method and device for detecting magnetic shoe ripple defects
JP2013238449A (en) Crack detection method
CN116740728B (en) Dynamic acquisition method and system for wafer code reader
CN115841447A (en) Detection method for surface defects of magnetic shoe
CN115170548A (en) Leather defect automatic detection method and device based on unsupervised learning
JP2006292593A (en) Flaw detector, flaw detecting method, computer program and recording medium
CN117854072A (en) Automatic labeling method for industrial visual defects
CN116758539B (en) Embryo image blastomere identification method based on data enhancement
JP6980208B2 (en) Structure maintenance work support system
CN111027946A (en) Bridge detection report generation method and system
CN111612749B (en) Focus detection method and device based on lung image
CN117274212A (en) Bridge underwater structure crack detection method
CN110414615B (en) Corn Spodoptera frugiperda detection method based on staged depth restoration image
CN113763407B (en) Nodule edge analysis method of ultrasonic image
CN115880683A (en) Urban waterlogging ponding intelligent water level detection method based on deep learning
CN116258854A (en) Pavement crack segmentation method based on dense connection strategy and image gradient

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080618

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150