JP7184130B2 - Rendering device and rendering method - Google Patents

Rendering device and rendering method Download PDF

Info

Publication number
JP7184130B2
JP7184130B2 JP2021140260A JP2021140260A JP7184130B2 JP 7184130 B2 JP7184130 B2 JP 7184130B2 JP 2021140260 A JP2021140260 A JP 2021140260A JP 2021140260 A JP2021140260 A JP 2021140260A JP 7184130 B2 JP7184130 B2 JP 7184130B2
Authority
JP
Japan
Prior art keywords
area
drawn
nail
already
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2021140260A
Other languages
Japanese (ja)
Other versions
JP2021191435A (en
Inventor
義裕 手島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from JP2020117434A external-priority patent/JP6939957B2/en
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2021140260A priority Critical patent/JP7184130B2/en
Publication of JP2021191435A publication Critical patent/JP2021191435A/en
Application granted granted Critical
Publication of JP7184130B2 publication Critical patent/JP7184130B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、描画装置及び描画方法に関するものである。 The present invention relates to a drawing apparatus and drawing method.

従来、爪にネイルデザインを描画する描画装置が知られている(例えば、特許文献1参照)。
また、爪の表面に色や絵柄等のネイルデザインを描画する描画装置(ネイルプリント装置)として、描画を施す筆記具(描画用具であるペン)を搭載したプロッタ方式の描画装置を用いることも検討されている。
ペンを用いて描画を施す場合には、インクジェット方式のように小液滴のインクを吐出させる描画装置と比べて、使用可能なインクの粘度やインクに含まれる色材の粒径等に制約が少なく、粒径の大きな色材を含んだ発色のよいインクや光硬化型のインクのような高粘度のインクも用いることができる。このため、ネイルサロンで施されるものと同様の各種のネイルデザインを描画することが可能となる。
2. Description of the Related Art Conventionally, there is known a drawing device that draws a nail design on a nail (see, for example, Patent Document 1).
In addition, as a drawing device (nail printing device) for drawing nail designs such as colors and patterns on the surface of the nail, the use of a plotter-type drawing device equipped with a writing tool (a pen as a drawing tool) for drawing is also being considered. ing.
When drawing with a pen, there are restrictions on the viscosity of the ink that can be used and the particle size of the coloring material contained in the ink, compared to a drawing device that ejects small droplets of ink like an inkjet system. A highly viscous ink such as a light-curing ink or a highly colored ink containing a small amount of a coloring material having a large particle diameter can also be used. Therefore, it is possible to draw various nail designs similar to those applied at a nail salon.

爪に描画を施す場合、例えば下地を塗布した後に、下地領域の上に絵柄等を描画するというように、複数回に分けて、描画領域に重ねて描画を行うことが行われる。この場合に、ネイルプリントの仕上がり品質を良くするためには、前回描画した領域をできるだけ正確に検出して描画位置が相互にずれないようにすることが好ましい。
このため、爪に光を当てて撮影を行い、取得された撮影画像に基づいて描画済み領域(既描画領域)を検出することが行われている。
When drawing on a nail, for example, after applying a base, a pattern or the like is drawn on the base region, and the drawing is performed in multiple steps and superimposed on the drawing region. In this case, in order to improve the finished quality of the nail print, it is preferable to detect the previously drawn area as accurately as possible so that the drawing positions do not deviate from each other.
For this reason, the fingernail is photographed with light, and a drawn area (already drawn area) is detected based on the obtained photographed image.

特表2003-534083号公報Japanese Patent Publication No. 2003-534083

しかしながら、例えば下地等は白色又はそれに近い色で描画されるところ、描画された色が白色又はこれに近い色であるような場合には、撮影画像を取得するために爪に照射した光が爪の表面で反射した場合に、その反射光により高輝度となっている部分と描画済み領域(既描画領域)との区別が付きにくく、描画済み領域(既描画領域)を正確に検出することができない場合がある。
また、描画済み領域(既描画領域)であっても光の照射によって部分的に影ができた場合には、他の描画済み領域(既描画領域)と異なる色の部分と認識されてしまい、正しく描画済み領域(既描画領域)と判断されない場合もある。
反射や影等が生じないような照明を設計することも考えられるが、爪の形状は人により、また各指ごとに様々であるため、どのような爪であっても反射や影が生じないようにすることは困難である。
However, for example, the background is drawn in white or a color close to it, and if the drawn color is white or a color close to it, the light applied to the nail to acquire the photographed image may be different from the nail. When the light is reflected on the surface of the surface, it is difficult to distinguish between the high-intensity part and the drawn area (already drawn area) due to the reflected light, and it is possible to accurately detect the drawn area (already drawn area). Sometimes you can't.
Also, even in a drawn area (already drawn area), if a shadow is partially formed due to light irradiation, it will be recognized as a part with a different color from other drawn areas (already drawn area). In some cases, it is not correctly determined as a drawn area (already drawn area).
It is conceivable to design lighting that does not produce reflections or shadows, but since the shape of nails varies from person to person and from finger to finger, reflections and shadows do not occur for any type of nail. It is difficult to do so.

本発明は以上のような事情に鑑みてなされたものであり、既描画領域を過不足なく正確に検出することのできる描画装置及び描画方法を提供することを目的とするものである。 SUMMARY OF THE INVENTION It is an object of the present invention to provide a drawing apparatus and a drawing method capable of accurately detecting an already drawn area without excess or deficiency.

前記課題を解決するために、本発明の描画装置は、
描画対象である爪に描画を施す描画部と、
前記を照明する少なくとも一つの光源と、
前記描画部により第1の画像の描画が施された後の前記を、前記光源により前記を照明する方向を互いに異なる方向に変えて複数回撮影する撮影部と、
前記撮影部の複数回の撮影によって取得された複数の画像を合成して合成画像を生成し、当該合成画像に基づいて前記における前記第1の画像の描画が施されている既描画領域を検出する既描画領域検出部と、
を備え、
前記既描画領域検出部は、前記合成画像における色分布情報に基づいて前記における前記第1の画像が描画されていると推定される領域を既描画推定領域として前記合成画像から抽出するとともに、当該既描画推定領域の周辺領域の画素について前記既描画推定領域との色の差を判定し、当該色の差が変化している領域を前記既描画推定領域とともに前記既描画領域として検出することを特徴とする。
また、本発明の描画方法は、
描画部により描画対象である爪に第1の画像の描画を施す描画ステップと、
前記描画ステップにおいて前記第1の画像の描画が施された後の前記を、少なくとも一つの光源により前記を照明する方向を互いに異なる方向に変えて複数回撮影する撮影ステップと、
前記撮影ステップにおける複数回の撮影によって取得された複数の画像を合成して合成画像を生成し、当該合成画像に基づいて前記における前記第1の画像の描画が施されている既描画領域を検出する既描画領域検出ステップと、
を備え、
前記既描画領域検出ステップにおいて、前記合成画像における色分布情報に基づいて前記における前記第1の画像が描画されていると推定される領域を既描画推定領域として前記合成画像から抽出するとともに、当該既描画推定領域の周辺領域の画素について前記既描画推定領域との色の差を判定し、当該色の差が変化している領域を前記既描画推定領域とともに前記既描画領域として検出することを特徴とする。
In order to solve the above problems, the drawing apparatus of the present invention includes:
a drawing unit that draws on a nail that is a drawing target;
at least one light source for illuminating the nail ;
a photographing unit that photographs the nail after the first image has been drawn by the drawing unit a plurality of times while changing the direction in which the nail is illuminated by the light source in different directions;
a plurality of nail images obtained by photographing a plurality of times by the photographing unit are synthesized to generate a synthesized image; and based on the synthesized image, the first image of the nail is rendered in a drawn area. a drawn area detection unit that detects the
with
The already-drawn area detection unit extracts, from the synthesized image, an area in which the first image of the nail is estimated to be drawn as an estimated already-drawn area based on color distribution information in the synthesized image, Determining a color difference between pixels in a peripheral area of the already-drawn estimation area and the already-drawn estimation area, and detecting an area where the color difference is changed as the already-drawn area together with the already-drawn estimation area. characterized by
Further, the drawing method of the present invention is
a drawing step of drawing a first image on a nail, which is a drawing target, by a drawing unit;
a photographing step of photographing the nail after the drawing of the first image in the drawing step a plurality of times while changing the direction in which the nail is illuminated by at least one light source in different directions;
generating a composite image by synthesizing a plurality of nail images acquired by multiple times of photographing in the photographing step, and drawing the first image of the nail based on the composite image; a drawn area detection step for detecting
with
In the already-drawn area detecting step, extracting from the synthesized image an area in which the first image of the nail is estimated to be drawn as an estimated already-drawn area based on color distribution information in the synthesized image; Determining a color difference between pixels in a peripheral area of the already-drawn estimation area and the already-drawn estimation area, and detecting an area where the color difference is changed as the already-drawn area together with the already-drawn estimation area. characterized by

本発明によれば、既描画領域を過不足なく正確に検出することができる。 According to the present invention, it is possible to accurately detect an already-drawn area without excess or deficiency.

(a)は、本実施形態における描画装置の正面図であり、(b)は、(a)に示された描画装置の内部構成を示す側面図である。(a) is a front view of a drawing apparatus according to the present embodiment, and (b) is a side view showing the internal configuration of the drawing apparatus shown in (a). 本実施形態に係る描画装置の制御構成を示した要部ブロック図である。3 is a block diagram of main parts showing the control configuration of the drawing apparatus according to the embodiment; FIG. 既描画領域を検出する手順を示す説明図である。FIG. 10 is an explanatory diagram showing a procedure for detecting an already-drawn area; 本実施形態における描画装置の描画処理を示すフローチャートである。4 is a flow chart showing drawing processing of the drawing device according to the present embodiment.

図1(a)及び図1(b)から図4を参照しつつ、本発明に係るネイルプリント装置(描画装置)及びネイルプリント装置(描画装置)における描画方法の一実施形態について説明する。
なお、以下に述べる実施形態には、本発明を実施するために技術的に好ましい種々の限定が付されているが、本発明の範囲を以下の実施形態及び図示例に限定するものではない。
また、以下の実施形態では、ネイルプリント装置1は手の指の爪を描画対象として、これに描画するものとして説明するが、本発明の描画対象は手の指の爪に限るものではなく、例えば足の指の爪を描画対象としてもよい。
An embodiment of a nail printing device (drawing device) and a drawing method in the nail printing device (drawing device) according to the present invention will be described with reference to FIGS.
Although various technically desirable limitations are attached to the embodiments described below for carrying out the present invention, the scope of the present invention is not limited to the following embodiments and illustrated examples.
In the following embodiments, the nail printing apparatus 1 is described as drawing on a fingernail as a drawing target, but the drawing target of the present invention is not limited to the fingernail. For example, toe nails may be drawn.

図1(a)は、ネイルプリント装置の内部構成を示す正面図であり、図1(b)は、図1(a)に示されたネイルプリント装置の内部構成を示す側面図である。
図1(a)及び図1(b)に示すように、本実施形態におけるネイルプリント装置1は、描画ヘッド43が描画用具であるペン41とインクジェットヘッド71とを備え、プロッタ方式とインクジェット方式とを併用しての爪Tに描画を施す描画装置である。
このネイルプリント装置1は、ケース本体(筐体)2と、このケース本体2に収容される装置本体10とを備えている。ケース本体2は、外光がケース本体2内に進入しないように外光から遮光する構造になっている。
FIG. 1(a) is a front view showing the internal configuration of the nail printing device, and FIG. 1(b) is a side view showing the internal configuration of the nail printing device shown in FIG. 1(a).
As shown in FIGS. 1(a) and 1(b), the nail printing device 1 according to the present embodiment includes a drawing head 43 having a pen 41 serving as a drawing tool and an inkjet head 71, and a plotter system and an inkjet system. This is a drawing device that draws on the nail T in combination with .
The nail printing device 1 includes a case body (housing) 2 and a device body 10 housed in the case body 2 . The case body 2 has a structure for blocking external light so that external light does not enter the case body 2 .

図1(b)に示すように、ケース本体2には、その上面から上部前面にかけて、後述する描画部40のペン41及びインクジェットヘッド71を交換するために開閉可能に構成された蓋部23が設けられている。蓋部23は、例えばヒンジ等を介して、図1(b)に示すように閉状態から開状態まで回動自在となっている。 As shown in FIG. 1(b), the case main body 2 has a lid portion 23 which can be opened and closed from the upper surface to the upper front surface thereof for exchanging the pen 41 and the inkjet head 71 of the drawing unit 40, which will be described later. is provided. The lid portion 23 is rotatable from a closed state to an open state, as shown in FIG. 1B, via a hinge or the like.

ケース本体2の上面(天板)には操作部25(図2参照)が設置されている。
操作部25は、ユーザが各種入力を行う入力部である。
操作部25には、例えば、ネイルプリント装置1の電源をONする電源スイッチ釦、動作を停止させる停止スイッチ釦、爪Tに描画するデザイン画像を選択するデザイン選択釦、描画開始を指示する描画開始釦等、各種の入力を行うための図示しない操作釦が配置されている。
An operation unit 25 (see FIG. 2) is installed on the upper surface (top plate) of the case body 2 .
The operation unit 25 is an input unit through which a user performs various inputs.
The operation unit 25 includes, for example, a power switch button for turning on the power of the nail printing apparatus 1, a stop switch button for stopping the operation, a design selection button for selecting a design image to be drawn on the nail T, and a drawing start button for instructing the start of drawing. Operation buttons (not shown) for performing various inputs such as buttons are arranged.

また、ケース本体2の上面(天板)のほぼ中央部には表示部26が設置されている。
表示部26は、例えば液晶ディスプレイ(LCD:Liquid Crystal Display)、有機エレクトロルミネッセンスディスプレイその他のフラットディスプレイ等で構成されている。
本実施形態において、この表示部26には、例えば、印刷指U1を撮影して得た爪画像(爪Tの画像を含む指画像)、この爪画像中に含まれる爪Tの輪郭線等の画像、爪Tに描画すべきデザイン画像を選択するためのデザイン選択画面、デザイン確認用のサムネイル画像、各種の指示を表示させる指示画面等が適宜表示される。
なお、表示部26の表面に各種の入力を行うためのタッチパネルが一体的に構成されていてもよい。
Further, a display unit 26 is installed in a substantially central portion of the upper surface (top plate) of the case main body 2 .
The display unit 26 is configured by, for example, a liquid crystal display (LCD), an organic electroluminescence display, or other flat display.
In the present embodiment, the display unit 26 displays, for example, a nail image obtained by photographing the printing finger U1 (a finger image including an image of the nail T), an outline of the nail T included in the nail image, and the like. An image, a design selection screen for selecting a design image to be drawn on the nail T, a thumbnail image for design confirmation, an instruction screen for displaying various instructions, and the like are appropriately displayed.
A touch panel for performing various inputs may be integrally formed on the surface of the display unit 26 .

装置本体10は、ほぼ箱状に形成され、ケース本体2の内部下方に設置された下部機枠11と、この下部機枠11の上方で且つケース本体2の内部上方に設置されている上部機枠12とを備えている。 The apparatus main body 10 is formed substantially in the shape of a box and includes a lower machine frame 11 installed below the inside of the case body 2 and an upper machine installed above the lower machine frame 11 and above the inside of the case main body 2. A frame 12 is provided.

まず、下部機枠11について説明する。
下部機枠11は、背面板111、底板112、左右一対の側板113a,113b、X方向移動ステージ収容部114、Y方向移動ステージ収容部115及び隔壁116を有する。
側板113a,113bの下端部は、底板112の左右両端部にそれぞれ連結され、側板113a,113bが底板112に対して立てられた状態に設けられている。
背面板111の下部は、前方(指挿入方向手前側)に向かって2段に窪むように形成されている。背面板111の下端部は底板112の前端部に連結されており、背面板111は、底板112と側板113a,113bによって囲われた領域を前後に区切っている。
この窪んだ背面板111の後ろ側に形成される空間がX方向移動ステージ収容部114、Y方向移動ステージ収容部115(図1(b)参照)となっている。X方向移動ステージ収容部114内には、描画部40が前方(指挿入方向手前側)に移動した際に描画部40のX方向移動ステージ45が収容される。また、Y方向移動ステージ収容部115内には、描画部40のY方向移動ステージ47が配置されている。
また、隔壁116は、下部機枠11の内部前方側の空間(背面板111、底板112及び側板113a,113bによって囲われた指挿入方向手前側の空間)を上下に区切るように下部機枠11の内側に設けられている。隔壁116はほぼ水平に設けられ、隔壁116の左右両端部が側板113a,113bにそれぞれ連結され、隔壁116の後端部が背面板111に連結されている。
First, the lower machine frame 11 will be described.
The lower machine frame 11 has a back plate 111 , a bottom plate 112 , a pair of left and right side plates 113 a and 113 b , an X-direction moving stage housing portion 114 , a Y-direction moving stage housing portion 115 and a partition wall 116 .
The lower ends of the side plates 113a and 113b are connected to the left and right ends of the bottom plate 112, respectively, and the side plates 113a and 113b are provided in a state of being erected with respect to the bottom plate 112. As shown in FIG.
The lower part of the back plate 111 is formed so as to be recessed in two stages toward the front (the near side in the finger insertion direction). The lower end of the back plate 111 is connected to the front end of the bottom plate 112, and the back plate 111 divides the area surrounded by the bottom plate 112 and the side plates 113a and 113b into the front and rear.
A space formed on the rear side of the recessed rear plate 111 is an X-direction moving stage accommodating portion 114 and a Y-direction moving stage accommodating portion 115 (see FIG. 1B). The X-direction moving stage 45 of the drawing section 40 is accommodated in the X-direction moving stage accommodating section 114 when the drawing section 40 moves forward (toward the finger insertion direction). A Y-direction moving stage 47 of the drawing section 40 is arranged in the Y-direction moving stage housing section 115 .
In addition, the partition wall 116 divides the space on the front side inside the lower machine frame 11 (the space on the front side in the finger insertion direction surrounded by the back plate 111, the bottom plate 112, and the side plates 113a and 113b). is located inside the The partition 116 is provided substantially horizontally, and both left and right ends of the partition 116 are connected to the side plates 113 a and 113 b , respectively, and the rear end of the partition 116 is connected to the rear plate 111 .

この下部機枠11には、指固定部30(図1(b)参照)が一体的に設けられている。
指固定部30は、描画を施す爪T(すなわち描画対象)に対応する指(以下、これを「印刷指U1」という。)を受け入れる指受入部31と、この印刷指U1以外の指(以下、これを「非印刷指U2」という。)を退避させる指退避部32と、から構成されている。
指受入部31は、隔壁116の上側であって、例えば、下部機枠11の幅方向の中央より少し右に配置されている。また、隔壁116によって下部機枠11の下側に区分けられた空間が指退避部32を構成している。
例えば、薬指の爪Tに描画を施す場合には、指受入部31に印刷指U1としての薬指を挿入し、非印刷指U2であるその他の4指(親指、人差し指、中指、小指)を指退避部32に挿入する。
指受入部31は、下部機枠11の前面側(印刷指挿入方向の手前側)に開口しており、下側が隔壁116の一部を構成する指載置部となっている。指載置部は、描画を施す爪Tの指(印刷指U1)をXY平面上に載置するものである。
また、指受入部31の上側は、開口しており、指受入部31に挿入された印刷指U1の爪Tの表面(すなわち、描画対象面)が露出するようになっている。
The lower machine frame 11 is integrally provided with a finger fixing portion 30 (see FIG. 1(b)).
The finger fixing unit 30 includes a finger receiving unit 31 for receiving a finger (hereinafter referred to as a “printing finger U1”) corresponding to a nail T (that is, a drawing target) on which drawing is performed, and a finger other than the printing finger U1 (hereinafter referred to as a “printing finger U1”). , and this is referred to as a “non-printing finger U2”).
The finger receiving portion 31 is arranged above the partition wall 116 and, for example, slightly to the right of the center of the lower machine frame 11 in the width direction. Further, a space partitioned under the lower machine frame 11 by the partition wall 116 constitutes a finger evacuation section 32 .
For example, when drawing on the nail T of the ring finger, the ring finger as the printing finger U1 is inserted into the finger receiving portion 31, and the other four fingers (thumb, index finger, middle finger, and little finger) that are the non-printing fingers U2 are used. It is inserted into the evacuation section 32 .
The finger receiving portion 31 is open on the front side of the lower machine frame 11 (the front side in the printing finger insertion direction), and the lower side serves as a finger placing portion forming a part of the partition wall 116 . The finger placement unit is for placing the finger (printing finger U1) of the nail T on which drawing is to be performed on the XY plane.
The upper side of the finger receiving portion 31 is open so that the surface of the nail T of the printing finger U1 inserted into the finger receiving portion 31 (that is, the surface to be drawn) is exposed.

