JP2014016676A - Image region division device, method, and program - Google Patents

Image region division device, method, and program Download PDF

Info

Publication number
JP2014016676A
JP2014016676A JP2012151913A JP2012151913A JP2014016676A JP 2014016676 A JP2014016676 A JP 2014016676A JP 2012151913 A JP2012151913 A JP 2012151913A JP 2012151913 A JP2012151913 A JP 2012151913A JP 2014016676 A JP2014016676 A JP 2014016676A
Authority
JP
Japan
Prior art keywords
histogram
value
pixel value
image
frame
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
JP2012151913A
Other languages
Japanese (ja)
Other versions
JP2014016676A5 (en
JP6044138B2 (en
Inventor
Masayuki Hirohama
雅行 広浜
Kazuhisa Matsunaga
和久 松永
Koichi Nakagome
浩一 中込
Michio Nihei
道大 二瓶
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2012151913A priority Critical patent/JP6044138B2/en
Publication of JP2014016676A publication Critical patent/JP2014016676A/en
Publication of JP2014016676A5 publication Critical patent/JP2014016676A5/ja
Application granted granted Critical
Publication of JP6044138B2 publication Critical patent/JP6044138B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

PROBLEM TO BE SOLVED: To improve accuracy of region division when dividing regions of a principal object and the other background within an image.SOLUTION: When a specific pixel value having a high frequency value (occurrence frequency) on a histogram 207 above a rectangular frame has a high frequency value on a histogram 208 outside the rectangular frame and a lower frequency value on a histogram 209 in the rectangular frame, histogram updating means 204 updates, with respect to the specific pixel value, a frequency value in a second histogram 206 showing likelihood to be a background, which is used as an energy function for region division in region division means 201, so that this frequency value is increased relative to a frequency value on a first histogram 205 showing likelihood to be a principal object. A principal object region and a background region can be more distinctly divided by using the specific pixel value as a reference.

Description

本発明は、画像内の主要オブジェクトとそれ以外の背景を領域分割する装置、方法、およびプログラムに関する。   The present invention relates to an apparatus, a method, and a program for segmenting a main object in an image and other backgrounds.

野山や道端で見かけた花の名前を知りたくなることがある。そこで、撮影等により得た花のディジタル画像より、クラスタリング法を用いて対象物である花の画像を抽出し、その抽出された花の画像より得られる情報を特徴量とする。単数または複数の特徴量を求め、その求められた特徴量と、あらかじめデータベースに登録してある各種の植物の特徴量とを統計的手法を用いて解析して野草の種類を判別する技術が提案されている(例えば特許文献1に記載の技術)。   Sometimes you want to know the name of a flower you saw on Noyama or a roadside. Therefore, a flower image as an object is extracted from a digital flower image obtained by photographing or the like using a clustering method, and information obtained from the extracted flower image is used as a feature amount. Proposed a technique to determine the type of wild grass by calculating one or more feature quantities and analyzing the obtained feature quantities and the feature quantities of various plants registered in the database in advance using statistical methods. (For example, the technique described in Patent Document 1).

また、主要オブジェクトを含む画像をGraph Cuts法を用いて主要オブジェクトと背景とに分割する従来技術が知られている(例えば非特許文献1、特許文献2に記載の技術)。領域分割を行う場合,主要オブジェクトと背景の関係によりその境界が不明確な部分が存在する可能性があり,最適な領域分割を行う必要がある。そこで、この従来技術では、領域分割をエネルギーの最小化問題としてとらえ、その最小化手法を提案している。この従来技術では,領域分割に適合するようにグラフを作成し、そのグラフの最小カットを求めることにより、エネルギー関数の最小化を行う。この最小カットは、最大フローアルゴリズムを用いることにより、効率的な領域分割計算を実現している。   In addition, a conventional technique is known in which an image including a main object is divided into a main object and a background using the Graph Cuts method (for example, techniques described in Non-Patent Document 1 and Patent Document 2). When region segmentation is performed, there is a possibility that the boundary is unclear due to the relationship between the main object and the background, and it is necessary to perform optimum region segmentation. Therefore, in this prior art, region division is regarded as an energy minimization problem, and a minimization method is proposed. In this prior art, the energy function is minimized by creating a graph that matches the region division and obtaining the minimum cut of the graph. This minimum cut realizes efficient area division calculation by using a maximum flow algorithm.

Graph Cuts法を用いて主要オブジェクトと背景を分割する手法では、画像内の各画素に付与する主要オブジェクトまたは背景を示す領域ラベルを更新しながら、その領域ラベルと各画素の画素値に基づいて領域分割を行う手法が知られている。この場合例えば、次のようなコスト項を含むエネルギー関数が定義される。まず、主要オブジェクトを示す画像から算出した例えばカラー画素値ごとのヒストグラムの値が大きいほど値が小さくなるコスト項が含まれる。また、背景を示す画像から算出した例えばカラー画素値ごとのヒストグラムの値が大きいほど値が小さくなるコスト項が含まれる。そして、そのエネルギー関数の最小化処理により、画像内で主要オブジェクトと背景が領域分割される(以上、例えば非特許文献1に記載の手法)。   In the method of dividing the main object and the background using the Graph Cuts method, the region label indicating the main object or the background to be given to each pixel in the image is updated, and the region is based on the region label and the pixel value of each pixel. A technique for performing division is known. In this case, for example, an energy function including the following cost term is defined. First, for example, a cost term that decreases as the value of a histogram for each color pixel value calculated from an image showing a main object increases is included. Further, for example, a cost term that decreases as the value of the histogram for each color pixel value calculated from the image indicating the background increases is included. Then, the main object and the background are divided into regions in the image by the energy function minimization process (for example, the method described in Non-Patent Document 1).

また、Graph Cuts法だけでは主要オブジェクトと背景の分割が難しい場合がある。このため、例えばいわゆるスマートフォンなどへの実装では、ユーザが、例えば撮像装置で撮像した画像に対し、認識したい物体(例えば花)が存在するおおよその領域に対して、例えばタッチパネル等の入力装置を用いて矩形枠を指定する機能が実装される。   Further, it may be difficult to divide the main object and the background only by the Graph Cuts method. For this reason, for example, in mounting on a so-called smartphone or the like, for example, an input device such as a touch panel is used for an approximate region where an object (for example, a flower) to be recognized exists for an image captured by the imaging device. The function to specify the rectangular frame is implemented.

特開2002−203242号公報Japanese Patent Laid-Open No. 2002-203242 特開2011−35636号公報JP 2011-35636 A

Y.Boykov and G.Funka−Lea:“Interactive Graph Cuts for Optimal Boundary & Region Segmentation of Objects in N−D Images”,Proceedings of “Internation Conference on Computer Vision”,Vancouver,Canada,vol.I,p.105−112,July 2001.Y. Boykov and G. Funka-Lea: “Interactive Graph Cuts for Optimal Boundary & Region Segmentation of Objects in ND Images”, Proceedings of “Interference Convence CV”. I, p. 105-112, July 2001.

しかし、花画像などの場合、上述したようにユーザが矩形枠を指定しても、矩形枠の外側つまり背景領域に同様の花が写っている場合が多い。このような場合、背景と判定された領域のデータを使って背景のヒストグラムを更新した場合、実際には主要オブジェクトの花等と同じ色のデータを使って背景のヒストグラムが更新されてしまう。これにより、次回以降、誤ったヒストグラムデータを用いて領域分割が行われてしまい、主要オブジェクトと背景の領域分割において主要オブジェクトと背景領域を誤認しやすくなって、領域分割の精度が低下してしまうという問題点を有していた。   However, in the case of a flower image or the like, even when the user designates a rectangular frame as described above, the same flower is often reflected outside the rectangular frame, that is, in the background area. In such a case, when the background histogram is updated using the data of the area determined to be the background, the background histogram is actually updated using data of the same color as the flower of the main object. As a result, the area division is performed using incorrect histogram data from the next time, and the main object and the background area are easily misidentified in the main object and the background area division, and the accuracy of the area division is lowered. It had the problem that.

本発明は、領域分割の精度を向上させることを目的とする。   An object of the present invention is to improve the accuracy of area division.

態様の一例では、画像内で指定された画像範囲内の主要オブジェクトとその主要オブジェクト以外の背景を領域分割する装置であって、画像範囲内の各画素に付与する主要オブジェクトまたは背景を示す領域ラベルを更新しながら、その領域ラベルと各画素の画素値に基づき、主要オブジェクトを示す画像から算出した画素値ごとの第1のヒストグラムの値が大きいほど値が小さくなるコスト項と、背景を示す画像から算出した画素値ごとの第2のヒストグラムの値が大きいほど値が小さくなるコスト項を含むエネルギー関数の最小化処理により、画像内で主要オブジェクトと背景を領域分割する領域分割手段と、画像範囲の枠上の画素値ごと、画像範囲の境界外の画素値ごと、および画像範囲の枠内の画素値ごとの各ヒストグラムをそれぞれ、枠上ヒストグラム、枠外ヒストグラム、および枠内ヒストグラムとして算出するヒストグラム算出手段と、枠上ヒストグラムで度数値が第1の閾値に対して大きい画素値を特定画素値として抽出する特定画素値抽出手段と、特定画素値での度数値が枠外ヒストグラム上で第2の閾値に対して大きくかつ枠内ヒストグラム上で第3の閾値に対して小さい場合に、特定画素値において第2のヒストグラムの度数値が第1のヒストグラムの度数値に対して相対的に増加するようにその2つの度数値の少なくともいずれかを更新するヒストグラム更新手段とを備える。   In an example of the aspect, a device that divides a main object in an image range specified in an image and a background other than the main object into regions, and a region label indicating a main object or background to be assigned to each pixel in the image range The cost term that decreases as the value of the first histogram for each pixel value calculated from the image indicating the main object increases based on the region label and the pixel value of each pixel, and the image indicating the background Area dividing means for dividing the main object and the background in the image by the energy function minimizing process including a cost term that decreases as the value of the second histogram for each pixel value calculated from Each histogram for each pixel value on the frame, for each pixel value outside the boundary of the image range, and for each pixel value within the frame of the image range. Histogram calculating means for calculating as an on-frame histogram, an out-of-frame histogram, and an in-frame histogram; and a specific pixel value extracting means for extracting a pixel value having a power value larger than the first threshold value as a specific pixel value in the on-frame histogram; When the power value at the specific pixel value is larger than the second threshold value on the out-of-frame histogram and smaller than the third threshold value on the in-frame histogram, the power value of the second histogram at the specific pixel value is Histogram updating means for updating at least one of the two frequency values so as to increase relative to the frequency value of the first histogram;

本発明によれば、領域分割の精度を向上させることが可能となる。   According to the present invention, it is possible to improve the accuracy of area division.

本発明の一実施形態に係る画像領域分割装置のハードウェア構成例を示すブロック図である。It is a block diagram which shows the hardware structural example of the image area division | segmentation apparatus which concerns on one Embodiment of this invention. 図1の画像領域分割装置の機能的構成を示す機能ブロック図である。It is a functional block diagram which shows the functional structure of the image area division | segmentation apparatus of FIG. 本実施形態による画像領域分割処理の全体動作を示すフローチャートである。It is a flowchart which shows the whole operation | movement of the image area division | segmentation process by this embodiment. 重み付き有向グラフの説明図である。It is explanatory drawing of a weighted directed graph. ヒストグラムθの説明図である。It is explanatory drawing of histogram (theta). uv(Xu ,Xv )の特性図である。It is a characteristic view of h uv (X u , X v ). t−linkとn−linkを有するグラフと、領域ラベルベクトルXおよびグラフカットとの関係を、模式的に示した図である。It is the figure which showed typically the relationship between the graph which has t-link and n-link, the area | region label vector X, and the graph cut. 領域分割処理を示すフローチャートである。It is a flowchart which shows an area | region division process. ヒストグラム更新処理を示すフローチャートである。It is a flowchart which shows a histogram update process. 特定画素値の説明図である。It is explanatory drawing of a specific pixel value. ヒストグラム更新処理に基づく領域分割処理の結果例を示す図である。It is a figure which shows the example of a result of the area | region division process based on a histogram update process.

以下、本発明を実施するための形態について図面を参照しながら詳細に説明する。   Hereinafter, embodiments for carrying out the present invention will be described in detail with reference to the drawings.

図1は、本発明の一実施形態に係る画像領域分割装置101のハードウェア構成例を示すブロック図である。   FIG. 1 is a block diagram illustrating a hardware configuration example of an image area dividing device 101 according to an embodiment of the present invention.

この画像領域分割装置101は例えば、いわゆるスマートフォンなどの携帯情報端末であるコンピュータシステム上に実現される。   The image area dividing device 101 is realized on a computer system that is a portable information terminal such as a so-called smartphone.

画像領域分割装置101は、CPU(Central Processing Unit:中央演算処理装置)102と、ROM(Read Only Memory)103と、RAM(Random Access Memory)104を備える。また、画像領域分割装置101は、ソリッド記憶装置等の外部記憶装置105と、通信インタフェース106と、タッチパネルディスプレイ装置などの入力装置107および表示装置108を備える。さらに、画像領域分割装置101は、マイクロSDメモリカードやUSB(Universal Serial Bus)メモリカードなどの可搬記録媒体110をセット可能な可搬記録媒体駆動装置109を備える。撮像装置112は、静止画像やビデオ画像を撮像することのできるデジタルカメラ機構であり、レンズ、オートフォーカス駆動制御装置、露出制御装置、撮像センサ等を備える。上述の各機器102〜109および112は、バス111によって相互に接続される。   The image area dividing device 101 includes a CPU (Central Processing Unit) 102, a ROM (Read Only Memory) 103, and a RAM (Random Access Memory) 104. The image area dividing device 101 includes an external storage device 105 such as a solid storage device, a communication interface 106, an input device 107 such as a touch panel display device, and a display device 108. Further, the image area dividing device 101 includes a portable recording medium driving device 109 capable of setting a portable recording medium 110 such as a micro SD memory card or a USB (Universal Serial Bus) memory card. The imaging device 112 is a digital camera mechanism that can capture still images and video images, and includes a lens, an autofocus drive control device, an exposure control device, an imaging sensor, and the like. The above-described devices 102 to 109 and 112 are connected to each other by a bus 111.

ROM103には、スマートフォン全体の一般的な動作を制御するプログラムのほか、後述する図3、図8、および図9のフローチャートによって示される画像領域分割処理の制御プログラムが記憶されている。CPU102は、ROM103から、この制御プログラムを読み出し、RAM104をワークメモリとして実行する。これにより、後述する図2の機能ブロックで示される画像領域分割機能が実現され、この結果、例えばユーザが、撮像装置112によって花などを撮像し、入力装置107で範囲指定した画像範囲から、花などの主要オブジェクトをそれ以外の背景から分割する画像領域分割処理が実行される。これにより得られた花などの主要オブジェクト領域の画像データは、ユーザが例えば花の種類を検索するために、通信インタフェース106から特には図示しないインターネットを経由してインターネットに接続される画像検索サーバコンピュータに送信される。このコンピュータ上で、送られた主要オブジェクト領域の花画像データに基づいて花のデータベースが検索される。その結果検索がヒットした花の図鑑情報が、その花の画像データとともにインターネットを経由して通信インタフェース106にて受信され、表示装置108に表示される。
なお、本実施形態による画像領域分割装置101は、携帯情報端末上ではなく、上記サーバコンピュータ上などに実現されてもよい。
The ROM 103 stores a program for controlling general operations of the entire smartphone, and a control program for image area division processing shown by flowcharts of FIGS. 3, 8, and 9 described later. The CPU 102 reads this control program from the ROM 103 and executes the RAM 104 as a work memory. As a result, an image region dividing function shown in the functional block of FIG. 2 to be described later is realized. As a result, for example, the user captures a flower or the like with the imaging device 112 and An image area dividing process for dividing a main object such as from other backgrounds is executed. The image data of the main object area such as a flower obtained in this way is used as an image search server computer connected to the Internet from the communication interface 106 via the Internet (not shown) in particular so that the user searches for, for example, the type of flower. Sent to. On this computer, a flower database is searched based on the sent flower image data of the main object area. As a result, the pictorial book information of the flower hit by the search is received by the communication interface 106 together with the image data of the flower via the Internet and displayed on the display device 108.
Note that the image region dividing device 101 according to the present embodiment may be realized not on the portable information terminal but on the server computer.

図2は、図1の画像領域分割装置101の機能的構成を示す機能ブロック図である。
本実施形態における画像領域分割装置101は、画像内で、例えばユーザにより矩形枠指定された画像範囲内の花などの主要オブジェクトとその主要オブジェクト以外の背景を領域分割する装置として実現される。
FIG. 2 is a functional block diagram showing a functional configuration of the image area dividing device 101 of FIG.
The image area dividing device 101 according to the present embodiment is realized as an apparatus that divides a main object such as a flower within an image range designated by a user and a background other than the main object in an image.

領域分割手段201は、例えばユーザにより矩形枠指定された画像範囲内の各画素に付与する主要オブジェクトまたは背景を示す領域ラベルを更新しながら、その領域ラベルと各画素の画素値、例えばカラー画素値に基づき、主要オブジェクトを示す画像から算出した例えばカラー画素値ごとの第1のヒストグラム205の値が大きいほど値が小さくなるコスト項と、背景を示す画像から算出した例えばカラー画素値ごとの第2のヒストグラム206の値が大きいほど値が小さくなるコスト項を含むエネルギー関数の最小化処理により、画像内で主要オブジェクトと背景を領域分割する。この領域分割手段201は例えば、Graph Cuts法によりエネルギー関数の最小化処理を実行する。このときの第1のヒストグラムの初期値は例えば、学習用の複数枚の主要オブジェクトを示す画像の例えばカラー画素値ごとのヒストグラムとして算出される。また、第2のヒストグラムの初期値は、学習用の複数枚の背景を示す画像の例えばカラー画素値ごとのヒストグラムとして算出される。   The area dividing unit 201 updates the area label indicating the main object or background to be given to each pixel in the image range designated by the user, for example, a rectangular frame, and the pixel value of the area label and each pixel, for example, the color pixel value For example, a cost term that decreases as the value of the first histogram 205 for each color pixel value calculated from the image indicating the main object increases, and a second for each color pixel value calculated from the image indicating the background, for example. The main object and the background are divided into regions in the image by the energy function minimization process including the cost term that decreases as the value of the histogram 206 increases. The area dividing unit 201 executes energy function minimization processing by, for example, the Graph Cuts method. The initial value of the first histogram at this time is calculated as, for example, a histogram for each color pixel value of an image showing a plurality of learning main objects. The initial value of the second histogram is calculated as a histogram for each color pixel value of an image showing a plurality of backgrounds for learning, for example.

ヒストグラム算出手段202は、例えばユーザにより矩形枠指定された画像範囲の枠上の画素値ごと、画像範囲の境界外(例えば矩形枠外)の画素値ごと、および画像範囲の枠内(例えば矩形枠内)の画素値ごとの各ヒストグラムをそれぞれ、枠上ヒストグラム207、枠外ヒストグラム208、および枠内ヒストグラム209として算出する。   The histogram calculation unit 202, for example, for each pixel value on the frame of the image range designated by the user as a rectangular frame, for each pixel value outside the boundary of the image range (for example, outside the rectangular frame), and within the frame of the image range (for example, within the rectangular frame) ) Are calculated as an on-frame histogram 207, an out-of-frame histogram 208, and an in-frame histogram 209, respectively.

特定画素値抽出手段203は、枠上ヒストグラム207で、度数値が第1の閾値に対して大きい例えばカラー画素値を特定画素値として抽出する。   The specific pixel value extraction unit 203 extracts, for example, a color pixel value whose frequency value is larger than the first threshold value as the specific pixel value in the on-frame histogram 207.

ヒストグラム更新手段204は、特定画素値での度数値が枠外ヒストグラム208上で第2の閾値に対して大きくかつ枠内ヒストグラム209上で第3の閾値に対して小さい場合に、特定画素値において第2のヒストグラム206の度数値が第1のヒストグラム205の度数値に対して相対的に増加するようにそれら2つの度数値の少なくともいずれかを更新する。この場合、ヒストグラム更新手段204は例えば、次のような更新処理を実行する。特定画素値における第2のヒストグラム206の度数値を、1よりも大きい倍数である所定数倍して更新する。あるいは、特定画素値における第2のヒストグラム206の度数値に0よりも大きい所定数を加算して更新する。さらには逆に、特定画素値における第1のヒストグラム205の度数値が小さくなるように更新してもよい。   The histogram updating unit 204 determines the first pixel value in the specific pixel value when the power value at the specific pixel value is larger than the second threshold value on the out-of-frame histogram 208 and smaller than the third threshold value on the in-frame histogram 209. At least one of the two power values is updated so that the power value of the second histogram 206 increases relative to the power value of the first histogram 205. In this case, the histogram update unit 204 executes, for example, the following update process. The frequency value of the second histogram 206 at the specific pixel value is updated by a predetermined number that is a multiple larger than one. Alternatively, a predetermined number greater than 0 is added to the frequency value of the second histogram 206 at the specific pixel value to update. Furthermore, conversely, the frequency value of the first histogram 205 at the specific pixel value may be updated so as to be small.

本特許出願の発明者は、例えば花画像などの領域分割において、例えばユーザが指定した矩形枠の枠上で発生頻度の高い例えばカラー画素値である特定画素値が、矩形枠外でも発生頻度が高く、なおかつ矩形枠内で発生頻度が高くなければ、その特定画素値は背景に属する画素値である可能性が高いとの知見を得た。この知見に基づいて、上記のような場合に、領域分割手段201において領域分割を行うためのエネルギー関数に使用される主要オブジェクトらしさを示す第1のヒストグラム205と背景らしさを示す第2のヒストグラム206の上記特定画素値において、第2のヒストグラム206の度数値が第1のヒストグラム205の度数値に対して相対的に増加するように、ヒストグラム更新手段204において、これら2つの度数値の少なくともいずれかが更新される。これにより、特定画素値を基準として主要オブジェクト領域と背景領域をより明確に領域分割することが可能となる。   The inventor of the present patent application has a high frequency of occurrence of a specific pixel value, for example, a color pixel value that is frequently generated on a rectangular frame specified by the user, for example, in a region such as a flower image, even outside the rectangular frame. In addition, if the occurrence frequency is not high in the rectangular frame, the specific pixel value is highly likely to be a pixel value belonging to the background. Based on this knowledge, in the above case, the first histogram 205 indicating the likelihood of the main object and the second histogram 206 indicating the likelihood of the background used in the energy function for performing the area division in the area dividing means 201. In the specific pixel value, the histogram updating means 204 causes at least one of these two power values so that the power value of the second histogram 206 increases relative to the power value of the first histogram 205. Is updated. As a result, the main object region and the background region can be more clearly divided based on the specific pixel value.

図3は、本実施形態による画像領域分割処理の全体動作を示すフローチャートである。このフローチャートの処理は、図8および図9の詳細処理を示すフローチャートの処理とともに、図1のCPU102が、ROM103に記憶された制御プログラムを、RAM104をワークメモリとして使用しながら実行する処理として実現される。   FIG. 3 is a flowchart showing the overall operation of the image area dividing process according to the present embodiment. The processing of this flowchart is realized as processing in which the CPU 102 in FIG. 1 executes the control program stored in the ROM 103 while using the RAM 104 as a work memory together with the processing in the flowchart showing the detailed processing in FIGS. The

まず、矩形枠決定処理が実行される(図3のステップS301)。この処理では、ユーザが、例えば図1の撮像装置112にて撮像した画像に対して、認識したい物体(例えば花)が存在するおおよその領域に対して、例えばタッチパネル等の入力装置107を用いて、矩形枠を指定する。例えば、タッチパネル上での、指によるスライド動作である。   First, rectangular frame determination processing is executed (step S301 in FIG. 3). In this process, the user uses, for example, the input device 107 such as a touch panel for an approximate region where an object (for example, a flower) to be recognized exists in an image captured by the imaging device 112 of FIG. Specify a rectangular frame. For example, a sliding operation with a finger on the touch panel.

次に、ヒストグラム更新処理が実行される(図3のステップS302)。この処理では、図2に示したヒストグラム算出手段202、特定画素値抽出手段203、およびヒストグラム更新手段204の機能が実現される。この処理の詳細については、図9から図11で後述する。   Next, histogram update processing is executed (step S302 in FIG. 3). In this process, the functions of the histogram calculation means 202, specific pixel value extraction means 203, and histogram update means 204 shown in FIG. 2 are realized. Details of this processing will be described later with reference to FIGS.

続いて、画像範囲内の各画素に対して、主要オブジェクトと背景を領域分割する領域分割処理(グラフカット処理)が実行される(図3のステップS303)。この領域分割処理は、図2の領域分割手段201の機能を実現する。この処理の詳細については、図4から図8で後述する。   Subsequently, an area division process (graph cut process) for dividing the main object and the background into areas is executed for each pixel in the image range (step S303 in FIG. 3). This area dividing process realizes the function of the area dividing means 201 of FIG. Details of this processing will be described later with reference to FIGS.

一度領域分割処理が終了した後、収束判定が行われる(図3のステップS304)。この収束判定は、以下のいずれかが満たされたときに、YESの判定結果となる。
・繰り返し回数が一定以上になった
・前回前景とされた領域面積と今回前景とされた領域の差が一定以下
Once the region division processing is completed, convergence determination is performed (step S304 in FIG. 3). This convergence determination is a determination result of YES when any of the following is satisfied.
・ The number of repetitions has exceeded a certain level ・ The difference between the area that was the previous foreground and the area that was the foreground this time is less than a certain level

ステップS304の判定で収束せず、その判定がNOであった場合、前回の領域分割の状況に応じて、ユーザが指定した矩形枠内の後述するコスト関数gv (Xv )が、次のようにして修正されてデータ更新される(図3のステップS305)。ステップS303の領域分割処理によって主要オブジェクトと判定された領域のヒストグラムと、事前に用意されている後述するヒストグラムθ(c,0)が、カラー画素値cごとに例えば一定割合で混合(加算)される。これにより、新たな主要オブジェクトらしさを示すヒストグラムθ(c,0)が生成され、それに基づいて新たなコスト関数gv (Xv )が計算される(後述する数7式等を参照)。同様に、ステップS303の領域分割処理によって背景と判定された領域のヒストグラムと、事前に用意されている後述するヒストグラムθ(c,1)が、カラー画素値cごとに例えば一定割合で混合(加算)される。これにより、新たな背景らしさを示すヒストグラムθ(c,1)が生成され、それに基づいて新たなコスト関数gv (Xv )が計算される(後述する数8式等を参照)。 If the determination in step S304 does not converge and the determination is NO, the cost function g v (X v ), which will be described later in the rectangular frame specified by the user, is In this way, the data is corrected and updated (step S305 in FIG. 3). A histogram of the area determined as the main object by the area dividing process in step S303 and a histogram θ (c, 0), which will be described later, prepared in advance are mixed (added), for example, at a fixed ratio for each color pixel value c. The As a result, a new histogram θ (c, 0) indicating the likelihood of a main object is generated, and a new cost function g v (X v ) is calculated based on the histogram θ (c, 0) (see equation 7 below). Similarly, the histogram of the area determined as the background by the area dividing process in step S303 and the histogram θ (c, 1), which will be described later, prepared in advance are mixed (added) at a certain ratio for each color pixel value c, for example. ) As a result, a histogram θ (c, 1) indicating a new background is generated, and a new cost function g v (X v ) is calculated based on the histogram θ (c, 1) (see Equation 8 below).

