JP2016045744A5 - - Google Patents
Download PDFInfo
- Publication number
- JP2016045744A5 JP2016045744A5 JP2014169928A JP2014169928A JP2016045744A5 JP 2016045744 A5 JP2016045744 A5 JP 2016045744A5 JP 2014169928 A JP2014169928 A JP 2014169928A JP 2014169928 A JP2014169928 A JP 2014169928A JP 2016045744 A5 JP2016045744 A5 JP 2016045744A5
- Authority
- JP
- Japan
- Prior art keywords
- region
- boundary
- image
- area
- specific
- 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
Links
- 238000011156 evaluation Methods 0.000 claims description 25
- 210000001847 Jaw Anatomy 0.000 claims description 7
- 230000035945 sensitivity Effects 0.000 claims description 4
- 238000003672 processing method Methods 0.000 claims description 2
- 238000000034 method Methods 0.000 description 5
- 238000001514 detection method Methods 0.000 description 1
- 230000002093 peripheral Effects 0.000 description 1
Images
Description
この問題を解決するため、大まかな輪郭を取得した後、Graph Cuts法(以下「グラフカット」と記載する)と呼ばれる技術を用いてより正確な輪郭を取得する方法が知られている(例えば非特許文献1、特許文献1に記載の技術)。 To solve this problem, after obtaining the rough contour, Graph Cuts method (hereinafter referred to as "graph cut") method for obtaining a more accurate contour using a technique referred to as is known (e.g. non (Techniques described in Patent Document 1 and Patent Document 1).
前記目的を達成するため、本発明の画像処理機器の一態様は、画像において前記画像から分割する特定領域を特定する特定手段と、前記特定手段によって特定された前記特定領域の境界の前記境界らしさを評価する評価値を算出し、前記評価値に基づいて前記境界としての適正を評価する境界適正評価手段と、前記評価値に基づいて、前記境界の近傍であって前記境界を含む不定領域の幅を設定し、前記画像に対して前記特定領域、前記特定領域以外の領域および前記不定領域からなるトライマップを作成するトライマップ作成手段と、前記トライマップの前記不定領域においてグラフカット法によって前記特定領域と前記特定領域以外の領域とを分割する分割手段と、を備える、ことを特徴とする。
また、前記目的を達成するため、本発明の画像処理方法の一態様は、画像において前記画像から分割する特定領域を特定し、特定された前記特定領域の境界の前記境界らしさを評価する評価値を算出し、前記評価値に基づいて前記境界としての適正を評価し、前記評価値に基づいて、前記境界の近傍であって前記境界を含む不定領域の幅を設定し、前記画像に対して前記特定領域、前記特定領域以外の領域および前記不定領域からなるトライマップを作成し、前記トライマップの前記不定領域においてグラフカット法によって前記特定領域と前記特定領域以外の領域とを分割する、ことを特徴とする。
また、前記目的を達成するため、本発明のプログラムの一態様は、画像において前記画像から分割する特定領域を特定するステップと、特定された前記特定領域の境界の前記境界らしさを評価する評価値を算出し、前記評価値に基づいて前記境界としての適正を評価するステップと、前記評価値に基づいて、前記境界の近傍であって前記境界を含む不定領域の幅を設定し、前記画像に対して前記特定領域、前記特定領域以外の領域および前記不定領域からなるトライマップを作成するステップと、 前記トライマップの前記不定領域においてグラフカット法によって前記特定領域と前記特定領域以外の領域とを分割するステップと、をコンピュータに実行させる、ことを特徴とする。
To achieve the above object, an aspect of the image processing apparatus of the present invention includes: a specifying means for specifying a specific area to divide from the image in the image, the boundary likelihood of the boundary of the specific area specified by the specifying means calculating an evaluation value for evaluating a boundary properly evaluating means for evaluating the adequacy of a said boundary based on the evaluation value, based on said evaluation value, undefined area including the boundary in the vicinity of the boundary set the width, the specific area on the image, the a tri-map generating means for generating a trimap consisting realm Contact and the indefinite area other than the specific region, graph cut in the indefinite area of the trimap and a dividing means for dividing an area other than the specific region and the specific region by law, characterized in that.
In order to achieve the above object, one aspect of the image processing method of the present invention is an evaluation value for specifying a specific area to be divided from the image in an image and evaluating the likelihood of the boundary of the specified specific area. And calculating the appropriateness as the boundary based on the evaluation value, and setting a width of an indeterminate region that is near the boundary and includes the boundary based on the evaluation value, and for the image Creating a trimap comprising the specific region, a region other than the specific region, and the indefinite region, and dividing the specific region and the region other than the specific region in the indefinite region of the trimap by a graph cut method; It is characterized by.
In order to achieve the above object, one aspect of the program of the present invention includes a step of specifying a specific area to be divided from the image in an image, and an evaluation value for evaluating the likelihood of the boundary of the specified boundary of the specific area Calculating the appropriateness as the boundary based on the evaluation value, and setting a width of an indeterminate region near the boundary and including the boundary based on the evaluation value, In contrast, the step of creating a trimap consisting of the specific region, a region other than the specific region, and the indefinite region; and the specific region and the region other than the specific region in the indefinite region of the trimap by a graph cut method. And causing the computer to execute the dividing step.
ここで、頭部輪郭フィッティング部108は、顔検出部101によって特定された顔領域の画素と背景領域の画素との色差の大きさに応じて、評価のための感度に関するパラメータを変更するように構成できる。具体的には、頭部輪郭フィッティング部108は、顎と首の境界領域と、顎以外の頭部と背景領域との境界領域と、で評価のための感度に関するパラメータを異なるように構成できる。
Here, the head
トライマップ作成部103は、評価値に基づいて輪郭近傍の不定領域の幅を設定しながら、画像に対して顔領域、顔領域以外の背景領域、および不定領域からなるトライマップを作成する。具体的には、トライマップ作成部103は、前述の評価値に応じて、異なる領域毎にトライマップの不定領域の幅を異なるように設定することができる。より具体的には、トライマップ作成部103は、顎と首の境界領域と、顎以外の頭部と背景領域との境界領域と、でトライマップの不定領域の幅を異なるように設定することができる。
The
次に、CPU101は、ステップS303およびS304で取得した頭部輪郭Chと顎輪郭Caとから、トライマップを作成する(ステップS305)。トライマップは、ステップS306でのグラフカット処理の際に使用する情報で、画像の各画素に、前景、背景、不定のいずれかのラベルを与えたものである。この処理において、CPU101は、ステップS303とS304で取得した頭部輪郭Chおよび顎輪郭Caの周辺画素を不定にする。
Next,
ステップS305において、評価値から不定領域の幅Whを決める例としては、評価値にエッジの勾配強度などを使って、勾配強度が強い所はエッジらしさが高いので、不定領域の幅Whを狭くし、勾配強度の弱いところはエッジらしさが低いので、不定領域の幅Whを広くするなどの手法を採用できる。グラフカットは、トライマップで得られた不定領域について探索処理を実行し、その画素の中から前景と背景の最適な境界を探す手法である。顔の切抜きにおいては、顔の輪郭周辺を不定とすることで、最適な顔の輪郭が得られる。このとき、頭部輪郭Chは、頭髪と背景の色の差で、グラフカットにより、正確に輪郭を得ることができるが、顎輪郭Caは、顎の色と首の色の差がほとんどないことが多いため、グラフカットで正しい輪郭を取得することが困難である。そこで、本実施形態では、トライマップの作成において、図4に示すように、頭部輪郭Chを中心とした幅Whの領域を不定領域とし、顎輪郭Caに沿った1画素の幅の領域を不定領域とするものである。
なお、ここでは、顎輪郭Caに沿った1画素の幅の領域を不定領域としているが、1画素に限ることなく、2画素あるいはそれ以上であってもよい。
As an example of determining the width Wh of the indefinite region from the evaluation value in step S305, the edge strength of the edge is high where the gradient strength is strong, and the width Wh of the indefinite region is reduced. Since the edge-like property is low at a place where the gradient strength is weak, a technique such as increasing the width Wh of the indefinite region can be adopted. The graph cut is a method of searching for an indefinite region obtained by the trimap and searching for an optimum boundary between the foreground and the background from the pixels. In the face clipping, an optimum face contour can be obtained by making the periphery of the face contour indefinite. At this time, the head contour Ch is the difference between the color of the hair and the background, and the contour can be accurately obtained by graph cutting, but the jaw contour Ca has almost no difference between the color of the chin and the neck. Therefore, it is difficult to obtain a correct contour by graph cut. Therefore, in this embodiment, in the creation of trimap, as shown in FIG. 4, a region having a width Wh around the head portion contour Ch and unstable region, the width of 1 pixel along the Agowa Guo Ca The area is an indefinite area.
Here, although there a region having a width of 1 pixel along the Agowa Guo Ca as unstable region, not limited to 1 pixel, may be two pixels or more.
Claims (9)
前記特定手段によって特定された前記特定領域の境界の前記境界らしさを評価する評価値を算出し、前記評価値に基づいて前記境界としての適正を評価する境界適正評価手段と、
前記評価値に基づいて、前記境界の近傍であって前記境界を含む不定領域の幅を設定し、前記画像に対して前記特定領域、前記特定領域以外の領域および前記不定領域からなるトライマップを作成するトライマップ作成手段と、
前記トライマップの前記不定領域においてグラフカット法によって前記特定領域と前記特定領域以外の領域とを分割する分割手段と、
を備える、
ことを特徴とする画像処理装置。 A specifying means for specifying a specific area to be divided from the image in the image ;
And boundary properly evaluating means for evaluating the adequacy of calculating an evaluation value for evaluating the boundary ness of the boundary of the specific area specified as the boundary on the basis of the evaluation value by said specifying means,
Based on the evaluation value, a vicinity of the boundary to the width of the unstable region containing the boundary consists of the specific region, realm Contact and the indefinite area other than the specific region on the image Trimap creation means for creating a trimap;
Dividing means for dividing an area other than the specific region and the specific region by the graph cut method in the indefinite area of the tri-map,
Equipped with a,
An image processing apparatus.
特定された前記特定領域の境界の前記境界らしさを評価する評価値を算出し、前記評価値に基づいて前記境界としての適正を評価し、
前記評価値に基づいて、前記境界の近傍であって前記境界を含む不定領域の幅を設定し、前記画像に対して前記特定領域、前記特定領域以外の領域および前記不定領域からなるトライマップを作成し、
前記トライマップの前記不定領域においてグラフカット法によって前記特定領域と前記特定領域以外の領域とを分割する、
ことを特徴とする画像処理方法。 Identifying a specific area to be divided from the image in the image ;
Calculating an evaluation value for evaluating the boundary ness of the boundary of the particular and the specific area was to evaluate the suitability of the said boundary based on said evaluation value,
Based on the evaluation value, a vicinity of the boundary to the width of the unstable region containing the boundary consists of the specific region, realm Contact and the indefinite area other than the specific region on the image Create a trimap,
Dividing a region other than the specific region and the specific region by the graph cut method in the indefinite area of the tri-map,
An image processing method.
特定された前記特定領域の境界の前記境界らしさを評価する評価値を算出し、前記評価値に基づいて前記境界としての適正を評価するステップと、
前記評価値に基づいて、前記境界の近傍であって前記境界を含む不定領域の幅を設定し、前記画像に対して前記特定領域、前記特定領域以外の領域および前記不定領域からなるトライマップを作成するステップと、
前記トライマップの前記不定領域においてグラフカット法によって前記特定領域と前記特定領域以外の領域とを分割するステップと、
をコンピュータに実行させる、
ことを特徴とするプログラム。 Identifying a specific region to be divided from the image in the image ;
A step of calculating an evaluation value for evaluating the boundary ness of the boundary of the particular and the specific area was to evaluate the suitability of the said boundary based on said evaluation value,
Based on the evaluation value, a vicinity of the boundary to the width of the unstable region, including the boundary, the specific region with respect to the picture image, from realm Contact and the indefinite area other than the specific region Creating a trimap
Dividing a region other than the specific region and the specific region by the graph cut method in the indefinite area of the tri-map,
To run on a computer ,
A program characterized by that .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014169928A JP6467817B2 (en) | 2014-08-22 | 2014-08-22 | Image processing apparatus, image processing method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014169928A JP6467817B2 (en) | 2014-08-22 | 2014-08-22 | Image processing apparatus, image processing method, and program |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2016045744A JP2016045744A (en) | 2016-04-04 |
JP2016045744A5 true JP2016045744A5 (en) | 2017-09-14 |
JP6467817B2 JP6467817B2 (en) | 2019-02-13 |
Family
ID=55636246
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014169928A Active JP6467817B2 (en) | 2014-08-22 | 2014-08-22 | Image processing apparatus, image processing method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6467817B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6611255B2 (en) * | 2016-06-09 | 2019-11-27 | 日本電信電話株式会社 | Image processing apparatus, image processing method, and image processing program |
JP7104913B2 (en) * | 2018-06-12 | 2022-07-22 | 国立大学法人山口大学 | Imaging device, imaging program, image determination device, image determination program, and image processing system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8391594B1 (en) * | 2009-05-28 | 2013-03-05 | Adobe Systems Incorporated | Method and apparatus for generating variable-width border masks |
KR100967379B1 (en) * | 2009-11-04 | 2010-07-05 | (주)올라웍스 | Method, system, and computer-readable recording medium for setting initial value for graph cut |
JP5201203B2 (en) * | 2010-12-22 | 2013-06-05 | カシオ計算機株式会社 | Image processing apparatus, image processing method, and program |
JP3192116U (en) * | 2014-03-28 | 2014-07-31 | 大日本印刷株式会社 | Image processing device |
-
2014
- 2014-08-22 JP JP2014169928A patent/JP6467817B2/en active Active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9390343B2 (en) | Estimating degree of deterioration of road surface | |
JP2017526495A5 (en) | ||
JP2019079553A5 (en) | ||
US9443131B2 (en) | Wrinkle detection apparatus and wrinkle detection method | |
MX360693B (en) | Area recognition method and apparatus. | |
JP2016502750A5 (en) | ||
JP2017129567A5 (en) | ||
JP2014115109A5 (en) | ||
US20150261998A1 (en) | Image processing apparatus and image processing method | |
WO2013079776A3 (en) | Method and apparatus for image stitching | |
KR102429838B1 (en) | Evaluation device for skin texture based on skin blob and method thereof | |
JP2014229115A5 (en) | ||
JP2015179254A5 (en) | ||
JP2015109559A5 (en) | ||
JP2015075920A5 (en) | ||
RU2019102481A (en) | DETECTION OF CHANGES IN MEDICAL IMAGES | |
JP2016045744A5 (en) | ||
JP2014120122A5 (en) | Image processing apparatus, image processing method, and computer program | |
WO2015115499A1 (en) | Tool inspection method and tool inspection device | |
JP2015062569A (en) | Wrinkle state-analyzing method, and wrinkle state-analysing device | |
JP2014197342A (en) | Object position detection device, object position detection method and program | |
JP6467817B2 (en) | Image processing apparatus, image processing method, and program | |
JP2015087870A5 (en) | ||
JP2018055258A5 (en) | ||
JP2017162179A5 (en) |