JP2011008643A - Image creation device, print sticker manufacturing method, program and storage medium - Google Patents
Image creation device, print sticker manufacturing method, program and storage medium Download PDFInfo
- Publication number
- JP2011008643A JP2011008643A JP2009153042A JP2009153042A JP2011008643A JP 2011008643 A JP2011008643 A JP 2011008643A JP 2009153042 A JP2009153042 A JP 2009153042A JP 2009153042 A JP2009153042 A JP 2009153042A JP 2011008643 A JP2011008643 A JP 2011008643A
- Authority
- JP
- Japan
- Prior art keywords
- eyelash
- image
- display
- color
- printing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Processing Or Creating Images (AREA)
- Image Processing (AREA)
- Editing Of Facsimile Originals (AREA)
- Studio Devices (AREA)
- Image Analysis (AREA)
- Cameras Adapted For Combination With Other Photographic Or Optical Apparatuses (AREA)
Abstract
Description
本発明は、カメラと表示装置とを備えた画像生成装置等に関する。 The present invention relates to an image generation device including a camera and a display device.
カメラを制御してユーザを撮影し、撮影画像を補正する等する画像生成装置が知られている。なかでも、ユーザをカメラで撮影して撮影画像をディスプレイに表示させるとともに、シール紙に撮影画像を印刷するシールプリント機や写真シール作成装置などと呼ばれる装置は手軽に写真シールが得られることから人気がある。特に、明度補正を行う等して肌の色を奇麗にみせたり、髪にウィッグをつけたり、目のサイズを変えるなどといった機能を有する装置は女子学生に好評である。例えば、特許文献1には、撮影した被写体の目の周辺部分を認識して、明度補正を行ってくっきりさせる装置が記載されている。 2. Description of the Related Art Image generation apparatuses that control a camera to photograph a user and correct a captured image are known. Of these, devices such as sticker printing machines and photo sticker creation devices that print images on sticker paper while the user takes a picture with a camera and displays the shot image are popular because they can easily obtain photo stickers. There is. In particular, an apparatus having functions such as performing lightness correction to show the skin color beautifully, putting wigs on the hair, and changing the size of the eyes is popular with female students. For example, Patent Document 1 describes an apparatus that recognizes a peripheral portion of an eye of a photographed subject and sharpens it by performing brightness correction.
以上の課題を解決するための第1の形態は、
カメラ(例えば図1のカメラ1001)と表示装置(例えば図1のディスプレイ1002)とを備えた画像生成装置(例えば図1のシールプリント機1000)であって、
前記カメラを制御してユーザを撮影する撮影制御手段(例えば図13の撮影制御部1211;図15のステップB1)と、
前記カメラにより撮影された撮影画像において睫毛描画位置を特定する睫毛描画位置特定手段(例えば図13の睫毛描画処理部1213;図15のステップB7、図16のステップC1)と、
前記撮影画像中の前記睫毛描画位置特定手段により特定された睫毛描画位置に所与の睫毛画像を描画する睫毛描画手段(例えば図13の睫毛描画処理部1213;図15のステップB7及びB9、図16のステップC5〜C21)と、
前記睫毛描画手段により前記睫毛画像が描画された撮影画像を前記表示装置に表示させる表示制御手段(例えば図13の撮影制御部1211;図15のステップB13)と、
を備えた画像生成装置である。
The first form for solving the above problems is:
An image generation apparatus (for example, a
Shooting control means (for example,
Eyelash drawing position specifying means (for example, eyelash
Eyelash drawing means for drawing a given eyelash image at the eyelash drawing position specified by the eyelash drawing position specifying means in the photographed image (for example, the eyelash
Display control means (for example, the
Is an image generating apparatus.
また、他の形態として、
カメラを制御してユーザを撮影する撮影制御ステップ(例えば図15のステップB1)と、
前記カメラにより撮影された撮影画像において睫毛描画位置を特定する睫毛描画位置特定ステップ(例えば図15のステップB7、図16のステップC1)と、
前記撮影画像中の前記睫毛描画位置特定ステップにおいて特定された睫毛描画位置に所与の睫毛画像を描画する睫毛描画ステップ(例えば図15のステップB7及びB9、図16のステップC5〜C21)と、
前記睫毛描画ステップにおいて前記睫毛画像が描画された撮影画像を前記表示装置に表示させる表示制御ステップ(例えば図15のステップB13)と、
前記睫毛画像が描画された前記撮影画像を前記印刷装置で印刷させる印刷制御ステップと(例えば図14のステップA7)、
を含むプリントシール製造方法を構成してもよい。
As another form,
A shooting control step (for example, step B1 in FIG. 15) for controlling the camera and shooting the user;
An eyelash drawing position specifying step (for example, step B7 in FIG. 15 and step C1 in FIG. 16) for specifying an eyelash drawing position in a photographed image taken by the camera;
An eyelash drawing step (for example, steps B7 and B9 in FIG. 15 and steps C5 to C21 in FIG. 16) for drawing a given eyelash image at the eyelash drawing position specified in the eyelash drawing position specifying step in the captured image;
A display control step (for example, step B13 in FIG. 15) for causing the display device to display a captured image in which the eyelash image is drawn in the eyelash drawing step;
A printing control step of printing the photographed image on which the eyelash image is drawn by the printing apparatus (for example, step A7 in FIG. 14);
You may comprise the print sticker manufacturing method containing these.
また、他の形態として、
カメラと表示装置とを備えた装置に内蔵されたコンピュータを、
前記カメラを制御してユーザを撮影する撮影制御手段、
前記カメラにより撮影された撮影画像において睫毛描画位置を特定する睫毛描画位置特定手段、
前記撮影画像中の前記睫毛描画位置特定手段により特定された睫毛描画位置に所与の睫毛画像を描画する睫毛描画手段、
前記睫毛描画手段により前記睫毛画像が描画された撮影画像を前記表示装置に表示させる表示制御手段、
として機能させるためのプログラム(例えば図13のシール作成プログラム1701)を構成してもよい。さらには、当該プログラムを記憶したコンピュータ読み取り可能な記憶媒体(例えば図13の記憶部1700)を構成することも可能である。
As another form,
A computer built in a device equipped with a camera and a display device,
Photographing control means for controlling the camera and photographing the user;
Eyelash drawing position specifying means for specifying the eyelash drawing position in the photographed image taken by the camera;
Eyelash drawing means for drawing a given eyelash image at the eyelash drawing position specified by the eyelash drawing position specifying means in the captured image;
Display control means for displaying on the display device a photographed image in which the eyelash image is drawn by the eyelash drawing means;
A program (for example, a
この第1の形態等によれば、カメラにより撮影された撮影画像において睫毛描画位置を特定し、その睫毛描画位置に睫毛画像を描画する。睫毛画像を描画することによってマスカラのような効果や、つけ睫毛のような効果が発揮される。これにより、肌の色の補正とは違った効果を目の部分に施すことができる。 According to the first embodiment and the like, the eyelash drawing position is specified in the photographed image taken by the camera, and the eyelash image is drawn at the eyelash drawing position. By drawing an eyelash image, an effect like a mascara or an effect like a false eyelash is exhibited. Thereby, an effect different from the correction of the skin color can be applied to the eye part.
また、第2の形態として、第1の形態の画像生成装置を、
前記睫毛描画手段が、
前記睫毛描画位置特定手段により特定された睫毛描画位置に基づいて、前記撮影画像中の前記睫毛画像の描画対象画素を判定する描画対象画素判定手段(例えば図13の睫毛描画処理部1213;図16のステップC11)と、
前記描画対象画素の色が、前記睫毛画像の色の着色を許容する条件として予め定められた色条件を満たす場合に、当該描画対象画素に前記睫毛画像の色を着色する着色手段(例えば図13の睫毛描画処理部1213;図16のステップC15、C17;Yes→ステップC19)と、
を有するように構成してもよい。
As a second form, the image generation apparatus of the first form is
The eyelash drawing means
Drawing target pixel determining means for determining a drawing target pixel of the eyelash image in the photographed image based on the eyelash drawing position specified by the eyelash drawing position specifying means (for example, the eyelash
When the color of the drawing target pixel satisfies a predetermined color condition as a condition for allowing coloring of the color of the eyelash image, a coloring unit (for example, FIG. 13) colors the color of the eyelash image on the drawing target pixel. Eyelash
You may comprise so that it may have.
この第2の形態によれば、特定された睫毛描画位置に基づいて、睫毛画像の描画対象画素が判定され、その画素の色が睫毛画像の色の着色を許容する色条件を満たす場合に、睫毛画像の色が着色される。これにより、白目の部分から睫毛が生えてしまっているような画像や、目にかかって撮影された髪の毛の上(手前)に睫毛が描画されて髪の毛と睫毛との前後位置関係が矛盾する画像といった違和感のある画像となることを防止できる。色条件としては、例えば第3の形態として、肌の色を判別するための色条件が少なくとも設定されているようにすると好適である。肌の色を判別するための色条件は、例えば、予め肌の色として取り得る色範囲(RGB値の範囲)を設定することとしてもよいし、撮影画像中のユーザの目の周辺の色からサンプリング/平均した色を中心とする所定の色範囲を設定することとしてもよい。 According to this second aspect, when the pixel to be drawn of the eyelash image is determined based on the specified eyelash drawing position and the color of the pixel satisfies a color condition that allows coloring of the color of the eyelash image, The color of the eyelash image is colored. As a result, the image of eyelashes growing from the white of the eye, or the image of eyelashes drawn on the front (front) of the hair taken with the eyes and the front-rear positional relationship between the hair and the eyelashes contradicts each other It is possible to prevent the image from becoming uncomfortable. As the color condition, for example, as the third embodiment, it is preferable that at least a color condition for determining the skin color is set. The color condition for discriminating the skin color may be, for example, setting a color range (RGB value range) that can be taken as the skin color in advance, or from the color around the user's eyes in the captured image. A predetermined color range centered on the sampled / averaged color may be set.
また、第4の形態として、第1の形態の画像生成装置において、
前記睫毛描画手段が、
前記睫毛描画位置特定手段により特定された睫毛描画位置に基づいて、前記撮影画像中の前記睫毛画像の描画対象画素を判定する描画対象画素判定手段(例えば図13の睫毛描画処理部1213)と、
前記描画対象画素の色が、前記睫毛画像の色の着色を許容しない条件として予め定められた色条件を満たさない場合に当該描画対象画素に前記睫毛画像の色を着色する着色手段(例えば図13の睫毛描画処理部1213)と、
を有するように構成してもよい。
Further, as a fourth form, in the image generation apparatus of the first form,
The eyelash drawing means
Drawing target pixel determining means (for example, eyelash
When the color of the drawing target pixel does not satisfy a predetermined color condition as a condition that does not allow coloring of the color of the eyelash image, a coloring unit (for example, FIG. 13) colors the color of the eyelash image on the drawing target pixel. Eyelash drawing processing unit 1213),
You may comprise so that it may have.
この第4の形態の場合も第2の形態と同様の作用効果が発揮される。この第4の形態の色条件としては、例えば第5の形態として、白目部分を判別するための色条件が少なくとも設定されているようにすると好適である。白目部分を判別するための色条件は、例えば、予め白目の色として取り得る範囲(RGB値の範囲)を設定することとしてもよいし、撮影画像中のユーザの白目の部分からサンプリング/平均した色を中心とする所定の色範囲を設定することとしてもよい。 In the case of the fourth embodiment, the same effect as that of the second embodiment is exhibited. As the color condition of the fourth mode, for example, as the fifth mode, it is preferable that at least a color condition for discriminating a white-eye portion is set. The color condition for discriminating the white-eye portion may be set, for example, in advance as a range (RGB value range) that can be taken as the white-eye color, or sampled / averaged from the white-eye portion of the user in the captured image A predetermined color range centered on the color may be set.
また、第6の形態として、第1〜第5の何れかの形態の画像生成装置において、
印刷装置(例えば図1の印刷装置1008)と、
前記睫毛画像が描画された前記撮影画像を前記印刷装置で印刷させる印刷制御手段(例えば図13の印刷制御部1217)と、
を更に備え、
前記表示装置の表示画面は前記印刷装置で印刷される印刷用紙の大きさより大きな画面であり、
前記睫毛画像には、印刷用睫毛画像(例えば図12の印刷用睫毛テクスチャ)と、前記印刷用睫毛画像よりも各繊毛の太さが細く、及び/又は、前記印刷用睫毛画像よりも繊毛の密度が低く、描かれた表示用睫毛画像(例えば図12の表示用睫毛テクスチャ)とがあり、
前記睫毛描画手段が、
前記撮影画像に前記表示用睫毛画像を描画する表示用睫毛描画手段(例えば図13の睫毛描画処理部1213;図15のステップB7)と、
前記撮影画像に前記印刷用睫毛画像を描画する印刷用睫毛描画手段(例えば図13の睫毛描画処理部1213;図18のステップE3)と、
を有し、
前記表示制御手段が、前記表示用睫毛描画手段により前記表示用睫毛画像が描画された撮影画像を前記表示装置に表示させ、
前記印刷制御手段が、前記印刷用睫毛描画手段により前記印刷用睫毛画像が描画された撮影画像を前記印刷装置で印刷させる、
画像生成装置を構成してもよい。
Further, as a sixth mode, in the image generation device according to any one of the first to fifth modes,
A printing device (eg, the
Print control means (for example, the
Further comprising
The display screen of the display device is a screen larger than the size of the printing paper printed by the printing device,
The eyelash image includes a printing eyelash image (for example, the printing eyelash texture of FIG. 12), and each cilia is thinner than the printing eyelash image, and / or has a cilia more than the printing eyelash image. The density is low, and there is a drawn display eyelash image (for example, the display eyelash texture of FIG. 12),
The eyelash drawing means
Display eyelash drawing means for drawing the display eyelash image on the captured image (for example, eyelash
Printing eyelash drawing means for drawing the printing eyelash image on the photographed image (for example, the eyelash
Have
The display control means causes the display device to display a captured image in which the display eyelash image is drawn by the display eyelash drawing means;
The printing control means causes the printing apparatus to print a captured image in which the printing eyelash image is drawn by the printing eyelash drawing means;
An image generation apparatus may be configured.
この第6の形態によれば、表示装置の表示画面は印刷装置で印刷される印刷用紙の大きさより大きな画面である。そのため、撮影されたユーザの顔画像の大きさは、印刷用紙で見るよりも、表示装置で見た方が大きい。一方、睫毛画像には、印刷用睫毛画像と、印刷用睫毛画像よりも各繊毛の太さが細く、及び/又は、前記印刷用睫毛画像よりも繊毛の密度が低く、描かれた表示用睫毛画像とがあり、表示されるのは表示用睫毛画像が描画された画像であり、印刷されるのは印刷用睫毛画像が描画された画像である。 According to the sixth embodiment, the display screen of the display device is a screen larger than the size of the printing paper printed by the printing device. Therefore, the size of the photographed user's face image is larger on the display device than on the printing paper. On the other hand, the eyelash image includes a printing eyelash image, and the thickness of each cilia is smaller than that of the printing eyelash image, and / or the density of the cilia is lower than that of the printing eyelash image, and the display eyelash drawn. There is an image, and what is displayed is an image in which a display eyelash image is drawn, and what is printed is an image in which a print eyelash image is drawn.
もし仮に、印刷用睫毛画像の各繊毛の太さ及び密度を、表示用睫毛画像に合わせて同一にした場合には、表示された顔画像では睫毛の太さ/密度が適切に見えるが、印刷された顔画像では細く/密度が低く見える。逆に、表示用睫毛画像の各繊毛の太さ及び密度を、印刷用睫毛画像に合わせて同一にした場合には、印刷された顔画像では睫毛の太さ/密度が適切に見えるが、表示された顔画像では太く/密度が高く見える。表示装置の表示画面が印刷用紙の大きさより大きいため、表示される顔画像の大きさと印刷される顔画像の大きさとが異なるからである。本形態によれば、このような違和感が生じることがない。 If the thickness and density of each cilia in the print eyelash image are the same to match the display eyelash image, the thickness / density of the eyelashes appears to be appropriate in the displayed face image. The face image that appears is thin / low density. Conversely, if the thickness and density of each cilia in the display eyelash image are the same as the print eyelash image, the thickness / density of the eyelashes appears appropriate in the printed face image. The face image is thicker / higher in density. This is because the display screen of the display device is larger than the size of the printing paper, so that the size of the displayed face image is different from the size of the printed face image. According to this embodiment, such a sense of incongruity does not occur.
また、第7の形態として、第6の形態の画像生成装置において、
前記表示装置の表示画面に対するユーザの消去軌跡(例えば図12の消去操作軌跡)の入力操作に従って、前記表示装置に表示制御された撮影画像から前記表示用睫毛画像を部分的に消去する表示用睫毛部分消去手段(例えば図13の画像編集部1215;図17のステップD11)と、
前記消去軌跡に従って、前記印刷用睫毛画像が描画された撮影画像から前記印刷用睫毛画像を部分的に消去する印刷用睫毛部分消去手段(例えば図13の睫毛描画処理部1213;図19のステップF17)と、
を更に備え、
前記印刷制御手段が、前記印刷用睫毛部分消去手段により部分的に前記印刷用睫毛画像が消去された撮影画像を前記印刷装置で印刷させる、
画像生成装置を構成してもよい。
Further, as a seventh form, in the image generation apparatus of the sixth form,
Display eyelashes that partially erase the display eyelash image from the captured image controlled to be displayed on the display device in accordance with a user's input operation of an erase locus (for example, the erase operation locus in FIG. 12) on the display screen of the display device. Partial erasing means (for example, the
In accordance with the erasing locus, a printing eyelash part erasing unit (for example, the eyelash
Further comprising
The printing control means causes the printing apparatus to print a captured image in which the printing eyelash image is partially erased by the printing eyelash part erasing means;
An image generation apparatus may be configured.
この第7の形態によれば、ユーザは、表示装置の表示画面に対する消去軌跡の入力操作によって、撮影画像に描画された表示用睫毛画像を部分的に消去することが可能となる。一方、印刷される印刷用睫毛画像についても、ユーザが表示用睫毛画像に対して入力操作した消去軌跡に従って、部分的な消去が実行される。従って、ユーザが行った表示用睫毛画像に対する消去操作を、印刷用睫毛画像に対しても反映することができる。 According to the seventh aspect, the user can partially erase the display eyelash image drawn on the photographed image by an input operation of an erasing locus on the display screen of the display device. On the other hand, the printed eyelash image to be printed is also partially erased in accordance with the erase trajectory input by the user to the display eyelash image. Therefore, the erasing operation for the display eyelash image performed by the user can be reflected on the print eyelash image.
また、第8の形態として、第1〜第7の何れかの形態の画像生成装置において、
前記睫毛描画位置特定手段が、前記睫毛描画位置として前記撮影画像中のユーザのアイライン部分(例えば図24のアイラインEL)を特定し、
予め定められた睫毛パターン画像を、前記アイライン部分の形状に合致させるように変形させて前記睫毛画像を生成する睫毛画像生成手段(例えば図13の睫毛描画処理部1213)を更に備えた、
画像生成装置を構成してもよい。
Further, as an eighth aspect, in the image generation apparatus according to any one of the first to seventh aspects,
The eyelash drawing position specifying means specifies the user's eyeline part (for example, eyeline EL in FIG. 24) in the captured image as the eyelash drawing position,
It further comprises eyelash image generation means (for example, eyelash
An image generation apparatus may be configured.
この第8の形態によれば、睫毛パターン画像が予め定められ、その睫毛パターン画像を、撮影画像中のユーザのアイライン部分の形状に合致させるように変形することで睫毛画像が生成される。これにより、睫毛パターン画像を類型化することが可能となる。例えば、繊毛の描画位置が異なる睫毛パターン画像(例えば目頭から目尻にかけて満遍なく繊毛を描いた睫毛パターン画像と、目尻寄りだけに繊毛を描いた睫毛パターン画像)や、繊毛の長さや密度を変えた睫毛パターン画像といった具合に、種類別に睫毛パターン画像を用意する。ユーザにより好みの種類の睫毛パターン画像が選択されれば、そのユーザのアイライン部分の形状に応じた適切な睫毛画像が生成されることとなる。 According to the eighth embodiment, the eyelash pattern image is determined in advance, and the eyelash pattern image is generated by deforming the eyelash pattern image so as to match the shape of the user's eyeline portion in the captured image. Thereby, it becomes possible to classify the eyelash pattern image. For example, eyelash pattern images with different cilia drawing positions (for example, an eyelash pattern image in which cilia are uniformly drawn from the top of the eye to the corner of the eye and an eyelash pattern image in which the cilia is drawn only near the corner of the eye), and eyelashes with different cilia length and density The eyelash pattern image is prepared for each type, such as a pattern image. If the user selects a desired type of eyelash pattern image, an appropriate eyelash image corresponding to the shape of the user's eyeline portion is generated.
この場合、第9の形態として、前記睫毛画像生成手段が、前記アイライン部分の長さに応じて前記睫毛パターン画像を拡縮して前記睫毛画像を生成するようにするとより好適である。 In this case, as a ninth mode, it is more preferable that the eyelash image generation unit generates the eyelash image by scaling the eyelash pattern image according to the length of the eyeline portion.
また、第10の形態として、第1〜第9の何れかの形態の画像生成装置において、
前記撮影画像中の前記ユーザの目の縦横比率又はその度合を判定する縦横比判定手段を更に備え、
前記睫毛描画手段は、前記縦横比判定手段の判定結果に基づいて繊毛の長短及び/又は密度を可変させて睫毛画像を描画する、
画像生成装置を構成することとしてもよい。
Further, as a tenth aspect, in the image generation apparatus according to any one of the first to ninth aspects,
Aspect ratio determining means for determining the aspect ratio or degree of the eyes of the user in the captured image,
The eyelash drawing means draws an eyelash image by varying the length and / or density of cilia based on the determination result of the aspect ratio determination means.
An image generation apparatus may be configured.
この第10の形態によれば、目が細いユーザに対しては短めの睫毛を、目が大きいユーザに対しては長めの睫毛を描くといった具合に、目の横方向の長さに対する縦方向の長さの割合の違い(いわゆる目の細さ・大きさ)に応じて、繊毛の長短や密度の異なる睫毛画像を描画することができる。 According to the tenth aspect, the eyelashes are drawn in a vertical direction with respect to the lateral length of the eyes, such as drawing short eyelashes for users with thin eyes and drawing long eyelashes for users with large eyes. According to the difference in length ratio (so-called fineness / size of eyes), it is possible to draw eyelash images having different lengths and densities of cilia.
また、第11の形態として、第1〜第10の何れかの形態の画像生成装置において、
前記睫毛描画位置特定手段により特定された前記睫毛描画位置及びその近傍位置の色に基づいて、前記睫毛画像の色を決定する睫毛色決定手段(例えば図13の睫毛描画処理部1213)を更に備え、
前記睫毛画像生成手段が、前記睫毛色決定手段により決定された色で前記睫毛画像を描画する、
画像生成装置を構成してもよい。
Further, as an eleventh aspect, in the image generation apparatus according to any one of the first to tenth aspects,
The eyelash color determining means (for example, the eyelash
The eyelash image generation means draws the eyelash image in the color determined by the eyelash color determination means;
An image generation apparatus may be configured.
この第11の形態によれば、睫毛描画位置及びその近傍位置の色に基づいて、睫毛画像の色が決定されるため、より違和感のない睫毛画像とすることが可能となる。具体的には、例えば、睫毛描画位置やその近傍の暗色系の色(明度が所定の暗色条件を満たす色)を抽出し、その平均色を睫毛画像の色とする方法等が考えられる。 According to the eleventh aspect, since the color of the eyelash image is determined based on the eyelash drawing position and the color in the vicinity of the eyelash drawing position, it is possible to obtain an eyelash image with a more uncomfortable feeling. Specifically, for example, a method of extracting a dark color color (a color whose brightness satisfies a predetermined dark color condition) in the vicinity of the eyelash drawing position and the vicinity thereof, and setting the average color as the color of the eyelash image is conceivable.
以下、図面を参照して、本発明の好適な実施形態を説明する。尚、以下では、本発明を画像生成装置の一種であるシールプリント機に適用した場合を例に挙げて説明するが、本発明の適用可能な実施形態がこれに限定されるものではない。 Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings. In the following, a case where the present invention is applied to a seal printing machine, which is a kind of image generation apparatus, will be described as an example. However, embodiments to which the present invention can be applied are not limited thereto.
1.概略構成
図1は、本実施形態におけるシールプリント機1000の外観を示す概略構成図である。シールプリント機1000は、画像生成装置の一種である。ユーザの身長より高い高さの筐体の正面に、撮影用のカメラ1001と、ディスプレイ1002と、スピーカ1003と、ユーザの携帯電話機と赤外線通信を行うための赤外線通信部1004と、ゲーム対価であるコインを投入するためのコイン投入口1005と、作成したシール紙を払い出すためのシール払出口1006とが設けられている。
1. Schematic Configuration FIG. 1 is a schematic configuration diagram showing the appearance of a
カメラ1001は、CCD型やCMOS型といった撮像素子を有する電子スチルカメラであり、筐体の正面に立ったユーザを正面方向から撮影し得る位置に設けられている。
The
ディスプレイ1002は、ユーザの腰から胸元の高さに、表示面がユーザに対してほぼ正対するように設けられている。また、ディスプレイ1002には、表示領域全体に亘ってタッチパネルが一体的に形成されている。タッチパネルは、感圧式や光学式、静電式、電磁誘導式等の検出原理によって、タッチ操作位置を、例えばディスプレイ1002を構成するドット単位で検出する。ユーザは、付属のタッチペン1007や手指等によるディスプレイ1002上のタッチ操作によって、各種の操作入力を行うことができる。
The
また、シールプリント機1000の内部には、CPUやROM、RAM、ICメモリ等が実装されたシステム基板1009や、画像をシール紙に印刷する印刷装置1008等が備えられている。システム基板1009に実装されているCPUは、ICメモリ等から読み出したプログラムやデータ、タッチパネルからの操作信号等に基づいて種々の処理を実行し、各種画面の画像信号及び各種音声の音信号を生成する。そして、生成した画像信号をディスプレイ1002に出力して該当する表示画面を表示させるとともに、音信号をスピーカ1003に出力して該当する音声を出力させる。
The
シールプリント機1000では、カメラ1001による撮影画像を所定のシール紙に印刷した写真シールが作成される。本実施形態で特徴的であることの1つは、撮影画像中のユーザの睫毛部分に自動的に睫毛画像が描画されて、シール紙に印刷されることである。
In the
2.写真シール作成の原理
次に、シールプリント機1000における写真シール作成の原理について説明する。先ず、ユーザは、シールプリント機1000において、所定量の硬貨(コイン)をコイン投入口1005に投入する。すると、シールプリント機1000は、図2に示すような表示画面10をディスプレイ1002に表示させる。
2. Next, the principle of creating a photo sticker in the
表示画面10は、撮影画像に睫毛を描画するか否かをユーザに選択させるための画面である。「まつげを付けますか?」というメッセージとともに、「Yes」と「No」の2つのアイコンが表示されている。ユーザは、タッチペン1007を用いて、まつげを付けることを希望する場合には「Yes」、まつげを付けることを希望しない場合には「No」のアイコンをそれぞれタッチする。
The
タッチペン1007により「Yes」のアイコンがタッチされたことを検出すると、シールプリント機1000は、図3に示すような表示画面20をディスプレイ1002に表示させる。表示画面20は、撮影画像に睫毛を描画するモードである睫毛モードをユーザに選択させるための画面である。「まつげモードを選んでね」というメッセージとともに、「ドールアイ」と「エレガントアイ」の2つのアイコンが表示されている。
When it is detected that the “Yes” icon is touched with the
「ドールアイ」は、撮影画像中のユーザの黒目(瞳)付近に、他の部分よりも繊毛が長く、密度の濃い睫毛を描画するためのモードである。一方、「エレガントアイ」は、撮影画像中のユーザの目尻付近に、他の部分よりも繊毛が長く、密度の濃い睫毛を付加するためのモードである。 “Doll eye” is a mode for drawing eyelashes having a cilia that is longer and denser than other parts near the user's black eye (pupil) in the captured image. On the other hand, the “elegant eye” is a mode for adding eyelashes having cilia that are longer and denser than the other parts near the user's eyes in the captured image.
タッチペン1007により、表示画面20の何れかのアイコンがタッチされたことを検出すると、シールプリント機1000は、図4に示すような表示画面30をディスプレイ1002に表示させる。表示画面30は、撮影画像に付加する睫毛のボリュームをユーザに選択させるための画面である。「まつげのボリュームを選んでね」というメッセージとともに、「スタンダードボリューム」と「ハイパーボリューム」の2つのアイコンが表示されている。
When it is detected that any icon on the
「スタンダードボリューム」が選択された場合は、あたかもマスカラが塗られたかのような、自然なボリューム感のある睫毛が撮影画像に描画される。一方、「ハイパーボリューム」が選択された場合は、あたかもつけ睫毛をつけたかのような、長くてボリュームのある睫毛が撮影画像に描画される。 When “standard volume” is selected, the eyelashes with a natural volume feeling are drawn on the photographed image as if mascara was applied. On the other hand, when “hypervolume” is selected, long and lashed eyelashes are drawn on the photographed image as if they were put on.
タッチペン1007により、表示画面30の何れかのアイコンがタッチされたことを検出すると、シールプリント機1000は、撮影モードへと移行して撮影時処理を行う。撮影時処理では、シールプリント機1000は、シャッタータイミング(撮影タイミング)を示す所定のカウントダウンを行った後、カメラ1001による撮影を実行し、そのときのファインダ画像を撮影画像として保存する。そして、撮影が終了すると、シールプリント機1000は、撮影画像に睫毛を描画する睫毛描画処理を行う。
When it is detected that any icon on the
本実施形態では、シールプリント機1000は、3つのレイヤーを用いて画像生成を行う。具体的には、図5に示すように、撮影画像が描画される基礎レイヤーと、睫毛画像が描画される睫毛レイヤーと、落書き画像が描画される落書きレイヤーとの3つのレイヤーを奥側から順に重畳的に配置して使用し、画像生成を行う。各レイヤーともに撮影画像と同じ大きさであり、基礎レイヤーには全面に撮影画像が描画されることとなる。
In the present embodiment, the
基礎レイヤーの各画素には、撮影により得られたユーザ画像の色を表すRGB値が格納されることで撮影画像が描画される。睫毛レイヤーの各画素には、描画する睫毛画像の色(以下、「睫毛画像色」と称す。)を表すRGB値が格納されることで睫毛画像が描画される。描画されていない画素は無色透明を表す値が格納される。落書きレイヤーの各画素には、後述する落書き処理において着色された色を表すRGB値が格納されることで、ユーザの好みの落書きが描画される。落書きレイヤーも睫毛レイヤーと同様、描画されていない画素は無色透明を表す値が格納される。 In each pixel of the base layer, an RGB value representing the color of the user image obtained by shooting is stored, so that a shot image is drawn. In each pixel of the eyelash layer, an RGB value representing the color of the eyelash image to be drawn (hereinafter referred to as “the eyelash image color”) is stored, whereby the eyelash image is drawn. A value representing colorless and transparent is stored in a pixel that is not drawn. Each pixel of the graffiti layer stores an RGB value representing a color colored in a graffiti process, which will be described later, so that a graffiti desired by the user is drawn. Similarly to the eyelash layer, the graffiti layer stores a value indicating colorless and transparent for pixels not drawn.
また、本実施形態では、睫毛レイヤーには、表示用睫毛レイヤーと、印刷用睫毛レイヤーとの2種類がある。詳細は後述するが、ディスプレイ1002の大きさが、印刷されるシール紙或いはシール紙に印刷される1つの写真よりも大きいため、表示用睫毛レイヤーと印刷用睫毛レイヤーとでは、描画する睫毛の繊毛の太さ及び密度を変えているのである。
In the present embodiment, there are two types of eyelash layers: a display eyelash layer and a printing eyelash layer. Although details will be described later, since the size of the
図6は、睫毛の描画処理を説明するための図である。
最初に、顔認識処理を行って、撮影画像の中から目を検出する。具体的には、例えば、辞書データとなる多数の顔画像を用意しておき、公知のパターンマッチング技術を利用して顔認識を行ったり、各画素の色情報をもとに白目部分の輪郭抽出を行う等として、目の輪郭を抽出して目の部分を認識する。この目の画像部分の検出処理自体は、公知の処理を利用することとしてよい。本実施形態では、図6に示したように、目の画像部分を目頭「A」、目尻「B」を左右の端点とする8角形の領域で検出することとして説明する。目頭「A」から目の頂点「C」を経由して目尻「B」に至るラインが目の上側のアイラインであり、その反対側が下側のアイラインである。目の画像部分の検出は、アイライン部分の検出とも言え、睫毛を描画する位置(睫毛描画位置)を特定するための処理である。また、本実施形態で「アイライン」という場合は基本的に上側のアイラインを指すこととして説明する。
尚、本実施形態では、目の検出に失敗した場合は、睫毛を描画する処理は行わない。
FIG. 6 is a diagram for explaining eyelash drawing processing.
First, face recognition processing is performed to detect eyes from the captured image. Specifically, for example, a large number of face images serving as dictionary data are prepared and face recognition is performed using a known pattern matching technique, or the contour extraction of the white eye portion is performed based on the color information of each pixel. For example, the eye contour is extracted to recognize the eye portion. The eye part image detection process itself may use a known process. In the present embodiment, as shown in FIG. 6, description will be made on the assumption that the image portion of the eye is detected in an octagonal region with the corner of the eye “A” and the corner of the eye “B” as left and right end points. A line from the top of the eye “A” to the corner of the eye “B” via the vertex “C” of the eye is the upper eyeline, and the opposite side is the lower eyeline. The detection of the eye image part can be called the detection of the eyeline part, and is a process for specifying the position for drawing the eyelashes (the eyelash drawing position). Further, in the present embodiment, the term “eye line” is basically described as indicating the upper eye line.
In the present embodiment, when eye detection fails, the process of drawing eyelashes is not performed.
一方、睫毛テクスチャとして、睫毛モード及び睫毛ボリュームに応じた睫毛テクスチャを用意する。本実施形態では、睫毛モードとして「ドールアイ」及び「エレガントアイ」の2種類、睫毛ボリュームとして「スタンダードボリューム」及び「ハイパーボリューム」の2種類が存在する。よって、右目用と左目用とのそれぞれについて、睫毛モードと睫毛ボリュームの組合せである4種類の睫毛テクスチャが予め用意されている。 On the other hand, the eyelash texture corresponding to the eyelash mode and the eyelash volume is prepared as the eyelash texture. In the present embodiment, there are two types of “doll eye” and “elegant eye” as the eyelash mode, and two types of “standard volume” and “hyper volume” as the eyelash volume. Therefore, four types of eyelash textures, which are combinations of the eyelash mode and the eyelash volume, are prepared in advance for each of the right eye and the left eye.
ドールアイ用の睫毛テクスチャには、ユーザの黒目付近に長く濃い睫毛が描画されるように、黒目寄りの位置の繊毛が他の位置の繊毛よりも長く太く描かれている。一方、エレガントアイ用の睫毛テクスチャには、ユーザの目尻付近に長く濃い睫毛が描画されるように、目尻寄りの位置の繊毛が他の位置の繊毛よりも長く太く描かれている。また、スタンダードボリューム用の睫毛テクスチャと比べて、ハイパーボリューム用の睫毛テクスチャの方が、各繊毛の長さが長く、繊毛全体の密度が高く描かれている。 In the eyelash texture for the doll eye, the cilia near the black eyes are drawn thicker and longer than the other cilia so that long dark eyelashes are drawn near the user's black eyes. On the other hand, in the eyelash texture for the elegant eye, the cilia near the corner of the eye is drawn longer and thicker than the cilia at other positions so that long and dark eyelashes are drawn near the user's corner. In addition, in comparison with the standard volume eyelash texture, the hypervolume eyelash texture is drawn with a longer length of each cilia and a higher density of the entire cilia.
各睫毛テクスチャは、描かれている睫毛の種類は違えども、テクスチャ自体のサイズは全て同じである。また、各睫毛テクスチャには、それぞれ3箇所のフィッティングポイント「X」〜「Z」が設定されており、これもテクスチャのu−v座標上、同一の位置に設定されている。フィッティングポイントは、検出された目の形状に睫毛画像を合わせる(フィッティングさせる)ための制御点である。フィッティングポイント「X」は、目頭「A」の位置にフィッティングさせるための制御点であり、フィッティングポイント「Y」は、目尻「B」にフィッティングさせるための制御点である。また、フィッティングポイント「Z」は、目の頂点「C」にフィッティングさせるための制御点である。
なお、図6を参照して右目についてのみ図示・説明したが、左目についても同様である。
Each eyelash texture has the same size, although the type of eyelashes drawn is different. Further, three fitting points “X” to “Z” are set in each eyelash texture, and these are also set at the same position on the uv coordinates of the texture. The fitting point is a control point for matching (fitting) the eyelash image to the detected eye shape. The fitting point “X” is a control point for fitting to the position of the eye head “A”, and the fitting point “Y” is a control point for fitting the eye corner “B”. The fitting point “Z” is a control point for fitting to the vertex “C” of the eye.
Although only the right eye is illustrated and described with reference to FIG. 6, the same applies to the left eye.
シールプリント機1000は、4種類の睫毛テクスチャの中から、ユーザにより選択された「睫毛モード」と「睫毛ボリューム」とに対応する睫毛テクスチャを選択する。そして、選択した睫毛テクスチャの各フィッティングポイント「X」〜「Z」それぞれの相対位置関係を、検出した目の画像部分の頂点「A」〜「C」の相対位置関係と一致させるように、睫毛テクスチャの縦及び横方向のサイズを拡縮する。
The
さらに、睫毛テクスチャをフィッティングポイント「X」を基点として回転させることで、フィッティングポイント「X」〜「Z」の絶対位置関係(角度θ)を、検出した目の画像部分の頂点「A」〜「C」の絶対位置関係(角度θ)と一致させる。この結果、フィッティングポイント「X」〜「Z」が、目の画像部分の頂点「A」〜「C」それぞれに対応するよう調整され、テクスチャマッピングの準備が整ったこととなる。 Further, by rotating the eyelash texture with the fitting point “X” as a base point, the absolute positional relationship (angle θ) of the fitting points “X” to “Z” is determined from the vertices “A” to “A” of the detected image portion of the eye. The absolute positional relationship (angle θ) of “C” is matched. As a result, the fitting points “X” to “Z” are adjusted to correspond to the vertices “A” to “C” of the image portion of the eye, and texture mapping is ready.
フィッティング処理を行った後、睫毛テクスチャを表示用睫毛レイヤーにマッピング(描画)することで、図7に示すように、目のアイライン部分に睫毛が描画された画像が生成される。但し、睫毛テクスチャに描画されている睫毛に係る全て画素の色を表示用睫毛レイヤーに描画するわけではない。具体的に説明する。 After performing the fitting process, the eyelash texture is mapped (drawn) to the display eyelash layer, thereby generating an image in which eyelashes are drawn on the eyeline part of the eye as shown in FIG. However, the colors of all pixels related to the eyelashes drawn on the eyelash texture are not drawn on the display eyelash layer. This will be specifically described.
まず、睫毛画像の着色対象とする画素(以下、「睫毛描画対象画素」という。)を判定する。具体的には、睫毛テクスチャを表示用睫毛レイヤーに投影した場合に、睫毛テクスチャの睫毛の繊毛部分に対応する位置の画素を、睫毛描画対象画素と判定する。尚、理解の混乱を避けるために、睫毛描画対象画素は、睫毛レイヤー中の画素として説明するが、3つのレイヤーを重ねて1つの合成画像となるため、睫毛描画対象画素は、3つのレイヤーに共通する、合成画像における画素とも言える。 First, a pixel to be colored in the eyelash image (hereinafter, referred to as “lash drawing target pixel”) is determined. Specifically, when the eyelash texture is projected onto the display eyelash layer, the pixel at the position corresponding to the cilia portion of the eyelash of the eyelash texture is determined as the eyelash drawing target pixel. In order to avoid confusion, the eyelash drawing target pixel is described as a pixel in the eyelash layer. However, since the three layers are overlapped to form one composite image, the eyelash drawing target pixel is divided into three layers. It can be said that it is a common pixel in a composite image.
そして、表示用睫毛レイヤーの各睫毛描画対象画素それぞれに無条件に睫毛画像を描画するとする。すると、適切な位置に睫毛が描画されない場合が生じる。例えば、図8,図9がその一例である。図8では、目の画像部分が正確に検出されなかったため、或いは8角形の粗い認識であったために、本来の目の画像部分よりも細く(狭く)検出され、白目や黒目の部分に睫毛が描画されている。これでは、白目や黒目の部分から睫毛が生えているかのような不自然な画像となってしまう。 The eyelash image is unconditionally drawn on each eyelash drawing target pixel of the display eyelash layer. Then, the eyelash may not be drawn at an appropriate position. For example, FIG. 8 and FIG. 9 are examples. In FIG. 8, the eye image portion was not accurately detected or the octagon was roughly recognized, so that the eye portion was detected to be narrower (narrower) than the original eye image portion, and eyelashes were observed in the white and black eye portions. Has been drawn. This results in an unnatural image as if eyelashes are growing from the white or black eyes.
また、図9では、髪の毛の上に睫毛が描画されている。撮影画像において、ユーザの目の一部に髪の毛がかかっており、目にかかっている髪の毛の部分も含めて目の画像部分が検出された結果、髪の毛の上に睫毛が描画されてしまったのである。この場合、髪の毛と睫毛との前後位置関係が矛盾する違和感のある画像となってしまう。 In FIG. 9, eyelashes are drawn on the hair. In the captured image, the user's eyes are covered with hair, and as a result of detecting the image portion of the eyes including the portion of the hair that is in the eyes, the eyelashes are drawn on the hair. is there. In this case, an image with a sense of incongruity in which the front-rear positional relationship between the hair and the eyelashes contradicts each other.
このような問題に対処するため、本実施形態では、撮影画像に含まれる各睫毛描画対象画素それぞれについて、当該画素の色が、睫毛の描画を許容する色条件として予め定められた肌色相当色条件を満たすか否かを判定する。肌色相当色条件は、肌色若しくは肌色に近い色(以下、「肌色相当色」という。)として予め定められた色値(RGB値)の条件である。人によって肌の色が異なったり、同一人であっても肌の色が部分的に異なることがあるため、肌色相当色にはある程度の幅を持たせることが適切である。顔認識処理において撮影した被写体(ユーザ)の肌色を検出し、その肌色を中心とする一定の色幅を肌色相当色条件として設定することとしてもよい。 In order to deal with such a problem, in the present embodiment, for each eyelash drawing target pixel included in the photographed image, the color of the pixel is a skin color equivalent color condition that is predetermined as a color condition that allows drawing of eyelashes. It is determined whether or not the above is satisfied. The skin color equivalent color condition is a condition of a color value (RGB value) predetermined as a skin color or a color close to the skin color (hereinafter referred to as “skin color equivalent color”). Since the skin color varies from person to person, or even from the same person, the skin color may differ partially, it is appropriate to give the skin color equivalent color a certain range. The skin color of the subject (user) photographed in the face recognition process may be detected, and a certain color width centered on the skin color may be set as the skin color equivalent color condition.
そして、表示用睫毛レイヤーに含まれる各睫毛描画対象画素のうち、対応する基礎レイヤーの画素の色が肌色相当色条件を満たす画素にのみ、睫毛の色(以下、「睫毛画像色」という。)を着色する。すなわち、睫毛テクスチャに描かれている睫毛の画像部分のみをマスク的に利用し、所定の色(例えば黒色)を睫毛画像色として着色する。尚、この睫毛画像色は、例えば顔認識処理において目の画像部分と検出された目の輪郭近傍の暗色(例えば明度が所定の暗色条件を満たす色)の平均色としてもよいし、顔認識処理で髪の毛の画像部分と判断された部分の色と同色或いは若干明度を補正した色を睫毛画像色としてもよい。勿論、睫毛テクスチャに予め彩色しておいた色を用いることとしてもよい。
これにより、肌色相当色条件を満たさない画素には睫毛画像色が着色されない。そのため、肌色相当色以外の色、例えば白目部分の白色や、髪の毛等の黒色の部分には睫毛が描画されないことになり、図8や図9に示したような不自然な画像が生成されることが防止される。
The eyelash color (hereinafter referred to as “the eyelash image color”) is only the pixel in which the color of the corresponding base layer pixel satisfies the skin color equivalent color condition among the target eyelash drawing target pixels included in the display eyelash layer. Coloring. In other words, only the image portion of the eyelash drawn on the eyelash texture is used as a mask, and a predetermined color (for example, black) is colored as the eyelash image color. The eyelash image color may be, for example, an average color of a dark color (for example, a color whose brightness satisfies a predetermined dark color condition) near the eye image portion detected in the face recognition process or the face recognition process. Thus, the color of the portion determined to be the image portion of the hair may be the same color as the color of the portion, or a color with a slight lightness correction may be used as the eyelash image color. Of course, it is good also as using the color previously colored for the eyelash texture.
As a result, the eyelash image color is not colored in pixels that do not satisfy the skin color equivalent color condition. Therefore, the eyelashes are not drawn in a color other than the skin color equivalent color, for example, white in the white eye part or black part such as hair, and an unnatural image as shown in FIGS. 8 and 9 is generated. It is prevented.
睫毛描画処理を終了すると、シールプリント機1000は、基礎レイヤーの撮影画像と、表示用睫毛レイヤーの睫毛画像と、落書きレイヤーの落書き画像とをこの順に奥側から重ねるようにして合成する。そして、シールプリント機1000は、ユーザが落書き操作を行うための落書き時画面をディスプレイ1002に表示させる。
When the eyelash drawing process is completed, the
図10は、落書き時画面の一例を示す図である。落書き時画面には、基礎レイヤーと表示用睫毛レイヤーと落書きレイヤーとを重ねた画像(以下、「表示用合成画像」という。)40と、現在選択されている落書きツール50と、落書きツールの変更ボタン62と、落書きの終了を指示する終了ボタン64とが表示される。
FIG. 10 is a diagram illustrating an example of a graffiti screen. On the graffiti screen, an image (hereinafter referred to as “display composite image”) 40 in which a basic layer, a display eyelash layer, and a graffiti layer are superimposed, a currently selected
落書きツール50は、表示用合成画像40に落書きを行うためのツールであり、変更ボタン62により、ペン色やペン先を変更するツールやスタンプツール等の他のツールに変更可能である。図10において現在選択されている落書きツール50には、ペンツール51と消しゴムツール52とが含まれる。ペンツール51は、表示用合成画像40において自由に線画を描くことのできるペンのツールであり、ペンの太さ別に4種類のアイコンが選択可能に表示されている。
The
ユーザはタッチペン1007を用いてペンツール51内の任意の太さのアイコンにタッチ操作した後、表示用合成画像40においてタッチペン1007を摺動させることで、その軌跡に沿って所定の色(例えば黒色)を着色することができる。内部的な処理としては、タッチペン1007による着色操作軌跡に従って、3層のレイヤーのうちの落書きレイヤーに、ペンツール51の色に対応するRGB値を格納することになる。
The user touches an icon of an arbitrary thickness in the
また、消しゴムツール52にも4種類の太さが用意されている。本実施形態において特徴的であることの1つは、消しゴムツール52を用いた画像の消去操作は、落書きレイヤーのみならず、表示用睫毛レイヤーにも及ぶ点である。
The
すなわち、ユーザはタッチペン1007を用いて消しゴムツール52内の任意の太さのアイコンにタッチ操作した後、表示用合成画像40においてタッチペン1007を摺動させることで、その軌跡部分に着色されている色を無色透明にすることができる。但し、撮影画像が描画されている基礎レイヤーには消しゴムツールによる消去操作が及ばない。あくまで撮影画像に対する落書きであるからである。しかし、消去操作は、落書き用レイヤーだけでなく、表示用睫毛レイヤーにも及ぶ。睫毛描画処理により描画された睫毛は、一種の「落書き」として扱い、ユーザの希望により消去することを可能としたのである。図11に示すように、描画された睫毛の画像に対してユーザが消去操作をすることで、睫毛画像のうち、消去操作軌跡の部分が消去される。内部的な処理としては、タッチペン1007による消去操作軌跡を記憶し、表示用睫毛レイヤー及び落書きレイヤー上の消去操作軌跡の部分の色情報を無色透明の色情報に変更する。消去操作軌跡は印刷時処理においても利用するため記憶しておく。
That is, the user touches an icon of an arbitrary thickness in the
落書きが終了すると、シールプリント機1000は、印刷時処理を行い、印刷用合成画像を生成してシール紙への印刷を行う。
When the graffiti ends, the
図12は、本実施形態における印刷用合成画像の生成の原理の説明図である。
睫毛テクスチャには、「睫毛モード」と「睫毛ボリューム」との組合せによる4種類が存在することを説明した。しかし更に、その4種類の睫毛テクスチャそれぞれには、表示用と印刷用との2タイプがある。表示用と印刷用の睫毛テクスチャで異なるのは、全体的な各繊毛の太さと密度である。フィッティングポイントは共通位置に定められている。表示用の睫毛テクスチャは、印刷用の睫毛テクスチャに比べて、各繊毛の太さが細く、密度が低く描かれている。
FIG. 12 is an explanatory diagram of the principle of generating a print composite image in the present embodiment.
It has been explained that there are four types of eyelash textures, which are combinations of “lash mode” and “lash volume”. However, each of the four types of eyelash texture has two types: display and printing. The difference between the display and printing eyelash texture is the overall thickness and density of each cilia. The fitting point is set at a common position. In the eyelash texture for display, the thickness of each cilia is thinner and the density is lower than that of the eyelash texture for printing.
その理由は、シールプリント機1000のディスプレイ1002は、印刷されるシール紙の大きさよりも十分に大きな画面となっているからである。すなわち、ディスプレイ1002に表示されるユーザの顔画像の大きさが、シール紙に印刷される顔画像よりも十分に大きいからである。
The reason is that the
仮に、印刷用の睫毛テクスチャに描かれた各繊毛の太さ及び密度を、表示用の睫毛テクスチャに合わせて同一にした場合には、ディスプレイ1002に表示されている顔画像では睫毛の太さ/密度が適切に見えるが、シール紙に印刷された顔画像では細く/密度が低く見える。逆に、表示用の睫毛テクスチャに描かれた各繊毛の太さ及び密度を、印刷用の睫毛テクスチャに合わせて同一にした場合には、シール紙に印刷された顔画像では睫毛の太さ/密度が適切に見えるが、ディスプレイ1002に表示されている顔画像では太く/密度が高く見える。
If the thickness and density of each cilia drawn on the printing eyelash texture are the same according to the display eyelash texture, the facial image displayed on the
このことを考慮して、表示用の睫毛テクスチャについては、印刷用の睫毛テクスチャに比べて、各繊毛の太さを細く、密度を低くして描かれているのである。上述した表示用睫毛レイヤーに描かれる睫毛は、表示用の睫毛テクスチャに基づく睫毛画像である。 In consideration of this, the eyelash texture for display is drawn with the thickness of each cilia thinner and the density lower than the eyelash texture for printing. The eyelashes drawn on the display eyelash layer described above are eyelash images based on the display eyelash texture.
尚、表示用睫毛テクスチャと印刷用睫毛テクスチャとの違いを、繊毛の太さと密度の両方の違いとしてもよいし、繊毛の太さと密度の何れか一方の違いとしてもよい。すなわち、繊毛の密度は同じで、各繊毛の太さが表示用睫毛テクスチャの方が細くなるようにしてもよいし、各繊毛の太さは同じで、繊毛の密度が表示用睫毛テクスチャの方が低くなるようにしてもよい。 The difference between the display eyelash texture and the print eyelash texture may be the difference between both the thickness and density of the cilia, or the difference between either the thickness and density of the cilia. That is, the density of the cilia may be the same, and the thickness of each cilia may be thinner in the display eyelash texture, or the thickness of each cilia is the same and the density of the cilia is in the direction of the display eyelash texture. May be lowered.
印刷用合成画像は、撮影画像が描画された基礎レイヤーと、印刷用睫毛テクスチャに基づいて睫毛画像が描画された印刷用睫毛レイヤーと、落書きレイヤーとがこの順番に奥側から重ねた画像である。印刷用睫毛レイヤーへの睫毛画像の描画は次のように行われる。すなわち、図6を参照して説明したフィッティング処理で実行された縦横方向の拡縮率と回転角θとを印刷用睫毛テクスチャに施す。そして、上述した睫毛描画処理と同様、印刷用の睫毛テクスチャを印刷用睫毛レイヤーに投影した場合に、印刷用睫毛テクスチャの睫毛の繊毛部分に対応する位置の画素を睫毛描画対象画素とし、その睫毛描画対象画素のうちの、対応する基礎レイヤーの画素の色が肌色相当色条件を満たす画素に睫毛画像色を着色する。 The composite image for printing is an image in which the basic layer on which the photographed image is drawn, the printing eyelash layer on which the eyelash image is drawn based on the printing eyelash texture, and the graffiti layer are overlapped in this order from the back side. . Drawing of the eyelash image on the eyelash layer for printing is performed as follows. That is, the vertical / horizontal expansion / contraction ratio and the rotation angle θ executed in the fitting process described with reference to FIG. 6 are applied to the printing eyelash texture. Similarly to the eyelash drawing process described above, when the printing eyelash texture is projected onto the printing eyelash layer, the pixel corresponding to the cilia portion of the eyelash texture of the printing eyelash texture is set as the eyelash drawing target pixel, and the eyelash Among the drawing target pixels, the eyelash image color is colored to a pixel whose corresponding base layer pixel color condition satisfies the skin color equivalent color condition.
また、更に、印刷用睫毛レイヤーのうち、落書き時画面において操作入力された消去操作軌跡の部分の色情報を無色透明に変更する(図12参照)。これにより、表示用睫毛レイヤーを印刷用睫毛レイヤーに差し替えることによっても、かつて操作入力した消去操作がそのまま反映されることとなる。
次いで、基礎レイヤーと、印刷用睫毛レイヤーと、落書きレイヤーとをこの順に奥側から重ねることで、印刷用合成画像を生成する。
Further, in the printing eyelash layer, the color information of the portion of the erasing operation trajectory input on the graffiti screen is changed to colorless and transparent (see FIG. 12). As a result, even if the display eyelash layer is replaced with the printing eyelash layer, the erase operation once input by the operation is reflected as it is.
Next, the base layer, the printing eyelash layer, and the graffiti layer are stacked in this order from the back side to generate a printing composite image.
3.機能構成
図13は、シールプリント機1000の内部構成を示すブロック図である。シールプリント機1000は、操作入力部1100と、処理部1200と、画像表示部1330と、音出力部1340と、通信部1400と、撮影部1500と、印刷部1600と、排出機構1620と、記憶部1700とを備えて構成される。
3. Functional Configuration FIG. 13 is a block diagram showing an internal configuration of the
操作入力部1100は、ユーザによる操作指示を受け付け、操作に応じた操作信号を処理部1200に出力する。図1では、ディスプレイ1002に一体的に形成されるタッチパネルがこれに相当する。
The
処理部1200は、シールプリント機1000全体の制御や画像生成、音生成等の各種演算処理を行う。この機能は、例えばCPU(CISC型やRISC型)、ASIC(ゲートアレイ等)等の演算装置やその制御プログラムにより実現される。図1では、システム基板1009に搭載されたCPUがこれに該当する。
The
また、処理部1200には、写真シール100の作成にかかる処理を行うシール作成処理部1210と、画像表示部1330の画像表示を制御する表示制御部1230と、効果音やBGM等の各種音声の音信号を生成する音生成部1240とを含んでいる。
The
シール作成処理部1210は、撮影制御部1211と、睫毛描画処理部1213と、画像編集部1215と、印刷制御部1217とを含み、写真シールの作成にかかる各種処理を行う。
The seal
撮影制御部1211は、撮影部1500によるユーザ(被写体)の撮影(撮像)を制御する。具体的には、シャッタータイミングを指示するカウントダウン等を行った後、該シャッタータイミングで撮影部1500に撮影を実行させる。そして、撮影制御部1211は、撮影部1500による撮影画像のデータを撮影画像データ1731として記憶部1700に記憶させる。
The
睫毛描画処理部1213は、撮影制御部1211により撮影された撮影画像に対して、表示用睫毛テクスチャを、ユーザの目の画像部分にフィッティングさせるフィッティング処理を行う。そして、表示用睫毛レイヤーの睫毛描画対象画素に睫毛画像色を着色することで、表示用睫毛レイヤーに睫毛を描画する。また、睫毛描画処理部1213は、印刷用睫毛テクスチャを、先のフィッティング処理で実行したフィッティングデータ1741に基づいて、同様にフィッティング処理を行って、印刷用睫毛レイヤーの睫毛描画対象画素に睫毛画像色を着色することで、印刷用睫毛レイヤーに睫毛を描画する。
The eyelash
表示用睫毛テクスチャデータ1721には、「睫毛モード」と「睫毛ボリューム」との組合せによる4種類の表示用の睫毛テクスチャが格納される。印刷用睫毛テクスチャデータ1723は、同じく、「睫毛モード」と「睫毛ボリューム」との組合せによる4種類の印刷用の睫毛テクスチャが格納される。
The display
画像編集部1215は、基礎レイヤーと、表示用睫毛レイヤーと、印刷用睫毛レイヤーと、落書きレイヤーとを管理し、表示用合成画像を生成して表示用合成画像データ1737として記憶部1700に記憶させる。
The
また、画像編集部1215は、落書き時画面を画像表示部1330に表示させて落書き処理を行い、ペンツールを用いたユーザの着色操作軌跡に従って、落書き用レイヤーに色を着色する。また、消しゴムツールを用いた消去操作軌跡に従って、表示用睫毛レイヤー及び落書きレイヤーから色を消去する。このときの消去操作軌跡は、消去操作軌跡データ1743として記憶される。
Further, the
印刷制御部1217は、印刷用合成画像を生成して、単位シール画像を生成する。そして、生成した単位シール画像を所定サイズに配置構成した画像を印刷部1600に印刷させるように制御する。
The
画像表示部1330は、例えばCRT、LCD、ELD、PDP、HMD等のハードウェアによって実現されるディスプレイであって、図1では、ディスプレイ1002がこれに相当する。
The
音生成部1240は、効果音やBGM等の各種音声を生成し、生成した音声の音信号を音出力部1340に出力する。音出力部1340は、音生成部1240からの音信号に基づく音声を出力する。この機能は、例えばスピーカ等によって実現される。図1では、スピーカ1003がこれに該当する。
The
通信部1400は、携帯電話機等の外部機器と通信接続し、当該外部機器との間でデータの送受信を行う。この機能は、例えば無線LAN、IrDA、Bluetooth(登録商標)等の無線通信規格に準拠した無線通信モジュールによって実現される。図1では、赤外線通信部1004がこれに相当する。
The
撮影部1500は、撮影制御部1211の制御に従って撮影を行い、撮影した画像データを処理部1200に出力する。この機能は、撮影レンズや、撮影レンズを通過した入射光をデジタル信号に変換するCCDやCMOS等の撮像素子で実現される。図1では、カメラ1001がこれに相当する。
The
印刷部1600は、印刷制御部1215の制御に従って、所定の用紙(シール紙)への印刷を実行する。この機能は、例えば、インクジェット式プリンタやレーザプリンタ、昇華型プリンタ、熱転写型プリンタ、溶融型プリンタ、サーマルプリンタ、印画紙プリンタ、インスタントフィルムプリンタ等の印刷装置や給紙装置、それらのドライバ回路等によって実現される。図1では、印刷装置1008がこれに相当する。
The
排出機構1620は、印刷部1600により印刷画像が印刷されたシール紙を、写真シール100として、シール払出口1006からシールプリント機1000の外部に排出させる搬送機構である。
The
記憶部1700は、処理部1200にシールプリント機1000を統合的に制御させるための各種機能を実現するためのシステムプログラムやデータ等を記憶するとともに、処理部1200の作業領域として用いられ、処理部1200が各種プログラムに従って実行した演算結果や操作入力部1100から入力される入力データ等を一時的に記憶する。この機能は、例えば各種ICメモリやハードディスク、CD−ROM、DVD、MO、RAM、VRAM等によって実現される。図1では、システム基板1009に搭載されたICメモリがこれに該当する。
The
また、記憶部1700は、プログラムとして、処理部1200をシール作成処理部1210として機能させるためのシール作成プログラム1701を記憶している。また、記憶部1700は、予め用意されたデータとして、表示用睫毛テクスチャデータ1721と、印刷用睫毛テクスチャデータ1723と、落書きツールデータ1725とを記憶している。また、随時更新されるデータとして、撮影画像データ1731と、基礎レイヤーデータ1732と、表示用睫毛レイヤーデータ1733と、印刷用睫毛レイヤーデータ1734と、落書きレイヤーデータ1735と、表示用合成画像データ1737と、印刷用合成画像データ1739と、フィッティングデータ1741と、消去操作軌跡データ1743とを記憶している。
Further, the
4.処理の流れ
図14は、シール作成処理部1210が記憶部1700のシール作成プログラム1701を読み出して実行することで、シールプリント機1000において実行されるシール作成処理の流れを示すフローチャートである。この処理は、シールプリント機1000において所定量のコインがコイン投入口1005に投入されたことが確認されると開始される。
4). Processing Flow FIG. 14 is a flowchart showing a flow of a sticker creation process executed in the
先ず、シールプリント機1000において、シール作成処理部1210は、図2〜図4に示した表示画面W10〜W30を画像表示部1330に表示させ、操作入力部1100からのユーザの操作入力に従って、睫毛描画有無、睫毛モード及び睫毛ボリュームをそれぞれ設定する(ステップA1)。その後、撮影制御部1211は、撮影時処理を行う(ステップA3)。
First, in the
図15は、撮影時処理の流れを示すフローチャートである。
先ず、撮影制御部1211は、撮影を開始する(ステップB1)。すなわち、カウントダウンを行った後のシャッタータイミングで撮影部1500に撮影を実行させ、撮影画像を撮影画像データ1731として記憶部1700に記憶させる。シール作成処理部1210は、この撮影画像を基礎レイヤーに貼り付け(描画)たデータを基礎レイヤーデータ1732として記憶部1700に記憶する。
FIG. 15 is a flowchart showing the flow of processing during shooting.
First, the
撮影制御部1211は、撮影が終了すると(ステップB3;Yes)、睫毛の描画が有りであるか否かを判定する(ステップB5)。すなわち、ステップA1においてユーザの操作入力に従って、睫毛の描画を有りに設定したか否かを判定する。そして、睫毛の描画が有りであると判定した場合は(ステップB5;Yes)、睫毛描画処理部1213は、表示用睫毛描画処理を実行する(ステップB7)。
When shooting is finished (step B3; Yes), the
図16は、睫毛描画処理の流れを示すフローチャートである。
先ず、睫毛描画処理部1213は、目検出処理を行う(ステップC1)。すなわち、撮影画像中から目の画像部分の検出を試みる。
FIG. 16 is a flowchart showing the flow of eyelash drawing processing.
First, the eyelash
睫毛描画処理部1213は、目の検出に成功したならば(ステップC3;Yes)、記憶部1700に記憶された表示用睫毛テクスチャデータ1721から、ステップA1においてユーザにより選択された睫毛モード及び睫毛ボリュームに応じた表示用睫毛テクスチャを読み出す(ステップC5)。
If the eyelash
そして、睫毛描画処理部1213は、表示用睫毛テクスチャについてフィッティング処理を行う(ステップC7)。具体的には、表示用睫毛テクスチャに予め定められたフィッティングポイント「X」〜「Z」の位置関係を、ステップC1で検出された目の特徴点「A」〜「C」それぞれに一致するように、表示用睫毛テクスチャの拡大/縮小制御と、表示用睫毛テクスチャの回転制御とを行う。
Then, the eyelash
その後、睫毛描画処理部1213は、表示用睫毛テクスチャの拡大/縮小率及び回転角をフィッティングデータ1741として記憶部に記憶させる(ステップC9)。そして、睫毛描画処理部1213は、睫毛描画対象画素の判定処理を行う(ステップC11)。具体的には、表示用睫毛レイヤーの中から、フィッティングされた睫毛テクスチャの睫毛の着色部分に対応する画素を選択して、睫毛描画対象画素とする。
Thereafter, the eyelash
次いで、睫毛描画処理部1213は、ステップC11で判定した各睫毛描画対象画素についてループAの処理を実行する(ステップC13〜C21)。ループAの処理では、睫毛描画処理部1213は、当該睫毛描画対象画素に対して、着色許可条件判定処理を行う(ステップC15)。すなわち、当該睫毛描画対象画素に対応する基礎レイヤーの画素の色が、予め定められた肌色相当色であるか否かを判定し、肌色相当色であると判定した場合は、当該睫毛描画対象画素は着色許可条件を満たすと判定する。
Next, the eyelash
そして、睫毛描画処理部1213は、当該睫毛描画対象画素が着色許可条件を満たすと判定したならば(ステップC17;Yes)、当該睫毛描画対象画素に睫毛画像色を着色して(ステップC19)、次の睫毛描画対象画素へと処理を移行する。また、当該睫毛描画対象画素が着色許可条件を満たさないと判定したならば(ステップC17;No)、睫毛描画処理部1213は、ステップC19を行わずに、次の睫毛描画対象画素へと処理を移行する。
If the eyelash
全ての睫毛描画対象画素について処理を行った後、睫毛描画処理部1213は、ループAの処理を終了し(ステップC21)、表示用睫毛描画処理を終了する。また、ステップC3において目の検出に失敗したと判定した場合には(ステップC3;No)、睫毛描画処理部1213は、表示用睫毛描画処理を終了する。
After processing all the eyelash drawing target pixels, the eyelash
図15の撮影時処理に戻って、表示用睫毛描画処理を行った後、シール作成処理部1210は、基礎レイヤーと、表示用睫毛レイヤーと、落書きレイヤーとを重ねた画像を表示用合成画像とする(ステップB9)。尚、この段階では落書きレイヤーは何も描画されていない無色透明のレイヤーである。また、ステップB5において睫毛の描画が「無し」であると判定した場合は(ステップB5;No)、撮影制御部1211は、基礎レイヤーと落書きレイヤーとを重ねて表示用合成画像とする(ステップB11)。
Returning to the processing at the time of shooting in FIG. 15, after performing the display eyelash drawing process, the seal
ステップB9又はB11の処理の後、シール作成処理部1210は、表示用合成画像を画像表示部1330に表示させる(ステップB13)。そして、シール作成処理部1210は、ユーザの操作入力に従って、表示用合成画像がOKであるか否かを判定し(ステップB15)、OKであると判定した場合は(ステップB15;Yes)、撮影時処理を終了する。また、表示用合成画像がNGであると判定した場合は(ステップB15;No)、ステップB1に戻り、撮影時処理を再実行する。
After the process of step B9 or B11, the seal
図14のシール作成処理に戻って、撮影時処理を行った後、画像編集部1215は、画像編集処理を行う(ステップA5)。
Returning to the seal creation process of FIG. 14, after performing the photographing process, the
図17は、画像編集処理の流れを示すフローチャートである。
先ず、画像編集部1215は、表示用合成画像や、落書き用ツール等を配置した落書き時画面を画像表示部1330に表示させる(ステップD1)。
FIG. 17 is a flowchart showing the flow of image editing processing.
First, the
次いで、画像編集部1215は、ユーザによりペンツール51が選択されたか否かを判定し(ステップD3)、選択されたと判定した場合は(ステップD3;Yes)、ペンツールの着色操作軌跡に従って、落書きレイヤーに色を着色する(ステップD5)。
Next, the
その後、画像編集部1215は、ユーザにより消しゴムツール52が選択されたか否かを判定し(ステップD7)、選択されたと判定した場合は(ステップD7;Yes)、ユーザの消去操作に応じた消去操作軌跡を、消去操作軌跡データ1743として記憶部1700に記憶させる(ステップD9)。そして、当該消去操作軌跡に従って、表示用睫毛レイヤー及び落書きレイヤーから、当該消去操作軌跡部分の色を消去する(ステップD11)。すなわち、着色されていた色情報を無色透明に変更する。
Thereafter, the
そして、画像編集部1215は、落書きを終了するか否かを判定し(ステップD13)、まだ終了しないと判定した場合は(ステップD13;No)、ステップD3に戻る。また、落書きを終了すると判定した場合は(ステップD13;Yes)、画像編集処理を終了する。
Then, the
図14のシール作成処理に戻って、画像編集処理を行った後、印刷制御部1217は、印刷時処理を行う(ステップA7)。
Returning to the seal creation process of FIG. 14, after performing the image editing process, the
図18は、印刷時処理の流れを示すフローチャートである。
先ず、印刷制御部1217は、睫毛の印刷が有りであるか否かを判定し(ステップE1)、有りであると判定した場合は(ステップE1;Yes)、睫毛描画処理部1213は、印刷用睫毛描画処理を行う(ステップE3)。
FIG. 18 is a flowchart showing the flow of processing during printing.
First, the
図19は、印刷用睫毛描画処理の流れを示すフローチャートである。
先ず、睫毛描画処理部1213は、記憶部1700に記憶された印刷用睫毛テクスチャデータ1723から、ステップA1でユーザに選択された睫毛モード及び睫毛ボリュームに応じた睫毛テクスチャを読み出す(ステップF1)。
FIG. 19 is a flowchart showing the flow of the printing eyelash drawing process.
First, the eyelash
その後、睫毛描画処理部1213は、記憶部1700に記憶されたフィッティングデータ1741を読み出す(ステップF3)。そして、睫毛描画処理部1213は、睫毛描画対象画素を判定する(ステップF5)。具体的には、印刷用睫毛レイヤーの中から、フィッティングされた睫毛テクスチャの睫毛の着色部分に対応する画素を検出して、睫毛描画対象画素と判定する。
Thereafter, the eyelash
そして、睫毛描画処理部1213は、各描画対象画素それぞれについて、ループBの処理を実行する(ステップF7〜15)。ループBの処理では、睫毛描画処理部1213は、当該睫毛描画対象画素に対して、着色許可条件判定処理を行う(ステップF9)。すなわち、当該睫毛描画対象画素に対応する基礎レイヤーの画素の色が、予め定められた肌色相当色であるか否かを判定し、肌色相当色であると判定した場合は、当該睫毛描画対象画素は着色許可条件を満たすと判定する。
Then, the eyelash
そして、睫毛描画処理部1213は、当該睫毛描画対象画素が着色許可条件を満たすと判定したならば(ステップF11;Yes)、当該睫毛描画対象画素に睫毛画像色を着色して(ステップF13)、次の睫毛描画対象画素へと処理を移行する。また、当該睫毛描画対象画素が着色許可条件を満たさないと判定したならば(ステップF11;No)、睫毛描画処理部1213は、ステップF13の処理を行わずに、次の睫毛描画対象画素へと処理を移行する。
When the eyelash
全ての睫毛描画対象画素について処理を行った後、睫毛描画処理部1213は、ループBの処理を終了する(ステップF15)。その後、睫毛描画処理部1213は、消去操作軌跡データ1743に記憶された消去操作軌跡に従って、印刷用睫毛レイヤーから睫毛画像色を消去する(ステップF17)。そして、睫毛描画処理部1213は、印刷用睫毛描画処理を終了する。
After processing all the eyelash drawing target pixels, the eyelash
図18の印刷時処理に戻って、印刷用睫毛描画処理を行った後、印刷制御部1217は、基礎レイヤーと、印刷用睫毛レイヤーと、落書きレイヤーとを重ねて印刷用合成画像生成し、記憶部1700に記憶させる(ステップE5)。
Returning to the processing at the time of printing in FIG. 18, after performing the printing eyelash drawing process, the
また、ステップE1において睫毛の印刷が「無し」であると判定した場合は(ステップE1;No)、印刷制御部1217は、基礎レイヤーと、落書きレイヤーとを重ねて印刷用合成画像を生成し、記憶部1700に記憶させる(ステップE7)。
If it is determined in step E1 that the printing of the eyelashes is “none” (step E1; No), the
ステップE5又はE7の処理の後、印刷制御部1217は、印刷用合成画像を所定の配置構成で並べてシール画像を生成して印刷部1600に印刷させる(ステップE11)。そして、印刷制御部1217は、印刷時処理を終了する。
After the process of step E5 or E7, the
図14のシール作成処理に戻って、印刷時処理を終了すると、シール作成処理部1210は、排出機構1620に、生成された写真シール100をシール払出口1006からシールプリント機1000の外部に排出させる(ステップA9)。以上の処理を行うと、シール作成処理は終了となる。
Returning to the sticker creation process of FIG. 14, when the printing process is completed, the sticker
5.作用効果
シールプリント機1000において、カメラ1001を用いてユーザの顔画像が撮影される。そして、撮影された顔画像の中からユーザの目を検出する処理が行われ、検出された目に対して睫毛テクスチャをフィッティングさせるフィッティング処理が行われることで、撮影画像中のユーザの睫毛描画位置が特定される。そして、特定された睫毛描画位置に所定の睫毛画像色が着色されることで、睫毛画像が描画された表示用画像が生成されて、ディスプレイ1002に表示される。
5. Operation In the
本実施形態では、マスカラのような効果を発揮させる睫毛テクスチャや、つけ睫毛のような効果を発揮させる睫毛テクスチャといった複数種類の睫毛テクスチャが予め用意され、ユーザの選択指示操作に従って選択された睫毛テクスチャを用いて睫毛画像が描画される。従って、マスカラやつけ睫毛のような、肌の色の補正とは違った効果を目の部分に施すことができる。 In the present embodiment, a plurality of types of eyelash textures such as an eyelash texture that exerts an effect like a mascara and an eyelash texture that exerts an effect like a false eyelash are prepared in advance, and the eyelash texture selected according to a user's selection instruction operation An eyelash image is drawn using. Therefore, an effect different from the correction of the skin color, such as mascara and false eyelashes, can be applied to the eyes.
また、睫毛画像色の着色対象とする睫毛描画対象画素それぞれについて、当該睫毛描画対象画素が所定の着色許可条件を満たすか否かを判定する処理が行われる。着色許可条件は、例えば当該睫毛描画対象画素の色が肌色相当色であることである。そして、着色許可条件を満たす睫毛描画対象画素には睫毛画像色が着色されるが、着色許可条件を満たさない睫毛描画対象画素には睫毛画像色が着色されない。 Further, for each eyelash drawing target pixel to be colored with the eyelash image color, a process of determining whether or not the eyelash drawing target pixel satisfies a predetermined coloring permission condition is performed. The coloring permission condition is, for example, that the color of the eyelash drawing target pixel is a skin color equivalent color. Then, the eyelash drawing target pixel that satisfies the coloring permission condition is colored with the eyelash image color, but the eyelash drawing target pixel that does not satisfy the coloring permission condition is not colored.
ユーザの目の形状によっては、睫毛テクスチャのフィッティング処理を行った場合に、睫毛の描画部分が目の中に入り込んでしまう場合がある。この場合、当該部分に睫毛画像色を着色すると、白目や黒目の部分から睫毛が生えているかのような違和感のある画像が生成される。その点、肌色相当色の画素のみを対象として睫毛画像色を着色することで、白目部分や黒目部分には睫毛画像色が着色されず、自然な印象の画像を生成することができる。 Depending on the shape of the user's eyes, when the eyelash texture fitting process is performed, the eyelash drawing portion may enter the eye. In this case, when the eyelash image color is colored in the portion, an image having a sense of incongruity as if eyelashes are growing from the white or black eye portion is generated. In this regard, by coloring the eyelash image color only for pixels corresponding to the skin color, the eyelash image color is not colored in the white eye portion and the black eye portion, and an image with a natural impression can be generated.
また、本実施形態では、ディスプレイ1002に表示させる表示用睫毛と、写真シールに印刷する印刷用睫毛との種類を変えて、睫毛画像の描画処理を行う。具体的には、各繊毛の太さが細く、密度が低い表示用睫毛テクスチャと、各繊毛の太さが太く、密度が高い印刷用睫毛テクスチャとの2種類の睫毛テクスチャとを用いる。これは、ディスプレイ1002の大きさが写真シールの大きさよりも大きいため、ディスプレイ1002に表示される顔画像の大きさと写真シールに印刷される顔画像の大きさとが異なることを考慮したためである。
In this embodiment, the eyelash image drawing process is performed by changing the types of the display eyelashes to be displayed on the
さらに、本実施形態では、落書き用の画像に対する落書き時において、消しゴムツールを用いて、描画された睫毛を消すことを可能にしている。内部的には、タッチペン1007を用いたディスプレイ1002に対する消去軌跡の入力操作に従って、表示用画像から睫毛画像色を消去する。これにより、ユーザは、ディスプレイ1002に対する消去軌跡の入力操作によって、撮影画像に描画された表示用の睫毛画像を部分的に消去することができる。
Furthermore, in the present embodiment, it is possible to erase the drawn eyelashes by using an eraser tool at the time of graffiti on the image for graffiti. Internally, the eyelash image color is erased from the display image in accordance with the erase locus input operation on the
例えば、男女のカップルが撮影を行った場合、上述した実施形態の処理では、女性の目ばかりでなく、男性の目にも睫毛が描画されることになる。しかし、男性にとってみれば、自身の顔画像に睫毛が描画されることを希望しない場合がある。その場合には、男性は、自身の顔画像に描画された睫毛を落書きの際に消すことができる。また、女性の立場としては、自身の顔画像をより綺麗に見せるため、描画された睫毛に修正を加えたい場合がある。このような場合にも、女性は、落書きの際に睫毛の微調整を行うことができる。 For example, when a couple of men and women have taken pictures, eyelashes are drawn not only on the eyes of women but also on the eyes of men in the processing of the above-described embodiment. However, for men, there are cases in which it is not desired that eyelashes be drawn on their own face images. In that case, the male can erase the eyelashes drawn on his / her face image at the time of graffiti. In addition, as a woman's standpoint, there is a case where it is desired to correct the drawn eyelashes in order to make his / her face image appear more beautiful. Even in such a case, the woman can finely adjust the eyelashes during graffiti.
また、本実施形態では、落書き時に消しゴムツールを用いた睫毛の消去操作軌跡を記憶しておき、印刷用画像に対する睫毛の描画処理において、記憶しておいた消去操作軌跡に従って睫毛画像色を消去する。これにより、ユーザが落書き時に行った表示用睫毛画像に対する消去操作を、印刷用睫毛画像に対しても反映することができる。 Further, in the present embodiment, the eyelash erasing operation trajectory using the eraser tool at the time of graffiti is stored, and the eyelash image color is erased according to the stored erasing operation trajectory in the process of drawing the eyelash on the print image. . Thereby, the erasing operation on the display eyelash image performed by the user at the time of graffiti can be reflected also on the print eyelash image.
6.変形例
尚、本発明の適用可能な実施形態は、上述の実施形態に限定されることなく、本発明の趣旨を逸脱しない範囲で適宜変更可能なのは勿論である。
6). Modifications Note that embodiments to which the present invention can be applied are not limited to the above-described embodiments, and it is needless to say that the embodiments can be appropriately changed without departing from the spirit of the present invention.
6−1.画像生成装置
上述した実施形態では、画像生成装置の一種であるシールプリント機に本発明を適用した場合を例に挙げて説明したが、本発明を適用可能な画像生成装置はこれに限られるわけではない。例えば、画像生成装置の一種である携帯型ゲーム装置に本発明を適用することも可能である。
6-1. In the above-described embodiment, the case where the present invention is applied to a sticker printing machine, which is a kind of image generating apparatus, has been described as an example. However, the image generating apparatus to which the present invention can be applied is not limited thereto. is not. For example, the present invention can be applied to a portable game device which is a kind of image generation device.
図20は、携帯型ゲーム装置1800の構成を示す概略外観図である。携帯型ゲーム装置1800は、プレーヤがゲーム操作を入力するための方向入力キー1802及びボタンスイッチ1804と、第1液晶ディスプレイ1806と、第2液晶ディスプレイ1808と、スピーカ1810と、制御ユニット1850とを、ヒンジ1814で開閉自在なフリップフロップ型の装置本体1801に備えている。そして、第1液晶ディスプレイ1806及び第2液晶ディスプレイ1808の表示面上には、スタイラスペン1816などで触れることによって表示画面の任意位置を接触入力することのできるタッチパネル1807、1809がそれぞれ装着されている。
FIG. 20 is a schematic external view showing the configuration of the
また、装置本体1801には、コンピュータ読み取り可能な記憶媒体であるメモリカード1840からデータを読み書きできるメモリカード読取装置1818が備えられている。メモリカード1840は、上述したプリントシール機1000の記憶部1700の機能をなす記憶部である。
In addition, the apparatus
また、ヒンジ1814には、デジタル式の撮影部の一種であるイメージセンサモジュール1830が搭載されている。そして、ボタンスイッチ1804の所定スイッチにシャッター等の機能割り当て、ユーザが自身の顔画像を撮影することで、デジタルイメージデータをディスプレイ1806,1808に表示させることができる。
In addition, an
イメージセンサモジュール1830によりユーザの顔画像が撮影されると、制御ユニット1850は、上述した実施形態と同様に、睫毛描画処理を行って撮影画像に睫毛を描画する。すなわち、撮影画像中から目を検出する処理を行うとともに、睫毛テクスチャのフィッティング処理及び睫毛画像色の着色処理を行って、睫毛が描画された表示用画像を生成する。図21〜図23に、携帯型ゲーム装置1800に表示される表示画面の一例を示す。また、携帯型ゲーム装置1800には印刷装置が備わっていない。そのため、上述したシール作成処理から印刷時処理を省略したプログラムがメモリカード1840に記憶されることとなる。
When a face image of the user is captured by the
6−2.色条件
上述した実施形態では、睫毛描画対象画素それぞれについて、当該睫毛描画対象画素が睫毛画像色の着色を許容する条件として予め定められた色条件を満たすか否かを判定し、当該色条件を満たす場合に睫毛画像色を着色するものとして説明した。具体的には、当該画素の色が肌色相当色であるか否かを判定し、肌色相当色である場合に、当該睫毛描画対象画素に睫毛画像色を着色するものとして説明した。
6-2. In the above-described embodiment, for each eyelash drawing target pixel, it is determined whether or not the eyelash drawing target pixel satisfies a predetermined color condition as a condition for allowing coloring of the eyelash image color. It has been described that the eyelash image color is colored when it is satisfied. Specifically, it is determined whether or not the color of the pixel is a skin color equivalent color, and when the color is a skin color equivalent color, the eyelash drawing target pixel is colored with the eyelash image color.
この処理を次のようにしてもよい。すなわち、睫毛描画対象画素それぞれについて、当該睫毛描画対象画素が睫毛画像色の着色を許容しない条件として予め定められた色条件を満たすか否かを判定し、当該色条件を満たさない場合に睫毛画像色を着色する。この場合の色条件としては、睫毛描画対象画素の色が白色又はそれに近い色(白色相当色)であることや、黒色又はそれに近い色(黒色相当色)であることとすることができる。このような処理を行うことで、白目部分や黒目部分に睫毛が描画されたり、目に髪の毛がかかっている場合に髪の毛の上から睫毛が描画されるといったことを防止することができる。 This processing may be performed as follows. That is, for each eyelash drawing target pixel, it is determined whether or not the eyelash drawing target pixel satisfies a predetermined color condition as a condition that does not allow coloring of the eyelash image color. Color the color. The color condition in this case can be that the color of the eyelash drawing target pixel is white or a color close to it (white equivalent color), or black or a color close to it (black equivalent color). By performing such a process, it is possible to prevent eyelashes from being drawn in the white-eye portion and the black-eye portion, and eyelashes from being drawn over the hair when the eyes are covered with hair.
6−3.睫毛画像の生成
上述した実施形態では、撮影画像中のユーザの目を検出する(アイライン部分を検出する)処理を行い、検出した目に対して睫毛テクスチャのフィッティング処理を行うことで、ユーザの睫毛描画位置を特定した。この方法の他に、撮影画像中のユーザのアイライン部分の曲線形状を解析して、その形状に直接合致させるように睫毛を描画することも可能である。
6-3. Generation of eyelash image In the above-described embodiment, a process of detecting the eye of the user in the captured image (detecting an eyeline portion) is performed, and a process of fitting the eyelash texture is performed on the detected eye. The eyelash drawing position was specified. In addition to this method, it is also possible to analyze the curve shape of the user's eyeline portion in the captured image and draw the eyelashes so as to directly match the shape.
図24は、この場合における睫毛の描画処理の説明図である。
上述した実施形態では、睫毛テクスチャとして、繊毛が湾曲状に配列された睫毛テクスチャを使用したが、ここでは繊毛が直線上に配列された睫毛テクスチャを使用する。睫毛テクスチャには、右下部にフィッティングポイント「X」が、左下部にフィッティングポイント「Y」がそれぞれ設定されている。
FIG. 24 is an explanatory diagram of eyelash drawing processing in this case.
In the embodiment described above, the eyelash texture in which the cilia are arranged in a curved shape is used as the eyelash texture, but here, the eyelash texture in which the cilia are arranged in a straight line is used. In the eyelash texture, a fitting point “X” is set at the lower right and a fitting point “Y” is set at the lower left.
先ず、撮影画像中からアイラインELの曲線形状を解析する処理を行う。具体的には、例えば、撮影画像の明度を上げるトーンカーブ処理や、撮影画像を先鋭化させるアンシャープマスク処理といった画像処理を行う。そして、処理後の撮影画像に対して、例えば微分フィルタを利用した公知のエッジ検出処理を行うことで、撮影画像中からアイラインELの曲線そのものを検出し、睫毛描画位置を特定する。 First, processing for analyzing the curve shape of the eyeline EL from the captured image is performed. Specifically, for example, image processing such as tone curve processing for increasing the brightness of a captured image and unsharp mask processing for sharpening the captured image is performed. Then, a known edge detection process using, for example, a differential filter is performed on the photographed image after processing, thereby detecting the eyeline EL curve itself from the photographed image and specifying the eyelash drawing position.
アイラインELの曲線を検出したら、アイラインELの右端点「A」にフィッティングポイント「X」を、アイラインELの左端点「B」にフィッティングポイント「Y」をそれぞれ一致させるとともに、検出した曲線形状に沿った曲線を睫毛テクスチャ上に定義する。そして、定義した曲線上の睫毛テクスチャの座標に基づいて、睫毛テクスチャをアイラインELにテクスチャマッピングさせる。睫毛テクスチャの睫毛の着色部分に相当する画素に睫毛画像色を着色することで、図24に示すようにアイラインELの曲線に沿って睫毛が描画された画像を取得することができる。 When the eyeline EL curve is detected, the fitting point “X” is matched with the right end point “A” of the eyeline EL, the fitting point “Y” is matched with the left end point “B” of the eyeline EL, and the detected curve is detected. A curve along the shape is defined on the eyelash texture. Then, the eyelash texture is texture-mapped to the eyeline EL based on the coordinates of the eyelash texture on the defined curve. By coloring the eyelash image color to the pixel corresponding to the colored portion of the eyelash of the eyelash texture, an image in which the eyelash is drawn along the curve of the eyeline EL as shown in FIG. 24 can be acquired.
6−4.睫毛画像色
上述した実施形態では、睫毛画像色を予め定められた色(例えば黒色)として睫毛画像を描画するものとして説明したが、撮影画像に基づいて睫毛画像色を決定して、睫毛画像を描画することにしてもよい。
6-4. Eyelash image color In the above-described embodiment, the eyelash image color has been described as the eyelash image color drawn in advance (for example, black). However, the eyelash image color is determined based on the photographed image, and the eyelash image color is determined. You may decide to draw.
具体的には、撮影画像中から検出した目の画像部分の境界や、図24で特定したアイラインELの曲線位置の近傍の画素の中から、暗色系の色、例えば黒色又は黒色に近い色(以下、「黒色相当色」という。)の画素を抽出する。そして、抽出した画素の色の平均色を算出して睫毛画像色に決定し、当該睫毛画像色を用いて睫毛の着色を行う。 Specifically, a dark color, for example, black or a color close to black, is selected from the boundaries of the image portion of the eye detected from the captured image and the pixels near the curve position of the eyeline EL specified in FIG. (Hereinafter referred to as “black equivalent color”) pixels are extracted. Then, an average color of the extracted pixel colors is calculated and determined as an eyelash image color, and the eyelash is colored using the eyelash image color.
また、睫毛画像色をユーザの髪の毛の色に基づいて決定してもよい。具体的には、撮影画像中から髪の画像部分を認識し、髪の画像部分に含まれる各画素の色の平均色を算出して睫毛画像色に決定する。 Further, the eyelash image color may be determined based on the color of the user's hair. Specifically, the hair image portion is recognized from the photographed image, and the average color of each pixel included in the hair image portion is calculated to determine the eyelash image color.
尚、上述した処理で求めた平均色で睫毛の着色を行った場合に、睫毛画像の明度が低くなることを防止するため、平均色に対して明度補正を行って、平均色よりも若干明るく補正された色を睫毛画像色としてもよい。 In addition, in order to prevent the brightness of the eyelash image from being lowered when the eyelash is colored with the average color obtained by the above-described processing, the brightness correction is performed on the average color, so that it is slightly brighter than the average color. The corrected color may be the eyelash image color.
6−5.落書きモードでの睫毛の追加
撮影時に表示用画像をディスプレイ1002に表示させる時点では睫毛を描画せずに、画像編集時にユーザにより睫毛の追加指示がなされた時点で睫毛を描画することにしてもよい。この場合は、撮影時処理において表示用睫毛描画処理を行わずに、画像編集処理においてユーザにより睫毛を描画する指示操作がなされたことを検出すると、表示用睫毛描画処理を行い、表示用合成画像を生成して、ディスプレイ1002に表示させる。
6-5. Addition of eyelashes in graffiti mode The eyelashes may not be drawn when the display image is displayed on the
図25及び図26は、落書き時にディスプレイ1002に表示される落書き時画面の一例を示す図である。図25に示すように、落書き時画面の右下部にまつげ追加ボタン70を設け、このボタンに対してタッチ操作がなされた場合に、図26に示すように、睫毛が描画された画像がディスプレイ1002に表示される。
25 and 26 are diagrams illustrating an example of a graffiti screen displayed on the
6−6.消しゴムツール
消しゴムツールは、落書きレイヤーと表示用睫毛レイヤーの2つのレイヤーに共通的に用いられることとして説明したが、落書きレイヤー用の消しゴムツールと、睫毛レイヤー用の消しゴムツールとを別々に用意・使用可能としてもよい。その場合には、描画された睫毛のみを編集することが可能となる。
6-6. Eraser tool The eraser tool has been described as being commonly used for the graffiti layer and the display eyelash layer, but the eraser tool for the graffiti layer and the eraser tool for the eyelash layer are prepared and used separately. It may be possible. In that case, it is possible to edit only the drawn eyelashes.
6−7.目の大きさに応じた睫毛テクスチャ
睫毛テクスチャは、「睫毛モード」と「睫毛ボリューム」との組合せ4種類に対応した睫毛テクスチャが、表示用と、印刷用との2タイプずつ用意されていることとして説明した。しかし、ユーザの目の大きさは様々であるため、更に、細い目のユーザと、大きな目のユーザといった目の大きさ(縦横比率)に応じて、繊毛の長さ/密度が異なる睫毛テクスチャを用いることとしてもよい。
6-7. Eyelash texture according to the eye size The eyelash texture must be prepared for two types of eyelash textures for display and for printing, corresponding to the four combinations of “lash mode” and “lash volume”. As explained. However, since the size of the user's eyes varies, the eyelash texture having a different cilia length / density according to the size (height / width ratio) of a user with a small eye and a user with a large eye It may be used.
具体的には、目の画像部分を検出した際に、目頭「A」〜目尻「B」までの長さと、その線分に対する目の頂点「C」までの距離(垂線の長さ)との比率に応じて、目の縦横比率を判定する。そして、縦横比率に応じて、目の大きさ(目の縦横比率の度合い)を、「細め」、「ふつう」、「大きめ」の度合いに分ける。一方、「細め」、「ふつう」、「大きめ」のそれぞれの度合いに応じて、「細め」から「大きめ」になるにつれて繊毛の長さを長く、密度を濃くした睫毛テクスチャを予め用意しておく。例えば、繊毛の長さのみを可変した場合の睫毛テクスチャの例を図27に示す。そして、判定した目の大きさの度合いに応じた睫毛テクスチャを使用することとする。すなわち、表示用の睫毛テクスチャには、更に、「細め」、「ふつう」、「大きめ」の3タイプの睫毛テクスチャが、「睫毛モード」と「睫毛ボリューム」との組合せ4種類に対応して用意されることとなる。印刷用の睫毛テクスチャも同様である。 Specifically, when an eye image portion is detected, the length from the top of the eye “A” to the bottom of the eye “B” and the distance to the vertex “C” of the eye with respect to the line segment (length of the perpendicular) The aspect ratio of the eyes is determined according to the ratio. Then, according to the aspect ratio, the size of the eyes (degrees of the aspect ratio of the eyes) is divided into “thin”, “normal”, and “large” degrees. On the other hand, depending on the degree of “thin”, “normal”, and “large”, prepare the eyelash texture in which the length of the cilia becomes longer and the density is increased from “thin” to “large” . For example, FIG. 27 shows an example of the eyelash texture when only the length of the cilia is varied. The eyelash texture corresponding to the determined degree of eye size is used. In other words, for the display eyelash texture, three types of “narrow”, “normal”, and “large” eyelash textures are prepared corresponding to four combinations of “lash mode” and “lash volume”. Will be. The same applies to the eyelash texture for printing.
また、「6−3.睫毛画像の生成」欄で説明した図24の睫毛テクスチャを用いる場合には、縦方向に拡縮することで、繊毛の長さを可変することができる。このため、ユーザの目の大きさを判定した後に、その判定結果に応じて睫毛テクスチャを縦方向に拡縮することで、繊毛の長さを可変することができる。 In addition, when the eyelash texture of FIG. 24 described in the section “6-3. Generation of eyelash image” is used, the length of the cilia can be varied by scaling in the vertical direction. For this reason, after determining the size of the user's eyes, the length of the cilia can be varied by scaling the eyelash texture in the vertical direction according to the determination result.
1000 シールプリント機
1001 カメラ
1002 ディスプレイ
1003 スピーカ
1004 赤外線通信部
1005 コイン投入口
1006 シール払出口
1007 タッチペン
1008 印刷装置
1009 システム基板
1100 操作入力部
1200 処理部
1210 シール作成処理部
1211 撮影制御部
1213 睫毛描画処理部
1215 画像編集部
1217 印刷制御部
1230 表示制御部
1240 音生成部
1330 画像表示部
1340 音出力部
1400 通信部
1500 撮影部
1600 印刷部
1620 排出機構
1700 記憶部
DESCRIPTION OF
Claims (14)
前記カメラを制御してユーザを撮影する撮影制御手段と、
前記カメラにより撮影された撮影画像において睫毛描画位置を特定する睫毛描画位置特定手段と、
前記睫毛描画位置特定手段により特定された睫毛描画位置に所与の睫毛画像を描画する睫毛描画手段と、
前記睫毛描画手段により前記睫毛画像が描画された撮影画像を前記表示装置に表示させる表示制御手段と、
を備えた画像生成装置。 An image generation device including a camera and a display device,
Photographing control means for controlling the camera to photograph the user;
Eyelash drawing position specifying means for specifying the eyelash drawing position in a photographed image taken by the camera;
Eyelash drawing means for drawing a given eyelash image at the eyelash drawing position specified by the eyelash drawing position specifying means;
Display control means for displaying on the display device a captured image in which the eyelash image is drawn by the eyelash drawing means;
An image generation apparatus comprising:
前記睫毛描画位置特定手段により特定された睫毛描画位置に基づいて、前記撮影画像中の前記睫毛画像の描画対象画素を判定する描画対象画素判定手段と、
前記描画対象画素の色が、前記睫毛画像の色の着色を許容する条件として予め定められた色条件を満たす場合に当該描画対象画素に前記睫毛画像の色を着色する着色手段と、
を有する請求項1に記載の画像生成装置。 The eyelash drawing means includes
Drawing target pixel determining means for determining a drawing target pixel of the eyelash image in the captured image based on the eyelash drawing position specified by the eyelash drawing position specifying means;
A coloring means for coloring the drawing target pixel with the color of the eyelash image when the color of the drawing target pixel satisfies a predetermined color condition as a condition for allowing coloring of the color of the eyelash image;
The image generation apparatus according to claim 1, comprising:
前記睫毛描画位置特定手段により特定された睫毛描画位置に基づいて、前記撮影画像中の前記睫毛画像の描画対象画素を判定する描画対象画素判定手段と、
前記描画対象画素の色が、前記睫毛画像の色の着色を許容しない条件として予め定められた色条件を満たさない場合に当該描画対象画素に前記睫毛画像の色を着色する着色手段と、
を有する請求項1に記載の画像生成装置。 The eyelash drawing means includes
Drawing target pixel determining means for determining a drawing target pixel of the eyelash image in the captured image based on the eyelash drawing position specified by the eyelash drawing position specifying means;
Coloring means for coloring the color of the eyelash image to the pixel to be drawn when the color of the pixel to be drawn does not satisfy a predetermined color condition as a condition not allowing the coloration of the color of the eyelash image;
The image generation apparatus according to claim 1, comprising:
前記睫毛画像が描画された前記撮影画像を前記印刷装置で印刷させる印刷制御手段と、
を更に備え、
前記表示装置の表示画面は前記印刷装置で印刷される印刷用紙の大きさより大きな画面であり、
前記睫毛画像には、印刷用睫毛画像と、前記印刷用睫毛画像よりも各繊毛の太さが細く、及び/又は、前記印刷用睫毛画像よりも繊毛の密度が低く、描かれた表示用睫毛画像とがあり、
前記睫毛描画手段は、
前記撮影画像に前記表示用睫毛画像を描画する表示用睫毛描画手段と、
前記撮影画像に前記印刷用睫毛画像を描画する印刷用睫毛描画手段と、
を有し、
前記表示制御手段は、前記表示用睫毛描画手段により前記表示用睫毛画像が描画された撮影画像を前記表示装置に表示させ、
前記印刷制御手段は、前記印刷用睫毛描画手段により前記印刷用睫毛画像が描画された撮影画像を前記印刷装置で印刷させる、
請求項1〜5の何れか一項に記載の画像生成装置。 A printing device;
Print control means for printing the photographed image on which the eyelash image is drawn by the printing device;
Further comprising
The display screen of the display device is a screen larger than the size of the printing paper printed by the printing device,
The eyelash image includes a printed eyelash image, and the thickness of each cilia is narrower than that of the printing eyelash image, and / or the density of the cilia is lower than that of the printing eyelash image, and the display eyelash drawn. There is an image,
The eyelash drawing means includes
Display eyelash drawing means for drawing the display eyelash image on the captured image;
A printing eyelash drawing means for drawing the printing eyelash image on the photographed image;
Have
The display control means causes the display device to display a captured image in which the display eyelash image is drawn by the display eyelash drawing means,
The printing control unit causes the printing apparatus to print a captured image in which the printing eyelash image is drawn by the printing eyelash drawing unit;
The image generation apparatus as described in any one of Claims 1-5.
前記消去軌跡に従って、前記印刷用睫毛画像が描画された撮影画像から前記印刷用睫毛画像を部分的に消去する印刷用睫毛部分消去手段と、
を更に備え、
前記印刷制御手段は、前記印刷用睫毛部分消去手段により部分的に前記印刷用睫毛画像が消去された撮影画像を前記印刷装置で印刷させる、
請求項6に記載の画像生成装置。 Display eyelash part erasing means for partially erasing the display eyelash image from the captured image controlled to be displayed on the display device according to an input operation of the user's erasing locus on the display screen of the display device;
A printing eyelash part erasing unit for partially erasing the printing eyelash image from a photographed image on which the printing eyelash image is drawn according to the erasing locus;
Further comprising
The printing control means causes the printing apparatus to print a photographed image in which the printing eyelash image is partially erased by the printing eyelash part erasing means.
The image generation apparatus according to claim 6.
予め定められた睫毛パターン画像を、前記アイライン部分の形状に合致させるように変形させて前記睫毛画像を生成する睫毛画像生成手段を更に備えた、
請求項1〜7の何れか一項に記載の画像生成装置。 The eyelash drawing position specifying means specifies the user's eyeline part in the captured image as the eyelash drawing position,
Further comprising eyelash image generation means for generating the eyelash image by deforming a predetermined eyelash pattern image so as to match the shape of the eyeline part,
The image generation apparatus as described in any one of Claims 1-7.
請求項8に記載の画像生成装置。 The eyelash image generation means generates the eyelash image by scaling the eyelash pattern image according to the length of the eyeline part.
The image generation apparatus according to claim 8.
前記睫毛描画手段は、前記縦横比判定手段の判定結果に基づいて繊毛の長短及び/又は密度を可変させて睫毛画像を描画する、
請求項1〜9の何れか一項に記載の画像生成装置。 Aspect ratio determining means for determining the aspect ratio or degree of the eyes of the user in the captured image,
The eyelash drawing means draws an eyelash image by varying the length and / or density of cilia based on the determination result of the aspect ratio determination means.
The image generation apparatus as described in any one of Claims 1-9.
前記睫毛画像生成手段は、前記睫毛色決定手段により決定された色で前記睫毛画像を描画する、
請求項1〜10の何れか一項に記載の画像生成装置。 Further comprising eyelash color determining means for determining the color of the eyelash image based on the color of the eyelash drawing position specified by the eyelash drawing position specifying means and the vicinity thereof,
The eyelash image generation means draws the eyelash image with the color determined by the eyelash color determination means.
The image generation apparatus as described in any one of Claims 1-10.
前記カメラにより撮影された撮影画像において睫毛描画位置を特定する睫毛描画位置特定ステップと、
前記撮影画像中の前記睫毛描画位置特定ステップにおいて特定された睫毛描画位置に所与の睫毛画像を描画する睫毛描画ステップと、
前記睫毛描画ステップにおいて前記睫毛画像が描画された撮影画像を前記表示装置に表示させる表示制御ステップと、
前記睫毛画像が描画された前記撮影画像を前記印刷装置で印刷させる印刷制御ステップと、
を含むプリントシール製造方法。 A shooting control step for shooting the user by controlling the camera;
An eyelash drawing position specifying step for specifying an eyelash drawing position in a captured image taken by the camera;
An eyelash drawing step of drawing a given eyelash image at the eyelash drawing position specified in the eyelash drawing position specifying step in the captured image;
A display control step of causing the display device to display a captured image in which the eyelash image is drawn in the eyelash drawing step;
A printing control step of causing the printing device to print the captured image on which the eyelash image is drawn; and
A method for producing a print sticker.
前記カメラを制御してユーザを撮影する撮影制御手段、
前記カメラにより撮影された撮影画像において睫毛描画位置を特定する睫毛描画位置特定手段、
前記撮影画像中の前記睫毛描画位置特定手段により特定された睫毛描画位置に所与の睫毛画像を描画する睫毛描画手段、
前記睫毛描画手段により前記睫毛画像が描画された撮影画像を前記表示装置に表示させる表示制御手段、
として機能させるためのプログラム。 A computer built in a device equipped with a camera and a display device,
Photographing control means for controlling the camera and photographing the user;
Eyelash drawing position specifying means for specifying the eyelash drawing position in the photographed image taken by the camera;
Eyelash drawing means for drawing a given eyelash image at the eyelash drawing position specified by the eyelash drawing position specifying means in the captured image;
Display control means for displaying on the display device a photographed image in which the eyelash image is drawn by the eyelash drawing means;
Program to function as.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009153042A JP4833322B2 (en) | 2009-06-26 | 2009-06-26 | Image generating apparatus and print sticker manufacturing method |
CN201010216241.1A CN101938591B (en) | 2009-06-26 | 2010-06-28 | Image generating device and label making method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009153042A JP4833322B2 (en) | 2009-06-26 | 2009-06-26 | Image generating apparatus and print sticker manufacturing method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2011008643A true JP2011008643A (en) | 2011-01-13 |
JP4833322B2 JP4833322B2 (en) | 2011-12-07 |
Family
ID=43391704
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009153042A Expired - Fee Related JP4833322B2 (en) | 2009-06-26 | 2009-06-26 | Image generating apparatus and print sticker manufacturing method |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP4833322B2 (en) |
CN (1) | CN101938591B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015122741A (en) * | 2013-11-21 | 2015-07-02 | フリュー株式会社 | Photo sticker generation apparatus, image processing method, and program |
EP2955693A1 (en) | 2014-06-09 | 2015-12-16 | Panasonic Intellectual Property Management Co., Ltd. | Wrinkle detection apparatus and wrinkle detection method |
EP2955663A2 (en) | 2014-06-09 | 2015-12-16 | Panasonic Intellectual Property Management Co., Ltd. | Wrinkle detection apparatus and wrinkle detection method |
US9501689B2 (en) | 2014-03-13 | 2016-11-22 | Panasonic Intellectual Property Management Co., Ltd. | Image processing apparatus and image processing method |
JP2021039654A (en) * | 2019-09-05 | 2021-03-11 | フリュー株式会社 | Image processing device, image processing method, and program |
JP2021082939A (en) * | 2019-11-19 | 2021-05-27 | 株式会社アクセル | Design support device, design support method, and program |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102809987A (en) * | 2011-06-01 | 2012-12-05 | 康准电子科技(昆山)有限公司 | Handheld computer |
CN107291346B (en) * | 2016-04-12 | 2021-07-06 | 北京三星通信技术研究有限公司 | Terminal device and method and device for processing drawing content of terminal device |
CN109426767A (en) * | 2017-08-24 | 2019-03-05 | 丽宝大数据股份有限公司 | Informer describes guidance device and its method |
CN108898649A (en) * | 2018-06-15 | 2018-11-27 | Oppo广东移动通信有限公司 | Image processing method and device |
CN109165571B (en) * | 2018-08-03 | 2020-04-24 | 北京字节跳动网络技术有限公司 | Method and apparatus for inserting image |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004001495A (en) * | 2003-04-22 | 2004-01-08 | Casio Comput Co Ltd | Printer |
JP2005092588A (en) * | 2003-09-18 | 2005-04-07 | Hitachi Software Eng Co Ltd | Composite image print device and image editing method |
JP2006079619A (en) * | 2004-09-07 | 2006-03-23 | L'oreal Sa | Method and device for generating synthesized image of at least one fringe of lash |
JP2006293421A (en) * | 2005-04-05 | 2006-10-26 | Omron Entertainment Kk | Photographic sticker making device and method, and program |
JP2007213623A (en) * | 2002-07-08 | 2007-08-23 | Toshiba Corp | Virtual makeup device and method therefor |
JP2009064423A (en) * | 2007-08-10 | 2009-03-26 | Shiseido Co Ltd | Makeup simulation system, makeup simulation device, makeup simulation method, and makeup simulation program |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7773091B2 (en) * | 2004-09-07 | 2010-08-10 | L'oreal | Method and device for generating a synthesized image of at least one fringe of lashes |
-
2009
- 2009-06-26 JP JP2009153042A patent/JP4833322B2/en not_active Expired - Fee Related
-
2010
- 2010-06-28 CN CN201010216241.1A patent/CN101938591B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007213623A (en) * | 2002-07-08 | 2007-08-23 | Toshiba Corp | Virtual makeup device and method therefor |
JP2004001495A (en) * | 2003-04-22 | 2004-01-08 | Casio Comput Co Ltd | Printer |
JP2005092588A (en) * | 2003-09-18 | 2005-04-07 | Hitachi Software Eng Co Ltd | Composite image print device and image editing method |
JP2006079619A (en) * | 2004-09-07 | 2006-03-23 | L'oreal Sa | Method and device for generating synthesized image of at least one fringe of lash |
JP2006293421A (en) * | 2005-04-05 | 2006-10-26 | Omron Entertainment Kk | Photographic sticker making device and method, and program |
JP2009064423A (en) * | 2007-08-10 | 2009-03-26 | Shiseido Co Ltd | Makeup simulation system, makeup simulation device, makeup simulation method, and makeup simulation program |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015122741A (en) * | 2013-11-21 | 2015-07-02 | フリュー株式会社 | Photo sticker generation apparatus, image processing method, and program |
US9501689B2 (en) | 2014-03-13 | 2016-11-22 | Panasonic Intellectual Property Management Co., Ltd. | Image processing apparatus and image processing method |
EP2955693A1 (en) | 2014-06-09 | 2015-12-16 | Panasonic Intellectual Property Management Co., Ltd. | Wrinkle detection apparatus and wrinkle detection method |
EP2955663A2 (en) | 2014-06-09 | 2015-12-16 | Panasonic Intellectual Property Management Co., Ltd. | Wrinkle detection apparatus and wrinkle detection method |
US9443131B2 (en) | 2014-06-09 | 2016-09-13 | Panasonic Intellectual Property Management Co., Ltd. | Wrinkle detection apparatus and wrinkle detection method |
US9782119B2 (en) | 2014-06-09 | 2017-10-10 | Panasonic Intellectual Property Management Co., Ltd. | Wrinkle detection apparatus and wrinkle detection method |
JP2021039654A (en) * | 2019-09-05 | 2021-03-11 | フリュー株式会社 | Image processing device, image processing method, and program |
JP2021082939A (en) * | 2019-11-19 | 2021-05-27 | 株式会社アクセル | Design support device, design support method, and program |
JP7025040B2 (en) | 2019-11-19 | 2022-02-24 | 株式会社アクセル | Design support equipment, design support methods, and programs |
Also Published As
Publication number | Publication date |
---|---|
CN101938591B (en) | 2014-10-08 |
CN101938591A (en) | 2011-01-05 |
JP4833322B2 (en) | 2011-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4833322B2 (en) | Image generating apparatus and print sticker manufacturing method | |
JP3856211B2 (en) | Image printing apparatus and method, and program | |
JP5418708B2 (en) | Photo sealing machine, photo sealing machine processing method and program | |
US9519950B2 (en) | Image generating apparatus and image generating method | |
JP2012014680A (en) | Information processing program, information processor, information processing system and information processing method | |
JP5229910B2 (en) | Image processing apparatus, image output apparatus, image processing method, and computer program | |
JP5782873B2 (en) | Game shooting device, game shooting method and program | |
JP6206707B2 (en) | Imaging apparatus and display control method | |
JP2005092588A (en) | Composite image print device and image editing method | |
JP2012034242A (en) | Imaging apparatus, program, information storage medium and imaging method | |
JP6754229B2 (en) | Image processing equipment and computer programs | |
JP5750961B2 (en) | Game shooting device, game shooting method, and program | |
JP2013243466A (en) | Imaging apparatus for game, imaging method for game, and program | |
JP5541545B1 (en) | Photo sticker creation apparatus and method, and program | |
JP2012169987A (en) | Automatic photograph making device | |
JP3859693B1 (en) | Automatic photography apparatus and method | |
JP6245529B2 (en) | Game shooting device, game shooting method and program | |
JP2018029343A (en) | Image processing apparatus, image processing method, and program | |
JP5483136B1 (en) | Imaging apparatus and display control method | |
JP5527460B2 (en) | Game shooting device, game shooting method and computer program | |
JP2018107515A (en) | Photograph formation game machine and image processing method | |
JP2011164141A (en) | Automatic photograph producing device | |
JP5657942B2 (en) | Imaging apparatus, program, information storage medium, and imaging method | |
JP6156559B2 (en) | Game shooting device, game shooting method, and program | |
JP5887752B2 (en) | Photography game device, photography game method, and photography game program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110405 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110426 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110623 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110712 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110819 |
|
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: 20110920 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110921 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4833322 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140930 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140930 Year of fee payment: 3 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |