[go: up one dir, main page]

JP2013158481A - Electronic mirror and program of the same - Google Patents

Electronic mirror and program of the same Download PDF

Info

Publication number
JP2013158481A
JP2013158481A JP2012022928A JP2012022928A JP2013158481A JP 2013158481 A JP2013158481 A JP 2013158481A JP 2012022928 A JP2012022928 A JP 2012022928A JP 2012022928 A JP2012022928 A JP 2012022928A JP 2013158481 A JP2013158481 A JP 2013158481A
Authority
JP
Japan
Prior art keywords
user
image
makeup
electronic mirror
symmetry
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2012022928A
Other languages
Japanese (ja)
Inventor
Yukinari Shibata
幸成 柴田
Yoshiteru Ono
芳照 小野
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2012022928A priority Critical patent/JP2013158481A/en
Publication of JP2013158481A publication Critical patent/JP2013158481A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Analysis (AREA)
  • Image Processing (AREA)
  • Closed-Circuit Television Systems (AREA)

Abstract

【課題】 消費電力を抑えながらも、化粧結果の客観的な評価を行って利用者に示すことができる電子鏡等を提供する。
【解決手段】 画像を表示する表示手段50と、前記表示手段と一体的に設けられた撮像手段20と、前記撮像手段が撮像した利用者の顔を含む原画像に基づいて、利用者の顔の右半分と左半分の明るさおよび色の少なくとも一方を比較することで利用者が行った化粧の対称性を判断し、非対称であると判断した場合に、前記原画像に基づく画像と化粧が非対称である旨の警告とを前記表示手段に表示させる制御手段40と、を含む。
【選択図】図1
PROBLEM TO BE SOLVED: To provide an electronic mirror or the like capable of objectively evaluating a makeup result and showing it to a user while suppressing power consumption.
A display unit 50 for displaying an image, an imaging unit 20 provided integrally with the display unit, and a user's face based on an original image including a user's face captured by the imaging unit. If the symmetry of the makeup performed by the user is judged by comparing at least one of the brightness and color of the right half and the left half of the image, the image based on the original image and the makeup are And control means 40 for causing the display means to display a warning indicating that it is asymmetric.
[Selection] Figure 1

Description

本発明は、電子鏡およびそのプログラム等に関する。   The present invention relates to an electronic mirror and a program thereof.

高齢化社会の進展に伴って高齢者が増えており、日常生活に用いる物についても高齢者向けの補助機能を備えることが望まれている。例えば、老眼の女性高齢者が化粧の際に眼鏡を外すことがあるが、鏡に映る顔がぼやけて見えると化粧を失敗するおそれがある。そこで、鏡に化粧結果を客観的に評価する機能をもたせることは有用である。   With the progress of an aging society, the number of elderly people is increasing, and it is desirable to provide auxiliary functions for elderly people for things used in daily life. For example, an elderly female with presbyopia may take off glasses during makeup, but makeup may fail if the face in the mirror appears blurred. Therefore, it is useful to give the mirror a function of objectively evaluating the makeup result.

例えば、特許文献1の発明に係る装置は、眉毛、目、唇、鼻といった顔の要素を抽出して、要素同士の対称性等を評価することで化粧結果の客観的な評価を行うことができる。   For example, the apparatus according to the invention of Patent Document 1 can perform objective evaluation of makeup results by extracting facial elements such as eyebrows, eyes, lips, and nose and evaluating the symmetry of the elements. it can.

特開2009−213751号公報JP 2009-213751 A 特開2004−180047号公報JP 2004-180047 A

ここで、通常用いられる鏡(可視光線を反射する一般にガラスでできた鏡)に代わる電子鏡が提案されている。例えば、特許文献2の発明に係る電子鏡は、撮像装置で撮影された画像が左右反転されてリアルタイムで液晶表示装置に映る。そのため、電子鏡は、通常用いられる鏡と同じように使用され得る。   Here, an electronic mirror has been proposed in place of a commonly used mirror (generally made of glass that reflects visible light). For example, in the electronic mirror according to the invention of Patent Document 2, an image photographed by an imaging device is reversed left and right and reflected on a liquid crystal display device in real time. Therefore, the electronic mirror can be used in the same way as a commonly used mirror.

例えば、特許文献1の発明に係る装置をこのような電子鏡に組み込めば、高齢者は化粧の失敗にすぐに気付くことができる。しかし、特許文献1の発明は、静止画を想定して、顔の要素の対称性等を評価するものである。従って、リアルタイムに画像を映す電子鏡において特許文献1の画像処理を行う場合、非常に処理能力が高いCPUや、安定した電源供給が必要になる。   For example, if the device according to the invention of Patent Document 1 is incorporated in such an electronic mirror, an elderly person can immediately notice a makeup failure. However, the invention of Patent Document 1 evaluates the symmetry of facial elements and the like assuming a still image. Therefore, when the image processing of Patent Document 1 is performed in an electronic mirror that displays an image in real time, a CPU having a very high processing capability and a stable power supply are required.

しかし、電子鏡は通常用いられる鏡に代わって、化粧等で日常的に使用されるものである。外出先で化粧直しを行う場合等を考慮すると、例えばコンパクトケースに組み込まれた電池駆動の電子鏡を用いることがある。すると、特許文献1の発明に係る装置を、電池駆動の電子鏡に組み込むことは、例えば電源供給の安定性や消費電力の観点からも現実的ではない。   However, electronic mirrors are routinely used in makeup, etc., instead of commonly used mirrors. Considering the case where the makeup is retouched on the go, for example, a battery-driven electronic mirror incorporated in a compact case may be used. Then, incorporating the device according to the invention of Patent Document 1 into a battery-powered electronic mirror is not realistic from the viewpoint of, for example, the stability of power supply and power consumption.

本発明はこのような問題点に鑑みてなされたものである。本発明のいくつかの態様によれば、消費電力を抑えながらも、化粧結果の客観的な評価を行って利用者に示すことができる電子鏡等を提供する。   The present invention has been made in view of such problems. According to some aspects of the present invention, an electronic mirror or the like that can objectively evaluate a makeup result and show it to a user while suppressing power consumption is provided.

(1)本発明は、電子鏡であって、画像を表示する表示手段と、前記表示手段と一体的に設けられた撮像手段と、前記撮像手段が撮像した利用者の顔を含む原画像に基づいて、利用者の顔の右半分と左半分の明るさおよび色の少なくとも一方を比較することで利用者が行った化粧の対称性を判断し、非対称であると判断した場合に、前記原画像に基づく画像と化粧が非対称である旨の警告とを前記表示手段に表示させる制御手段と、を含む。 (1) The present invention is an electronic mirror that includes a display unit that displays an image, an imaging unit that is provided integrally with the display unit, and an original image that includes a user's face captured by the imaging unit. On the basis of the brightness and color of the right half and the left half of the user's face to determine the symmetry of the makeup performed by the user. Control means for causing the display means to display an image based on the image and a warning that the makeup is asymmetric.

本発明の電子鏡は、利用者の顔を含む原画像に基づいて、利用者の顔の右半分と左半分の明るさおよび色の少なくとも一方を比較する。ここで、化粧は、顔の右半分と左半分とで対称的に施される。よって、本発明の電子鏡は、比較した明るさ、色、又はこれらの両方が顔の右半分と左半分とで大きく異なる場合に化粧が非対称であると判断し、警告を表示手段に表示させる。このとき、本発明の電子鏡は、眉毛、目、唇、鼻といった顔の要素を抽出する画像処理を行わないため、処理時間を短縮でき、要素を抽出する画像処理で消費電力が増大することを回避できる。そして、化粧結果の客観的な評価を行って利用者に示すことができる。   The electronic mirror of the present invention compares at least one of the brightness and color of the right half and the left half of the user's face based on the original image including the user's face. Here, makeup is applied symmetrically on the right half and the left half of the face. Therefore, the electronic mirror of the present invention determines that the makeup is asymmetric when the compared brightness, color, or both are significantly different between the right half and the left half of the face, and displays a warning on the display means. . At this time, since the electronic mirror of the present invention does not perform image processing for extracting facial elements such as eyebrows, eyes, lips, and nose, processing time can be shortened, and power consumption increases by image processing for extracting elements. Can be avoided. Then, an objective evaluation of the makeup result can be performed and shown to the user.

(2)この電子鏡において、利用者の顔の特徴である特徴データを記憶する記憶手段を含み、前記制御手段は、前記特徴データに基づいて、前記原画像に基づく画像を補正し、利用者が行った化粧の対称性を判断してもよい。 (2) The electronic mirror includes a storage unit that stores feature data that is a feature of a user's face, and the control unit corrects an image based on the original image based on the feature data, and May determine the symmetry of the makeup performed.

(3)この電子鏡において、前記制御手段は、前記特徴データに基づく補正を実行する前の画像に基づいて利用者が行った化粧が非対称であると判断する場合に、前記特徴データに基づく補正を実行して再び対称性を判断してもよい。 (3) In this electronic mirror, when the control unit determines that the makeup performed by the user is asymmetric based on an image before the correction based on the feature data is performed, the correction based on the feature data is performed. To determine the symmetry again.

これらの発明によれば、制御手段は、利用者の顔の特徴である特徴データを記憶手段から読み込んで画像を補正する。そして、制御手段は補正後の画像に基づいて化粧の対称性を判断する。このとき、特徴データとは例えば利用者のホクロ、傷、しみ等の位置、大きさ、色等をあらわすデータであって、これらが対称性の判断に影響を与えないように制御手段で使用される。例えば、特徴データに基づいて、ホクロや傷をその周囲の色に置き換えるような画像処理を行う。そのため、化粧ムラや化粧忘れに起因する非対称だけを正確に検出することが可能になる。   According to these inventions, the control unit reads the feature data that is the feature of the user's face from the storage unit and corrects the image. And a control means judges the symmetry of makeup based on the image after correction. At this time, the feature data is, for example, data representing the position, size, color, etc. of the user's moles, scratches, spots, etc., and is used by the control means so as not to affect the determination of symmetry. The For example, based on the feature data, image processing is performed such that a mole or scratch is replaced with a surrounding color. Therefore, it is possible to accurately detect only asymmetry due to uneven makeup or forgetting makeup.

ここで、制御手段は、非対称であると判断した場合にだけ、利用者の顔の特徴である特徴データを記憶手段から読み込んで画像を補正してもよい。例えば、ファンデーションを顔全体に塗った場合には、小さなしみなどは視認されないことがある。このとき、制御手段が特徴データに基づいて画像を補正すると、かえって正確な検出結果が得られない場合がある。そこで、一度非対称であると判断した場合にだけ、利用者の顔の特徴であるホクロ、傷、しみ等の影響を取り除く。すると、常に特徴データに基づいて画像を補正するよりも、消費電力を抑えることが可能になる。   Here, only when it is determined that the control means is asymmetric, the control means may read the feature data that is the feature of the user's face from the storage means and correct the image. For example, when the foundation is applied to the entire face, small spots may not be visually recognized. At this time, if the control means corrects the image based on the feature data, an accurate detection result may not be obtained. Therefore, the influence of moles, scratches, stains and the like, which are the features of the user's face, is removed only when it is determined that the image is asymmetric once. Then, it becomes possible to suppress power consumption rather than always correcting an image based on feature data.