ステップS304の判定が収束し、その判定がYESになると、図3のフローチャートで示される領域分割処理は終了とし、現在得られている主要オブジェクト領域が最終結果として出力される。   When the determination in step S304 is converged and the determination is YES, the region division process shown in the flowchart of FIG. 3 is terminated, and the main object region currently obtained is output as the final result.

以下に、図3のステップS303の領域分割処理について、説明する。
いま、
を、要素Xv が画像Vにおける画素v(1≦v≦V)に対する領域ラベルを示す領域ラベルベクトルであるとする。この領域ラベルベクトルは、例えば、画素vが主要オブジェクト領域内にあれば要素Xv =0、背景領域内にあれば要素Xv =1となるバイナリベクトルである。すなわち、
である。
Hereinafter, the area dividing process in step S303 in FIG. 3 will be described.
Now
And an element X v is a region label vector indicating an area label for pixels v (1 ≦ v ≦ V) in the image V. This area label vector is, for example, a binary vector having an element X v = 0 if the pixel v is in the main object area and an element X v = 1 if it is in the background area. That is,
It is.

本実施形態において実行される領域分割処理は、画像Vにおいて、次式で定義されるエネルギー関数E(X)を最小にするような数1式の領域ラベルベクトルXを求める処理である。
エネルギー最小化処理が実行される結果、領域ラベルベクトルX上で領域ラベル値Xv =0となる画素vの集合として、主要オブジェクト領域が得られる。本実施形態の例でいえば、矩形枠内の花の領域である。なお、領域ラベルベクトルX上で領域ラベル値Xv =1となる画素vの集合が、背景領域(矩形枠外も含む)となる。
The area dividing process executed in the present embodiment is a process for obtaining an area label vector X of Formula 1 that minimizes an energy function E (X) defined by the following expression in the image V.
As a result of executing the energy minimization process, the main object region is obtained as a set of pixels v having the region label value X v = 0 on the region label vector X. In the example of this embodiment, it is a flower area within a rectangular frame. Note that a set of pixels v with the region label value X v = 1 on the region label vector X is a background region (including outside the rectangular frame).

