Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7605263B2 - Image processing device, image processing method and program - Google Patents
[go: Go Back, main page]

JP7605263B2 - Image processing device, image processing method and program - Google Patents

Image processing device, image processing method and program Download PDF

Info

Publication number
JP7605263B2
JP7605263B2 JP2023143026A JP2023143026A JP7605263B2 JP 7605263 B2 JP7605263 B2 JP 7605263B2 JP 2023143026 A JP2023143026 A JP 2023143026A JP 2023143026 A JP2023143026 A JP 2023143026A JP 7605263 B2 JP7605263 B2 JP 7605263B2
Authority
JP
Japan
Prior art keywords
makeup
image
area
user
eyelid
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.)
Active
Application number
JP2023143026A
Other languages
Japanese (ja)
Other versions
JP2023164494A (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.)
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 JP2023143026A priority Critical patent/JP7605263B2/en
Publication of JP2023164494A publication Critical patent/JP2023164494A/en
Application granted granted Critical
Publication of JP7605263B2 publication Critical patent/JP7605263B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)

Description

本発明は、画像処理装置、画像処理方法及びプログラムに関する。 The present invention relates to an image processing device, an image processing method, and a program.

現在、ユーザの顔に化粧品を塗布したときの顔の状態をシミュレーションする技術が知られている。例えば、特許文献1には、ユーザの顔画像に化粧品を表すメイクパーツを重畳する技術であって、顔画像に重畳するメイクパーツを目の状態に応じて変化させる技術が記載されている。具体的には、特許文献1には、目閉じ画像に描画されたメイクパーツを目開き画像用に変形し、変形したメイクパーツを目開き画像に重畳する技術が記載されている。 Currently, there is known technology that simulates the state of a user's face when cosmetics are applied to the face. For example, Patent Document 1 describes a technology that superimposes makeup parts representing cosmetics on a user's facial image, and changes the makeup parts superimposed on the facial image depending on the state of the eyes. Specifically, Patent Document 1 describes a technology that transforms makeup parts drawn on an image with closed eyes for an image with open eyes, and superimposes the transformed makeup parts on the image with open eyes.

ここで、実際のメイクでは、目の状態の変化に伴う、顔に塗布された化粧品の見え方の変化の仕方は、上瞼の種別によって異なる。例えば、一重瞼の人と二重瞼の人とが目を閉じた状態で同じ領域にアイシャドーを塗布した場合した場合でも、目を開けたときに見えるアイシャドーの塗布領域は一重瞼の人と二重瞼の人とで異なる。この点に関して、特許文献1には、顔画像に重畳するメイクパーツを目の状態に応じて変化させるときに、上瞼の種別を考慮することが記載されている。 Here, in actual makeup, the way in which the appearance of cosmetics applied to the face changes with changes in the state of the eyes differs depending on the type of upper eyelid. For example, even if a person with single eyelids and a person with double eyelids apply eyeshadow to the same area with their eyes closed, the area of applied eyeshadow that is visible when the person opens their eyes will be different for the person with single eyelids and the person with double eyelids. In this regard, Patent Document 1 describes taking the type of upper eyelid into consideration when changing the makeup parts superimposed on the face image according to the state of the eyes.

国際公開第2018/159231号International Publication No. 2018/159231

しかしながら、特許文献1に記載された方法では、メイクパーツの変化のさせ方が上瞼の種別と合致せず、化粧品が塗布された顔の状態が適切にシミュレーションされない可能性がある。例えば、特許文献1には、一重瞼と奥二重瞼とを区別していないが、一重瞼と奥二重瞼とを区別した方が好ましいとも考えられる。また、特許文献1には、上瞼が一重瞼である場合、目閉じ画像に描画された上瞼メイクパーツを変形せずに目開き画像に重畳することが記載されているが、上瞼メイクパーツを変形した方が好ましいとも考えられる。このため、化粧品が塗布された顔の状態を顔パーツの種別に応じて適切にシミュレーションする技術が望まれている。 However, in the method described in Patent Document 1, the way in which the makeup parts are changed does not match the type of upper eyelid, and there is a possibility that the state of the face with cosmetics applied will not be properly simulated. For example, Patent Document 1 does not distinguish between single eyelids and deep-set double eyelids, but it is considered preferable to distinguish between single eyelids and deep-set double eyelids. Patent Document 1 also describes that when the upper eyelid is single eyelid, the upper eyelid makeup parts drawn on the image with the eyes closed are superimposed on the image with the eyes open without being deformed, but it is considered preferable to deform the upper eyelid makeup parts. For this reason, a technology is desired that can properly simulate the state of the face with cosmetics applied according to the type of facial parts.

本発明は、上記問題に鑑みてなされたものであり、化粧品が塗布された顔の状態を顔パーツの種別に応じて適切にシミュレーションする画像処理装置、画像処理方法及びプログラムを提供することを目的とする。 The present invention has been made in consideration of the above problems, and aims to provide an image processing device, an image processing method, and a program that appropriately simulate the state of a face to which cosmetics have been applied according to the type of facial feature.

上記目的を達成するために、本発明に係る画像処理装置は、
上瞼が開いた状態であるときに撮像されたユーザの顔画像である目開き画像を取得する画像取得手段と、
前記上瞼が閉じた状態であるときに前記ユーザが実行したメイク動作と前記上瞼の種別とに基づいて、前記ユーザの前記目開き画像上におけるメイク領域を決定する際に、前記ユーザの上瞼が一重瞼である場合のメイク領域を、前記ユーザの上瞼が奥二重瞼である場合のメイク領域よりも大きくなるように前記メイク領域を決定する領域決定手段と、を備える。
In order to achieve the above object, the image processing device according to the present invention comprises:
an image acquisition means for acquiring an open-eye image, which is a facial image of a user captured when the upper eyelid is open ;
The device further includes an area determining means for determining, when determining a makeup area on the eye-open image of the user based on the makeup action performed by the user when the upper eyelid is closed and the type of the upper eyelid , the makeup area when the user has a single eyelid is larger than the makeup area when the user has a deep double eyelid .

本発明によれば、化粧品が塗布された顔の状態を顔パーツの種別に応じて適切にシミュレーションすることができる。 According to the present invention, it is possible to appropriately simulate the state of a face after applying cosmetics according to the type of facial feature.

本発明の実施形態1に係るメイクシミュレーション装置の外観図FIG. 1 is an external view of a makeup simulation device according to a first embodiment of the present invention; 本発明の実施形態1に係る画像処理装置のハードウェア構成を示すブロック図FIG. 1 is a block diagram showing a hardware configuration of an image processing apparatus according to a first embodiment of the present invention. 本発明の実施形態1に係る指示装置のハードウェア構成を示すブロック図FIG. 1 is a block diagram showing a hardware configuration of an instruction device according to a first embodiment of the present invention. 本発明の実施形態1に係るメイクシミュレーション装置の機能的な構成を示すブロック図FIG. 1 is a block diagram showing a functional configuration of a makeup simulation device according to a first embodiment of the present invention. 本発明の実施形態1に係る画像処理装置をユーザが使用している様子を示す図FIG. 1 is a diagram showing a state in which a user is using an image processing apparatus according to a first embodiment of the present invention; 本発明の実施形態1に係る画像処理装置が備えるタッチスクリーンに対してユーザが指示装置を用いて操作している様子を示す図FIG. 1 is a diagram showing a state in which a user uses a pointing device to operate a touch screen included in an image processing device according to a first embodiment of the present invention. 目の付近から検出される各種のラインを示す図A diagram showing various lines detected near the eye. 上瞼の種別毎の特徴を示す図であり、(A)は一重瞼の特徴を示す図であり、(B)は二重瞼の特徴を示す図であり、(C)は、奥二重瞼の特徴を示す図1A is a diagram showing characteristics of each type of upper eyelid, (A) is a diagram showing characteristics of a single eyelid, (B) is a diagram showing characteristics of a double eyelid, and (C) is a diagram showing characteristics of a deep double eyelid. ユーザが目を閉じながら模擬的にメイクする様子を示す図A diagram showing a user applying makeup while closing their eyes 目開き用メイク領域を示す図であり、(A)は一重瞼用の目開き用メイク領域を示す図であり、(B)は二重瞼用の目開き用メイク領域を示す図であり、(C)は奥二重瞼用の目開き用メイク領域を示す図1A is a diagram showing an eye-opening makeup area for a single eyelid, FIG. 1B is a diagram showing an eye-opening makeup area for a double eyelid, and FIG. 1C is a diagram showing an eye-opening makeup area for a deep double eyelid. 本発明の実施形態1に係る画像処理装置が実行する画像表示処理を示すフローチャート10 is a flowchart showing an image display process executed by the image processing device according to the first embodiment of the present invention. 図11における種別判別処理を示すフローチャートA flowchart showing the type determination process in FIG. 図11における領域決定処理を示すフローチャートFlowchart showing the region determination process in FIG. 11 本発明の実施形態2に係る画像処理装置の機能的な構成を示すブロック図FIG. 11 is a block diagram showing the functional configuration of an image processing apparatus according to a second embodiment of the present invention.

以下、本発明の実施形態について、図面を参照して説明する。なお、図中において、同一又は対応する部分には、同一の符号を付す。 Embodiments of the present invention will be described below with reference to the drawings. Note that in the drawings, the same or corresponding parts are given the same reference numerals.

(実施形態1)
まず、図1を参照して、本発明の実施形態1に係るメイクシミュレーション装置100の構成について説明する。メイクシミュレーション装置100は、ユーザが化粧品でメイクした後の状態をコンピュータ上でシミュレーションする装置である。ユーザは、メイクシミュレーション装置100を用いることで、本物の化粧品を用いることなく、気軽にメイクを練習したり、メイク後の状態を事前に確認したりすることができる。
(Embodiment 1)
First, the configuration of a makeup simulation device 100 according to a first embodiment of the present invention will be described with reference to Fig. 1. The makeup simulation device 100 is a device that simulates on a computer what the user's appearance will be after applying makeup with cosmetics. By using the makeup simulation device 100, the user can easily practice applying makeup and check in advance what the user's appearance will be after applying makeup, without using real cosmetics.

図1に示すように、メイクシミュレーション装置100は、画像処理装置10と、指示装置30とを備える。画像処理装置10は、ユーザの顔が撮像された撮像画像を用いて、メイク後の状態を表す画像をシミュレーションにより生成して表示する装置である。画像処理装置10は、例えば、メイク用のパレットを模した形状を有する。 As shown in FIG. 1, the makeup simulation device 100 includes an image processing device 10 and an instruction device 30. The image processing device 10 is a device that uses a captured image of a user's face to generate and display an image representing the state after makeup is applied by simulation. The image processing device 10 has a shape that imitates, for example, a makeup palette.

図2に、画像処理装置10のハードウェア構成を示す。図2に示すように、画像処理装置10は、プロセッサ11と、フラッシュメモリ12と、カメラ13と、第1のタッチスクリーン14と、第2のタッチスクリーン15と、通信インターフェース16とを備える。画像処理装置10が備えるこれらの要素は、例えば、システムバスを介して相互に接続される。 Figure 2 shows the hardware configuration of the image processing device 10. As shown in Figure 2, the image processing device 10 includes a processor 11, a flash memory 12, a camera 13, a first touch screen 14, a second touch screen 15, and a communication interface 16. These elements included in the image processing device 10 are connected to each other via, for example, a system bus.

プロセッサ11は、画像処理装置10の全体の動作を制御する。プロセッサ11は、例えば、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)、RTC(Real Time Clock)を備える。フラッシュメモリ12は、各種の情報を記憶する。 The processor 11 controls the overall operation of the image processing device 10. The processor 11 includes, for example, a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), and an RTC (Real Time Clock). The flash memory 12 stores various types of information.

カメラ13は、被写体を撮像する。カメラ13は、被写体から射出された光を集光するレンズと、集光した光を受けて被写体の画像を取得するCCD(Charge Coupled Device)、CMOS(Complementary Metal Oxide Semiconductor)等の撮像素子と、撮像素子から電気信号として送られた撮像データをデジタルデータに変換するA/D(Analog/Digital)変換器とを備える。図1に示すように、カメラ13は、第1のタッチスクリーン14の近傍に配置され、第1のタッチスクリーン14を見ながら画像処理装置10を使用しているユーザの顔を撮像する。 The camera 13 captures an image of a subject. The camera 13 includes a lens that collects light emitted from the subject, an imaging element such as a CCD (Charge Coupled Device) or a CMOS (Complementary Metal Oxide Semiconductor) that receives the collected light and captures an image of the subject, and an A/D (Analog/Digital) converter that converts the imaging data sent from the imaging element as an electrical signal into digital data. As shown in FIG. 1, the camera 13 is disposed near the first touch screen 14, and captures an image of the face of a user who is using the image processing device 10 while looking at the first touch screen 14.

第1のタッチスクリーン14と第2のタッチスクリーン15とは、ユーザインターフェースであり、各種の情報をユーザから受け付け、また、各種の情報をユーザに提示する。図1に示すように、第1のタッチスクリーン14は、画像処理装置10の上側の面に配置され、カメラ13の撮像により得られた撮像画像を表示する。第2のタッチスクリーン15は、画像処理装置10の下側の面に配置され、メイクシミュレーションにおいてユーザの顔に仮想的に塗布される化粧品を表現する化粧品画像を表示する。また、第2のタッチスクリーン15は、第2のタッチスクリーン15の表面に対する接触を伴うユーザ操作を受け付ける。 The first touch screen 14 and the second touch screen 15 are user interfaces that accept various information from the user and present various information to the user. As shown in FIG. 1, the first touch screen 14 is disposed on the upper surface of the image processing device 10 and displays an image captured by the camera 13. The second touch screen 15 is disposed on the lower surface of the image processing device 10 and displays a cosmetic image that represents a cosmetic to be virtually applied to the user's face in the makeup simulation. The second touch screen 15 also accepts user operations that involve contact with the surface of the second touch screen 15.

通信インターフェース16は、プロセッサ11による制御のもと、指示装置30を含む外部の装置と通信するモジュールである。通信インターフェース16は、例えば、無線LAN(Local Area Network)、Bluetooth(登録商標)等の無線通信、又はUSB(Universal Serial Bus)ケーブル等の有線通信により外部の機器と通信する。 The communication interface 16 is a module that communicates with external devices including the instruction device 30 under the control of the processor 11. The communication interface 16 communicates with external devices, for example, via wireless communication such as a wireless LAN (Local Area Network) or Bluetooth (registered trademark), or via wired communication such as a USB (Universal Serial Bus) cable.

指示装置30は、メイクシミュレーションにおいて化粧品を選択し、選択した化粧品を仮想的に塗布する顔の位置を指示するための装置である。指示装置30は、スティック状の形状を有し、いわゆる化粧筆(化粧ブラシ、メイクブラシ)のように、顔に化粧品を塗布するために用いられる塗布ツールを模した部材である。ユーザは、指示装置30を手で把持し、画像処理装置10に表示された化粧品画像及びユーザの実際の顔を、指示装置30の端部で指し示すようにして使用する。 The pointing device 30 is a device for selecting cosmetics in a makeup simulation and indicating the position on the face where the selected cosmetics will be virtually applied. The pointing device 30 has a stick-like shape and is a component that imitates an application tool used to apply cosmetics to the face, such as a makeup brush. The user holds the pointing device 30 in their hand and uses it by pointing the end of the pointing device 30 at the cosmetic image displayed on the image processing device 10 and the user's actual face.

図3に、指示装置30のハードウェア構成を示す。指示装置30は、プロセッサ31と、フラッシュメモリ32と、圧力センサ33と、通信インターフェース34とを備える。指示装置30が備えるこれらの要素は、例えば、システムバスを介して相互に接続される。 Figure 3 shows the hardware configuration of the indication device 30. The indication device 30 includes a processor 31, a flash memory 32, a pressure sensor 33, and a communication interface 34. These elements of the indication device 30 are connected to each other via, for example, a system bus.

プロセッサ31は、指示装置30の全体の動作を制御する。プロセッサ31は、例えば、CPU、ROM、RAM、RTCを備える。フラッシュメモリ32は、各種の情報を記憶する。圧力センサ33は、指示装置30の端部にかかる圧力を検知する。つまり、圧力センサ33は、指示装置30の端部に対する接触を検知する。圧力センサ33は、静電容量式、歪みゲージ式などの方式で圧力を検知する。通信インターフェース34は、プロセッサ31による制御のもと、画像処理装置10と通信するモジュールである。通信インターフェース34は、例えば、無線LAN、Bluetooth(登録商標)等の無線通信、又はUSBケーブル等の有線通信により画像処理装置10と通信する。 The processor 31 controls the overall operation of the indication device 30. The processor 31 includes, for example, a CPU, a ROM, a RAM, and an RTC. The flash memory 32 stores various information. The pressure sensor 33 detects pressure applied to the end of the indication device 30. In other words, the pressure sensor 33 detects contact with the end of the indication device 30. The pressure sensor 33 detects pressure using a method such as a capacitance method or a strain gauge method. The communication interface 34 is a module that communicates with the image processing device 10 under the control of the processor 31. The communication interface 34 communicates with the image processing device 10 by wireless communication such as a wireless LAN or Bluetooth (registered trademark), or wired communication such as a USB cable.

次に、図4を参照して、メイクシミュレーション装置100の機能について説明する。画像処理装置10は、機能的には、撮像部101と、画像取得部102と、表示制御部103と、表示部104と、操作受付部105と、化粧品選択部106と、情報受信部107と、接触位置特定部108と、状態判別部109と、種別判別部110と、領域決定部113と、メイクパーツ生成部114と、メイクパーツ保持部115とを備える。指示装置30は、機能的には、接触検知部301と、情報送信部302とを備える。 Next, the functions of the makeup simulation device 100 will be described with reference to FIG. 4. The image processing device 10 functionally includes an imaging unit 101, an image acquisition unit 102, a display control unit 103, a display unit 104, an operation reception unit 105, a cosmetics selection unit 106, an information receiving unit 107, a contact position identification unit 108, a state determination unit 109, a type determination unit 110, an area determination unit 113, a makeup part generation unit 114, and a makeup part holding unit 115. The instruction device 30 functionally includes a contact detection unit 301 and an information transmission unit 302.

画像取得部102は、本発明における画像取得手段の一例である。表示制御部103は、本発明における表示制御手段の一例である。表示部104は、本発明における表示手段の一例である。操作受付部105は、本発明における操作受付手段の一例である。接触位置特定部108は、本発明における接触位置特定手段の一例である。種別判別部110は、本発明における種別判別手段の一例である。領域決定部113は、本発明における領域決定手段の一例である。 The image acquisition unit 102 is an example of an image acquisition means in the present invention. The display control unit 103 is an example of a display control means in the present invention. The display unit 104 is an example of a display means in the present invention. The operation reception unit 105 is an example of an operation reception means in the present invention. The contact position identification unit 108 is an example of a contact position identification means in the present invention. The type discrimination unit 110 is an example of a type discrimination means in the present invention. The area determination unit 113 is an example of an area determination means in the present invention.

撮像部101は、ユーザの顔を含む範囲を撮像し、この範囲を表す撮像画像を生成する。図5に、ユーザがメイクシミュレーション装置100を用いてメイクのシミュレーションをするために、画像処理装置10が備える第1のタッチスクリーン14に向かい合っている様子を示す。撮像部101は、図5において破線で示す視野の内側の範囲、具体的には、第1のタッチスクリーン14に向かい合っているユーザの顔を含む範囲を撮像する。 The imaging unit 101 captures an image of an area including the user's face and generates an image representing this area. FIG. 5 shows a state in which a user faces a first touch screen 14 provided in the image processing device 10 to simulate makeup using the makeup simulation device 100. The imaging unit 101 captures an image of the area inside the field of view indicated by the dashed line in FIG. 5, specifically, an area including the face of the user facing the first touch screen 14.

従って、撮像部101を実現するためのカメラ13の設置位置及び光軸の向きは、第1のタッチスクリーン14に向かい合うユーザの顔がカメラ13の視野に含まれるように調整される。撮像部101は、画像処理装置10がユーザにより使用されている間、継続的に、ユーザの顔を撮像して撮像画像を生成する処理を実行する。撮像部101の機能は、例えば、プロセッサ11とカメラ13とが協働することにより実現される。 The installation position and the direction of the optical axis of the camera 13 for realizing the imaging unit 101 are therefore adjusted so that the face of the user facing the first touch screen 14 is included in the field of view of the camera 13. The imaging unit 101 continuously executes a process of capturing images of the user's face and generating a captured image while the image processing device 10 is being used by the user. The function of the imaging unit 101 is realized, for example, by the processor 11 and the camera 13 working together.

画像取得部102は、撮像部101が生成した撮像画像を取得する。この撮像画像は、第1の顔画像と第2の顔画像とのうちのいずれかである。第1の顔画像は、顔パーツが第1の状態であるときに撮像されたユーザの顔画像である。第2の顔画像は、顔パーツが第2の状態であるときに撮像されたユーザの顔画像である。この顔パーツは、例えば、顔に含まれるパーツのうち、状態が大きく変化する顔パーツである。 The image acquisition unit 102 acquires the captured image generated by the imaging unit 101. This captured image is either a first face image or a second face image. The first face image is a face image of the user captured when the facial parts are in a first state. The second face image is a face image of the user captured when the facial parts are in a second state. This facial part is, for example, one of the parts included in the face whose state changes significantly.

本実施形態では、メイクが施される目が左目であり、顔パーツは、左目の上瞼である。以下、適宜、左目の上瞼のことを単に上瞼という。第2の状態は、第1の状態とは異なる状態である。例えば、第1の状態が閉状態である場合は第2の状態が開状態であり、第1の状態が開状態である場合は第2の状態が閉状態である。本実施形態では、第1の状態が閉状態であり、第2の状態が開状態である。本実施形態では、第1の顔画像は、ユーザが左目を閉じているときに撮像されたユーザの顔の撮像画像であり、第2の顔画像は、ユーザが左目を開けているときに撮像されたユーザの顔の撮像画像である。以下、適宜、第1の顔画像を目閉じ画像といい、第2の顔画像を目開き画像という。画像取得部102の機能は、例えば、プロセッサ11の機能により実現される。 In this embodiment, the eye to which makeup is applied is the left eye, and the facial feature is the upper eyelid of the left eye. Hereinafter, the upper eyelid of the left eye is simply referred to as the upper eyelid, where appropriate. The second state is a state different from the first state. For example, when the first state is a closed state, the second state is an open state, and when the first state is an open state, the second state is a closed state. In this embodiment, the first state is a closed state, and the second state is an open state. In this embodiment, the first face image is a captured image of the user's face captured when the user has his/her left eye closed, and the second face image is a captured image of the user's face captured when the user has his/her left eye open. Hereinafter, the first face image is referred to as an image of closed eyes, and the second face image is referred to as an image of open eyes, where appropriate. The function of the image acquisition unit 102 is realized, for example, by the function of the processor 11.

表示制御部103は、表示部104による画像の表示を制御する。具体的には、表示制御部103は、表示部104が備える第1の表示領域に、画像取得部102により取得された撮像画像を表示する。第1の表示領域は、例えば、第1のタッチスクリーン14に対応する表示領域である。このように、表示制御部103は、ユーザの顔の様子をリアルタイムで表示する。このため、ユーザは、表示部104が備える第1の表示領域に表示された自分の顔画像を鏡に映った顔のように確認しながら、メイクをシミュレーションすることができる。 The display control unit 103 controls the display of the image by the display unit 104. Specifically, the display control unit 103 displays the captured image acquired by the image acquisition unit 102 in a first display area provided in the display unit 104. The first display area is, for example, a display area corresponding to the first touch screen 14. In this way, the display control unit 103 displays the appearance of the user's face in real time. Therefore, the user can simulate makeup application while checking the image of his or her own face displayed in the first display area provided in the display unit 104 as if it were his or her face reflected in a mirror.

また、表示制御部103は、表示部104が備える第2の表示領域に、化粧品を表現する化粧品画像を表示する。第2の表示領域は、第1の表示領域とは異なる表示領域であり、例えば、第2のタッチスクリーン15に対応する表示領域である。化粧品画像は、メイクシミュレーションにおいて、ユーザの顔に仮想的に塗布される化粧品を視覚的に表現する画像である。表示制御部103は、図6に示すように、化粧品画像として、複数の化粧品を表現する画像を表示する。なお、図6は、画像処理装置10が備える第2のタッチスクリーン15に対してユーザが指示装置30を用いて操作している様子を示している。 The display control unit 103 also displays a cosmetic image representing the cosmetic in a second display area provided on the display unit 104. The second display area is a display area different from the first display area, and is, for example, a display area corresponding to the second touch screen 15. The cosmetic image is an image that visually represents the cosmetic virtually applied to the user's face in the makeup simulation. As shown in FIG. 6, the display control unit 103 displays images representing multiple cosmetic products as the cosmetic image. Note that FIG. 6 shows how the user operates the second touch screen 15 provided on the image processing device 10 using the pointing device 30.

ここで、複数の化粧品のそれぞれは、色、光沢、質感等が少なくとも1つ相違する化粧品である。複数の化粧品を表現する画像は、第2の表示領域内における互いに異なる領域に表示される。ユーザは、化粧品画像を参照して複数の化粧品からメイクシミュレーションを望む化粧品を選択して使用することができる。なお、化粧品画像を示す画像は、フラッシュメモリ12に記憶されている。このように、ユーザの顔を表す撮像画像が第1の表示領域に表示され、化粧品画像が第2の表示領域に表示されることにより、ユーザは、画像処理装置10を化粧品のパレットのように取り扱うことができる。なお、本実施形態では、化粧品はアイシャドーである。表示制御部103の機能は、例えば、プロセッサ11の機能により実現される。 Here, each of the multiple cosmetics differs in at least one aspect, such as color, gloss, or texture. Images representing the multiple cosmetics are displayed in different areas within the second display area. The user can refer to the cosmetic image and select from the multiple cosmetics the cosmetic for which they wish to perform a makeup simulation and use it. The images representing the cosmetic images are stored in the flash memory 12. In this way, a captured image representing the user's face is displayed in the first display area, and the cosmetic image is displayed in the second display area, allowing the user to treat the image processing device 10 as a palette of cosmetics. In this embodiment, the cosmetics are eye shadows. The functions of the display control unit 103 are realized, for example, by the functions of the processor 11.

表示部104は、表示制御部103による制御に従って画像を表示する。具体的には、表示部104は、第1の表示領域に第1の顔画像又は第2の顔画像を表示し、第2の表示領域に化粧品画像を表示する。表示部104の機能は、例えば、プロセッサ11と第1のタッチスクリーン14と第2のタッチスクリーン15とが協働することにより実現される。 The display unit 104 displays an image according to the control of the display control unit 103. Specifically, the display unit 104 displays a first face image or a second face image in the first display area, and displays a cosmetic image in the second display area. The function of the display unit 104 is realized, for example, by the processor 11, the first touch screen 14, and the second touch screen 15 working together.