(4)この電子鏡において、前記制御手段は、前記原画像に基づいて、電子鏡の使用場所における環境の情報である環境情報を取得し、前記原画像に、前記環境情報に基づく色補正を実行して利用者が行った化粧の対称性を判断してもよい。 (4) In this electronic mirror, the control means acquires environmental information, which is information on the environment at the location where the electronic mirror is used, based on the original image, and performs color correction based on the environmental information on the original image. The symmetry of the makeup performed by the user may be determined.

本発明によれば、環境情報に基づいて画像を補正してから、利用者が行った化粧の対称性を判断するので、より正確な検出結果が得られる。環境情報に基づく画像の色補正とは、例えば、利用者の顔の陰影を除去する補正である。この例では、制御手段が陰影の影響で誤って非対称であると判断することを回避することができる。   According to the present invention, since the image is corrected based on the environment information and then the symmetry of the makeup performed by the user is determined, a more accurate detection result can be obtained. The color correction of the image based on the environment information is, for example, correction for removing the shadow of the user's face. In this example, it can be avoided that the control means erroneously determines asymmetry due to the influence of the shadow.

(5)この電子鏡において、利用者からの指示を受け取り、指示信号を生成する指示入力手段を含み、前記制御手段は、前記指示信号に基づいて、利用者の顔の右半分と左半分とを比較するのに用いる画像の領域を上部と下部とに2分割し、前記上部および前記下部の少なくとも一方について利用者が行った化粧の対称性を判断してもよい。 (5) The electronic mirror includes an instruction input unit that receives an instruction from the user and generates an instruction signal. The control unit is configured to generate a right half and a left half of the user's face based on the instruction signal. The area of the image used to compare the two may be divided into an upper part and a lower part, and the symmetry of the makeup performed by the user on at least one of the upper part and the lower part may be determined.

本発明によれば、制御手段は、利用者からの指示に従い上下方向にも画像の領域を2分割して、化粧の左右対称性を判断する。このとき、上部で左右対称性を判断してから下部で左右対称性を判断してもよいし、上部又は下部の領域だけで左右対称性を判断してもよい。このとき、例えば上部の左右対称性の判断では、目、眉、額といった部分の化粧について化粧ムラや化粧忘れの有無を判断できる。逆に、例えば下部の左右対称性の判断では、頬、口といった部分の化粧について化粧ムラや化粧忘れの有無を判断できる。   According to the present invention, the control means determines the left-right symmetry of the makeup by dividing the image area into two parts in the vertical direction in accordance with an instruction from the user. At this time, the left / right symmetry may be determined at the upper part and the left / right symmetry may be determined at the lower part, or the left / right symmetry may be determined only from the upper or lower region. At this time, for example, in the determination of the left-right symmetry, it is possible to determine whether there is makeup unevenness or forgetting makeup for the makeup of the eyes, eyebrows, and forehead. On the other hand, for example, in the determination of the left / right symmetry of the lower part, it is possible to determine whether or not makeup unevenness or forgetting to make up for the makeup on the cheeks and mouth.

このとき、利用者に対してどの辺りに化粧ムラ等があるかを、より細かく示すことができる。例えば口元に化粧ムラがある旨の警告を表示手段に示せば、利用者は直ちに化粧を直すことができ、電子鏡の利便性が高まる。また、上下方向に画像の領域を2分割する処理は、利用者の指示により複数回実行されてもよい。このとき、より細かく化粧ムラがある部分を特定することができる。   At this time, it can be shown more precisely to the user where the makeup unevenness is. For example, if a warning to the effect that there is uneven makeup at the mouth is displayed on the display means, the user can immediately correct the makeup and the convenience of the electronic mirror is enhanced. Further, the process of dividing the image area into two in the vertical direction may be executed a plurality of times in accordance with a user instruction. At this time, it is possible to specify a portion with more uneven makeup.

(6)本発明は、画像を表示する表示手段と、前記表示手段と一体的に設けられた撮像手段と、を含む電子鏡のプログラムであって、前記撮像手段が撮像した利用者の顔を含む原画像に基づいて、利用者の顔の右半分と左半分の明るさおよび色の少なくとも一方を比較することで利用者が行った化粧の対称性を判断し、非対称であると判断した場合に、前記原画像に基づく画像と化粧が非対称である旨の警告とを前記表示手段に表示させる制御手段としてコンピューターを機能させる。 (6) The present invention is a program for an electronic mirror including display means for displaying an image and imaging means provided integrally with the display means, the user's face imaged by the imaging means. When judging the symmetry of the makeup performed by the user by comparing the brightness and color of the right and left halves of the user's face based on the included original image, and judging that it is asymmetric In addition, the computer is caused to function as control means for causing the display means to display an image based on the original image and a warning that makeup is asymmetric.

本発明によれば、プログラムによって利用者が行った化粧の対称性を判断する。このとき、例えば比較に用いる対象(明るさ、色)を容易にプログラム変更で調整することもできる。そのため、設計上の制約を低減し、柔軟に変更が可能な電子鏡を提供できる。   According to the present invention, the symmetry of the makeup performed by the user is determined by the program. At this time, for example, an object (brightness, color) used for comparison can be easily adjusted by program change. Therefore, it is possible to provide an electronic mirror that can reduce design constraints and can be changed flexibly.

第1実施形態における電子鏡のブロック図。The block diagram of the electronic mirror in 1st Embodiment. 図2(A)〜図2(B)は電子鏡の外観図。2A to 2B are external views of an electronic mirror. 図3(A)〜図3(D)は電子鏡における画像の補正や調整の例を示す図。3A to 3D are diagrams illustrating examples of image correction and adjustment in an electronic mirror. 図4(A)〜図4(B)は左右反転機能について説明する図。FIG. 4A to FIG. 4B are diagrams illustrating a left / right reversing function. 図5(A)〜図5(B)は対称性の判断に用いる領域を説明する図。FIG. 5A to FIG. 5B are diagrams illustrating regions used for determining symmetry. 図6(A)〜図6(B)は対称性の判断に用いる分割された領域を説明する図。FIG. 6A to FIG. 6B are diagrams illustrating divided areas used for determining symmetry. 対称性の判断に用いる、さらに分割された領域を説明する図。The figure explaining the area | region further divided | segmented used for determination of symmetry. 第1実施形態でのフローチャート。The flowchart in 1st Embodiment. サブルーチンのフローチャート。The flowchart of a subroutine. 第2実施形態における電子鏡のブロック図。The block diagram of the electronic mirror in 2nd Embodiment. 第2実施形態における電子鏡の外観図。The external view of the electronic mirror in 2nd Embodiment. 第2実施形態でのフローチャート。The flowchart in 2nd Embodiment. サブルーチンのフローチャート。The flowchart of a subroutine.

1.第1実施形態
1.1.電子鏡の構成
本発明の第1実施形態について図1〜図9を参照して説明する。図1は、本実施形態の電子鏡の構成を示す図である。
1. First embodiment 1.1. Configuration of Electron Mirror A first embodiment of the present invention will be described with reference to FIGS. FIG. 1 is a diagram showing the configuration of the electronic mirror of this embodiment.

本実施形態の電子鏡10は、カメラ20、CPU40、LCD50を含む。カメラ20は撮像手段に、CPU40は制御手段に、LCD50は表示手段に対応する。また、電子鏡10は、本実施形態のようにメモリーブロック30、入力装置70を含んでいてもよい。メモリーブロック30は記憶手段に、入力装置70は指示入力手段に対応する。   The electronic mirror 10 of this embodiment includes a camera 20, a CPU 40, and an LCD 50. The camera 20 corresponds to an imaging unit, the CPU 40 corresponds to a control unit, and the LCD 50 corresponds to a display unit. The electronic mirror 10 may include the memory block 30 and the input device 70 as in the present embodiment. The memory block 30 corresponds to storage means, and the input device 70 corresponds to instruction input means.

カメラ20は、例えばCCDイメージセンサー(Charge Coupled Device Image Sensor)やCIS(Complementary Metal Oxide Semiconductor Image Sensor)、その他のイメージセンサーを含んでいてもよい。また、1つに限らず複数で構成されていてもよい。   The camera 20 may include, for example, a CCD image sensor (Charge Coupled Device Image Sensor), a CIS (Complementary Metal Oxide Semiconductor Image Sensor), and other image sensors. Moreover, it may be comprised not only in one but in multiple.

カメラ20は、撮影した利用者の顔を含む画像(以下、原画像とする)を画像信号120に変換してCPU40に出力する。画像信号120は、例えばRGB信号であってもよいし、YCbCr(YPbPr)信号であってもよいし、その他のフォーマットを用いてもよい。   The camera 20 converts an image including the photographed user's face (hereinafter referred to as an original image) into an image signal 120 and outputs the image signal 120 to the CPU 40. The image signal 120 may be, for example, an RGB signal, a YCbCr (YPbPr) signal, or other formats.

ここで、本実施形態のカメラ20が撮影する画像は、LCD50の正面を映したものである。後に図示するように、カメラ20は電子鏡10のうち、鏡に相当するLCD50の内部又は近傍に一体的に設けられている。そして、電子鏡10の使用時には利用者はLCD50の正面に存在するため、あたかも反射したように利用者の姿がLCD50に映ることになる。   Here, the image photographed by the camera 20 of the present embodiment is a projection of the front of the LCD 50. As shown later, the camera 20 is integrally provided in or near the LCD 50 corresponding to the mirror of the electronic mirror 10. Since the user is present in front of the LCD 50 when the electronic mirror 10 is used, the user is reflected on the LCD 50 as if reflected.

メモリーブロック30は、例えばランダムアクセスメモリー(RAM32)やリードオンリーメモリー(ROM34)を含んでいてもよい。RAM32は、DRAMであってもよいしSRAMであってもよい。ROM34は、マスクROMであってもよいし、EEPROM(Electronically Erasable and Programmable Read Only Memory)やフラッシュROMといったプログラマブルROMであってもよい。   The memory block 30 may include, for example, a random access memory (RAM 32) and a read only memory (ROM 34). The RAM 32 may be a DRAM or an SRAM. The ROM 34 may be a mask ROM or a programmable ROM such as an EEPROM (Electronically Erasable and Programmable Read Only Memory) or a flash ROM.

メモリーブロック30は、少なくとも電子鏡10の利用者の特徴データを記憶する。特徴データとは、利用者個人を特定するための特徴点を集めた情報であって、例えば顔における目、鼻、口等の相対的な位置や、ホクロ、傷、しみの位置、大きさ、色等であってもよい。特徴データは例えばROM34に記憶されていてもよいし、電子鏡10の起動時にRAM32に書き込まれてもよい。   The memory block 30 stores at least feature data of the user of the electronic mirror 10. Feature data is information that collects feature points to identify individual users. For example, the relative position of eyes, nose, mouth, etc. on the face, the position and size of moles, scratches, and spots, It may be a color or the like. For example, the characteristic data may be stored in the ROM 34 or may be written in the RAM 32 when the electronic mirror 10 is activated.