数3式のエネルギーを最小化するために、次式および図4で示される重み付き有向グラフ(以下「グラフ」と略す)を定義する。
ここで、Vはノード(node)、Eはエッジ(edge)である。このグラフが画像の領域分割に適用される場合は、画像の各画素が各ノードVに対応する。また、画素以外のノードとして、次式および図4中に示される、
と呼ばれる特殊なターミナルが追加される。このソースsを主要オブジェクト領域、シンクtを背景領域に対応付けて考える。また、エッジEは、ノードV間の関係を表現している。周辺の画素との関係を表したエッジEをn−link、各画素とソースs(主要オブジェクト領域に対応)またはシンクt(背景領域に対応)との関係を表したエッジEをt−linkと呼ぶ。
In order to minimize the energy of Equation 3, the following equation and a weighted directed graph (hereinafter, abbreviated as “graph”) shown in FIG. 4 are defined.
Here, V is a node and E is an edge. When this graph is applied to image area division, each pixel of the image corresponds to each node V. Also, as nodes other than pixels, the following formula and shown in FIG.
A special terminal called is added. Consider the source s in association with the main object area and the sink t in the background area. The edge E represents the relationship between the nodes V. An edge E representing the relationship with surrounding pixels is n-link, and an edge E representing the relationship between each pixel and the source s (corresponding to the main object region) or sink t (corresponding to the background region) is t-link. Call.

いま、ソースsと各画素に対応するノードとを結ぶ各t−linkを、各画素がどの程度主要オブジェクト領域らしいかを示す関係ととらえる。そして、その主要オブジェクト領域らしさを示すコスト値を、数3式第1項に対応付けて、
と定義する。ここで、θ(c、0)は、画像の主要オブジェクトの領域から算出したカラー画素値cごとのヒストグラム(出現回数)を示す関数データであり、例えば図5(a)に示されるように予め得られている。なお、θ(c、0)の全カラー画素値cにわたる総和は1になるように正規化されているものとする。また、I(v)は、入力画像の各画素vにおけるカラー(RGB)画素値である。実際には、カラー(RGB)画素値を輝度値に変換した値の場合もあるが、以下では説明の簡単のために、特に言及しない限り、「カラー(RGB)画素値」または「カラー画素値」と記載する。数6式において、θ(I(v)、0)の値が大きいほど、コスト値は小さくなる。これは、予め得られている主要オブジェクト領域のカラー画素値の中で出現回数が多いものほど、数6式で得られるコスト値が小さくなって、画素vが主要オブジェクト領域中の画素らしいことを意味し、数3式のエネルギー関数E(X)の値を押し下げる結果となる。
Now, each t-link connecting the source s and a node corresponding to each pixel is regarded as a relationship indicating how much each pixel seems to be a main object region. Then, the cost value indicating the likelihood of the main object area is associated with the first term of Equation 3 and
It is defined as Here, θ (c, 0) is function data indicating a histogram (number of appearances) for each color pixel value c calculated from the area of the main object of the image. For example, as shown in FIG. Has been obtained. It is assumed that the sum total of θ (c, 0) over all color pixel values c is normalized to be 1. I (v) is a color (RGB) pixel value at each pixel v of the input image. Actually, there may be a value obtained by converting a color (RGB) pixel value into a luminance value. However, for the sake of simplicity of explanation, unless otherwise specified, “color (RGB) pixel value” or “color pixel value” will be described below. ". In Equation 6, the cost value decreases as the value of θ (I (v), 0) increases. This is because, as the number of appearances of color pixel values in the main object area obtained in advance increases, the cost value obtained by Equation 6 becomes smaller, and the pixel v seems to be a pixel in the main object area. This means that the value of the energy function E (X) in Equation 3 is pushed down.

次に、シンクtと各画素に対応するノードとを結ぶ各t−linkを、各画素がどの程度背景領域らしいかを示す関係ととらえる。そして、その背景領域らしさを示すコスト値を、数3式第1項に対応付けて、
と定義する。ここで、θ(c、1)は、画像の背景の領域から算出したカラー画素値cごとのヒストグラム(出現度数)を示す関数データであり、例えば図5(b)に示されるように予め得られている。なお、θ(c、1)の全カラー画素値cにわたる総和は1になるように正規化されているものとする。I(v)は、数6式の場合と同様に、入力画像の各画素vにおけるカラー(RGB)画素値である。数6式において、θ(I(v)、1)の値が大きいほど、コスト値は小さくなる。これは、予め得られている背景領域のカラー画素値の中で出現回数が多いものほど、数7式で得られるコスト値が小さくなって、画素vが背景領域中の画素らしいことを意味し、数3式のエネルギー関数E(X)の値を押し下げる結果となる。
Next, each t-link connecting the sink t and the node corresponding to each pixel is regarded as a relationship indicating how much each pixel is a background region. Then, the cost value indicating the likelihood of the background region is associated with the first term of Equation 3 and
It is defined as Here, θ (c, 1) is function data indicating a histogram (appearance frequency) for each color pixel value c calculated from the background area of the image, and is obtained in advance as shown in FIG. 5B, for example. It has been. It is assumed that the sum total of θ (c, 1) over all color pixel values c is normalized to be 1. I (v) is a color (RGB) pixel value at each pixel v of the input image, as in Equation 6. In Equation 6, the cost value decreases as the value of θ (I (v), 1) increases. This means that the more frequently appearing color pixel values of the background area obtained in advance, the smaller the cost value obtained by Equation 7 is, and the pixel v seems to be a pixel in the background area. As a result, the value of the energy function E (X) in Formula 3 is pushed down.