操作受付部105は、表示部104が第2の表示領域に化粧品画像を表示しているときに、指示装置30を用いた第2の表示領域への接触を伴うユーザ操作を受け付ける。図6に、ユーザが、手に把持した指示装置30の先端部を、第2のタッチスクリーン15の表面に接触させている様子を示す。指示装置30の先端部を第2のタッチスクリーン15の表面に接触させる動作は、化粧用のパレットに収納されている化粧品を化粧筆の先端部に付着させる動作を模擬した動作である。操作受付部105は、例えば、第2の表示領域上における接触位置を示す接触位置情報を化粧品選択部106に送信する。操作受付部105の機能は、例えば、プロセッサ11と第2のタッチスクリーン15とが協働することにより実現される。 The operation acceptance unit 105 accepts a user operation involving contact with the second display area using the pointing device 30 when the display unit 104 is displaying a cosmetic image in the second display area. FIG. 6 shows a state in which a user touches the tip of the pointing device 30 held in the hand to the surface of the second touch screen 15. The action of touching the tip of the pointing device 30 to the surface of the second touch screen 15 is an action simulating the action of applying cosmetics stored in a cosmetic palette to the tip of a cosmetic brush. The operation acceptance unit 105 transmits, for example, contact position information indicating the contact position on the second display area to the cosmetic selection unit 106. The function of the operation acceptance unit 105 is realized, for example, by cooperation between the processor 11 and the second touch screen 15.

化粧品選択部106は、操作受付部105が受け付けたユーザ操作に基づいて、メイクシミュレーションで用いる化粧品を選択する。具体的には、化粧品選択部106は、操作受付部105から受信した接触位置情報と、フラッシュメモリ12に記憶されている配置情報とに基づいて、ユーザが選択した化粧品を特定する。配置情報は、第2の表示領域内における各化粧品の配置を示す情報であり、化粧品を表す画像が表示される領域の座標を表す情報である。化粧品選択部106の機能は、例えば、プロセッサ11の機能により実現される。 The cosmetics selection unit 106 selects cosmetics to be used in the makeup simulation based on the user operation received by the operation reception unit 105. Specifically, the cosmetics selection unit 106 identifies the cosmetics selected by the user based on the contact position information received from the operation reception unit 105 and the arrangement information stored in the flash memory 12. The arrangement information is information that indicates the arrangement of each cosmetic product in the second display area, and is information that indicates the coordinates of the area where an image representing the cosmetic product is displayed. The function of the cosmetics selection unit 106 is realized, for example, by the function of the processor 11.

接触検知部301は、指示装置30の先端部に何らかの物体が接触しているか否かを検知する。接触検知部301は、指示装置30の先端部に加わる圧力を検知し、検知した圧力に基づいて、接触の有無を判別する。例えば、接触検知部301は、接触を検知した場合、接触時間を示す情報である接触情報を情報送信部302に送信する。接触検知部301の機能は、例えば、プロセッサ31と圧力センサ33とが協働することにより実現される。 The contact detection unit 301 detects whether or not an object is in contact with the tip of the pointing device 30. The contact detection unit 301 detects pressure applied to the tip of the pointing device 30, and determines whether or not there is contact based on the detected pressure. For example, when the contact detection unit 301 detects contact, it transmits contact information indicating the contact time to the information transmission unit 302. The function of the contact detection unit 301 is realized, for example, by the processor 31 and the pressure sensor 33 working together.

情報送信部302は、接触検知部301が生成した接触情報を、画像処理装置10に送信する。情報送信部302の機能は、例えば、プロセッサ31と通信インターフェース34とが協働することにより実現される。 The information transmission unit 302 transmits the contact information generated by the contact detection unit 301 to the image processing device 10. The function of the information transmission unit 302 is realized, for example, by the processor 31 and the communication interface 34 working together.

情報受信部107は、指示装置30から接触情報を受信する。情報受信部107の機能は、例えば、プロセッサ11と通信インターフェース16とが協働することにより実現される。 The information receiving unit 107 receives contact information from the instruction device 30. The function of the information receiving unit 107 is realized, for example, by the processor 11 and the communication interface 16 working together.

接触位置特定部108は、操作受付部105がユーザ操作を受け付けた後、表示部104が第1の顔画像を表示しているときに指示装置30がユーザの顔に接触した場合、第1の顔画像に基づいて、ユーザの顔における指示装置30が接触した接触位置を特定する。接触位置特定部108は、指示装置30の先端部が何らかの物体に接触しているときに、第1の顔画像上において指示装置30がユーザの顔と重なっている場合、指示装置30がユーザの顔に接触したと判別する。 When the instruction device 30 comes into contact with the user's face while the display unit 104 is displaying the first face image after the operation receiving unit 105 receives a user operation, the contact position identifying unit 108 identifies the contact position on the user's face where the instruction device 30 has come into contact based on the first face image. When the tip of the instruction device 30 is in contact with an object and the instruction device 30 overlaps with the user's face on the first face image, the contact position identifying unit 108 determines that the instruction device 30 has come into contact with the user's face.

なお、接触位置特定部108は、情報受信部107から供給された接触情報に基づいて、指示装置30の先端部が何らかの物体に接触している期間を特定することができる。また、接触位置特定部108は、指示装置30がユーザの顔に接触している期間に取得された第1の顔画像内における指示装置30の位置から、上記接触位置を特定することができる。接触位置特定部108の機能は、例えば、プロセッサ11の機能により実現される。 The contact position identification unit 108 can identify the period during which the tip of the pointing device 30 is in contact with some object based on the contact information supplied from the information receiving unit 107. The contact position identification unit 108 can also identify the contact position from the position of the pointing device 30 in the first face image acquired during the period during which the pointing device 30 is in contact with the user's face. The function of the contact position identification unit 108 is realized, for example, by the function of the processor 11.

状態判別部109は、ユーザの顔の特定の顔パーツの状態を判別する。具体的には、状態判別部109は、ユーザの左目の上瞼の状態が閉状態であるのか開状態であるのか、言い換えれば、画像取得部102により取得された撮像画像が第1の顔画像であるのか第2の顔画像であるのかを判別する。上瞼の状態は、目の状態とも言える。そこで、状態判別部109は、撮像画像におけるユーザの左目が閉じているか開いているかを判別する。目の状態を判別する手法は、適宜、調整することができる。 The state determination unit 109 determines the state of a specific facial part of the user's face. Specifically, the state determination unit 109 determines whether the state of the upper eyelid of the user's left eye is closed or open, in other words, whether the captured image acquired by the image acquisition unit 102 is a first face image or a second face image. The state of the upper eyelid can also be said to be the state of the eyes. Therefore, the state determination unit 109 determines whether the user's left eye in the captured image is closed or open. The method of determining the state of the eyes can be adjusted as appropriate.

例えば、状態判別部109は、撮像画像内における顔画像の位置を特定し、顔画像内における左目の近傍の画像である左目画像の位置を特定し、左目画像内に瞳を表す円形の画像があるか否かを判別する。状態判別部109は、円形の画像がないと判別した場合、ユーザの左目の上瞼の状態が閉状態であると判別する。状態判別部109は、円形の画像があると判別した場合、ユーザの左目の上瞼の状態が開状態であると判別する。状態判別部109の機能は、例えば、プロセッサ11の機能により実現される。 For example, the state determination unit 109 identifies the position of the face image in the captured image, identifies the position of the left eye image, which is an image near the left eye, in the face image, and determines whether or not a circular image representing an pupil is present in the left eye image. If the state determination unit 109 determines that there is no circular image, it determines that the state of the upper eyelid of the user's left eye is closed. If the state determination unit 109 determines that there is a circular image, it determines that the state of the upper eyelid of the user's left eye is open. The function of the state determination unit 109 is realized, for example, by the function of the processor 11.

種別判別部110は、画像取得部102により取得された第1の顔画像と第2の顔画像とのうちの少なくとも一方に基づいて、ユーザの顔パーツの種別を判別する。具体的には、種別判別部110は、目閉じ画像と目開き画像とのうちの少なくとも一方に基づいて、ユーザの左目の上瞼の種別が一重と二重と奥二重とのいずれであるのかを判別する。なお、上瞼の種別が一重であることは上瞼が一重瞼であることと同義であり、上瞼の種別が二重であることは上瞼が二重瞼であることと同義であり、上瞼の種別が奥二重であることは上瞼が奥二重瞼であることと同義である。本実施形態では、目開き画像から上瞼の種別を判別するものとする。種別判別部110の機能は、例えば、プロセッサ11の機能により実現される。種別判別部110は、ライン検出部111と、ライン判別部112とを備える。ライン検出部111は、本発明におけるライン検出手段の一例である。ライン判別部112は、本発明におけるライン判別手段の一例である。 The type discrimination unit 110 discriminates the type of the user's facial features based on at least one of the first face image and the second face image acquired by the image acquisition unit 102. Specifically, the type discrimination unit 110 discriminates whether the type of the upper eyelid of the user's left eye is single, double, or deep-set eyelid based on at least one of the closed eye image and the open eye image. Note that the type of the upper eyelid being single is synonymous with the upper eyelid being single-set eyelid, the type of the upper eyelid being double is synonymous with the upper eyelid being double-set eyelid, and the type of the upper eyelid being deep-set eyelid is synonymous with the upper eyelid being deep-set eyelid. In this embodiment, the type of the upper eyelid is discriminated from the open eye image. The function of the type discrimination unit 110 is realized, for example, by the function of the processor 11. The type discrimination unit 110 includes a line detection unit 111 and a line discrimination unit 112. The line detection unit 111 is an example of a line detection means in the present invention. The line discrimination unit 112 is an example of a line discrimination means in the present invention.

ライン検出部111は、画像取得部102により取得された第2の顔画像から、二重瞼又は奥二重瞼の溝を表す第1のラインを検出する。また、ライン検出部111は、画像取得部102により取得された第2の顔画像から、上瞼と目との境界の粘膜部分を表す第2のラインを検出する。第1のラインと第2のラインとを検出する方法は、適宜、調整することができる。以下、図7を参照して、目開き画像内における左目の周囲の画像から12本のラインを検出し、12本のラインから第1のラインと第2のラインとを特定する方法について説明する。 The line detection unit 111 detects a first line representing the groove of a double eyelid or deep double eyelid from the second face image acquired by the image acquisition unit 102. The line detection unit 111 also detects a second line representing the mucous membrane portion at the boundary between the upper eyelid and the eye from the second face image acquired by the image acquisition unit 102. The method of detecting the first and second lines can be adjusted as appropriate. Below, with reference to FIG. 7, a method of detecting 12 lines from the image around the left eye in the eye-open image and identifying the first and second lines from the 12 lines will be described.

図7に示すように、目開き画像内における左目の周囲の画像からは、ラインL1-L12の合計12本のラインが検出可能である。なお、図7には、第1のタッチスクリーン14に表示される目開き画像のうち左目の周囲の画像を示している。ラインL1は、眉頭を表すラインである。ラインL2は、眉頭から眉山に向けて延びるラインのうち眉の上側の境界を表すラインである。ラインL3は、眉山から眉尻に向けて延びるラインのうち眉の上側の境界を表すラインである。ラインL4は、眉頭から眉山に向けて延びるラインのうち眉の下側の境界を表すラインである。ラインL5は、眉山から眉尻に向けて延びるラインのうち眉の下側の境界を表すラインである。 As shown in FIG. 7, a total of 12 lines, lines L1-L12, can be detected from the image around the left eye in the open-eye image. Note that FIG. 7 shows the image around the left eye in the open-eye image displayed on the first touch screen 14. Line L1 is a line that represents the head of the eyebrow. Line L2 is a line that represents the upper boundary of the eyebrow among the lines that extend from the head of the eyebrow to the brow arch. Line L3 is a line that represents the upper boundary of the eyebrow among the lines that extend from the brow arch to the end of the eyebrow. Line L4 is a line that represents the lower boundary of the eyebrow among the lines that extend from the head of the eyebrow to the brow arch. Line L5 is a line that represents the lower boundary of the eyebrow among the lines that extend from the brow arch to the end of the eyebrow.

ラインL6は、目の上側の境界を表すフレームラインのうち粘膜側のラインである。ラインL6は、第2のラインである。ラインL7は、目の上側の境界を表すフレームラインのうちまつげ側のラインである。ラインL8は、目の下側の境界を表すフレームラインのうち粘膜側のラインである。ラインL9は、目の下側の境界を表すフレームラインのうちまつげ側のラインである。ラインL10は、二重瞼又は奥二重瞼の溝を表すラインである。ラインL10は、第1のラインである。ラインL11は、目頭から目尻に向けて伸びるアイホールと呼ばれるラインのうち上側のラインである。ラインL12は、目頭から目尻に向けて伸びるアイホールと呼ばれるラインのうち下側のラインである。 Line L6 is the line on the mucous membrane side of the frame lines that represent the upper boundary of the eye. Line L6 is the second line. Line L7 is the line on the eyelash side of the frame lines that represent the upper boundary of the eye. Line L8 is the line on the mucous membrane side of the frame lines that represent the lower boundary of the eye. Line L9 is the line on the eyelash side of the frame lines that represent the lower boundary of the eye. Line L10 is a line that represents the groove of a double eyelid or deep double eyelid. Line L10 is the first line. Line L11 is the upper line of the line called the eyehole that extends from the inner corner of the eye to the outer corner of the eye. Line L12 is the lower line of the line called the eyehole that extends from the inner corner of the eye to the outer corner of the eye.

これらの12本のラインは、例えば、他のラインとの位置関係などを考慮して、検知しやすいラインから順に求めることが好適である。例えば、眉の上側の境界を示すラインであるラインL2と、眉の下側の境界を示すラインであるラインL4とは、比較的容易に検知しやすいと考えられる。また、目の上側の境界を示す2つのラインであるラインL6及びラインL7と、目の下側の境界を示す2つのラインであるラインL8及びラインL9とは、比較的容易に検知しやすいと考えられる。そこで、まず、これらの6本のラインを検知することが好適である。 It is preferable to determine these 12 lines in order of ease of detection, taking into consideration, for example, their positional relationship with the other lines. For example, line L2, which indicates the upper boundary of the eyebrows, and line L4, which indicates the lower boundary of the eyebrows, are considered to be relatively easy to detect. Furthermore, lines L6 and L7, which are the two lines indicating the upper boundary of the eye, and lines L8 and L9, which are the two lines indicating the lower boundary of the eye, are considered to be relatively easy to detect. Therefore, it is preferable to detect these six lines first.

ここで、ラインL4とラインL7との間の領域で検知される可能性のラインは、ラインL10とラインL11との2本のラインである。このため、この領域に存在するラインのうち上側のラインをラインL11として検知し、この領域に存在するラインのうち下側のラインをラインL10として検知することができる。なお、ラインL10は、二重瞼又は奥二重の溝を表すラインである。このため、一重瞼のユーザの顔を撮像した撮像画像からは、ラインL10は検知されない。ライン検出部111の機能は、例えば、プロセッサ11の機能により実現される。 Here, the two lines that may be detected in the area between lines L4 and L7 are lines L10 and L11. Therefore, the upper line among the lines present in this area can be detected as line L11, and the lower line among the lines present in this area can be detected as line L10. Note that line L10 is a line that represents a double eyelid or a deep double eyelid. Therefore, line L10 will not be detected in an image capturing the face of a user with single eyelids. The function of the line detection unit 111 is realized, for example, by the function of the processor 11.

ライン判別部112は、ライン検出部111により第1のラインが検出されない場合、ユーザの上瞼が一重瞼であると判別する。また、ライン判別部112は、ライン検出部111により第1のラインが検出された場合、ユーザの上瞼が一重瞼でないと判別する。また、ライン判別部112は、ライン検出部111により検出された第1のラインと第2のラインとに基づいて、ユーザの上瞼が一重瞼と二重瞼と奥二重瞼とのうちのいずれであるのかを判別する。 If the first line is not detected by the line detection unit 111, the line discrimination unit 112 determines that the user's upper eyelid is single eyelid. Also, if the first line is detected by the line detection unit 111, the line discrimination unit 112 determines that the user's upper eyelid is not single eyelid. Also, based on the first line and the second line detected by the line detection unit 111, the line discrimination unit 112 determines whether the user's upper eyelid is single eyelid, double eyelid, or deep double eyelid.

つまり、ライン判別部112は、第1のラインが検出された場合、第1のラインと第2のラインとに基づいて、ユーザの上瞼が二重瞼と奥二重瞼とのうちのいずれであるのかを判別する。具体的には、ライン判別部112は、第1のラインと第2のラインとに挟まれる隙間領域の顔の幅方向における長さが閾値以上である場合、ユーザの上瞼が二重瞼であると判別する。そして、ライン判別部112は、この長さが閾値未満である場合、ユーザの上瞼が奥二重瞼であると判別する。 In other words, when the first line is detected, the line discrimination unit 112 discriminates whether the user's upper eyelid is a double eyelid or a deep double eyelid based on the first line and the second line. Specifically, the line discrimination unit 112 determines that the user's upper eyelid is a double eyelid if the length in the width direction of the face of the gap area between the first line and the second line is equal to or greater than a threshold value. Then, the line discrimination unit 112 determines that the user's upper eyelid is a deep double eyelid if this length is less than the threshold value.

以下、図8を参照して、隙間領域に基づいて上瞼の種別を判別する方法について説明する。図8(A)は、一重瞼の特徴を示す図である。図8(B)は、二重瞼の特徴を示す図である。図8(C)は、奥二重瞼の特徴を示す図である。 Below, we will explain a method for determining the type of upper eyelid based on the gap area with reference to Figure 8. Figure 8 (A) is a diagram showing the characteristics of a single eyelid. Figure 8 (B) is a diagram showing the characteristics of a double eyelid. Figure 8 (C) is a diagram showing the characteristics of a deep double eyelid.

図8(A)に示すように、ユーザの左目の上瞼が一重瞼である場合、第1のラインであるラインL6Aは検出されるが、第2のラインであるラインL10は検出されない。図8(B)に示すように、ユーザの左目の上瞼が二重瞼である場合、第1のラインであるラインL6Bと第2のラインであるラインL10Bとが検出される。また、図8(C)に示すように、ユーザの左目の上瞼が奥二重瞼である場合、第1のラインであるラインL6Cと第2のラインであるラインL10Cとが検出される。なお、ラインL6AとラインL6BとラインL6Cとを総称して適宜ラインL6といい、ラインL10BとラインL10Cとを総称して適宜ラインL10という。ここで、二重瞼と奥二重瞼とでは、ラインL6とラインL10との位置関係が異なり、ラインL6とラインL10との挟まれた領域である隙間領域の形状や大きさが異なる。そこで、ライン判別部112は、この隙間領域の形状や大きさに基づいて、上瞼が二重瞼と奥二重瞼とのいずれであるのかを判別する。 As shown in FIG. 8(A), if the upper eyelid of the user's left eye is single eyelid, the first line, line L6A, is detected, but the second line, line L10, is not detected. As shown in FIG. 8(B), if the upper eyelid of the user's left eye is double eyelid, the first line, line L6B, and the second line, line L10B, are detected. Also, as shown in FIG. 8(C), if the upper eyelid of the user's left eye is deep double eyelid, the first line, line L6C, and the second line, line L10C, are detected. Note that lines L6A, L6B, and L6C are collectively referred to as lines L6, and lines L10B and L10C are collectively referred to as lines L10. Here, the positional relationship between lines L6 and L10 differs between double eyelids and deep double eyelids, and the shape and size of the gap area between lines L6 and L10 differ. Therefore, the line discrimination unit 112 discriminates whether the upper eyelid is a double eyelid or deep double eyelid based on the shape and size of this gap area.

本実施形態では、理解を容易にするため、ラインL6とラインL10とがほぼ重なる部分の領域、言い換えれば、ラインL6とラインL10との距離が極めて短い部分の領域は、隙間領域とは見做さない。つまり、本実施形態では、厳密には、隙間領域は、ラインL6とラインL10とに挟まれた領域のうち、ラインL6とラインL10との距離が閾値以上である領域である。 In this embodiment, for ease of understanding, the area where line L6 and line L10 almost overlap, in other words the area where the distance between line L6 and line L10 is extremely short, is not considered to be a gap area. In other words, strictly speaking, in this embodiment, the gap area is the area between line L6 and line L10 where the distance between line L6 and line L10 is equal to or greater than a threshold value.

図8(B)に示すように、上瞼が二重瞼である場合、隙間領域である領域E1は、顔の幅方向に細長く延びた三日月のような形状を有する領域である。領域E1の顔の幅方向における長さ(以下、適宜、単に「長さ」という。)をW1とする。領域E1は、ラインL6B及びラインL10Bの両端同士を結んだときに囲われる領域である。具体的には、領域E1は、ラインL6Bの一端とラインL10Bの一端とを結ぶラインと、ラインL6Bと、ラインL6Bの他端とラインL10Bの他端とを結ぶラインと、ラインL10Bとの4つのラインにより囲まれた領域である。 As shown in FIG. 8(B), when the upper eyelid is a double eyelid, region E1, which is the gap region, is a region that has a crescent shape that is elongated in the width direction of the face. The length of region E1 in the width direction of the face (hereinafter, simply referred to as "length") is W1. Region E1 is a region enclosed when both ends of line L6B and line L10B are connected. Specifically, region E1 is a region enclosed by four lines: a line connecting one end of line L6B and one end of line L10B, line L6B, a line connecting the other end of line L6B and the other end of line L10B, and line L10B.

一方、図8(C)に示すように、上瞼が奥二重瞼である場合、隙間領域である領域E2は、顔の幅方向に一つの頂点が延びた三角形のような形状を有する領域である。領域E2の顔の幅方向における長さをW2とする。領域E2は、ラインL6C及びラインL10Cの両端同士を結んだときに囲われる領域である。具体的には、領域E2は、ラインL6Cの一端とラインL10Cの一端とを結ぶラインと、ラインL6Cと、ラインL6Cの他端とラインL10Cの他端とを結ぶラインと、ラインL10Cとの4つのラインにより囲まれた領域である。ライン判別部112は、検出された隙間領域が、領域E1と領域E2とのいずれと近似するのかを判別することにより、上瞼が二重瞼と奥二重瞼とのいずれであるのかを判別することが好適である。 On the other hand, as shown in FIG. 8C, when the upper eyelid is a deep double eyelid, the gap area E2 is a triangular area with one vertex extending in the width direction of the face. The length of area E2 in the width direction of the face is W2. Area E2 is an area enclosed when both ends of line L6C and line L10C are connected. Specifically, area E2 is an area enclosed by four lines: a line connecting one end of line L6C and one end of line L10C, line L6C, a line connecting the other end of line L6C and the other end of line L10C, and line L10C. The line discrimination unit 112 preferably determines whether the upper eyelid is a double eyelid or a deep double eyelid by determining whether the detected gap area is similar to area E1 or area E2.

本実施形態では、領域E1と領域E2とでは、顔の幅方向における長さが大きく異なる点を上瞼の判別に用いる。つまり、ライン判別部112は、隙間領域の長さが予め定められた閾値以上である場合に上瞼が二重瞼であると判別し、隙間領域の長さがこの閾値未満である場合に上瞼が奥二重瞼であると判別する。この閾値は、例えば、目の長さの半分程度の長さである。ライン判別部112の機能は、例えば、プロセッサ11の機能により実現される。 In this embodiment, the fact that the lengths of areas E1 and E2 in the width direction of the face are significantly different is used to determine the upper eyelid. In other words, the line determination unit 112 determines that the upper eyelid is a double eyelid if the length of the gap area is equal to or greater than a predetermined threshold, and determines that the upper eyelid is a deep double eyelid if the length of the gap area is less than this threshold. This threshold is, for example, about half the length of the eye. The function of the line determination unit 112 is realized, for example, by the function of the processor 11.

領域決定部113は、表示部104が第1の顔画像を表示しているときにユーザが実行したメイク動作に基づいて、第1の顔画像上における第1のメイク領域を決定する。第1のメイク領域は、第1のメイクパーツが重ねられる領域である。第1のメイクパーツは、擬似的に顔に塗布された化粧品を表す画像であり、第1の顔画像に重ねられる画像である。メイク動作は、ユーザが指示装置30を用いて、擬似的に顔に化粧品を塗布する動作である。領域決定部113は、接触位置特定部108により特定された接触位置に基づいて、第1の顔画像上における第1のメイク領域を決定する。例えば、領域決定部113は、目を閉じたユーザのメイク動作に起因して特定された接触位置に対応する領域を、目閉じ画像上における目閉じ用メイクパーツが重ねられる目閉じ用メイク領域に決定する。 The area determination unit 113 determines a first makeup area on the first face image based on the makeup action performed by the user while the display unit 104 is displaying the first face image. The first makeup area is an area on which the first makeup parts are superimposed. The first makeup parts are images representing cosmetics applied to the face in a simulated manner, and are images superimposed on the first face image. The makeup action is an action in which the user applies cosmetics to the face in a simulated manner using the instruction device 30. The area determination unit 113 determines the first makeup area on the first face image based on the contact position identified by the contact position identification unit 108. For example, the area determination unit 113 determines an area corresponding to the contact position identified due to the makeup action of the user with the eyes closed as the closed eyes makeup area on the closed eyes image on which the closed eyes makeup parts are superimposed.

また、領域決定部113は、上記メイク動作と種別判別部110により判別された顔パーツの種別とに基づいて、第2の顔画像上における第2のメイク領域を決定する。第2のメイク領域は、第1のメイク領域とは異なる領域であり、第2のメイクパーツが重ねられる領域である。第2のメイクパーツは、擬似的に顔に塗布された化粧品を表す画像であり、第2の顔画像に重ねられる画像である。例えば、領域決定部113は、目閉じ用メイク領域を顔パーツの種別に応じて変化させた領域を、目開き用メイク領域に決定する。 The area determination unit 113 also determines a second makeup area on the second face image based on the makeup action and the type of face part determined by the type determination unit 110. The second makeup area is an area different from the first makeup area, and is an area onto which the second makeup part is superimposed. The second makeup part is an image that represents cosmetics applied to the face in a simulated manner, and is an image that is superimposed on the second face image. For example, the area determination unit 113 determines an area obtained by changing the closed-eye makeup area according to the type of face part as the open-eye makeup area.

具体的には、領域決定部113は、種別判別部110によりユーザの上瞼が一重瞼であると判別された場合、第2のメイク領域として第1の大きさを有する領域を決定する。そして、領域決定部113は、種別判別部110によりユーザの上瞼が一重瞼でないと判別された場合、第2のメイク領域として第1の大きさよりも小さい大きさを有する領域を決定する。 Specifically, when the type discrimination unit 110 determines that the user's upper eyelid is a single eyelid, the area determination unit 113 determines an area having a first size as the second makeup area. When the type discrimination unit 110 determines that the user's upper eyelid is not a single eyelid, the area determination unit 113 determines an area having a size smaller than the first size as the second makeup area.

より詳細には、領域決定部113は、種別判別部110によりユーザの上瞼が二重瞼であると判別された場合、第2のメイク領域として第1の大きさよりも小さい第2の大きさを有する領域を決定する。そして、領域決定部113は、種別判別部110によりユーザの上瞼が奥二重瞼であると判別された場合、第2のメイク領域として第2の大きさよりも小さい第3の大きさを有する領域を決定する。つまり、目閉じ用メイク領域の大きさが同じでも、目開き用メイク領域の大きさは、一重瞼、二重瞼、奥二重瞼の順に小さくなる。 More specifically, when the type discrimination unit 110 determines that the user's upper eyelid is a double eyelid, the area determination unit 113 determines an area having a second size smaller than the first size as the second makeup area. When the type discrimination unit 110 determines that the user's upper eyelid is a deep double eyelid, the area determination unit 113 determines an area having a third size smaller than the second size as the second makeup area. In other words, even if the size of the makeup area for closed eyes is the same, the size of the makeup area for open eyes decreases in the order of single eyelid, double eyelid, and deep double eyelid.