また、隔壁116の上面であって下部機枠11の前面側の両側部には、下部機枠11の前面側を塞ぐ前壁31f(図1(a)参照)が立設されている。また、隔壁116の上面には、この前壁31fの中央部寄りの端部から前記指受入部31に向けて狭窄し、印刷指U1を指受入部31内に案内する一対のガイド壁31g(図1(a)参照)が立設されている。
ユーザは指受入部31に挿入した印刷指U1と指退避部32に挿入した非印刷指U2との間に隔壁116を挟むことができる。そのため、指受入部31内に挿入された印刷指U1が安定して固定される。
Front walls 31f (see FIG. 1(a)) that block the front side of the lower machine frame 11 are erected on both sides of the upper surface of the partition wall 116 on the front side of the lower machine frame 11. As shown in FIG. A pair of guide walls 31g ( (see FIG. 1(a)) is erected.
The user can sandwich the partition 116 between the printing finger U1 inserted into the finger receiving portion 31 and the non-printing finger U2 inserted into the finger retraction portion 32 . Therefore, the printing finger U1 inserted into the finger receiving portion 31 is stably fixed.

下部機枠11の上面であって、指受入部31の側方(ケース本体2の媒体挿出口24に対応する位置であり、本実施形態では、図1(a)及び図2において左側)には、後述する描画ヘッド43による描画可能範囲内に、後述するペン41のペン先(先端部)413の書き出し時のかすれ等を無くすための慣らし書きを行う慣書部61が設けられている。
慣書部61は、平板状の部分であり、前述のケース本体2の媒体挿出口24から挿入された図示しない描画媒体が載置されるようになっている。
慣書部61に載置される描画媒体は、ペン先(先端部)413の慣らし書きを行うことができるものであればよく、例えば紙片である。
On the upper surface of the lower machine frame 11 and on the side of the finger receiving portion 31 (the position corresponding to the medium insertion opening 24 of the case body 2, in this embodiment, on the left side in FIGS. 1A and 2) is provided within the drawable range of the drawing head 43, which will be described later.
The document part 61 is a flat plate-like part, and a drawing medium (not shown) inserted from the medium insertion port 24 of the case main body 2 is placed thereon.
The drawing medium placed on the writing section 61 may be any medium on which preliminary writing can be performed with the pen tip (tip) 413, such as a piece of paper.

なお、図示は省略するが、下部機枠11の上面には、後述する描画ヘッド43の移動可能範囲内に、非描画時にペン41を待機させておくペン待機部や、後述するインクジェットヘッド71を待機させておくインクジェット保守部等が設けられている。
ペン待機部には、例えばペン先413の乾燥を防ぐキャップ部等が設けられている。
また、インクジェット保守部には、インクジェットヘッド71インク吐出部(ノズル面)をクリーニングする機構や、インク吐出部(ノズル面)の保湿状態を保つためのキャップ部等が設けられている。
Although illustration is omitted, on the upper surface of the lower machine frame 11, a pen waiting unit for keeping the pen 41 waiting when drawing is not performed and an inkjet head 71, which will be described later, are provided within a movable range of the drawing head 43, which will be described later. An ink jet maintenance section and the like are provided for standby.
The pen standby section is provided with, for example, a cap section or the like that prevents the pen tip 413 from drying.
Further, the inkjet maintenance section is provided with a mechanism for cleaning the ink ejection portion (nozzle surface) of the inkjet head 71, a cap portion for keeping the ink ejection portion (nozzle surface) in a moist state, and the like.

描画部40は、描画ヘッド43、描画ヘッド43を支持するユニット支持部材44、描画ヘッド43をX方向(図1(a)におけるX方向、描画装置1の左右方向)に移動させるためのX方向移動ステージ45、X方向移動モータ46、描画ヘッド43をY方向(図1(b)におけるY方向、描画装置1の前後方向)に移動させるためのY方向移動ステージ47、Y方向移動モータ48等を備えて構成されている。 The drawing unit 40 includes a drawing head 43, a unit support member 44 for supporting the drawing head 43, and an X direction for moving the drawing head 43 in the X direction (the X direction in FIG. 1A, the horizontal direction of the drawing apparatus 1). A moving stage 45, an X-direction moving motor 46, a Y-direction moving stage 47 for moving the drawing head 43 in the Y direction (the Y direction in FIG. 1B, the front-rear direction of the drawing apparatus 1), a Y-direction moving motor 48, and the like. is configured with

図1(a)及び図1(b)に示すように、本実施形態の描画ヘッド43には、ペンを着脱可能に保持するペン保持部42とインクジェットヘッド71を保持するインクジェットホルダ72とが隣り合って配置されている。
インクジェットヘッド71は、例えば、イエロー(Y;YELLOW)、マゼンタ(M;MAGENTA)、シアン(C;CYAN)のインクに対応する図示しないインクカートリッジと各インクカートリッジにおける描画対象(爪T)に対向する面(本実施形態では、図1(a)等における下面)に設けられた図示しないインク吐出部とが一体に形成されたインクカートリッジ一体型のヘッドである。インク吐出部は、それぞれの色のインクを噴射する複数のノズルからなるノズルアレイを備えており、インクジェットヘッド71は、インクを微滴化し、インク吐出部から描画対象(爪T)の被描画面に対して直接にインクを吹き付けて描画を行う。なお、インクジェットヘッド71は、上記3色のインクを吐出させるものに限定されない。その他のインクを貯留するインクカートリッジ及びインク吐出部を備えていてもよい。
As shown in FIGS. 1A and 1B, the drawing head 43 of the present embodiment is provided with a pen holder 42 that detachably holds a pen and an inkjet holder 72 that holds an inkjet head 71. placed together.
The inkjet head 71 faces, for example, ink cartridges (not shown) corresponding to yellow (Y; YELLOW), magenta (M; MAGENTA), and cyan (C; CYAN) inks, and a drawing target (nail T) in each ink cartridge. It is an ink cartridge-integrated head integrally formed with an ink discharge section (not shown) provided on a surface (in this embodiment, the lower surface in FIG. 1(a), etc.). The ink ejection section has a nozzle array consisting of a plurality of nozzles for ejecting ink of each color, and the inkjet head 71 forms ink into fine droplets, which are ejected from the ink ejection section onto the drawing surface of the drawing target (nail T). Drawing is done by spraying ink directly on the surface. In addition, the inkjet head 71 is not limited to one that ejects the three colors of ink described above. An ink cartridge for storing other ink and an ink discharge section may be provided.

ペン保持部42は、少なくとも1本のペン41が装着可能に保持するものであり、本実施形態では、1本のペン41を保持するペン保持部42が描画ヘッド43に1つ設けられている。
ペン41は、爪Tの表面を描画対象面とし、先端部が描画対象面である爪Tの表面に接触して爪Tに描画を施す描画用具である。
図1(a)等に示すように、ペン41は、中空円筒状のペンホルダ410内に挿通された棒状のペン軸部411の先端側(図1(a)において下側)にペン先413が設けられたものである。
ペン軸部411の内部は、各種インクを収容するインク収容部となっている。
ペン軸部411の内部に収容されるインクとしては、各種のインクが適用可能である。インクの粘度や色材の粒径(粒子の大きさ)等は特に限定されず、例えば、金銀のラメ入りのインクや白色のインク、UV硬化型のインクやジェルネイル、アンダーコート用インク、トップコート用インクやマニキュア液等も用いることができる。
本実施形態では、ペン41が、ペン軸部411内に下地塗布用の白色のインクが収容された下地用のペンである場合を例として説明する。
The pen holding portion 42 holds at least one pen 41 in an attachable manner, and in this embodiment, one pen holding portion 42 holding one pen 41 is provided in the drawing head 43 . .
The pen 41 is a drawing tool that draws on the nail T by using the surface of the nail T as a drawing target surface, and the tip of the pen 41 is in contact with the surface of the nail T, which is the drawing target surface.
As shown in FIG. 1(a), the pen 41 has a pen tip 413 on the tip side (lower side in FIG. 1(a)) of a rod-shaped pen shaft portion 411 inserted in a hollow cylindrical pen holder 410. It was established.
The interior of the pen shaft portion 411 serves as an ink containing portion that contains various types of ink.
Various types of ink can be applied as the ink contained inside the pen shaft portion 411 . The viscosity of the ink and the particle size (particle size) of the coloring material are not particularly limited. Coating ink, nail polish, and the like can also be used.
In this embodiment, the case where the pen 41 is a base pen in which white ink for base coating is contained in the pen shaft portion 411 will be described as an example.

本実施形態において、ペン41は、例えばペン先413を爪Tの表面に押し当てることでペン軸部411内に収容されているインクが染み出して描画する、ペン先413がボールペンタイプとなったペンである。
なお、ペン41は、ボールペンタイプのものに限定されない。例えばフェルト状のペン先にインクを染み込ませて描画するサインペンタイプや、束ねた毛にインクを染み込ませて描画する筆ペンタイプのもの等であってもよい。また、ペン先413の太さも各種のものを用意することができる。
In the present embodiment, the pen tip 413 of the pen 41 is of a ballpoint pen type. is a pen.
Note that the pen 41 is not limited to a ballpoint pen type. For example, it may be a felt-tip pen type that draws by impregnating the felt pen tip with ink, or a brush pen type that draws by impregnating bundled hair with ink. In addition, various thicknesses of the pen tip 413 can be prepared.

ペン保持部42は、図示しない係止部により1つのペン41を保持・固定して描画ヘッド43とともに移動させるための部材である。本実施形態において、このペン保持部42は、描画ヘッド43の側部に支持されている。
また、ペン保持部42は、描画ヘッド43に搭載されたペン上下用モータ426(図2参照)の駆動によって上下方向に移動可能に構成されている。
The pen holding portion 42 is a member for holding and fixing one pen 41 by a locking portion (not shown) and moving it together with the drawing head 43 . In this embodiment, the pen holder 42 is supported by the side of the drawing head 43 .
Further, the pen holding portion 42 is configured to be vertically movable by being driven by a pen vertical movement motor 426 (see FIG. 2) mounted on the drawing head 43 .

また、ユニット支持部材44は、X方向移動ステージ45に取り付けられたX方向移動部451に固定されている。X方向移動部451は、X方向移動モータ46の駆動によりX方向移動ステージ45上を図示しないガイドに沿ってX方向に移動するようになっており、これにより、ユニット支持部材44に取り付けられている描画ヘッド43が、X方向(図1(a)におけるX方向、ネイルプリント装置1の左右方向)に移動するようになっている。
また、X方向移動ステージ45は、Y方向移動ステージ47のY方向移動部471に固定されている。Y方向移動部471は、Y方向移動モータ48の駆動によりY方向移動ステージ47上を図示しないガイドに沿ってY方向に移動するようになっており、これにより、ユニット支持部材44に取り付けられている描画ヘッド43が、Y方向(図1(b)におけるY方向、ネイルプリント装置1の前後方向)に移動するようになっている。
なお、本実施形態において、X方向移動ステージ45及びY方向移動ステージ47は、X方向移動モータ46、Y方向移動モータ48と、図示しないボールネジ及びガイドとを組み合わせることで構成されている。
本実施形態では、X方向移動モータ46及びY方向移動モータ48等により、ペン41を備える描画ヘッド43をX方向及びY方向に駆動するXY駆動部としてのヘッド移動部49が構成されている。
Also, the unit support member 44 is fixed to an X-direction moving part 451 attached to the X-direction moving stage 45 . The X-direction moving part 451 is driven by the X-direction movement motor 46 to move on the X-direction movement stage 45 along a guide (not shown) in the X direction. The drawing head 43 is moved in the X direction (the X direction in FIG. 1(a), the lateral direction of the nail printing device 1).
Also, the X-direction moving stage 45 is fixed to the Y-direction moving part 471 of the Y-direction moving stage 47 . The Y-direction moving part 471 is driven by the Y-direction moving motor 48 to move on the Y-direction moving stage 47 along a guide (not shown) in the Y direction. The drawing head 43 is moved in the Y direction (the Y direction in FIG. 1(b), the front-rear direction of the nail printing device 1).
In this embodiment, the X-direction moving stage 45 and the Y-direction moving stage 47 are configured by combining the X-direction moving motor 46, the Y-direction moving motor 48, and ball screws and guides (not shown).
In this embodiment, the X-direction movement motor 46, the Y-direction movement motor 48, and the like constitute a head moving section 49 as an XY driving section that drives the drawing head 43 having the pen 41 in the X and Y directions.

描画部40におけるペン上下用モータ426、インクジェットヘッド71、X方向移動モータ46、Y方向移動モータ48は、後述する制御装置80の描画制御部814(図2参照)に接続され、該描画制御部814によって制御されるようになっている。 The pen up/down motor 426, the inkjet head 71, the X-direction movement motor 46, and the Y-direction movement motor 48 in the drawing unit 40 are connected to a drawing control unit 814 (see FIG. 2) of the control device 80, which will be described later. 814.

また、撮影部50は、撮像装置51と、照明装置52,55とを備えている。
この撮影部50は、指受入部31内に挿入されて上部の開口から見える印刷指U1の爪Tを照明装置52や照明装置55によって照明する。そして、撮像装置51によってその印刷指U1を撮影し、印刷指U1の爪Tの撮影画像である爪画像(爪画像を含む指の画像)を取得するものである。本実施形態では、撮像装置51は、爪Tに対する光の照射角度の異なる爪画像を複数取得するようになっている。
本実施形態では、撮像装置51及び照明装置52は、描画部40の描画ヘッド43の側方(図1(a)において描画ヘッド43の右側)に固定配置されている。
すなわち、図1(a)及び図1(b)に示すように、描画部40の描画ヘッド43は、上面の一端側(図1(a)において右側)に、側方に張り出す張出部401を有しており、この張出部401に基板53が取り付けられている。撮影部50を構成する撮像装置51及び照明装置52は、この基板53の下面に、隔壁116に対向するように設けられている。
なお、基板53の大きさや基板53に取り付けられている撮像装置51及び照明装置52の位置は特に限定されない。
The imaging unit 50 also includes an imaging device 51 and illumination devices 52 and 55 .
The photographing unit 50 illuminates the nail T of the printing finger U1 that is inserted into the finger receiving unit 31 and visible from the upper opening with the illumination device 52 and the illumination device 55 . Then, the printing finger U1 is photographed by the imaging device 51, and a nail image (a finger image including the nail image), which is a photographed image of the nail T of the printing finger U1, is acquired. In the present embodiment, the imaging device 51 acquires a plurality of nail images in which the light irradiation angles with respect to the nail T are different.
In this embodiment, the imaging device 51 and the illumination device 52 are fixedly arranged on the side of the drawing head 43 of the drawing unit 40 (on the right side of the drawing head 43 in FIG. 1A).
That is, as shown in FIGS. 1(a) and 1(b), the drawing head 43 of the drawing unit 40 has a projecting portion that projects sideways on one end side of the upper surface (on the right side in FIG. 1(a)). 401 to which the substrate 53 is attached. The imaging device 51 and the lighting device 52 that constitute the imaging unit 50 are provided on the lower surface of the substrate 53 so as to face the partition wall 116 .
The size of the substrate 53 and the positions of the imaging device 51 and the lighting device 52 attached to the substrate 53 are not particularly limited.

撮像装置51は、例えば、200万画素程度以上の画素を有する固体撮像素子とレンズ等を備えて構成された小型カメラである。
本実施形態では、撮像装置51によって取得された撮影画像(爪画像)に基づいて、後述する既描画領域検出部815(図2参照)がペン41による描画が施された描画済み領域Faの描画状況を判定する。
また、爪形状検出部812は、撮影画像(爪画像)に基づいてxy平面上における爪Tの位置や、爪Tの垂直位置等、その他の爪情報を検出する。
なお、撮像装置51は、印刷指U1の爪Tの湾曲形状等を検出するために、ヘッド移動部49による移動によって、異なる位置・角度から爪Tを撮影して複数枚の撮影画像(爪画像)を取得することが好ましい。
撮像装置51により複数枚の撮影画像(爪画像)が取得された場合には、これらの撮影画像(爪画像)に基づいて、爪形状検出部812(図3参照)が爪Tの湾曲形状を検出することができる。
The imaging device 51 is, for example, a compact camera configured with a solid-state imaging device having pixels of about 2 million pixels or more, a lens, and the like.
In the present embodiment, based on the photographed image (nail image) acquired by the imaging device 51, a drawn area detection unit 815 (see FIG. 2), which will be described later, draws a drawn area Fa that has been drawn with the pen 41. determine the situation.
Further, the nail shape detection unit 812 detects other nail information such as the position of the nail T on the xy plane and the vertical position of the nail T based on the photographed image (nail image).
In order to detect the curved shape and the like of the nail T of the printing finger U1, the image capturing device 51 captures the nail T from different positions and angles by moving the head moving unit 49 to obtain a plurality of captured images (nail images). ) is preferably obtained.
When a plurality of photographed images (nail images) are acquired by the imaging device 51, the nail shape detection unit 812 (see FIG. 3) detects the curved shape of the nail T based on these photographed images (nail images). can be detected.

照明装置52は、例えば白色LED等の光源である。
照明装置52は、下方に向けられていて、下方に向けて光を照射して、少なくとも撮像装置51の下方の撮影範囲を照明する。撮像装置51に対する照明装置52の位置は一定となっている。なお、照明装置52を設ける数や、その配置等は図示例に限定されない。
The lighting device 52 is a light source such as a white LED, for example.
The illumination device 52 is directed downward and emits light downward to illuminate at least the shooting range below the imaging device 51 . The position of the illumination device 52 with respect to the imaging device 51 is constant. It should be noted that the number of lighting devices 52 provided, their arrangement, and the like are not limited to the illustrated example.

また、本実施形態では、これらこの照明装置52とは別に、指受入部31の上部であって、開口部から露出する爪Tに対して斜め上方向から光を照射可能な位置に照明装置55が配置されている。
照明装置55は、照明装置52と同様に白色LED等で構成される光源である。
照明装置55は、図1(b)に二点鎖線の矢印で示すように、爪Tに対して爪Tの根元側の斜め上方向となっていて、爪Tに対して、爪Tの根元側の斜め上方向から光を照射するようになっており、照明装置52とは爪Tを照明する向きが異なる方向から爪Tに光を照射することができる。 なお、上記においては、照明装置52と照明装置55とによる複数の光源を有して、照明装置52と照明装置55とを使い分ける(切り換える)ことにより爪Tを照明する方向を変える構成としたが、本発明はこの構成に限るものではない。例えば、一つの光源のみを有し、この光源の位置を変える機構を備えて、この機構により光源の位置を変えることにより爪Tを照明する方向を変えるようにしてもよい。
Further, in this embodiment, apart from the illumination device 52, an illumination device 55 is provided above the finger receiving portion 31 and at a position where the nail T exposed from the opening can be irradiated with light from an obliquely upward direction. are placed.
Like the lighting device 52, the lighting device 55 is a light source composed of a white LED or the like.
The illumination device 55, as indicated by a two-dot chain line arrow in FIG. The lighting device 52 can irradiate the nail T with light from a direction that illuminates the nail T from a direction different from that of the lighting device 52 . In the above description, a plurality of light sources are provided by the lighting device 52 and the lighting device 55, and the lighting device 52 and the lighting device 55 are selectively used (switched) to change the direction in which the nail T is illuminated. , the present invention is not limited to this configuration. For example, only one light source may be provided, and a mechanism for changing the position of the light source may be provided so that the direction in which the nail T is illuminated can be changed by changing the position of the light source using this mechanism.

この撮影部50は、後述する制御装置80の撮影制御部811(図2参照)に接続され、該撮影制御部811によって制御されるようになっている。
なお、撮影部50によって撮影された画像の画像データは、後述する記憶部82の爪画像記憶領域821に記憶される。
The photographing unit 50 is connected to a photographing control unit 811 (see FIG. 2) of the control device 80, which will be described later, and is controlled by the photographing control unit 811. As shown in FIG.
The image data of the image captured by the imaging unit 50 is stored in a nail image storage area 821 of the storage unit 82, which will be described later.