次に、各画素に対応するノードとその周辺画素との関係を示すn−linkのコスト値を、数3式第2項に対応付けて、
と定義する。ここで、dist(u,v)は、画素vとその周辺画素uのユークリッド距離を示しており、κは所定の係数である。また、I(u)およびI(v)は、入力画像の各画素uおよびvにおける各カラー(RGB)画素値である。前述したように実際には、カラー(RGB)画素値を輝度値に変換した値であってもよい。画素vおよびその周辺画素uの各領域ラベル値Xu およびXv が同一(Xu =Xv )となるように選択された場合における数8式のコスト値は0とされて、エネルギーE(X)の計算には影響しなくなる。一方、画素vとその周辺画素uの各領域ラベル値Xu およびXv が異なる(Xu ≠Xv )ように選択された場合における数8式のコスト値は、例えば図6に示される特性を有する関数特性となる。すなわち、画素vおよびその周辺画素uの各領域ラベル値Xu およびXv が異なっていて、かつ画素vおよびその周辺画素uのカラー画素値(輝度値)の差I(u)−I(v)が小さい場合には、数8式で得られるコスト値が大きくなる。この場合には、数3式のエネルギー関数E(X)の値が押し上げられる結果となる。言い換えれば、近傍画素間で、カラー画素値(輝度値)の差が小さい場合には、それらの画素の各領域ラベル値は、互いに異なるようには選択されない。すなわち、その場合には、近傍画素間では領域ラベル値はなるべく同じになって主要オブジェクト領域または背景領域はなるべく変化しないように、制御される。一方、画素vおよびその周辺画素uの各領域ラベル値Xu およびXv が異なっていて、かつ画素vおよびその周辺画素uのカラー画素値(輝度値)の差I(u)−I(v)が大きい場合には、数8式で得られるコスト値が小さくなる。この場合には、数3式のエネルギー関数E(X)の値が押し下げられる結果となる。言い換えれば、近傍画素間で、カラー画素値の差が大きい場合には、主要オブジェクト領域と背景領域の境界らしいことを意味し、画素vとその周辺画素uとで、領域ラベル値が異なる方向に制御される。
Next, the cost value of n-link indicating the relationship between the node corresponding to each pixel and its surrounding pixels is associated with the second term of Equation 3;
It is defined as Here, dist (u, v) indicates the Euclidean distance between the pixel v and the surrounding pixel u, and κ is a predetermined coefficient. Further, I (u) and I (v) are color (RGB) pixel values in the pixels u and v of the input image. As described above, actually, a value obtained by converting a color (RGB) pixel value into a luminance value may be used. When the region label values X u and X v of the pixel v and the surrounding pixels u are selected to be the same (X u = X v ), the cost value of Formula 8 is set to 0, and the energy E ( It does not affect the calculation of X). On the other hand, the cost value of Formula 8 when the region label values X u and X v of the pixel v and its surrounding pixels u are selected to be different (X u ≠ X v ) is, for example, the characteristic shown in FIG. It has a function characteristic having That is, the region label values X u and X v of the pixel v and its surrounding pixels u are different, and the difference I (u) −I (v) between the color pixel values (luminance values) of the pixel v and its surrounding pixels u. ) Is small, the cost value obtained by Equation 8 is large. In this case, the value of the energy function E (X) in Equation 3 is pushed up. In other words, when the difference between the color pixel values (luminance values) between neighboring pixels is small, the area label values of those pixels are not selected to be different from each other. In other words, in this case, the region label values are controlled to be the same between neighboring pixels and the main object region or the background region is not changed as much as possible. On the other hand, the region label values X u and X v of the pixel v and the surrounding pixel u are different, and the difference I (u) −I (v) between the color pixel value (luminance value) of the pixel v and the surrounding pixel u ) Is large, the cost value obtained by Equation 8 is small. In this case, the result is that the value of the energy function E (X) in Equation 3 is pushed down. In other words, if there is a large difference in color pixel values between neighboring pixels, it means that the boundary between the main object region and the background region is likely, and the region label values in the direction where the pixel v and its surrounding pixels u are different. Be controlled.

以上の定義を用いて、入力画像の各画素vごとに、数6式によって、ソースsと各画素vとを結ぶt−linkのコスト値(主要オブジェクト領域らしさ)が算出される。また、数7式によって、シンクtと各画素vとを結ぶt−linkのコスト値(背景領域らしさ)が算出される。さらに、入力画像の各画素vごとに、数8式によって、画素vとその周辺例えば8方向の各8画素とを結ぶ8本のn−linkのコスト値(境界らしさ)が算出される。   Using the above definition, a cost value (likeness of main object area) of t-link connecting the source s and each pixel v is calculated for each pixel v of the input image by Equation (6). In addition, the cost value (likeness of background area) of t-link connecting the sink t and each pixel v is calculated by Expression 7. Further, for each pixel v of the input image, eight n-link cost values (likeness of boundary) connecting the pixel v and its surroundings, for example, each of eight pixels in eight directions, are calculated by Equation (8).

そして、理論的には、数1式の領域ラベルベクトルXの全ての領域ラベル値の0または1の組合せごとに、各領域ラベル値に応じて上記数6式、数7式、および数8式の計算結果が選択されながら数3式のエネルギー関数E(X)が計算される。そして、全ての組合せの中でエネルギー関数E(X)の値が最小となる領域ラベルベクトルXを選択することにより、領域ラベルベクトルX上で領域ラベル値Xv =0となる画素vの集合として、主要オブジェクト領域を得ることができる。 Theoretically, for each combination of region labels 0 or 1 of the region label vector X in Equation 1, the above Equation 6, Equation 7, and Equation 8 according to each region label value. The energy function E (X) of Formula 3 is calculated while the calculation result of is selected. Then, by selecting the region label vector X that minimizes the value of the energy function E (X) among all the combinations, as a set of pixels v with the region label value X v = 0 on the region label vector X The main object area can be obtained.

しかし実際には、領域ラベルベクトルXの全ての領域ラベル値の0または1の組合せ数は、2の画素数乗通りあるため、現実的な時間でエネルギー関数E(X)の最小化処理を計算することができない。   However, since the number of combinations of 0 or 1 of all region label values of the region label vector X is actually the number of pixels multiplied by 2, calculation of the energy function E (X) minimization process in a realistic time is calculated. Can not do it.

そこで、Graph Cuts法では、次のようなアルゴリズムを実行することにより、エネルギー関数E(X)の最小化処理を現実的な時間で計算することを可能にする。
図7は、上述した数6式、数7式で定義されるt−linkと数8式で定義されるn−linkを有するグラフと、領域ラベルベクトルXおよびグラフカットとの関係を、模式的に示した図である。図7では、理解の容易化のために、画素vは一次元的に示されている。
Therefore, the Graph Cuts method makes it possible to calculate the energy function E (X) minimization process in a realistic time by executing the following algorithm.
FIG. 7 schematically shows the relationship between the graph having the t-link defined by Equation 6 and Equation 7 and the n-link defined by Equation 8, the region label vector X, and the graph cut. It is the figure shown in. In FIG. 7, the pixel v is shown one-dimensionally for easy understanding.

数3式のエネルギー関数E(X)の第1項の計算で、領域ラベルベクトルX中の領域ラベル値が0となるべき主要オブジェクト領域中の画素では、数6式と数7式のうち、主要オブジェクト領域中の画素らしい場合により小さな値となる数6式のコスト値のほうが小さくなる。従って、ある画素において、ソースs側のt−linkが選択されシンクt側のt−linkがカットされて(図7の702のケース)、数6式を用いて数3式のE(X)の第1項が計算された場合に、その計算結果が小さくなれば、その画素の領域ラベル値としては0が選択される。そして、そのグラフカット状態が採用される。計算結果が小さくならなければ、そのグラフカット状態は採用されず、他のリンクの探索およびグラフカットが試みられる。   In the calculation of the first term of the energy function E (X) of Equation 3, among the pixels in the main object region where the region label value in the region label vector X should be 0, among Equation 6 and Equation 7, The cost value of equation (6), which is a smaller value when it seems to be a pixel in the main object area, is smaller. Accordingly, in a certain pixel, the t-link on the source s side is selected and the t-link on the sink t side is cut (case 702 in FIG. 7), and E (X) in Equation 3 using Equation 6 If the calculation result becomes small when the first term is calculated, 0 is selected as the region label value of the pixel. Then, the graph cut state is adopted. If the calculation result does not become small, the graph cut state is not adopted and another link search and graph cut are attempted.

逆に、領域ラベルベクトルX中の領域ラベル値が1となるべき背景領域中の画素では、数6式と数7式のうち、背景領域中の画素らしい場合により小さな値となる数7式のコスト値のほうが小さくなる。従って、ある画素において、シンクt側のt−linkが選択されソースs側のt−linkはカットされて(図7の703のケース)、数7式を用いて数3式のE(X)の第1項が計算された場合に、その計算結果が小さくなれば、その画素の領域ラベル値としては1が選択される。そして、そのグラフカット状態が採用される。計算結果が小さくならなければ、そのグラフカット状態は採用されず、他のリンクの探索およびグラフカットが試みられる。   Conversely, for the pixels in the background region where the region label value in the region label vector X should be 1, among the equations (6) and (7), the equation The cost value is smaller. Therefore, in a certain pixel, t-link on the sink t side is selected, and t-link on the source s side is cut (case 703 in FIG. 7), and E (X) in Equation 3 using Equation 7 When the first term is calculated, if the calculation result becomes small, 1 is selected as the region label value of the pixel. Then, the graph cut state is adopted. If the calculation result does not become small, the graph cut state is not adopted and another link search and graph cut are attempted.

一方、数3式のエネルギー関数E(X)の第1項の計算に係る上記領域分割(グラフカット)処理により、領域ラベルベクトルX中の領域ラベル値が0または1で連続すべき主要オブジェクト領域内部または背景領域内部の画素間では、数8式のコスト値が0となる。従って、数8式の計算結果は、エネルギー関数E(X)の第2項のコスト値の計算には影響しない。また、その画素間のn−linkは、数8式がコスト値0を出力するように、カットされずに維持される。   On the other hand, the main object region that should be continuous when the region label value in the region label vector X is 0 or 1 by the region division (graph cut) processing related to the calculation of the first term of the energy function E (X) of Formula 3 The cost value of equation (8) is 0 between the pixels inside or inside the background area. Therefore, the calculation result of Equation 8 does not affect the calculation of the cost value of the second term of the energy function E (X). Further, the n-link between the pixels is maintained without being cut so that Equation 8 outputs a cost value of 0.

ところが、エネルギー関数E(X)の第1項の計算に係る上記領域分割(グラフカット)処理により、近傍画素間で、領域ラベル値が0と1の間で変化した場合に、それらの画素間のカラー画素値(輝度値)の差が小さければ、数8式のコスト値が大きくなる。この結果、数3式のエネルギー関数E(X)の値が押し上げられる。このようなケースは、同一領域内で第1項の値による領域ラベル値の判定がたまたま反転するような場合に相当する。従って、このようなケースでは、エネルギー関数E(X)の値が大きくなって、そのような領域ラベル値の反転は選択されない結果となる。また、この場合には、数8式の計算結果が、上記結果を維持するように、それらの画素間のn−linkは、カットされずに維持される。   However, when the region label value changes between 0 and 1 between neighboring pixels by the region division (graph cut) processing relating to the calculation of the first term of the energy function E (X), If the difference between the color pixel values (luminance values) is small, the cost value of Equation 8 is large. As a result, the value of the energy function E (X) in Equation 3 is pushed up. Such a case corresponds to a case where the determination of the region label value by the value of the first term happens to be reversed in the same region. Therefore, in such a case, the value of the energy function E (X) becomes large, and as a result, such inversion of the region label value is not selected. In this case, the n-link between the pixels is maintained without being cut so that the calculation result of Expression 8 maintains the above result.

これに対して、エネルギー関数E(X)の第1項の計算に係る上記領域分割(グラフカット)処理により、近傍画素間で、領域ラベル値が0と1の間で変化した場合に、それらの画素間のカラー画素値(輝度値)の差が大きければ、数8式のコスト値が小さくなる。この結果、数3式のエネルギー関数E(X)の値が押し下げられる。このようなケースは、それらの画素部分が主要オブジェクト領域と背景領域の境界らしいことを意味している。従って、このようなケースでは、これらの画素間で領域ラベル値を異ならせて、主要オブジェクト領域と背景領域の境界を形成する方向に制御される。また、この場合には、境界の形成状態を安定化するために、それらの画素間のn−linkがカットされて、数3式の第2項のコスト値が0にされる(図7の704のケース)。   On the other hand, when the region label value changes between 0 and 1 between neighboring pixels by the region division (graph cut) processing related to the calculation of the first term of the energy function E (X), If the difference in color pixel value (luminance value) between the pixels is large, the cost value of Equation 8 is small. As a result, the value of the energy function E (X) in Equation 3 is pushed down. Such a case means that those pixel portions are likely to be the boundary between the main object region and the background region. Therefore, in such a case, the region label value is made different between these pixels, and control is performed in the direction in which the boundary between the main object region and the background region is formed. Also, in this case, in order to stabilize the boundary formation state, n-link between these pixels is cut, and the cost value of the second term of Equation 3 is set to 0 (FIG. 7). 704 case).

以上の判定制御処理が、ソースsのノードを起点にして、順次各画素のノードをたどりながら繰り返されることにより、図7の701で示されるようなグラフカットが実行され、エネルギー関数E(X)の最小化処理が現実的な時間で計算される。この処理の具体的な手法としては、例えば、非特許文献1に記載されている手法を採用することができる。   The determination control process described above is repeated starting from the node of the source s while sequentially tracing the node of each pixel, whereby a graph cut as shown by 701 in FIG. 7 is executed, and the energy function E (X) The minimization process is calculated in a realistic time. As a specific method of this processing, for example, the method described in Non-Patent Document 1 can be adopted.