図9に、ユーザが目を閉じながら模擬的にメイクする様子を示す。図9は、目閉じ画像が取得されているときに検知された接触位置から、目閉じ用メイク領域である領域E3が決定された様子を示している。ここで、領域決定部113は、目閉じ用メイク領域に基づいて、目開き用メイク領域を決定することができる。例えば、領域決定部113は、目閉じ用メイク領域から目に対応する領域を除外した残りの領域を、目開き用メイク領域として決定することができる。 Figure 9 shows how a user applies makeup simulated with their eyes closed. Figure 9 also shows how area E3, which is the makeup area for closed eyes, is determined from the contact position detected when the closed eyes image is acquired. Here, area determination unit 113 can determine the makeup area for open eyes based on the makeup area for closed eyes. For example, area determination unit 113 can determine the remaining area after excluding the area corresponding to the eyes from the makeup area for closed eyes as the makeup area for open eyes.

ここで、領域決定部113は、上瞼の種別に応じて、目開き用メイク領域の大きさを調整する。具体的には、領域決定部113は、上瞼が一重瞼であるときに目開き用メイク領域の大きさが最も大きく、上瞼が二重瞼であるときに目開き用メイク領域の大きさが中程度の大きさであり、上瞼が奥二重瞼であるときに目開き用メイク領域の大きさが最も小さくなるように、目開き用メイク領域の大きさを調整する。例えば、領域決定部113は、上瞼が一重瞼であるときの目開き用メイク領域を基準として、目開き用メイク領域の大きさを小さくする。 Here, the region determination unit 113 adjusts the size of the eye-opening makeup region depending on the type of upper eyelid. Specifically, the region determination unit 113 adjusts the size of the eye-opening makeup region so that the size of the eye-opening makeup region is largest when the upper eyelid is a single eyelid, is medium-sized when the upper eyelid is a double eyelid, and is smallest when the upper eyelid is a deep double eyelid. For example, the region determination unit 113 reduces the size of the eye-opening makeup region based on the size of the eye-opening makeup region when the upper eyelid is a single eyelid.

具体的には、領域決定部113は、図9に示す目閉じ用メイク領域である領域E3から目に対応する領域を除外した残りの領域を、図10(A)に示す一重瞼用目開き用メイク領域である領域E4として決定する。また、領域決定部113は、図10(A)に示す一重瞼用目開き用メイク領域である領域E4を縦方向に縮めた領域を、図10(B)に示す二重瞼用目開き用メイク領域である領域E5として決定する。そして、領域決定部113は、図10(B)に示す二重瞼用目開き用メイク領域である領域E5を縦方向に縮めた領域を、図10(C)に示す奥二重瞼用目開き用メイク領域である領域E6として決定する。 Specifically, the region determination unit 113 determines the remaining region, excluding the region corresponding to the eyes, from region E3, which is the makeup region for closed eyes shown in FIG. 9, as region E4, which is the makeup region for opening eyes for single eyelids shown in FIG. 10(A). Furthermore, the region determination unit 113 determines the region obtained by vertically shrinking region E4, which is the makeup region for opening eyes for single eyelids shown in FIG. 10(A), as region E5, which is the makeup region for opening eyes for double eyelids shown in FIG. 10(B). Then, the region determination unit 113 determines the region obtained by vertically shrinking region E5, which is the makeup region for opening eyes for double eyelids shown in FIG. 10(B), as region E6, which is the makeup region for opening eyes for deep-set double eyelids shown in FIG. 10(C).

このように、領域決定部113は、領域E4が領域E5よりも大きく、領域E5が領域E6よりも大きくなるように、各領域を決定する。より詳細には、領域決定部113は、領域E4の縦方向における幅が領域E5の縦方向における幅よりも広く、領域E5の縦方向における幅が領域E6の縦方向における幅よりも広くなるように、各領域を決定する。この理由は、上瞼の重なりは、一重瞼が最も浅く、二重瞼が中程度の深さであり、奥二重瞼が最も深いためである。言い換えれば、目を開けたときに隠れる上瞼の領域の広さは、一重瞼が最も狭く、二重瞼が中程度の広さであり、奥二重瞼が最も広いためである。 In this way, the region determination unit 113 determines each region such that region E4 is larger than region E5, and region E5 is larger than region E6. More specifically, the region determination unit 113 determines each region such that the vertical width of region E4 is larger than the vertical width of region E5, and the vertical width of region E5 is larger than the vertical width of region E6. This is because the overlap of the upper eyelids is shallowest for single eyelids, medium depth for double eyelids, and deepest for deep double eyelids. In other words, the area of the upper eyelid that is hidden when the eyes are open is narrowest for single eyelids, medium width for double eyelids, and widest for deep double eyelids.

また、領域決定部113は、上瞼の種別を考慮して、目開き用メイク領域に基づいて、目閉じ用メイク領域を決定することができる。具体的には、領域決定部113は、目開き用メイク領域が同じ大きさである場合、一重瞼の目閉じ用メイク領域が最も小さく、二重瞼の目閉じ用メイク領域が中程度の大きさであり、奥二重瞼の目閉じ用メイク領域が最も大きくなるように、目閉じ用メイク領域を決定する。具体的には、領域決定部113は、目開き用メイク領域を決定する手順と逆の手順により目閉じ用メイク領域を決定することができる。 The region determination unit 113 can also determine the makeup region for closed eyes based on the makeup region for open eyes, taking into account the type of upper eyelid. Specifically, when the makeup regions for open eyes are the same size, the region determination unit 113 determines the makeup region for closed eyes such that the makeup region for closed eyes for a single eyelid is the smallest, the makeup region for closed eyes for a double eyelid is of medium size, and the makeup region for closed eyes for a deep double eyelid is the largest. Specifically, the region determination unit 113 can determine the makeup region for closed eyes by using the reverse procedure to that for determining the makeup region for open eyes.

例えば、領域決定部113は、一重瞼の目閉じ用メイク領域である領域E4に目に対応する領域を追加した領域を、目開き用メイク領域である領域E3として決定する。また、領域決定部113は、二重瞼の目閉じ用メイク領域である領域E5を縦方向に少し伸長した領域に目に対応する領域を追加した領域を、目開き用メイク領域である領域E3として決定する。また、領域決定部113は、奥二重瞼の目閉じ用メイク領域である領域E6を縦方向に更に伸長した領域に目に対応する領域を追加した領域を、目開き用メイク領域である領域E3として決定する。領域決定部113の機能は、例えば、プロセッサ11の機能により実現される。 For example, the region determination unit 113 determines the region obtained by adding a region corresponding to the eyes to region E4, which is a makeup region for closed eyes for single eyelids, as region E3, which is a makeup region for open eyes. The region determination unit 113 also determines the region obtained by slightly extending region E5, which is a makeup region for closed eyes for double eyelids, in the vertical direction and adding a region corresponding to the eyes to that region, as region E3, which is a makeup region for open eyes. The region determination unit 113 also determines the region obtained by further extending region E6, which is a makeup region for closed eyes for deep double eyelids, in the vertical direction and adding a region corresponding to the eyes to that region, as region E3, which is a makeup region for open eyes. The function of the region determination unit 113 is realized, for example, by the function of the processor 11.

メイクパーツ生成部114は、第1のメイク領域に重ねるメイクパーツである第1のメイクパーツと、第2のメイク領域に重ねるメイクパーツである第2のメイクパーツとを生成する。メイクパーツ生成部114は、化粧品選択部106により選択された化粧品と領域決定部113により決定された第1のメイク領域とに基づいて、第1のメイクパーツを生成する。また、メイクパーツ生成部114は、化粧品選択部106により選択された化粧品と領域決定部113により決定された第2のメイク領域とに基づいて、第2のメイクパーツを生成する。メイクパーツ生成部114の機能は、例えば、プロセッサ11の機能により実現される。 The makeup part generation unit 114 generates a first makeup part that is a makeup part to be overlaid on the first makeup area, and a second makeup part that is a makeup part to be overlaid on the second makeup area. The makeup part generation unit 114 generates the first makeup part based on the cosmetics selected by the cosmetics selection unit 106 and the first makeup area determined by the area determination unit 113. The makeup part generation unit 114 also generates the second makeup part based on the cosmetics selected by the cosmetics selection unit 106 and the second makeup area determined by the area determination unit 113. The function of the makeup part generation unit 114 is realized, for example, by the function of the processor 11.

メイクパーツ保持部115は、メイクパーツ生成部114により生成された第1のメイクパーツと第2のメイクパーツとを保持する。メイクパーツ保持部115に記憶された第1のメイクパーツは、表示制御部103により第1の顔画像に重畳される。また、メイクパーツ保持部115に記憶された第2のメイクパーツは、表示制御部103により第2の顔画像に重畳される。第1の顔画像における第1のメイク領域に第1のメイクパーツが重ねられる加工が施されることにより、第1のメイク画像が生成される。また、第2の顔画像における第2のメイク領域に第2のメイクパーツが重ねられる加工が施されることにより、第2のメイク画像が生成される。メイクパーツ保持部115の機能は、例えば、フラッシュメモリ12の機能により実現される。 The makeup parts holding unit 115 holds the first makeup parts and the second makeup parts generated by the makeup parts generation unit 114. The first makeup parts stored in the makeup parts holding unit 115 are superimposed on the first face image by the display control unit 103. The second makeup parts stored in the makeup parts holding unit 115 are superimposed on the second face image by the display control unit 103. The first makeup image is generated by processing the first makeup parts to be superimposed on the first makeup area in the first face image. The second makeup image is generated by processing the second makeup parts to be superimposed on the second makeup area in the second face image. The function of the makeup parts holding unit 115 is realized, for example, by the function of the flash memory 12.

次に、図11に示すフローチャートを参照して、画像処理装置10が実行する画像表示処理について説明する。 Next, the image display process executed by the image processing device 10 will be described with reference to the flowchart shown in FIG.

まず、画像処理装置10が備えるプロセッサ11は、化粧品画像を表示する(ステップS101)。具体的には、プロセッサ11は、第2のタッチスクリーン15に化粧品画像を表示する。プロセッサ11は、ステップS101の処理を完了すると、撮像を開始する(ステップS102)。具体的には、プロセッサ11は、カメラ13に撮像を開始させ、以後、カメラ13から撮像画像を継続的に取得する。 First, the processor 11 included in the image processing device 10 displays a cosmetic image (step S101). Specifically, the processor 11 displays the cosmetic image on the second touch screen 15. When the processor 11 completes the processing of step S101, it starts capturing images (step S102). Specifically, the processor 11 causes the camera 13 to start capturing images, and thereafter, continuously acquires captured images from the camera 13.

プロセッサ11は、ステップS102の処理を完了すると、撮像画像を表示する(ステップS103)。具体的には、プロセッサ11は、カメラ13から取得した撮像画像を、第1のタッチスクリーン14に表示させる。プロセッサ11は、ステップS103の処理を完了すると、種別判別処理を実行する(ステップS104)。種別判別処理については、図12を参照して、詳細に説明する。 When the processor 11 completes the process of step S102, it displays the captured image (step S103). Specifically, the processor 11 causes the captured image acquired from the camera 13 to be displayed on the first touch screen 14. When the processor 11 completes the process of step S103, it executes a type determination process (step S104). The type determination process will be described in detail with reference to FIG. 12.

まず、プロセッサ11は、撮像画像が目開き画像であるか否かを判別する(ステップS201)。プロセッサ11は、撮像画像が目開き画像でないと判別すると(ステップS201:NO)、種別判別処理を完了する。プロセッサ11は、撮像画像が目開き画像であると判別すると(ステップS201:YES)、目の座標を検出する(ステップS202)。例えば、プロセッサ11は、撮像画像に含まれる円形の画像を検出し、検出した円形の画像の位置を目の座標として検出する。 First, the processor 11 determines whether the captured image is an image of eyes open (step S201). If the processor 11 determines that the captured image is not an image of eyes open (step S201: NO), the type determination process is completed. If the processor 11 determines that the captured image is an image of eyes open (step S201: YES), the processor 11 detects the coordinates of the eyes (step S202). For example, the processor 11 detects a circular image included in the captured image, and detects the position of the detected circular image as the coordinates of the eye.

プロセッサ11は、ステップS202の処理を完了すると、目の周辺のラインを検出する(ステップS203)。例えば、プロセッサ11は、図7に示す12本のラインを検出する。プロセッサ11は、ステップS203の処理を完了すると、ラインL10が検出されたか否かを判別する(ステップS204)。プロセッサ11は、ラインL10が検出されないと判別すると(ステップS204:NO)、上瞼が一重瞼であると判別する(ステップS205)。 When the processor 11 completes the process of step S202, it detects the lines around the eyes (step S203). For example, the processor 11 detects the 12 lines shown in FIG. 7. When the processor 11 completes the process of step S203, it determines whether or not the line L10 has been detected (step S204). If the processor 11 determines that the line L10 has not been detected (step S204: NO), it determines that the upper eyelid is a single eyelid (step S205).

プロセッサ11は、ラインL10が検出されたと判別すると(ステップS204:YES)、隙間領域を特定する(ステップS206)。プロセッサ11は、ステップS206の処理を完了すると、隙間領域の長さが閾値以上であるか否かを判別する(ステップS207)。プロセッサ11は、隙間領域の長さが閾値以上であると判別すると(ステップS207:YES)、上瞼が二重瞼であると判別する(ステップS208)。プロセッサ11は、隙間領域の長さが閾値以上でないと判別すると(ステップS207:NO)、上瞼が奥二重瞼であると判別する(ステップS209)。 When the processor 11 determines that the line L10 has been detected (step S204: YES), it identifies the gap area (step S206). When the processor 11 completes the processing of step S206, it determines whether the length of the gap area is equal to or greater than a threshold (step S207). When the processor 11 determines that the length of the gap area is equal to or greater than a threshold (step S207: YES), it determines that the upper eyelid is a double eyelid (step S208). When the processor 11 determines that the length of the gap area is not equal to or greater than the threshold (step S207: NO), it determines that the upper eyelid is a deep double eyelid (step S209).

