JP2013050837A - Classification processing generation device and classification processing generation method - Google Patents
Classification processing generation device and classification processing generation method Download PDFInfo
- Publication number
- JP2013050837A JP2013050837A JP2011188178A JP2011188178A JP2013050837A JP 2013050837 A JP2013050837 A JP 2013050837A JP 2011188178 A JP2011188178 A JP 2011188178A JP 2011188178 A JP2011188178 A JP 2011188178A JP 2013050837 A JP2013050837 A JP 2013050837A
- Authority
- JP
- Japan
- Prior art keywords
- image
- classification
- calculation
- processing
- classification processing
- 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.)
- Pending
Links
Images
Landscapes
- Image Analysis (AREA)
Abstract
Description
本発明は、画像を複数の画像グループのいずれかに分類するための分類処理を生成する技術に関する。 The present invention relates to a technique for generating a classification process for classifying an image into any of a plurality of image groups.
従来より、美術史等の研究の場では、絵画等の美術作品を、描かれた年代や、描かれた場所、あるいは、描かれている内容等の観点から解析し、グループ分けすることが行われている。また、非特許文献1では、色彩情報の統計解析により絵画を定量的に分析する手法が開示されている。
Traditionally, in the field of research on art history, etc., art works such as paintings have been analyzed and grouped in terms of the age, place where they were drawn, or the contents drawn. It has been broken. Non-Patent
なお、特許文献1では、画像中の人物領域から予め決まったクラス毎の特徴量を検出し、特徴量毎に有効値を求め 、有効値に基づいて個人認識処理で使用する特徴量を選別する手法が開示されている。特許文献2では、効率的な検索を実現する手法が開示されており、本手法では、複数の要素と特徴項目の全ての組み合わせについて、その特徴項目を指定して検索を行ったときの絞り込み量のバラツキの程度が求められ、バラツキが小さいほど絞り込み効果が高いものとして、バラツキの程度に基づいて各特徴項目の絞込みに対する有効度が判断され、特徴項目の順位付けが行われる。そして、当該順位に従って特徴量が入力されるように検索者に報知が行われる。
In
また、特許文献3では、検索の有効度を予め把握することが可能な人物検索装置が開示されており、当該装置では、複数のカメラが撮像した撮像画像内の人物の特徴量を示す特徴量情報が取得される。そして、第1のカメラで撮像された第1の人物の特徴量と第2のカメラで撮像された第2の人物の特徴量との差異が人物の特徴毎に算出され、特徴量の差異に基づいて、第1の人物を検索する場合の有効度を示す絞込有効度が人物の特徴毎に算出される。特許文献4および5では、サポートベクターマシンにおいて有意な特徴を識別する手法が開示されている。
Further,
ところで、大量の作品を自動的に分類するには、グループ分けの判断基準に従った分類処理を生成することが必要である。絵画等の作品を「年代」や「対象物」等の明確な判断基準でグループ分けする場合、分類処理は比較的容易に生成することができるが、「画風」や「タッチ」と呼ばれる、主観的な印象に基づく判断基準にてグループ分けを行う場合、分類における判断基準を明確に定義したり、定量化することが容易ではないため、分類処理を生成することが困難である。特に、抽象画については、その解釈自体が観察者に依存するため、分類処理を生成することが極めて困難である。このような問題により、美術作品の深い研究を行うことができず、美術の理解等の妨げとなっている。 By the way, in order to automatically classify a large number of works, it is necessary to generate a classification process according to the criteria for grouping. When grouping works such as paintings according to clear criteria such as “age” and “object”, the classification process can be generated relatively easily, but the subjectivity called “style” or “touch” When grouping according to a judgment standard based on a general impression, it is difficult to clearly define or quantify a judgment standard in classification, and it is difficult to generate a classification process. In particular, it is extremely difficult to generate a classification process for an abstract image because its interpretation itself depends on the observer. Due to these problems, it is not possible to conduct a deep study of art works, which hinders understanding of art.
本発明は上記課題に鑑みなされたものであり、有効な分類処理を生成するとともに、作業者が分類処理の解釈や修正等を容易に行うことが可能となる技術を提供することを目的としている。 The present invention has been made in view of the above problems, and an object of the present invention is to provide a technique for generating an effective classification process and enabling an operator to easily interpret and correct the classification process. .
請求項1に記載の発明は、画像を複数の画像グループのいずれかに分類するための分類処理を生成する分類処理生成装置であって、所定の画像処理演算および特徴量演算を含む分類処理候補が準備され、前記分類処理候補を用いて、複数の画像グループのそれぞれに属する各元画像に対して前記画像処理演算を行って処理済み画像を生成し、前記処理済み画像に対して前記特徴量演算を行うことにより、複数の元画像の複数の特徴量を求め、前記複数の元画像のそれぞれを前記複数の画像グループのいずれかに分類する際における前記複数の特徴量の有効度を求める評価部と、前記分類処理候補における前記画像処理演算および前記特徴量演算の少なくとも一方の演算の内容を変更しつつ前記評価部にて前記有効度を求める処理を、終了条件を満たすまで繰り返す演算内容変更部と、前記終了条件を満たした際に、前記有効度が閾値以上となる場合の前記分類処理候補を利用可能な分類処理として、前記分類処理における前記少なくとも一方の演算の内容を表示部に表示する表示制御部とを備える。
The invention according to
請求項2に記載の発明は、請求項1に記載の分類処理生成装置であって、前記表示制御部が、前記分類処理における前記画像処理演算および前記特徴量演算の双方の内容を前記表示部に表示する。
The invention according to
請求項3に記載の発明は、請求項1または2に記載の分類処理生成装置であって、前記表示制御部が、前記各元画像と、前記各元画像に対して前記分類処理における前記画像処理演算を行って生成された前記処理済み画像とを前記表示部に同時に表示する。
The invention according to
請求項4に記載の発明は、請求項1または2に記載の分類処理生成装置であって、前記表示制御部が、前記複数の画像グループにそれぞれ対応するとともに前記分類処理における前記画像処理演算により生成された複数の処理済み画像を前記表示部に同時に表示する。
The invention according to
請求項5に記載の発明は、請求項1ないし4のいずれかに記載の分類処理生成装置であって、前記評価部において、複数の分類処理候補が準備され、前記評価部が、前記複数の分類処理候補にそれぞれ対応する複数の有効度を求め、前記演算内容変更部が、前記複数の分類処理候補の少なくとも1つにおける前記少なくとも一方の演算の内容を変更しつつ前記評価部にて前記複数の有効度を求める処理を、前記終了条件を満たすまで繰り返す。
The invention according to
請求項6に記載の発明は、画像を複数の画像グループのいずれかに分類するための分類処理を生成する分類処理生成方法であって、a)所定の画像処理演算および特徴量演算を含む分類処理候補を準備する工程と、b)複数の画像グループのそれぞれに属する各元画像に対して前記画像処理演算を行って処理済み画像を生成する工程と、c)前記処理済み画像に対して前記特徴量演算を行うことにより、複数の元画像の複数の特徴量を求める工程と、d)前記複数の元画像のそれぞれを前記複数の画像グループのいずれかに分類する際における前記複数の特徴量の有効度を求める工程と、e)前記分類処理候補における前記画像処理演算および前記特徴量演算の少なくとも一方の演算の内容を変更しつつ前記b)ないしd)工程を、終了条件を満たすまで繰り返す工程と、f)前記有効度が閾値以上となる場合の前記分類処理候補を利用可能な分類処理として、前記分類処理における前記少なくとも一方の演算の内容を表示部に表示する工程とを備える。 The invention according to claim 6 is a classification processing generation method for generating a classification processing for classifying an image into any of a plurality of image groups, and a) a classification including a predetermined image processing calculation and a feature amount calculation. Preparing a processing candidate; b) generating a processed image by performing the image processing operation on each original image belonging to each of a plurality of image groups; and c) performing the processing on the processed image. A step of obtaining a plurality of feature amounts of the plurality of original images by performing a feature amount calculation; and d) the plurality of feature amounts when each of the plurality of original images is classified into any of the plurality of image groups. And e) steps b) to d) while changing the content of at least one of the image processing calculation and the feature amount calculation in the classification processing candidate. And f) a step of displaying the content of at least one operation in the classification process on a display unit as a classification process that can use the classification process candidate when the effectiveness is equal to or greater than a threshold. Prepare.
請求項7に記載の発明は、請求項6に記載の分類処理生成方法であって、前記f)工程において、前記分類処理における前記画像処理演算および前記特徴量演算の双方の内容が前記表示部に表示される。
The invention according to
請求項8に記載の発明は、請求項6または7に記載の分類処理生成方法であって、前記f)工程において、前記各元画像と、前記各元画像に対して前記分類処理における前記画像処理演算を行って生成された前記処理済み画像とが前記表示部に同時に表示される。
The invention according to claim 8 is the classification processing generation method according to
請求項9に記載の発明は、請求項6または7に記載の分類処理生成方法であって、前記f)工程において、前記複数の画像グループにそれぞれ対応するとともに前記分類処理における前記画像処理演算により生成された複数の処理済み画像が前記表示部に同時に表示される。
The invention according to claim 9 is the classification processing generation method according to
請求項10に記載の発明は、請求項6ないし9のいずれかに記載の分類処理生成方法であって、前記a)工程において、複数の分類処理候補が準備され、前記b)ないしd)工程により、前記複数の分類処理候補にそれぞれ対応する複数の有効度が求められ、前記e)工程において、前記複数の分類処理候補の少なくとも1つにおける前記少なくとも一方の演算の内容を変更しつつ前記b)ないしd)工程が、前記終了条件を満たすまで繰り返される。 A tenth aspect of the present invention is the classification processing generation method according to any one of the sixth to ninth aspects, wherein a plurality of classification processing candidates are prepared in the step a), and the steps b) to d). Thus, a plurality of validity levels respectively corresponding to the plurality of classification processing candidates are obtained, and in the step e), the content of the at least one operation in at least one of the plurality of classification processing candidates is changed. Steps d) to d) are repeated until the end condition is satisfied.
本発明によれば、有効な分類処理を生成するとともに、分類処理の内容を実質的に表示することにより、作業者が分類処理の解釈や修正等を容易に行うことができる。 According to the present invention, an effective classification process is generated and the contents of the classification process are substantially displayed, so that an operator can easily interpret and correct the classification process.
図1は、本発明の一の実施の形態に係る分類処理生成装置を実現するコンピュータ1の構成を示す図である。コンピュータ1では、絵画等の画像を複数の画像グループのいずれかに分類するための分類処理が生成される。分類処理は、後述するように画像処理演算および特徴量演算を含むものであり、当該分類処理により分類対象の画像の分類が可能となる。
FIG. 1 is a diagram showing a configuration of a
コンピュータ1は、各種演算処理を行うCPU11、基本プログラムを記憶するROM12および各種情報を記憶するRAM13をバスラインに接続した一般的なコンピュータシステムの構成となっている。バスラインにはさらに、情報記憶を行う固定ディスク15、各種情報の表示を行う表示部であるディスプレイ16、操作者からの入力を受け付けるキーボード17aおよびマウス17b、光ディスク、磁気ディスク、光磁気ディスク、フラッシュメモリ等のコンピュータ読み取り可能な記録媒体81から情報の読み取りを行ったり記録媒体81に情報の書き込みを行う読取/書込装置18、並びに、外部との通信を行う通信部19が、適宜、インターフェイス(I/F)を介する等して接続される。
The
コンピュータ1には、事前に読取/書込装置18を介して記録媒体81からプログラム810が読み出され、固定ディスク15に記憶される。そして、プログラム810がRAM13にコピーされるとともにCPU11がRAM13内のプログラムに従って演算処理を実行することにより(すなわち、コンピュータがプログラムを実行することにより)、コンピュータ1が、分類処理生成装置としての処理を行う。
The
図2は、CPU11がプログラム810に従って動作することにより、CPU11、ROM12、RAM13、固定ディスク15等が実現する機能構成を示すブロック図である。図2において、画像入力部21、評価部22、演算内容変更部23および表示制御部24がCPU11等により実現される機能である。なお、これらの機能は専用の電気的回路により実現されてもよく、部分的に電気的回路が用いられてもよい。
FIG. 2 is a block diagram illustrating a functional configuration realized by the
図3は、コンピュータ1が分類処理を生成する動作の流れを示す図である。まず、図2の評価部22では、所定の画像処理演算および特徴量演算を含む分類処理候補が準備される(ステップS11)。ここで、本実施の形態では、遺伝的アルゴリズム(genetic algorithm)により後述の画像の分類にて利用可能な分類処理が生成され、ステップS11の処理では、3個の分類処理候補が初期集団に含まれる遺伝子として準備される。遺伝子は、数1のように、任意の画像処理演算Piを複数回適用して、最後に特徴量演算Ciを適用する処理の列Giとして表現される。
FIG. 3 is a diagram illustrating a flow of operations in which the
本実施の形態において用いられる画像処理演算は、表1の左列に示す「グレー値二値化」、「R成分値二値化」、「G成分値二値化」、「B成分値二値化」、「収縮」、「膨張」および「平滑化」である。「グレー値二値化」では、表1の右列における「二値化閾値Th」以上となるグレー値を有する画素に、新たな画素値255が付与され、残りの画素に画素値0が付与される。「R成分値二値化」、「G成分値二値化」および「B成分値二値化」は、それぞれR(赤)成分の画素値、G(緑)成分の画素値およびB(青)成分の画素値が閾値と比較される点を除き、「グレー値二値化」と同様である。「グレー値二値化」における「二値化閾値Th」は20であり、「R成分値二値化」、「G成分値二値化」および「B成分値二値化」における「二値化閾値Th」は50である。「収縮」、「膨張」および「平滑化」のそれぞれでは、表1の右列における「サイズSz」のフィルタを用いて当該処理が行われ、本実施の形態では「サイズSz」は5である。なお、「グレー値二値化」の画像処理演算では、IRをR成分の画素値、IGをG成分の画素値、IBをB成分の画素値として、グレー値は(0.2989×IR+0.5870×IG+0.1140×IB)にて求められる。
The image processing operations used in this embodiment are “gray value binarization”, “R component value binarization”, “G component value binarization”, “B component value binarization” shown in the left column of Table 1. “Value”, “shrink”, “expansion” and “smoothing”. In “gray value binarization”, a new pixel value 255 is assigned to a pixel having a gray value equal to or greater than “binarization threshold Th” in the right column of Table 1, and a
また、本実施の形態において用いられる特徴量演算は、表2の左列に示す「領域数」を求める演算、「領域の総面積」を求める演算、および、「円形領域数」を求める演算である。「領域数」、「領域の総面積」および「円形領域数」のそれぞれの演算では、表2の右列における「画素値閾値v」(本実施の形態では、255)以上となる画素値を有するとともに、互いに連続する画素の集合が1つの領域として取り扱われる。そして、「領域数」の演算では領域の個数が求められ、「領域の総面積」の演算では全ての領域の総面積が求められる。また、「円形領域数」の演算では、全ての領域のうち、真円度が、表2の右列における「真円度閾値w」(本実施の形態では、0.9)以上となる領域の個数が求められる。なお、領域面積閾値をさらに追加し、領域面積閾値以上の面積を有する領域のみを対象として、「領域数」、「領域の総面積」および「円形領域数」が求められてよい。 In addition, the feature amount calculation used in the present embodiment is an operation for obtaining “number of regions” shown in the left column of Table 2, an operation for obtaining “total area of regions”, and an operation for obtaining “number of circular regions”. is there. In each calculation of “number of regions”, “total area of regions”, and “number of circular regions”, a pixel value that is equal to or greater than “pixel value threshold v” (255 in the present embodiment) in the right column of Table 2 is used. A set of pixels that are continuous with each other is treated as one region. Then, the number of regions is obtained in the calculation of “number of regions”, and the total area of all regions is obtained in the calculation of “total area of regions”. Further, in the calculation of “the number of circular regions”, among all the regions, the circularity is equal to or more than “roundness threshold w” (0.9 in the present embodiment) in the right column of Table 2. Is required. In addition, a region area threshold value may be further added, and “region number”, “total area of region”, and “circular region number” may be obtained only for regions having an area equal to or larger than the region area threshold value.
以下の処理では、遺伝子が、画像処理演算Pを2回適用して、最後に特徴量演算Cを適用する処理の列Giとして表現される、すなわち、遺伝子が(Gi=Pi1×Pi2×Ci)にて表現されるものとする。また、説明の便宜上、1回目の画像処理演算(以下、「先行画像処理演算」という。)Pi1は「グレー値二値化」、「R成分値二値化」、「G成分値二値化」および「B成分値二値化」(以下、「二値化演算」と総称する。)のいずれかに制限され、2回目の画像処理演算(以下、「後続画像処理演算」という。)Pi2は「収縮」、「膨張」および「平滑化」(以下、「フィルタ演算」と総称する。)のいずれかに制限される。もちろん、各遺伝子が1つのまたは3以上の画像処理演算を含んでもよい。 In the following processing, a gene is expressed as a sequence G i of processing in which the image processing operation P is applied twice and the feature amount operation C is applied last, that is, the gene is (G i = P i1 × P i2 × C i ). Further, for convenience of explanation, the first image processing calculation (hereinafter referred to as “preceding image processing calculation”) P i1 is “gray value binarization”, “R component value binarization”, “G component value binary”. And “B component value binarization” (hereinafter collectively referred to as “binarization calculation”), and the second image processing calculation (hereinafter referred to as “subsequent image processing calculation”). P i2 is limited to any one of “shrinkage”, “expansion”, and “smoothing” (hereinafter collectively referred to as “filter operation”). Of course, each gene may contain one or more image processing operations.
具体的には、第1世代(初期世代)の集団に含まれる3個の遺伝子はそれぞれ(G1=P11×P12×C1)、(G2=P21×P22×C2)、(G3=P31×P32×C3)にて表現される。図4に示すように、遺伝子G1における先行画像処理演算P11は「グレー値二値化」であり、後続画像処理演算P12は「収縮」であり、特徴量演算C1は「円形領域数」の演算である。遺伝子G2における先行画像処理演算P21は「R成分値二値化」であり、後続画像処理演算P22は「膨張」であり、特徴量演算C2は「領域の総面積」の演算である。遺伝子G3における先行画像処理演算P31は「G成分値二値化」であり、後続画像処理演算P32は「平滑化」であり、特徴量演算C3は「領域数」の演算である。後述するように、必要に応じて集団(世代)を更新する処理が行われるため、上記遺伝子G1、G2、G3が、N回目(Nは1以上の整数)の更新後における集団を構成するものであってもよい。 Specifically, the three genes included in the first generation (early generation) population are (G 1 = P 11 × P 12 × C 1 ) and (G 2 = P 21 × P 22 × C 2 ), respectively. , (G 3 = P 31 × P 32 × C 3 ). As shown in FIG. 4, the preceding image processing operation P 11 in the gene G 1 is “gray value binarization”, the subsequent image processing operation P 12 is “shrinkage”, and the feature amount operation C 1 is “circular region”. It is the calculation of “number”. The preceding image processing operation P 21 in the gene G 2 is “R component value binarization”, the subsequent image processing operation P 22 is “expansion”, and the feature amount operation C 2 is an operation of “total area of region”. is there. The preceding image processing operation P 31 in the gene G 3 is “G component value binarization”, the subsequent image processing operation P 32 is “smoothing”, and the feature amount operation C 3 is an operation of “number of regions”. . As will be described later, since the process of updating the population (generation) is performed as necessary, the genes G 1 , G 2 , and G 3 represent the population after the Nth update (N is an integer of 1 or more). It may be configured.
一方、分類処理の生成では、複数の画像グループのそれぞれに属する複数の画像(以下、「元画像」という。)が作業者により主観的に選択されて準備される。本実施の形態における元画像は、各画素がR成分、G成分、B成分のそれぞれの画素値(本実施の形態では、0ないし255のいずれかの値)を有するカラー画像である。 On the other hand, in the generation of the classification process, a plurality of images (hereinafter referred to as “original images”) belonging to each of a plurality of image groups are subjectively selected and prepared by the operator. The original image in the present embodiment is a color image in which each pixel has respective pixel values of R component, G component, and B component (in this embodiment, any value from 0 to 255).
図5は、各画像グループに属する元画像を示す図である。図5に示すように元画像31,41は画像グループAに属し、元画像51,61は画像グループBに属する。元画像31は、4個のオブジェクト(図形)311〜314を含み、矩形のオブジェクト311,313はR成分の画素値が255であり、G成分およびB成分の画素値が共に0である画素(以下、単に「Rの画素」という。)の集合である。また、楕円形または円形のオブジェクト312,314はB成分の画素値が255であり、R成分およびG成分の画素値が共に0である画素(以下、単に「Bの画素」という。)の集合である。図5では、同じ色のオブジェクトに同じハッチングを付している(後述の図6ないし図8、図13、並びに、図14において同様)。
FIG. 5 is a diagram showing original images belonging to each image group. As shown in FIG. 5, the
元画像41は、5個のオブジェクト411〜415を含み、矩形のオブジェクト411,413,414はRの画素の集合であり、楕円形または円形のオブジェクト412,415はBの画素の集合である。元画像51は、4個のオブジェクト511〜514を含み、楕円形または円形のオブジェクト511,512はRの画素の集合であり、矩形のオブジェクト513,514はBの画素の集合である。元画像61は、5個のオブジェクト611〜615を含み、楕円形または円形のオブジェクト611,612,615はRの画素の集合であり、矩形のオブジェクト613,614はBの画素の集合である。元画像31,41,51,61における背景領域(すなわち、オブジェクト以外の領域)は、R成分、G成分およびB成分の画素値が共に10である画素の集合である。
The
図5の元画像31,41,51,61では、元画像31のオブジェクト311は、元画像41のオブジェクト411、元画像51のオブジェクト513および元画像61のオブジェクト614と同じ形状および大きさであり(ただし、オブジェクト513のみ向きが相違する。)、面積が300となる。元画像31のオブジェクト312は、元画像41のオブジェクト412、元画像51のオブジェクト511、並びに、元画像61のオブジェクト611,612と同じ形状および大きさであり、面積が600となる。元画像31のオブジェクト313は、元画像41のオブジェクト413,414、元画像51のオブジェクト514および元画像61のオブジェクト613と同じ形状および大きさであり(ただし、オブジェクト414のみ向きが相違する。)、面積が600となる。元画像31のオブジェクト314は、元画像41のオブジェクト415、元画像51のオブジェクト512および元画像61のオブジェクト615と同じ形状および大きさであり、面積が300となる。このように、元画像31,41,51,61は4種類の形状のオブジェクトにて構成され、各画像においてオブジェクトの数や配置、角度、色が異なる。なお、Rの画素にて構成されるオブジェクトのグレー値は76であり、Bの画素にて構成されるオブジェクトのグレー値は29であり、背景領域のグレー値は10である。
In the
上記元画像31,41,51,61は、画像入力部21により評価部22へと入力され、画像処理演算部221では、各元画像31,41,51,61に対して現在の集団の各遺伝子に含まれる先行画像処理演算および後続画像処理演算が順に行われる(ステップS12)。具体的には、(P11×P12×C1)にて表現される遺伝子G1については、先行画像処理演算P11である「グレー値二値化」が、図6の最も左側の列(上段に「元画像」と記す列)に示す元画像31,41,51,61のそれぞれに対して行われ、図6の左から2番目の列に示す中間画像32a,42a,52a,62aが生成される。また、後続画像処理演算P12である「収縮」が、中間画像32a,42a,52a,62aのそれぞれに対して行われ、図6の左から3番目の列に示す処理済み画像33a,43a,53a,63aが生成される。
The
また、(P21×P22×C2)にて表現される遺伝子G2については、先行画像処理演算P21である「R成分値二値化」が、図7の最も左側の列に示す元画像31,41,51,61のそれぞれに対して行われ、図7の左から2番目の列に示す中間画像32b,42b,52b,62bが生成される。また、後続画像処理演算P22である「膨張」が、中間画像32b,42b,52b,62bのそれぞれに対して行われ、図7の左から3番目の列に示す処理済み画像33b,43b,53b,63bが生成される。
For the gene G 2 expressed by (P 21 × P 22 × C 2 ), “R component value binarization” which is the preceding image processing operation P 21 is shown in the leftmost column of FIG. This is performed for each of the
さらに、(P31×P32×C3)にて表現される遺伝子G3については、先行画像処理演算P31である「G成分値二値化」が、図8の最も左側の列に示す元画像31,41,51,61のそれぞれに対して行われ、図8の左から2番目の列に示す中間画像32c,42c,52c,62cが生成される。また、後続画像処理演算P32である「平滑化」が、中間画像32c,42c,52c,62cのそれぞれに対して行われ、図8の左から3番目の列に示す処理済み画像33c,43c,53c,63cが生成される。
Further, for the gene G 3 expressed by (P 31 × P 32 × C 3 ), “G component value binarization” which is the preceding image processing operation P 31 is shown in the leftmost column of FIG. This is performed for each of the
続いて、特徴量演算部222では、集団の各遺伝子に含まれる特徴量演算が、当該遺伝子に対応する処理済み画像に対して行われる(ステップS13)。遺伝子G1については、特徴量演算C1である「円形領域数」の演算が図6の左から3番目の列に示す処理済み画像33a,43a,53a,63aのそれぞれに対して行われ、図6の最も右側の列に示すように、処理済み画像33a,43a,53a,63aにおける「円形領域数」が元画像31,41,51,61に対する特徴量Fとして求められる。
Subsequently, in the feature
遺伝子G2については、特徴量演算C2である「領域の総面積」の演算が図7の左から3番目の列に示す処理済み画像33b,43b,53b,63bのそれぞれに対して行われ、図7の最も右側の列に示すように、処理済み画像33b,43b,53b,63bにおける「領域の総面積」が元画像31,41,51,61に対する特徴量Fとして求められる。遺伝子G3については、特徴量演算C3である「領域数」の演算が図8の左から3番目の列に示す処理済み画像33c,43c,53c,63cのそれぞれに対して行われ、図8の最も右側の列に示すように、処理済み画像33c,43c,53c,63cにおける「領域数」が元画像31,41,51,61に対する特徴量Fとして求められる。
For the gene G 2 , the calculation of “total area of region”, which is the feature amount calculation C 2 , is performed on each of the processed
以上のようにして、各遺伝子(分類処理候補)において複数の元画像31,41,51,61に対する複数の特徴量が求められると、有効度演算部223では、各遺伝子について、特徴量を従属変数、画像グループを因子として、一元配置分散分析における有意確率(p値)が表3のように求められる(ステップS14)。
As described above, when a plurality of feature amounts for the plurality of
表3に示すように、集団における遺伝子G1に対する有意確率は0.423であり、遺伝子G2に対する有意確率は1.000であり、遺伝子G3に対する有意確率は計算不能(有意確率の計算式における分母が0となる。)である。ここで、有意確率が小さいほど、画像グループAにおける特徴量の平均値と画像グループBにおける特徴量の平均値との間に有意差があると考えられる。したがって、複数の元画像31,41,51,61のそれぞれを、複数の画像グループA、Bのいずれかに分類する際における複数の特徴量の有効度(または、評価値)、すなわち、画像グループA、Bへの分類における各遺伝子の有効度を、グループ分けに有用なほど高い値となる指標として定義すると、例えば有意確率の逆数等を有効度として用いることができる。このように、ステップS14の処理は、各遺伝子において求められる複数の特徴量の有効度を求める処理である。
As shown in Table 3, significant probability for gene G 1 in the population is 0.423, significant probability for gene G 2 is a 1.000, significant probability for gene G 3 are calculated impossible (the significance probability formula The denominator at 0 is 0). Here, it is considered that there is a significant difference between the average value of the feature values in the image group A and the average value of the feature values in the image group B as the significance probability is smaller. Therefore, the effectiveness (or evaluation value) of the plurality of feature amounts when each of the plurality of
演算内容変更部23では、3個の遺伝子に対する有意確率のうち最小の有意確率を集団評価値として、集団評価値が所定の評価閾値0.05以下であるか否かが確認される。表3の例では、集団評価値が0.423であり、評価閾値よりも大きいため、集団の更新(すなわち、分類処理候補の更新)が行われる(ステップS15)。ステップS15の処理は、有効度が所定の閾値以上である場合を終了条件として、終了条件を満足するか否かを確認する処理であると捉えられる。
In the calculation
集団の更新では、まず、図4に示す現在の集団に含まれる遺伝子G1、遺伝子G2および遺伝子G3のうち有意確率が最大となるものが集団から削除される(すなわち、遺伝子の淘汰を行う。)(ステップS16)。ここでは、有意確率が計算不能となる遺伝子は有意確率が最大とみなされ、遺伝子G3が集団から削除される。続いて、図9に示すように、有意確率が最小となる遺伝子G1が、遺伝子G1’として複製される(すなわち、遺伝子の増殖を行う。)(ステップS17)。遺伝子G1’は(P11×P12×C1)にて表現される。 In updating the group, first, the gene G 1 , the gene G 2, and the gene G 3 included in the current group shown in FIG. 4 are deleted from the group (that is, the gene trap is deleted). (Step S16). Here, the gene significance probability becomes impossible calculation is considered significant probability maximum, gene G 3 is removed from the population. Subsequently, as shown in FIG. 9, the gene G 1 having the minimum significance is replicated as the gene G 1 ′ (that is, the gene is propagated) (step S17). The gene G 1 ′ is expressed by (P 11 × P 12 × C 1 ).
遺伝子G1’が複製されると、図10に示すように、有意確率が2番目に小さい遺伝子G2における後続画像処理演算P22および特徴量演算C2と、遺伝子G1’における後続画像処理演算P12および特徴量演算C1とが交換される(すなわち、遺伝子の交叉を行う。)(ステップS18)。これにより、新たな遺伝子G4および遺伝子G5が生成される。また、交叉により生成された遺伝子G4および遺伝子G5の先行画像処理演算、後続画像処理演算および特徴量演算から1つの演算がランダム(不規則)に選択され、同種の他の演算に変更される(すなわち、遺伝子の突然変異を行う。)(ステップS19)。すなわち、先行画像処理演算が選択された場合には他の二値化演算に変更され、後続画像処理演算が選択された場合には他のフィルタ演算に変更され、特徴量演算が選択された場合には他の種類の特徴量を求める演算に変更される。ここでは、図11中にアンダーラインを付して示す遺伝子G4における特徴量演算C2が「領域の総面積」から「領域数」に変更されている。なお、遺伝子G1において突然変異が行われてよい。 When the gene G 1 ′ is duplicated, as shown in FIG. 10, the subsequent image processing operation P 22 and the feature amount operation C 2 in the gene G 2 having the second lowest significance probability, and the subsequent image processing in the gene G 1 ′ . calculating P 12 and the feature and calculating C 1 is exchanged (i.e., performs the crossover gene.) (step S18). Thus, a new gene G 4 and gene G 5 are generated. In addition, one operation is randomly selected from the preceding image processing operation, the subsequent image processing operation, and the feature amount operation of the gene G 4 and the gene G 5 generated by the crossover, and is changed to another operation of the same type. (That is, gene mutation is performed) (step S19). In other words, when the preceding image processing operation is selected, it is changed to another binarization operation, when the subsequent image processing operation is selected, it is changed to another filter operation, and the feature amount operation is selected. Is changed to an operation for obtaining another type of feature amount. Here, the changed feature quantity calculating C 2 in gene G 4 shown underlined in Figure 11 is from the "total area of the region" to "the number of regions". It may take place mutations in gene G 1.
以上の処理により集団の更新が完了し、(P11×P12×C1)にて表現される遺伝子G1、(P41×P42×C4)にて表現される遺伝子G4、(P51×P52×C5)にて表現される遺伝子G5が、分類処理候補として更新後の集団((N+1)回目の更新後の集団と捉えられてよい。)に含まれる。図12に示すように、遺伝子G1における先行画像処理演算P11は「グレー値二値化」であり、後続画像処理演算P12は「収縮」であり、特徴量演算C1は「円形領域数」の演算である。遺伝子G4における先行画像処理演算P41は「グレー値二値化」であり、後続画像処理演算P42は「膨張」であり、特徴量演算C4は「領域数」の演算である。遺伝子G5における先行画像処理演算P51は「R成分値二値化」であり、後続画像処理演算P52は「収縮」であり、特徴量演算C5は「円形領域数」の演算である。 The update of the population is completed by the above processing, and the gene G 1 expressed by (P 11 × P 12 × C 1 ), the gene G 4 expressed by (P 41 × P 42 × C 4 ), ( The gene G 5 expressed by P 51 × P 52 × C 5 ) is included in the updated group (may be regarded as the (N + 1) th updated group) as a classification processing candidate. As shown in FIG. 12, the preceding image processing calculation P 11 in the gene G 1 is “gray value binarization”, the subsequent image processing calculation P 12 is “shrinkage”, and the feature amount calculation C 1 is “circular region”. It is the calculation of “number”. The preceding image processing operation P 41 in the gene G 4 is “gray value binarization”, the subsequent image processing operation P 42 is “expansion”, and the feature amount operation C 4 is an operation of “number of regions”. The preceding image processing calculation P 51 in the gene G 5 is “R component value binarization”, the subsequent image processing calculation P 52 is “shrinkage”, and the feature amount calculation C 5 is a calculation of “number of circular regions”. .
画像処理演算部221では、各元画像31,41,51,61に対して更新後の集団の各遺伝子に含まれる先行画像処理演算および後続画像処理演算が順に行われる(ステップS12)。具体的には、(P41×P42×C4)にて表現される遺伝子G4については、先行画像処理演算P41である「グレー値二値化」が、図13の最も左側の列に示す元画像31,41,51,61のそれぞれに対して行われ、図13の左から2番目の列に示す中間画像32d,42d,52d,62dが生成される。また、後続画像処理演算P42である「膨張」が、中間画像32d,42d,52d,62dのそれぞれに対して行われ、図13の左から3番目の列に示す処理済み画像33d,43d,53d,63dが生成される。
In the image
(P51×P52×C5)にて表現される遺伝子G5については、先行画像処理演算P51である「R成分値二値化」が、図14の最も左側の列に示す元画像31,41,51,61のそれぞれに対して行われ、図14の左から2番目の列に示す中間画像32e,42e,52e,62eが生成される。また、後続画像処理演算P52である「収縮」が、中間画像32e,42e,52e,62eのそれぞれに対して行われ、図14の左から3番目の列に示す処理済み画像33e,43e,53e,63eが生成される。(P11×P12×C1)にて表現される遺伝子G1については、更新前の集団におけるステップS12の処理と同様に、図6の左から3番目の列に示す処理済み画像33a,43a,53a,63aが生成される。
For the gene G 5 represented by (P 51 × P 52 × C 5 ), the “R component value binarization” that is the preceding image processing operation P 51 is the original image shown in the leftmost column of FIG. The
続いて、特徴量演算部222では、集団の各遺伝子に含まれる特徴量演算が対応する処理済み画像に対して行われる(ステップS13)。遺伝子G4については、特徴量演算C4である「領域数」の演算が図13の左から3番目の列に示す処理済み画像33d,43d,53d,63dのそれぞれに対して行われ、図13の最も右側の列に示すように、処理済み画像33d,43d,53d,63dにおける「領域数」が各元画像31,41,51,61に対する特徴量Fとして求められる。
Subsequently, in the feature
遺伝子G5については、特徴量演算C5である「円形領域数」の演算が図14の左から3番目の列に示す処理済み画像33e,43e,53e,63eのそれぞれに対して行われ、図14の最も右側の列に示すように、処理済み画像33e,43e,53e,63eにおける「円形領域数」が各元画像31,41,51,61に対する特徴量Fとして求められる。遺伝子G1については、更新前の集団におけるステップS13の処理と同様に、図6の最も右側の列に示す特徴量Fが求められる。有効度演算部223では、一元配置分散分析における有意確率(p値)が表4のように求められる(ステップS14)。
For the gene G 5 , the “number of circular areas”, which is the feature amount calculation C 5 , is performed on each of the processed
表4に示すように、集団における遺伝子G1に対する有意確率は0.423であり、遺伝子G4に対する有意確率は0.038であり、遺伝子G5に対する有意確率は0.038である。演算内容変更部23では、3個の遺伝子に対する有意確率の最小値である集団評価値が所定の評価閾値0.05以下であり、終了条件を満たすことが確認されると(ステップS15)、分類処理候補である遺伝子G1、遺伝子G4および遺伝子G5のうち、有意確率が評価閾値0.05以下となる遺伝子G4および遺伝子G5のそれぞれが、画像グループAおよび画像グループBへの画像の分類において利用可能な分類処理として特定される。以上のようにして、作業者が主観的に設定した画像グループAと画像グループBとの相違が、分類処理を用いて自動的に定量化される。各分類処理における演算の内容は表示制御部24に出力され、ディスプレイ16に表示される(ステップS20)。また、各分類処理における演算の内容は図示省略の記憶部にも記憶される。
As shown in Table 4, significant probability for gene G 1 in the population is 0.423, significant probability for gene G 4 are a 0.038, significant probability for gene G 5 is 0.038. When it is confirmed that the group evaluation value, which is the minimum value of significance for the three genes, is equal to or lower than the predetermined evaluation threshold value 0.05 and satisfies the end condition (step S15), the calculation
図15は、ディスプレイ16に表示されるウィンドウ7を示す図である。図15に示すように、ウィンドウ7内の右上の分類処理選択部71では複数の分類処理のうちの1つの分類処理が選択可能であり、図15では遺伝子G5が「分類処理05」として選択されている。また、分類処理選択部71の下方における分類処理内容表示領域72では、選択された分類処理(以下、「選択分類処理」という。)における処理の列、すなわち、先行画像処理演算、後続画像処理演算および特徴量演算の内容(各種閾値などのパラメータ値を含む。)がテキストにて判りやすく表示される。
FIG. 15 is a diagram showing the
分類処理内容表示領域72の左側には、2つのグループ表示領域73が縦方向に並んで設けられ、各グループ表示領域73の左上には、表示グループ選択部731が設けられる。各グループ表示領域73には、元画像表示領域732、中間画像表示領域733、処理済み画像表示領域734および特徴量表示領域735が設定される。表示グループ選択部731にて一の画像グループが選択されると、当該画像グループに属する元画像が元画像表示領域732に表示され、選択分類処理の先行画像処理演算により当該元画像から生成される中間画像が中間画像表示領域733に表示される。また、選択分類処理の後続画像処理演算により当該中間画像から生成される処理済み画像が処理済み画像表示領域734に表示され、選択分類処理の特徴量演算により処理済み画像から取得される特徴量が特徴量表示領域735に表示される。このように、ウィンドウ7では、複数の画像グループにそれぞれ対応する複数の元画像、複数の中間画像、複数の処理済み画像および複数の特徴量が同時に表示可能である。実際には、最初に表示されるウィンドウ7では、複数のグループ表示領域73が互いに異なる画像グループに割り当てられる。なお、中間画像および処理済み画像の下には、直前の画像処理演算の名称も表示される。
Two
また、図15のウィンドウ7では、元画像表示領域732内をスクロールすることにより、表示グループ選択部731にて選択された画像グループに属する他の元画像を表示することも可能である。この場合、当該元画像に対応する中間画像、処理済み画像および特徴量が中間画像表示領域733、処理済み画像表示領域734および特徴量表示領域735にそれぞれ表示される。ウィンドウ7では、同一グループに属する複数の元画像が同時に表示されてよい(中間画像、処理済み画像および特徴量において同様)。また、各分類処理における有意確率(または、有効度)が表示されてもよく、上記処理例のように複数の分類処理が取得される場合に、有意確率に基づく分類処理の順位が表示されてもよい。
Further, in the
図15のウィンドウ7を参照することにより、作業者は有効な分類処理を定量的に捉えることができる。例えば、先行画像処理演算P41が「グレー値二値化」であり、後続画像処理演算P42が「膨張」であり、特徴量演算C4が「領域数」の演算である遺伝子G4の分類処理は、オブジェクトが密集して存在するか否かを判断基準として分類するためのものであると捉えられる。また、先行画像処理演算P51が「R成分値二値化」であり、後続画像処理演算P52が「収縮」であり、特徴量演算C5が「円形領域数」の演算である遺伝子G5の分類処理は、赤い円形オブジェクトが多いか否かを判断基準として分類するためのものであると捉えられる。なお、本処理例では、上記のように内容が解釈可能な分類処理が生成されるが、解釈が困難な分類処理が生成されてよく、このような分類処理も後述の画像の分類に用いられてよい。
By referring to the
以上の処理により、画像を画像グループAと画像グループBとに分類するための分類処理が生成されると、コンピュータ1では、属すべき画像グループが未知である画像(以下、「対象画像」という。)を当該分類処理を用いて分類する動作が行われる(すなわち、コンピュータ1により画像分類装置が実現される。)。
When the classification process for classifying the images into the image group A and the image group B is generated by the above processing, the
図16は、コンピュータ1が対象画像を分類する動作の流れを示す図である。図2の評価部22では、各対象画像に対して一の分類処理に含まれる先行画像処理演算を行って中間画像が生成され、中間画像に対して後続画像処理演算を行って処理済み画像が生成される(ステップS21)。続いて、処理済み画像に対して当該分類処理に含まれる特徴量演算を行うことにより特徴量が求められる(ステップS22)。そして、当該特徴量を所定の閾値と比較することにより、対象画像が画像グループAおよび画像グループBのいずれに属するかが判定される(ステップS23)。これにより、対象画像を精度よく、かつ、高速にグループ分けすることができる。なお、図3の処理により分類処理が生成された後、作業者により分類処理の内容が修正され、修正後の分類処理により、図16の対象画像の分類が行われてもよい。なお、ステップS23の判定は、特徴量を用いて公知の判別分析や事前入手して画像の当該特徴量で学習する分類手法等を用いてもよい。
FIG. 16 is a diagram illustrating a flow of operations in which the
以上に説明したように、コンピュータ1が実現する分類処理生成装置では、評価部22において、複数の画像グループのそれぞれに属する各元画像に対して、分類処理候補における画像処理演算および特徴量演算を順に行うことにより複数の元画像の複数の特徴量が求められ、画像グループへの分類における当該複数の特徴量の有効度が求められる。また、演算内容変更部23では、分類処理候補における画像処理演算および特徴量演算を対象として演算の内容を変更しつつ評価部22にて有効度を求める処理が、有効度が閾値以上となるまで繰り返され、有効度が閾値以上となる際の分類処理候補が利用可能な分類処理として取得される。これにより、有効な分類処理を容易に生成することができる。そして、有効な分類処理における画像処理演算および特徴量演算の双方の内容が表示制御部24によりディスプレイ16に表示される。このように、有効な分類処理における画像処理演算および特徴量演算の内容を表示することにより、作業者が分類処理の内容を確実に把握することができ、分類処理の解釈や修正等を容易に行うことができる。
As described above, in the classification processing generation apparatus realized by the
また、各元画像と、当該元画像に対して分類処理における画像処理演算を行って生成された処理済み画像とがディスプレイ16に同時に表示されることにより、作業者が、元画像および処理済み画像を参照して分類処理の内容を直感的に把握することができ、分類処理の解釈等を容易に行うことができる。さらに、複数の画像グループにそれぞれ対応するとともに、分類処理における画像処理演算により生成された複数の処理済み画像がディスプレイ16に同時に表示される。これにより、作業者が複数の画像グループにそれぞれ対応する複数の処理済み画像を容易に比較することができ、画像グループ間における処理済み画像の相違を容易に把握して、分類処理の解釈等を効率よく行うことができる。
In addition, each original image and a processed image generated by performing image processing calculation in the classification process on the original image are displayed on the
分類処理生成装置では、評価部22において複数の分類処理候補が準備され、複数の分類処理候補にそれぞれ対応する複数の有効度がおよそ並行して求められる。そして、複数の分類処理候補に含まれる分類処理候補における演算の内容を変更しつつ評価部22にて複数の有効度を求める処理が、終了条件を満たすまで繰り返される。これにより、有効な分類処理を効率よく生成することができる。
In the classification process generation device, a plurality of classification process candidates are prepared in the
以上、本発明の実施の形態について説明してきたが、本発明は上記実施の形態に限定されるものではなく、様々な変形が可能である。 Although the embodiments of the present invention have been described above, the present invention is not limited to the above-described embodiments, and various modifications can be made.
上記実施の形態では、画像処理演算が、二値化演算である先行画像処理演算とフィルタ演算である後続画像処理演算とに区別されるが、画像処理演算は、必ずしも先行画像処理演算と後続画像処理演算とに区別される必要はない。例えば、図17に示すように、各画像処理演算が、3個の入力プレーン911のうちの特定の入力プレーン911に対して処理を行い、3個の出力プレーン912のうちの特定の出力プレーン912に演算結果を出力するモジュールとして実現される場合、様々な画像処理演算を自在に組み合わせることが可能となる。なお、最初の画像処理演算における3個の入力プレーン911には、元画像におけるR成分の画像、G成分の画像およびB成分の画像がそれぞれ入力されることが好ましい。既述のように、各分類処理候補は、1つまたは3以上の画像処理演算を含んでよい。
In the above embodiment, the image processing operation is classified into the preceding image processing operation that is a binarization operation and the subsequent image processing operation that is a filter operation. However, the image processing operation is not necessarily the preceding image processing operation and the subsequent image. There is no need to distinguish between processing operations. For example, as shown in FIG. 17, each image processing operation processes a
画像処理演算として、他のフィルタ処理やエッジ検出処理等が含められてよい。また、画像を周波数領域に変換(FFT変換)して周波数画像を生成する処理、周波数画像において特定の周波数成分をカットする処理、および、周波数画像を逆FFT変換する処理の組合せ等が、1つの画像処理演算として準備されてよく、これらの処理のそれぞれが1つの画像処理演算として準備されてもよい。 Other filter processing, edge detection processing, and the like may be included as the image processing calculation. In addition, a combination of a process for converting an image into a frequency domain (FFT conversion) to generate a frequency image, a process for cutting a specific frequency component in the frequency image, and a process for performing inverse FFT conversion on the frequency image is one. An image processing operation may be prepared, and each of these processes may be prepared as one image processing operation.
特徴量演算として、モーメント値を求める演算や、周波数画像における特定周波数の強度を求める演算(この場合に、特徴量演算がFFT変換を含んでいてもよい。)等が含められてよい。 The feature amount calculation may include a calculation for obtaining a moment value, a calculation for determining the intensity of a specific frequency in the frequency image (in this case, the feature amount calculation may include FFT conversion), and the like.
分類処理生成装置では、画像を3以上の画像グループのいずれかに分類するための分類処理が生成されてもよい。この場合、図3のステップS14にて有効度を求める際に、例えば、各分類処理候補(遺伝子)に関して一元配置分散分析における多重比較が行われ、3以上の画像グループのうちの2つの画像グループの全ての組合せにおける有意確率が取得され、これらの有意確率のうちの最大のものが、有効度に相当する注目有意確率として取り扱われる。そして、複数の分類処理候補の注目有意確率のうち最小の有意確率を集団評価値として、集団評価値が所定の評価閾値以下となるまで集団の更新(ステップS16〜S19)および有意確率の算出(ステップS12〜S14)が繰り返される(ステップS15)。これにより、画像を3以上の画像グループのいずれかに分類するための分類処理が生成される。 In the classification process generation device, a classification process for classifying an image into any of three or more image groups may be generated. In this case, when determining the effectiveness in step S14 of FIG. 3, for example, multiple comparisons in one-way analysis of variance are performed for each classification processing candidate (gene), and two image groups out of three or more image groups Significance probabilities in all the combinations are acquired, and the largest of these significance probabilities is treated as the attention significance probability corresponding to the effectiveness. Then, using the minimum significant probability among the attention significant probabilities of the plurality of classification processing candidates as a group evaluation value, update of the group (steps S16 to S19) and calculation of the significance probability until the group evaluation value falls below a predetermined evaluation threshold ( Steps S12 to S14) are repeated (step S15). Thereby, a classification process for classifying an image into any of three or more image groups is generated.
また、分類処理候補の有効度は様々な手法にて求めることが可能である。例えば、各分類処理候補においてT種類(Tは1以上の整数)の特徴量演算が含められ、特表2008−524675号公報(特許文献4)の手法を応用する場合、特許文献4の段落0044に記載のbを利用し、各分類処理候補におけるT種類の特徴量演算C1、C2、・・・、Cp、・・・、CT(pは1以上T以下の任意の整数)のそれぞれ(ただし、各種類の特徴量演算は、画像処理演算を元画像に施すことにより得られる同じ処理済み画像に対して行われる。)により取得される元画像kに対する特徴量Fk1、Fk2、・・・、Fkp、・・・、FkTを用いて、各特徴量演算Cpによる特徴量の評価値Ep(有効度)は数2にて求められる。
In addition, the effectiveness of the classification process candidate can be obtained by various methods. For example, in each classification processing candidate, T types (T is an integer equal to or greater than 1) of feature amount calculation are included, and when applying the technique of JP-T-2008-524675 (Patent Document 4), paragraph 0044 of
ここでは、T種類の特徴量の評価値のうち最大のものが、注目評価値として取り扱われる。そして、複数の分類処理候補の注目評価値のうち最大のものが所定の閾値以上となるまで集団の更新(ステップS16〜S19)および評価値の算出(ステップS12〜S14)が繰り返され(ステップS15)、当該閾値以上の評価値が得られる特徴量の特徴量演算Cpと、その際の画像処理演算とを組み合わせたものが、利用可能な分類処理として用いられる。また、特表2008−129657号公報(特許文献5)の段落0054における式1にて表されるE(Feature)を上記評価値(有効度)として用いることも可能である。
Here, the largest evaluation value of the T types of feature values is handled as the attention evaluation value. Then, the update of the group (steps S16 to S19) and the calculation of the evaluation value (steps S12 to S14) are repeated (step S15) until the maximum of the attention evaluation values of the plurality of classification processing candidates reaches a predetermined threshold value or more. ), A combination of the feature amount calculation C p of the feature amount that provides an evaluation value equal to or higher than the threshold and the image processing calculation at that time is used as an available classification process. Further, E (Feature) represented by
上記実施の形態では、集団の更新(図3:ステップS16〜S19)における遺伝子の淘汰、増殖、交叉および突然変異により2つの分類処理候補の内容が変更されるが、集団の更新において1つの分類処理候補、または、3以上の分類処理候補の内容が変更されてもよい。分類処理生成装置では、複数の分類処理候補の少なくとも1つにおける演算の内容を変更しつつ、評価部22において複数の分類処理候補にそれぞれ対応する複数の有効度をおよそ並行して求めることにより、画像の分類にて利用可能な分類処理(すなわち、有効度が高い分類処理)を効率よく取得することが可能となる。
In the above embodiment, the contents of the two classification processing candidates are changed by gene selection, multiplication, crossover, and mutation in the group update (FIG. 3: steps S16 to S19). The contents of a process candidate or three or more classification process candidates may be changed. In the classification processing generation device, by changing the content of the calculation in at least one of the plurality of classification processing candidates, the
また、画像の分類にて利用可能な分類処理は、遺伝的アルゴリズム以外の手法により取得されてもよい。例えば、演算の手順は同じであるが、閾値等のパラメータの値が相違する複数の画像処理演算が準備され、複数の画像処理演算のうちの1つの画像処理演算と、一の特徴量演算との組合せが1つの分類処理候補として準備される(図3:ステップS11)。続いて、分類処理候補を用いた有効度の算出が、分類処理候補における画像処理演算を、当該複数の画像処理演算のうちの他の1つの画像処理演算に変更しつつ繰り返される(ステップS15,S12〜S14)。画像処理演算と特徴量演算との全ての組合せに対して有効度が求められて終了条件が満たされると(ステップS15)、有効度が閾値以上となる場合の分類処理候補を利用可能な分類処理として、分類処理の内容がディスプレイ16に表示される(ステップS20)。これにより、作業者が分類処理の解釈や修正等を容易に行うことができる。なお、特徴量演算は変更されないため、分類処理における画像処理演算の内容のみが表示されてもよく、この場合も、有効な分類処理の内容が実質的に表示されていると捉えることができる。 Further, the classification process that can be used for image classification may be acquired by a technique other than the genetic algorithm. For example, a plurality of image processing calculations having the same calculation procedure but different parameter values such as threshold values are prepared, and one image processing calculation among the plurality of image processing calculations, one feature value calculation, Are prepared as one classification processing candidate (FIG. 3: step S11). Subsequently, the calculation of the effectiveness using the classification processing candidate is repeated while changing the image processing calculation in the classification processing candidate to another one of the plurality of image processing calculations (step S15, S12 to S14). If the effectiveness is obtained for all combinations of the image processing calculation and the feature value calculation and the end condition is satisfied (step S15), the classification processing that can use the classification processing candidate when the effectiveness is equal to or greater than the threshold value The contents of the classification process are displayed on the display 16 (step S20). Thereby, the operator can easily interpret and correct the classification process. Since the feature amount calculation is not changed, only the contents of the image processing calculation in the classification process may be displayed. In this case, it can be understood that the contents of the effective classification process are substantially displayed.
また、上記のように、分類処理候補において画像処理演算および特徴量演算の一方のみを変更しつつ有効度が求められてよく、分類処理生成装置では、分類処理候補における画像処理演算および特徴量演算の少なくとも一方の演算の内容を変更しつつ有効度を求める処理を、終了条件を満たすまで繰り返すことにより、有効な分類処理を生成することが実現される。そして、終了条件を満たした際に、有効度が閾値以上となる場合の分類処理候補を利用可能な分類処理として、分類処理における当該少なくとも一方の演算の内容をディスプレイ16に表示する、すなわち、有効な分類処理の内容を(実質的に)表示することにより、作業者が分類処理の解釈や修正等を容易に行うことができる。
Further, as described above, the effectiveness may be obtained while changing only one of the image processing calculation and the feature amount calculation in the classification processing candidate. In the classification processing generation device, the image processing calculation and the feature amount calculation in the classification processing candidate are performed. It is possible to generate an effective classification process by repeating the process of obtaining the effectiveness while changing the content of at least one of the operations until the end condition is satisfied. Then, when the end condition is satisfied, the content of at least one operation in the classification process is displayed on the
一方、より有効な分類処理を容易に生成するという観点では、分類処理候補における画像処理演算および特徴量演算の双方を対象として演算の内容を変更しつつ有効度を求める処理を、当該有効度が閾値以上となるまで繰り返し、有効度が閾値以上となる際の分類処理候補を利用可能な分類処理として取得することが好ましい。 On the other hand, from the viewpoint of easily generating a more effective classification process, a process for obtaining the effectiveness while changing the content of the calculation for both the image processing calculation and the feature value calculation in the classification process candidate is performed. It is preferable to repeat the process until the threshold value is equal to or greater than the threshold value, and to acquire the classification process candidate when the effectiveness is equal to or greater than the threshold value as an available classification process.
図3のステップS15では、様々な終了条件を用いることが可能であり、例えば、ステップS16〜S19,S12〜S14の繰返し回数が所定回数に到達した場合に、終了条件を満たすと判定されてよい。また、直前の処理にて求められた集団評価値と、現在の処理にて求められた集団評価値との差が所定値以下となる場合に、または、当該差が所定値以下となる状態が一定回数連続して繰り返される場合に、終了条件を満たすと判定されてよい。 In step S15 in FIG. 3, various end conditions can be used. For example, when the number of repetitions of steps S16 to S19 and S12 to S14 reaches a predetermined number, it may be determined that the end condition is satisfied. . Further, when the difference between the group evaluation value obtained in the immediately preceding process and the group evaluation value obtained in the current process is equal to or less than a predetermined value, or the state where the difference is equal to or less than the predetermined value. It may be determined that the end condition is satisfied when it is repeated continuously for a certain number of times.
各分類処理候補に関して、1つの元画像に対して複数の中間画像が生成される場合には、中間画像表示領域733内をスクロールすることにより、全ての中間画像が表示可能であることが好ましい。
When a plurality of intermediate images are generated for one original image for each classification processing candidate, it is preferable that all intermediate images can be displayed by scrolling in the intermediate
上記分類処理生成装置は、絵画等の美術作品を示す画像以外に、半導体基板やガラス基板上に形成されるパターンの欠陥を示す画像、あるいは、医療の場にて撮像される人体の各種部位を示す画像など、様々な画像を複数の画像グループのいずれかに分類するための分類処理の生成に用いられてよい。また、可視光による画像以外に、X線やテラヘルツ波等による画像が用いられてよく、この場合、撮像される対象物における材料等の相違も反映した分類が可能となる。 In addition to images showing artworks such as paintings, the classification processing generation device can display images showing defects in patterns formed on semiconductor substrates and glass substrates, or various parts of the human body imaged in medical settings. It may be used to generate a classification process for classifying various images, such as images shown, into any of a plurality of image groups. In addition to an image using visible light, an image using X-rays, terahertz waves, or the like may be used. In this case, classification that reflects differences in materials and the like in an object to be imaged is possible.
上記実施の形態および各変形例における構成は、相互に矛盾しない限り適宜組み合わされてよい。 The configurations in the above-described embodiments and modifications may be combined as appropriate as long as they do not contradict each other.
1 コンピュータ
16 ディスプレイ
22 評価部
23 演算内容変更部
24 表示制御部
31,41,51,61 元画像
33a〜33e,43a〜43e,53a〜53e,63a〜63e 処理済み画像
72 分類処理内容表示領域
73 グループ表示領域
732 元画像表示領域
734 処理済み画像表示領域
S11〜S20 ステップ
DESCRIPTION OF
Claims (10)
所定の画像処理演算および特徴量演算を含む分類処理候補が準備され、前記分類処理候補を用いて、複数の画像グループのそれぞれに属する各元画像に対して前記画像処理演算を行って処理済み画像を生成し、前記処理済み画像に対して前記特徴量演算を行うことにより、複数の元画像の複数の特徴量を求め、前記複数の元画像のそれぞれを前記複数の画像グループのいずれかに分類する際における前記複数の特徴量の有効度を求める評価部と、
前記分類処理候補における前記画像処理演算および前記特徴量演算の少なくとも一方の演算の内容を変更しつつ前記評価部にて前記有効度を求める処理を、終了条件を満たすまで繰り返す演算内容変更部と、
前記終了条件を満たした際に、前記有効度が閾値以上となる場合の前記分類処理候補を利用可能な分類処理として、前記分類処理における前記少なくとも一方の演算の内容を表示部に表示する表示制御部と、
を備えることを特徴とする分類処理生成装置。 A classification process generation device that generates a classification process for classifying an image into one of a plurality of image groups,
Classification processing candidates including predetermined image processing calculation and feature amount calculation are prepared, and using the classification processing candidates, the image processing calculation is performed on each original image belonging to each of a plurality of image groups, and processed images And calculating the feature amount on the processed image to obtain a plurality of feature amounts of the plurality of original images, and classifying each of the plurality of original images into one of the plurality of image groups. An evaluation unit for determining the effectiveness of the plurality of feature amounts in performing,
A calculation content changing unit that repeats the process of obtaining the effectiveness in the evaluation unit while changing the content of at least one of the image processing calculation and the feature value calculation in the classification processing candidate until an end condition is satisfied;
Display control for displaying the content of the at least one operation in the classification process on a display unit as a classification process that can use the classification process candidate when the effectiveness is equal to or greater than a threshold when the termination condition is satisfied And
A classification processing generation device comprising:
前記表示制御部が、前記分類処理における前記画像処理演算および前記特徴量演算の双方の内容を前記表示部に表示することを特徴とする分類処理生成装置。 The classification processing generation apparatus according to claim 1,
The classification processing generation apparatus, wherein the display control unit displays contents of both the image processing calculation and the feature amount calculation in the classification processing on the display unit.
前記表示制御部が、前記各元画像と、前記各元画像に対して前記分類処理における前記画像処理演算を行って生成された前記処理済み画像とを前記表示部に同時に表示することを特徴とする分類処理生成装置。 The classification process generation device according to claim 1 or 2,
The display control unit simultaneously displays each original image and the processed image generated by performing the image processing calculation in the classification process on each original image on the display unit. Classification processing generation device to perform.
前記表示制御部が、前記複数の画像グループにそれぞれ対応するとともに前記分類処理における前記画像処理演算により生成された複数の処理済み画像を前記表示部に同時に表示することを特徴とする分類処理生成装置。 The classification process generation device according to claim 1 or 2,
The classification processing generation apparatus, wherein the display control unit simultaneously displays a plurality of processed images corresponding to the plurality of image groups and generated by the image processing calculation in the classification processing on the display unit. .
前記評価部において、複数の分類処理候補が準備され、
前記評価部が、前記複数の分類処理候補にそれぞれ対応する複数の有効度を求め、
前記演算内容変更部が、前記複数の分類処理候補の少なくとも1つにおける前記少なくとも一方の演算の内容を変更しつつ前記評価部にて前記複数の有効度を求める処理を、前記終了条件を満たすまで繰り返すことを特徴とする分類処理生成装置。 A classification processing generation apparatus according to any one of claims 1 to 4,
In the evaluation unit, a plurality of classification processing candidates are prepared,
The evaluation unit obtains a plurality of effectiveness levels corresponding to the plurality of classification processing candidates,
The calculation content changing unit changes the content of the at least one calculation in at least one of the plurality of classification processing candidates while obtaining the plurality of validity levels in the evaluation unit until the end condition is satisfied. A classification processing generation device characterized by repetition.
a)所定の画像処理演算および特徴量演算を含む分類処理候補を準備する工程と、
b)複数の画像グループのそれぞれに属する各元画像に対して前記画像処理演算を行って処理済み画像を生成する工程と、
c)前記処理済み画像に対して前記特徴量演算を行うことにより、複数の元画像の複数の特徴量を求める工程と、
d)前記複数の元画像のそれぞれを前記複数の画像グループのいずれかに分類する際における前記複数の特徴量の有効度を求める工程と、
e)前記分類処理候補における前記画像処理演算および前記特徴量演算の少なくとも一方の演算の内容を変更しつつ前記b)ないしd)工程を、終了条件を満たすまで繰り返す工程と、
f)前記有効度が閾値以上となる場合の前記分類処理候補を利用可能な分類処理として、前記分類処理における前記少なくとも一方の演算の内容を表示部に表示する工程と、
を備えることを特徴とする分類処理生成方法。 A classification process generation method for generating a classification process for classifying an image into one of a plurality of image groups,
a) preparing a classification processing candidate including predetermined image processing calculation and feature amount calculation;
b) performing the image processing operation on each original image belonging to each of a plurality of image groups to generate a processed image;
c) obtaining a plurality of feature quantities of a plurality of original images by performing the feature quantity computation on the processed image;
d) determining the effectiveness of the plurality of feature amounts when classifying each of the plurality of original images into any of the plurality of image groups;
e) repeating the steps b) to d) until the end condition is satisfied while changing the content of at least one of the image processing calculation and the feature amount calculation in the classification processing candidate;
f) a step of displaying the content of the at least one calculation in the classification process on a display unit as a classification process that can use the classification process candidate when the effectiveness is equal to or higher than a threshold;
A classification processing generation method characterized by comprising:
前記f)工程において、前記分類処理における前記画像処理演算および前記特徴量演算の双方の内容が前記表示部に表示されることを特徴とする分類処理生成方法。 The classification processing generation method according to claim 6,
In the step f), the contents of both the image processing calculation and the feature amount calculation in the classification process are displayed on the display unit.
前記f)工程において、前記各元画像と、前記各元画像に対して前記分類処理における前記画像処理演算を行って生成された前記処理済み画像とが前記表示部に同時に表示されることを特徴とする分類処理生成方法。 The classification processing generation method according to claim 6 or 7,
In the step f), each original image and the processed image generated by performing the image processing operation in the classification process on each original image are simultaneously displayed on the display unit. Classification processing generation method.
前記f)工程において、前記複数の画像グループにそれぞれ対応するとともに前記分類処理における前記画像処理演算により生成された複数の処理済み画像が前記表示部に同時に表示されることを特徴とする分類処理生成方法。 The classification processing generation method according to claim 6 or 7,
In the step f), a plurality of processed images corresponding to the plurality of image groups and generated by the image processing calculation in the classification processing are simultaneously displayed on the display unit. Method.
前記a)工程において、複数の分類処理候補が準備され、
前記b)ないしd)工程により、前記複数の分類処理候補にそれぞれ対応する複数の有効度が求められ、
前記e)工程において、前記複数の分類処理候補の少なくとも1つにおける前記少なくとも一方の演算の内容を変更しつつ前記b)ないしd)工程が、前記終了条件を満たすまで繰り返されることを特徴とする分類処理生成方法。 A classification processing generation method according to any one of claims 6 to 9,
In the step a), a plurality of classification processing candidates are prepared,
Through the steps b) to d), a plurality of effectiveness levels respectively corresponding to the plurality of classification processing candidates are obtained,
In the step e), the steps b) to d) are repeated until the end condition is satisfied while changing the content of the at least one calculation in at least one of the plurality of classification processing candidates. Classification processing generation method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011188178A JP2013050837A (en) | 2011-08-31 | 2011-08-31 | Classification processing generation device and classification processing generation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011188178A JP2013050837A (en) | 2011-08-31 | 2011-08-31 | Classification processing generation device and classification processing generation method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2013050837A true JP2013050837A (en) | 2013-03-14 |
Family
ID=48012832
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011188178A Pending JP2013050837A (en) | 2011-08-31 | 2011-08-31 | Classification processing generation device and classification processing generation method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2013050837A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2020038637A (en) * | 2018-09-03 | 2020-03-12 | 東洋製罐グループホールディングス株式会社 | Image processing system and image processing program |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004038744A (en) * | 2002-07-05 | 2004-02-05 | Nippon Telegr & Teleph Corp <Ntt> | Image recognition algorithm generation method, image recognition algorithm generation device, image recognition algorithm generation program, and recording medium recorded with image recognition algorithm generation program |
JP2009037592A (en) * | 2007-07-12 | 2009-02-19 | Ricoh Co Ltd | Image processing apparatus, image processing method and program |
-
2011
- 2011-08-31 JP JP2011188178A patent/JP2013050837A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004038744A (en) * | 2002-07-05 | 2004-02-05 | Nippon Telegr & Teleph Corp <Ntt> | Image recognition algorithm generation method, image recognition algorithm generation device, image recognition algorithm generation program, and recording medium recorded with image recognition algorithm generation program |
JP2009037592A (en) * | 2007-07-12 | 2009-02-19 | Ricoh Co Ltd | Image processing apparatus, image processing method and program |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2020038637A (en) * | 2018-09-03 | 2020-03-12 | 東洋製罐グループホールディングス株式会社 | Image processing system and image processing program |
JP7314711B2 (en) | 2018-09-03 | 2023-07-26 | 東洋製罐グループホールディングス株式会社 | Image processing system and image processing program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Gurumoorthy et al. | Efficient data representation by selecting prototypes with importance weights | |
Emmert-Streib et al. | Fifty years of graph matching, network alignment and network comparison | |
JP6641195B2 (en) | Optimization method, optimization device, program, and image processing device | |
JP2016062544A (en) | Information processing device, program, information processing method | |
US20090297044A1 (en) | Image processing apparatus, method of image processing, processing apparatus, method of processing, and recording medium | |
Rajala et al. | Detecting multivariate interactions in spatial point patterns with Gibbs models and variable selection | |
Robin et al. | PanelomiX: a threshold-based algorithm to create panels of biomarkers | |
JP5873764B2 (en) | Defect image presentation method | |
Fuda et al. | Artificial intelligence in clinical multiparameter flow cytometry and mass cytometry–key tools and progress | |
Bhuiyan et al. | Hajj pilgrimage video analytics using CNN | |
JP2017026482A (en) | Data processor, determination tree generation method, identification device, and program | |
Bacardit et al. | Hard data analytics problems make for better data analysis algorithms: bioinformatics as an example | |
JP2013050837A (en) | Classification processing generation device and classification processing generation method | |
US20230086327A1 (en) | Systems and methods of interactive visual graph query for program workflow analysis | |
Mahmoud et al. | Early diagnosis and personalised treatment focusing on synthetic data modelling: Novel visual learning approach in healthcare | |
US20220414936A1 (en) | Multimodal color variations using learned color distributions | |
KR20230170679A (en) | Efficient voxelization for deep learning | |
Černý et al. | Statistical evaluation of character support reveals the instability of higher-level dinosaur phylogeny | |
JP2014006613A (en) | Neighborhood search method and similar image search method | |
Zolkepli et al. | Visualizing fuzzy relationship in bibliographic big data using hybrid approach combining fuzzy c-means and Newman-Girvan algorithm | |
Pokhrel | A comparison of AutoML hyperparameter optimization tools for tabular data | |
New et al. | Dynamic visualization of coexpression in systems genetics data | |
US11734864B2 (en) | Histogram bin interval approximation | |
Walid et al. | Comparative Analysis of Transfer Learning Strategies for Automated Identification of Bone Marrow Cell Morphologies | |
Anandababu et al. | Structural similarity measurement with metaheuristic algorithm for content based image retrieval |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20140625 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20150326 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20150413 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20150903 |