そして、各画素ごとに、ソースs側のt−linkが残っていれば、その画素の領域ラベル値として0、すなわち主要オブジェクト領域の画素を示すラベルが付与される。逆に、シンクt側のt−linkが残っていれば、その画素の領域ラベル値として1、すなわち背景領域の画素を示すラベルが付与される。最終的に、領域ラベル値が0となる画素の集合として、主要オブジェクト領域が得られる。   If t-link on the source s side remains for each pixel, 0 is given as the area label value of that pixel, that is, a label indicating the pixel of the main object area is given. On the contrary, if t-link on the sink t side remains, 1 is given as the area label value of the pixel, that is, a label indicating the pixel in the background area is given. Finally, the main object area is obtained as a set of pixels whose area label value is 0.

図8は、上述した動作原理に基づく図3のステップS303の領域分割処理を示すフローチャートである。   FIG. 8 is a flowchart showing the region division processing in step S303 of FIG. 3 based on the above-described operation principle.

まず、画像から、カラー画素値I(V)が1つずつ読み込まれる(図8のステップS801)。   First, color pixel values I (V) are read one by one from the image (step S801 in FIG. 8).

次に、ステップS801で読み込まれた画素が、ユーザによって指定された矩形枠内の画素であるか否かが判定される(図8のステップS802)。   Next, it is determined whether or not the pixel read in step S801 is a pixel within a rectangular frame designated by the user (step S802 in FIG. 8).

ステップS802の判定がYESの場合には、前述した数6式、数7式、および数8式に基づいて、主要オブジェクト領域らしさを示すコスト値、背景領域らしさを示すコスト値、および境界らしさを示すコスト値が、それぞれ算出される(図8のステップS803、S804、およびS805)。なお、θ(c、0)の初期値は、学習用に用意した複数枚(数百枚程度)の主要オブジェクトの領域から算出される。同様に、θ(c、1)の初期値は、学習用に用意した複数枚(数百枚程度)の背景の領域から算出される。   If the determination in step S802 is YES, the cost value indicating the main object area-likeness, the cost value indicating the background-area-likeness, and the boundary likelihood are calculated based on the above-described Expression 6, Expression 7, and Expression 8. The cost values shown are respectively calculated (steps S803, S804, and S805 in FIG. 8). Note that the initial value of θ (c, 0) is calculated from the areas of a plurality of (approximately several hundred) main objects prepared for learning. Similarly, the initial value of θ (c, 1) is calculated from a plurality (several hundreds) of background regions prepared for learning.

一方、ステップS802の判定がNOの場合には、矩形の枠外には主要オブジェクト領域はないため、そこが主要オブジェクト領域と判定されないようにするために、主要オブジェクト領域らしさを示すコスト値gv (Xv )が、次式のように一定の大きな値Kとされる。
ここで、Kは、次式に示されるように、任意のピクセルの平滑化項の総和よりも大きい値を設定しておく(以上、図8のステップS806)。
On the other hand, if the determination in step S802 is NO, there is no main object area outside the rectangular frame, so that the cost value g v ( X v ) is a constant large value K as shown in the following equation.
Here, as shown in the following equation, K is set to a value larger than the sum of the smoothing terms of an arbitrary pixel (step S806 in FIG. 8).

また、矩形の枠外が必ず背景領域と判定されるようにするために、背景領域らしさを示すコスト値gv (Xv )が、次式のように0とされる(図8のステップS807)。
Further, in order to make sure that the outside of the rectangular frame is determined as the background area, the cost value g v (X v ) indicating the likelihood of the background area is set to 0 as shown in the following equation (step S807 in FIG. 8). .

さらに、矩形の枠外は全て背景領域であるため、huv(Xu ,Xv )の値は0とされる(図8のステップS808)。 Furthermore, since all outside the rectangular frame is the background region, the value of h uv (X u , X v ) is set to 0 (step S808 in FIG. 8).

以上の処理の後、画像内に処理すべき画素が残っているか否かが判定される(図8のステップS809)。   After the above processing, it is determined whether or not there remains a pixel to be processed in the image (step S809 in FIG. 8).

処理すべき画素がありステップS809の判定がYESならば、ステップS801の処理に戻って、上記処理が繰り返される。   If there is a pixel to be processed and the determination in step S809 is YES, the process returns to step S801 and the above process is repeated.

処理すべき画素がなくなりステップS809の判定がNOになると、画像内の全ての画素について求まったコスト値を用いて、数3式のエネルギー関数E(X)が計算されながら、Graph Cutsアルゴリズムが実行され、主要オブジェクトと背景が領域分割される(ステップS810)。   When there is no pixel to be processed and the determination in step S809 is NO, the Graph Cuts algorithm is executed while calculating the energy function E (X) of Equation 3 using the cost values obtained for all the pixels in the image. Then, the main object and the background are divided into regions (step S810).

図9は、図3のステップS302のヒストグラム更新処理を示すフローチャートである。   FIG. 9 is a flowchart showing the histogram update process in step S302 of FIG.

まず、入力画像に対し図3のステップS301の矩形枠決定処理でユーザにより指定された矩形枠に関して、カラー画素値ごとの矩形枠上のヒストグラム、矩形枠外のヒストグラム、および矩形枠内のヒストグラムがそれぞれ、枠上ヒストグラム207、枠外ヒストグラム208、および枠内ヒストグラム209として算出される(図9のステップS901)。枠上ヒストグラム207の度数値をカラー画素値cごとにθon(c,0)、枠外ヒストグラム208の度数値をカラー画素値cごとにθout (c,0)、枠内ヒストグラム209の度数値をカラー画素値cごとにθin(c,0)とする。   First, with respect to the rectangular frame specified by the user in the rectangular frame determination process in step S301 of FIG. Are calculated as an on-frame histogram 207, an out-of-frame histogram 208, and an in-frame histogram 209 (step S901 in FIG. 9). The frequency value of the on-frame histogram 207 is θon (c, 0) for each color pixel value c, the frequency value of the out-of-frame histogram 208 is θout (c, 0) for each color pixel value c, and the frequency value of the in-frame histogram 209 is colored. Assume that θin (c, 0) for each pixel value c.

次に、図9のステップS902からS908の一連の処理で示されるヒストグラム比較更新処理が実行される。ここでは、図9のステップS902でカラー画素値cが最初の画素値に対応する番号1にセットされ、その後、図9のステップS908でカラー画素値cを示す番号が+1ずつされる。そして、図9のステップS907でカラー画素値cに対応する番号が最大番号Nに達したと判定されるまで、図9のステップS903からS906の処理が、各カラー画素値cごとに実行される。   Next, the histogram comparison update process shown in the series of processes in steps S902 to S908 in FIG. 9 is executed. Here, in step S902 in FIG. 9, the color pixel value c is set to number 1 corresponding to the first pixel value, and then the number indicating the color pixel value c is incremented by +1 in step S908 in FIG. Then, until it is determined in step S907 in FIG. 9 that the number corresponding to the color pixel value c has reached the maximum number N, the processing in steps S903 to S906 in FIG. 9 is executed for each color pixel value c. .

まず、カラー画素値c中から特定画素値cm が取得される。具体的には、カラー画素値cに対応してステップS901で作成された枠上ヒストグラム207の度数値θon(c,0)が第1の閾値θonm 以上である(θon(c,0)≧θonm )か否かが判定される(ステップS903)。すなわち、カラー画素値cの矩形枠上での発生頻度が高いか否かが判定される。この結果、この判定がYESならば、カラー画素値cは特定画素値cm であると判定される。図10は、特定画素値の説明図である。例えば図10(a)の1001で示されるθon(c,0)(1≦c≦N)において、その値がθonm 以上となる1002で示される範囲のカラー画素値が、特定画素値cm となる。なお、図10(b)に示されるように、通常のヒストグラムの代わりにRon(c,0)(1≦c≦N)で示される累積ヒストグラムが用いられてもよく、この場合には、度数に関する所定閾値θonm の代わりに、累積度数に関する所定閾値Ronm が判定に使用される。 First, the specific pixel value cm is acquired from the color pixel value c. Specifically, the frequency value θon (c, 0) of the on-frame histogram 207 created in step S901 corresponding to the color pixel value c is equal to or larger than the first threshold θon m (θon (c, 0) ≧ It is determined whether or not θon m ) (step S903). That is, it is determined whether the frequency of occurrence of the color pixel value c on the rectangular frame is high. As a result, if this determination is YES, it is determined that the color pixel value c is the specific pixel value cm . FIG. 10 is an explanatory diagram of specific pixel values. For example, in θon (c, 0) (1 ≦ c ≦ N) indicated by 1001 in FIG. 10A, the color pixel value in the range indicated by 1002 in which the value is equal to or larger than θon m is the specific pixel value cm. It becomes. As shown in FIG. 10B, a cumulative histogram represented by Ron (c, 0) (1 ≦ c ≦ N) may be used instead of the normal histogram. In this case, the frequency is Instead of the predetermined threshold value θon m for the predetermined frequency, the predetermined threshold value Ron m for the cumulative frequency is used for the determination.

カラー画素値cが特定画素値cm と判定されステップS903の判定がYESならば、カラー画素値cに対応してステップS901で作成された枠外ヒストグラム207の度数値θout (c,0)が第2の閾値θout m 以上である(θout (c,0)≧θout m )か否かが判定される。すなわち、特定画素値cm の発生頻度が矩形枠外でも高いか否かが判定される(図9のステップS904)。 If the color pixel value c is determined to be the specific pixel value cm and the determination in step S903 is YES, the frequency value θout (c, 0) of the out-of-frame histogram 207 created in step S901 corresponding to the color pixel value c is the first value. It is determined whether or not (θout (c, 0) ≧ θout m ) is equal to or greater than the threshold value 2 of θout m . That is, it is determined whether the occurrence frequency of the specific pixel value cm is high even outside the rectangular frame (step S904 in FIG. 9).

特定画素値cm の発生頻度が矩形枠外でも高くステップS904の判定がYESならばさらに、カラー画素値cに対応してステップS901で作成された枠内ヒストグラム209の度数値θin(c,0)が第3の閾値θinm 未満である(θin(c,0)<θinm )か否かが判定される。すなわち、特定画素値cm の発生頻度が矩形枠内では低いか否かが判定される(図9のステップS905)。 If the occurrence frequency of the specific pixel value cm is high even outside the rectangular frame and the determination in step S904 is YES, then the frequency value θin (c, 0) of the in-frame histogram 209 created in step S901 corresponding to the color pixel value c. Is less than the third threshold value θin m (θin (c, 0) <θin m ). That is, it is determined whether the occurrence frequency of the specific pixel value cm is low within the rectangular frame (step S905 in FIG. 9).

特定画素値cm の発生頻度が矩形枠内では低くステップS905の判定がYESならば、その特定画素値cm は背景に特有のカラーであって、主要オブジェクトを構成する主な色ではないと判断できる。 If the occurrence frequency of the specific pixel value cm is low in the rectangular frame and the determination in step S905 is YES, the specific pixel value cm is a color specific to the background and is not a main color constituting the main object. I can judge.

この場合には、下記の数12式に示されるように、特定画素値cm において、図3のステップS303で使用される背景らしさを示すヒストグラムの度数値θ(c,1)(=図2の第2のヒストグラム206)が、α(α>1)倍されて更新される。
In this case, as shown in the following Equation 12, the histogram frequency value θ (c, 1) indicating the background likelihood used in step S303 in FIG. 3 at the specific pixel value cm (= FIG. 2). The second histogram 206) is updated by α (α> 1) times.

あるいは下記の数13式に示されるように、特定画素値cm において、背景らしさを示すヒストグラムの度数値θ(c,1)に定数βが加算されて更新される。
Alternatively, as shown in the following formula 13, the constant β is added to the histogram frequency value θ (c, 1) indicating the background likeness and updated at the specific pixel value cm .