プロセッサ11は、ステップS205、ステップS208、ステップS209の処理を完了すると、種別情報を記憶する(ステップS210)。種別情報は、上瞼が一重瞼と二重瞼と奥二重瞼とのいずれであるのかを示す情報であり、フラッシュメモリ12に記憶される。プロセッサ11は、ステップS210の処理を完了すると、種別判別処理を完了する。 When the processor 11 completes the processing of steps S205, S208, and S209, it stores type information (step S210). The type information is information indicating whether the upper eyelid is a single eyelid, a double eyelid, or a deep double eyelid, and is stored in the flash memory 12. When the processor 11 completes the processing of step S210, it completes the type determination process.

プロセッサ11は、ステップS104の処理を完了すると、第2のタッチスクリーン15に指示装置30が接触しているか否かを判別する(ステップS105)。プロセッサ11は、第2のタッチスクリーン15に指示装置30が接触していると判別すると(ステップS105:YES)、化粧品を選択する(ステップS106)。プロセッサ11は、第2のタッチスクリーン15に指示装置30が接触していないと判別した場合(ステップS105:NO)、又は、ステップS106の処理を完了した場合、撮像画像内で指示装置30が顔に接触したか否かを判別する(ステップS107)。 When the processor 11 completes the process of step S104, it determines whether or not the pointing device 30 is in contact with the second touch screen 15 (step S105). When the processor 11 determines that the pointing device 30 is in contact with the second touch screen 15 (step S105: YES), it selects a cosmetic product (step S106). When the processor 11 determines that the pointing device 30 is not in contact with the second touch screen 15 (step S105: NO), or when the processor 11 completes the process of step S106, it determines whether or not the pointing device 30 has contacted a face in the captured image (step S107).

プロセッサ11は、撮像画像内で指示装置30が顔に接触したと判別すると(ステップS107:YES)、接触情報を受信したか否かを判別する(ステップS108)。プロセッサ11は、接触情報を受信したと判別すると(ステップS108:YES)、領域決定処理を実行する(ステップS109)。領域決定処理については、図13を参照して詳細に説明する。 When the processor 11 determines that the instruction device 30 has contacted the face in the captured image (step S107: YES), the processor 11 determines whether or not contact information has been received (step S108). When the processor 11 determines that contact information has been received (step S108: YES), the processor 11 executes a region determination process (step S109). The region determination process will be described in detail with reference to FIG. 13.

まず、プロセッサ11は、基本メイク領域を決定する(ステップS301)。具体的には、プロセッサ11は、接触位置から基本メイク領域を決定する。プロセッサ11は、ステップS301の処理を完了すると、撮像画像が目閉じ画像であるか否かを判別する(ステップS302)。プロセッサ11は、撮像画像が目閉じ画像であると判別すると(ステップS302:YES)、基本メイク領域を目閉じ用メイク画像に決定する(ステップS303)。 First, processor 11 determines the basic makeup area (step S301). Specifically, processor 11 determines the basic makeup area from the contact position. When processor 11 completes the processing of step S301, processor 11 determines whether the captured image is an image with eyes closed (step S302). If processor 11 determines that the captured image is an image with eyes closed (step S302: YES), processor 11 determines the basic makeup area to be an image with closed eyes (step S303).

プロセッサ11は、ステップS303の処理を完了すると、ユーザの上瞼が一重瞼であるか否かを判別する(ステップS304)。プロセッサ11は、ユーザの上瞼が一重瞼であると判別すると(ステップS304:YES)、目開きメイク領域として大きめのメイク領域を決定する(ステップS305)。プロセッサ11は、ユーザの上瞼が一重瞼でないと判別すると(ステップS304:NO)、ユーザの上瞼が二重瞼であるか否かを判別する(ステップS306)。 When the processor 11 completes the processing of step S303, it determines whether the user's upper eyelids are single eyelids (step S304). If the processor 11 determines that the user's upper eyelids are single eyelids (step S304: YES), it determines a larger makeup area as an eye-opening makeup area (step S305). If the processor 11 determines that the user's upper eyelids are not single eyelids (step S304: NO), it determines whether the user's upper eyelids are double eyelids (step S306).

プロセッサ11は、ユーザの上瞼が二重瞼であると判別すると(ステップS306:YES)、目開きメイク領域として中程度のメイク領域を決定する(ステップS307)。プロセッサ11は、ユーザの上瞼が二重瞼でないと判別すると(ステップS306:NO)、目開きメイク領域として小さめのメイク領域を決定する(ステップS308)。 If the processor 11 determines that the user's upper eyelids are double eyelids (step S306: YES), it determines a medium makeup area as the eye-opening makeup area (step S307). If the processor 11 determines that the user's upper eyelids are not double eyelids (step S306: NO), it determines a smaller makeup area as the eye-opening makeup area (step S308).

プロセッサ11は、撮像画像が目閉じ画像でないと判別すると(ステップS302:NO)、基本メイク領域を目開き用メイク画像に決定する(ステップS309)。プロセッサ11は、ステップS309の処理を完了すると、ユーザの上瞼が一重瞼であるか否かを判別する(ステップS310)。プロセッサ11は、ユーザの上瞼が一重瞼であると判別すると(ステップS310:YES)、目閉じメイク領域として小さめのメイク領域を決定する(ステップS311)。プロセッサ11は、ユーザの上瞼が一重瞼でないと判別すると(ステップS310:NO)、ユーザの上瞼が二重瞼であるか否かを判別する(ステップS312)。 When the processor 11 determines that the captured image is not an image of closed eyes (step S302: NO), it determines the basic makeup area to be an image of open-eyed makeup (step S309). When the processor 11 completes the processing of step S309, it determines whether the user's upper eyelids are single eyelids (step S310). When the processor 11 determines that the user's upper eyelids are single eyelids (step S310: YES), it determines a smaller makeup area as the closed-eye makeup area (step S311). When the processor 11 determines that the user's upper eyelids are not single eyelids (step S310: NO), it determines whether the user's upper eyelids are double eyelids (step S312).

プロセッサ11は、ユーザの上瞼が二重瞼であると判別すると(ステップS312:YES)、目閉じメイク領域として中程度のメイク領域を決定する(ステップS313)。プロセッサ11は、ユーザの上瞼が二重瞼でないと判別すると(ステップS312:NO)、目閉じメイク領域として大きめのメイク領域を決定する(ステップS314)。 If the processor 11 determines that the user's upper eyelids are double eyelids (step S312: YES), it determines a medium makeup area as the closed-eye makeup area (step S313). If the processor 11 determines that the user's upper eyelids are not double eyelids (step S312: NO), it determines a large makeup area as the closed-eye makeup area (step S314).

プロセッサ11は、ステップS305、ステップS307、ステップS308、ステップS311、ステップS313、ステップS314の処理を完了すると、領域情報を記憶する(ステップS315)。プロセッサ11は、ステップS315の処理を完了すると、領域決定処理を完了する。 When the processor 11 completes the processing of steps S305, S307, S308, S311, S313, and S314, it stores the area information (step S315). When the processor 11 completes the processing of step S315, it completes the area determination processing.

プロセッサ11は、ステップS109の処理を完了すると、目閉じ用メイクパーツと目開き用メイクパーツとを生成する(ステップS110)。プロセッサ11は、撮像画像内で指示装置30が顔に接触していないと判別した場合(ステップS107:NO)、接触情報を受信していないと判別した場合(ステップS108:NO)、又は、ステップS110の処理を完了した場合、撮像画像が目閉じ画像であるか否かを判別する(ステップS111)。 When the processor 11 completes the process of step S109, it generates makeup parts for closed eyes and makeup parts for open eyes (step S110). When the processor 11 determines that the instruction device 30 is not in contact with the face in the captured image (step S107: NO), when it determines that contact information has not been received (step S108: NO), or when it completes the process of step S110, it determines whether the captured image is an image with closed eyes (step S111).

プロセッサ11は、撮像画像が目閉じ画像であると判別すると(ステップS111:YES)、目閉じ用メイク領域に目閉じ用メイクパーツが重ねられた目閉じ用メイク画像を表示する(ステップS112)。プロセッサ11は、撮像画像が目閉じ画像でないと判別すると(ステップS111:NO)、目開き用メイク領域に目開き用メイクパーツが重ねられた目開き用メイク画像を表示する(ステップS113)。プロセッサ11は、ステップS112の処理、又は、ステップS113の処理を完了すると、ステップS103に処理を戻す。 When the processor 11 determines that the captured image is an image of closed eyes (step S111: YES), it displays a closed-eyes makeup image in which closed-eyes makeup parts are superimposed on the closed-eyes makeup area (step S112). When the processor 11 determines that the captured image is not an image of closed eyes (step S111: NO), it displays an open-eyes makeup image in which open-eyes makeup parts are superimposed on the open-eyes makeup area (step S113). When the processor 11 completes the process of step S112 or step S113, it returns to step S103.

本実施形態によれば、化粧品が塗布された顔の状態を顔パーツの種別に応じて適切にシミュレーションすることができる。本実施形態では、メイク時においてメイク領域が同じ大きさであったとしても、目の状態が変化した場合、目の特徴(上瞼の種別)に応じて適切なメイク領域の大きさが設定されるため、よりリアリティの高いメイクシミュレーションが実現可能である。つまり、本実施形態では、目閉じ用メイク領域と目開き用メイク領域とが、上瞼が一重瞼であるか否かに応じた適切な大きさに設定されるため、メイクシミュレーション中にユーザの目の状態が変化した場合でも、自然なメイク画像の表示が可能である。また、本実施形態によれば、第1のラインの検出により、上瞼が一重瞼であるか否かを容易に検出することができる。 According to this embodiment, the state of the face with cosmetics applied can be appropriately simulated according to the type of facial feature. In this embodiment, even if the makeup area is the same size when applying makeup, if the state of the eyes changes, the size of the makeup area is set appropriately according to the characteristics of the eyes (type of upper eyelid), making it possible to realize a more realistic makeup simulation. In other words, in this embodiment, the makeup area for closed eyes and the makeup area for open eyes are set to appropriate sizes depending on whether the upper eyelid is single eyelid or not, so that a natural makeup image can be displayed even if the state of the user's eyes changes during the makeup simulation. Furthermore, according to this embodiment, it is possible to easily detect whether the upper eyelid is single eyelid or not by detecting the first line.

また、本実施形態によれば、目閉じ用メイク領域と目開き用メイク領域とが、上瞼が一重瞼と二重瞼と奥二重瞼とのいずれであるかに応じた適切な大きさに設定されるため、メイクシミュレーション中にユーザの目の状態が変化した場合でも、自然なメイク画像の表示が可能である。また、本実施形態によれば、第1のラインと第2のラインとの検出により、上瞼が一重瞼と二重瞼と奥二重瞼とのいずれであるかを容易に検出することができる。また、本実施形態によれば、第1のラインと第2のラインと間の隙間領域の判定により、上瞼が一重瞼と二重瞼と奥二重瞼とのいずれであるかを容易に検出することができる。また、本実施形態によれば、指示体を用いたメイクシミュレーションが実行可能である。 In addition, according to this embodiment, the makeup area for closed eyes and the makeup area for open eyes are set to appropriate sizes depending on whether the upper eyelid is a single eyelid, a double eyelid, or a deep double eyelid, so that even if the state of the user's eyes changes during the makeup simulation, a natural makeup image can be displayed. In addition, according to this embodiment, by detecting the first line and the second line, it is possible to easily detect whether the upper eyelid is a single eyelid, a double eyelid, or a deep double eyelid. In addition, according to this embodiment, by determining the gap area between the first line and the second line, it is possible to easily detect whether the upper eyelid is a single eyelid, a double eyelid, or a deep double eyelid. In addition, according to this embodiment, it is possible to perform a makeup simulation using an indicator.

(実施形態2)
実施形態1では、画像処理装置10と指示装置30とを備えるメイクシミュレーション装置100について説明した。画像処理装置10が単体でメイクシミュレーション装置として機能することもできる。
(Embodiment 2)
In the first embodiment, the makeup simulation device 100 is described, which includes the image processing device 10 and the instruction device 30. The image processing device 10 can also function as the makeup simulation device by itself.

以下、図14を参照して、本実施形態に係る画像処理装置10の機能について説明する。本実施形態に係る画像処理装置10は、機能的には、情報受信部107と接触位置特定部108とを備えず、塗布操作受付部116を備える。 Hereinafter, the functions of the image processing device 10 according to this embodiment will be described with reference to FIG. 14. Functionally, the image processing device 10 according to this embodiment does not include an information receiving unit 107 and a contact position identifying unit 108, but includes an application operation receiving unit 116.

塗布操作受付部116は、ユーザにより化粧品の模擬的な塗布操作を受け付ける。この塗布操作は、実際のユーザの顔に対する接触動作ではなく、第1のタッチスクリーン14に表示された撮像画像に対する操作である。塗布操作受付部116の機能は、例えば、プロセッサ11と第1のタッチスクリーン14とが協働することにより実現される。 The application operation receiving unit 116 receives a simulated application operation of cosmetics by the user. This application operation is not an actual contact operation on the user's face, but an operation on the captured image displayed on the first touch screen 14. The function of the application operation receiving unit 116 is realized, for example, by the processor 11 and the first touch screen 14 working together.

領域決定部113は、塗布操作受付部116により受け付けられた塗布操作に基づいて、第1のメイク領域と第2のメイク領域とを決定する。具体的には、領域決定部113は、塗布操作により指定された撮像画像内における座標を示す情報に基づいて、第1のメイク領域と第2のメイク領域とを決定する。 The area determination unit 113 determines a first makeup area and a second makeup area based on the application operation received by the application operation reception unit 116. Specifically, the area determination unit 113 determines the first makeup area and the second makeup area based on information indicating coordinates in the captured image specified by the application operation.

本実施形態によれば、画像処理装置10単体で、化粧品が塗布された顔の状態を顔パーツの形状に応じて適切にシミュレーションすることができる。 According to this embodiment, the image processing device 10 alone can appropriately simulate the state of a face with cosmetics applied according to the shape of the facial features.

(変形例)
以上、本発明の実施形態を説明したが、本発明を実施するにあたっては、種々の形態による変形及び応用が可能である。
(Modification)
Although the embodiment of the present invention has been described above, various modifications and applications are possible in carrying out the present invention.

本発明において、上記実施形態において説明した構成、機能、動作のどの部分を採用するのかは任意である。また、本発明において、上述した構成、機能、動作のほか、更なる構成、機能、動作が採用されてもよい。また、上述した実施形態は、適宜、自由に組み合わせることができる。また、上述した実施形態で説明した構成要素の個数は、適宜、調整することができる。また、本発明において採用可能な素材、サイズ、電気的特性などが、上記実施形態において示したものに限定されないことは勿論である。 In the present invention, it is up to the discretion of which parts of the configurations, functions, and operations described in the above embodiments are adopted. Furthermore, in addition to the above-mentioned configurations, functions, and operations, further configurations, functions, and operations may be adopted in the present invention. Furthermore, the above-mentioned embodiments can be freely combined as appropriate. Furthermore, the number of components described in the above-mentioned embodiments can be adjusted as appropriate. Furthermore, it goes without saying that the materials, sizes, electrical characteristics, etc. that can be adopted in the present invention are not limited to those shown in the above-mentioned embodiments.

上記実施形態では、プロセッサ11において、CPUがROMに記憶されたプログラムを実行することによって、各種の処理を実行する例について説明した。本発明において、プロセッサ11の代わりに、例えばASIC(Application Specific Integrated Circuit)、FPGA(Field-Programmable Gate Array)、各種制御回路等の専用のハードウェアを備え、専用のハードウェアが、各種の処理を実行してもよい。この場合、各部の機能それぞれを個別のハードウェアで実現しても良いし、各部の機能をまとめて単一のハードウェアで実現しても良い。また、各部の機能のうち、一部を専用のハードウェアによって実現し、他の一部をソフトウェア又はファームウェアによって実現しても良い。 In the above embodiment, an example has been described in which the CPU in the processor 11 executes a program stored in the ROM to execute various processes. In the present invention, instead of the processor 11, dedicated hardware such as an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array), or various control circuits may be provided, and the dedicated hardware may execute various processes. In this case, the functions of each part may be realized by individual hardware, or the functions of each part may be realized together by a single piece of hardware. Also, some of the functions of each part may be realized by dedicated hardware, and the other parts may be realized by software or firmware.

なお、本発明に係る機能を実現するための構成を予め備えた画像処理装置として提供できることはもとより、プログラムの適用により、既存の情報処理装置等を、本発明に係る画像処理装置として機能させることもできる。すなわち、上記実施形態で例示した画像処理装置10による各機能構成を実現させるためのプログラムを、既存の情報処理装置等を制御するCPU等が実行できるように適用することで、本発明に係る画像処理装置として機能させることができる。 In addition to being able to provide an image processing device that is already equipped with the configuration for realizing the functions of the present invention, by applying a program, an existing information processing device or the like can be made to function as an image processing device of the present invention. In other words, by applying a program for realizing each functional configuration of the image processing device 10 exemplified in the above embodiment so that it can be executed by a CPU or the like that controls an existing information processing device, it can be made to function as an image processing device of the present invention.

また、このようなプログラムの適用方法は任意である。プログラムを、例えば、フレキシブルディスク、CD(Compact Disc)-ROM、DVD(Digital Versatile Disc)-ROM、メモリカード等のコンピュータ読み取り可能な記憶媒体に格納して適用できる。さらに、プログラムを搬送波に重畳し、インターネットなどの通信媒体を介して適用することもできる。例えば、通信ネットワーク上の掲示板(BBS:Bulletin Board System)にプログラムを掲示して配信してもよい。そして、このプログラムを起動し、OS(Operating System)の制御下で、他のアプリケーションプログラムと同様に実行することにより、上記の処理を実行できるように構成してもよい。 The method of applying such a program is arbitrary. The program can be applied by storing it on a computer-readable storage medium, such as a flexible disk, a CD (Compact Disc)-ROM, a DVD (Digital Versatile Disc)-ROM, or a memory card. Furthermore, the program can be applied via a communication medium such as the Internet by superimposing it on a carrier wave. For example, the program can be distributed by posting it on a bulletin board system (BBS) on a communication network. The program can then be started and executed under the control of an OS (Operating System) in the same way as other application programs, thereby enabling the above processing to be performed.

以上、本発明の好ましい実施形態について説明したが、本発明は係る特定の実施形態に限定されるものではなく、本発明には、特許請求の範囲に記載された発明とその均等の範囲とが含まれる。以下に、本願出願の当初の特許請求の範囲に記載された発明を付記する。
(付記1)
顔パーツが第1の状態であるときに撮像されたユーザの顔画像である第1の顔画像と前記顔パーツが前記第1の状態とは異なる第2の状態であるときに撮像された前記ユーザの顔画像である第2の顔画像とを取得する画像取得手段と、
前記画像取得手段により取得された前記ユーザの顔画像を表示する表示手段と、
前記画像取得手段により取得された前記第1の顔画像と前記第2の顔画像とのうちの少なくとも一方に基づいて、前記ユーザの前記顔パーツの種別を判別する種別判別手段と、
前記顔パーツが前記第1の状態であるときに前記ユーザが実行したメイク動作に基づいて、前記第1の顔画像上における第1のメイク領域を決定し、前記メイク動作と前記種別判別手段により判別された前記顔パーツの種別とに基づいて、前記第2の顔画像上における、前記第1のメイク領域とは異なる大きさを有する第2のメイク領域を決定する領域決定手段と、を備える、
画像処理装置。
(付記2)
前記メイク動作の実行後に前記画像取得手段が前記第1の顔画像を取得した場合、前記表示手段に、前記第1の顔画像上における前記第1のメイク領域が加工された第1のメイク画像を表示させ、前記メイク動作の実行後に前記画像取得手段が前記第2の顔画像を取得した場合、前記表示手段に、前記第2の顔画像上における前記第2のメイク領域が加工された第2のメイク画像を表示させる表示制御手段を更に備える、
付記1に記載の画像処理装置。
(付記3)
前記第1のメイク画像は、前記第1の顔画像上における前記第1のメイク領域に、前記メイク動作により指定された化粧品が前記ユーザの顔に塗布された状態を表現するメイクパーツが重ねられた画像であり、
前記第2のメイク画像は、前記第2の顔画像上における前記第2のメイク領域に、前記メイクパーツが重ねられた画像である、
付記2に記載の画像処理装置。
(付記4)
前記顔パーツは上瞼であり、
前記第1の状態は閉じた状態であり、前記第2の状態は開いた状態であり、
前記種別判別手段は、前記ユーザの上瞼が一重瞼であるか否かを判別し、
前記領域決定手段は、前記種別判別手段により前記ユーザの上瞼が一重瞼であると判別された場合、前記第2のメイク領域として第1の大きさを有する領域を決定し、前記種別判別手段により前記ユーザの上瞼が一重瞼でないと判別された場合、前記第2のメイク領域として前記第1の大きさよりも小さい大きさを有する領域を決定する、
付記1から3のいずれか1項に記載の画像処理装置。
(付記5)
前記種別判別手段は、
前記画像取得手段により取得された前記第2の顔画像から、二重瞼又は奥二重瞼の溝を表す第1のラインを検出するライン検出手段と、
前記ライン検出手段により前記第1のラインが検出されない場合、前記ユーザの上瞼が一重瞼であると判別し、前記ライン検出手段により前記第1のラインが検出された場合、前記ユーザの上瞼が一重瞼でないと判別するライン判別手段と、を備える、
付記4に記載の画像処理装置。
(付記6)
前記種別判別手段は、前記ユーザの上瞼が一重瞼と二重瞼と奥二重瞼とのうちのいずれであるのかを判別し、
前記領域決定手段は、前記種別判別手段により前記ユーザの上瞼が一重瞼であると判別された場合、前記第2のメイク領域として前記第1の大きさを有する領域を決定し、前記種別判別手段により前記ユーザの上瞼が二重瞼であると判別された場合、前記第2のメイク領域として前記第1の大きさよりも小さい第2の大きさを有する領域を決定し、前記種別判別手段により前記ユーザの上瞼が奥二重瞼であると判別された場合、前記第2のメイク領域として前記第2の大きさよりも小さい第3の大きさを有する領域を決定する、
付記4に記載の画像処理装置。
(付記7)
前記種別判別手段は、
前記画像取得手段により取得された前記第2の顔画像から、二重瞼又は奥二重瞼の溝を表す第1のラインと、上瞼と目との境界の粘膜部分を表す第2のラインとを検出するライン検出手段と、
前記ライン検出手段により検出された前記第1のラインと前記第2のラインとに基づいて、前記ユーザの上瞼が一重瞼と二重瞼と奥二重瞼とのうちのいずれであるのかを判別するライン判別手段と、を備える、
付記6に記載の画像処理装置。
(付記8)
前記ライン判別手段は、前記ライン検出手段により前記第1のラインが検出されない場合、前記ユーザの上瞼が一重瞼であると判別し、前記第1のラインと前記第2のラインとに挟まれる隙間領域の顔の幅方向における長さが閾値以上である場合、前記ユーザの上瞼が二重瞼であると判別し、前記長さが前記閾値未満である場合、前記ユーザの上瞼が奥二重瞼であると判別する、
付記7に記載の画像処理装置。
(付記9)
前記表示制御手段は、前記表示手段に、前記第1の顔画像又は前記第2の顔画像を第1の表示領域に表示させ、化粧品を表現する化粧品画像を前記第1の表示領域とは異なる第2の表示領域に表示させ、
前記表示手段が前記第2の表示領域に前記化粧品画像が表示しているときに、指示体を用いた前記第2の表示領域への接触を伴うユーザ操作を受け付ける操作受付手段と、
前記操作受付手段が前記ユーザ操作を受け付けた後、前記表示手段が前記第1の顔画像を表示しているときに前記指示体が前記ユーザの顔に接触した場合、前記第1の顔画像に基づいて、前記ユーザの顔における前記指示体が接触した接触位置を特定する接触位置特定手段と、を更に備え、
前記領域決定手段は、前記第1の顔画像上における前記接触位置特定手段により特定された前記接触位置に応じた領域を前記第1のメイク領域として決定し、前記第2の顔画像上における、前記接触位置と前記顔パーツの形状とに応じた領域を前記第2のメイク領域として決定し、
前記第1のメイク画像は、前記第1の顔画像上における前記第1のメイク領域に、前記化粧品が前記ユーザの顔に塗布された状態を表現するメイクパーツが重ねられた画像であり、
前記第2のメイク画像は、前記第2の顔画像上における前記第2のメイク領域に、前記メイクパーツが重ねられた画像である、
付記2に記載の画像処理装置。
(付記10)
顔パーツが第1の状態であるときに撮像されたユーザの顔画像である第1の顔画像と前記顔パーツが前記第1の状態とは異なる第2の状態であるときに撮像された前記ユーザの顔画像である第2の顔画像とを取得し、
前記ユーザの顔画像を表示し、
前記第1の顔画像と前記第2の顔画像とのうちの少なくとも一方に基づいて、前記ユーザの前記顔パーツの種別を判別し、
前記顔パーツが前記第1の状態であるときに前記ユーザが実行したメイク動作に基づいて、前記第1の顔画像上における第1のメイク領域を決定し、前記メイク動作と前記顔パーツの形状とに基づいて、前記第2の顔画像上における、前記第1のメイク領域とは異なる大きさを有する第2のメイク領域を決定する、
画像処理方法。
(付記11)
コンピュータを、
顔パーツが第1の状態であるときに撮像されたユーザの顔画像である第1の顔画像と前記顔パーツが前記第1の状態とは異なる第2の状態であるときに撮像された前記ユーザの顔画像である第2の顔画像とを取得する画像取得手段、
前記画像取得手段により取得された前記ユーザの顔画像を表示装置に表示させる表示制御手段、
前記画像取得手段により取得された前記第1の顔画像と前記第2の顔画像とのうちの少なくとも一方に基づいて、前記ユーザの前記顔パーツの種別を判別する種別判別手段、
前記顔パーツが前記第1の状態であるときに前記ユーザが実行したメイク動作に基づいて、前記第1の顔画像上における第1のメイク領域を決定し、前記メイク動作と前記種別判別手段により判別された前記顔パーツの種別とに基づいて、前記第2の顔画像上における、前記第1のメイク領域とは異なる大きさを有する第2のメイク領域を決定する領域決定手段、として機能させる、
プログラム。
Although the preferred embodiment of the present invention has been described above, the present invention is not limited to the specific embodiment, and the present invention includes the inventions described in the claims and their equivalents. The inventions described in the original claims of this application are listed below.
(Appendix 1)
an image acquisition means for acquiring a first face image, which is a face image of a user captured when a face part is in a first state, and a second face image, which is a face image of the user captured when the face part is in a second state different from the first state;
a display means for displaying the face image of the user acquired by the image acquisition means;
a type determining means for determining a type of the facial feature of the user based on at least one of the first face image and the second face image acquired by the image acquiring means;
a region determining means for determining a first makeup area on the first face image based on a makeup operation performed by the user when the facial feature is in the first state, and for determining a second makeup area, the second makeup area having a size different from that of the first makeup area, on the second face image based on the makeup operation and the type of the facial feature determined by the type determining means.
Image processing device.
(Appendix 2)
a display control means for causing the display means to display a first makeup image in which the first makeup area on the first facial image has been processed when the image acquisition means acquires the first facial image after the makeup application is performed, and for causing the display means to display a second makeup image in which the second makeup area on the second facial image has been processed when the image acquisition means acquires the second facial image after the makeup application is performed,
2. The image processing device according to claim 1.
(Appendix 3)
the first makeup image is an image in which makeup parts expressing a state in which the cosmetic product designated by the makeup action is applied to the face of the user are superimposed on the first makeup area on the first face image,
the second makeup image is an image in which the makeup parts are superimposed on the second makeup area on the second face image;
3. The image processing device according to claim 2.
(Appendix 4)
The facial feature is an upper eyelid,
the first state being a closed state and the second state being an open state;
The type determination means determines whether the upper eyelid of the user is a single eyelid,
the area determination means determines an area having a first size as the second makeup area when the type determination means determines that the upper eyelid of the user is a single eyelid, and determines an area having a size smaller than the first size as the second makeup area when the type determination means determines that the upper eyelid of the user is not a single eyelid.
4. The image processing device according to claim 1 .
(Appendix 5)
The type determination means is
a line detection means for detecting a first line representing a groove of a double eyelid or a deep double eyelid from the second face image acquired by the image acquisition means;
and a line discrimination means for discriminating that the upper eyelid of the user is a single eyelid when the first line is not detected by the line detection means, and for discriminating that the upper eyelid of the user is not a single eyelid when the first line is detected by the line detection means.
5. The image processing device according to claim 4.
(Appendix 6)
The type discrimination means discriminates whether the upper eyelid of the user is a single eyelid, a double eyelid, or a deep double eyelid,
The area determination means determines an area having the first size as the second makeup area when the type determination means determines that the upper eyelid of the user is a single eyelid, determines an area having a second size smaller than the first size as the second makeup area when the type determination means determines that the upper eyelid of the user is a double eyelid, and determines an area having a third size smaller than the second size as the second makeup area when the type determination means determines that the upper eyelid of the user is a deep double eyelid.
5. The image processing device according to claim 4.
(Appendix 7)
The type determination means is
a line detection means for detecting a first line representing a sulcus of a double eyelid or a deep double eyelid and a second line representing a mucous membrane portion at the boundary between the upper eyelid and the eye from the second face image acquired by the image acquisition means;
and a line discrimination means for discriminating whether the upper eyelid of the user is a single eyelid, a double eyelid, or a deep double eyelid based on the first line and the second line detected by the line detection means.
7. The image processing device according to claim 6.
(Appendix 8)
The line discrimination means discriminates that the upper eyelid of the user is a single eyelid when the first line is not detected by the line detection means, discriminates that the upper eyelid of the user is a double eyelid when the length in the width direction of the face of the gap area between the first line and the second line is equal to or greater than a threshold, and discriminates that the upper eyelid of the user is a deep double eyelid when the length is less than the threshold.
8. The image processing device according to claim 7.
(Appendix 9)
the display control means causes the display means to display the first face image or the second face image in a first display area, and to display a cosmetic image representing a cosmetic product in a second display area different from the first display area;
an operation receiving means for receiving a user operation involving contact with the second display area using a pointer while the cosmetic image is being displayed in the second display area by the display means;
a contact position specifying means for specifying, when the indicator comes into contact with the face of the user while the display means is displaying the first face image after the operation accepting means has accepted the user operation, a contact position on the user's face where the indicator has come into contact based on the first face image,
the area determining means determines an area on the first face image corresponding to the contact position identified by the contact position identifying means as the first makeup area, and determines an area on the second face image corresponding to the contact position and a shape of the facial feature as the second makeup area;
the first makeup image is an image in which makeup parts expressing a state in which the cosmetic product is applied to the face of the user are superimposed on the first makeup area on the first face image,
the second makeup image is an image in which the makeup parts are superimposed on the second makeup area on the second face image;
3. The image processing device according to claim 2.
(Appendix 10)
acquiring a first face image, which is a face image of a user captured when a face part is in a first state, and a second face image, which is a face image of the user captured when the face part is in a second state different from the first state;
Displaying a facial image of the user;
determining a type of the facial feature of the user based on at least one of the first face image and the second face image;
determining a first makeup area on the first face image based on a makeup operation performed by the user when the facial feature is in the first state, and determining a second makeup area on the second face image, the second makeup area having a size different from that of the first makeup area, based on the makeup operation and a shape of the facial feature;
Image processing methods.
(Appendix 11)
Computer,
an image acquisition means for acquiring a first face image, which is a face image of a user captured when a face part is in a first state, and a second face image, which is a face image of the user captured when the face part is in a second state different from the first state;
a display control means for displaying the face image of the user acquired by the image acquisition means on a display device;
a type determining means for determining a type of the facial feature of the user based on at least one of the first face image and the second face image acquired by the image acquiring means;
a region determining means for determining a first makeup area on the first face image based on a makeup application performed by the user when the facial feature is in the first state, and for determining a second makeup area on the second face image, the second makeup area having a size different from that of the first makeup area, based on the makeup application and the type of the facial feature determined by the type determining means;
program.

