JP4188487B2 - Eye makeup simulation system - Google Patents

Eye makeup simulation system Download PDF

Info

Publication number
JP4188487B2
JP4188487B2 JP08672999A JP8672999A JP4188487B2 JP 4188487 B2 JP4188487 B2 JP 4188487B2 JP 08672999 A JP08672999 A JP 08672999A JP 8672999 A JP8672999 A JP 8672999A JP 4188487 B2 JP4188487 B2 JP 4188487B2
Authority
JP
Japan
Prior art keywords
eye
makeup
eye shadow
eyeline
application
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.)
Expired - Lifetime
Application number
JP08672999A
Other languages
Japanese (ja)
Other versions
JP2000285222A (en
Inventor
康男 後藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shiseido Co Ltd
Original Assignee
Shiseido 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 Shiseido Co Ltd filed Critical Shiseido Co Ltd
Priority to JP08672999A priority Critical patent/JP4188487B2/en
Publication of JP2000285222A publication Critical patent/JP2000285222A/en
Application granted granted Critical
Publication of JP4188487B2 publication Critical patent/JP4188487B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は目元メーキャップシミュレーションシステムに係り、特に、人の顔画像にアイラインやアイシャドウを塗布して表示する目元メーキャップシミュレーションシステムに関する。
【0002】
【従来の技術】
メーキャップによるイメージの演出法は、造形理論を応用したもので、形の特徴や目に映ったときどのようにどの様な印象を受けるかを把握している。例えば、直線はシャープあるいは静的なイメージを演出させ、曲線はソフトあるいは動的なイメージを演出する。したがって、直線的又は曲線的なメーキャップすることにより、それぞれ、シャープなイメージを演出したりソフトなイメージを演出したりすることができる。同様に、下降線を使用して落ちついたイメージを出したり、太い線を使用してたくましいイメージを演出することができる。
【0003】
このようなメーキャップによるイメージ演出をコンピュータシステムの画像処理技術を用いて実現することが考えられている。従来のコンピュータシステムの画像処理技術では、単に形状を直線的又は曲線的に変形させることが行われている。
【0004】
【発明が解決しようとする課題】
しかし、従来のコンピュータシステムの画像処理技術では、アイラインやアイシャドウを塗るシミュレーションを行う場合、オペレータが顔画像におけるアイラインやアイシャドウを塗る領域の指定、ぼかしの度合い、アイラインやアイシャドウの色の修正、等を細かに入力しなければならず、また、操作には画像処理の専門的な知識を必要とし、手間及び時間がかかるという問題があった。
【0005】
本発明は、上記の点に鑑みなされたもので、メーキャップイメージタイプを選択するだけで、選択したタイプに応じて顔画像の目元部分のアイラインを描画したりアイシャドウを塗布して表示する目元メーキャップシミュレーションシステムを提供することを目的とする。
【0006】
【課題を解決するための手段】
請求項1に記載の発明は、顔画像にアイシャドウ及びアイラインを描く目元メーキャップシミュレーションシステムであって、
第1乃至第4のメーキャップイメージタイプから所望のタイプを選択するタイプ選択手段と、
顔画像の目元部分で目の輪郭を検出する輪郭検出手段と、
検出された前記目の輪郭及びその近傍を、前記第1のメーキャップイメージタイプでは上瞼の目頭から目尻までの幅の描画パターン内の画素の明度を低下させ、第2のメーキャップイメージタイプでは上瞼の中央から目尻までの幅の描画パターン内の画素の明度を低下させ、第3のメーキャップイメージタイプでは上瞼の目頭から目尻までの幅の描画パターン内の画素の明度を低下させ、前記第4のメーキャップイメージタイプでは上瞼の目頭から目尻までの幅の描画パターン内の画素の明度を低下させてアイラインを描画するアイライン描画手段と、
前記顔画像の目元部分において、前記第1のメーキャップイメージタイプでは上瞼の輪郭線から眉の輪郭線までの縦方向の最大値の1/3を最大塗布サイズとし目頭から目尻までの中間位置で前記最大塗布サイズとなる曲線を上限とし下限を上瞼の輪郭線とするアイシャドウを塗布する領域を設定し、前記第2のメーキャップイメージタイプでは前記最大値の1/6を最大塗布サイズとし目頭より所定長離れた上瞼の輪郭線から目尻までの中間位置で前記最大塗布サイズとなる曲線を上限とし下限を上瞼の輪郭線とする領域を設定し、前記第3または第4のメーキャップイメージタイプでは前記最大値の1/2を最大塗布サイズとし目頭から目尻までの中間位置で前記最大塗布サイズとなる曲線を上限とし下限を上瞼の輪郭線としてアイシャドウを塗布する領域を設定するアイシャドウ塗布領域設定手段と、
前記アイシャドウ塗布領域設定手段で設定されたアイシャドウを塗布する領域において、上瞼の輪郭線の目頭から目尻までの中間位置を塗布の開始点とし前記塗布の開始点を中心とし前記アイシャドウを塗布する領域の上限に接する円の半径を塗布サイズとして前記顔画像の色に、アイシャドウの色を重ねることによりアイシャドウを塗布するアイシャドウ塗布手段とを有する。
【0007】
このように、第1乃至第4のメーキャップイメージタイプから所望のタイプを選択すると、選択されたメーキャップイメージタイプに応じて顔画像の目元部分におけるアイシャドウを塗布する領域を設定し、アイシャドウを塗布する領域の顔画像の色に、アイシャドウの色を重ねることによりアイシャドウを塗布するため、所望のタイプを選択するだけで、選択したメーキャップイメージタイプに応じて顔画像の目元部分にアイシャドウを塗布して表示することができ、顔画像から検出された目の輪郭及びその近傍を、選択されたメーキャップイメージタイプに応じて描画するため、所望のタイプを選択するだけで、選択したメーキャップイメージタイプに応じて顔画像の目元部分にアイラインを描画して表示することができる。
【0008】
請求項2に記載の発明は、請求項1記載の目元メーキャップシミュレーションシステムにおいて、
前記アイライン描画手段は、前記第1または第2のメーキャップイメージタイプでは顔画像の横方向にアイラインのぼかしを行い、前記第4のメーキャップイメージタイプでは顔画像の縦方向にアイラインのぼかしを行う。
【0009】
これにより、選択したメーキャップイメージタイプに応じたアイラインを描画して表示することができる。
請求項3に記載の発明は、請求項1または2記載の目元メーキャップシミュレーションシステムにおいて、
前記アイシャドウ塗布手段は、前記アイシャドウを塗布する領域内の塗布の開始点から離間するほどアイシャドウの濃度を低下させるぼかし手段を有する。
【0010】
このように、アイシャドウを塗布する領域内の塗布の開始点から離間するほどアイシャドウの濃度を低下させてぼかしているため、塗布したアイシャドウが顔画像の肌色となじんで違和感のないアイシャドウを表示できる。
請求項4に記載の発明は、請求項1または2記載の目元メーキャップシミュレーションシステムにおいて、
前記アイシャドウ塗布手段は、前記アイシャドウを塗布する領域内で塗布の開始点を順次移動させる開始点移動手段を有する。
【0011】
このように、アイシャドウを塗布する領域内で塗布の開始点を順次移動させるため、顔画像におけるアイシャドウを塗布する領域の形状に拘わらず、塗布したアイシャドウが顔画像の肌色となじんで違和感のないアイシャドウを表示できる。
【0012】
【発明の実施の形態】
図1は本発明の目元メーキャップシミュレーションシステムの一実施例のブロック図を示す。同図中、中央処理装置(CPU)10には、バス15を介して入力装置20、記憶装置30、表示装置40、印刷装置50、通信装置60それぞれが接続されている。入力装置20としてはキーボード21,タッチセンサ22,デジタルカメラ(またはCCDカメラ)23等が設けられており、記憶装置30としてはRAM31、ROM32、ハードディスク装置33、フレキシブルディスク装置34等が設けられている。表示装置40としては例えばCRTが用いられ、CRTの前面に透明のタッチセンサ22を設置する。
【0013】
CPU10は、記憶装置30に記憶されている各種処理プログラムを実行し、その結果を記憶装置30に記憶すると共に、表示装置40に表示し、印刷装置50で印刷して出力する。記憶装置30には顔画像の画像データ等が記憶されると共に、各種処理プログラムが予め格納されている。
図2は本発明システムで実行する目元メーキャップシミュレーションのメインルーチンの一実施例のフローチャートを示す。同図中、ステップS10で記憶装置30内に作業用顔画像領域を確保する。次に、ステップS12で、確保した作業用顔画像領域にデジタルカメラ23で撮像した被験者の顔画像(カラー顔画像)の画像データをコピーする。なお、被験者の顔画像の画像データは、既に記憶装置30内の所定領域に格納されている。
【0014】
ステップS14では上記の画像データから顔画像の特徴点を抽出する。ここでは、先ず、顔画像に対し顔位置の認識を行って顔領域のラベリングを行うと共に、顔の輪郭の特徴点を抽出する。なお、顔画像は左上隅を原点として、横方向をX軸、縦方向をY軸とするXY座標で位置を表す。更に、顔領域のエッジ画像(2値画像)を作成し、このエッジ画像をY軸に投影してエッジのヒストグラムを作成するY投影を行う。そして、Y投影によるヒストグラムから顔の各部位、つまり、眉、目、鼻、口それぞれのY座標を検索する。更に、顔のエッジ画像における目及び鼻を含むY座標位置で、目及び鼻の特徴点及びこれに付随する特徴点を抽出し、口を含むY座標位置で、口の特徴点及びこれに付随する特徴点を抽出し、眉を含むY座標位置で、眉の特徴点及びこれに付随する特徴点を抽出する。
【0015】
これによって、図3に示すY軸座標が最大の点C3と、Y軸座標が最小の点C2と、点C2,C3を通る直線と髪の生え際との交点F1とが顔の特徴点として抽出され、瞳PL,PR、目尻EL1,ER1、目頭EL4,ER4、瞳の上下の目の輪郭EL5,ER5,EL3,ER3、鼻の輪郭N1,N2,N3、口の上端M2,M4、左右端M1,M5、下端M6、眉山BL2,BR2、眉頭BL3,BR3、眉尻BL1,BR1、眉底BL4,BR4等の各種特徴点が抽出される。
【0016】
次に、ステップS16で、顔画像の中の例えば頬に対応する領域の複数の画像データを平均化することにより、被験者の肌色データを得る。また、ステップS18で、スイート、クール、キュート、フレッシュの4つのメーキャップイメージタイプうち、いずれのメーキャップイメージタイプを被験者がタッチセンサ22によって選択したかを読み取り、また、ステップS20でアイシャドウの色としてどの色を被験者がタッチセンサ22によって選択したかを読み取る。
【0017】
なお、この目元メーキャップシミュレーションを実行する際には、図4に示すような画面が表示装置40に表示されている。この画面中央には被験者の顔画像が表示され、選択ボックス41A,41B,41C,41Dによってスイート、クール、キュート、フレッシュの4つのメーキャップイメージタイプを選択でき、アイシャドウの選択ボックス43にタッチすることにより、複数のアイシャドウの色がアイシャドウの選択ボックス43内に表示され、アイシャドウの色を選択できる。なお、アイラインの選択ボックス44にタッチすることにより、複数のアイライン描画パターンを選択することも可能である。
【0018】
この後、ステップS22でアイラインの検索処理を実行し、ステップS24でアイラインの描画処理を実行し、ステップS26でアイシャドウ塗布処理を実行し、この処理が終了すると、ステップS28に進んで、ステップS10で確保していた作業用顔画像領域を解放し、この処理を終了する。
図5はステップS22で実行するアイライン検索処理の一実施例のフローチャートを示す。同図中、先ず、ステップS30で目及び眉を囲む矩形領域の顔画像を取得し、ステップS31で2値画像を保持する領域を記憶装置30内に確保する。次のステップS32のループ処理で閾値THを最低値から所定値の増分で最大値まで順次増加させ、ループ内のステップS34で閾値THを用いて目及び眉を囲む矩形領域の顔画像の2値化を行う。このように閾値THを可変して2値化を行うのは、アイラインを正確に検出するためである。
【0019】
次のステップS36では2値化で得たエッジ画像について、メディアンフィルタ処理を行ってノイズを除去する。これはまつげ等で発生するノイズを除去するために行っている。そして、ステップS38でエッジ画像について、目幅方向(矩形領域におけるy方向)に連続して延在する複数のエッジ画素、即ち輪郭線形成画素があるか否かを判別する。上記輪郭線形成画素がなければ閾値THを所定値の増分だけ増加させてステップS34に戻る。上記輪郭線形成画素があればステップS40に進む。
【0020】
ステップS40では、上記の2値画像から輪郭線を抽出する。次に、ステップS42で抽出した輪郭線における不連続の箇所を直線補間(または曲線補間)し、更にステップS44で補間後の輪郭線についてメディアンフィルタ処理を行ってノイズを除去し、この処理を終了する。
図6はステップS24で実行するアイライン描画処理の一実施例のフローチャートを示す。この処理は、目頭EL4,ER4と目尻EL1,ER1を結ぶ上瞼の輪郭線から上側(眉側)の上瞼の領域について行われる。同図中、先ず、ステップS50でアイライン描画パターンを設定する。このアイライン描画パターンは、メーキャップイメージタイプとしてクールが選択された場合には、図7に示すように、上瞼の目頭から目尻までの幅のアイラインであり、斜線を付した領域Iaでx方向目尻側にアイラインのぼかしを行うアイライン描画パターンが設定される。
【0021】
また、メーキャップイメージタイプとしてフレッシュが選択された場合には、図8に示すように、上瞼の中央(目頭と目尻との中間点)から目尻までの幅のアイラインであり、斜線を付した領域Ibでx方向目尻側にアイラインのぼかしを行うアイライン描画パターンが設定される。
また、メーキャップイメージタイプとしてスイートが選択された場合には、図9に示すように、上瞼の目頭から目尻までの幅のアイラインであり、アイラインのぼかしを行わないアイライン描画パターンが設定される。
【0022】
更に、メーキャップイメージタイプとしてキュートが選択された場合には、図10に示すように、上瞼の目頭から目尻までの幅のアイラインであり、斜線を付した領域Idでy方向眉側にアイラインのぼかしを行うアイライン描画パターンが設定される。
上記のメーキャップイメージタイプに対応したアイライン描画パターンは、アイラインの選択ボックス44にタッチしない場合のデフォルト値であり、アイラインの選択ボックス44にタッチしたとき表示される4つのアイライン描画パターンから所望のパターンを選択することも可能である。
【0023】
次に、ステップS52のループ処理でx座標値を0(目頭位置)から画素単位で最大値(目尻位置)まで順次増加させる。このループ内で各x座標値毎にステップS54のループ処理を行う。ここでは、y座標値を0(輪郭線のy座標)から画素単位で最大値(目の高さ幅:上瞼と下瞼の最大離間距離)まで順次増加させて、以下の処理を行う。
【0024】
ステップS56では、上記のx座標及びy座標で指示される画素の明度を計算し、ステップS58でこの画素の明度がアイラインの明度と同一か否かを判別する。ここで、同一でない場合は、y座標値を増加させてステップS56に戻る。この画素の明度がアイラインの明度と同一の場合には、ステップS60に進み、この画素の明度を現在の明度より所定値だけ低下させる。これによって、輪郭線上の画素の明度が低下して濃くなり、結果的にアイラインを目立たせることができる。
【0025】
この後、ステップS62でx座標及びy座標から、図7の領域Iaであるか(スイートの場合)または図8の領域Ibであるか(クールの場合)を判別し、上記の領域Ia,Ibの場合にはステップS64でx方向目尻側にアイラインのぼかしを行う。更に、ステップS66でx座標及びy座標から、図10の領域Idであるか(フレッシュの場合)を判別し、上記の領域Idの場合にはステップS68でy方向眉側にアイラインのぼかしを行う。この後、上記のステップS52,S54のループ処理が終了すると、ステップS70でアイラインを描画した顔画像を表示装置40に表示して、この処理を終了する。
【0026】
図11はステップS26で実行するアイシャドウ塗布処理の一実施例のフローチャートを示す。同図中、先ず、ステップS80でアイシャドウ塗布領域を設定する。ここでは、図12に示す、上瞼の輪郭線から眉の輪郭線までのy方向の最大距離Ymaxを求め、最大塗布サイズMy=Ymax/αを求める。なお、メーキャップイメージタイプがスイートまたはキュートの場合はα=2であり、クールの場合はα=3、フレッシュの場合はα=6である。更に、図13(A),(B)に示す曲線を用いて、メーキャップイメージタイプ毎にアイシャドウ塗布領域の上限(眉側)を求める。この際に、上記の最大塗布サイズMyを使用する。ここで、スイートまたはクールまたはキュートの場合は図13(A)に示す目頭から目尻に至る曲線を用い、フレッシュの場合は図13(B)に示す目頭より所定長だけ離れた上瞼の輪郭線上の一点から目尻に至る曲線を用いる。また、アイシャドウ塗布領域の下限は上瞼の輪郭線とする。
【0027】
また、ステップS82で開始点の移動軌跡を設定し、ステップS84でアイシャドウ塗布の開始点における塗布サイズを設定する。図14は、図13(A)に対応するアイシャドウ塗布領域を示しているが、アイシャドウ塗布領域の下限(上瞼の輪郭線)の略中央位置P0をアイシャドウ塗布の開始点とする。また、開始点を中心としアイシャドウ塗布領域の上限に接する円の半径を塗布サイズとし、更に、アイシャドウ塗布領域の下限に重ねて示す矢印A1及びA2を開始点の移動軌跡としている。
【0028】
次に、ステップS88で被験者の肌色データと選択されたアイシャドウの色から所定の演算式を用いて開始点におけるアイシャドウの濃度を演算し、得られたアイシャドウの色を開始点に塗布する。そして、ステップS90で開始点を中心とし、塗布サイズを半径とする円内で、開始点に塗布されたアイシャドウの色の濃度を開始点からの距離に比例して薄くする(ぼかす)エアブラシ処理を行い、これにより得られた各画素位置の濃度のアイシャドウの色を、その位置の画素の肌色に加算することによりアイシャドウを肌に重ねた各画素の色を求め、これで各画素の色を更新する。
【0029】
なお、上記のエアブラシ処理では、アイシャドウ塗布領域における塗布サイズを半径とする円内のみが処理対象であり、アイシャドウ塗布領域の下限より下の半円部分では処理がなされない。また、エアブラシ処理における中心からの距離と濃度との関係は、メーキャップイメージタイプがキュートまたはフレッシュの場合は図15(A)に示すように中心からの距離に比例して濃度が薄くなる特性を用い、スイートまたはクールの場合は図15(B)に示すように中心からの距離が小さいときに濃度の薄くなる度合いが大きく、中心からの距離が大きいときに濃度の薄く薄くなる度合いが小さい特性を用いる。
【0030】
この後、ステップS92では、矢印A1,A2で示す開始点の移動軌跡に従って、開始点を所定距離だけ移動する。なお、開始点は、位置P0から矢印A1方向に所定距離だけ移動することを繰り返して、移動した開始点がアイシャドウ塗布の領域外となると、位置P0に戻って矢印A2方向に所定距離だけ移動する。この移動距離は例えば塗布サイズの数10パーセントである。更に、ステップS94で新たな塗布サイズを計算する。新たな塗布サイズは、開始点が位置P0から矢印A1,A2方向に移動するにつれて、数パーセントから数10パーセントの割合で減少する。
【0031】
次にステップS96でアイシャドウ塗布の終点か否かを判別し、終点でない場合は上記のステップS88からS94を繰り返し、終点であればアイシャドウの塗布を終了し、ステップS98でアイシャドウを塗布した顔画像を表示装置40に表示してこの処理を終了する。アイシャドウ塗布の終点の判定は、開始点が矢印A2方向に移動してアイシャドウ塗布の領域外となったときアイシャドウ塗布の終点とする。
【0032】
このように、複数のメーキャップイメージタイプから所望のタイプを選択すると、選択されたメーキャップイメージタイプに応じて顔画像の目元部分におけるアイシャドウを塗布する領域を設定し、アイシャドウを塗布する領域の顔画像の色に、アイシャドウの色を重ねることによりアイシャドウを塗布するため、所望のタイプを選択するだけで、選択したメーキャップイメージタイプに応じて顔画像の目元部分にアイシャドウを塗布して表示することができる。
【0033】
また、目の輪郭を検出して検出された目の輪郭及びその近傍を、選択されたメーキャップイメージタイプに応じて描画するため、所望のタイプを選択するだけで、選択したメーキャップイメージタイプに応じて顔画像の目元部分にアイラインを描画して表示することができる。
また、アイシャドウを塗布する領域内の塗布の開始点から離間するほどアイシャドウの濃度を低下させてぼかしているため、塗布したアイシャドウが顔画像の肌色となじんで違和感のないアイシャドウを表示でき、アイシャドウを塗布する領域内で塗布の開始点を順次移動させるため、顔画像におけるアイシャドウを塗布する領域の形状に拘わらず、塗布したアイシャドウが顔画像の肌色となじんで違和感のないアイシャドウを表示できる。
【0034】
なお、選択ボックス41A,41B,41C,41Dが特許請求の範囲に記載のタイプ選択手段に対応し、ステップS80がアイシャドウ塗布領域設定手段に対応し、ステップS88,S90がアイシャドウ塗布手段に対応し、ステップS22が輪郭検出手段に対応し、ステップS24がアイライン描画手段に対応し、ステップS90がぼかし手段に対応し、ステップS92が開始点移動手段に対応する。
【0035】
【発明の効果】
上述の如く、請求項1に記載の発明は、顔画像にアイシャドウ及びアイラインを描く目元メーキャップシミュレーションシステムであって、
第1乃至第4のメーキャップイメージタイプから所望のタイプを選択するタイプ選択手段と、
顔画像の目元部分で目の輪郭を検出する輪郭検出手段と、
検出された前記目の輪郭及びその近傍を、前記第1のメーキャップイメージタイプでは上瞼の目頭から目尻までの幅の描画パターン内の画素の明度を低下させ、第2のメーキャップイメージタイプでは上瞼の中央から目尻までの幅の描画パターン内の画素の明度を低下させ、第3のメーキャップイメージタイプでは上瞼の目頭から目尻までの幅の描画パターン内の画素の明度を低下させ、前記第4のメーキャップイメージタイプでは上瞼の目頭から目尻までの幅の描画パターン内の画素の明度を低下させてアイラインを描画するアイライン描画手段と、
前記顔画像の目元部分において、前記第1のメーキャップイメージタイプでは上瞼の輪郭線から眉の輪郭線までの縦方向の最大値の1/3を最大塗布サイズとし目頭から目尻までの中間位置で前記最大塗布サイズとなる曲線を上限とし下限を上瞼の輪郭線とするアイシャドウを塗布する領域を設定し、前記第2のメーキャップイメージタイプでは前記最大値の1/6を最大塗布サイズとし目頭より所定長離れた上瞼の輪郭線から目尻までの中間位置で前記最大塗布サイズとなる曲線を上限とし下限を上瞼の輪郭線とする領域を設定し、前記第3または第4のメーキャップイメージタイプでは前記最大値の1/2を最大塗布サイズとし目頭から目尻までの中間位置で前記最大塗布サイズとなる曲線を上限とし下限を上瞼の輪郭線としてアイシャドウを塗布する領域を設定するアイシャドウ塗布領域設定手段と、
前記アイシャドウ塗布領域設定手段で設定されたアイシャドウを塗布する領域において、上瞼の輪郭線の目頭から目尻までの中間位置を塗布の開始点とし前記塗布の開始点を中心とし前記アイシャドウを塗布する領域の上限に接する円の半径を塗布サイズとして前記顔画像の色に、アイシャドウの色を重ねることによりアイシャドウを塗布するアイシャドウ塗布手段とを有する。
【0036】
このように、第1乃至第4のメーキャップイメージタイプから所望のタイプを選択すると、選択されたメーキャップイメージタイプに応じて顔画像の目元部分におけるアイシャドウを塗布する領域を設定し、アイシャドウを塗布する領域の顔画像の色に、アイシャドウの色を重ねることによりアイシャドウを塗布するため、所望のタイプを選択するだけで、選択したメーキャップイメージタイプに応じて顔画像の目元部分にアイシャドウを塗布して表示することができ、顔画像から検出された目の輪郭及びその近傍を、選択されたメーキャップイメージタイプに応じて描画するため、所望のタイプを選択するだけで、選択したメーキャップイメージタイプに応じて顔画像の目元部分にアイラインを描画して表示することができる。
【0037】
請求項2に記載の発明は、前記アイライン描画手段は、前記第1または第2のメーキャップイメージタイプでは顔画像の横方向にアイラインのぼかしを行い、前記第4のメーキャップイメージタイプでは顔画像の縦方向にアイラインのぼかしを行う。
これにより、選択したメーキャップイメージタイプに応じたアイラインを描画して表示することができる。
【0038】
請求項3に記載の発明では、アイシャドウ塗布手段は、前記アイシャドウを塗布する領域内の塗布の開始点から離間するほどアイシャドウの濃度を低下させるぼかし手段を有する。
このように、アイシャドウを塗布する領域内の塗布の開始点から離間するほどアイシャドウの濃度を低下させてぼかしているため、塗布したアイシャドウが顔画像の肌色となじんで違和感のないアイシャドウを表示できる。
【0039】
請求項4に記載の発明では、アイシャドウ塗布手段は、前記アイシャドウを塗布する領域内で塗布の開始点を順次移動させる開始点移動手段を有する。
このように、アイシャドウを塗布する領域内で塗布の開始点を順次移動させるため、顔画像におけるアイシャドウを塗布する領域の形状に拘わらず、塗布したアイシャドウが顔画像の肌色となじんで違和感のないアイシャドウを表示できる。
【図面の簡単な説明】
【図1】本発明の目元メーキャップシミュレーションシステムの一実施例のブロック図である。
【図2】本発明システムで実行する目元メーキャップシミュレーションのメインルーチンの一実施例のフローチャートである。
【図3】顔画像の特徴点を示す図である。
【図4】目元メーキャップシミュレーション実行の際の表示画面の一実施例を示す図である。
【図5】アイライン検索処理の一実施例のフローチャートである。
【図6】アイライン描画処理の一実施例のフローチャートである。
【図7】アイライン描画パターンを示す図である。
【図8】アイライン描画パターンを示す図である。
【図9】アイライン描画パターンを示す図である。
【図10】アイライン描画パターンを示す図である。
【図11】アイシャドウ塗布処理の一実施例のフローチャートである。
【図12】アイシャドウ塗布領域の設定を説明するための図である。
【図13】アイシャドウ塗布領域の上限を示す図である。
【図14】アイシャドウ塗布を説明するための図である。
【図15】エアブラシ処理における中心からの距離と濃度との関係を示す図である。
【符号の説明】
10 中央処理装置(CPU)
20 入力装置
21 キーボード
22 タッチセンサ
23 デジタルカメラ
30 記憶装置
31 RAM
32 ROM
33 ハードディスク装置
34 フレキシブルディスク装置
40 表示装置
41A,41B,41C,41D 選択ボックス
43,44 選択ボックス
50 印刷装置
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an eye makeup simulation system, and more particularly to an eye makeup simulation system that applies and displays an eyeline or eyeshadow on a human face image.
[0002]
[Prior art]
The image production method by make-up applies modeling theory, and grasps the characteristics of the shape and how it feels when it is seen. For example, a straight line produces a sharp or static image, and a curve produces a soft or dynamic image. Therefore, by making a linear or curvilinear makeup, it is possible to produce a sharp image or a soft image, respectively. Similarly, it is possible to produce a calm image using a descending line, or to produce a robust image using a thick line.
[0003]
It is considered to realize such image production by makeup using image processing technology of a computer system. In the conventional image processing technique of a computer system, the shape is simply deformed linearly or curvedly.
[0004]
[Problems to be solved by the invention]
However, with conventional computer system image processing technology, when performing eyeline or eyeshadow application simulation, the operator specifies the eyeline or eyeshadow area to be applied in the face image, the degree of blurring, the eyeline or eyeshadow area. Color correction, etc., must be input in detail, and the operation requires specialized knowledge of image processing, which takes time and effort.
[0005]
The present invention has been made in view of the above points, and by simply selecting a makeup image type, an eyeline for drawing an eyeline of an eye portion of a face image or applying an eyeshadow according to the selected type is displayed. An object is to provide a makeup simulation system.
[0006]
[Means for Solving the Problems]
The invention according to claim 1 is an eye makeup simulation system for drawing an eye shadow and an eye line on a face image,
Type selection means for selecting a desired type from the first to fourth makeup image types;
Contour detecting means for detecting the contour of the eye in the eye part of the face image;
In the first makeup image type, the detected contour of the eye and its vicinity are reduced in the brightness of the pixels in the drawing pattern with a width from the top of the upper eyelid to the corner of the eyelid, and in the second makeup image type, the upper eyelid is reduced. The brightness of the pixels in the drawing pattern with the width from the center to the corner of the eye is lowered. In the third makeup image type, the brightness of the pixels in the drawing pattern with the width from the top of the upper eyelid to the corner of the eye is lowered. In the makeup image type, eyeline drawing means for drawing an eyeline by reducing the brightness of pixels in a drawing pattern having a width from the upper eyelid to the corner of the upper eyelid ,
In the eye part of the face image, in the first makeup image type, the maximum application size is 1/3 of the vertical maximum value from the contour line of the upper eyelid to the contour line of the eyebrows, and at an intermediate position from the top of the eye to the corner of the eye. A region for applying an eye shadow having an upper limit of the curve corresponding to the maximum application size and an upper contour of the lower limit is set, and in the second makeup image type, 1/6 of the maximum value is set as the maximum application size. A third or fourth makeup image is set by setting a region having an upper limit as the curve corresponding to the maximum application size and a lower limit as the contour line of the upper eyelid at an intermediate position from the upper eyeline contour line to the corner of the eye corner that is further separated by a predetermined length. Aisha with type lower and the upper limit curve becomes the maximum applied size at the intermediate position from the inner corner and the maximum applied size 1/2 of the maximum value to the outer corner of the eye as a contour line of the upper eyelid And eye shadow application area setting means for setting a region for applying the cormorant,
In the region where the eye shadow is applied by the eye shadow application region setting means, the middle position from the top of the eyelid to the corner of the upper eyeline outline is set as the application start point, and the eye shadow is centered on the application start point. Eye shadow application means for applying an eye shadow by superimposing the color of the eye shadow on the color of the face image with the radius of a circle in contact with the upper limit of the area to be applied as the application size .
[0007]
As described above, when a desired type is selected from the first to fourth makeup image types, an eye shadow application region is set in the eye portion of the face image according to the selected makeup image type, and the eye shadow is applied. The eye shadow is applied to the face image color of the area to be overlapped by applying the eye shadow color. Therefore, just by selecting the desired type, the eye shadow is applied to the eye area of the face image according to the selected makeup image type. The selected makeup image type can be displayed simply by selecting the desired type in order to draw the outline of the eye detected from the face image and its vicinity according to the selected makeup image type. Accordingly, an eyeline can be drawn and displayed on the eye area of the face image.
[0008]
The invention according to claim 2 is the eye makeup simulation system according to claim 1,
The eyeline drawing means blurs the eyeline in the horizontal direction of the face image in the first or second makeup image type, and blurs the eyeline in the vertical direction of the face image in the fourth makeup image type. Do.
[0009]
Thereby, the eyeline according to the selected makeup image type can be drawn and displayed.
The invention according to claim 3 is the eye makeup simulation system according to claim 1 or 2,
The eye shadow applying means includes blurring means for reducing the concentration of the eye shadow as the distance from the application start point in the area where the eye shadow is applied is increased.
[0010]
In this way, since the eye shadow density is lowered and blurred as the distance from the application start point in the area where the eye shadow is applied, the applied eye shadow becomes familiar with the skin color of the face image and does not feel strange Can be displayed.
The invention described in claim 4 is an eye makeup simulation system according to claim 1 or 2,
The eye shadow application means includes start point moving means for sequentially moving application start points within a region where the eye shadow is applied.
[0011]
In this way, since the start point of application is sequentially moved within the area where the eye shadow is applied, the applied eye shadow blends with the skin color of the face image regardless of the shape of the area where the eye shadow is applied in the face image. Can display eye shadows with no shadow
[0012]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 shows a block diagram of an embodiment of the eye makeup simulation system of the present invention. In the figure, an input device 20, a storage device 30, a display device 40, a printing device 50, and a communication device 60 are connected to a central processing unit (CPU) 10 via a bus 15. The input device 20 includes a keyboard 21, a touch sensor 22, a digital camera (or CCD camera) 23, and the storage device 30 includes a RAM 31, a ROM 32, a hard disk device 33, a flexible disk device 34, and the like. . For example, a CRT is used as the display device 40, and a transparent touch sensor 22 is installed on the front surface of the CRT.
[0013]
The CPU 10 executes various processing programs stored in the storage device 30, stores the results in the storage device 30, displays them on the display device 40, prints them with the printing device 50, and outputs them. The storage device 30 stores face image data and the like, and stores various processing programs in advance.
FIG. 2 shows a flowchart of an embodiment of a main routine of eye makeup simulation executed in the system of the present invention. In the figure, a work face image area is secured in the storage device 30 in step S10. Next, in step S12, the image data of the face image (color face image) of the subject captured by the digital camera 23 is copied to the secured work face image area. Note that the image data of the face image of the subject is already stored in a predetermined area in the storage device 30.
[0014]
In step S14, feature points of the face image are extracted from the image data. Here, first, the face position is recognized for the face image, the face area is labeled, and the feature points of the face outline are extracted. The face image represents a position in XY coordinates with the upper left corner as the origin, the horizontal direction as the X axis, and the vertical direction as the Y axis. Further, an edge image (binary image) of the face area is created, and Y projection is performed to create an edge histogram by projecting the edge image onto the Y axis. Then, the Y coordinate of each part of the face, that is, the eyebrows, eyes, nose, and mouth is searched from the histogram by Y projection. Further, feature points of eyes and nose and their associated feature points are extracted at the Y coordinate positions including the eyes and nose in the face edge image, and mouth feature points and their associated points are extracted at the Y coordinate positions including the mouth. The feature point to be extracted is extracted, and the feature point of the eyebrow and the feature point associated therewith are extracted at the Y coordinate position including the eyebrow.
[0015]
As a result, the point C3 having the maximum Y-axis coordinate, the point C2 having the minimum Y-axis coordinate, and the intersection F1 between the straight line passing through the points C2 and C3 and the hairline shown in FIG. 3 are extracted as facial feature points. Eyes PL, PR, Eyes EL1, ER1, Eyes EL4, ER4, Eye contours EL5, ER5, EL3, ER3, Nasal contours N1, N2, N3, Top of mouth M2, M4, Left and right ends Various feature points such as M1, M5, lower end M6, brow mountain BL2, BR2, brow head BL3, BR3, brow butt BL1, BR1, brow base BL4, BR4 are extracted.
[0016]
Next, in step S16, the skin color data of the subject is obtained by averaging a plurality of image data in a region corresponding to, for example, the cheek in the face image. Further, in step S18, it is read which makeup image type is selected by the touch sensor 22 from the four makeup image types of sweet, cool, cute, and fresh, and which eye shadow color is selected in step S20. It is read whether the subject has selected the color by the touch sensor 22.
[0017]
Note that when executing the eye makeup simulation, a screen as shown in FIG. 4 is displayed on the display device 40. The subject's face image is displayed in the center of this screen, and four makeup image types of sweet, cool, cute, and fresh can be selected by the selection boxes 41A, 41B, 41C, and 41D, and the eye shadow selection box 43 is touched. Thus, a plurality of eye shadow colors are displayed in the eye shadow selection box 43, and the color of the eye shadow can be selected. It is also possible to select a plurality of eyeline drawing patterns by touching the eyeline selection box 44.
[0018]
Thereafter, eyeline search processing is executed in step S22, eyeline drawing processing is executed in step S24, eyeshadow application processing is executed in step S26, and when this processing ends, the process proceeds to step S28. The work face image area secured in step S10 is released, and this process ends.
FIG. 5 shows a flowchart of an embodiment of the eyeline search process executed in step S22. In the figure, first, a face image of a rectangular area surrounding the eyes and eyebrows is acquired in step S30, and an area for holding a binary image is secured in the storage device 30 in step S31. In the next loop processing of step S32, the threshold value TH is sequentially increased from the minimum value to the maximum value in increments of a predetermined value. In step S34 in the loop, the threshold value TH is used to binary the face image of the rectangular area surrounding the eyes and eyebrows. To do. The reason why binarization is performed by changing the threshold value TH is to accurately detect the eyeline.
[0019]
In the next step S36, median filter processing is performed on the edge image obtained by binarization to remove noise. This is done to remove noise generated by eyelashes and the like. In step S38, it is determined whether or not there is a plurality of edge pixels that extend continuously in the eye width direction (y direction in the rectangular area), that is, contour line forming pixels. If there is no contour line forming pixel, the threshold value TH is increased by an increment of a predetermined value, and the process returns to step S34. If there is the contour line forming pixel, the process proceeds to step S40.
[0020]
In step S40, a contour line is extracted from the binary image. Next, linear interpolation (or curved line interpolation) is performed on the discontinuous portions in the contour line extracted in step S42, and further, median filter processing is performed on the interpolated contour line in step S44 to remove noise, and this processing ends. To do.
FIG. 6 shows a flowchart of an embodiment of the eyeline drawing process executed in step S24. This process is performed for the upper eyelid region on the upper side (eyebrow side) from the contour line of the upper eyelid connecting the eyes EL4, ER4 and the eye corners EL1, ER1. In the figure, first, an eyeline drawing pattern is set in step S50. When cool is selected as the makeup image type, this eyeline drawing pattern is an eyeline with a width from the top of the upper eyelid to the corner of the eye as shown in FIG. An eyeline drawing pattern for blurring the eyeline is set on the direction corner.
[0021]
In addition, when fresh is selected as the makeup image type, as shown in FIG. 8, the eyeline has a width from the center of the upper eyelid (intermediate point between the eyes and the corners of the eyes) to the corner of the eyes, and is hatched. In the area Ib, an eyeline drawing pattern for blurring the eyeline is set on the x direction corner of the eye.
When sweet is selected as the make-up image type, as shown in FIG. 9, an eyeline drawing pattern is set which is an eyeline from the upper eyelid to the outer corner of the eyelid and does not blur the eyeline. Is done.
[0022]
Further, when cute is selected as the makeup image type, as shown in FIG. 10, the eyeline has a width from the top of the upper eyelid to the outer corner of the eyelid, and the eye is on the eyebrows side in the y direction in the hatched area Id. An eyeline drawing pattern for blurring lines is set.
The eyeline drawing pattern corresponding to the makeup image type is a default value when the eyeline selection box 44 is not touched. From the four eyeline drawing patterns displayed when the eyeline selection box 44 is touched, It is also possible to select a desired pattern.
[0023]
Next, in the loop process of step S52, the x coordinate value is sequentially increased from 0 (eye position) to the maximum value (eye corner position) in pixel units. In this loop, the loop process of step S54 is performed for each x coordinate value. Here, the y-coordinate value is sequentially increased from 0 (the y-coordinate of the contour line) to the maximum value (eye height width: maximum separation distance between the upper eyelid and the lower eyelid) in units of pixels, and the following processing is performed.
[0024]
In step S56, the brightness of the pixel indicated by the x coordinate and y coordinate is calculated, and in step S58, it is determined whether or not the brightness of this pixel is the same as the brightness of the eyeline. Here, if they are not the same, the y coordinate value is increased and the process returns to step S56. If the brightness of this pixel is the same as the brightness of the eyeline, the process proceeds to step S60, and the brightness of this pixel is lowered by a predetermined value from the current brightness. As a result, the brightness of the pixels on the contour line is lowered and darkened, and as a result, the eyeline can be conspicuous.
[0025]
Thereafter, in step S62, it is determined from the x and y coordinates whether the region is Ia in FIG. 7 (in the case of sweet) or region Ib in FIG. 8 (in the case of cool), and the above regions Ia, Ib are determined. In this case, the eyeline is blurred in the x-direction outer corner in step S64. Further, in step S66, it is determined from the x-coordinate and y-coordinate whether the area is Id in FIG. 10 (in the case of fresh), and in the case of the above-described area Id, the eyeline is blurred on the eyebrows in the y direction in step S68. Do. Thereafter, when the loop processing in steps S52 and S54 is completed, the face image on which the eyeline is drawn is displayed on the display device 40 in step S70, and this processing is terminated.
[0026]
FIG. 11 shows a flowchart of an embodiment of the eye shadow application process executed in step S26. In the figure, first, an eye shadow application region is set in step S80. Here, the maximum distance Ymax in the y direction from the contour line of the upper eyelid to the contour line of the eyebrows shown in FIG. 12 is obtained, and the maximum application size My = Ymax / α is obtained. Note that α = 2 when the makeup image type is sweet or cute, α = 3 when cool, and α = 6 when fresh. Further, using the curves shown in FIGS. 13A and 13B, the upper limit (eyebrow side) of the eye shadow application region is obtained for each makeup image type. At this time, the maximum application size My is used. Here, in the case of sweet, cool, or cute, the curve from the top of the eye to the corner of the eye shown in FIG. 13A is used, and in the case of fresh, on the contour line of the upper eyelid that is a predetermined length away from the eye head shown in FIG. A curve from one point to the corner of the eye is used. In addition, the lower limit of the eye shadow application area is the upper eyelid outline.
[0027]
In step S82, the movement locus of the start point is set, and in step S84, the application size at the start point of eye shadow application is set. FIG. 14 shows the eye shadow application area corresponding to FIG. 13A, and the approximate center position P0 of the lower limit (upper contour of the eye shadow) of the eye shadow application area is set as the eye shadow application start point. Further, the radius of a circle that is centered on the start point and is in contact with the upper limit of the eye shadow application region is defined as the application size, and arrows A1 and A2 that are superimposed on the lower limit of the eye shadow application region are used as the movement locus of the start point.
[0028]
Next, in step S88, the eye shadow density at the start point is calculated from the skin color data of the subject and the selected eye shadow color using a predetermined calculation formula, and the obtained eye shadow color is applied to the start point. . In step S90, an airbrush process is performed to reduce (blur) the density of the color of the eye shadow applied to the start point in proportion to the distance from the start point within a circle having the start point as the center and the application size as the radius. The color of the eye shadow at each pixel position obtained in this way is added to the skin color of the pixel at that position to obtain the color of each pixel with the eye shadow superimposed on the skin. Update the color.
[0029]
In the airbrush process described above, only a circle with the radius of the application size in the eye shadow application area is a target of processing, and the process is not performed in a semicircle portion below the lower limit of the eye shadow application area. Further, the relationship between the distance from the center and the density in the airbrush process uses a characteristic that the density decreases in proportion to the distance from the center as shown in FIG. 15A when the makeup image type is cute or fresh. In the case of sweet or cool, as shown in FIG. 15 (B), when the distance from the center is small, the degree of thinning of the density is large, and when the distance from the center is large, the degree of thinning of the density is small. Use.
[0030]
Thereafter, in step S92, the starting point is moved by a predetermined distance according to the moving locus of the starting point indicated by arrows A1 and A2. The start point is repeatedly moved from the position P0 in the arrow A1 direction by a predetermined distance. When the moved start point is outside the eye shadow application region, the start point returns to the position P0 and moves in the arrow A2 direction by the predetermined distance. To do. This moving distance is, for example, several tens of percent of the application size. In step S94, a new application size is calculated. The new application size decreases at a rate of several percent to several tens percent as the starting point moves from the position P0 in the directions of arrows A1 and A2.
[0031]
Next, in step S96, it is determined whether or not it is the end point of the eye shadow application. If it is not the end point, the above steps S88 to S94 are repeated. If it is the end point, the eye shadow application is terminated, and the eye shadow is applied in step S98. The face image is displayed on the display device 40, and this process ends. The eye shadow application end point is determined when the start point moves in the direction of arrow A2 and is outside the eye shadow application region.
[0032]
As described above, when a desired type is selected from a plurality of makeup image types, an area for applying eye shadow in the eye part of the face image is set according to the selected makeup image type, and the face in the area for applying eye shadow is set. The eye shadow is applied by overlaying the eye shadow color on the image color. Simply select the desired type and apply the eye shadow to the eye area of the face image according to the selected makeup image type. can do.
[0033]
In addition, since the contour of the eye detected by detecting the contour of the eye and the vicinity thereof are drawn according to the selected makeup image type, only the desired type is selected, and the selected makeup image type is selected. An eyeline can be drawn and displayed on the eye portion of the face image.
In addition, since the eye shadow density decreases as the distance from the application start point in the area where the eye shadow is applied is blurred, the applied eye shadow blends with the skin color of the face image and displays an eye shadow that does not feel strange. Since the start point of application is sequentially moved within the area where the eye shadow is applied, the applied eye shadow is compatible with the skin color of the face image regardless of the shape of the area where the eye shadow is applied. Eye shadow can be displayed.
[0034]
The selection boxes 41A, 41B, 41C and 41D correspond to the type selection means described in the claims, step S80 corresponds to the eye shadow application area setting means, and steps S88 and S90 correspond to the eye shadow application means. Step S22 corresponds to the contour detection means, step S24 corresponds to the eyeline drawing means, step S90 corresponds to the blurring means, and step S92 corresponds to the start point moving means.
[0035]
【The invention's effect】
As described above, the invention according to claim 1 is an eye makeup simulation system for drawing eye shadows and eye lines on a face image.
Type selection means for selecting a desired type from the first to fourth makeup image types;
Contour detecting means for detecting the contour of the eye in the eye part of the face image;
In the first makeup image type, the detected contour of the eye and its vicinity are reduced in the brightness of the pixels in the drawing pattern with a width from the top of the upper eyelid to the corner of the eyelid, and in the second makeup image type, the upper eyelid is reduced. The brightness of the pixels in the drawing pattern with the width from the center to the corner of the eye is lowered. In the third makeup image type, the brightness of the pixels in the drawing pattern with the width from the top of the upper eyelid to the corner of the eye is lowered. In the makeup image type, eyeline drawing means for drawing an eyeline by reducing the brightness of pixels in a drawing pattern having a width from the upper eyelid to the corner of the upper eyelid ,
In the eye part of the face image, in the first makeup image type, the maximum application size is 1/3 of the vertical maximum value from the contour line of the upper eyelid to the contour line of the eyebrows, and at an intermediate position from the top of the eye to the corner of the eye. A region for applying an eye shadow having an upper limit of the curve corresponding to the maximum application size and an upper contour of the lower limit is set, and in the second makeup image type, 1/6 of the maximum value is set as the maximum application size. A third or fourth makeup image is set by setting a region having an upper limit as the curve corresponding to the maximum application size and a lower limit as the contour line of the upper eyelid at an intermediate position from the upper eyeline contour line to the corner of the eye corner that is further separated by a predetermined length. Aisha with type lower and the upper limit curve becomes the maximum applied size at the intermediate position from the inner corner and the maximum applied size 1/2 of the maximum value to the outer corner of the eye as a contour line of the upper eyelid And eye shadow application area setting means for setting a region for applying the cormorant,
In the region where the eye shadow is applied by the eye shadow application region setting means, the middle position from the top of the eyelid to the corner of the upper eyeline outline is set as the application start point, and the eye shadow is centered on the application start point. Eye shadow application means for applying an eye shadow by superimposing the color of the eye shadow on the color of the face image with the radius of a circle in contact with the upper limit of the area to be applied as the application size .
[0036]
As described above, when a desired type is selected from the first to fourth makeup image types, an eye shadow application region is set in the eye portion of the face image according to the selected makeup image type, and the eye shadow is applied. The eye shadow is applied to the face image color of the area to be overlapped by applying the eye shadow color. Therefore, just by selecting the desired type, the eye shadow is applied to the eye area of the face image according to the selected makeup image type. The selected makeup image type can be displayed simply by selecting the desired type in order to draw the outline of the eye detected from the face image and its vicinity according to the selected makeup image type. Accordingly, an eyeline can be drawn and displayed on the eye area of the face image.
[0037]
According to a second aspect of the present invention , the eyeline drawing means blurs the eyeline in the lateral direction of the face image in the first or second makeup image type, and the face in the fourth makeup image type. Blur eyeline in the vertical direction of the image .
Thereby, the eyeline according to the selected makeup image type can be drawn and displayed.
[0038]
According to a third aspect of the present invention, the eye shadow applying means includes blurring means for reducing the concentration of the eye shadow as the distance from the application start point in the area where the eye shadow is applied is increased.
In this way, since the eye shadow density is lowered and blurred as the distance from the application start point in the area where the eye shadow is applied, the applied eye shadow becomes familiar with the skin color of the face image and does not feel strange Can be displayed.
[0039]
According to a fourth aspect of the present invention, the eye shadow applying means includes start point moving means for sequentially moving the start point of application within a region where the eye shadow is applied.
In this way, since the start point of application is sequentially moved within the area where the eye shadow is applied, the applied eye shadow blends with the skin color of the face image regardless of the shape of the area where the eye shadow is applied in the face image. Can display eye shadows with no shadow
[Brief description of the drawings]
FIG. 1 is a block diagram of an embodiment of an eye makeup simulation system of the present invention.
FIG. 2 is a flowchart of an embodiment of a main routine of eye makeup simulation executed in the system of the present invention.
FIG. 3 is a diagram illustrating feature points of a face image.
FIG. 4 is a diagram illustrating an example of a display screen when performing eye makeup simulation.
FIG. 5 is a flowchart of an embodiment of eyeline search processing.
FIG. 6 is a flowchart of an embodiment of eyeline drawing processing.
FIG. 7 is a diagram showing an eyeline drawing pattern.
FIG. 8 is a diagram showing an eyeline drawing pattern.
FIG. 9 is a diagram showing an eyeline drawing pattern.
FIG. 10 is a diagram showing an eyeline drawing pattern.
FIG. 11 is a flowchart of an embodiment of an eye shadow application process.
FIG. 12 is a diagram for explaining setting of an eye shadow application region.
FIG. 13 is a diagram showing an upper limit of an eye shadow application region.
FIG. 14 is a diagram for explaining eye shadow application;
FIG. 15 is a diagram showing the relationship between the distance from the center and the density in airbrush processing.
[Explanation of symbols]
10 Central processing unit (CPU)
20 Input device 21 Keyboard 22 Touch sensor 23 Digital camera 30 Storage device 31 RAM
32 ROM
33 Hard disk device 34 Flexible disk device 40 Display devices 41A, 41B, 41C, 41D Selection boxes 43, 44 Selection box 50 Printing device

Claims (4)

顔画像にアイシャドウ及びアイラインを描く目元メーキャップシミュレーションシステムであって、
第1乃至第4のメーキャップイメージタイプから所望のタイプを選択するタイプ選択手段と、
顔画像の目元部分で目の輪郭を検出する輪郭検出手段と、
検出された前記目の輪郭及びその近傍を、前記第1のメーキャップイメージタイプでは上瞼の目頭から目尻までの幅の描画パターン内の画素の明度を低下させ、第2のメーキャップイメージタイプでは上瞼の中央から目尻までの幅の描画パターン内の画素の明度を低下させ、第3のメーキャップイメージタイプでは上瞼の目頭から目尻までの幅の描画パターン内の画素の明度を低下させ、前記第4のメーキャップイメージタイプでは上瞼の目頭から目尻までの幅の描画パターン内の画素の明度を低下させてアイラインを描画するアイライン描画手段と、
前記顔画像の目元部分において、前記第1のメーキャップイメージタイプでは上瞼の輪郭線から眉の輪郭線までの縦方向の最大値の1/3を最大塗布サイズとし目頭から目尻までの中間位置で前記最大塗布サイズとなる曲線を上限とし下限を上瞼の輪郭線とするアイシャドウを塗布する領域を設定し、前記第2のメーキャップイメージタイプでは前記最大値の1/6を最大塗布サイズとし目頭より所定長離れた上瞼の輪郭線から目尻までの中間位置で前記最大塗布サイズとなる曲線を上限とし下限を上瞼の輪郭線とする領域を設定し、前記第3または第4のメーキャップイメージタイプでは前記最大値の1/2を最大塗布サイズとし目頭から目尻までの中間位置で前記最大塗布サイズとなる曲線を上限とし下限を上瞼の輪郭線としてアイシャドウを塗布する領域を設定するアイシャドウ塗布領域設定手段と、
前記アイシャドウ塗布領域設定手段で設定されたアイシャドウを塗布する領域において、上瞼の輪郭線の目頭から目尻までの中間位置を塗布の開始点とし前記塗布の開始点を中心とし前記アイシャドウを塗布する領域の上限に接する円の半径を塗布サイズとして前記顔画像の色に、アイシャドウの色を重ねることによりアイシャドウを塗布するアイシャドウ塗布手段とを
有することを特徴とする目元メーキャップシミュレーションシステム。
An eye makeup simulation system for drawing eye shadows and eye lines on a face image,
Type selection means for selecting a desired type from the first to fourth makeup image types;
Contour detecting means for detecting the contour of the eye in the eye part of the face image;
In the first makeup image type, the detected contour of the eye and its vicinity are reduced in the brightness of the pixels in the drawing pattern with a width from the top of the upper eyelid to the corner of the eyelid, and in the second makeup image type, the upper eyelid is reduced. The brightness of the pixels in the drawing pattern with the width from the center to the corner of the eye is lowered. In the third makeup image type, the brightness of the pixels in the drawing pattern with the width from the top of the upper eyelid to the corner of the eye is lowered. In the makeup image type, eyeline drawing means for drawing an eyeline by reducing the brightness of pixels in a drawing pattern having a width from the upper eyelid to the corner of the upper eyelid ,
In the eye part of the face image, in the first makeup image type, the maximum application size is 1/3 of the vertical maximum value from the contour line of the upper eyelid to the contour line of the eyebrows, and at an intermediate position from the top of the eye to the corner of the eye. A region for applying an eye shadow having an upper limit of the curve corresponding to the maximum application size and an upper contour of the lower limit is set, and in the second makeup image type, 1/6 of the maximum value is set as the maximum application size. A third or fourth makeup image is set by setting a region having an upper limit as the curve corresponding to the maximum application size and a lower limit as the contour line of the upper eyelid at an intermediate position from the upper eyeline contour line to the corner of the eye corner that is further separated by a predetermined length. Aisha with type lower and the upper limit curve becomes the maximum applied size at the intermediate position from the inner corner and the maximum applied size 1/2 of the maximum value to the outer corner of the eye as a contour line of the upper eyelid And eye shadow application area setting means for setting a region for applying the cormorant,
In the region where the eye shadow is applied by the eye shadow application region setting means, the middle position from the top of the eyelid to the corner of the upper eyeline outline is set as the application start point, and the eye shadow is centered on the application start point. An eye makeup simulation system characterized by comprising eye shadow application means for applying eye shadow by superimposing the color of the eye shadow on the color of the face image with the radius of a circle in contact with the upper limit of the area to be applied as the application size .
請求項1記載の目元メーキャップシミュレーションシステムにおいて、
前記アイライン描画手段は、前記第1または第2のメーキャップイメージタイプでは顔画像の横方向にアイラインのぼかしを行い、前記第4のメーキャップイメージタイプでは顔画像の縦方向にアイラインのぼかしを行うことを特徴とする目元メーキャップシミュレーションシステム。
In the eye makeup simulation system according to claim 1,
The eyeline drawing means blurs the eyeline in the horizontal direction of the face image in the first or second makeup image type, and blurs the eyeline in the vertical direction of the face image in the fourth makeup image type. Eye make-up simulation system characterized by performing.
請求項1または2記載の目元メーキャップシミュレーションシステムにおいて、
前記アイシャドウ塗布手段は、前記アイシャドウを塗布する領域内の塗布の開始点から離間するほどアイシャドウの濃度を低下させるぼかし手段を
有することを特徴とする目元メーキャップシミュレーションシステム。
In the eye makeup simulation system according to claim 1 or 2,
The eye make-up simulation system, characterized in that the eye shadow applying means includes a blurring means for reducing the density of the eye shadow as the distance from the application start point in the area where the eye shadow is applied is reduced.
請求項1または2記載の目元メーキャップシミュレーションシステムにおいて、
前記アイシャドウ塗布手段は、前記アイシャドウを塗布する領域内で塗布の開始点を順次移動させる開始点移動手段を
有することを特徴とする目元メーキャップシミュレーションシステム。
In the eye makeup simulation system according to claim 1 or 2,
The eye makeup applying simulation system, wherein the eye shadow applying means includes start point moving means for sequentially moving an application starting point within a region where the eye shadow is applied.
JP08672999A 1999-03-29 1999-03-29 Eye makeup simulation system Expired - Lifetime JP4188487B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP08672999A JP4188487B2 (en) 1999-03-29 1999-03-29 Eye makeup simulation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP08672999A JP4188487B2 (en) 1999-03-29 1999-03-29 Eye makeup simulation system

Publications (2)

Publication Number Publication Date
JP2000285222A JP2000285222A (en) 2000-10-13
JP4188487B2 true JP4188487B2 (en) 2008-11-26

Family

ID=13894951

Family Applications (1)

Application Number Title Priority Date Filing Date
JP08672999A Expired - Lifetime JP4188487B2 (en) 1999-03-29 1999-03-29 Eye makeup simulation system

Country Status (1)

Country Link
JP (1) JP4188487B2 (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3779570B2 (en) * 2001-07-30 2006-05-31 デジタルファッション株式会社 Makeup simulation apparatus, makeup simulation control method, and computer-readable recording medium recording makeup simulation program
JP3963789B2 (en) * 2002-06-24 2007-08-22 デジタルファッション株式会社 Eye detection device, eye detection program, recording medium for recording the program, and eye detection method
JP2005092588A (en) * 2003-09-18 2005-04-07 Hitachi Software Eng Co Ltd Composite image print device and image editing method
KR101363691B1 (en) * 2006-01-17 2014-02-14 가부시키가이샤 시세이도 Makeup simulation system, makeup simulation device, makeup simulation method, and makeup simulation program
JP4753025B2 (en) * 2006-03-22 2011-08-17 花王株式会社 Makeup simulation method
JP2009064423A (en) * 2007-08-10 2009-03-26 Shiseido Co Ltd Makeup simulation system, makeup simulation device, makeup simulation method, and makeup simulation program
JP4862955B1 (en) * 2010-10-29 2012-01-25 オムロン株式会社 Image processing apparatus, image processing method, and control program
JP4760999B1 (en) 2010-10-29 2011-08-31 オムロン株式会社 Image processing apparatus, image processing method, and control program
JP6008323B2 (en) * 2013-02-01 2016-10-19 パナソニックIpマネジメント株式会社 Makeup support device, makeup support method, and makeup support program
CN109427075A (en) * 2017-08-24 2019-03-05 丽宝大数据股份有限公司 Biological information analytical equipment and its eye shadow analysis method
CN109426767A (en) * 2017-08-24 2019-03-05 丽宝大数据股份有限公司 Informer describes guidance device and its method
CN108830919A (en) * 2018-03-24 2018-11-16 广州帕克西软件开发有限公司 A kind of emulation mode and device of polychrome eye shadow
CN112541955A (en) * 2020-12-17 2021-03-23 维沃移动通信有限公司 Image processing method, device and equipment

Also Published As

Publication number Publication date
JP2000285222A (en) 2000-10-13

Similar Documents

Publication Publication Date Title
US8698796B2 (en) Image processing apparatus, image processing method, and program
AU2017235889B2 (en) Digitizing physical sculptures with a desired control mesh in 3d
JP4188487B2 (en) Eye makeup simulation system
US8908904B2 (en) Method and system for make-up simulation on portable devices having digital cameras
CN110049351B (en) Method and device for deforming human face in video stream, electronic equipment and computer readable medium
CN110163832B (en) Face fusion method and device and terminal
CN100357959C (en) Facial parts position detection device, method for detecting facial parts position, and program for detecting facial parts position
JPH1115947A (en) Image processor
JP6990773B2 (en) Image processing methods and equipment, image devices and storage media
US10467793B2 (en) Computer implemented method and device
JP3773657B2 (en) Eyebrow deformation system
CN111243051A (en) Portrait photo-based stroke generating method, system and storage medium
JP5907196B2 (en) Image processing apparatus, image processing method, image processing system, and program
JP3444148B2 (en) Eyebrow drawing method
JP3871010B2 (en) Blusher makeup simulation system
KR20010084996A (en) Method for generating 3 dimension avatar using one face image and vending machine with the same
JP6741270B2 (en) Image processing apparatus, image processing method, and image processing program
KR20020085669A (en) The Apparatus and Method for Abstracting Peculiarity of Two-Dimensional Image & The Apparatus and Method for Creating Three-Dimensional Image Using Them
JP3917321B2 (en) Mouth makeup simulation system
CN106716500A (en) Program, information processing device, depth definition method, and recording medium
CN114596221A (en) Face contour automatic smoothing method and device, electronic equipment and storage medium
KR100512565B1 (en) Method for automatic animation of three dimensions scan face data
US11481940B2 (en) Structural facial modifications in images
US9563940B2 (en) Smart image enhancements
JP2003030684A (en) Face three-dimensional computer graphic generation method and device, face three-dimensional computer graphic generation program and storage medium storing face three-dimensional computer graphic generation program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060522

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060530

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060728

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060822

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061023

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20061030

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20061201

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080911

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110919

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120919

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120919

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130919

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term