以上のようにして、特定画素値cm において、図3のステップS303で使用される背景らしさを示すヒストグラムの度数値θ(c,1)(=図2の第2のヒストグラム206)が、主要オブジェクトらしさを示すヒストグラムの度数値θ(c,0)(=図2の第1のヒストグラム205)に対して相対的に増加するように、θ(c,1)が更新される。ここで、特定画素値cm において、主要オブジェクトらしさを示すヒストグラムの度数値θ(c,0)のほうが小さくなるように更新処理が行われてもよい(以上、図9のステップS906)。 As described above, in certain pixel value c m, the frequency value at the histogram indicating the background likeness used in step S303 in FIG. 3 θ (c, 1) ( = second histogram 206 of FIG. 2), the main Θ (c, 1) is updated so as to increase relative to the frequency value θ (c, 0) (= first histogram 205 in FIG. 2) of the histogram indicating the object likeness. Here, the update process may be performed so that the histogram frequency value θ (c, 0) indicating the likelihood of a main object becomes smaller at the specific pixel value cm (step S906 in FIG. 9).

今回のカラー画素値cに対して以下の判定がなされた場合は、ヒストグラムの更新処理は実行されず、ステップS907の処理に移行する。カラー画素値cが特定画素値cm と判定されず、ステップS903の判定がNOとなった場合である。または、カラー画素値cは特定画素値cm と判定されステップS903の判定はYESとなったが、特定画素値cm の発生頻度が矩形枠外で高くなくステップS904の判定がNOとなった場合である。あるいは、特定画素値cm の発生頻度が矩形枠外で高くステップS904の判定がYESとなったが、特定画素値cm の発生頻度が矩形枠内でも高くステップS905の判定がNOとなった場合である。 When the following determination is made for the current color pixel value c, the histogram update process is not executed, and the process proceeds to step S907. This is a case where the color pixel value c is not determined to be the specific pixel value cm and the determination in step S903 is NO. Alternatively, the color pixel value c is determined to be the specific pixel value cm and the determination in step S903 is YES, but the occurrence frequency of the specific pixel value cm is not high outside the rectangular frame and the determination in step S904 is NO. It is. Alternatively, the occurrence frequency of the specific pixel value cm is high outside the rectangular frame, and the determination in step S904 is YES. However, the occurrence frequency of the specific pixel value cm is high even in the rectangular frame, and the determination in step S905 is NO. It is.

以上の図9のステップS903からS906の一連のヒストグラム更新処理が、各カラー画素値cの番号(1≦c≦N)ごとに繰り返し実行される。   The series of histogram update processes in steps S903 to S906 in FIG. 9 described above are repeatedly executed for each color pixel value c number (1 ≦ c ≦ N).

本実施形態では、矩形枠の枠上で発生頻度の高い例えばカラー画素値である特定画素値cm が、矩形枠外でも発生頻度が高く、なおかつ矩形枠内で発生頻度が高くなければ、図3のステップS303で実行される領域分割処理において、特定画素値cm に対する背景らしさを示すヒストグラムの度数値θ(c,1)が相対的に増加するように更新される。これにより、特定画素値cm については背景領域に分類される確率が高められる。この結果、領域分割手段201における領域分割処理において、背景領域と主要オブジェクト領域とで誤認識をする割合が減少し、領域分割の精度を向上させることが可能となる。 In the present embodiment, the specific pixel value cm , which is a color pixel value having a high occurrence frequency on the rectangular frame, has a high occurrence frequency outside the rectangular frame, and if the occurrence frequency is not high in the rectangular frame, FIG. In the region dividing process executed in step S303, the histogram frequency value θ (c, 1) indicating the background likelihood with respect to the specific pixel value cm is updated so as to be relatively increased. As a result, the probability that the specific pixel value cm is classified into the background region is increased. As a result, in the area dividing process in the area dividing unit 201, the ratio of erroneous recognition between the background area and the main object area is reduced, and the accuracy of area division can be improved.

図11は、上述のヒストグラム更新処理に基づく領域分割処理(グラフカット処理)の結果例を示す図である。   FIG. 11 is a diagram illustrating an example of a result of the area division process (graph cut process) based on the above-described histogram update process.

入力画像として、図11(a)に示されるように例えば、黄色が多くを占める一輪の花1101が、緑色が多くを占める背景1102の中に配置されている場合、花1101の部分を示す主要オブジェクト領域と背景1102の部分を示す背景領域とを領域分割した結果は、例えば図11(b)に示されるごとくとなる。図11(b)において、白色の領域が主要オブジェクト領域、黒色の領域が背景領域と判別されている。この場合、本実施形態では、図11(c)に示されるように、ユーザにより指定された矩形枠の枠上1103では緑色の画素値が多くを占める。従って、枠上ヒストグラム207において、緑色の画素値に対応する度数値が高くなって図9のステップS903の判定がYESとなり、緑色の画素値が特定画素値cm として抽出される。次に、緑色の画素値は矩形枠1103の外側でも多くを占める。従って、枠外ヒストグラム208において、緑色の画素値に対応する度数値が高くなって図9のステップS904の判定がYESとなる。さらに、緑色の画素値は矩形枠1103の内側では多くを占めてはいない。従って、枠内ヒストグラム209において、緑色の画素値に対応する度数値が低くなって図9のステップS905の判定がYESとなる。以上の結果、緑色の画素値において、図9のステップS906において、背景らしさを示すヒストグラムの度数値θ(c,1)が、主要オブジェクトらしさを示すヒストグラムの度数値θ(c,0)に対して相対的に増加するように、更新される。この結果、主要オブジェクト領域が黄色が多くを占める花1101の部分に良く対応するように、領域分割が実行される。 As an input image, as shown in FIG. 11A, for example, when a single flower 1101 occupying a large amount of yellow is arranged in a background 1102 occupying a large amount of green, the main image indicating the portion of the flower 1101 The result of dividing the object area and the background area indicating the background 1102 is, for example, as shown in FIG. In FIG. 11B, the white area is determined as the main object area, and the black area is determined as the background area. In this case, in the present embodiment, as shown in FIG. 11C, the green pixel value occupies most on the frame 1103 of the rectangular frame designated by the user. Accordingly, in the on-frame histogram 207, the numerical value corresponding to the green pixel value becomes high, the determination in step S903 in FIG. 9 becomes YES, and the green pixel value is extracted as the specific pixel value cm . Next, the green pixel value occupies a large amount even outside the rectangular frame 1103. Accordingly, in the out-of-frame histogram 208, the numerical value corresponding to the green pixel value increases, and the determination in step S904 in FIG. 9 becomes YES. Further, the green pixel value does not occupy much inside the rectangular frame 1103. Accordingly, in the in-frame histogram 209, the power value corresponding to the green pixel value is lowered, and the determination in step S905 of FIG. 9 is YES. As a result, for the green pixel value, in step S906 in FIG. 9, the histogram frequency value θ (c, 1) indicating the background likelihood is compared with the histogram frequency value θ (c, 0) indicating the main object likelihood. Updated so as to increase relatively. As a result, the region division is executed so that the main object region corresponds well to the portion of the flower 1101 in which the yellow color occupies most.

一方、入力画像として、図11(d)に示されるように例えば、ピンク色の花の部分1104に対して、背景1105にも同様のピンク色の花が多く存在する場合、花1104の部分を示す主要オブジェクト領域と背景1105の部分を示す背景領域とを領域分割した結果は、例えば図11(e)に示されるごとくとなる。この場合、本実施形態では、図11(f)に示されるように、ユーザにより指定された矩形枠の枠上1106にはピンク色の画素値が多くを占める。従って、枠上ヒストグラム207において、ピンク色の画素値に対応する度数値が高くなって図9のステップS903の判定がYESとなり、ピンク色の画素値が特定画素値cm として抽出される。次に、ピンク色の画素値は矩形枠1103の外側でも多くを占める。従って、枠外ヒストグラム208において、ピンク色の画素値に対応する度数値が高くなって図9のステップS904の判定がYESとなる。しかしながら、ピンク色の画素値は矩形枠1103の内側でも多くを占めている。従って、枠内ヒストグラム209において、ピンク色の画素値に対応する度数値が高くなって図9のステップS905の判定がNOとなる。以上の結果、ピンク色の画素値については、背景らしさを示すヒストグラムの度数値θ(c,1)が、主要オブジェクトらしさを示すヒストグラムの度数値θ(c,0)に対して相対的に増加するような更新は行われない。この結果、ピンク色を基準として領域分割が行われるような状況が回避される。 On the other hand, as shown in FIG. 11D, for example, when there are many similar pink flowers in the background 1105 as compared with the pink flower portion 1104 as shown in FIG. The result of dividing the main object area shown and the background area showing the background 1105 is, for example, as shown in FIG. In this case, in the present embodiment, as shown in FIG. 11 (f), a large number of pink pixel values occupy the upper frame 1106 of the rectangular frame designated by the user. Accordingly, in the on-frame histogram 207, the numerical value corresponding to the pink pixel value becomes high, the determination in step S903 in FIG. 9 becomes YES, and the pink pixel value is extracted as the specific pixel value cm . Next, pink pixel values occupy a large amount outside the rectangular frame 1103. Accordingly, in the out-of-frame histogram 208, the numerical value corresponding to the pink pixel value increases, and the determination in step S904 in FIG. 9 becomes YES. However, the pink pixel values occupy most of the inside of the rectangular frame 1103. Accordingly, in the in-frame histogram 209, the power value corresponding to the pink pixel value is high, and the determination in step S905 of FIG. 9 is NO. As a result, with respect to the pink pixel value, the histogram frequency value θ (c, 1) indicating the likelihood of background increases relative to the histogram frequency value θ (c, 0) indicating the likelihood of the main object. No updates will be made. As a result, a situation in which region division is performed based on pink is avoided.

以上のようにして、本実施形態では、矩形枠内外のコスト設定が適切に行われることにより、領域分割における切抜きの精度を向上させることが可能となる。   As described above, in the present embodiment, it is possible to improve the accuracy of clipping in area division by appropriately setting the cost inside and outside the rectangular frame.

上述の実施形態では、主要オブジェクトが花である場合を例に説明したが、主要オブジェクトとしては、花に限られず、様々なオブジェクトを採用することができる。   In the above embodiment, the case where the main object is a flower has been described as an example. However, the main object is not limited to a flower, and various objects can be adopted.

以上の実施形態に関して、更に以下の付記を開示する。
(付記1)
画像内で指定された画像範囲内の主要オブジェクトと該主要オブジェクト以外の背景を領域分割する装置であって、
前記画像範囲内の各画素に付与する前記主要オブジェクトまたは前記背景を示す領域ラベルを更新しながら、該領域ラベルと前記各画素の画素値に基づき、前記主要オブジェクトを示す画像から算出した前記画素値ごとの第1のヒストグラムの値が大きいほど値が小さくなるコスト項と、前記背景を示す画像から算出した前記画素値ごとの第2のヒストグラムの値が大きいほど値が小さくなるコスト項を含むエネルギー関数の最小化処理により、前記画像内で前記主要オブジェクトと前記背景を領域分割する領域分割手段と、
前記画像範囲の枠上の画素値ごと、前記画像範囲の境界外の画素値ごと、および前記画像範囲の枠内の画素値ごとの各ヒストグラムをそれぞれ、枠上ヒストグラム、枠外ヒストグラム、および枠内ヒストグラムとして算出するヒストグラム算出手段と、
前記枠上ヒストグラムで度数値が第1の閾値に対して大きい画素値を特定画素値として抽出する特定画素値抽出手段と、
前記特定画素値での度数値が前記枠外ヒストグラム上で第2の閾値に対して大きくかつ前記枠内ヒストグラム上で第3の閾値に対して小さい場合に、前記特定画素値において前記第2のヒストグラムの度数値が前記第1のヒストグラムの度数値に対して相対的に増加するように該2つの度数値の少なくともいずれかを更新するヒストグラム更新手段と、
を備えることを特徴とする画像領域分割装置。
(付記2)
前記ヒストグラム更新手段は、前記特定画素値での度数値が前記枠外ヒストグラム上で第2の閾値に対して大きくかつ前記枠内ヒストグラム上で第3の閾値に対して小さい場合に、前記特定画素値における前記第2のヒストグラムの度数値を、1よりも大きい倍数である所定数倍して更新する、
ことを特徴とする付記1に記載の画像領域分割装置。
(付記3)
前記ヒストグラム更新手段は、前記特定画素値での度数値が前記枠外ヒストグラム上で第2の閾値に対して大きくかつ前記枠内ヒストグラム上で第3の閾値に対して小さい場合に、前記特定画素値における前記第2のヒストグラムの度数値に0よりも大きい所定数を加算して更新する、
ことを特徴とする付記1に記載の画像領域分割装置。
(付記4)
前記第1のヒストグラムの初期値は、学習用の複数枚の前記主要オブジェクトを示す画像の前記画素値ごとのヒストグラムとして算出し、
前記第2のヒストグラムの初期値は、学習用の複数枚の前記背景を示す画像の前記画素値ごとのヒストグラムとして算出する、
ことを特徴とする付記1ないし3のいずれかに記載の画像領域分割装置。
(付記5)
前記領域分割手段は、Graph Cuts法により前記エネルギー関数の最小化処理を実行する、
ことを特徴とする付記1ないし4のいずれかに記載の画像領域分割装置。
(付記6)
画像内で指定された画像範囲内の主要オブジェクトと該主要オブジェクト以外の背景を領域分割する方法であって、
前記画像範囲内の各画素に付与する前記主要オブジェクトまたは前記背景を示す領域ラベルを更新しながら、該領域ラベルと前記各画素の画素値に基づき、前記主要オブジェクトを示す画像から算出した前記画素値ごとの第1のヒストグラムの値が大きいほど値が小さくなるコスト項と、前記背景を示す画像から算出した前記画素値ごとの第2のヒストグラムの値が大きいほど値が小さくなるコスト項を含むエネルギー関数の最小化処理により、前記画像内で前記主要オブジェクトと前記背景を領域分割する領域分割ステップと、
前記画像範囲の枠上の画素値ごと、前記画像範囲の境界外の画素値ごと、および前記画像範囲の枠内の画素値ごとの各ヒストグラムをそれぞれ、枠上ヒストグラム、枠外ヒストグラム、および枠内ヒストグラムとして算出するヒストグラム算出ステップと、
前記枠上ヒストグラムで度数値が第1の閾値に対して大きい画素値を特定画素値として抽出する特定画素値抽出ステップと、
前記特定画素値での度数値が前記枠外ヒストグラム上で第2の閾値に対して大きくかつ前記枠内ヒストグラム上で第3の閾値に対して小さい場合に、前記特定画素値において前記第2のヒストグラムの度数値が前記第1のヒストグラムの度数値に対して相対的に増加するように該2つの度数値の少なくともいずれかを更新するヒストグラム更新ステップと、
を備えることを特徴とする画像領域分割方法。
(付記7)
画像内で指定された画像範囲内の主要オブジェクトと該主要オブジェクト以外の背景を領域分割する処理を実行するコンピュータに、
前記画像範囲内の各画素に付与する前記主要オブジェクトまたは前記背景を示す領域ラベルを更新しながら、該領域ラベルと前記各画素の画素値に基づき、前記主要オブジェクトを示す画像から算出した前記画素値ごとの第1のヒストグラムの値が大きいほど値が小さくなるコスト項と、前記背景を示す画像から算出した前記画素値ごとの第2のヒストグラムの値が大きいほど値が小さくなるコスト項を含むエネルギー関数の最小化処理により、前記画像内で前記主要オブジェクトと前記背景を領域分割する領域分割ステップと、
前記画像範囲の枠上の画素値ごと、前記画像範囲の境界外の画素値ごと、および前記画像範囲の枠内の画素値ごとの各ヒストグラムをそれぞれ、枠上ヒストグラム、枠外ヒストグラム、および枠内ヒストグラムとして算出するヒストグラム算出ステップと、
前記枠上ヒストグラムで度数値が第1の閾値に対して大きい画素値を特定画素値として抽出する特定画素値抽出ステップと、
前記特定画素値での度数値が前記枠外ヒストグラム上で第2の閾値に対して大きくかつ前記枠内ヒストグラム上で第3の閾値に対して小さい場合に、前記特定画素値において前記第2のヒストグラムの度数値が前記第1のヒストグラムの度数値に対して相対的に増加するように該2つの度数値の少なくともいずれかを更新するヒストグラム更新ステップと、
を実行させるためのプログラム。
Regarding the above embodiment, the following additional notes are disclosed.
(Appendix 1)
A device that divides a main object in an image range designated in an image and a background other than the main object into regions,
The pixel value calculated from the image representing the main object based on the region label and the pixel value of each pixel while updating the region label indicating the main object or the background to be given to each pixel in the image range Energy including a cost term that decreases as the value of the first histogram for each pixel decreases, and a cost term that decreases as the value of the second histogram for each pixel value calculated from the image indicating the background increases. Area dividing means for dividing the main object and the background into areas in the image by a function minimization process;
For each pixel value on the frame of the image range, for each pixel value outside the boundary of the image range, and for each pixel value within the frame of the image range, a histogram on the frame, an out-of-frame histogram, and an in-frame histogram, respectively. Histogram calculating means for calculating as
Specific pixel value extracting means for extracting, as the specific pixel value, a pixel value having a power value larger than the first threshold in the histogram on the frame;
When the frequency value at the specific pixel value is larger than the second threshold value on the out-of-frame histogram and smaller than the third threshold value on the intra-frame histogram, the second histogram at the specific pixel value Histogram updating means for updating at least one of the two frequency values so that the frequency value increases relative to the frequency value of the first histogram;
An image region dividing apparatus comprising:
(Appendix 2)
The histogram updating unit is configured to output the specific pixel value when a power value at the specific pixel value is larger than a second threshold value on the out-of-frame histogram and smaller than a third threshold value on the in-frame histogram. Updating the frequency value of the second histogram at a predetermined multiple that is a multiple greater than 1.
The image area dividing device according to Supplementary Note 1, wherein
(Appendix 3)
The histogram updating unit is configured to output the specific pixel value when a power value at the specific pixel value is larger than a second threshold value on the out-of-frame histogram and smaller than a third threshold value on the in-frame histogram. Updating by adding a predetermined number greater than 0 to the frequency value of the second histogram at
The image area dividing device according to Supplementary Note 1, wherein
(Appendix 4)
The initial value of the first histogram is calculated as a histogram for each pixel value of an image showing a plurality of learning main objects,
The initial value of the second histogram is calculated as a histogram for each pixel value of a plurality of images indicating the background for learning.
The image area dividing device according to any one of appendices 1 to 3, wherein
(Appendix 5)
The region dividing unit performs the energy function minimization process by a Graph Cuts method.
The image area dividing device according to any one of appendices 1 to 4, characterized in that:
(Appendix 6)
A method of dividing a main object within an image range designated in an image and a background other than the main object into regions,
The pixel value calculated from the image representing the main object based on the region label and the pixel value of each pixel while updating the region label indicating the main object or the background to be given to each pixel in the image range Energy including a cost term that decreases as the value of the first histogram for each pixel decreases, and a cost term that decreases as the value of the second histogram for each pixel value calculated from the image indicating the background increases. A region dividing step of dividing the main object and the background into regions in the image by function minimization processing;
For each pixel value on the frame of the image range, for each pixel value outside the boundary of the image range, and for each pixel value within the frame of the image range, a histogram on the frame, an out-of-frame histogram, and an in-frame histogram, respectively. A histogram calculation step to calculate as
A specific pixel value extracting step of extracting a pixel value having a power value larger than the first threshold value as the specific pixel value in the on-frame histogram;
When the frequency value at the specific pixel value is larger than the second threshold value on the out-of-frame histogram and smaller than the third threshold value on the intra-frame histogram, the second histogram at the specific pixel value A histogram update step of updating at least one of the two frequency values so that the frequency value of the first histogram increases relatively with respect to the frequency value of the first histogram;
An image region dividing method comprising:
(Appendix 7)
A computer that executes processing for dividing a main object in an image range designated in an image and a background other than the main object into a region;
The pixel value calculated from the image representing the main object based on the region label and the pixel value of each pixel while updating the region label indicating the main object or the background to be given to each pixel in the image range Energy including a cost term that decreases as the value of the first histogram for each pixel decreases, and a cost term that decreases as the value of the second histogram for each pixel value calculated from the image indicating the background increases. A region dividing step of dividing the main object and the background into regions in the image by function minimization processing;
For each pixel value on the frame of the image range, for each pixel value outside the boundary of the image range, and for each pixel value within the frame of the image range, a histogram on the frame, an out-of-frame histogram, and an in-frame histogram, respectively. A histogram calculation step to calculate as
A specific pixel value extracting step of extracting a pixel value having a power value larger than the first threshold value as the specific pixel value in the on-frame histogram;
When the frequency value at the specific pixel value is larger than the second threshold value on the out-of-frame histogram and smaller than the third threshold value on the intra-frame histogram, the second histogram at the specific pixel value A histogram update step of updating at least one of the two frequency values so that the frequency value of the first histogram increases relatively with respect to the frequency value of the first histogram;
A program for running

101 画像領域分割装置
102 CPU
103 ROM
104 RAM
105 外部記憶装置
106 通信インタフェース
107 入力装置
108 表示装置
109 可搬記録媒体駆動装置
110 可搬記録媒体
111 バス
112 撮像装置
201 領域分割手段
202 ヒストグラム算出手段
203 特定画素値抽出手段
204 ヒストグラム更新手段
205 第1のヒストグラム
206 第2のヒストグラム
207 枠上ヒストグラム
208 枠外ヒストグラム
209 枠内ヒストグラム
101 Image area dividing device 102 CPU
103 ROM
104 RAM
105 External Storage Device 106 Communication Interface 107 Input Device 108 Display Device 109 Portable Recording Medium Drive Device 110 Portable Recording Medium 111 Bus 112 Imaging Device 201 Region Dividing Unit 202 Histogram Calculation Unit 203 Specific Pixel Value Extracting Unit 204 Histogram Updating Unit 205 Histogram of 1 206 Second histogram 207 Histogram above frame 208 Histogram outside frame 209 Histogram inside frame

Claims (7)