10…画像処理装置、11…プロセッサ、12…フラッシュメモリ、13…カメラ、14…第1のタッチスクリーン、15…第2のタッチスクリーン、16…通信インターフェース、30…指示装置、31…プロセッサ、32…フラッシュメモリ、33…圧力センサ、34…通信インターフェース、100…メイクシミュレーション装置、101…撮像部、102…画像取得部、103…表示制御部、104…表示部、105…操作受付部、106…化粧品選択部、107…情報受信部、108…接触位置特定部、109…状態判別部、110…種別判別部、111…ライン検出部、112…ライン判別部、113…領域決定部、114…メイクパーツ生成部、115…メイクパーツ保持部、116…塗布操作受付部、301…接触検知部、302…情報送信部、L1,L2,L3,L4,L5,L6,L6A,L6B,L6C,L7,L8,L9,L10,L10B,L10C,L11,L12…ライン、E1,E2,E3,E4,E5,E6…領域 10...image processing device, 11...processor, 12...flash memory, 13...camera, 14...first touch screen, 15...second touch screen, 16...communication interface, 30...instruction device, 31...processor, 32...flash memory, 33...pressure sensor, 34...communication interface, 100...makeup simulation device, 101...imaging unit, 102...image acquisition unit, 103...display control unit, 104...display unit, 105...operation reception unit, 106...cosmetic selection unit, 107...information Information receiving unit, 108...contact position identification unit, 109...state discrimination unit, 110...type discrimination unit, 111...line detection unit, 112...line discrimination unit, 113...area determination unit, 114...makeup part generation unit, 115...makeup part holding unit, 116...application operation reception unit, 301...contact detection unit, 302...information transmission unit, L1, L2, L3, L4, L5, L6, L6A, L6B, L6C, L7, L8, L9, L10, L10B, L10C, L11, L12...lines, E1, E2, E3, E4, E5, E6...areas

Claims (4)

上瞼が開いた状態であるときに撮像されたユーザの顔画像である目開き画像を取得する画像取得手段と、
前記上瞼が閉じた状態であるときに前記ユーザが実行したメイク動作と前記上瞼の種別とに基づいて、前記ユーザの前記目開き画像上におけるメイク領域を決定する際に、前記ユーザの上瞼が一重瞼である場合のメイク領域を、前記ユーザの上瞼が奥二重瞼である場合のメイク領域よりも大きくなるように前記メイク領域を決定する領域決定手段と、を備える、
画像処理装置。
an image acquisition means for acquiring an open-eye image, which is a facial image of a user captured when the upper eyelid is open;
and an area determining means for determining a makeup area on the eye-open image of the user based on a makeup action performed by the user when the upper eyelid is closed and a type of the upper eyelid, so that the makeup area when the upper eyelid of the user is a single eyelid is larger than the makeup area when the upper eyelid of the user is a deep double eyelid.
Image processing device.
記画像取得手段により取得された前記目開き画像に基づいて、前記ユーザの前記上瞼の種別を判別する種別判別手段と、を備え、
前記領域決定手段は、前記メイク動作と前記種別判別手段により判別された前記上瞼の種別とに基づいて、前記メイク領域を決定する、
請求項1に記載の画像処理装置。
A type discrimination means for discriminating a type of the upper eyelid of the user based on the eye-open image acquired by the image acquisition means,
The area determining means determines the makeup area based on the makeup operation and the type of the upper eyelid determined by the type determining means.
The image processing device according to claim 1 .
上瞼が開いた状態であるときに撮像されたユーザの顔画像である目開き画像を取得し、
前記上瞼が閉じた状態であるときに前記ユーザが実行したメイク動作と前記上瞼の種別とに基づいて、前記ユーザの前記目開き画像上におけるメイク領域を決定する際に、前記ユーザの上瞼が一重瞼である場合のメイク領域を、前記ユーザの上瞼が奥二重瞼である場合のメイク領域よりも大きくなるように前記メイク領域を決定する、
画像処理方法。
An open-eye image is obtained, which is a facial image of the user captured when the upper eyelid is open;
When determining a makeup area on the eye-open image of the user based on the makeup action performed by the user when the upper eyelid is closed and the type of the upper eyelid, the makeup area is determined so that a makeup area when the upper eyelid of the user is a single eyelid is larger than a makeup area when the upper eyelid of the user is a deep double eyelid.
Image processing methods.
コンピュータを、
上瞼が開いた状態であるときに撮像されたユーザの顔画像である目開き画像を取得する画像取得手段、
前記上瞼が閉じた状態であるときに前記ユーザが実行したメイク動作と前記上瞼の種別とに基づいて、前記ユーザの前記目開き画像上におけるメイク領域を決定する際に、前記ユーザの上瞼が一重瞼である場合のメイク領域を、前記ユーザの上瞼が奥二重瞼である場合のメイク領域よりも大きくなるように前記メイク領域を決定する領域決定手段、として機能させる、
プログラム。
Computer,
An image acquisition means for acquiring an open-eye image, which is a facial image of the user captured when the upper eyelid is open;
and functioning as an area determining means for determining, when determining a makeup area on the eye-open image of the user based on the makeup action performed by the user when the upper eyelid is closed and the type of the upper eyelid, a makeup area when the upper eyelid of the user is a single eyelid is larger than a makeup area when the upper eyelid of the user is a deep double eyelid.
program.
JP2023143026A 2019-09-24 2023-09-04 Image processing device, image processing method and program Active JP7605263B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2023143026A JP7605263B2 (en) 2019-09-24 2023-09-04 Image processing device, image processing method and program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2019173593A JP7347070B2 (en) 2019-09-24 2019-09-24 Image processing device, image processing method and program
JP2023143026A JP7605263B2 (en) 2019-09-24 2023-09-04 Image processing device, image processing method and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2019173593A Division JP7347070B2 (en) 2019-09-24 2019-09-24 Image processing device, image processing method and program

Publications (2)

Publication Number Publication Date
JP2023164494A JP2023164494A (en) 2023-11-10
JP7605263B2 true JP7605263B2 (en) 2024-12-24

Family

ID=75155096

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2019173593A Active JP7347070B2 (en) 2019-09-24 2019-09-24 Image processing device, image processing method and program
JP2023143026A Active JP7605263B2 (en) 2019-09-24 2023-09-04 Image processing device, image processing method and program

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP2019173593A Active JP7347070B2 (en) 2019-09-24 2019-09-24 Image processing device, image processing method and program

Country Status (1)

Country Link
JP (2) JP7347070B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102920219B1 (en) * 2021-10-29 2026-01-30 주식회사 엘지에너지솔루션 Battery measured data management method and device thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160357578A1 (en) 2015-06-03 2016-12-08 Samsung Electronics Co., Ltd. Method and device for providing makeup mirror
WO2018159231A1 (en) 2017-02-28 2018-09-07 パナソニックIpマネジメント株式会社 Makeup simulation device, method and non-transitory storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006318375A (en) * 2005-05-16 2006-11-24 Matsushita Electric Ind Co Ltd Face image search device and face image search method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160357578A1 (en) 2015-06-03 2016-12-08 Samsung Electronics Co., Ltd. Method and device for providing makeup mirror
WO2018159231A1 (en) 2017-02-28 2018-09-07 パナソニックIpマネジメント株式会社 Makeup simulation device, method and non-transitory storage medium

Also Published As

Publication number Publication date
JP2021049087A (en) 2021-04-01
JP7347070B2 (en) 2023-09-20
JP2023164494A (en) 2023-11-10

Similar Documents

Publication Publication Date Title
US11030237B2 (en) Method and apparatus for identifying input features for later recognition
EP3394709B1 (en) Augmented mirror
US20200241645A1 (en) Systems and Methods of Determining Interaction Intent in Three-dimensional (3D) Sensory Space
US10617301B2 (en) Information processing device and information processing method
US20190018486A1 (en) Augmented mirror
CN111291642A (en) A makeup treatment method, device, electronic device and storage medium
CN108765273A (en) Virtual face-lifting method and device for taking pictures of faces
US20160125624A1 (en) An apparatus and associated methods
JP7605263B2 (en) Image processing device, image processing method and program
CN107340856A (en) Control method, controller, Intelligent mirror and computer-readable recording medium
EP3571666B1 (en) Method for creating a virtual three-dimensional representation of a person
EP3062195A1 (en) Interactive mirror
WO2018060232A1 (en) Apparatus and method for supporting at least one user in performing a personal care activity
CN110046020A (en) avatar creation user interface
CN108664884A (en) A kind of virtually examination cosmetic method and device
CN108932363A (en) Shape recognition device, shape recognition process and computer-readable medium
CN117769723A (en) Augmented reality cosmetic design filter
JP2011022733A (en) Device and program for simulating makeup, and counter selling support method
KR20190046592A (en) Body Information Analysis Apparatus and Face Shape Simulation Method Thereof
WO2023237023A1 (en) Image processing method and apparatus, storage medium, and head-mounted display device
CN107340857A (en) Automatic screenshot method, controller, Intelligent mirror and computer-readable recording medium
JP2024097787A (en) IMAGE PROCESSING DEVICE, MAKEUP SIMULATION DEVICE, IMAGE PROCESSING METHOD, AND PROGRAM
JP7351165B2 (en) Image processing device, makeup simulation device, image processing method and program
CN108629745A (en) Image processing method and device based on structured light and mobile terminal
CN118262894A (en) Toothbrushing management method, device, equipment and storage medium based on electric toothbrush

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20231003

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20231003

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240712

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240716

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240905

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20241125

R150 Certificate of patent or registration of utility model

Ref document number: 7605263

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150