制御装置80は、例えば上部機枠12に配置された基板13等に設置されている。
図2は、本実施形態における制御構成を示す要部ブロック図である。
制御装置80は、図2に示すように、図示しないCPU(Central Processing Unit)により構成される制御部81と、ROM(Read Only Memory)及びRAM(Random Access Memory)等(いずれも図示せず)で構成される記憶部82とを備えるコンピュータである。
The control device 80 is installed, for example, on the substrate 13 arranged on the upper machine frame 12 .
FIG. 2 is a main block diagram showing the control configuration in this embodiment.
As shown in FIG. 2, the control device 80 includes a control unit 81 configured by a CPU (Central Processing Unit) (not shown), a ROM (Read Only Memory), a RAM (Random Access Memory), etc. (none of them are shown). It is a computer provided with a storage unit 82 composed of.

記憶部82には、ネイルプリント装置1を動作させるための各種プログラムや各種データ等が格納されている。
具体的には、記憶部82のROMには、爪画像(撮影画像)から既描画領域を検出するための既描画検出プログラム、爪画像(撮影画像)から、爪Tの幅方向における湾曲形状、爪の幅、爪の面積等の各種の爪情報を検出するための爪情報検出プログラム、描画データを生成するための描画データ生成プログラム、描画処理を行うための描画プログラム等の各種プログラムが格納されており、これらのプログラムが制御装置80によって実行されることによって、ネイルプリント装置1の各部が統括制御されるようになっている。
また、本実施形態において記憶部82には、撮影部50によって取得されたユーザの印刷指U1の爪Tの爪画像(撮影画像)を記憶する爪画像記憶領域821、爪形状検出部812によって検出された爪情報(爪Tの形状を示す輪郭線や爪Tの湾曲形状等)が記憶される爪情報記憶領域822、及び爪Tに描画されるネイルデザインの画像データを記憶するネイルデザイン記憶領域823等が設けられている。
The storage unit 82 stores various programs, various data, and the like for operating the nail printing device 1 .
Specifically, the ROM of the storage unit 82 stores a drawn detection program for detecting a drawn area from the nail image (photographed image), a curved shape in the width direction of the nail T from the nail image (photographed image), Various programs such as a nail information detection program for detecting various nail information such as nail width and nail area, a drawing data generation program for generating drawing data, and a drawing program for drawing processing are stored. By executing these programs by the control device 80, each part of the nail printing device 1 is controlled in an integrated manner.
In the present embodiment, the storage unit 82 also includes a nail image storage area 821 that stores a nail image (photographed image) of the nail T of the user's printing finger U1 acquired by the imaging unit 50, and a nail shape detection unit 812 that stores the nail image. A nail information storage area 822 for storing nail information (contour line indicating the shape of the nail T, curved shape of the nail T, etc.) and a nail design storage area for storing image data of the nail design to be drawn on the nail T. 823 and the like are provided.

制御部81は、機能的に見た場合、撮影制御部811、爪形状検出部812、描画データ生成部813、描画制御部814、既描画領域検出部815、表示制御部816等を備えている。これら撮影制御部811、爪形状検出部812、描画データ生成部813、描画制御部814、既描画領域検出部815、表示制御部816等としての機能は、制御部81のCPUと記憶部82のROMに記憶されたプログラムとの協働によって実現される。 From a functional point of view, the control unit 81 includes an imaging control unit 811, a nail shape detection unit 812, a drawing data generation unit 813, a drawing control unit 814, a drawing area detection unit 815, a display control unit 816, and the like. . The functions of the photographing control unit 811, the nail shape detection unit 812, the drawing data generation unit 813, the drawing control unit 814, the drawn area detection unit 815, the display control unit 816, etc. It is realized by cooperation with a program stored in ROM.

撮影制御部811は、撮影部50の撮像装置51、照明装置52及び照明装置55を制御して撮像装置51により、指受入部31に挿入された印刷指U1の爪Tの画像を含む指の画像である爪画像(撮影画像)を撮影させて、撮影された爪画像(撮影画像)を取得するものである。
本実施形態では、描画部40により1つの爪Tについて第1の色(例えば下地用の白色)で第1の描画動作(ペン41による下地描画動作)を行った後、第2の色(インクジェットヘッド71によって描画可能な各色)で第2の描画動作(インクジェットヘッド71による絵柄等の描画)を行う場合に、撮影制御部811は、撮影部50を制御して、少なくとも第2の描画動作前に、光の照射方向を変えて複数回爪Tを撮影させて、複数の爪画像を取得する。
そして、この撮影の際には、照明装置52と照明装置55とを適宜切り替えて異なる位置から爪Tに光を照射しながら、撮影制御部811が、撮像装置51により複数回爪Tを撮影させて、複数枚の爪画像(撮影画像)を取得する。
なお、1つの爪Tについて何枚の撮影画像を取得するかは特に限定されないが、多くの撮影画像を取得した方がこれらを既描画領域検出部815において生成される合成画像の精度が向上するため好ましい。
また、撮影制御部811によって取得される画像のうち、少なくとも1枚は、爪Tの表面(少なくとも爪Tの表面のうち第1の描画動作において描画された領域)に影となっている部分(影領域)が現れない状態の画像となるように設定されている。
撮影制御部811により取得された爪画像の画像データは、記憶部82の爪画像記憶領域821に記憶される。
The imaging control unit 811 controls the imaging device 51, the lighting device 52, and the lighting device 55 of the imaging unit 50, and the imaging device 51 captures the image of the finger including the nail T of the printing finger U1 inserted into the finger receiving unit 31. A nail image (photographed image), which is an image, is photographed to obtain the photographed nail image (photographed image).
In the present embodiment, the drawing unit 40 performs a first drawing operation (underground drawing operation with the pen 41) with a first color (for example, white for a base) for one nail T, and then a second color (inkjet When performing the second drawing operation (drawing of a pattern or the like by the inkjet head 71) with each color that can be drawn by the head 71), the photographing control unit 811 controls the photographing unit 50 so that at least before the second drawing operation Then, the nail T is photographed a plurality of times while changing the irradiation direction of the light to obtain a plurality of nail images.
During this photographing, the photographing control unit 811 causes the photographing device 51 to photograph the nail T a plurality of times while irradiating the nail T with light from different positions by appropriately switching between the lighting device 52 and the lighting device 55. to acquire a plurality of nail images (photographed images).
The number of captured images to be acquired for one nail T is not particularly limited, but the more captured images are acquired, the more accurate the composite image generated by the drawn area detection unit 815 is. Therefore, it is preferable.
At least one of the images acquired by the imaging control unit 811 is a shadowed portion (at least the area drawn in the first drawing operation on the surface of the nail T) on the surface of the nail T ( The image is set so that the shadow area) does not appear.
The image data of the nail image acquired by the imaging control unit 811 is stored in the nail image storage area 821 of the storage unit 82 .

爪形状検出部812は、撮影制御部811により取得された指受入部31に挿入された印刷指U1の爪Tの画像(撮影画像)に基づいて、印刷指U1の爪Tについての爪情報を検出するものである。
本実施形態では、爪形状検出部812は、撮影画像(爪画像)に基づいて爪Tの輪郭形状を爪情報として検出する。
なお、爪形状検出部812によって取得される爪情報は爪Tの輪郭形状に限定されず、例えば、爪Tの水平位置のXY座標、爪Tの高さ(爪Tの垂直方向の位置、以下「爪Tの垂直位置」又は単に「爪Tの位置」ともいう。)、爪Tの幅方向における形状、すなわち、爪Tの表面の、XY平面に対する傾斜角度(爪Tの湾曲形状、爪Tの傾斜角度)等を含んでいてもよい。
爪形状検出部812によって取得された爪情報は、記憶部82の爪情報記憶領域822に記憶される。
The nail shape detection unit 812 obtains nail information about the nail T of the printing finger U1 based on the image (photographed image) of the nail T of the printing finger U1 inserted in the finger receiving unit 31 acquired by the imaging control unit 811. to detect.
In this embodiment, the nail shape detection unit 812 detects the contour shape of the nail T as nail information based on the photographed image (nail image).
The nail information acquired by the nail shape detection unit 812 is not limited to the contour shape of the nail T. For example, the XY coordinates of the horizontal position of the nail T, the height of the nail T (the vertical position of the nail T, hereinafter Also referred to as “the vertical position of the claw T” or simply “the position of the claw T”), the shape of the claw T in the width direction, that is, the inclination angle of the surface of the claw T with respect to the XY plane (the curved shape of the claw T, the position of the claw T angle of inclination) and the like.
The nail information acquired by nail shape detection unit 812 is stored in nail information storage area 822 of storage unit 82 .

描画データ生成部813は、爪形状検出部812により検出された爪情報に基づいて、描画ヘッド43により印刷指U1の爪Tに施される描画用の描画データを生成する。
具体的には、描画データ生成部813は、爪形状検出部812により検出された爪Tの形状(輪郭形状)等に基づいてネイルデザインの画像データを拡大、縮小、切出し等することにより爪Tの形状に合わせ込む合せ込み処理を行う。
また、描画データ生成部813は、爪形状検出部812により検出された爪Tの湾曲形状に応じて、爪Tに描画するように指定されたネイルデザインの画像データに適宜曲面補正等を行う画像データ補正部としても機能する。
これにより、ペン41やインクジェットヘッド71によって描画されるネイルデザインの描画用のデータが生成される。
The drawing data generation unit 813 generates drawing data for drawing applied to the nail T of the printing finger U1 by the drawing head 43 based on the nail information detected by the nail shape detection unit 812 .
Specifically, the drawing data generation unit 813 enlarges, reduces, cuts out, or the like the image data of the nail design based on the shape (outline shape) of the nail T detected by the nail shape detection unit 812 to obtain the nail T. A matching process is performed to match the shape of the .
Further, the drawing data generation unit 813 performs appropriate curved surface correction or the like on the image data of the nail design designated to be drawn on the nail T according to the curved shape of the nail T detected by the nail shape detection unit 812 . It also functions as a data corrector.
As a result, data for drawing a nail design to be drawn by the pen 41 or the inkjet head 71 is generated.

描画制御部814は、描画データ生成部813によって生成された描画データに基づいて描画部40に制御信号を出力し、爪Tに対してこの描画データにしたがった描画を施すように描画部40のX方向移動モータ46、Y方向移動モータ48、ペン上下用モータ426、インクジェットヘッド71等の動作を制御する制御部である。 The drawing control unit 814 outputs a control signal to the drawing unit 40 based on the drawing data generated by the drawing data generation unit 813, and controls the drawing unit 40 to perform drawing on the nail T according to the drawing data. It is a control unit that controls the operations of the X-direction movement motor 46, the Y-direction movement motor 48, the pen up/down motor 426, the inkjet head 71, and the like.

既描画領域検出部815は、撮影制御部811によって取得された複数の爪画像を合成して合成画像を生成し、当該合成画像に基づいて第1の描画動作(ペン41による下地描画動作)により描画された既描画領域(例えば白色のインクが塗布された下地塗布領域)を検出するものである。
本実施形態の既描画領域検出部815は、まず複数の爪画像を合成することにより、光の反射(正反射等)によって既描画領域と同様に白く見えているが実際には既描画領域ではない高輝度領域を排除して、既に描画が施された領域と推定される領域である「既描画推定領域」を検出するとともに、画像中では影となっていて既描画推定領域と判断されなかったが実際には既描画領域である影領域を取り込み、最終的な「既描画領域」として検出する。
以下、図3を参照しつつ、既描画領域検出部815による既描画領域の検出手法を具体的に説明する。
The drawn area detection unit 815 generates a composite image by synthesizing a plurality of nail images acquired by the imaging control unit 811, and based on the composite image, performs a first drawing operation (background drawing operation with the pen 41). This is for detecting a drawn area (for example, a base coating area coated with white ink).
The already-drawn area detection unit 815 of the present embodiment first synthesizes a plurality of nail images so that the already-drawn area looks white due to light reflection (specular reflection, etc.), but the already-drawn area actually looks white. By excluding high-brightness areas that have not been drawn, the "estimated drawn area", which is an area that is estimated to have already been drawn, is detected. However, the shadow area, which is actually an already drawn area, is taken in and detected as the final "already drawn area".
Hereinafter, a method for detecting an already-drawn area by the already-drawn area detection unit 815 will be specifically described with reference to FIG.