なお、メモリーブロック30に代わって、ハードディスクなどの大容量の記憶装置が用いられてもよい。このとき、多くの人の特徴データを記憶することができる。また、特徴データを蓄積したハードディスクなどで構成されるデータベースが存在し、メモリーブロック30は電子鏡10の起動時などに特徴データを読み込んでもよい。このとき、メモリーブロック30はインターネット経由でデータベースから特徴データを読み込んでもよい。   Instead of the memory block 30, a large capacity storage device such as a hard disk may be used. At this time, feature data of many people can be stored. Further, there is a database composed of a hard disk or the like that stores feature data, and the memory block 30 may read the feature data when the electronic mirror 10 is activated. At this time, the memory block 30 may read the feature data from the database via the Internet.

CPU40は、原画像に画像処理を施して、原画像又は画像処理後の画像信号である出力画像信号140を生成する。CPU40が行う画像処理は、例えば明るさ、色の少なくとも1つを調整するものであってもよい。また、例えばCPU40は、利用者の特徴データを読み出しデータ130として受け取り、ホクロや傷を除去する画像処理を実行してもよい。他にも、CPU40は、例えば原画像の輝度や色の分布を把握して、陰影を除去する画像処理を実行してもよい。CPU40は、全ての画像処理が実行された画像について出力画像信号140を生成してもよいし、いくつかの画像処理が実行された中間画像について出力画像信号140を生成してもよい。また、画像の拡大縮小を実行してもよい。   The CPU 40 performs image processing on the original image to generate an output image signal 140 that is an original image or an image signal after image processing. The image processing performed by the CPU 40 may adjust at least one of brightness and color, for example. Further, for example, the CPU 40 may receive the user characteristic data as the read data 130 and execute image processing for removing moles and scratches. In addition, for example, the CPU 40 may grasp the luminance and color distribution of the original image and execute image processing for removing shadows. The CPU 40 may generate the output image signal 140 for an image for which all image processing has been executed, or may generate the output image signal 140 for an intermediate image for which some image processing has been executed. Further, image enlargement / reduction may be executed.

CPU40は、また、いくつかの画像処理が実行された画像に基づいて、利用者の顔の右半分と左半分の明るさおよび色の少なくとも一方を比較する。そして、利用者が行った化粧の対称性を判断し、非対称であると判断した場合には、LCD50に表示させる化粧の非対称を警告するメッセージを出力画像信号140と共に生成して出力する。なお、化粧の対称性を正確に判断するために、CPU40が取得した画像に画像処理を実行して、新たな画像を生成することを、画像を補正する、とも表現する。また、化粧の非対称を警告する方法は本実施形態のようなLCD50上のメッセージに限らず、例えば、ランプの点灯やアイコンの表示又は点滅、音の発生等であってもよい。   The CPU 40 also compares at least one of the brightness and color of the right half and the left half of the user's face based on an image on which some image processing has been performed. Then, the symmetry of the makeup performed by the user is determined. If it is determined that the makeup is asymmetric, a message warning the makeup asymmetry displayed on the LCD 50 is generated and output together with the output image signal 140. In order to accurately determine the symmetry of the makeup, performing image processing on the image acquired by the CPU 40 to generate a new image is also expressed as correcting the image. Further, the method of warning the makeup asymmetry is not limited to the message on the LCD 50 as in the present embodiment, and may be, for example, lighting of a lamp, display or blinking of an icon, generation of a sound, or the like.

ここで、CPU40は、例えば画像処理の際の中間データ、入力装置70を用いて更新された特徴データ等を、書き込みデータ142としてRAM32に記憶させてもよい。また、必要に応じて、RAM32、ROM34に記憶させたデータを読み出しデータ130として受け取ってもよい。   Here, the CPU 40 may store, for example, intermediate data at the time of image processing, feature data updated using the input device 70, and the like as write data 142 in the RAM 32. In addition, data stored in the RAM 32 and ROM 34 may be received as read data 130 as necessary.

LCD50は、出力画像信号140に基づいて、CPU40による画像処理が施された画像を表示する。LCD50に表示される画像は、原画像に比べて、例えば拡大・縮小されたものであってもよい。また、LCD50に表示される画像は、原画像に比べて、輝度、コントラスト、色温度等が調整されていてもよい。そして、LCD50は、前記の化粧の非対称を警告するメッセージを表示する。   The LCD 50 displays an image subjected to image processing by the CPU 40 based on the output image signal 140. The image displayed on the LCD 50 may be enlarged or reduced, for example, compared to the original image. Further, the image displayed on the LCD 50 may be adjusted in brightness, contrast, color temperature, and the like as compared with the original image. Then, the LCD 50 displays a message warning about the makeup asymmetry.

なお、利用者が通常の鏡と同じように使えるように、LCD50に表示される画像は、左右反転して表示されてもよい。このとき、本実施形態のようにCPU40が画像処理として左右を反転してもよいし、CPU40ではなくLCD50がその表示調整機能によって左右を反転してもよい。   Note that the image displayed on the LCD 50 may be displayed horizontally reversed so that the user can use it in the same manner as a normal mirror. At this time, as in the present embodiment, the CPU 40 may invert the left and right as image processing, or the LCD 50 may invert the right and left by the display adjustment function instead of the CPU 40.

本実施形態の電子鏡10は、入力装置70を含む。入力装置70は利用者からの指示に従って、指示信号170を出力する。CPU40は、指示信号170を受け取り、例えば指定された倍率に設定したり、電子鏡10をオン状態(動作状態)又はオフ状態(停止状態)にしたりする。本実施形態では、指示信号170に基づく利用者からの指示は優先的に実行される。つまり、CPU40は、自動で拡大・縮小された画像をLCD50に表示してもよいが、利用者から倍率の変更指示があった場合には、利用者の指示に従った倍率に変更する。   The electronic mirror 10 according to the present embodiment includes an input device 70. The input device 70 outputs an instruction signal 170 in accordance with an instruction from the user. The CPU 40 receives the instruction signal 170 and sets, for example, a specified magnification, or turns the electronic mirror 10 into an on state (operation state) or an off state (stop state). In the present embodiment, the instruction from the user based on the instruction signal 170 is preferentially executed. That is, the CPU 40 may display the automatically enlarged / reduced image on the LCD 50, but when the user gives a magnification change instruction, the CPU 40 changes the magnification according to the user's instruction.

ここで、入力装置70は、例えばボタン72やスライドスイッチ74を含んでいてもよい。例えば、ボタン72は電子鏡10のオン状態、オフ状態を切り換える主電源ボタンであってもよい。スライドスイッチ74は、利用者が手動で倍率を設定するのに使用されてもよい。また、ボタン72やスライドスイッチ74は複数あってもよい。例えば、図外の別のボタンが存在し、LCD50の左右反転表示のオン、オフを切り換えるのに用いられてもよいし、化粧の左右対称性の詳細情報を利用者が知りたい場合に用いられてもよい。   Here, the input device 70 may include, for example, a button 72 and a slide switch 74. For example, the button 72 may be a main power button for switching the electronic mirror 10 between an on state and an off state. The slide switch 74 may be used by the user to manually set the magnification. There may be a plurality of buttons 72 and slide switches 74. For example, there is another button outside the figure, which may be used to turn on / off the horizontally reversed display of the LCD 50, or used when the user wants to know detailed information on the symmetry of makeup. May be.

なお、図には含まれないが、電子鏡10は電源を供給する電源装置を含む。電子鏡10は家庭用電源で動作してもよいが、本実施形態では電池で動作するものとする。電池は1次電池であってもよいし、2次電池であってもよい。   Although not shown in the figure, the electronic mirror 10 includes a power supply device that supplies power. Although the electronic mirror 10 may be operated by a household power source, it is assumed that the electronic mirror 10 is operated by a battery in the present embodiment. The battery may be a primary battery or a secondary battery.

1.2.電子鏡の外観
図2(A)は、本実施形態の電子鏡10の外観図である。電子鏡10は、画像を表示するLCD50がフレーム3に囲まれた外観をしている。フレーム3には、ボタン72Aやボタン72B、可動切片75を持つスライドスイッチ74が設けられている。ここで、ボタン72Aは電子鏡10のオン状態、オフ状態を切り換える主電源ボタンであり、ボタン72Bは化粧の左右対称性の詳細情報を利用者が知りたい場合に用いられるファンクションボタンである。
1.2. External Appearance of Electronic Mirror FIG. 2A is an external view of the electronic mirror 10 of the present embodiment. The electronic mirror 10 has an appearance in which an LCD 50 that displays an image is surrounded by a frame 3. The frame 3 is provided with a button 72A, a button 72B, and a slide switch 74 having a movable section 75. Here, the button 72A is a main power button for switching the electronic mirror 10 between an on state and an off state, and the button 72B is a function button used when the user wants to know detailed information on the symmetry of makeup.

ここで、図2(A)のCはLCD50の中心である。この位置にカメラ20が埋め込まれていてもよいが、LCD50に穴をあけるなどの加工が必要である。本実施形態の電子鏡10では、フレーム3の上部にカメラ20が埋め込まれている。ここで、カメラ20は、LCD50の中心Cを通る垂直方向の中心線5の上に存在する。そのため、利用者の顔をほぼ正面から捉えることができる。なお、カメラ20の位置は図2(A)の例に限らない。また、カメラ20は取り外し可能であって、利用者が例えば後頭部や頭頂部などを映すことができてもよい。   Here, C in FIG. 2A is the center of the LCD 50. The camera 20 may be embedded at this position, but processing such as making a hole in the LCD 50 is necessary. In the electronic mirror 10 of the present embodiment, a camera 20 is embedded in the upper part of the frame 3. Here, the camera 20 exists on the vertical center line 5 passing through the center C of the LCD 50. Therefore, the user's face can be grasped almost from the front. The position of the camera 20 is not limited to the example in FIG. Further, the camera 20 may be removable, and the user may be able to project the back of the head or the top of the head, for example.

本実施形態の電子鏡10は、電池駆動であるが、部屋の特定の場所に設置されるのに適した形状である。ここで、外出先で化粧直しを行う場合等を考慮すると、例えばコンパクトケースに組み込まれた電池駆動の電子鏡が便利である。図2(B)は、電子鏡10Aの外観図である。電子鏡10Aは、電池で動作し、ヒンジ51を備えることでLCD50を内側に折りたたんで持ち運ぶことができる。なお、図2(A)と同じ要素には同じ符号を付しており、その他の要素の説明は省略する。   The electronic mirror 10 of the present embodiment is battery-driven, but has a shape suitable for being installed at a specific place in a room. Here, in consideration of the case where makeup is retouched on the go, for example, a battery-driven electronic mirror incorporated in a compact case is convenient. FIG. 2B is an external view of the electronic mirror 10A. The electronic mirror 10A is operated by a battery and includes the hinge 51 so that the LCD 50 can be folded and carried around. Note that the same elements as those in FIG. 2A are denoted by the same reference numerals, and description of other elements is omitted.

特に電子鏡10Aのような小型の形状である場合には、大型の電池を使用することが困難であり、例えばボタン型電池などが使用されることがある。このとき、電池を長持ちさせるためには、CPU40が実行する画像処理に伴う消費電力を小さくすることが有効である。したがって、電子鏡に化粧結果を客観的に評価する機能をもたせる場合、評価に必要な画像処理をできるだけ単純化してCPU40の負担を減らすことが重要である。   In particular, in the case of a small shape such as the electronic mirror 10A, it is difficult to use a large battery, and for example, a button-type battery may be used. At this time, in order to make the battery last longer, it is effective to reduce the power consumption accompanying the image processing executed by the CPU 40. Therefore, when the electronic mirror is provided with a function for objectively evaluating the makeup result, it is important to simplify the image processing necessary for the evaluation as much as possible to reduce the burden on the CPU 40.

以下では、本実施形態の電子鏡10について、化粧ムラや化粧忘れといった化粧の失敗の有無を客観的に評価するために実行される画像処理(画像の補正)、判断の方法、フローについて説明する。なお、電子鏡10Aのブロック図は本実施形態の電子鏡10と同じであり、以下のCPU40の処理は電子鏡10Aについても共通であるため、電子鏡10だけについて説明を行う。   Hereinafter, with respect to the electronic mirror 10 of the present embodiment, image processing (image correction), determination method, and flow executed to objectively evaluate the presence or absence of makeup failure such as makeup unevenness or forgetting makeup will be described. . Note that the block diagram of the electronic mirror 10A is the same as that of the electronic mirror 10 of the present embodiment, and the following processing of the CPU 40 is common to the electronic mirror 10A, so only the electronic mirror 10 will be described.

1.3.電子鏡における画像の補正および表示の調整
図3(A)〜図4(B)は、電子鏡10が化粧結果を客観的に評価するために実行する画像の補正等を説明する図である。なお、図1〜図2(B)と同じ要素には同じ符号を付しており説明を省略する。また、図3(A)〜図4(B)は画像処理を説明するための図であり、これらの画像がLCD50に必ず表示されるとは限らない。
1.3. Image Correction and Display Adjustment in Electronic Mirror FIG. 3A to FIG. 4B are diagrams for explaining image correction performed by the electronic mirror 10 to objectively evaluate the makeup result. In addition, the same code | symbol is attached | subjected to the same element as FIGS. 1-2 (B), and description is abbreviate | omitted. 3A to 4B are diagrams for explaining the image processing, and these images are not always displayed on the LCD 50. FIG.

図3(A)は、カメラ20が撮像した利用者の顔を含む画像(原画像)がLCD50に表示されている様子を表す。このとき、天井の電灯78によって顔に影(陰影77)が生じている。ここで、陰影77の存在によって、化粧ムラの有無の判定が正しくできない可能性がある。本実施形態の電子鏡10のCPU40は、このような陰影77を除去する画像処理を行い、図3(B)のような補正した画像を生成する。   FIG. 3A shows a state in which an image (original image) including the user's face imaged by the camera 20 is displayed on the LCD 50. At this time, a shadow (shadow 77) is generated on the face by the ceiling lamp 78. Here, due to the presence of the shadow 77, it may not be possible to correctly determine the presence or absence of makeup unevenness. The CPU 40 of the electronic mirror 10 of the present embodiment performs image processing for removing such a shadow 77, and generates a corrected image as shown in FIG.

ここで、陰影77を除去するのに、CPUは次のような手法を実行してもよい。CPUは、原画像の色、明るさをそれぞれ示す色相値、輝度値を求める。そして、色相値と輝度値が同時に変化している境界を物体間又は部位間の境界であると判断し、輝度値だけが変化している境界を陰影77がつくる境界であると判断する。   Here, to remove the shadow 77, the CPU may execute the following method. The CPU obtains a hue value and a luminance value indicating the color and brightness of the original image, respectively. Then, it is determined that the boundary where the hue value and the luminance value are changing simultaneously is a boundary between objects or parts, and the boundary where only the luminance value is changed is a boundary where the shadow 77 is created.

さらに、原画像の輝度値の分布を統計的に処理し、光源(ここでは、電灯78)の位置、方向を認識する。そして、例えば鼻等の付近の暗い部分のうち、光源と反対方向にあるものを陰影77であると判断する。このとき、光源との位置関係を考慮することで、より正確に陰影77を検出することができる。そして、陰影77が化粧の対称性の判断に影響がないようにする。このとき、CPU40は、図3(B)のように、陰影77を例えば周囲の色で置換する陰影の除去を実行してもよいし、陰影77に含まれる画素の色相値と輝度値が化粧の対称性の判断で使用されないようにしてもよい。   Further, the luminance value distribution of the original image is statistically processed to recognize the position and direction of the light source (in this case, the lamp 78). Then, for example, a dark portion near the nose or the like in the direction opposite to the light source is determined to be the shadow 77. At this time, the shadow 77 can be detected more accurately by considering the positional relationship with the light source. The shadow 77 does not affect the determination of the symmetry of the makeup. At this time, as shown in FIG. 3B, the CPU 40 may execute a shadow removal that replaces the shadow 77 with a surrounding color, for example, and the hue value and the luminance value of the pixel included in the shadow 77 are the makeup values. It may not be used in the determination of symmetry.

また、図3(B)のように陰影77を除去した画像について、CPU40は、明るさを調整して図3(C)のような補正画像を生成してもよい。例えば、図3(C)の画像の明るさは、利用者が化粧を直すのに見やすい明るさであってもよいし、特徴データに基づいてホクロや傷等を除去した画像を生成するのに適した明るさであってもよい。   For the image from which the shadow 77 is removed as shown in FIG. 3B, the CPU 40 may adjust the brightness to generate a corrected image as shown in FIG. For example, the brightness of the image in FIG. 3C may be a brightness that is easy to see for the user to correct makeup, or to generate an image from which moles, scratches, etc. are removed based on the feature data. It may be a suitable brightness.

さらに、CPU40は、利用者が手動で倍率を調整したときに、指示信号に従って拡大縮小を実行してもよい。図3(D)は、利用者がスライドスイッチ74の可動切片75を移動させて、拡大の指示をしたときの画像の変化を表している。   Further, the CPU 40 may execute enlargement / reduction according to the instruction signal when the user manually adjusts the magnification. FIG. 3D shows a change in the image when the user gives an enlargement instruction by moving the movable section 75 of the slide switch 74.

また、図4(A)〜図4(B)は、本実施形態の左右反転機能について説明する図である。電子鏡10は、通常の鏡と同じように使用できることを目的として、原画像に対して左右が反転している画像をLCD50に表示する。図4(A)は、左右が反転した画像であって(左右反転機能はオン状態)、利用者は通常の鏡と同じように化粧等を行うことができる。   FIG. 4A to FIG. 4B are diagrams for explaining the left / right reversing function of the present embodiment. The electronic mirror 10 displays on the LCD 50 an image that is reversed left and right with respect to the original image for the purpose of being used in the same manner as a normal mirror. FIG. 4A is an image in which left and right are reversed (the left / right reversing function is in an on state), and the user can perform makeup and the like in the same manner as a normal mirror.

一方、図4(B)は、左右が反転していない画像であって(左右反転機能はオフ状態)、利用者は自分が他人からどのように見られるかを他人の視点で確認することができる。CPU40は、図4(A)の表示と図4(B)の表示との切り換えを、画像処理の1つとして実行してもよい。   On the other hand, FIG. 4B is an image in which the left and right are not reversed (the horizontal reversal function is in an off state), and the user can confirm how he / she can see from another person's viewpoint. it can. The CPU 40 may execute switching between the display in FIG. 4A and the display in FIG. 4B as one of the image processes.

1.4.化粧結果の客観的な評価
図5(A)〜図7は、本実施形態の電子鏡10が化粧結果を客観的に評価する手法を説明する図である。なお、化粧結果について客観的に評価する前に、前記の画像処理によって、陰影の除去や、倍率(拡大縮小)の調整が適切に実行されているものとする。なお、図1〜図4(B)と同じ要素には同じ符号を付しており説明を省略する。
1.4. Objective Evaluation of Makeup Result FIGS. 5A to 7 are diagrams for explaining a method in which the electronic mirror 10 of the present embodiment objectively evaluates the makeup result. In addition, before objectively evaluating the makeup result, it is assumed that removal of shadows and adjustment of magnification (enlargement / reduction) are appropriately performed by the image processing. In addition, the same code | symbol is attached | subjected to the same element as FIGS. 1-4 (B), and description is abbreviate | omitted.

本実施形態の電子鏡10は、化粧結果における失敗の有無を、顔の右半分と左半分とで色合いおよび明るさの少なくとも一方を比較することで判断する。一般に、顔の右半分と左半分とで対称的である場合、化粧は正しく実行されていることになる。一方、片方の眉毛のみを化粧したり(化粧忘れ)、一部に化粧ムラができたりすると、顔の右半分と左半分とで色合いおよび明るさの少なくとも一方が大きく異なる。このとき、化粧が失敗したと判断できる。   The electronic mirror 10 according to the present embodiment determines whether or not there is a failure in the makeup result by comparing at least one of hue and brightness between the right half and the left half of the face. In general, if the right half and the left half of the face are symmetrical, makeup is performed correctly. On the other hand, when only one eyebrow is put on (forgetting to make up) or uneven makeup is created in part, at least one of color and brightness differs greatly between the right half and the left half of the face. At this time, it can be determined that the makeup has failed.

ここで、比較に用いる顔の右半分と左半分の領域を小さくとると、眉毛、目、唇、鼻といった顔の要素を抽出して、要素同士の対称性等を評価する場合と同じ程度の処理時間がかかり、消費電力も増大する。そこで、以下の例のように、本実施形態では大きな領域で比較して、利用者の要求がある場合にのみ領域を狭めて詳細な解析を行う。そのため、消費電力を抑えながら、化粧結果を客観的に評価することができる。   Here, if the area of the right half and the left half of the face used for comparison are made small, the facial elements such as eyebrows, eyes, lips, and nose are extracted, and the degree of symmetry of the elements is evaluated to the same extent. Processing time is required and power consumption increases. Therefore, as in the following example, in this embodiment, comparison is made in a large area, and only when there is a user request, the area is narrowed and detailed analysis is performed. Therefore, the makeup result can be objectively evaluated while suppressing power consumption.

図5(A)は、電子鏡10が利用者の化粧が左右で非対称であると判断して、化粧が非対称であるとの警告表示98と共に利用者を映した画像を表示手段に表示している様子を表す。利用者は、警告表示98によって顔の右半分と左半分の化粧が対称でないことに気付くことができる。この例では、左頬の化粧にムラ(化粧ムラ90)があり、右頬とは色合いが異なるので、左右非対称との警告表示98が表示されている。   In FIG. 5A, the electronic mirror 10 determines that the makeup of the user is asymmetric on the left and right, and displays an image showing the user on the display means together with a warning display 98 that the makeup is asymmetric. Represents the situation. The user can recognize from the warning display 98 that the makeup of the right half and the left half of the face is not symmetrical. In this example, the left cheek makeup has unevenness (makeup unevenness 90), and since the hue is different from that of the right cheek, a warning display 98 indicating a left-right asymmetry is displayed.

このとき、CPUは以下のような処理によって化粧の左右対称性を判断している。まず、CPUはメモリーブロック(図1参照)から特徴データを読み込み、取得した画像における利用者の顔の特徴点を抽出して、特徴データの情報と比較することで利用者を特定する。ここで、メモリーブロックは特定の1人の特徴データを記憶していてもよいが、本実施形態の電子鏡10では複数人の特徴データを記憶しているとする。   At this time, the CPU determines the symmetry of the makeup by the following process. First, the CPU reads feature data from a memory block (see FIG. 1), extracts feature points of the user's face in the acquired image, and identifies the user by comparing with feature data information. Here, the memory block may store characteristic data of one specific person, but it is assumed that the electronic mirror 10 of the present embodiment stores characteristic data of a plurality of persons.

利用者の特定の仕方は、現在知られている一般的な顔識別手法を採用してもよい。例えば、取得した画像から、眉や目の端点等の顔特徴点を抽出し、これらの間の距離(顔特徴点間距離)を測定する。そして、複数の利用者の特徴データと比較して、マッチするものを選択してもよい。   As a method for specifying the user, a currently known general face identification method may be adopted. For example, facial feature points such as eyebrows and eye endpoints are extracted from the acquired image, and the distance between them (the distance between facial feature points) is measured. Then, the matching data may be selected by comparing with the characteristic data of a plurality of users.

その後にCPUは、特定した利用者の鼻を通る垂直方向の境界線Lを求める。境界線Lは、画像における利用者の顔の右半分と左半分とを分ける境界線である。そして、境界線Lと垂直に交わる水平方向の境界線L、境界線Lを求める。境界線Lは、例えば図5(A)の例のように髪の毛の生え際で決定されてもよい。そして、境界線Lは、例えば図5(A)の例のようにあごの先で決定してもよい。 Thereafter CPU obtains the boundary L 1 of the vertical direction through the nose of the identified user. Boundary L 1 is the boundary line separating the right and left halves of the face of the user in the image. Then, a horizontal boundary line L T and a boundary line L B perpendicular to the boundary line L 1 are obtained. Boundary L T, for example 5 may be determined by the hairline hair as in the example of (A). Then, the boundary line L B, for example 5 may be determined by the jaws of the previous as in the example of (A).

図5(B)は、図5(A)のLCD50を取り出し、境界線L、境界線L、境界線Lを示したものである。なお、利用者の顔などの画像の表示は省略している。図5(B)でこれらの境界線とLCD50の左側の黒枠とで囲まれた、利用者の顔の左半分を含む領域が領域A1である。また、図5(B)でこれらの境界線とLCD50の右側の黒枠とで囲まれた、利用者の顔の右半分を含む領域が領域A2である。CPUは、領域A1に含まれる画素の明るさ、色(この例では、それぞれ輝度値、色相値とする)を平均した値と、領域A2に含まれる画素の輝度値、色相値を平均した値とを比較して、化粧の左右対称性を判断してもよい。比較は、輝度値および色相値の少なくとも一方について実行されればよい。また、画素値がRGBやYCbCrなどで表されており、その一部又は全部の色について比較が実行されてもよい。 FIG. 5B shows the boundary line L 1 , the boundary line L T , and the boundary line L B taken out from the LCD 50 shown in FIG. The display of images such as the user's face is omitted. In FIG. 5B, an area including the left half of the user's face surrounded by these boundary lines and the black frame on the left side of the LCD 50 is an area A1. In FIG. 5B, an area including the right half of the user's face surrounded by these boundary lines and the black frame on the right side of the LCD 50 is an area A2. The CPU averages the brightness and color of the pixels included in the area A1 (in this example, the luminance value and the hue value, respectively), and the average value of the luminance values and hue values of the pixels included in the area A2. And the symmetry of the makeup may be determined. The comparison may be performed for at least one of the luminance value and the hue value. Further, pixel values are represented by RGB, YCbCr, or the like, and comparison may be executed for some or all of the colors.

ここで、ホクロ99のような利用者の顔に特有の要素が、化粧の左右対称性の判断に影響を与える可能性がある。そのため、CPUは特徴データに基づいてホクロや傷等を除去した画像を生成してから、化粧に起因する色や明るさの分布である化粧データを抽出して、前記の比較を実行してもよい。なお、ホクロや傷等に限らず、特定された利用者の化粧をしていない素顔のデータ(素顔データ)がメモリーブロックに記憶されていてもよい。CPUは、素顔データを読み込んで、素顔データに基づいて化粧データを抽出してもよい。   Here, an element peculiar to the user's face such as the mole 99 may affect the determination of the symmetry of the makeup. Therefore, the CPU generates an image from which moles, scratches, etc. are removed based on the feature data, and then extracts makeup data that is a color and brightness distribution caused by makeup, and executes the above comparison. Good. In addition, not only moles and scratches, but also face data (face data) that has not been applied by the specified user may be stored in the memory block. The CPU may read the face data and extract makeup data based on the face data.

なお、上記の説明では背景の影響はないものとして説明したが、実際には背景(特に均一な色、明るさでない背景)が化粧の左右対称性の判断に影響を与える可能性がある。そのため、LCD50において背景が見えない程度に利用者の顔が拡大されているか、顔の輪郭に基づいて、領域(図5(B)では領域A1と領域A2)から利用者の顔を含まない背景部分を除外する処理が行われてもよい。具体的には、利用者の左耳、右耳の位置で境界線Lに平行な、境界線L(図外)、境界線L(図外)を求める。そして、境界線L、境界線L、境界線L、境界線Lで囲まれた領域を領域A1とし、境界線L、境界線L、境界線L、境界線Lで囲まれた領域を領域A2として比較を実行してもよい。 In the above description, it has been described that there is no influence of the background. However, in practice, the background (particularly a uniform color, a background that is not bright) may affect the determination of the symmetry of the makeup. For this reason, the user's face is enlarged to such an extent that the background cannot be seen on the LCD 50, or the background that does not include the user's face from the area (area A1 and area A2 in FIG. 5B) based on the face outline. Processing for excluding the portion may be performed. Specifically, a boundary line L L (not shown) and a boundary line L R (not shown) that are parallel to the boundary line L 1 at the positions of the user's left ear and right ear are obtained. A region surrounded by the boundary line L L , the boundary line L T , the boundary line L 1 , and the boundary line L B is defined as a region A1, and the boundary line L 1 , the boundary line L T , the boundary line L R , and the boundary line L B The comparison may be executed with the region surrounded by the region A2.

1.5.化粧結果の客観的な評価(詳細)
上記のように、本実施形態の電子鏡10は、利用者の化粧の左右対称性を判断し、左右で非対称である場合に化粧の失敗があるとして警告表示を行う。しかし、左右非対称という警告表示だけでは、利用者がどの部分を直していいか分からない場合もある。
1.5. Objective evaluation of makeup results (details)
As described above, the electronic mirror 10 of the present embodiment determines the left-right symmetry of the user's makeup, and displays a warning that there is a makeup failure when the left-right asymmetry is asymmetric. However, there are cases where the user does not know which part to fix by just displaying the warning of left-right asymmetry.

図6(A)〜図7は、利用者が化粧を直すべき場所を特定するために、領域をより細かく分割して、利用者に対して適切な警告表示をする処理を説明する図である。なお、図5(A)〜図5(B)と同じ要素については同じ符号を付しており説明を省略する。   FIG. 6A to FIG. 7 are diagrams for explaining processing for dividing an area more finely and displaying an appropriate warning to the user in order to specify a place where the user should correct makeup. . In addition, the same code | symbol is attached | subjected about the same element as FIG. 5 (A)-FIG. 5 (B), and description is abbreviate | omitted.

図6(A)は、利用者の右目のアイシャドウの部分に化粧ムラ92がある場合の例を示す。ここでは、警告表示98として「目元が左右非対称」と表示されており、利用者はアイシャドウの化粧の失敗に気付くことができる。   FIG. 6A shows an example in which there is a makeup unevenness 92 in the eye shadow portion of the user's right eye. Here, the warning display 98 is displayed as “eye is asymmetrical”, and the user can notice the failure of makeup of the eye shadow.

図5(A)と比べると、境界線Lと境界線Lとの中間に、これらに平行に境界線Lが追加されている。境界線Lによって、図5(B)の領域A1と領域A2とをさらに分割し、その上部の領域で左右の非対称があれば、図6(A)のような警告表示98をして、利用者に対して化粧を直すべき部分をより特定して示すことができる。 5 Compared to (A), in the middle of the boundary line L T and border L B, the boundary line L 2 in parallel thereto have been added. The boundary line L 2, further divided into the regions A1 and A2 in FIG. 5 (B), if there is asymmetry in left and right areas of the upper, and a warning display 98, such as in FIG. 6 (A), It is possible to more specifically indicate a part to be repaired to the user.

この例においても、まず、図5(A)〜図5(B)のように領域A1と領域A2とを比較して、「左右非対称」という警告表示98が示される。その後、利用者がボタン72Bを押すことで、図6(A)のようにCPUは境界線Lを追加して、領域をさらに2分割する。 Also in this example, first, as shown in FIGS. 5A to 5B, the area A1 and the area A2 are compared with each other, and a warning display 98 “asymmetrical” is displayed. Thereafter, the user by pressing the button 72B, the CPU as shown in FIG. 6 (A) to add a border L 2, further 2 divides the area.

図6(B)は、この場合における領域を示す図である。境界線Lによって、上部の領域A11と領域A21が作られる。また、下部の領域A12、A22も作られることになる。CPUは、例えば最初に上部の領域A11と領域A21について、明るさおよび色の少なくとも一方を比較する。そして、化粧が左右非対称であると判断した場合には、図6(A)のように「目元が左右非対称」との警告表示98を行う。 FIG. 6B shows a region in this case. The boundary line L 2, the upper region A11 and the region A21 is made. In addition, lower regions A12 and A22 are also formed. For example, the CPU first compares at least one of brightness and color for the upper region A11 and region A21. When it is determined that the makeup is asymmetrical, a warning display 98 that “the eye is asymmetrical” is performed as shown in FIG.

その後に、利用者がボタン72Bを押した場合には、CPUは、下部の領域A12と領域A22について、明るさおよび色の少なくとも一方を比較する。そして、化粧が左右非対称であると判断した場合には、例えば「口元が左右非対称」といった警告表示98を行う。このように、化粧の左右非対称が、目元にあるのか、口元にあるのか、それとも両方にあるのかを、警告表示98によって利用者は知ることができ、化粧直しを行う場所を特定することが可能である。   Thereafter, when the user presses the button 72B, the CPU compares at least one of brightness and color for the lower area A12 and area A22. When it is determined that the makeup is left-right asymmetric, for example, a warning display 98 that “the mouth is left-right asymmetric” is performed. In this manner, the user can know whether the left-right asymmetry of the makeup is in the eyes, in the mouth, or in both, by the warning display 98, and it is possible to specify the place where the makeup is to be repaired. is there.

このとき、CPUは自動的に上部、下部に2分割した領域の左右対称性を判断するのではなく、利用者の指示があったときだけ領域の分割等を実行する。そのため、詳細な左右対称性の判断を自動的に実行し、結果として消費電力が大きくなるような問題は発生しない。例えば、利用者がボタン72Bを一定時間押さない場合には、警告表示98が消えて、詳細な左右対称性の判断に進まないようにしてもよい。   At this time, the CPU does not automatically determine the left-right symmetry of the upper and lower divided areas, but only divides the area when the user gives an instruction. Therefore, detailed determination of left-right symmetry is automatically executed, and as a result, there is no problem that power consumption increases. For example, when the user does not press the button 72B for a certain period of time, the warning display 98 may disappear and the detailed left-right symmetry determination may not be performed.

ここで、領域を分割して行う詳細な左右対称性の判断は、多段的に実行されてもよい。例えば、図7は、図6(B)のように分割された後に、さらに利用者の指示によって領域が分割される様子を表している。   Here, the detailed determination of left-right symmetry performed by dividing an area may be performed in multiple stages. For example, FIG. 7 shows a state in which the area is further divided according to a user instruction after being divided as shown in FIG.

このとき、境界線L、境界線Lがさらに追加されて、例えば8つの領域A111〜領域A222に分割される。例えば、領域A111と領域A211との比較で、非対称であった場合には、「額が左右非対称」との警告表示98が示される。また、例えば、領域A121と領域A221との比較で、非対称であった場合には、「頬が左右非対称」との警告表示98が示される。したがって、利用者はより簡単に、化粧直しを行う場所を特定することが可能である。 At this time, a boundary line L 3 and a boundary line L 4 are further added and divided into, for example, eight regions A111 to A222. For example, if the comparison between the area A111 and the area A211 is asymmetrical, a warning display 98 “Forehead is asymmetrical” is displayed. Further, for example, if the comparison between the area A121 and the area A221 is asymmetrical, a warning display 98 “cheek is asymmetrical left and right” is displayed. Therefore, the user can more easily specify the place where the make-up is performed.

1.6.フローチャート
図8〜図9は、本実施形態の電子鏡に含まれるCPUが行う制御を表す。CPUは、例えばROMに記憶されたプログラムを読み込んで、そのプログラムに従って以下に説明する制御を実行してもよい。
1.6. Flowchart FIGS. 8 to 9 show the control performed by the CPU included in the electronic mirror of this embodiment. For example, the CPU may read a program stored in the ROM and execute the control described below according to the program.

図8のように、CPUはカメラから利用者の画像(原画像)を取得する(S2)。そして、原画像の明るさの分布などから光源の位置を特定する(S4)。そして、利用者の顔における陰影を明るさや色の変化から特定して除去する(S6)。このとき、光源に対する位置を計算することで、本当の影であるかを確認して、慎重に陰影除去を行うことが可能である。   As shown in FIG. 8, the CPU acquires a user image (original image) from the camera (S2). Then, the position of the light source is specified from the brightness distribution of the original image (S4). Then, the shadow on the user's face is identified and removed from the change in brightness and color (S6). At this time, by calculating the position with respect to the light source, it is possible to confirm whether it is a real shadow and carefully remove the shadow.

CPUは、メモリーブロックから特徴データを取得して(S8)、原画像の利用者を特定する(S10)。その後、利用者の鼻を通る垂直中心線(例えば図5(A)の境界線Lに対応)を設定し、顔の右半分と左半分の領域を定める(S12)。そして、特定された利用者の特徴データに基づいて、ホクロ、傷等の除去を行って(S14)、化粧データを抽出する(S16)。 The CPU acquires feature data from the memory block (S8) and specifies the user of the original image (S10). Then, set the vertical center line passing through the nose of the user (e.g., corresponding to the boundary line L 1 in FIG. 5 (A)), defines the right half and the left half area of the face (S12). Then, moles, scratches and the like are removed based on the specified feature data of the user (S14), and makeup data is extracted (S16).

その後、化粧に起因する色や明るさの分布である化粧データに基づいて、顔の右半分の領域と左半分の領域との対称性を判断する判定処理を実行する(S20)。   After that, based on makeup data that is a color and brightness distribution resulting from makeup, a determination process is performed to determine the symmetry between the right half region and the left half region of the face (S20).

判定処理では、図9のように、CPUは対称性を判断する次の領域を選択する(S202)。例えば、最初であれば、図5(B)の領域A1と領域A2とが選択される。また、図6(B)のような場合に、領域A11と領域A12の対称性の判断が終了した後であれば、次に対称性を判断する領域は領域A21と領域A22である。   In the determination process, as shown in FIG. 9, the CPU selects the next area for determining symmetry (S202). For example, at the beginning, the area A1 and the area A2 in FIG. 5B are selected. Further, in the case of FIG. 6B, after the determination of the symmetry between the area A11 and the area A12 is completed, the areas for which the symmetry is determined next are the area A21 and the area A22.

CPUは、選択された領域のそれぞれに含まれる画素値について、演算処理を実行する(S204)。画素値は明るさおよび色の少なくとも一方であってもよいし、演算処理とは例えば平均化であってもよい。   The CPU executes arithmetic processing for the pixel values included in each of the selected areas (S204). The pixel value may be at least one of brightness and color, and the arithmetic processing may be, for example, averaging.

比較の結果、垂直中心線の左右、すなわち顔の右半分と左半分で対称であるか否かが判断される(S206)。非対称であれば(S206:yes)、警告を表示する(S208)。もし、左右対称性があり化粧の失敗がなければ、警告表示はされない(S206:no)。ここで、明るさおよび色の少なくとも一方について、垂直中心線の左右の平均化した値の差が所定の閾値以上である場合に非対称であると判断してもよい。   As a result of the comparison, it is determined whether the left and right sides of the vertical center line, that is, the right half and the left half of the face are symmetric (S206). If it is asymmetric (S206: yes), a warning is displayed (S208). If there is left-right symmetry and there is no makeup failure, no warning is displayed (S206: no). Here, regarding at least one of brightness and color, it may be determined that the difference between the average values of the left and right of the vertical center line is asymmetric when it is equal to or greater than a predetermined threshold.

そして、利用者が一定時間内にボタンを押した場合には、領域を狭めての詳細な左右対称性の解析が実行される(S210:yes)。まず、既に上部、下部に分割された領域がある場合、左右対称性の判断がされていない未選択の領域があるか否かが確認される(S212)。未選択の領域がある場合には、S202へと戻る(S212:yes)。未選択の領域がない場合には(S212:no)、さらに領域のそれぞれを上部、下部に2分割して(S214)、S202へと戻る。   When the user presses the button within a predetermined time, a detailed left-right symmetry analysis is performed with the area narrowed (S210: yes). First, when there are already divided areas in the upper part and the lower part, it is confirmed whether or not there is an unselected area for which left / right symmetry is not determined (S212). If there is an unselected area, the process returns to S202 (S212: yes). If there is no unselected area (S212: no), each area is further divided into two parts, the upper part and the lower part (S214), and the process returns to S202.

利用者が、詳細な左右対称性の解析を希望せず、一定時間内にボタンが押されない場合には、判定処理が終了する。   If the user does not desire detailed analysis of left-right symmetry and the button is not pressed within a certain time, the determination process ends.

以上のように、本実施形態の電子鏡は、顔の右半分の領域と左半分の領域とで明るさ、色が対称であるか否かを判断することで、消費電力を抑えながらも、化粧結果の客観的な評価を行って利用者に示すことができる。   As described above, the electronic mirror according to the present embodiment determines whether brightness and color are symmetrical between the right half area and the left half area of the face, while suppressing power consumption. An objective evaluation of the makeup result can be made and shown to the user.

2.第2実施形態
2.1.電子鏡の構成
本発明の第2実施形態について図10〜図13を参照して説明する。図10は、本実施形態の電子鏡10Bの構成を示す図である。第1実施形態との差異を説明すると、電子鏡10Bは複数のカメラ(カメラ20A〜カメラ20D)を備えている。また、電子鏡10Bをオン状態又はオフ状態にするのに用いる人感センサー82を備えている。そして、入力装置を省略し、指示入力手段としての機能も兼ねたタッチパネルLCD80を備えている。なお、図1〜図9と同じ要素には同じ符号を付しており、以下では第1実施形態と異なる要素についてのみ説明する。
2. Second Embodiment 2.1. Configuration of Electron Mirror A second embodiment of the present invention will be described with reference to FIGS. FIG. 10 is a diagram showing a configuration of the electronic mirror 10B of the present embodiment. Explaining the difference from the first embodiment, the electronic mirror 10B includes a plurality of cameras (cameras 20A to 20D). Further, a human sensor 82 used to turn on or off the electronic mirror 10B is provided. The touch panel LCD 80 is also provided which omits the input device and also functions as an instruction input unit. In addition, the same code | symbol is attached | subjected to the same element as FIGS. 1-9, and only the element different from 1st Embodiment is demonstrated below.

本実施形態の電子鏡10Bにおけるカメラ20A〜カメラ20Dは、それぞれ電子鏡10Bの異なる場所に設置されることで視差を作り出す。そして、三角測量の原理で検出物体との距離を測定できる。そのため、例えば光源の距離および方向を正確に把握することができ、的確に陰影を除去することができる。なお、カメラの数は4つに限るものではなく、2つ以上であればよい。   The cameras 20A to 20D in the electronic mirror 10B of the present embodiment create parallax by being installed in different places of the electronic mirror 10B. The distance to the detected object can be measured by the principle of triangulation. Therefore, for example, the distance and direction of the light source can be accurately grasped, and the shadow can be accurately removed. The number of cameras is not limited to four, but may be two or more.

CPU40は、画像信号120A〜画像信号120Dのそれぞれを受け取る。CPU40は、画像信号120A〜画像信号120Dのいずれか1つに基づいて、又は4つを合成等した画像信号に基づいて原画像を取得する。   The CPU 40 receives each of the image signal 120A to the image signal 120D. The CPU 40 acquires an original image based on any one of the image signals 120A to 120D or based on an image signal obtained by combining the four.