画像内で指定された画像範囲内の主要オブジェクトと該主要オブジェクト以外の背景を領域分割する装置であって、
前記画像範囲内の各画素に付与する前記主要オブジェクトまたは前記背景を示す領域ラベルを更新しながら、該領域ラベルと前記各画素の画素値に基づき、前記主要オブジェクトを示す画像から算出した前記画素値ごとの第1のヒストグラムの値が大きいほど値が小さくなるコスト項と、前記背景を示す画像から算出した前記画素値ごとの第2のヒストグラムの値が大きいほど値が小さくなるコスト項を含むエネルギー関数の最小化処理により、前記画像内で前記主要オブジェクトと前記背景を領域分割する領域分割手段と、
前記画像範囲の枠上の画素値ごと、前記画像範囲の境界外の画素値ごと、および前記画像範囲の枠内の画素値ごとの各ヒストグラムをそれぞれ、枠上ヒストグラム、枠外ヒストグラム、および枠内ヒストグラムとして算出するヒストグラム算出手段と、
前記枠上ヒストグラムで度数値が第1の閾値に対して大きい画素値を特定画素値として抽出する特定画素値抽出手段と、
前記特定画素値での度数値が前記枠外ヒストグラム上で第2の閾値に対して大きくかつ前記枠内ヒストグラム上で第3の閾値に対して小さい場合に、前記特定画素値において前記第2のヒストグラムの度数値が前記第1のヒストグラムの度数値に対して相対的に増加するように該2つの度数値の少なくともいずれかを更新するヒストグラム更新手段と、
を備えることを特徴とする画像領域分割装置。
A device that divides a main object in an image range designated in an image and a background other than the main object into regions,
The pixel value calculated from the image representing the main object based on the region label and the pixel value of each pixel while updating the region label indicating the main object or the background to be given to each pixel in the image range Energy including a cost term that decreases as the value of the first histogram for each pixel decreases, and a cost term that decreases as the value of the second histogram for each pixel value calculated from the image indicating the background increases. Area dividing means for dividing the main object and the background into areas in the image by a function minimization process;
For each pixel value on the frame of the image range, for each pixel value outside the boundary of the image range, and for each pixel value within the frame of the image range, a histogram on the frame, an out-of-frame histogram, and an in-frame histogram, respectively. Histogram calculating means for calculating as
Specific pixel value extracting means for extracting, as the specific pixel value, a pixel value having a power value larger than the first threshold in the histogram on the frame;
When the frequency value at the specific pixel value is larger than the second threshold value on the out-of-frame histogram and smaller than the third threshold value on the intra-frame histogram, the second histogram at the specific pixel value Histogram updating means for updating at least one of the two frequency values so that the frequency value increases relative to the frequency value of the first histogram;
An image region dividing apparatus comprising:
前記ヒストグラム更新手段は、前記特定画素値での度数値が前記枠外ヒストグラム上で第2の閾値に対して大きくかつ前記枠内ヒストグラム上で第3の閾値に対して小さい場合に、前記特定画素値における前記第2のヒストグラムの度数値を、1よりも大きい倍数である所定数倍して更新する、
ことを特徴とする請求項1に記載の画像領域分割装置。
The histogram updating unit is configured to output the specific pixel value when a power value at the specific pixel value is larger than a second threshold value on the out-of-frame histogram and smaller than a third threshold value on the in-frame histogram. Updating the frequency value of the second histogram at a predetermined multiple that is a multiple greater than 1.
The image area dividing device according to claim 1, wherein
前記ヒストグラム更新手段は、前記特定画素値での度数値が前記枠外ヒストグラム上で第2の閾値に対して大きくかつ前記枠内ヒストグラム上で第3の閾値に対して小さい場合に、前記特定画素値における前記第2のヒストグラムの度数値に0よりも大きい所定数を加算して更新する、
ことを特徴とする請求項1に記載の画像領域分割装置。
The histogram updating unit is configured to output the specific pixel value when a power value at the specific pixel value is larger than a second threshold value on the out-of-frame histogram and smaller than a third threshold value on the in-frame histogram. Updating by adding a predetermined number greater than 0 to the frequency value of the second histogram at
The image area dividing device according to claim 1, wherein
前記第1のヒストグラムの初期値は、学習用の複数枚の前記主要オブジェクトを示す画像の前記画素値ごとのヒストグラムとして算出し、
前記第2のヒストグラムの初期値は、学習用の複数枚の前記背景を示す画像の前記画素値ごとのヒストグラムとして算出する、
ことを特徴とする請求項1ないし3のいずれかに記載の画像領域分割装置。
The initial value of the first histogram is calculated as a histogram for each pixel value of an image showing a plurality of learning main objects,
The initial value of the second histogram is calculated as a histogram for each pixel value of a plurality of images indicating the background for learning.
The image area dividing device according to claim 1, wherein the image area dividing device is an image area dividing device.
前記領域分割手段は、Graph Cuts法により前記エネルギー関数の最小化処理を実行する、
ことを特徴とする請求項1ないし4のいずれかに記載の画像領域分割装置。
The region dividing unit performs the energy function minimization process by a Graph Cuts method.
The image area dividing device according to claim 1, wherein the image area dividing device is an image area dividing device according to claim 1.
画像内で指定された画像範囲内の主要オブジェクトと該主要オブジェクト以外の背景を領域分割する方法であって、
前記画像範囲内の各画素に付与する前記主要オブジェクトまたは前記背景を示す領域ラベルを更新しながら、該領域ラベルと前記各画素の画素値に基づき、前記主要オブジェクトを示す画像から算出した前記画素値ごとの第1のヒストグラムの値が大きいほど値が小さくなるコスト項と、前記背景を示す画像から算出した前記画素値ごとの第2のヒストグラムの値が大きいほど値が小さくなるコスト項を含むエネルギー関数の最小化処理により、前記画像内で前記主要オブジェクトと前記背景を領域分割する領域分割ステップと、
前記画像範囲の枠上の画素値ごと、前記画像範囲の境界外の画素値ごと、および前記画像範囲の枠内の画素値ごとの各ヒストグラムをそれぞれ、枠上ヒストグラム、枠外ヒストグラム、および枠内ヒストグラムとして算出するヒストグラム算出ステップと、
前記枠上ヒストグラムで度数値が第1の閾値に対して大きい画素値を特定画素値として抽出する特定画素値抽出ステップと、
前記特定画素値での度数値が前記枠外ヒストグラム上で第2の閾値に対して大きくかつ前記枠内ヒストグラム上で第3の閾値に対して小さい場合に、前記特定画素値において前記第2のヒストグラムの度数値が前記第1のヒストグラムの度数値に対して相対的に増加するように該2つの度数値の少なくともいずれかを更新するヒストグラム更新ステップと、
を備えることを特徴とする画像領域分割方法。
A method of dividing a main object within an image range designated in an image and a background other than the main object into regions,
The pixel value calculated from the image representing the main object based on the region label and the pixel value of each pixel while updating the region label indicating the main object or the background to be given to each pixel in the image range Energy including a cost term that decreases as the value of the first histogram for each pixel decreases, and a cost term that decreases as the value of the second histogram for each pixel value calculated from the image indicating the background increases. A region dividing step of dividing the main object and the background into regions in the image by function minimization processing;
For each pixel value on the frame of the image range, for each pixel value outside the boundary of the image range, and for each pixel value within the frame of the image range, a histogram on the frame, an out-of-frame histogram, and an in-frame histogram, respectively. A histogram calculation step to calculate as
A specific pixel value extracting step of extracting a pixel value having a power value larger than the first threshold value as the specific pixel value in the on-frame histogram;
When the frequency value at the specific pixel value is larger than the second threshold value on the out-of-frame histogram and smaller than the third threshold value on the intra-frame histogram, the second histogram at the specific pixel value A histogram update step of updating at least one of the two frequency values so that the frequency value of the first histogram increases relatively with respect to the frequency value of the first histogram;
An image region dividing method comprising:
画像内で指定された画像範囲内の主要オブジェクトと該主要オブジェクト以外の背景を領域分割する処理を実行するコンピュータに、
前記画像範囲内の各画素に付与する前記主要オブジェクトまたは前記背景を示す領域ラベルを更新しながら、該領域ラベルと前記各画素の画素値に基づき、前記主要オブジェクトを示す画像から算出した前記画素値ごとの第1のヒストグラムの値が大きいほど値が小さくなるコスト項と、前記背景を示す画像から算出した前記画素値ごとの第2のヒストグラムの値が大きいほど値が小さくなるコスト項を含むエネルギー関数の最小化処理により、前記画像内で前記主要オブジェクトと前記背景を領域分割する領域分割ステップと、
前記画像範囲の枠上の画素値ごと、前記画像範囲の境界外の画素値ごと、および前記画像範囲の枠内の画素値ごとの各ヒストグラムをそれぞれ、枠上ヒストグラム、枠外ヒストグラム、および枠内ヒストグラムとして算出するヒストグラム算出ステップと、
前記枠上ヒストグラムで度数値が第1の閾値に対して大きい画素値を特定画素値として抽出する特定画素値抽出ステップと、
前記特定画素値での度数値が前記枠外ヒストグラム上で第2の閾値に対して大きくかつ前記枠内ヒストグラム上で第3の閾値に対して小さい場合に、前記特定画素値において前記第2のヒストグラムの度数値が前記第1のヒストグラムの度数値に対して相対的に増加するように該2つの度数値の少なくともいずれかを更新するヒストグラム更新ステップと、
を実行させるためのプログラム。
A computer that executes processing for dividing a main object in an image range designated in an image and a background other than the main object into a region;
The pixel value calculated from the image representing the main object based on the region label and the pixel value of each pixel while updating the region label indicating the main object or the background to be given to each pixel in the image range Energy including a cost term that decreases as the value of the first histogram for each pixel decreases, and a cost term that decreases as the value of the second histogram for each pixel value calculated from the image indicating the background increases. A region dividing step of dividing the main object and the background into regions in the image by function minimization processing;
For each pixel value on the frame of the image range, for each pixel value outside the boundary of the image range, and for each pixel value within the frame of the image range, a histogram on the frame, an out-of-frame histogram, and an in-frame histogram, respectively. A histogram calculation step to calculate as
A specific pixel value extracting step of extracting a pixel value having a power value larger than the first threshold value as the specific pixel value in the on-frame histogram;
When the frequency value at the specific pixel value is larger than the second threshold value on the out-of-frame histogram and smaller than the third threshold value on the intra-frame histogram, the second histogram at the specific pixel value A histogram update step of updating at least one of the two frequency values so that the frequency value of the first histogram increases relatively with respect to the frequency value of the first histogram;
A program for running
JP2012151913A 2012-07-05 2012-07-05 Image region dividing apparatus, method, and program Active JP6044138B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012151913A JP6044138B2 (en) 2012-07-05 2012-07-05 Image region dividing apparatus, method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012151913A JP6044138B2 (en) 2012-07-05 2012-07-05 Image region dividing apparatus, method, and program

Publications (3)

Publication Number Publication Date
JP2014016676A true JP2014016676A (en) 2014-01-30
JP2014016676A5 JP2014016676A5 (en) 2015-07-23
JP6044138B2 JP6044138B2 (en) 2016-12-14

Family

ID=50111337

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012151913A Active JP6044138B2 (en) 2012-07-05 2012-07-05 Image region dividing apparatus, method, and program

Country Status (1)

Country Link
JP (1) JP6044138B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015137358A1 (en) * 2014-03-12 2015-09-17 株式会社メガチップス Image processing method, image processing device, and program
CN107563427A (en) * 2016-08-25 2018-01-09 维纳·肖尔岑 The method and corresponding use that copyright for oil painting is identified

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170002465A1 (en) 2015-06-30 2017-01-05 Lam Research Corporation Separation of Plasma Suppression and Wafer Edge to Improve Edge Film Thickness Uniformity

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JPN6016018782; ファンヴェトクォク 外2名: '繰り返し色分布マッチングによる画像セグメンテーション' 画像の認識・理解シンポジウム(MIRU2011) , 20110720, 第1240-1247頁, 情報処理学会 *
JPN7016001266; Carsten Rother et al.: '"GrabCut"- Interactive Foreground Extraction using Iterated Graph Cuts' ACM Transactions on Graphics Vol.23, No.3, 2004, Pages 309-314, ACM *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015137358A1 (en) * 2014-03-12 2015-09-17 株式会社メガチップス Image processing method, image processing device, and program
JP2015176163A (en) * 2014-03-12 2015-10-05 株式会社メガチップス Image processing method, image processor, and program
CN107563427A (en) * 2016-08-25 2018-01-09 维纳·肖尔岑 The method and corresponding use that copyright for oil painting is identified
JP2018032400A (en) * 2016-08-25 2018-03-01 ヴェルナー・ショルツェンWerner SCHOLZEN Method for evaluating authenticity of painting, and use method corresponding thereto

Also Published As

Publication number Publication date
JP6044138B2 (en) 2016-12-14

Similar Documents

Publication Publication Date Title
KR102169431B1 (en) Image processing apparatus and method for object boundary stabilization in an image of a sequence of images
JP6044134B2 (en) Image area dividing apparatus, method, and program according to optimum image size
US10896493B2 (en) Intelligent identification of replacement regions for mixing and replacing of persons in group portraits
CN109753913B (en) Multi-mode video semantic segmentation method with high calculation efficiency
JP5763965B2 (en) Information processing apparatus, information processing method, and program
US8280165B2 (en) System and method for segmenting foreground and background in a video
US10916019B2 (en) Moving object detection in image frames based on optical flow maps
CN111275034B (en) Method, device, equipment and storage medium for extracting text region from image
JP2019028991A (en) Target detection method, target detection apparatus, and image processing apparatus
CN106251348A (en) A kind of self adaptation multi thread towards depth camera merges background subtraction method
JP5673624B2 (en) Object search apparatus, method, and program
JP2011053951A (en) Image processing apparatus
JP6044138B2 (en) Image region dividing apparatus, method, and program
US10643096B2 (en) Image processing apparatus, image processing method, and non-transitory computer-readable storage medium
JP5994493B2 (en) Moving image foreground clipping device, method, and program
JP5952942B2 (en) Information processing apparatus, information processing method, and program
KR101592087B1 (en) Method for generating saliency map based background location and medium for recording the same
CN111080748A (en) Automatic picture synthesis system based on Internet
JP6044130B2 (en) Image region dividing apparatus, method, and program
CN113724269A (en) Example segmentation method, training method of example segmentation network and related equipment
CN113469041A (en) Image processing method and device, computer equipment and storage medium
EP1418530A1 (en) Adaptive artificial vision method and system
JP5786838B2 (en) Image region dividing apparatus, method, and program
JP2008102589A (en) Moving image processor, moving image processing method and moving image processing program
JP5962491B2 (en) Angle of view adjustment apparatus, method, and program

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150603

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150603

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160517

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160524

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160613

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20161031

R150 Certificate of patent or registration of utility model

Ref document number: 6044138

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150