本実施形態において既描画領域検出部815は、照明装置52,55からの光の照射方向を変えて撮影制御部811によって取得された複数の爪画像をHDR合成の手法により
合成してHDR合成画像Ibh(図3参照)を生成する。なお、HDR合成の具体的な手法としてどのような手法を用いるかは特に限定されず、一般的に用いられるHDR合成の手法を適用することができる。ここで、爪Tは、爪Tの先端側が、第1の描画動作によって例えば白色の下地用のインクが塗布された既描画領域PAとなっており、爪Tの既描画領域PA以外の領域が、インクが塗布されていない未描画領域Nとなっている場合について説明する。
撮影制御部811によって取得された複数の爪画像の中には、光の反射によって高輝度(白飛び)となっている領域(これ以下「高輝度部HA」という。図3に示す画像Ib0において破線で示す領域)や、光の照射において影となり暗くなっている領域(これ以下「影部SA」という。)を含むものがある。これらの複数の画像を合成するHDR合成では、概略、白飛びしている高輝度部HAを、他の高輝度部HAを有していない画像と置き換えるような処理をすることにより、この高輝度部HAをほとんど除去することができるため、これら複数の爪画像をHDR合成して得られるHDR合成画像(図3に示す画像Ibh)には高輝度部HAはほとんど現れない。なお、仮にHDR合成画像Ibhにおいて多少高輝度部HAが残っていた場合でも、既描画領域PAと明確に区別できる程度の色の差を付けることができる。ただし、HDR合成では黒潰れしていない程度の影部を除去することはできないため、HDR合成画像Ibhには、図3に示すように、黒潰れしていない程度の影部が含まれている場合がある。
また、既描画領域検出部815は、撮影制御部811によって取得された複数の爪画像の中から、爪Tの表面(少なくとも爪Tの表面のうち第1の描画動作において描画された描画領域PA)に影が現れない状態で撮影された爪画像(図3において画像Ib0)を少なくとも1枚取得する。
In the present embodiment, the already-drawn area detection unit 815 synthesizes a plurality of nail images acquired by the imaging control unit 811 by changing the irradiation direction of the light from the illumination devices 52 and 55 by the HDR synthesis technique, and produces an HDR synthesized image. Generate Ibh (see FIG. 3). It should be noted that there is no particular limitation as to what kind of technique is used as a specific technique for HDR synthesis, and a generally used HDR synthesis technique can be applied. Here, the tip side of the nail T is a pre-drawn area PA to which, for example, white base ink is applied by the first drawing operation, and the area of the nail T other than the pre-drawn area PA is , the non-rendering area N where no ink is applied will be described.
Among the plurality of nail images acquired by the imaging control unit 811, there is an area (hereafter referred to as a “high-brightness portion HA”) where the brightness is high (overexposed) due to the reflection of light. area indicated by a dashed line) and a darkened area (hereinafter referred to as a "shadow area SA") that becomes a shadow when irradiated with light. In HDR synthesis for synthesizing a plurality of these images, roughly speaking, by performing processing such as replacing the blown-out high-luminance portion HA with another image that does not have the high-luminance portion HA, this high-luminance Since most of the portion HA can be removed, the high brightness portion HA hardly appears in the HDR composite image (image Ibh shown in FIG. 3) obtained by HDR combining the plurality of nail images. Note that even if the HDR composite image Ibh still has some high-brightness areas HA, it is possible to provide a color difference that can be clearly distinguished from the already drawn areas PA. However, since shadows that are not crushed black cannot be removed in HDR synthesis, the HDR composite image Ibh includes shadows that are not crushed black, as shown in FIG. Sometimes.
Further, the drawn area detection unit 815 detects the surface of the nail T (at least the drawing area PA drawn in the first drawing operation on the surface of the nail T) from among the plurality of nail images acquired by the imaging control unit 811. ), at least one nail image (image Ib0 in FIG. 3) photographed in a state where no shadow appears.

既描画領域検出部815は、まずHDR合成画像Ibhにおける色分布情報に基づいて、爪Tのうち既に描画されていると推定される領域を既描画推定領域P1として、HDR合成画像Ibhから抽出する。
具体的には、既描画領域検出部815は、第1の描画動作(ペン41による下地描画動作)後の撮影において取得された影部SAを含まない1枚の爪画像(図3において画像Ib0)や第1の描画動作(ペン41による下地描画動作)後の撮影において取得された複数の爪画像をHDR合成して生成したHDR合成画像Ibhから、第1の描画動作によって描画された描画領域PAの色分布情報、及びそれ以外の未描画領域Nの色分布情報(例えば描画されていない生の爪Tや指の皮膚、その他背景等の色分布情報)を取得し、この色分布情報に基づいて、第2の描画動作(例えばインクジェットヘッド71による絵柄描画動作)前の撮影において取得された影部SAを含まない1枚の爪画像(図3において画像Ib0)や第2の描画動作(例えばインクジェットヘッド71による絵柄描画動作)前に取得された複数の爪画像をHDR合成して生成したHDR合成画像Ibhから既描画推定領域P1を抽出するためのセグメンテーション処理を行う。
このセグメンテーション処理により、第2の描画動作前の撮影において取得された高輝度部HAを含むが影部SAを含まない1枚の爪画像(図3において画像Ib0)から、既描画推定領域P2及び高輝度領域H1を白、それ以外の領域を黒に区分したセグメンテーションマップ(図3においてマップM0)と、第2の描画動作前の撮影において取得された画像をHDR合成して得られた高輝度領域HAを含まず、影部SAを含むHDR合成画像から、既描画推定領域を白、それ以外の領域を黒に区分したセグメンテーションマップ(図3においてマップMh)が作成される。
既描画領域検出部815がHDR合成画像Ibhから既描画推定領域を抽出するためのセグメンテーション処理の手法としては、例えばグラフカットの手法が用いられる。なお、既描画推定領域を抽出するためのセグメンテーション処理の手法は特に限定されず、色の差を閾値として持つことで既描画推定領域の境界を判定していく等の手法によってもよい。
Based on the color distribution information in the HDR composite image Ibh, the already-drawn region detection unit 815 first extracts from the HDR composite image Ibh an area of the nail T that is estimated to have already been drawn as an estimated already-drawn region P1. .
Specifically, the already-drawn area detection unit 815 detects one nail image (image Ib0 in FIG. ) or the HDR composite image Ibh generated by HDR-combining a plurality of nail images acquired in photographing after the first drawing operation (background drawing operation by the pen 41), the drawing area drawn by the first drawing operation Acquire the color distribution information of PA and the color distribution information of other non-rendering areas N (for example, color distribution information of unrendered nails T, finger skin, other backgrounds, etc.), and use this color distribution information Based on this, one nail image (image Ib0 in FIG. 3) that does not include the shadow area SA acquired in photographing before the second drawing operation (for example, pattern drawing operation by the inkjet head 71) or the second drawing operation ( For example, a segmentation process is performed for extracting an already-drawn estimated region P1 from an HDR synthesized image Ibh generated by HDR synthesizing a plurality of nail images acquired before (for example, pattern drawing operation by the inkjet head 71).
By this segmentation processing, from one nail image (image Ib0 in FIG. 3) that includes the high-luminance area HA but does not include the shadow area SA acquired in the photographing before the second drawing operation, the pre-drawn estimated area P2 and A segmentation map (map M0 in FIG. 3) that divides the high-brightness region H1 into white and the other regions into black, and the high-brightness obtained by HDR combining the image acquired in the photographing before the second drawing operation. A segmentation map (map Mh in FIG. 3) is created from the HDR composite image that does not include the area HA but includes the shadow SA and divides the pre-drawn estimated area into white and the other areas into black.
As a method of segmentation processing for the already-drawn area detection unit 815 to extract an estimated already-drawn area from the HDR composite image Ibh, for example, a graph cut technique is used. The method of segmentation processing for extracting the already-drawn estimated area is not particularly limited, and a method such as determining the boundary of the already-drawn estimated area by using a color difference as a threshold value may be used.

さらに、既描画領域検出部815は、セグメンテーションマップM0とセグメンテーションマップMhとのEXORによる、セグメンテーションマップ(図3においてマップMxor)を作成する。このマップMxorでは、図3に示すように、既描画推定領域P2中の影領域S1と既描画推定領域P2外の高輝度領域H1とが白、それ以外の領域が黒に区分され、これらが既描画領域PAであるか否かは不明となっている。
また、既描画領域検出部815は、セグメンテーションマップM0とセグメンテーションマップMhとのANDによる、セグメンテーションマップ(図3においてマップMand)を作成する。このマップMandでは、図3に示すように、既描画推定領域P1が白、それ以外の領域が黒に区分されている。
また、既描画領域検出部815は、セグメンテーションマップM0の反転とセグメンテーションマップMhの反転とのORによる、セグメンテーションマップ(図3においてマップMnot)を作成する。このマップMnotでは、図3に示すように、未描画領域S2が白、既描画推定領域P2及び高輝度領域H1が黒に区分されている。
Furthermore, the drawn area detection unit 815 creates a segmentation map (map Mxor in FIG. 3) by EXORing the segmentation map M0 and the segmentation map Mh. In this map Mxor, as shown in FIG. 3, the shadow area S1 in the pre-drawn estimation area P2 and the high brightness area H1 outside the pre-drawn estimation area P2 are divided into white, and the other areas are divided into black. It is unknown whether or not it is the already drawn area PA.
Further, the drawn area detection unit 815 creates a segmentation map (map Mand in FIG. 3) by ANDing the segmentation map M0 and the segmentation map Mh. In this map Mand, as shown in FIG. 3, the drawn presumed area P1 is divided into white, and the other areas are divided into black.
Further, the drawn area detection unit 815 creates a segmentation map (map Mnot in FIG. 3) by ORing the inversion of the segmentation map M0 and the inversion of the segmentation map Mh. In this map Mnot, as shown in FIG. 3, the undrawn area S2 is divided into white, and the already drawn estimated area P2 and the high brightness area H1 are divided into black.

さらに、既描画領域検出部815は、セグメンテーションマップMandをHDR合成画像Ibhに重ねることにより、HDR合成画像Ibhにおける、既描画推定領域P1の色分布情報CDtを求める。
また、既描画領域検出部815は、セグメンテーションマップMnotをHDR合成画像Ibhに重ねることにより、HDR合成画像Ibhにおける、未描画領域S2の色分布情報CDrを求める。
また、既描画領域検出部815は、セグメンテーションマップMxorをHDR合成画像Ibhに重ねることにより、HDR合成画像Ibhにおける、セグメンテーションマップMxorにおいて検出されている各領域S1,H1の色と、色分布情報CDt及び色分布情報CDrにより、各領域が、高輝度部HAであって既描画領域PAでないのか、既描画領域PA中の影部SAであるのか、を判定する。
Furthermore, the drawn area detection unit 815 obtains color distribution information CDt of the drawn estimated area P1 in the HDR composite image Ibh by overlapping the segmentation map Mand on the HDR composite image Ibh.
Further, the drawn area detection unit 815 obtains color distribution information CDr of the undrawn area S2 in the HDR synthesized image Ibh by overlapping the segmentation map Mnot on the HDR synthesized image Ibh.
Further, the already-drawn area detection unit 815 superimposes the segmentation map Mxor on the HDR composite image Ibh to obtain the colors of the areas S1 and H1 detected in the segmentation map Mxor and the color distribution information CDt in the HDR composite image Ibh. And from the color distribution information CDr, it is determined whether each area is a high brightness area HA and not an already drawn area PA, or whether it is a shadow area SA in an already drawn area PA.

なお、各領域が、高輝度部HAであって既描画領域PAでないのか、既描画領域PA中の影部SAであるのか、を判定するにあたっては、既描画領域検出部815は、当該既描画推定領域の周辺領域の画素について既描画推定領域P1との色の差を判定し、当該色の差が段階的に変化する領域を既描画領域PA中の影部SAであるとして、既描画推定領域P1とともに既描画領域PAとして検出する。
すなわち、既描画領域検出部815は、セグメンテーションマップMandにおいて検出されている既描画推定領域P1の輪郭に近い位置から外側に向かって、セグメンテーションマップMxorにおける各領域が、既描画領域PAの色分布CDtに近いか否か、未描画領域Nの色分布情報CDrに近いか否か、を判定していく。
既描画領域PA中の影部SAの色は、既描画領域PAの色から徐々に変化していくようになっている。このため、影部SAにおいては、外側に向かって隣接する画素間の色の差は小さい。一方、高輝度部HAであって、既描画領域PAでない場合は、既描画領域PAの色から比較的大きく異なる色(生の爪Tの色等)になっている。このため、HDR合成画像における、セグメンテーションマップMxorの各白領域に対応する領域おいて、セグメンテーションマップMandの境界(輪郭)に近い位置の画素から外側に向かって、各画素の色情報を見ていき、既描画領域PAの色に対して差が比較的小さい色を既描画領域PAの色に含めるように、既描画領域PAの色分布情報CDtを順次更新していく。これにより、光の反射による高輝度部HAについては既描画領域PAに含めることなく、影部SAについては既描画領域PAに含めるようにすることができる。
In determining whether each area is a high-brightness area HA and not an already-drawn area PA, or a shadow area SA in an already-drawn area PA, the already-drawn area detection unit 815 detects the already-drawn area. The color difference between the pixels in the peripheral area of the estimation area and the already drawn estimation area P1 is determined, and the area where the color difference changes step by step is assumed to be the shadow area SA in the already drawn area PA, and the already drawn estimation is performed. It is detected as the drawn area PA together with the area P1.
That is, the already-drawn area detection unit 815 detects each area in the segmentation map Mxor outward from a position close to the outline of the already-drawn estimated area P1 detected in the segmentation map Mand so that each area in the segmentation map Mxor becomes the color distribution CDt of the already-drawn area PA. and whether it is close to the color distribution information CDr of the non-rendering area N.
The color of the shadow SA in the already drawn area PA gradually changes from the color of the already drawn area PA. Therefore, in the shadow area SA, the difference in color between pixels adjacent to the outside is small. On the other hand, in the case of the high brightness area HA and not the already drawn area PA, the color is relatively greatly different from the color of the already drawn area PA (such as the color of the raw nail T). Therefore, in the region corresponding to each white region of the segmentation map Mxor in the HDR composite image, the color information of each pixel is examined outward from the pixels near the boundary (outline) of the segmentation map Mand. , the color distribution information CDt of the already-drawn area PA is sequentially updated so that the color of the already-drawn area PA includes a color having a relatively small difference with respect to the color of the already-drawn area PA. As a result, it is possible to include the shadow area SA in the already drawn area PA while not including the high brightness area HA due to the reflected light in the already drawn area PA.

表示制御部816は、表示部26を制御して表示部26に各種の表示画面を表示させるものである。本実施形態では、表示制御部816は、例えばネイルデザインの選択画面やデザイン確認用のサムネイル画像、印刷指U1を撮影して取得した爪画像、各種の指示画面、操作画面等を表示部26に表示させるようになっている。 The display control unit 816 controls the display unit 26 to display various display screens on the display unit 26 . In this embodiment, the display control unit 816 displays, for example, a nail design selection screen, a thumbnail image for confirming the design, a nail image acquired by photographing the printing finger U1, various instruction screens, an operation screen, etc. on the display unit 26. It is designed to be displayed.

次に、図4を参照しつつ、本実施形態におけるネイルプリント装置(描画装置)による描画方法について説明する。 Next, a drawing method by the nail printing device (drawing device) according to the present embodiment will be described with reference to FIG.

このネイルプリント装置1により描画を行う場合、ユーザはまず、電源スイッチを入れて制御装置80を起動させる。
表示制御部816は、表示部26にデザイン選択画面を表示させ、ユーザは操作部25の操作釦等を操作して、デザイン選択画面に表示された複数のネイルデザインの中から所望のネイルデザインを選択する。これにより、操作部25から選択指示信号が出力されて爪Tに描画すべきネイルデザインが選択される。
ユーザが印刷指U1を指受入部31に挿入し、非印刷指U2を指退避部32に挿入して、操作部25の図示しない描画スイッチを操作すると、指受入部31内に印刷指U1が固定される。
When drawing with the nail printing device 1, the user first turns on the power switch to activate the control device 80. As shown in FIG.
The display control unit 816 causes the display unit 26 to display a design selection screen, and the user operates the operation buttons or the like of the operation unit 25 to select a desired nail design from among the plurality of nail designs displayed on the design selection screen. select. As a result, a selection instruction signal is output from the operation unit 25 and a nail design to be drawn on the nail T is selected.
When the user inserts the printing finger U1 into the finger receiving portion 31, inserts the non-printing finger U2 into the finger retraction portion 32, and operates a drawing switch (not shown) of the operating portion 25, the printing finger U1 is inserted into the finger receiving portion 31. Fixed.

描画スイッチから指示が入力されると、描画動作を開始する前に、まず描画制御部814がヘッド移動部49を制御して撮影部50を所定の撮影位置に移動させ、印刷指U1を撮影させて爪画像(撮影画像)を取得させる(ステップS1の描画前の撮影)。なお、この描画前の撮影においては、撮影部50を移動させながら複数の位置や角度から爪Tを撮影することが好ましい。このように、撮影位置等の異なる爪画像を複数取得することにより、爪形状検出部812による爪の輪郭形状や湾曲形状等の検出をより高精度に行うことができる。
爪画像(撮影画像)が取得されると、爪形状検出部812は、爪画像(撮影画像)に基づいて爪Tの外形形状である輪郭形状を検出する。また、爪形状検出部812は、爪画像(撮影画像)に基づいて、爪Tの湾曲形状、その他の爪情報を検出する(ステップS2)。
次いで、描画データ生成部813は、爪形状検出部812により検出された爪情報に基づいて、第1の色のペン41(例えば下地用の白色のインクによる描画を行うペン41)による描画対象領域を決定するとともに、画像データに適宜曲面補正等の補正を行ってネイルデザインの描画データを生成する。描画データが生成されると、描画制御部814は、描画データを描画部40に出力し、ヘッド移動部49を動作させて適宜描画ヘッド43を移動させながら、爪Tに第1の色による描画処理(すなわち、第1の色のペン41による第1の描画動作)を行う(ステップS3)。
第1のペン41による描画が終了すると、撮影部50により印刷指U1を撮影して、爪Tに対する光の照射方向の異なる複数の爪画像(撮影画像)を取得する(第1の描画動作後の撮影、ステップS4)。
既描画領域検出部815は、この爪画像のうち、影領域SAを含まない少なくとも1枚の爪画像Ib0を取得するとともに、複数の爪画像をHDR合成することによりHDR合成画像Ibhを作成する(ステップS5)。
そして、既描画領域検出部815は、取得した爪画像Ib0及びHDR合成画像Ibhから色分布情報を取得する(ステップS6)。
When an instruction is input from the drawing switch, before the drawing operation is started, the drawing control unit 814 first controls the head moving unit 49 to move the imaging unit 50 to a predetermined imaging position to photograph the print finger U1. to acquire a nail image (photographed image) (photographing before drawing in step S1). Incidentally, in this photographing before drawing, it is preferable to photograph the nail T from a plurality of positions and angles while moving the photographing unit 50 . In this way, by acquiring a plurality of nail images having different photographing positions, etc., the nail shape detection unit 812 can detect the contour shape, curved shape, etc. of the nail with higher accuracy.
When the nail image (photographed image) is acquired, the nail shape detection unit 812 detects the contour shape, which is the outer shape of the nail T, based on the nail image (photographed image). Further, the nail shape detection unit 812 detects the curved shape of the nail T and other nail information based on the nail image (photographed image) (step S2).
Next, based on the nail information detected by the nail shape detection unit 812, the drawing data generation unit 813 generates a drawing target area with the first color pen 41 (for example, the pen 41 that draws with white ink for the background). is determined, and the drawing data of the nail design is generated by appropriately performing correction such as curved surface correction on the image data. When the drawing data is generated, the drawing control unit 814 outputs the drawing data to the drawing unit 40 and operates the head moving unit 49 to appropriately move the drawing head 43 to draw the nail T in the first color. Processing (that is, the first drawing operation with the pen 41 of the first color) is performed (step S3).
When the drawing by the first pen 41 is completed, the printing finger U1 is photographed by the photographing unit 50 to obtain a plurality of nail images (photographed images) in which the direction of light irradiation with respect to the nail T is different (after the first drawing operation). , step S4).
The already-drawn area detection unit 815 obtains at least one nail image Ib0 that does not include the shadow area SA from among the nail images, and creates an HDR composite image Ibh by HDR-combining a plurality of nail images ( step S5).
Then, the drawn area detection unit 815 obtains color distribution information from the obtained nail image Ib0 and HDR composite image Ibh (step S6).

その後、第1の描画処理が施された爪Tについて乾燥処理が行われ(ステップS7)、第2の色のインクによる第2の描画処理(例えばインクジェットヘッド71による描画処理)が行われる前に、撮影部50により印刷指U1を撮影して、爪Tに対する光の照射方向の異なる複数の爪画像(撮影画像)を取得する(第2の描画動作前の撮影、ステップS8)。
既描画領域検出部815は、この爪画像のうち、影領域SAを含まない少なくとも1枚の爪画像Ib0を取得するとともに、複数の爪画像をHDR合成することによりHDR合成画像Ibhを作成する(ステップS9)。
そして、既描画領域検出部815は、グラフカットの手法等によりセグメンテーション処理を行い(ステップS10)、セグメンテーションマップ(図3におけるマップM0,Mh,Mxor,Mand,Mnot)を作成する(ステップS10)。
After that, the nail T subjected to the first drawing process is dried (step S7), and before the second drawing process (for example, the drawing process by the inkjet head 71) is performed with the ink of the second color. Then, the printing finger U1 is photographed by the photographing unit 50 to obtain a plurality of nail images (photographed images) in which the directions of light irradiation to the nail T are different (photographing before the second drawing operation, step S8).
The already-drawn area detection unit 815 obtains at least one nail image Ib0 that does not include the shadow area SA from among the nail images, and creates an HDR composite image Ibh by HDR-combining a plurality of nail images ( step S9).
Then, the already-drawn area detection unit 815 performs segmentation processing using a graph cut method or the like (step S10), and creates segmentation maps (maps M0, Mh, Mxor, Mand, and Mnot in FIG. 3) (step S10).

また、既描画領域検出部815は、取得した爪画像Ib0及びHDR合成画像Ibhから色分布情報を取得して(ステップS12)、この色分布情報に基づき、爪画像における各画素ごとに既描画推定領域か否かの振り分けを行う(ステップS13)。本実施形態では、図3におけるセグメンテーションマップMhにおいて白抜きで示されている領域に対応する画素が既描画推定領域P1内の画素として振り分けられる。
なお、本実施形態では、図3に示すように、爪Tの長さ方向の先端部分だけに第1の色である下地用の白色のインクが描画されるため、爪Tの長さ方向の半分よりも上に位置する画素だけを既描画推定領域P1か否かの振り分けを行う対象画素とする。このようにすることで既描画推定領域P1か否かの振り分けを行う必要のない部分については処理を省略することができ、処理時間を短縮することができる。なお、対象画素を設定することは必須ではなく、爪Tの全体について画素ごとに既描画推定領域P1か否かの振り分けを行ってもよい。
既描画領域検出部815は、対象画素についての振り分けがすべて終了したか否かを判断し(ステップS14)、終了していない場合(ステップS14;NO)には、ステップS13の処理を繰り返す。
他方、終了している場合(ステップS14;YES)には、既描画推定領域P1に振り分けられた画素を既に第1の色による描画が行われた既描画領域PAとして検出する(ステップS15)。
Further, the already-drawn area detection unit 815 acquires color distribution information from the acquired nail image Ib0 and HDR composite image Ibh (step S12), and based on this color distribution information, pre-drawn estimation is performed for each pixel in the nail image. It is sorted as to whether it is an area or not (step S13). In the present embodiment, the pixels corresponding to the regions shown in white in the segmentation map Mh in FIG. 3 are sorted as the pixels in the pre-drawn estimation region P1.
In the present embodiment, as shown in FIG. 3, the white base ink, which is the first color, is drawn only on the tip portion of the nail T in the length direction. Only the pixels positioned above the half are set as target pixels for sorting as to whether or not they are in the drawn estimation area P1. By doing so, it is possible to omit the processing for portions that do not need to be sorted as to whether or not they are the already-drawn estimation region P1, thereby shortening the processing time. It should be noted that it is not essential to set the target pixel, and sorting may be performed for each pixel of the entire nail T as to whether it is the already-drawn estimation area P1 or not.
The already-drawn area detection unit 815 determines whether or not all of the target pixels have been sorted (step S14), and if not (step S14; NO), repeats the process of step S13.
On the other hand, if the drawing has ended (step S14; YES), the pixels assigned to the pre-drawn estimation area P1 are detected as the pre-drawn area PA that has already been drawn in the first color (step S15).

次に、既描画領域検出部815は、既描画推定領域P1とされた領域の周辺領域に所定の色条件を満たす画素があるか否かを判断する(ステップS16)。
具体的には、既描画推定領域との色の差を判定し、当該色の差が段階的に変化する領域の画素を所定の色条件を満たす画素と判断する。
既描画推定領域P1とされた領域の周辺領域には、高輝度部HA及び影部SAが存在する可能性があるが、前述のように、既描画領域PA中の影部SAの色は、既描画領域PAの色から徐々に変化していくため、影部SAにおいては、外側に向かって隣接する画素間の色の差は小さい。これに対して、高輝度部HAであって、既描画領域PAでない場合は、既描画領域PAの色から比較的大きく異なる色となっている。このため、色の差の変化を見ることで、高輝度部HAと影部SAとを適切に区別することができる。
既描画領域検出部815は、既描画推定領域P1とされた領域の周辺領域に所定の色条件を満たす画素がある場合(ステップS16;YES)、すなわち、既描画推定領域との色の差が段階的に変化する領域の画素がある場合には、これを既描画領域PA中の影部SAであるとして、既描画推定領域とともに既描画領域PAとして検出する(ステップS17)。そしてこの場合には、既描画領域検出部815は、既描画領域PAの色に対して差が比較的小さい色を既描画領域PAの色に含めるように、既描画領域PAの色情報を更新する(ステップS18)。
他方、既描画推定領域とされた領域の周辺領域に所定の色条件を満たす画素がない場合(ステップS16;NO)には、そのまま次のステップに進む。
Next, the already-drawn area detection unit 815 determines whether or not there is a pixel satisfying a predetermined color condition in the area surrounding the estimated already-drawn area P1 (step S16).
Specifically, the color difference from the already-drawn estimated area is determined, and the pixels in the area where the color difference changes step by step are determined as the pixels that satisfy the predetermined color condition.
There is a possibility that a high-luminance area HA and a shadow area SA exist in the area surrounding the already-drawn estimated area P1. As described above, the color of the shadow area SA in the already-drawn area PA is Since the color gradually changes from the color of the drawn area PA, the color difference between the pixels adjacent to the outside is small in the shadow area SA. On the other hand, in the case of the high luminance area HA and not the already-drawn area PA, the color is relatively greatly different from the color of the already-drawn area PA. Therefore, by observing the change in the color difference, it is possible to appropriately distinguish between the high brightness area HA and the shadow area SA.
If there is a pixel that satisfies a predetermined color condition in the peripheral area of the estimated already drawn area P1 (step S16; YES), the already drawn area detection unit 815 determines that the difference in color from the estimated already drawn area is If there is a pixel in the area that changes stepwise, it is detected as the already drawn area PA together with the already drawn estimated area, assuming that this is the shadow SA in the already drawn area PA (step S17). In this case, the already-drawn area detection unit 815 updates the color information of the already-drawn area PA so that the color of the already-drawn area PA includes a color with a relatively small difference from the color of the already-drawn area PA. (step S18).
On the other hand, if there is no pixel that satisfies the predetermined color condition in the peripheral area of the estimated drawn area (step S16; NO), the process proceeds to the next step.

既描画領域検出部815により既描画領域PAが検出されると、当該領域に対して描画部40により第2の色による描画処理(第2の描画動作)が行われる(ステップS19)。具体的には、例えば、第1の描画動作により白色の下地が描画された既描画領域PAに、第2の描画動作として、インクジェットヘッド71により絵柄を描画する。
そして、再度乾燥動作を行い(ステップS20)、乾燥が完了するだけの所定の時間乾燥させたのち、印刷指U1の固定を解除して描画処理を終了する。
When the already-drawn area PA is detected by the already-drawn area detection unit 815, the drawing unit 40 performs the drawing process (second drawing operation) with the second color on the area (step S19). Specifically, for example, as the second drawing operation, the pattern is drawn by the inkjet head 71 in the already drawn area PA where the white background has been drawn by the first drawing operation.
Then, the drying operation is performed again (step S20), and after drying for a predetermined time sufficient to complete the drying, the fixation of the print finger U1 is released, and the drawing process ends.

以上のように、本実施形態によれば、描画部40により1つの爪について第1の色で第1の描画動作(例えばペン41による白色のインクの塗布)を行った後に、第2の色で第2の描画動作(例えばインクジェットヘッド71による絵柄の描画)を行う場合、第2の描画動作前に光の照射方向を変えて複数回爪Tを撮影して複数の爪画像を取得し、取得された複数の爪画像を合成して合成画像を生成する。そして当該合成画像に基づいて第1の描画動作により描画された既描画領域PAを検出する。
これにより、光の正反射等により生じる高輝度部HAについては既描画領域PAから除外し、既描画領域PA内であって暗くなっている影部SAについては既描画領域PAに含めることができるため、既描画領域PAを過不足なく適切に検出することができる。このため、第1の描画動作によって描画済みの領域に対して正確に第2の描画動作を行うことができ、下地の上に絵柄を描画するように複数回に分けて重ねて描画動作を行う場合にも描画位置がずれずに高精細な描画を行うことができる。
また、本実施形態では、既描画領域検出部815は、合成画像における色分布情報に基づいて爪Tのうち既に描画されていると推定される領域を既描画推定領域P1として合成画像から抽出するとともに、当該既描画推定領域P1の周辺領域の画素について既描画推定領域P1との色の差を判定し、当該色の差が段階的に変化する領域を既描画推定領域P1とともに既描画領域PAとして検出する。これにより、高輝度部HAについては既描画領域PAから除外し、影部SAだけを適切に既描画領域PAに取り込むことができる。ことを特徴とする請求項1に記載の描画装置。
また、本実施形態では、既描画領域検出部815は、HDR合成により合成画像を生成する。合成画像の生成にHDR合成の手法を用いることにより、光の反射等で発生する高輝度部SAを適切に除去することができる。
また、本実施形態では、既描画領域検出部815は、合成画像からグラフカットの手法により既描画推定領域P1を抽出する。グラフカットの手法により既描画推定領域P1を抽出することにより、閾値等によって領域の境界を特定する場合よりも正確に領域抽出P1を行うことができる。
また、本実施形態では、既描画領域検出部815は、既描画推定領域P1に隣接する画素から徐々に既描画推定領域P1から遠ざかる方向に向かって各画素と既描画推定領域P1との色の差を判定することにより色の差が段階的に変化する領域を検出する。既描画推定領域P1とされた領域の周辺領域には高輝度部HA及び影部SAが存在する可能性があるが、前述のように、影部SAと高輝度部HAとでは既描画領域PAからの色の差の変化の仕方が異なる。このため、色の差の変化を見ることで、高輝度部HAと影部SAとを適切に区別して影部SAだけを既描画領域PAに取り込むことができる。
As described above, according to the present embodiment, after the drawing unit 40 performs the first drawing operation (for example, applying white ink with the pen 41) with the first color for one nail, the second color is applied. When performing the second drawing operation (for example, drawing a pattern by the inkjet head 71) in , the nail T is photographed a plurality of times while changing the light irradiation direction before the second drawing operation to acquire a plurality of nail images, A composite image is generated by combining the acquired nail images. Based on the composite image, the drawn area PA drawn by the first drawing operation is detected.
As a result, the high-brightness area HA caused by specular reflection of light can be excluded from the already-drawn area PA, and the darkened shadow area SA within the already-drawn area PA can be included in the already-drawn area PA. Therefore, it is possible to appropriately detect the already-drawn area PA without excess or deficiency. Therefore, the second drawing operation can be accurately performed on the area already drawn by the first drawing operation, and the drawing operation is divided into a plurality of times and overlapped so as to draw the pattern on the background. Even in such a case, high-definition drawing can be performed without shifting the drawing position.
Further, in the present embodiment, the already-drawn area detection unit 815 extracts from the synthesized image an area of the nail T that is estimated to have already been drawn as an estimated already-drawn area P1 based on the color distribution information in the synthesized image. At the same time, the color difference between the pixels in the surrounding area of the already-drawn estimation area P1 and the already-drawn estimation area P1 is determined, and the area where the color difference changes stepwise is designated as the already-drawn estimation area P1 together with the already-drawn area PA. Detect as As a result, the high brightness area HA can be excluded from the already drawn area PA, and only the shadow area SA can be properly included in the already drawn area PA. 2. The drawing apparatus according to claim 1, characterized by:
Further, in this embodiment, the drawn area detection unit 815 generates a composite image by HDR synthesis. By using the HDR synthesis method for generating the synthesized image, the high brightness area SA generated by the reflection of light can be appropriately removed.
Further, in this embodiment, the already-drawn area detection unit 815 extracts the already-drawn estimated area P1 from the synthesized image by a graph cut method. By extracting the pre-drawn estimated area P1 by the graph cut method, the area extraction P1 can be performed more accurately than when the boundary of the area is specified by a threshold or the like.
Further, in this embodiment, the already-drawn area detection unit 815 detects the color of each pixel and the already-drawn estimated area P1 in a direction that gradually moves away from the already-drawn estimated area P1 from pixels adjacent to the already-drawn estimated area P1. By determining the difference, an area where the color difference changes gradually is detected. Although there is a possibility that the high-luminance portion HA and the shadow portion SA exist in the peripheral region of the drawn estimated region P1, as described above, the drawn region PA The way in which the color difference changes from Therefore, by observing the change in the color difference, it is possible to properly distinguish between the high brightness area HA and the shadow area SA, and incorporate only the shadow area SA into the already drawn area PA.

なお、以上本発明の実施形態について説明したが、本発明は、かかる実施形態に限定されず、その要旨を逸脱しない範囲で、種々変形が可能であることは言うまでもない。 Although the embodiments of the present invention have been described above, the present invention is not limited to such embodiments, and it goes without saying that various modifications are possible without departing from the scope of the invention.

例えば、本実施形態では、第1の色を描画する第1の描画動作がペン41による下地用の白色のインクの塗布であり、第2の色を描画する第2の描画動作がインクジェットヘッド71による絵柄の描画である場合を例示したが、第1の描画動作、第2の描画動作はここに例示したものに限定されない。例えば、第2の描画動作が、ペン41によるライン模様の描画等であってもよい。 For example, in the present embodiment, the first drawing operation for drawing the first color is the application of white ink for the base with the pen 41, and the second drawing operation for drawing the second color is the inkjet head 71. Although the case of drawing a pattern by drawing is exemplified, the first drawing operation and the second drawing operation are not limited to those exemplified here. For example, the second drawing operation may be drawing a line pattern with the pen 41 or the like.