人感センサー82は、赤外線、超音波、又は可視光などを用いて、人間の存在を検知するセンサーである。本実施形態の電子鏡10Bは、人感センサー82が利用者の存在を検知して、検出信号182を出力したときに、電子鏡10Bの通常機能をオン状態にする。逆に人感センサー82が利用者の存在を検知しないときは、電子鏡10Bのうち人感センサー82とCPU40のみを動作させるスリープ状態にする。そのため、消費電力を抑えることができ、電源ボタン(図2(A)のボタン72A参照)を省略することができる。   The human sensor 82 is a sensor that detects the presence of a human using infrared rays, ultrasonic waves, visible light, or the like. The electronic mirror 10B of this embodiment turns on the normal function of the electronic mirror 10B when the human sensor 82 detects the presence of the user and outputs a detection signal 182. On the contrary, when the human sensor 82 does not detect the presence of the user, the sleep state in which only the human sensor 82 and the CPU 40 are operated in the electronic mirror 10B is set. Therefore, power consumption can be suppressed, and the power button (see the button 72A in FIG. 2A) can be omitted.

タッチパネルLCD80は、表示手段として機能する他、指示入力手段としても機能する。例えば、利用者は、手動で倍率を変更したい場合に、タッチパネルLCD80上に可動切片を持つスライドスイッチの画像を表示させる。そして、利用者がタッチパネルLCD80上の可動切片(画像)を指で移動させることで、指示信号180がCPU40に伝わり、表示画像を拡大・縮小することが可能である。また、化粧の左右対称性の詳細情報を知りたい場合に用いるファンクションボタン(図2(A)のボタン72B参照)も表示させる。   The touch panel LCD 80 functions not only as a display unit but also as an instruction input unit. For example, when the user wants to manually change the magnification, the user displays an image of a slide switch having a movable section on the touch panel LCD 80. When the user moves the movable section (image) on the touch panel LCD 80 with a finger, the instruction signal 180 is transmitted to the CPU 40, and the display image can be enlarged or reduced. Also, a function button (see button 72B in FIG. 2A) used when it is desired to know detailed information on the symmetry of makeup is displayed.

このとき、部品としてのスライドスイッチやファンクションボタンを省略することができる。そのため、電子鏡10Bの全体に対してタッチパネルLCD80の占める割合を大きくすることが可能である。つまり、電子鏡10Bの全体の大きさを変えずに、表示画像を見やすくすることができる。なお、タッチパネルLCD80上のスライドスイッチやファンクションボタンは、利用者がタッチパネルLCD80に触れると表示されて、一定時間経過すると表示されなくなってもよい。   At this time, slide switches and function buttons as parts can be omitted. Therefore, it is possible to increase the ratio of the touch panel LCD 80 to the entire electronic mirror 10B. That is, it is possible to make the display image easier to see without changing the overall size of the electronic mirror 10B. Note that the slide switch and the function button on the touch panel LCD 80 may be displayed when the user touches the touch panel LCD 80 and may not be displayed after a predetermined time has elapsed.

2.2.電子鏡の外観
図11は、本実施形態の電子鏡10Bの外観図である。電子鏡10Bでは、画像を表示するタッチパネルLCD80に可動切片を持つスライドスイッチ74とボタン72Bが表示されている。そして、利用者が指で可動切片を移動させたり、ボタン72Bを押したりすることができる。
2.2. FIG. 11 is an external view of an electronic mirror 10B of the present embodiment. In the electronic mirror 10B, a slide switch 74 having a movable section and a button 72B are displayed on a touch panel LCD 80 for displaying an image. Then, the user can move the movable section with a finger or press the button 72B.

また、カメラ20A、カメラ20B、カメラ20C、カメラ20Dは、フレーム3のそれぞれ上、左、下、右の部分に設けられている。そのため、例えばカメラ20Bとカメラ20Dの視差により、光源までの正確な距離をCPUが計算で求めることが可能になる。   Further, the camera 20A, the camera 20B, the camera 20C, and the camera 20D are provided in the upper, left, lower, and right portions of the frame 3, respectively. Therefore, for example, the CPU can calculate the exact distance to the light source by the parallax between the camera 20B and the camera 20D.

2.3.フローチャート
図12〜図13は、本実施形態の電子鏡に含まれるCPUが行う制御を表す。なお、図8〜図9と同じ工程には同じ符号を付しており詳細な説明を省略する。第1実施形態のフローチャートと比較すると、特徴データに基づく利用者のホクロや傷等の補正処理を左右非対称であると判断した後に実行する点が異なる。これは、小さなホクロなどはファンデーションを塗ったあとで目立たなくなり、対称性の判断にほとんど影響を与えないことを考慮したものである。つまり、左右非対称と判断した後に、利用者の顔の特徴(ホクロ、傷等)に基づいて画像を補正する方が効率的だからである。
2.3. Flowchart FIGS. 12 to 13 show the control performed by the CPU included in the electronic mirror of the present embodiment. In addition, the same code | symbol is attached | subjected to the same process as FIGS. 8-9, and detailed description is abbreviate | omitted. Compared to the flowchart of the first embodiment, the difference is that the correction process for the user's moles and scratches based on the feature data is executed after determining that it is asymmetrical. This is because small moles and the like are not noticeable after applying the foundation, and have little influence on the judgment of symmetry. That is, it is more efficient to correct the image based on the user's facial features (such as moles and scratches) after determining left / right asymmetry.

また、本実施形態のフローチャートは、第1実施形態のフローチャートと比較すると、利用者がボタンを押さない限り、左右対称性の判断を行わない点で異なる。第1実施形態では、利用者がボタンを押さなくても、少なくとも最初の左右対称性の判断を実行していた。しかし、本実施形態では全ての左右対称性の判断について、利用者がボタンを押すのを待って実行する。そのため、CPUは不必要な判断を一切実行しないので、さらに消費電力を抑えることができる。   Further, the flowchart of the present embodiment is different from the flowchart of the first embodiment in that the determination of left-right symmetry is not performed unless the user presses a button. In the first embodiment, at least the first left / right symmetry determination is performed without the user pressing a button. However, in this embodiment, all left / right symmetry determinations are executed after the user presses a button. For this reason, the CPU does not make any unnecessary determination, so that power consumption can be further reduced.

図12のように、CPUはカメラから利用者の画像(原画像)を取得する(S2)。そして、原画像の明るさの分布などから光源の位置を特定する(S4)。そして、利用者の顔における陰影を明るさや色の変化から特定して除去する(S6)。本実施形態では、視差に基づいて、光源までの距離や方向を正確に把握できるので、的確に陰影除去を行うことが可能である。   As shown in FIG. 12, the CPU acquires a user image (original image) from the camera (S2). Then, the position of the light source is specified from the brightness distribution of the original image (S4). Then, the shadow on the user's face is identified and removed from the change in brightness and color (S6). In the present embodiment, since the distance and direction to the light source can be accurately grasped based on the parallax, it is possible to accurately remove the shadow.

CPUは、メモリーブロックから特徴データを取得して(S8)、原画像の利用者を特定する(S10)。その後、利用者の鼻を通る垂直中心線(例えば図5(A)の境界線Lに対応)を設定し、顔の右半分と左半分の領域を定める(S12)。そして、化粧データを抽出する(S16)。 The CPU acquires feature data from the memory block (S8) and specifies the user of the original image (S10). Then, set the vertical center line passing through the nose of the user (e.g., corresponding to the boundary line L 1 in FIG. 5 (A)), defines the right half and the left half area of the face (S12). Then, makeup data is extracted (S16).

その後、化粧に起因する色や明るさの分布である化粧データに基づいて、顔の右半分の領域と左半分の領域との対称性を判断する判定処理を実行する(S20A)。   After that, based on makeup data that is a color and brightness distribution resulting from makeup, a determination process is performed to determine the symmetry between the right half region and the left half region of the face (S20A).

判定処理では、図13のように、CPUは利用者がボタンを押すのを待って処理を開始する。つまり、一定時間内にボタンが押されなければ、判定処理を終了してしまう(S201:no)。   In the determination process, as shown in FIG. 13, the CPU waits for the user to press a button and starts the process. That is, if the button is not pressed within a certain time, the determination process ends (S201: no).

利用者がボタンを押すと(S201:yes)、CPUは対称性を判断する次の領域を選択する(S202)。次の領域の選択の仕方は第1実施形態と同じである。そして、CPUは、選択された領域のそれぞれに含まれる画素値について、演算処理を実行する(S204)。   When the user presses the button (S201: yes), the CPU selects the next area for determining symmetry (S202). The method for selecting the next region is the same as in the first embodiment. Then, the CPU executes arithmetic processing for the pixel values included in each of the selected areas (S204).

比較の結果、垂直中心線の左右、すなわち顔の右半分と左半分で対称であるか否かが判断される(S206)。もし、左右対称性があり化粧の失敗がなければ(S206:no)、対称である旨の表示がされる(S211B)。   As a result of the comparison, it is determined whether the left and right sides of the vertical center line, that is, the right half and the left half of the face are symmetric (S206). If there is left-right symmetry and there is no failure in makeup (S206: no), a message to the effect of symmetry is displayed (S211B).

しかし、もし非対称であれば(S206:yes)、利用者の特徴データに基づいて化粧データからホクロや傷等の影響を除去する補正処理が実行される(S207)。そして、再び垂直中心線の左右で対称であるか否かが判断される(S209)。ここで、左右対称性があり化粧の失敗がなければ(S209:no)、対称である旨の表示がされる(S211B)。しかし、補正処理を実行しても非対称であれば(S209:yes)、警告を表示する(S211A)。   However, if it is asymmetric (S206: yes), a correction process for removing the influence of moles, scratches and the like from the makeup data is executed based on the feature data of the user (S207). Then, it is determined again whether or not the vertical center line is symmetric (S209). Here, if there is left-right symmetry and there is no failure in makeup (S209: no), a display to the effect of symmetry is displayed (S211B). However, if the correction process is asymmetric even if it is executed (S209: yes), a warning is displayed (S211A).

対称である旨、又は警告が表示された後、CPUは、領域を狭めての詳細な左右対称性の解析の準備を行う。まず、既に上部、下部に分割された領域がある場合、左右対称性の判断がされていない未選択の領域があるか否かが確認される(S212)。未選択の領域がある場合には、S201へと戻る(S212:yes)。未選択の領域がない場合には(S212:no)、さらに領域のそれぞれを上部、下部に2分割して(S214)、S201へと戻る。   After the symmetry or warning is displayed, the CPU prepares for a detailed left-right symmetry analysis with a narrowed area. First, when there are already divided areas in the upper part and the lower part, it is confirmed whether or not there is an unselected area for which left / right symmetry is not determined (S212). If there is an unselected area, the process returns to S201 (S212: yes). If there is no unselected area (S212: no), each area is further divided into two parts, the upper part and the lower part (S214), and the process returns to S201.

以上のように、本実施形態の電子鏡は、顔の右半分の領域と左半分の領域とで明るさ、色が対称であるか否かを判断することで、消費電力を抑えながらも、化粧結果の客観的な評価を行って利用者に示すことができる。また、利用者がボタンを押すのを待って左右対称性の判断を実行するので、さらに消費電力を抑えることができ、タッチパネルLCDを使用することで部品を削減してコストを抑えることもできる。   As described above, the electronic mirror according to the present embodiment determines whether brightness and color are symmetrical between the right half area and the left half area of the face, while suppressing power consumption. An objective evaluation of the makeup result can be made and shown to the user. Further, since the symmetry determination is executed after the user presses the button, the power consumption can be further reduced, and the cost can be reduced by reducing the number of parts by using the touch panel LCD.