また、本実施形態では、第1の描画動作後(第1の描画動作の直後)と第2の描画動作前(第2の描画動作の直前)とにおいて撮影を行い、爪画像を取得してHDR合成画像の作成や色分布情報の取得等を行う場合を例示したが、第1の描画動作の直後の撮影は必須ではない。例えば、ネイルデザインにおいて指定されている第1の描画動作で描画される色を実際に爪T(ユーザの爪ではない一般人のモデル爪でもよい。)に描画した場合における既描画領域PAの色情報及び生爪や指の皮膚等、既描画領域PAの周囲の色情報が予め記憶部82に登録される等により把握されている場合であれば、第1の描画動作の直後の撮影及び撮影された爪画像に基づくHDR合成画像の作成や色分布情報の取得等(すなわち、図4においてステップS4からステップS6の処理)を行わなくてもよい。 Further, in the present embodiment, photographing is performed after the first drawing operation (immediately after the first drawing operation) and before the second drawing operation (immediately before the second drawing operation) to acquire nail images. Although the case of creating an HDR composite image, obtaining color distribution information, and the like has been exemplified, shooting immediately after the first drawing operation is not essential. For example, the color information of the drawn area PA when the color drawn in the first drawing operation specified in the nail design is actually drawn on the nail T (it may be a model nail of an ordinary person instead of the user's nail). In addition, if the color information around the drawing area PA, such as a soft nail or the skin of a finger, is grasped by being registered in advance in the storage unit 82 or the like, the image is captured immediately after the first drawing operation and the image is captured. It is not necessary to create an HDR composite image based on the nail image, acquire color distribution information, and the like (that is, the processes from step S4 to step S6 in FIG. 4).

また、本実施形態では、ネイルプリント装置(描画装置)1の描画ヘッド43に描画用のペン41を保持するペン保持部42の他、インクジェットヘッド71を備える構成としたが、インクジェットヘッド71を備えることは必須の構成ではなく、ペン41のみにより描画を行う描画装置であってもよい。 In the present embodiment, the drawing head 43 of the nail printing device (drawing device) 1 is provided with the ink jet head 71 in addition to the pen holding portion 42 that holds the pen 41 for drawing. This is not an essential configuration, and a drawing device that draws only with the pen 41 may be used.

また、上記各実施形態では、描画ヘッド43にペン保持部42を1つ備えている場合を例示したが、描画ヘッド43に設けられるペン保持部42の数は1つに限定されない。例えば2つ以上のペン保持部42を備え、描画用のペン41が2本以上保持されていてもよい。 In each of the above-described embodiments, the drawing head 43 is provided with one pen holding portion 42, but the number of pen holding portions 42 provided in the drawing head 43 is not limited to one. For example, two or more pen holders 42 may be provided to hold two or more drawing pens 41 .

また、上記各実施形態では、描画ヘッド43に撮像装置51や照明装置52が搭載されている場合を例示したが、撮像装置51や照明装置52を設ける位置はこれに限定されない。
例えば描画ヘッド43を移動させる機構とは別に撮影部50を移動させる機構を別途設けてもよい。
Further, in each of the above-described embodiments, the imaging device 51 and the lighting device 52 are mounted on the drawing head 43 as an example, but the positions where the imaging device 51 and the lighting device 52 are provided are not limited to this.
For example, a mechanism for moving the imaging unit 50 may be provided separately from the mechanism for moving the drawing head 43 .

また、上記各実施形態では、指を1本ずつ装置に挿入して順次描画を行うネイルプリント装置1を例としたが、複数本の指に対して、各指を抜き差しすることなく、連続的に描画を行うことのできる構成とすることも可能である。 Further, in each of the above-described embodiments, the nail printing device 1 that sequentially draws by inserting fingers into the device one by one was taken as an example, but a plurality of fingers can be continuously drawn without inserting and removing each finger. It is also possible to have a configuration in which drawing can be performed on the

以上本発明のいくつかの実施形態を説明したが、本発明の範囲は、上述の実施の形態に限定するものではなく、特許請求の範囲に記載された発明の範囲とその均等の範囲を含む。
以下に、この出願の願書に最初に添付した特許請求の範囲に記載した発明を付記する。付記に記載した請求項の項番は、この出願の願書に最初に添付した特許請求の範囲の通りである。
〔付記〕
<請求項1>
描画対象に描画を施す描画部と、
前記描画対象を照明する少なくとも一つの光源と、
前記描画部により第1の画像の描画が施された後の前記描画対象を、前記光源により前記描画対象を照明する方向を互いに異なる方向に変えて複数回撮影する撮影部と、
前記撮影部の複数回の撮影によって取得された複数の描画対象画像を合成して合成画像を生成し、当該合成画像に基づいて前記描画対象における前記第1の画像の描画が施されている既描画領域を検出する既描画領域検出部と、
を備えていることを特徴とする描画装置。
<請求項2>
前記描画対象に前記第1の画像の描画が施された後に、前記描画部が前記描画対象に前記第1の画像の少なくとも一部に重ねて第2の画像の描画を施すとき、前記第2の画像の描画位置及び前記第2の画像の大きさの少なくとも一方が、前記既描画領域検出部により検出された前記既描画領域に基づいて調整されることを特徴とする請求項1に記載の描画装置。
<請求項3>
前記光源を複数有し、
前記複数の光源の各々は、前記描画対象を照明する方向が互いに異なっており、
前記撮影部は、前記複数の光源のいずれかを使用することにより前記描画対象を照明する方向を互いに異なる方向に変えて前記複数回撮影することを特徴とする請求項1又は請求項2に記載の描画装置。
<請求項4>
前記既描画領域検出部は、HDR合成により前記合成画像を生成することを特徴とする請求項1から請求項3のいずれか一項に記載の描画装置。
<請求項5>
前記複数の描画対象画像は、少なくとも1つの、前記描画対象における前記第1の画像の描画が施された領域に影ができないように前記描画対象を照明する方向が設定されている前記複数の光源における第1の光源を使用した状態で撮影された第1の描画対象画像を含むことを特徴とする請求項1から請求項4のいずれか一項に記載の描画装置。
<請求項6>
前記複数の描画対象画像は、少なくとも1つの、前記描画対象における前記第1の画像の描画が施された領域に影ができるように前記描画対象を照明する方向が設定されている前記複数の光源における第2の光源を使用した状態で撮影された第2の描画対象画像を含むことを特徴とする請求項1から請求項5のいずれか一項に記載の描画装置。
<請求項7>
前記既描画領域検出部は、前記合成画像における色分布情報に基づいて前記爪における前記第1の画像が描画されていると推定される領域を既描画推定領域として前記合成画像から抽出するとともに、当該既描画推定領域の周辺領域の画素について前記既描画推定領域との色の差を判定し、当該色の差が段階的に変化している領域を前記既描画推定領域とともに前記既描画領域として検出することを特徴とする請求項1から請求項6のいずれか一項に記載の描画装置。
<請求項8>
前記既描画領域検出部は、前記合成画像からグラフカットの手法により前記既描画推定領域を抽出することを特徴とする請求項7に記載の描画装置。
<請求項9>
前記既描画領域検出部は、前記既描画推定領域に隣接する画素から徐々に前記既描画推定領域から遠ざかる方向に向かって各画素と前記既描画推定領域との色の差を判定することにより色の差が段階的に変化している領域を検出することを特徴とする請求項7又は請求項8に記載の描画装置。
<請求項10>
描画装置の描画方法であって、
前記描画装置は描画対象に描画を施す描画部と、前記描画対象を照明する少なくとも一つの光源と、を備え、
前記描画部により第1の画像が描画された後の前記描画対象を、前記光源により前記描画対象を照明する方向を互いに異なる複数の方向に変えて複数回撮影し、
前記複数回の撮影により取得された複数の爪描画対象画像を合成して合成画像を生成し、
前記合成画像に基づいて前記描画対象における前記第1の画像の描画が施されている既描画領域を検出する、
ことを特徴とする描画装置の描画方法。
Although several embodiments of the present invention have been described above, the scope of the present invention is not limited to the above-described embodiments, and includes the scope of the invention described in the claims and equivalent ranges thereof. .
The invention described in the scope of claims originally attached to the application form of this application is additionally described below. The claim numbers in the appendix are as in the claims originally attached to the filing of this application.
[Appendix]
<Claim 1>
a drawing unit that draws on a drawing target;
at least one light source that illuminates the drawing target;
a photographing unit that photographs the object to be drawn after the first image has been drawn by the drawing unit a plurality of times while changing the direction in which the object to be drawn is illuminated by the light source in different directions;
generating a composite image by synthesizing a plurality of images to be drawn acquired by the imaging unit a plurality of times; a drawn area detection unit for detecting a drawing area;
A rendering device comprising:
<Claim 2>
When the drawing unit draws a second image on the drawing target to overlap at least a part of the first image after drawing the first image on the drawing target, the second image is drawn on the drawing target. 2. The image according to claim 1, wherein at least one of the drawing position of the image of and the size of the second image is adjusted based on the already-drawn area detected by the already-drawn area detection unit. drawing device.
<Claim 3>
Having a plurality of the light sources,
each of the plurality of light sources illuminates the object to be drawn in a different direction;
3. The photographing unit according to claim 1, wherein the photographing unit photographs the drawing object a plurality of times while changing a direction in which the object to be drawn is illuminated in different directions by using one of the plurality of light sources. drawing device.
<Claim 4>
4. The rendering apparatus according to claim 1, wherein the rendered area detection unit generates the synthesized image by HDR synthesis.
<Claim 5>
The plurality of drawing target images include at least one of the plurality of light sources whose direction of illuminating the drawing target is set so as not to cast a shadow on a region of the drawing target on which the first image is drawn. 5. The drawing apparatus according to claim 1, further comprising a first drawing target image photographed using a first light source in .
<Claim 6>
The plurality of drawing target images include at least one of the plurality of light sources whose direction of illuminating the drawing target is set so as to cast a shadow in an area of the drawing target on which the first image is drawn. 6. The drawing apparatus according to any one of claims 1 to 5, further comprising a second drawing target image photographed using a second light source in .
<Claim 7>
The already-drawn area detection unit extracts, from the synthesized image, an area in which the first image of the nail is estimated to be drawn as an estimated already-drawn area based on color distribution information in the synthesized image, A color difference between pixels in a peripheral area of the already-drawn estimation area and the already-drawn estimation area is determined, and an area where the color difference changes step by step is defined as the already-drawn area together with the already-drawn estimation area. 7. The drawing apparatus according to any one of claims 1 to 6, wherein detection is performed.
<Claim 8>
8. The rendering apparatus according to claim 7, wherein the already-drawn area detection unit extracts the estimated already-drawn area from the synthesized image by a graph cut technique.
<Claim 9>
The already-drawn area detection unit determines a color difference between each pixel and the already-drawn estimated area in a direction gradually moving away from the already-drawn estimated area from a pixel adjacent to the already-drawn estimated area. 9. The drawing apparatus according to claim 7, wherein an area in which the difference in is changed stepwise is detected.
<Claim 10>
A drawing method for a drawing device,
The drawing device includes a drawing unit that draws on a drawing target, and at least one light source that illuminates the drawing target,
photographing the object to be drawn after the first image has been drawn by the drawing unit a plurality of times while changing a direction in which the object to be drawn is illuminated by the light source to a plurality of mutually different directions;
generating a composite image by synthesizing a plurality of nail drawing target images acquired by the plurality of times of photographing;
Detecting an already-drawn area in which the first image has been drawn in the drawing target based on the synthesized image;
A drawing method for a drawing device, characterized by:

1 ネイルプリント装置
40 描画部
41 ペン
43 描画ヘッド
50 撮影部
51 撮像装置
52 照明装置
55 照明装置
81 制御部
82 記憶部
812 爪形状検出部
815 既描画領域検出部
T 爪
U1 印刷指
1 nail print device 40 drawing unit 41 pen 43 drawing head 50 imaging unit 51 imaging device 52 lighting device 55 lighting device 81 control unit 82 storage unit 812 nail shape detection unit 815 already drawn area detection unit T nail U1 printing finger

Claims (4)

描画対象である爪に描画を施す描画部と、
前記を照明する少なくとも一つの光源と、
前記描画部により第1の画像の描画が施された後の前記を、前記光源により前記を照明する方向を互いに異なる方向に変えて複数回撮影する撮影部と、
前記撮影部の複数回の撮影によって取得された複数の画像を合成して合成画像を生成し、当該合成画像に基づいて前記における前記第1の画像の描画が施されている既描画領域を検出する既描画領域検出部と、
を備え、
前記既描画領域検出部は、前記合成画像における色分布情報に基づいて前記における前記第1の画像が描画されていると推定される領域を既描画推定領域として前記合成画像から抽出するとともに、当該既描画推定領域の周辺領域の画素について前記既描画推定領域との色の差を判定し、当該色の差が変化している領域を前記既描画推定領域とともに前記既描画領域として検出することを特徴とする描画装置。
a drawing unit that draws on a nail that is a drawing target;
at least one light source for illuminating the nail ;
a photographing unit that photographs the nail after the first image has been drawn by the drawing unit a plurality of times while changing the direction in which the nail is illuminated by the light source in different directions;
a plurality of nail images obtained by photographing a plurality of times by the photographing unit are synthesized to generate a synthesized image; and based on the synthesized image, the first image of the nail is rendered in a drawn area. a drawn area detection unit that detects the
with
The already-drawn area detection unit extracts, from the synthesized image, an area in which the first image of the nail is estimated to be drawn as an estimated already-drawn area based on color distribution information in the synthesized image, Determining a color difference between pixels in a peripheral area of the already-drawn estimation area and the already-drawn estimation area, and detecting an area where the color difference is changed as the already-drawn area together with the already-drawn estimation area. A drawing device characterized by:
前記既描画領域検出部は、前記合成画像からグラフカットの手法により前記既描画推定領域を抽出することを特徴とする請求項1に記載の描画装置。 2. The rendering apparatus according to claim 1, wherein the already-drawn area detection unit extracts the estimated already-drawn area from the synthesized image by a graph cut technique. 前記既描画領域検出部は、前記既描画推定領域に隣接する画素から徐々に前記既描画推定領域から遠ざかる方向に向かって各画素と前記既描画推定領域との色の差を判定することにより色の差が段階的に変化している領域を検出することを特徴とする請求項1又は請求項2に記載の描画装置。 The already-drawn area detection unit determines a color difference between each pixel and the already-drawn estimated area in a direction gradually moving away from the already-drawn estimated area from a pixel adjacent to the already-drawn estimated area. 3. The drawing apparatus according to claim 1, wherein an area in which the difference between the .times..times..times. 描画部により描画対象である爪に第1の画像の描画を施す描画ステップと、
前記描画ステップにおいて前記第1の画像の描画が施された後の前記を、少なくとも一つの光源により前記を照明する方向を互いに異なる方向に変えて複数回撮影する撮影ステップと、
前記撮影ステップにおける複数回の撮影によって取得された複数の画像を合成して合成画像を生成し、当該合成画像に基づいて前記における前記第1の画像の描画が施されている既描画領域を検出する既描画領域検出ステップと、
を備え、
前記既描画領域検出ステップにおいて、前記合成画像における色分布情報に基づいて前記における前記第1の画像が描画されていると推定される領域を既描画推定領域として前記合成画像から抽出するとともに、当該既描画推定領域の周辺領域の画素について前記既描画推定領域との色の差を判定し、当該色の差が変化している領域を前記既描画推定領域とともに前記既描画領域として検出することを特徴とする描画方法。
a drawing step of drawing a first image on a nail, which is a drawing target, by a drawing unit;
a photographing step of photographing the nail after the drawing of the first image in the drawing step a plurality of times while changing the direction in which the nail is illuminated by at least one light source in different directions;
generating a composite image by synthesizing a plurality of nail images acquired by multiple times of photographing in the photographing step, and drawing the first image of the nail based on the composite image; a drawn area detection step for detecting
with
In the already-drawn area detecting step, extracting from the synthesized image an area in which the first image of the nail is estimated to be drawn as an estimated already-drawn area based on color distribution information in the synthesized image; Determining a color difference between pixels in a peripheral area of the already-drawn estimation area and the already-drawn estimation area, and detecting an area where the color difference is changed as the already-drawn area together with the already-drawn estimation area. A drawing method characterized by
JP2021140260A 2020-07-08 2021-08-30 Rendering device and rendering method Active JP7184130B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021140260A JP7184130B2 (en) 2020-07-08 2021-08-30 Rendering device and rendering method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2020117434A JP6939957B2 (en) 2016-03-23 2020-07-08 Drawing device and drawing method of drawing device
JP2021140260A JP7184130B2 (en) 2020-07-08 2021-08-30 Rendering device and rendering method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2020117434A Division JP6939957B2 (en) 2016-03-23 2020-07-08 Drawing device and drawing method of drawing device

Publications (2)

Publication Number Publication Date
JP2021191435A JP2021191435A (en) 2021-12-16
JP7184130B2 true JP7184130B2 (en) 2022-12-06

Family

ID=78890538

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2021140279A Active JP7184131B2 (en) 2020-07-08 2021-08-30 Rendering device and rendering method
JP2021140260A Active JP7184130B2 (en) 2020-07-08 2021-08-30 Rendering device and rendering method

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP2021140279A Active JP7184131B2 (en) 2020-07-08 2021-08-30 Rendering device and rendering method

Country Status (1)

Country Link
JP (2) JP7184131B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000125289A (en) 1998-10-15 2000-04-28 Toshiba Mach Co Ltd Method for generating image with emphasized recessed part
US20140060560A1 (en) 2012-09-06 2014-03-06 Casio Computer Co., Ltd. Nail printing apparatus and printing control method
JP2016010856A5 (en) 2014-06-27 2016-06-02

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60163163A (en) * 1984-02-03 1985-08-26 Mitsubishi Electric Corp Visual sensor device
JP6128067B2 (en) 2014-06-27 2017-05-17 カシオ計算機株式会社 Drawing apparatus and drawing control method of drawing apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000125289A (en) 1998-10-15 2000-04-28 Toshiba Mach Co Ltd Method for generating image with emphasized recessed part
US20140060560A1 (en) 2012-09-06 2014-03-06 Casio Computer Co., Ltd. Nail printing apparatus and printing control method
JP2014064892A (en) 2012-09-06 2014-04-17 Casio Comput Co Ltd Nail printing device, and printing control method for the same
JP2016010856A5 (en) 2014-06-27 2016-06-02

Also Published As

Publication number Publication date
JP7184131B2 (en) 2022-12-06
JP2021191435A (en) 2021-12-16
JP2021191436A (en) 2021-12-16

Similar Documents

Publication Publication Date Title
JP6428415B2 (en) Drawing apparatus and nail shape detection method
JP6493198B2 (en) Drawing apparatus and drawing method of drawing apparatus
JP6428411B2 (en) Drawing apparatus and nail inclination detection method
JP6589469B2 (en) Drawing apparatus and drawing method of drawing apparatus
US10022984B2 (en) Drawing apparatus and drawing method for drawing apparatus
JP6790513B2 (en) Drawing device and drawing method of drawing device
JP6128067B2 (en) Drawing apparatus and drawing control method of drawing apparatus
JP6206346B2 (en) Drawing apparatus and drawing control method of drawing apparatus
JP2014064892A (en) Nail printing device, and printing control method for the same
CN107549980B (en) Holding device and drawing device
JP2014121344A (en) Nail printing device and printing control method for nail printing device
JP6582619B2 (en) Nail printing apparatus and drawing method of nail printing apparatus
JP6390740B2 (en) Drawing apparatus and drawing control method of drawing apparatus
JP2017118897A (en) Drawing device and control method of drawing device
JP7184130B2 (en) Rendering device and rendering method
JP6733251B2 (en) Drawing device and drawing method of drawing device
JP2017055933A (en) Nail shape detection device, drawing device, and nail shape detection method
JP6939957B2 (en) Drawing device and drawing method of drawing device
JP6349718B2 (en) Drawing device
JP6500529B2 (en) Drawing apparatus and drawing method
JP6825244B2 (en) Drawing device and drawing method of drawing device

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210917

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210917

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220816

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221011

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221107

R150 Certificate of patent or registration of utility model

Ref document number: 7184130

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150