3.その他
これらの例示に限らず、本発明は、実施の形態で説明した構成と実質的に同一の構成(例えば、機能、方法および結果が同一の構成、あるいは目的および効果が同一の構成)を含む。また、本発明は、実施の形態で説明した構成の本質的でない部分を置き換えた構成を含む。また、本発明は、実施の形態で説明した構成と同一の作用効果を奏する構成又は同一の目的を達成することができる構成を含む。また、本発明は、実施の形態で説明した構成に公知技術を付加した構成を含む。
3. Others The present invention is not limited to these examples, and the present invention includes configurations that are substantially the same as the configurations described in the embodiments (for example, configurations that have the same functions, methods, and results, or configurations that have the same purposes and effects). . In addition, the invention includes a configuration in which a non-essential part of the configuration described in the embodiment is replaced. In addition, the present invention includes a configuration that exhibits the same operational effects as the configuration described in the embodiment or a configuration that can achieve the same object. Further, the invention includes a configuration in which a known technique is added to the configuration described in the embodiment.

3…フレーム、10…電子鏡、10A…電子鏡、10B…電子鏡、20…カメラ、20A…カメラ、20B…カメラ、20C…カメラ、20D…カメラ、30…メモリーブロック、32…RAM、34…ROM、40…CPU、50…LCD、51…ヒンジ、70…入力装置、72…ボタン、72A…ボタン、72B…ボタン、74…スライドスイッチ、75…可動切片、77…陰影、78…電灯、80…タッチパネルLCD、82…人感センサー、90…化粧ムラ、92…化粧ムラ、98…警告表示、99…ホクロ、120…画像信号、120A…画像信号、120B…画像信号、120C…画像信号、120D…画像信号、130…読み出しデータ、140…出力画像信号、142…書き込みデータ、170…指示信号、180…指示信号、182…検出信号 3 ... Frame, 10 ... Electronic mirror, 10A ... Electronic mirror, 10B ... Electronic mirror, 20 ... Camera, 20A ... Camera, 20B ... Camera, 20C ... Camera, 20D ... Camera, 30 ... Memory block, 32 ... RAM, 34 ... ROM, 40 ... CPU, 50 ... LCD, 51 ... hinge, 70 ... input device, 72 ... button, 72A ... button, 72B ... button, 74 ... slide switch, 75 ... movable section, 77 ... shadow, 78 ... electric light, 80 ... Touch panel LCD, 82 ... Human sensor, 90 ... Makeup unevenness, 92 ... Makeup unevenness, 98 ... Warning display, 99 ... Mole, 120 ... Image signal, 120A ... Image signal, 120B ... Image signal, 120C ... Image signal, 120D ... Image signal, 130 ... Read data, 140 ... Output image signal, 142 ... Write data, 170 ... Instruction signal, 180 ... Instruction signal , 182 ... detection signal

Claims (6)

画像を表示する表示手段と、
前記表示手段と一体的に設けられた撮像手段と、
前記撮像手段が撮像した利用者の顔を含む原画像に基づいて、利用者の顔の右半分と左半分の明るさおよび色の少なくとも一方を比較することで利用者が行った化粧の対称性を判断し、非対称であると判断した場合に、前記原画像に基づく画像と化粧が非対称である旨の警告とを前記表示手段に表示させる制御手段と、を含む電子鏡。
Display means for displaying an image;
Imaging means provided integrally with the display means;
The symmetry of the makeup performed by the user by comparing at least one of the brightness and color of the right and left halves of the user's face based on the original image including the user's face imaged by the imaging means And a control unit that causes the display unit to display an image based on the original image and a warning that the makeup is asymmetric when the image is determined to be asymmetric.
請求項1に記載の電子鏡において、
利用者の顔の特徴である特徴データを記憶する記憶手段を含み、
前記制御手段は、
前記特徴データに基づいて、前記原画像に基づく画像を補正し、利用者が行った化粧の対称性を判断する電子鏡。
The electronic mirror according to claim 1,
Storage means for storing feature data that is a feature of the user's face;
The control means includes
An electronic mirror that corrects an image based on the original image based on the feature data and determines symmetry of makeup performed by a user.
請求項2に記載の電子鏡において、
前記制御手段は、
前記特徴データに基づく補正を実行する前の画像に基づいて利用者が行った化粧が非対称であると判断する場合に、前記特徴データに基づく補正を実行して再び対称性を判断する電子鏡。
The electronic mirror according to claim 2,
The control means includes
An electronic mirror that performs correction based on the feature data and determines symmetry again when it is determined that makeup performed by the user is asymmetric based on an image before the correction based on the feature data is performed.
請求項1乃至3のいずれか1項に記載の電子鏡において、
前記制御手段は、
前記原画像に基づいて、電子鏡の使用場所における環境の情報である環境情報を取得し、
前記原画像に、前記環境情報に基づく色補正を実行して利用者が行った化粧の対称性を判断する電子鏡。
The electronic mirror according to any one of claims 1 to 3,
The control means includes
Based on the original image, obtain environmental information which is information on the environment at the place where the electronic mirror is used,
The electronic mirror which judges the symmetry of the makeup | decoration which the user performed by performing the color correction based on the said environment information to the said original image.
請求項1乃至4のいずれか1項に記載の電子鏡において、
利用者からの指示を受け取り、指示信号を生成する指示入力手段を含み、
前記制御手段は、
前記指示信号に基づいて、利用者の顔の右半分と左半分とを比較するのに用いる画像の領域を上部と下部とに2分割し、前記上部および前記下部の少なくとも一方について利用者が行った化粧の対称性を判断する電子鏡。
The electronic mirror according to any one of claims 1 to 4,
Including an instruction input means for receiving an instruction from the user and generating an instruction signal;
The control means includes
Based on the instruction signal, an image area used for comparing the right half and the left half of the user's face is divided into an upper part and a lower part, and the user performs at least one of the upper part and the lower part. An electronic mirror for judging the symmetry of makeup.
画像を表示する表示手段と、前記表示手段と一体的に設けられた撮像手段と、を含む電子鏡のプログラムであって、
前記撮像手段が撮像した利用者の顔を含む原画像に基づいて、利用者の顔の右半分と左半分の明るさおよび色の少なくとも一方を比較することで利用者が行った化粧の対称性を判断し、非対称であると判断した場合に、前記原画像に基づく画像と化粧が非対称である旨の警告とを前記表示手段に表示させる制御手段としてコンピューターを機能させるためのプログラム。
An electronic mirror program comprising: display means for displaying an image; and imaging means provided integrally with the display means,
The symmetry of the makeup performed by the user by comparing at least one of the brightness and color of the right and left halves of the user's face based on the original image including the user's face imaged by the imaging means A program for causing a computer to function as control means for causing the display means to display an image based on the original image and a warning that makeup is asymmetric when the image is determined to be asymmetric.
JP2012022928A 2012-02-06 2012-02-06 Electronic mirror and program of the same Pending JP2013158481A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012022928A JP2013158481A (en) 2012-02-06 2012-02-06 Electronic mirror and program of the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012022928A JP2013158481A (en) 2012-02-06 2012-02-06 Electronic mirror and program of the same

Publications (1)

Publication Number Publication Date
JP2013158481A true JP2013158481A (en) 2013-08-19

Family

ID=49171233

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012022928A Pending JP2013158481A (en) 2012-02-06 2012-02-06 Electronic mirror and program of the same

Country Status (1)

Country Link
JP (1) JP2013158481A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015207176A (en) * 2014-04-21 2015-11-19 株式会社ドクター中松創研 hand mirror
CN107485157A (en) * 2017-09-20 2017-12-19 成都信息工程大学 A kind of intelligent cosmetic mirror
JP2019063479A (en) * 2017-09-28 2019-04-25 麗寶大數據股▲フン▼有限公司 Apparatus for analyzing physical information and its comparison method
CN111626127A (en) * 2020-04-26 2020-09-04 杨铭轲 User information acquisition method, device and computer equipment based on face image
CN113468934A (en) * 2020-04-30 2021-10-01 海信集团有限公司 Symmetry detection method and intelligent equipment

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015207176A (en) * 2014-04-21 2015-11-19 株式会社ドクター中松創研 hand mirror
CN107485157A (en) * 2017-09-20 2017-12-19 成都信息工程大学 A kind of intelligent cosmetic mirror
JP2019063479A (en) * 2017-09-28 2019-04-25 麗寶大數據股▲フン▼有限公司 Apparatus for analyzing physical information and its comparison method
US10521648B2 (en) 2017-09-28 2019-12-31 Cal-Comp Big Data, Inc. Body information analysis apparatus and method of auxiliary comparison of eyebrow shapes thereof
CN111626127A (en) * 2020-04-26 2020-09-04 杨铭轲 User information acquisition method, device and computer equipment based on face image
CN113468934A (en) * 2020-04-30 2021-10-01 海信集团有限公司 Symmetry detection method and intelligent equipment

Similar Documents

Publication Publication Date Title
JP4507281B2 (en) Image display device, imaging device, and image display method
CN105659200B (en) Method, apparatus and system for displaying graphical user interface
US9445087B2 (en) Systems, devices, and methods for providing products and consultations
JP6090679B2 (en) Electronic mirror device
CN100556078C (en) Camera device, image processing device, and image processing method
TWI545947B (en) Display device with image capture and analysis module
CN105243371B (en) A kind of detection method, system and the camera terminal of face U.S. face degree
JP5879562B2 (en) Mirror device with camera, fixture with mirror
WO2011074198A1 (en) User interface apparatus and input method
CN107766831A (en) Image processing method, device, mobile terminal and computer-readable recording medium
TWI617994B (en) Method used in interactive device and for recognizing user behavior operating on the interactive device, and associated interactive device and computer readable medium
KR20210084102A (en) Electronic apparatus, scalp care system and method for controlling the electronic apparatus and the server
JP2013158481A (en) Electronic mirror and program of the same
JP6981277B2 (en) Detection device and detection program
TW201737237A (en) Electronic device, system and method for adjusting display device
CN103945104A (en) Information processing method and electronic equipment
JP2015232746A (en) Wrinkle detection device and wrinkle detection method
JP2018092351A (en) Image processing apparatus, image processing method, and program
CN108615012A (en) distance reminding method, electronic device and non-volatile computer-readable storage medium
WO2021095277A1 (en) Line-of-sight detection method, line-of-sight detection device, and control program
CN115039150A (en) Determination method, determination device, and determination program
JP2019028731A (en) Information processing device and program
JP2021077333A (en) Line-of-sight detection method, line-of-sight detection device, and control program
JP6098133B2 (en) Face component extraction device, face component extraction method and program
WO2024146335A1 (en) Information prompt method and apparatus, and computer device and storage medium