JP7736989B2 - Image processing device, image processing method, and program - Google Patents
Image processing device, image processing method, and programInfo
- Publication number
- JP7736989B2 JP7736989B2 JP2021118203A JP2021118203A JP7736989B2 JP 7736989 B2 JP7736989 B2 JP 7736989B2 JP 2021118203 A JP2021118203 A JP 2021118203A JP 2021118203 A JP2021118203 A JP 2021118203A JP 7736989 B2 JP7736989 B2 JP 7736989B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- bangs
- user
- unit
- selection operation
- 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
Links
Landscapes
- Studio Devices (AREA)
- Cameras Adapted For Combination With Other Photographic Or Optical Apparatuses (AREA)
- Image Processing (AREA)
Description
本技術は、画像処理装置、画像処理方法、およびプログラムに関し、特に、撮影画像に写る前髪の部分の写りを整えることができるようにした画像処理装置、画像処理方法、およびプログラムに関する。 This technology relates to an image processing device, an image processing method, and a program, and in particular to an image processing device, an image processing method, and a program that can adjust the appearance of bangs in a captured image.
従来、写真シール作成装置が知られている。写真シール作成装置は、利用者を撮影し、撮影画像に対して利用者に編集を行わせ、編集後の画像をシール紙に印刷して提供するものである。写真シール作成装置は遊戯施設などに設置される。 Photo sticker creation devices are known in the art. These devices photograph a user, allow the user to edit the photographed image, and print the edited image on sticker paper. Photo sticker creation devices are installed in amusement facilities and the like.
写真シール作成装置が提供する1ゲームの流れは、通常、撮影空間にいる利用者を被写体として撮影を行った後、利用者を編集空間に移動させ、編集空間で行われる操作に従って画像を編集して、編集済みの画像をシール紙に印刷する流れとなる。 The flow of one game provided by the photo sticker creation device typically involves taking a photo of the user in the photography space as the subject, then moving the user to the editing space, editing the image according to the operations performed in the editing space, and printing the edited image on sticker paper.
撮影画像の編集は、撮影空間から編集空間に移動した後、編集空間に設けられたディスプレイに表示された編集画面を用いて行われる。編集画面には、編集の対象となる撮影画像とともに、編集用の各種のツールの選択に用いられるボタンなどが表示される。 Photographed images are edited using the editing screen displayed on a display in the editing space after moving from the shooting space to the editing space. The editing screen displays the photographed image to be edited, as well as buttons used to select various editing tools.
例えば特許文献1には、任意の範囲をコピー範囲枠で指定し、指定した範囲に含まれる合成済みの複数のスタンプ画像を1つのスタンプ画像として他の位置にコピーできるようにする技術が記載されている。 For example, Patent Document 1 describes a technology that allows an arbitrary range to be specified using a copy range frame, and multiple composite stamp images included in the specified range to be copied to another location as a single stamp image.
特許文献1に記載の技術においては、コピーすることができる内容はスタンプ画像となる。ユーザは、撮影画像に写る人物の任意の部分をコピーして他の位置に貼り付けるなどの操作を行うことができない。 In the technology described in Patent Document 1, the content that can be copied is a stamp image. Users cannot perform operations such as copying any part of a person in a captured image and pasting it in another location.
本技術はこのような状況に鑑みてなされたものであり、撮影画像に写る前髪の部分の写りを整えることができるようにするものである。 This technology was developed in light of these circumstances, and makes it possible to adjust the appearance of bangs in captured images.
本技術の一側面の画像処理装置は、撮影画像に被写体として写る人物の領域の一部に設定された選択可能範囲内でユーザにより行われた選択操作に応じた範囲の画像を合成用画像として切り出す切り出し部と、前記ユーザにより選択された、前記撮影画像上の任意の位置に前記合成用画像を合成して表示させる表示制御部とを備える。 An image processing device according to one aspect of the present technology includes a cropping unit that crops, as an image to be synthesized, an image within a range corresponding to a selection operation performed by a user within a selectable range set as part of the area of a person appearing as a subject in a captured image, and a display control unit that composites and displays the image to be synthesized at any position on the captured image selected by the user.
本技術の一側面においては、撮影画像に被写体として写る人物の領域の一部に設定された選択可能範囲内でユーザにより行われた選択操作に応じた範囲の画像が合成用画像として切り出され、前記ユーザにより選択された、前記撮影画像上の任意の位置に前記合成用画像が合成される。 In one aspect of this technology, an image within a selectable range set as part of the area of a person appearing as a subject in a captured image, in response to a selection operation performed by a user, is extracted as an image to be synthesized, and the image to be synthesized is synthesized at any position on the captured image selected by the user.
本技術によれば、撮影画像に写る前髪の部分の写りを整えることができる。 This technology makes it possible to improve the appearance of bangs in captured images.
<写真シール作成装置の構成>
図1は、本技術の一実施の形態に係る写真シール作成装置の外観を示す斜視図である。
<Configuration of the photo sticker creation device>
FIG. 1 is a perspective view showing the appearance of a photo sticker creating device according to an embodiment of the present technology.
写真シール作成装置1は、写真作成ゲームを提供するゲーム機である。写真シール作成装置1は、ゲームセンターなどの店舗に設置される。 The photo sticker creation device 1 is a game machine that provides a photo creation game. The photo sticker creation device 1 is installed in a store such as a game center.
写真シール作成装置1の利用者は、主に女子高生や若い女性が中心となる。写真シール作成装置1において、1組あたり主に2人や3人などの複数人の利用者がゲームを楽しむことができる。もちろん、写真シール作成装置1において、1人の利用者がゲームを楽しむこともできる。 The users of the photo sticker creation device 1 are primarily high school girls and young women. Multiple users, typically two or three people per group, can enjoy the game with the photo sticker creation device 1. Of course, a single user can also enjoy the game with the photo sticker creation device 1.
写真シール作成装置1の写真作成ゲームにおいて、利用者は、自身が被写体となって撮影を行う。利用者は、撮影によって得られた撮影画像に対して、手書きの文字やスタンプ画像などの合成用画像を合成させるための編集を行い、撮影画像を彩り豊かな画像に編集する。利用者は、編集済みの撮影画像が印刷されたシール紙を受け取って一連のゲームを終了させる。 In the photo creation game using the photo sticker creation device 1, the user takes a photo of themselves as the subject. The user then edits the captured image to combine it with composite images such as handwritten text and stamp images, creating a colorful image. The user then receives a sticker sheet with the edited captured image printed on it, completing the game sequence.
箱状の筐体を有する写真シール作成装置1の側面には事前操作部11が設けられる。事前操作部11は、一緒に遊ぶ利用者の人数の選択や撮影コースの選択などの、撮影前の操作に用いられる装置である。事前操作部11にはタッチパネルモニタ11Aが設けられる。タッチパネルモニタ11Aの下には、プレイ料金を支払うためのコイン投入口11Bが設けられる。 A pre-operation unit 11 is provided on the side of the photo sticker creation device 1, which has a box-shaped housing. The pre-operation unit 11 is a device used for operations before taking photos, such as selecting the number of users to play with and selecting the photo course. The pre-operation unit 11 is provided with a touch panel monitor 11A. Below the touch panel monitor 11A is provided a coin slot 11B for paying the play fee.
各種の選択に用いられる画面がタッチパネルモニタ11Aに表示される。利用者は、タッチパネルモニタ11Aの表示に従って各種の選択を行った後、出入り口Gから撮影空間に入り、撮影を行うことになる。撮影空間の正面には撮影部21が設けられる。撮影部21と背景部22の間の空間が撮影空間となる。撮影部21には、カメラを内蔵した箱状のカメラユニット31が設けられる。 A screen used for various selections is displayed on the touch panel monitor 11A. After making various selections according to the display on the touch panel monitor 11A, the user enters the photography space through the entrance/exit G and begins photography. The photography unit 21 is provided at the front of the photography space. The space between the photography unit 21 and the background unit 22 forms the photography space. The photography unit 21 is provided with a box-shaped camera unit 31 with a built-in camera.
事前操作部11の左側には編集部51が設けられる。編集部51は、カメラで撮影することによって得られた撮影画像の編集に用いられる装置である。撮影空間で撮影を行った利用者は、編集部51の前方の編集空間に移動し、撮影画像の編集を行うことになる。編集部51の上方に形成された斜面には、撮影画像の編集用のモニタであるタブレット内蔵モニタ61が設けられる。撮影画像の編集に用いられる画面がタブレット内蔵モニタ61に表示される。 An editing unit 51 is provided to the left of the pre-operation unit 11. The editing unit 51 is a device used to edit captured images obtained by taking pictures with a camera. After taking pictures in the photography space, the user moves to the editing space in front of the editing unit 51 and edits the captured images. A tablet-integrated monitor 61, which is a monitor for editing captured images, is provided on a slope formed above the editing unit 51. The screen used to edit the captured images is displayed on the tablet-integrated monitor 61.
編集空間は、編集部51の筐体を挟んで2つ用意される。図1に示す編集部51の前方の空間と、編集部51を挟んで後方の空間にそれぞれ編集空間が形成される。これにより、撮影空間での撮影を終えた利用者のグループを空いている方の編集空間に移動させ、2つの編集空間において並行して編集を行わせることができる。 Two editing spaces are provided, one on either side of the housing of the editing unit 51. One editing space is formed in front of the editing unit 51 shown in Figure 1, and the other is formed behind the editing unit 51. This allows a group of users who have finished shooting in the shooting space to move to the available editing space, and edit in parallel in the two editing spaces.
図2は、撮影部21の正面の構成例を示す斜視図である。撮影部21は、側面パネル21A、側面パネル21B、および正面パネル21Cに囲まれるようにして構成される。 Figure 2 is a perspective view showing an example of the front configuration of the imaging unit 21. The imaging unit 21 is configured to be surrounded by side panels 21A, 21B, and front panel 21C.
撮影部21の正面の中央よりやや上側の位置にはカメラユニット31が設けられる。カメラユニット31には、カメラ41とタッチパネルモニタ42が設けられる。 A camera unit 31 is provided at a position slightly above the center of the front of the imaging unit 21. The camera unit 31 is equipped with a camera 41 and a touch panel monitor 42.
カメラ41は、例えば一眼レフカメラであり、レンズが露出するようにカメラユニット31の内部に取り付けられる。カメラ41は、CCD(Charge Coupled Device)イメージセンサやCMOS(Complementary Metal Oxide Semiconductor)イメージセンサなどの撮像素子を有し、撮影空間にいる利用者を撮影する。カメラ41は、利用者を被写体として撮影を行う撮影部として機能する。 Camera 41 is, for example, a single-lens reflex camera, and is attached inside camera unit 31 so that the lens is exposed. Camera 41 has an imaging element such as a CCD (Charge Coupled Device) image sensor or a CMOS (Complementary Metal Oxide Semiconductor) image sensor, and captures images of users in the shooting space. Camera 41 functions as a shooting unit that captures images of users as subjects.
カメラ41により取り込まれた動画像(以下、ライブビュー画像ともいう)は、タッチパネルモニタ42にリアルタイムで表示される。撮影が指示されたときなどの所定のタイミングでカメラ41により取り込まれた静止画像は、撮影画像として保存される。 Moving images (hereinafter also referred to as live view images) captured by the camera 41 are displayed in real time on the touch panel monitor 42. Still images captured by the camera 41 at a specified timing, such as when a shooting command is issued, are saved as captured images.
タッチパネルモニタ42は、カメラ41の下方に設けられる。タッチパネルモニタ42は、LCDなどのモニタと、それに積層されたタッチパネルにより構成される。タッチパネルモニタ42は、カメラ41により取り込まれた動画像を表示するライブビューモニタとしての機能と、各種のGUI(Graphical User Interface)を表示し、利用者の選択操作を受け付ける機能を備えている。 The touch panel monitor 42 is provided below the camera 41. The touch panel monitor 42 is composed of a monitor such as an LCD and a touch panel stacked on top of it. The touch panel monitor 42 functions as a live view monitor that displays moving images captured by the camera 41, and also displays various GUIs (Graphical User Interfaces) and accepts user selection operations.
カメラユニット31の上方には、曲面の発光面を利用者に向けた上ストロボユニット32が設けられる。上ストロボユニット32は、利用者の正面上方から、主に利用者の顔と上半身に向けて光を照射する。 Above the camera unit 31, an upper strobe unit 32 is provided, with its curved light-emitting surface facing the user. The upper strobe unit 32 emits light from above and in front of the user, primarily toward the user's face and upper body.
カメラユニット31の下方には、利用者に対して下方から光を照射する下箱ストロボユニット33が設けられる。上ストロボユニット32と下箱ストロボユニット33のそれぞれにはストロボ光源が設けられる。ストロボ光源は、静止画像の撮影タイミングに合わせて発光し、被写体となる利用者にストロボ光を照射する。 Below the camera unit 31 is a lower box strobe unit 33 that illuminates the user from below. Both the upper strobe unit 32 and the lower box strobe unit 33 are equipped with strobe light sources. The strobe light sources emit light in synchronization with the timing of capturing a still image, illuminating the user, who is the subject, with strobe light.
下箱ストロボユニット33と側面パネル21Aとの間には箱状部34Lが設けられる。また、下箱ストロボユニット33と側面パネル21Bとの間には箱状部34Rが設けられる。箱状部34L,34Rの上面は、略水平な面であり、撮影作業を行う利用者が手荷物などを置くための荷物置き場として用いられる。 A box-shaped portion 34L is provided between the lower box strobe unit 33 and the side panel 21A. Furthermore, a box-shaped portion 34R is provided between the lower box strobe unit 33 and the side panel 21B. The top surfaces of the box-shaped portions 34L and 34R are generally horizontal and are used as a luggage storage area for users performing photography work to place their baggage, etc.
<写真シール作成装置の内部構成>
図3は、写真シール作成装置1の構成例を示すブロック図である。図3において、上述した構成と同じ構成には同じ符号を付してある。重複する説明については適宜省略する。
<Internal configuration of the photo sticker creation device>
Fig. 3 is a block diagram showing an example of the configuration of the photo sticker creating device 1. In Fig. 3, the same components as those described above are given the same reference numerals, and duplicated explanations will be omitted where appropriate.
図3に示すように、写真シール作成装置1は、PC(Personal Computer)部101に対して、事前操作部11、撮影部21、編集部51、および印刷部103が外部入出力インタフェース102を介して接続されることによって構成される。PC部101は、例えば編集部51の筐体内部に収納される。 As shown in FIG. 3, the photo sticker creation device 1 is configured by connecting a pre-operation unit 11, a photographing unit 21, an editing unit 51, and a printing unit 103 to a PC (Personal Computer) unit 101 via an external input/output interface 102. The PC unit 101 is housed, for example, inside the housing of the editing unit 51.
PC部101を構成するCPU(Central Processing Unit)111、ROM(Read Only Memory)112、RAM(Random Access Memory)113は、バス114により相互に接続される。 The CPU (Central Processing Unit) 111, ROM (Read Only Memory) 112, and RAM (Random Access Memory) 113 that make up the PC section 101 are interconnected by a bus 114.
CPU111は、所定のプログラムを実行し、写真シール作成装置1の全体の動作を制御する。ROM112は、CPU111が実行するプログラムやデータを記憶する。RAM112は、CPU111が処理するデータやプログラムを一時的に記憶する。 The CPU 111 executes predetermined programs and controls the overall operation of the photo sticker creation device 1. The ROM 112 stores programs and data executed by the CPU 111. The RAM 112 temporarily stores data and programs processed by the CPU 111.
バス114には、さらに、入出力インタフェース115が接続される。入出力インタフェース115には、記憶部116、通信部117、およびドライブ118が接続される。 An input/output interface 115 is also connected to the bus 114. A memory unit 116, a communication unit 117, and a drive 118 are connected to the input/output interface 115.
記憶部116は、ハードディスクやフラッシュメモリなどの不揮発性の記憶媒体である。記憶部116は、CPU111から供給された各種の設定情報などを記憶する。記憶部116に記憶されている情報はCPU111により適宜読み出される。 The storage unit 116 is a non-volatile storage medium such as a hard disk or flash memory. The storage unit 116 stores various setting information and other data supplied by the CPU 111. The information stored in the storage unit 116 is read out by the CPU 111 as appropriate.
通信部117は、インターネットなどのネットワークのインタフェースである。通信部117は、CPU111による制御に従って外部の装置と通信を行う。通信部117は、利用者により選択された画像を、例えば写真シール作成装置1の製造メーカが管理するサーバに送信する。通信部117から送信された画像は、所定の記憶領域が割り当てられて保存され、サーバにアクセスしてきた携帯端末上で表示されたり、携帯端末にダウンロードされたりする。 The communication unit 117 is an interface for a network such as the Internet. The communication unit 117 communicates with external devices under the control of the CPU 111. The communication unit 117 transmits images selected by the user to, for example, a server managed by the manufacturer of the photo sticker creation device 1. Images transmitted from the communication unit 117 are allocated a specified memory area and saved, and can be displayed on or downloaded to a mobile device that has accessed the server.
ドライブ118には、光ディスクや半導体メモリなどよりなるリムーバブルメディア119が適宜装着される。ドライブ118によりリムーバブルメディア119から読み出されたプログラムやデータは、CPU111に供給され、記憶部116に記憶されたり、インストールされたりする。 Removable media 119, such as an optical disk or semiconductor memory, is appropriately attached to the drive 118. Programs and data read from the removable media 119 by the drive 118 are supplied to the CPU 111, where they are stored in the memory unit 116 or installed.
入出力インタフェース115には外部入出力インタフェース102が接続される。PC部101による各部の制御が、外部入出力インタフェース102を介して行われる。 The external input/output interface 102 is connected to the input/output interface 115. Control of each part by the PC unit 101 is performed via the external input/output interface 102.
事前操作部11は、撮影前の利用者を対象とした事前選択処理を行う。事前操作部11は、タッチパネルモニタ11A、スピーカ121、および硬貨処理部122から構成される。 The pre-operation unit 11 performs pre-selection processing for the user before photography. The pre-operation unit 11 is composed of a touch panel monitor 11A, a speaker 121, and a coin processing unit 122.
タッチパネルモニタ11Aは、PC部101による制御に従って各種の選択画面を表示し、選択画面に対する利用者の操作を受け付ける。利用者の操作の内容を表す入力信号はPC部101に供給され、各種の設定が行われる。 The touch panel monitor 11A displays various selection screens under the control of the PC unit 101 and accepts user operations on the selection screens. Input signals representing the user's operations are supplied to the PC unit 101, and various settings are made.
硬貨処理部122は、コイン投入口11Bへの硬貨の投入を検出する。硬貨処理部122は、所定の金額分の硬貨が投入されたことを検出した場合、ゲームの開始を指示する起動信号をPC部101に出力する。 The coin processing unit 122 detects the insertion of coins into the coin slot 11B. When the coin processing unit 122 detects that a predetermined amount of coins has been inserted, it outputs a start signal to the PC unit 101 to instruct the start of the game.
撮影部21は、撮影空間にいる利用者を対象とした撮影処理を行う。撮影部21は、照明装置131、カメラ41、タッチパネルモニタ42、およびスピーカ132から構成される。 The photography unit 21 performs photography processing targeting users in the photography space. The photography unit 21 is composed of a lighting device 131, a camera 41, a touch panel monitor 42, and a speaker 132.
照明装置131は、撮影空間内の各ストロボユニットであり、PC部101から供給された照明制御信号に従って発光する。上ストロボユニット32、下箱ストロボユニット33などの、撮影空間に設けられるストロボユニットが照明装置131に含まれる。 The lighting devices 131 are strobe units within the shooting space, and emit light in accordance with lighting control signals supplied from the PC unit 101. The lighting devices 131 include strobe units installed in the shooting space, such as the upper strobe unit 32 and the lower box strobe unit 33.
カメラ41は、PC部101によるシャッタ制御に従って撮影を行い、撮影によって得られた画像データをPC部101に出力する。 The camera 41 takes pictures in accordance with shutter control by the PC unit 101 and outputs the image data obtained by the pictures to the PC unit 101.
編集部51は、撮影後の編集処理を行う。編集部51は、タブレット内蔵モニタ61、タッチペン141A,141B、およびスピーカ142から構成される。タブレット内蔵モニタ61、タッチペン141A,141Bのセットが編集部51の筐体の2つの面に設けられる。タッチペン141Aとタッチペン141Bを区別する必要がない場合、適宜、まとめてタッチペン141という。 Editing unit 51 performs post-shooting editing. Editing unit 51 is composed of a tablet-integrated monitor 61, touch pens 141A and 141B, and speaker 142. A set of tablet-integrated monitor 61 and touch pens 141A and 141B is provided on two sides of the housing of editing unit 51. When there is no need to distinguish between touch pen 141A and touch pen 141B, they will be collectively referred to as touch pen 141, as appropriate.
タブレット内蔵モニタ61は、PC部101による制御に従って編集画面を表示し、編集画面に対する利用者の操作を受け付ける。利用者の操作の内容を表す入力信号はPC部101に供給され、編集対象となる撮影画像の編集が行われる。 The tablet's built-in monitor 61 displays an editing screen under the control of the PC unit 101 and accepts user operations on the editing screen. An input signal representing the user's operation is supplied to the PC unit 101, which then edits the captured image to be edited.
印刷部103は、プリンタ151を含むように構成される。プリンタ151にはシール紙ユニット152が装着される。 The printing unit 103 is configured to include a printer 151. A sticker paper unit 152 is attached to the printer 151.
プリンタ151は、PC部101から供給された印刷データに基づいて、シール紙ユニット152に収納されているシール紙に画像を印刷する。プリンタ151は、画像を印刷したシール紙をシール紙排出口に排出する。 The printer 151 prints an image on sticker paper stored in the sticker paper unit 152 based on print data supplied from the PC section 101. The printer 151 ejects the sticker paper with the printed image from the sticker paper ejection port.
<制御部の機能構成例>
図4は、写真シール作成装置1の機能構成例を示すブロック図である。図4に示す機能部のうちの少なくとも一部は、図3のCPU111により所定のプログラムが実行されることによって実現される。
<Example of functional configuration of control unit>
Fig. 4 is a block diagram showing an example of the functional configuration of the photo sticker creating device 1. At least some of the functional units shown in Fig. 4 are realized by the CPU 111 in Fig. 3 executing a predetermined program.
写真シール作成装置1においては制御部201が実現される。制御部201は、事前選択処理部211、撮影処理部212、編集処理部213、印刷処理部214、および送信処理部215により構成される。 The photo sticker creation device 1 implements a control unit 201. The control unit 201 is composed of a pre-selection processing unit 211, a photography processing unit 212, an editing processing unit 213, a printing processing unit 214, and a transmission processing unit 215.
事前選択処理部211は、事前操作部11の各部を制御することで、事前選択処理を実行する。事前選択処理により、利用者の人数の選択、撮影コースの選択などが行われる。利用者による選択内容を表す情報は撮影処理部212に供給される。 The pre-selection processing unit 211 executes pre-selection processing by controlling each unit of the pre-operation unit 11. The pre-selection processing involves selecting the number of users, the photography course, and so on. Information representing the user's selection is supplied to the photography processing unit 212.
撮影処理部212は、撮影部21の各部を制御することで撮影処理を行う。撮影処理においては、6枚などの複数枚の撮影画像の撮影が行われる。撮影処理部212は、撮影処理を行うことによって得られた複数枚の撮影画像のデータを編集処理部213に出力する。 The shooting processing unit 212 performs shooting processing by controlling each unit of the shooting unit 21. During the shooting processing, multiple images, such as six images, are taken. The shooting processing unit 212 outputs data for the multiple images obtained by performing the shooting processing to the editing processing unit 213.
編集処理部213は、編集部51の各部を制御することで編集処理を行う。編集処理には、撮影画像の編集、シール紙に対する画像の印刷、および、外部の装置である画像管理サーバに対する画像の送信が含まれる。 The editing processing unit 213 performs editing processing by controlling each part of the editing unit 51. Editing processing includes editing captured images, printing images on sticker paper, and sending images to an external image management server.
画像管理サーバに送信された画像は、利用者が、写真シール作成装置1のゲームの終了後に、自分のスマートフォンなどの携帯端末を操作することによって、携帯端末上で閲覧したり、ダウンロードしたりすることに用いられる。 The images sent to the image management server can be viewed or downloaded by the user on their mobile device, such as a smartphone, after the user has finished playing the game on the photo sticker creation device 1.
撮影画像の編集には、シール紙に印刷するための画像を撮影画像に基づいて生成する処理と、画像管理サーバに送信するための画像を撮影画像に基づいて生成する処理が含まれる。 Editing a captured image includes the process of generating an image to be printed on sticker paper based on the captured image, and the process of generating an image to be sent to an image management server based on the captured image.
シール紙に印刷するための画像は、シールデザインを利用者に選択させ、利用者により選択されたシールデザインに応じた画像処理を行うことによって生成される。シール紙に印刷するための画像の生成時、シールデザインとともに、デザイン性のある画像を合成することもできるようになっている。 The image to be printed on the sticker paper is generated by having the user select a sticker design and then performing image processing according to the sticker design selected by the user. When generating the image to be printed on the sticker paper, it is also possible to combine a design-oriented image with the sticker design.
一方、画像管理サーバに送信するための画像である携帯用画像は、ペンツール、スタンプツールなどの、あらかじめ用意された編集ツールの中から利用者により選択されたツールを用いて行われた操作に応じた画像処理を編集対象の撮影画像に施すことによって生成される。ペンツール、スタンプツールを用いることにより、合成用画像としてのペン画像、スタンプ画像が、編集対象の撮影画像に合成される。利用者は、好みの編集ツールを選択し、画像処理を施す位置を編集対象の撮影画像上で選択するなどして、撮影画像の編集を進めることになる。 On the other hand, portable images, which are images to be sent to the image management server, are generated by applying image processing to the photographed image to be edited in accordance with operations performed using a tool selected by the user from a selection of pre-prepared editing tools, such as a pen tool or stamp tool. By using the pen tool or stamp tool, a pen image or stamp image is composited into the photographed image to be edited. The user selects their preferred editing tool and selects the location on the photographed image to be edited where the image processing will be applied, thereby proceeding with editing the photographed image.
このように、特に携帯用画像を作成するための撮影画像の編集は、利用者が、タッチペン141を用いて、撮影画像に落書きをするような感覚で進められる。以下、適宜、編集のことを落書きという。シール紙に印刷するための画像を作るための撮影画像の編集をシール用落書きといい、携帯用画像を作成するための撮影画像の編集を携帯用落書きという。 In this way, editing of captured images, particularly for creating portable images, is carried out by the user using the touch pen 141 in a manner similar to doodling on the captured image. Hereinafter, editing will be referred to as "doodle" where appropriate. Editing of captured images to create images to be printed on sticker paper will be referred to as "sticker doodling," and editing of captured images to create portable images will be referred to as "portable doodling."
後に詳述するように、携帯用落書きのツールとして前髪レタッチの機能が用意される。前髪レタッチは、撮影画像に写る人物の前髪の部分を整えるときに用いられる機能である。前髪レタッチの機能を利用することにより、図5の下段に破線で囲んで示すように、前髪を増やしたり長さを長くしたりして整えることができる。 As will be explained in more detail later, a bangs retouching function is provided as a mobile doodling tool. Bangs retouching is a function used to adjust the bangs of a person appearing in a photographed image. By using the bangs retouching function, it is possible to adjust the length of the bangs by increasing the amount of hair or lengthening them, as shown by the dashed line in the bottom row of Figure 5.
前髪レタッチにより前髪を整えることはタッチペン141を用いて行われる。画面を指で触れることによって前髪レタッチの機能を利用することができるようにしてもよい。 The bangs retouching function allows the bangs to be styled using a touch pen 141. The bangs retouching function may also be accessed by touching the screen with a finger.
図4の編集処理部213は、シール用落書きの処理によって生成した印刷データを印刷処理部214に出力し、携帯用画像のデータを送信処理部215に出力する。 The editing processing unit 213 in Figure 4 outputs the print data generated by the sticker graffiti processing to the print processing unit 214, and outputs the portable image data to the transmission processing unit 215.
印刷処理部214は、印刷データをプリンタ151に出力し、画像をシール紙に印刷させる。 The print processing unit 214 outputs the print data to the printer 151 and prints the image on sticker paper.
送信処理部215は、通信部117を制御することによって画像管理サーバとの間で通信を行い、携帯用画像を画像管理サーバに送信する(アップロードする)。 The transmission processing unit 215 controls the communication unit 117 to communicate with the image management server and transmit (upload) portable images to the image management server.
図6は、編集処理部213の構成例を示すブロック図である。 Figure 6 is a block diagram showing an example configuration of the editing processing unit 213.
編集処理部213は、画像解析部221、シール用画像生成部222、シールデザインデータ記憶部223、携帯用画像生成部224、および表示制御部225により構成される。撮影処理部212から出力された撮影画像のデータは、画像解析部221と表示制御部225に入力される。 The editing processing unit 213 is composed of an image analysis unit 221, a sticker image generation unit 222, a sticker design data storage unit 223, a portable image generation unit 224, and a display control unit 225. The captured image data output from the capture processing unit 212 is input to the image analysis unit 221 and the display control unit 225.
画像解析部221は、それぞれの撮影画像に写る利用者の特徴を解析し、撮影画像に写る利用者の各部位の位置を認識する。例えば、頭、目、鼻、口、耳の位置が認識される。また、各部位の輪郭点の位置が認識される。輪郭点の位置により、各部位の形状が特定される。画像解析部221による認識結果を表す情報は、撮影画像のデータとともにシール用画像生成部222と携帯用画像生成部224に供給される。 The image analysis unit 221 analyzes the features of the user that appear in each captured image and recognizes the position of each part of the user that appears in the captured image. For example, the positions of the head, eyes, nose, mouth, and ears are recognized. The position of the contour points of each part is also recognized. The shape of each part is identified based on the position of the contour points. Information representing the recognition results by the image analysis unit 221 is supplied to the sticker image generation unit 222 and portable image generation unit 224 along with the captured image data.
シール用画像生成部222は、利用者により選択されたシールデザインに関する情報をシールデザインデータ記憶部223から読み出し、読み出した情報に基づく画像処理を撮影画像に対して施す。例えば、利用者により選択されたデザインの画像が合成されることによってシール用画像が生成される。 The sticker image generation unit 222 reads information about the sticker design selected by the user from the sticker design data storage unit 223 and performs image processing on the captured image based on the read information. For example, an image for a sticker is generated by combining an image of the design selected by the user.
シール用画像の印刷データは印刷処理部214に供給される。シール用画像生成部222による画像処理の内容を表す情報は、適宜、表示制御部225に供給され、画面表示に用いられる。シール用画像生成部222による画像処理は、シール紙に印刷する画像を作るための処理である。 Print data for the sticker image is supplied to the print processing unit 214. Information indicating the content of image processing by the sticker image generation unit 222 is supplied to the display control unit 225 as appropriate and used for screen display. The image processing by the sticker image generation unit 222 is processing for creating an image to be printed on sticker paper.
携帯用画像生成部224は、利用者が行う携帯用落書きに応じた画像処理をそれぞれの撮影画像に対して施し、携帯用画像を生成する。携帯用落書きは、画像管理サーバに送信する画像を作るための落書きである。携帯用落書きによる落書き済みの画像は、画像管理サーバに送信することに用いられる、送信用の画像である。 The portable image generation unit 224 applies image processing to each captured image according to the portable doodles made by the user, generating a portable image. The portable doodles are doodles used to create images to be sent to the image management server. Images doodled using the portable doodles are images for transmission, used to send to the image management server.
携帯用画像生成部224により生成された携帯用画像は、送信処理部215に供給される。携帯用画像生成部224による画像処理の内容を表す情報は、適宜、表示制御部225に供給され、画面表示に用いられる。 The portable image generated by the portable image generation unit 224 is supplied to the transmission processing unit 215. Information indicating the content of the image processing by the portable image generation unit 224 is supplied to the display control unit 225 as appropriate and used for screen display.
携帯用画像生成部224には前髪レタッチ処理部231が含まれる。前髪レタッチ処理部231は、前髪レタッチのツールを用いた利用者の操作に応じて、前髪レタッチを施すための画像処理を行う。 The portable image generation unit 224 includes a bangs retouching processing unit 231. The bangs retouching processing unit 231 performs image processing to retouch bangs in response to user operations using a bangs retouching tool.
表示制御部225は、シール用落書き画面と携帯用落書き画面を含む各種の画面をタブレット内蔵モニタ61に表示させる。表示制御部225は、利用者の操作に応じて、画面の表示を制御する。 The display control unit 225 displays various screens, including a sticker doodle screen and a mobile doodle screen, on the tablet built-in monitor 61. The display control unit 225 controls the display of the screen in response to user operations.
図7は、前髪レタッチ処理部231の構成例を示すブロック図である。 Figure 7 is a block diagram showing an example configuration of the bangs retouching processing unit 231.
前髪レタッチ処理部231は、切り出し部241および貼り付け部242により構成される。画像解析部221から出力された落書き対象の撮影画像のデータは、切り出し部241と貼り付け部242にそれぞれ入力される。 The bangs retouching processing unit 231 is composed of a cutout unit 241 and a pasting unit 242. The data of the photographed image of the graffiti target output from the image analysis unit 221 is input to the cutout unit 241 and the pasting unit 242, respectively.
切り出し部241は、それぞれの撮影画像に対して選択可能範囲を設定する。後に詳述するように、選択可能範囲は、切り出し範囲を選択することが可能な範囲である。選択可能範囲の設定は、例えば、画像解析部221による解析結果により表される人物の特徴に基づいて、撮影画像に写る人物の領域の一部に設定するようにして行われる。一部の領域は、前髪が写っている領域を含む領域である。 The cropping unit 241 sets a selectable range for each captured image. As will be described in detail later, the selectable range is the range within which the cropping range can be selected. The selectable range is set, for example, to a portion of the area of the person appearing in the captured image based on the characteristics of the person represented by the analysis results of the image analysis unit 221. The portion of the area is an area that includes the area showing the bangs.
1枚の撮影画像に複数人の人物が写っている場合、それぞれの人物の領域に選択可能範囲が設定される。 If multiple people appear in a single captured image, a selectable area will be set for each person.
また、切り出し部241は、タッチペン141を用いて行われるユーザによる操作に応じて、落書き対象の撮影画像に写る人物の前髪部分を合成用画像として切り出す。ここで、合成用画像の切り出しは、撮影画像に写る元の前髪部分はそのままに、ユーザにより選択された前髪部分の画像をコピーする処理である。 In addition, the cropping unit 241 crops out the bangs portion of the person appearing in the photographed image that is the subject of the graffiti as an image to be combined, in response to a user operation using the touch pen 141. Here, cropping out the image to be combined is a process of copying the image of the bangs portion selected by the user, while leaving the original bangs portion appearing in the photographed image intact.
切り出し部241により切り出された前髪部分の合成用画像は貼り付け部242に供給される。以下、適宜、合成用画像として切り出された前髪部分の画像を前髪画像という。 The compositing image of the bangs portion cut out by the cutout unit 241 is supplied to the pasting unit 242. Hereinafter, the image of the bangs portion cut out as the compositing image will be referred to as the bangs image where appropriate.
貼り付け部242は、切り出し部241により切り出された前髪画像を落書き対象の撮影画像上に合成する。前髪部分を切り出すための操作が行われた後、合成先とする位置の選択がユーザにより行われる。 The pasting unit 242 composites the bangs image cut out by the cutout unit 241 onto the captured image of the graffiti target. After performing the operation to cut out the bangs portion, the user selects the position where the bangs will be combined.
<写真シール作成装置の動作>
ここで、図8のフローチャートを参照して、写真シール作成ゲームを提供する写真シール作成装置1の動作について説明する。図8の処理は、400円などの所定の料金分の硬貨が投入されたときに開始される。
<Operation of the photo sticker creation device>
Here, the operation of the photo sticker creating device 1 that provides the photo sticker creating game will be described with reference to the flowchart in Fig. 8. The process in Fig. 8 starts when coins worth a predetermined amount, such as 400 yen, are inserted.
ステップS1において、事前選択処理部211は事前選択処理を行う。事前選択処理においては、利用者の人数の選択、ゲームコースの選択などが行われる。 In step S1, the pre-selection processing unit 211 performs pre-selection processing. The pre-selection processing includes selecting the number of users and the game course.
ステップS2において、撮影処理部212は、撮影部21を制御し、撮影処理を行う。具体的には、撮影処理部212は、カメラ41により取り込まれたライブビュー画像をタッチパネルモニタ42に表示させる。撮影処理部212は、撮影タイミングになったとき、撮影空間にいる利用者を被写体として撮影し、例えばアップ画像となる撮影画像を生成する。アップ画像は、利用者の上半身が大きく写る静止画像である。 In step S2, the photography processing unit 212 controls the photography unit 21 to perform photography processing. Specifically, the photography processing unit 212 displays the live view image captured by the camera 41 on the touch panel monitor 42. When the photography timing arrives, the photography processing unit 212 photographs the user in the photography space as a subject and generates a photographed image, for example, a close-up image. The close-up image is a still image in which the upper half of the user's body is visible.
ステップS3において、編集処理部213は、撮影処理を終えた利用者の移動先とした方の編集空間に対応する編集部51の構成を制御することで編集処理を行う。 In step S3, the editing processing unit 213 performs editing processing by controlling the configuration of the editing unit 51 corresponding to the editing space to which the user has moved after completing the shooting process.
・編集処理
次に、図9フローチャートを参照して、図8のステップS3において行われる編集処理について説明する。
Editing Process Next, the editing process performed in step S3 of FIG. 8 will be described with reference to the flowchart of FIG.
ステップS11において、編集処理部213の表示制御部225は、シール用落書き画面を表示させる。シール用落書き画面には、落書きの対象となる撮影画像とともに、シールデザインを選択するときに操作されるボタン、撮影画像に合成する画像を選択するときに操作されるボタンなどの各種のボタンが表示される。 In step S11, the display control unit 225 of the editing processing unit 213 displays a sticker graffiti screen. The sticker graffiti screen displays the photographed image to be doodled, as well as various buttons, such as buttons to be operated when selecting a sticker design and buttons to be operated when selecting an image to be combined with the photographed image.
ステップS12において、シール用画像生成部222は、利用者による操作に応じた画像処理を撮影画像に対して施し、シール用画像を生成する。 In step S12, the sticker image generation unit 222 performs image processing on the captured image in accordance with the user's operations to generate a sticker image.
ステップS13において、シール用画像生成部222は、シール用落書きが終了か否かを判定する。シール用落書きが終了ではないとステップS13において判定された場合、ステップS11に戻り、シール用落書きが続けられる。例えば、あらかじめ設定された制限時間が経過した場合、シール用落書きは終了となる。 In step S13, the sticker image generation unit 222 determines whether the sticker graffiti has ended. If it is determined in step S13 that the sticker graffiti has not ended, the process returns to step S11, and the sticker graffiti continues. For example, if a preset time limit has elapsed, the sticker graffiti ends.
ステップS14において、表示制御部225は、携帯用落書き画面をタブレット内蔵モニタ61に表示させる。利用者は、携帯用落書き画面を用いて撮影画像の落書きを行う。 In step S14, the display control unit 225 displays the mobile doodle screen on the tablet built-in monitor 61. The user uses the mobile doodle screen to doodle on the captured image.
図10は、携帯用落書き画面の表示例を示す図である。 Figure 10 shows an example of the mobile graffiti screen.
図10に示すように、携帯用落書き画面は、基本的に、中央のサムネイル表示領域303を挟んで各表示が左右対称に設けられることによって構成される。左側の領域は、タブレット内蔵モニタ61に向かって左側に立つ利用者により用いられる領域である。右側の領域は、タブレット内蔵モニタ61に向かって右側に立つ利用者により用いられる領域である。 As shown in FIG. 10, the mobile doodle screen is basically configured with each display arranged symmetrically on either side of the central thumbnail display area 303. The left area is used by a user standing on the left side of the tablet-built-in monitor 61. The right area is used by a user standing on the right side of the tablet-built-in monitor 61.
なお、図10に示される携帯用落書き画面上の各領域を囲む矩形の破線は、画面に実際に表示されるものではない。 Note that the dashed rectangular lines surrounding each area on the mobile doodling screen shown in Figure 10 are not actually displayed on the screen.
携帯用落書き画面の中央に設けられるサムネイル表示領域303は、撮影画像を表すサムネイル画像の表示領域である。利用者は、サムネイル表示領域303に表示されているサムネイル画像を用いて、落書き対象とする撮影画像を選択する。 The thumbnail display area 303, located in the center of the mobile graffiti screen, is a display area for thumbnail images representing captured images. The user uses the thumbnail images displayed in the thumbnail display area 303 to select a captured image on which to doodle.
サムネイル表示領域303には撮影画像によって得られた全ての撮影画像を表すサムネイル画像が表示される。図10の例においては6枚のアップ画像のサムネイル画像が表示されている。図10の例においては、左側の利用者により左上のサムネイル画像が選択され、右側の利用者により右下のサムネイル画像が選択されている。 Thumbnail images representing all captured images are displayed in the thumbnail display area 303. In the example of Figure 10, thumbnail images of six close-up images are displayed. In the example of Figure 10, the user on the left has selected the thumbnail image in the top left, and the user on the right has selected the thumbnail image in the bottom right.
左側の領域の略中央には、落書き入力領域301Lが設けられる。落書き入力領域301Lは、サムネイル画像を用いて選択された、落書き対象となる撮影画像の表示領域である。利用者は、タッチペン141を用いて編集ツールを選択し、落書き入力領域301Lに表示された撮影画像の編集を行うことができる。 A doodle input area 301L is provided approximately in the center of the left-hand area. The doodle input area 301L is a display area for the captured image selected using the thumbnail image on which to doodle. The user can select an editing tool using the touch pen 141 and edit the captured image displayed in the doodle input area 301L.
落書き入力領域301Lの右側には、消しゴムツールを選択するときに押下されるボタン、落書きをリセットするときに押下されるボタン、1つ前の操作に戻るときに押下されるボタンなどが並ぶツール領域302Lが設けられる。 To the right of the doodle input area 301L is a tool area 302L containing buttons such as a button to be pressed to select the eraser tool, a button to be pressed to reset the doodle, and a button to be pressed to return to the previous operation.
ツール領域302Lには、選択ボタン302-1と選択ボタン302-2を含むボタンが表示される。選択ボタン302-1は消しゴムツールを選択するときに押下されるボタンであり、選択ボタン302-2は選択ツールを選択するときに押下されるボタンである。 Tool area 302L displays buttons including selection button 302-1 and selection button 302-2. Selection button 302-1 is pressed to select the eraser tool, and selection button 302-2 is pressed to select the selection tool.
消しゴムツール(通常消しゴム)は、例えば合成済みの合成用画像を消すことに用いられるツールである。選択ツールは、例えば合成済みの合成用画像を選択し、移動させることに用いられるツールである。選択ツールを用いた合成用画像の移動は、タッチペン141の先端を合成用画像に押し当て、その状態のまま動かすいわゆるドラッグアンドドロップの操作により行われる。 The eraser tool (normal eraser) is a tool used, for example, to erase a composite image that has already been combined. The selection tool is a tool used, for example, to select and move a composite image that has already been combined. Moving a composite image using the selection tool is performed by pressing the tip of the stylus 141 against the composite image and then moving it while holding it down, a so-called drag-and-drop operation.
サムネイル表示領域303の下方には、各種の編集ツールを選択するときに押下される選択ボタン305が表示される。利用者は、選択ボタン305を用いて、パレット領域304L,304Rに表示させる編集ツールを切り替えることができる。図10の例においては、レタッチ、メイク、カチューシャ、スタンプ、ペンの各編集ツールの選択ボタンが用意されている。パレット領域304Lに表示させる編集ツールとしてスタンプが選択され、パレット領域304Rに表示させる編集ツールとしてレタッチが選択されている。 Selection buttons 305 are displayed below the thumbnail display area 303 and are pressed to select various editing tools. The user can use the selection buttons 305 to switch between the editing tools displayed in the palette areas 304L and 304R. In the example of Figure 10, selection buttons are provided for the editing tools retouching, makeup, headbands, stamps, and pens. Stamps have been selected as the editing tool to be displayed in the palette area 304L, and retouching has been selected as the editing tool to be displayed in the palette area 304R.
落書き入力領域301Lの下方にはパレット領域304Lが設けられる。パレット領域304Lは、落書き入力領域301Lに表示されている撮影画像に合成させる各種の編集ツールの選択に用いられるボタンなどが表示される領域である。図10の例では、スタンプツールの選択に用いられるボタンがパレット領域304Lに表示されている。 A palette area 304L is provided below the doodle input area 301L. The palette area 304L is an area where buttons used to select various editing tools to be combined with the captured image displayed in the doodle input area 301L are displayed. In the example of Figure 10, the button used to select the stamp tool is displayed in the palette area 304L.
パレット領域304Lの上方には、スタンプツールのカテゴリの選択に用いられるタブが用意される。利用者は、パレット領域304Lに表示させているスタンプツールのカテゴリを、タブを用いて切り替えることができる。 Above the palette area 304L, tabs are provided for selecting stamp tool categories. The user can use the tabs to switch between stamp tool categories displayed in the palette area 304L.
以上のような各表示と同様の表示が携帯用落書き画面の右側にも設けられる。図10の例においては、レタッチツールの選択に用いられるボタンがパレット領域304Rに表示されている。レタッチツールが選択されているとき、上述した前髪レタッチの機能が利用可能となる。 Displays similar to those described above are also provided on the right side of the mobile doodling screen. In the example of Figure 10, buttons used to select retouching tools are displayed in palette area 304R. When a retouching tool is selected, the bangs retouching function described above becomes available.
図11は、図10のパレット領域304Rを拡大して示す図である。 Figure 11 is an enlarged view of the palette area 304R in Figure 10.
パレット領域304Rの上方には、カテゴリの選択に用いられるタブが用意される。利用者は、パレット領域304Rに表示させているツールを、タブを用いて切り替えることができる。図11の例においては、前髪、小顔、目の大きさ、美肌のタブが用意され、そのうちの前髪のタブが選択されている。 Above the palette area 304R, tabs are provided for selecting categories. The user can use the tabs to switch between tools displayed in the palette area 304R. In the example of Figure 11, tabs for bangs, small face, eye size, and beautiful skin are provided, and the bangs tab is selected.
前髪レタッチのツールとして切り出しペンと専用消しゴムが用意される。選択ボタン311は、切り出しペンの太さの選択に用いられるボタンである。選択ボタン312は、専用消しゴムの太さの選択に用いられるボタンである。 A cutout pen and a dedicated eraser are provided as tools for bangs retouching. Selection button 311 is a button used to select the thickness of the cutout pen. Selection button 312 is a button used to select the thickness of the dedicated eraser.
図11の例においては、切り出しペンと専用消しゴムのそれぞれの太さとして3種類の太さが用意されている。切り出しペンは、前髪画像として切り出す前髪部分を選択することに用いられるツールである。専用消しゴムは、撮影画像上に貼り付けた前髪画像を消すことに用いられるツールである。 In the example of Figure 11, three different thicknesses are provided for the cut-out pen and the dedicated eraser. The cut-out pen is a tool used to select the bangs portion to be cut out as a bangs image. The dedicated eraser is a tool used to erase the bangs image pasted onto the captured image.
選択ボタン311と選択ボタン312の下には、前髪レタッチの使い方に関する説明が表示される。前髪レタッチの使い方として、切り出したい部分をペンでなぞり、切り出した画像を好きな位置に配置する操作の説明が表示されている。利用者は、前髪レタッチの使い方に関する説明を見て、切り出しペンと専用消しゴムを用いて前髪のレタッチを行うことになる。 Below selection buttons 311 and 312, instructions on how to use bangs retouch are displayed. The instructions show how to use bangs retouch by tracing the area you want to cut out with a pen and placing the cut-out image in the desired position. After viewing the instructions on how to use bangs retouch, the user can retouch their bangs using the cut-out pen and dedicated eraser.
前髪レタッチが行われた場合、落書き対象として選択中の撮影画像に対して画像処理が施され、落書き入力領域301Rの表示に反映される。落書き入力領域301Rには、前髪の写りが変更された状態の利用者が写る撮影画像が表示される。 When bangs retouching is performed, image processing is applied to the captured image selected as the target for doodling, and the results are reflected in the display in doodling input area 301R. The captured image showing the user with the bangs modified is displayed in doodling input area 301R.
図9の説明に戻り、ステップS15において、携帯用画像生成部224は、前髪レタッチが選択されたか否かを判定する。 Returning to the explanation of Figure 9, in step S15, the portable image generation unit 224 determines whether bangs retouching has been selected.
前髪レタッチが選択されたとステップS15において判定された場合、ステップS16において、前髪レタッチ処理部231は、前髪レタッチのツールを用いた利用者の操作に応じて画像処理を行う。前髪レタッチのツールを用いた操作に応じて行われる画像処理の詳細については後述する。 If it is determined in step S15 that bangs retouching has been selected, in step S16 the bangs retouching processor 231 performs image processing in response to the user's operation using the bangs retouching tool. Details of the image processing performed in response to the operation using the bangs retouching tool will be described later.
ステップS17において、携帯用画像生成部224は、前髪レタッチ以外のツールを用いた利用者による操作に応じて、落書き対象の撮影画像に画像処理を施し、携帯用画像を生成する。前髪レタッチ処理が施された落書き対象の撮影画像に対して、さらに、他のツールを用いた落書きが施される。 In step S17, the portable image generation unit 224 performs image processing on the photographed image of the graffiti target in response to user operations using tools other than the bangs retouching tool, and generates a portable image. Further graffiti is applied using other tools to the photographed image of the graffiti target that has undergone the bangs retouching process.
前髪レタッチが選択されていないとステップS15において判定された場合、ステップS16の処理はスキップされ、ステップS17において、前髪レタッチ以外のツールを用いた操作に応じた画像処理が行われる。 If it is determined in step S15 that bangs retouching has not been selected, step S16 is skipped, and in step S17, image processing is performed in accordance with operations using tools other than bangs retouching.
ステップS18において、携帯用画像生成部224は、携帯用落書きが終了か否かを判定する。携帯用落書きが終了ではないとステップS18において判定された場合、ステップS14に戻り、携帯用落書きが続けられる。例えば、あらかじめ設定された制限時間が経過した場合、携帯用落書きは終了となる。 In step S18, the portable image generation unit 224 determines whether the portable doodle has ended. If it is determined in step S18 that the portable doodle has not ended, the process returns to step S14, and the portable doodle continues. For example, if a preset time limit has elapsed, the portable doodle ends.
携帯用落書きが終了したとステップS18において判定された場合、ステップS19において、印刷処理部214は、シール用落書きによって生成されたシール用画像の印刷を開始する。印刷の開始タイミングは、シール用落書きが行われた後であれば任意のタイミングとすることが可能である。 If it is determined in step S18 that the mobile graffiti has been completed, in step S19, the print processing unit 214 begins printing the sticker image generated by the sticker graffiti. The timing for starting printing can be any time after the sticker graffiti has been completed.
ステップS20において、送信処理部215は、携帯用画像を画像管理サーバに送信する。携帯用画像の送信が終わったとき、図8のステップS3に戻り、写真シール作成ゲームの一連の処理は終了となる。 In step S20, the transmission processing unit 215 transmits the portable image to the image management server. When transmission of the portable image is complete, the process returns to step S3 in Figure 8, and the series of processes for the photo sticker creation game comes to an end.
<前髪レタッチの基本機能>
図12は、前髪レタッチの切り出しペンを用いた操作の例を示す図である。
<Basic bangs retouching functions>
FIG. 12 is a diagram showing an example of an operation using a clipping pen for bangs retouching.
図12には、落書き対象の撮影画像に写る人物の頭部付近のみを示している。前髪レタッチについて、図10の落書き画面の画像とは異なる画像を用いて説明する。後述する他の図においても同様である。前髪レタッチの各機能の操作は、落書き画面に用意される他の機能と同様にタッチペン141を用いて行われる。 Figure 12 shows only the head and surrounding areas of a person appearing in a photographed image on which graffiti is to be added. Bangs retouching will be explained using an image different from the image on the graffiti screen in Figure 10. This also applies to the other figures described below. The bangs retouching functions are operated using the touch pen 141, just like the other functions available on the graffiti screen.
図12の上段に示すように、前髪レタッチの切り出しペンを用いた操作は、例えば、位置p1においてタッチペン141の先端を押し当て、その状態のまま、下段の矢印#1に示すように位置p2まで動かすことによって行われる。すなわち、切り出しペンを用いた切り出し操作は、落書き対象の撮影画像に写る人物の前髪部分をタッチペン141でなぞる操作によって行われる。 As shown in the upper part of Figure 12, the operation of using the cut-out pen for bangs retouching is performed, for example, by pressing the tip of the stylus 141 at position p1 and then, while maintaining that position, moving it to position p2 as indicated by arrow #1 in the lower part. In other words, the cut-out operation using the cut-out pen is performed by tracing the bangs portion of the person appearing in the photographed image to be doodled with the stylus 141.
前髪部分をなぞる操作が行われた場合、位置p1から位置p2までの軌跡に沿った範囲であって、選択中の切り出しペンの太さに応じた範囲が切り出し範囲として選択される。例えば、太い、中、細いの3種類のうちの中の太さがデフォルトの太さとして選択される。 When an operation of tracing the bangs is performed, the range along the trajectory from position p1 to position p2, which corresponds to the thickness of the selected clipping pen, is selected as the clipping range. For example, of the three thicknesses (thick, medium, and thin), the middle thickness is selected as the default thickness.
ここで、切り出し範囲として選択可能な範囲である選択可能範囲は、例えば額(おでこ)から頭頂部までの範囲として制限される。図12の例においては、人物領域のうち、一点鎖線Lより上の範囲が選択可能範囲として設定されている。 The selectable range, which is the range that can be selected as the cut-out range, is limited to, for example, the range from the forehead to the top of the head. In the example of Figure 12, the range above the dashed dotted line L in the person area is set as the selectable range.
位置p2でタッチペン141の先端を画面から離した場合、図13に示すように、切り出し範囲として選択された範囲に写っている前髪部分の画像が前髪画像P1として切り出され、切り出し範囲に重ねて表示される。 When the tip of the stylus 141 is removed from the screen at position p2, the image of the bangs portion that appears in the range selected as the crop area is cropped as bangs image P1 and displayed superimposed on the crop area, as shown in Figure 13.
図13の例においては、切り出し範囲である位置p1から位置p2までの軌跡に重ねて前髪画像P1が表示されているが、切り出し範囲からずれた位置に表示されるようにしてもよい。なお、前髪画像P1の輪郭が破線で示されているが、このような輪郭を表す線が表示されるようにしてもよいし、表示されないようにしてもよい。 In the example of Figure 13, bangs image P1 is displayed superimposed on the trajectory from position p1 to position p2, which is the cut-out range, but it may also be displayed at a position offset from the cut-out range. Note that the outline of bangs image P1 is shown with a dashed line, but the line representing this outline may or may not be displayed.
図14は、前髪画像P1を拡大して示す図である。 Figure 14 is an enlarged view of bangs image P1.
図14に示すように、前髪画像P1は、ユーザにより選択された切り出し範囲に写っている前髪部分の画像である。前髪画像P1が合成用画像として用いられる。 As shown in Figure 14, bangs image P1 is an image of the bangs portion captured within the cropping range selected by the user. Bangs image P1 is used as the compositing image.
前髪画像P1の左上にはキャンセルボタン321が表示され、右下には変形ボタン322が表示される。例えば、前髪画像P1を囲む矩形領域の左上と右下の頂点の位置にキャンセルボタン321と変形ボタン322が表示される。キャンセルボタン321は、前髪画像P1を用いた合成をやめるときに操作されるボタンである。変形ボタン322は、前髪画像P1の拡大縮小、回転などに用いられるボタンである。 A cancel button 321 is displayed in the upper left of the bangs image P1, and a transform button 322 is displayed in the lower right. For example, the cancel button 321 and the transform button 322 are displayed at the top left and bottom right vertices of a rectangular area surrounding the bangs image P1. The cancel button 321 is a button that is operated to stop compositing using the bangs image P1. The transform button 322 is a button used to enlarge, reduce, rotate, etc. the bangs image P1.
変形ボタン322を押下した状態でユーザがタッチペン141を動かすことに応じて、図15に示すように、前髪画像P1は、拡大縮小したり、回転したりして表示される。図15Aは、前髪画像P1が縮小した状態を示し、図15Bは、前髪画像P1が回転した状態を示す。 As the user moves the stylus 141 while the transformation button 322 is pressed, the bangs image P1 is displayed as enlarged, reduced, or rotated, as shown in FIG. 15. FIG. 15A shows the bangs image P1 in a reduced state, and FIG. 15B shows the bangs image P1 in a rotated state.
ユーザは、切り出した前髪画像の大きさを拡大縮小したり、回転したりして前髪画像P1の大きさと向きを調整することができる。拡大縮小と回転だけでなく、左右反転などの他の調整を行うことができるようにしてもよい。 The user can adjust the size and orientation of the bangs image P1 by scaling and rotating the cropped bangs image. In addition to scaling and rotation, other adjustments such as left-right flipping may also be possible.
図16は、前髪画像P1の貼り付け位置の選択の例を示す図である。 Figure 16 shows an example of selecting the pasting position for bangs image P1.
上述したようにして切り出し範囲を選択した後、ユーザは、タッチペン141で前髪画像P1上の位置を選択し、その状態のまま任意の位置に動かすことによって貼り付け位置を選択することができる。図16の例においては、上段に示すように前髪画像P1上の位置p11が選択され、下段に示すように、右方の位置p12までタッチペン141が動かされている。タッチペン141の移動に追従して、前髪画像P1が動いて表示される。 After selecting the cut-out range as described above, the user can select a position on the bangs image P1 with the touch pen 141 and then move it to any position in that state to select the paste position. In the example of Figure 16, position p11 on the bangs image P1 is selected as shown in the top row, and the touch pen 141 is moved to position p12 to the right as shown in the bottom row. The bangs image P1 moves and is displayed in accordance with the movement of the touch pen 141.
位置p12においてユーザがタッチペン141の先端を画面から離した場合、前髪画像P1が位置p12に合成される(貼り付けられる)。ユーザは、タッチペン141によって前髪画像P1を再度押下し、その状態のまま他の位置に動かすことによって、前髪画像P1の合成位置をずらすこともできる。 When the user removes the tip of the stylus 141 from the screen at position p12, bangs image P1 is superimposed (pasted) at position p12. The user can also shift the superimposed position of bangs image P1 by pressing the stylus 141 again on bangs image P1 and then moving it to another position while still holding it down.
落書き対象の撮影画像上のどの位置にでも前髪画像P1を合成することができるようにしてもよいし、選択可能範囲と同じ範囲内の位置に合成位置が制限されるようにしてもよい。 The bangs image P1 may be composited at any position on the photographed image of the graffiti target, or the composite position may be limited to positions within the same range as the selectable range.
落書き対象の撮影画像に複数の人物が写っている場合、前髪画像の切り出し元となった人物の範囲内の位置に合成位置が制限されるようにしてもよい。 If the photographed image on which the graffiti is to be created contains multiple people, the composition position may be limited to a position within the range of the person from whom the bangs image was extracted.
この場合、例えば落書き対象の撮影画像にユーザAとユーザBの2人の人物が写っており、ユーザAの前髪部分が切り出されたとき、前髪画像は、ユーザA上の位置にだけ合成することが可能とされ、ユーザB上の位置には合成することが不可とされる。ユーザAが写っている領域とユーザBが写っている領域は、撮影画像を解析することによって特定される。 In this case, for example, if two people, user A and user B, appear in the captured image to be graffitied, and user A's bangs are cut out, the bangs image can only be composited onto the position of user A, and cannot be composited onto the position of user B. The areas containing user A and user B are identified by analyzing the captured image.
髪色や髪質が違ったり、撮影時の光の当たり方が違ったりして、前髪の写りは人によって異なる。別人の前髪を合成することができるとした場合、別人の前髪が合成されることによって前髪部分の写りが違和感のある写りとなってしまうことがあるが、そのようなことを防ぐことが可能となる。 Fangs look different from person to person due to differences in hair color and texture, as well as the way the light hits them during photography. If it were possible to composite bangs from different people, the bangs could end up looking unnatural, but this can be prevented.
図17は、前髪画像P1の合成例を示す図である。 Figure 17 shows an example of compositing bangs image P1.
図17の例においては、額の略中央の位置である位置p21に前髪画像P1が合成されている。位置p21に前髪画像P1が合成されることにより、撮影画像に写る人物の前髪の写りは、毛量が増えた写りになっている。 In the example of Figure 17, bangs image P1 is composited at position p21, which is approximately the center of the forehead. By composited bangs image P1 at position p21, the person's bangs appear to have more hair in the captured image.
このように、ユーザは、撮影画像に写る人物の前髪の部分を、前髪の流れの方向になぞる操作によって切り出し範囲を選択することができる。なぞる操作によって選択することができることから、ユーザは、前髪の細かい部分を切り出すことが可能となる。 In this way, the user can select the cutout area by tracing the bangs of a person in the captured image in the direction of the bangs' flow. Because the selection can be made by tracing, the user can cut out the fine details of the bangs.
前髪レタッチの機能を利用することにより、ユーザは、自分や一緒に写っている友達の前髪の写りをこだわって仕上げることが可能となる。 By using the bangs retouching function, users can fine-tune the appearance of their own bangs and those of their friends in photos.
また、撮影画像に複数人の人物が写っている場合、それぞれの人物の領域に選択可能範囲が設定されることから、それぞれのユーザは、自分が写っている領域に設定された選択可能範囲から切り出した前髪画像を用いて、自分の前髪の写りを調整することができる。 In addition, if a captured image contains multiple people, a selectable range is set for each person's area, allowing each user to adjust the appearance of their own bangs using a bangs image cut out from the selectable range set for the area in which they appear.
<前髪レタッチの詳細>
・合成済みの前髪画像の切り出し
図18は、切り出し範囲の選択の他の例を示す図である。
<Bangs retouching details>
Cutting out the combined bangs image FIG. 18 is a diagram showing another example of selection of the cut-out range.
一度合成した前髪画像P1を含む範囲を、切り出しペンを使用して切り出し範囲として選択することにより、ユーザは、前髪画像P1を含む画像を新たな前髪画像として切り出すことができる。 By using the cut-out pen to select the area containing the bangs image P1 that has already been synthesized as the cut-out area, the user can cut out the image containing the bangs image P1 as a new bangs image.
図18の上段の例においては、位置p31を始点として、連続する山状の実線で示す、前髪画像P1の上を通る位置p32までの軌跡がタッチペン141により選択されている。この場合、図18の下段に示すように、位置p31から位置p32までの軌跡に沿った範囲の前髪画像P11が切り出される。前髪画像P11には、撮影画像に写る前髪の部分と、合成済みの前髪画像P1の部分とが含まれる。 In the example at the top of Figure 18, a path starting from position p31 to position p32, which passes over bangs image P1 and is shown as a continuous, mountain-shaped solid line, is selected with the touch pen 141. In this case, as shown in the bottom of Figure 18, bangs image P11 is cut out from the range along the path from position p31 to position p32. Bangs image P11 includes the portion of the bangs that appears in the captured image and the portion of the bangs image P1 that has already been synthesized.
図18の例においては前髪画像P1の全体を含む範囲が前髪画像P11として切り出されているが、前髪画像P1の一部を新たな前髪画像として切り出すことも可能である。このように、切り出しペンを利用することにより、合成済みの前髪画像の一部または全体を含めて新たな前髪画像を切り出すことができる。 In the example of Figure 18, an area including the entire bangs image P1 has been cut out as bangs image P11, but it is also possible to cut out a portion of bangs image P1 as a new bangs image. In this way, by using the cut-out pen, it is possible to cut out a new bangs image that includes part or all of the previously synthesized bangs image.
・専用消しゴム
図19は、専用消しゴムを用いた操作の例を示す図である。
Dedicated Eraser FIG. 19 shows an example of an operation using a dedicated eraser.
上述したように、専用消しゴムは、撮影画像上に合成した前髪画像を消すことに用いられる消去ツールである。図19の上段に示す状態は、前髪画像P1が額の略中央の位置p21(図17)に合成された状態である。 As mentioned above, the dedicated eraser is an erasing tool used to erase a bangs image superimposed on a captured image. The top part of Figure 19 shows a state in which bangs image P1 has been superimposed at position p21 (Figure 17), approximately in the center of the forehead.
この状態において、ユーザが専用消しゴムを選択し、位置p41から位置p42までタッチペン141を動かした場合、図19の下段に示すように、合成済みの前髪画像P1のうち、タッチペン141の軌跡に沿った範囲が消える。 In this state, if the user selects the dedicated eraser and moves the stylus 141 from position p41 to position p42, the area of the synthesized bangs image P1 along the path of the stylus 141 will disappear, as shown in the lower part of Figure 19.
図19の下段においては、タッチペン14の軌跡に沿った、選択中の太さに応じた範囲が破線の範囲A1として示されている。専用消しゴムを選択した状態で入力されたタッチペン141の軌跡に沿った範囲A1内の部分でも、専用消しゴムによって消える部分は合成済みの前髪画像P1の部分だけであり、撮影画像に写る、元の前髪の部分は消えない。前髪画像P1の消えた部分には、撮影画像に写っている額の部分などが見える状態になる。 In the lower part of Figure 19, the range along the trajectory of the stylus 14, corresponding to the selected thickness, is shown as dashed line range A1. Even within range A1 along the trajectory of the stylus 141 input while the dedicated eraser is selected, only the portion of the synthesized bangs image P1 is erased by the dedicated eraser; the original bangs portion that appears in the captured image is not erased. In the erased portion of bangs image P1, the forehead and other parts that appear in the captured image are visible.
このように、専用消しゴムは、合成済みの前髪画像P1を消すために用いられる専用のツールである。専用消しゴムを利用することにより、ユーザは、合成済みの前髪部分の形を整えることができる。 In this way, the dedicated eraser is a dedicated tool used to erase the composited bangs image P1. By using the dedicated eraser, the user can adjust the shape of the composited bangs portion.
範囲A1に含まれる前髪画像P1の部分が位置に関わらず同じ消え方をするのではなく、タッチペン141の軌跡上の位置から離れるに従って、消え方の程度が変化するようにしてもよい。専用消しゴムを用いて選択された位置を中心として、専用消しゴムの太さの範囲内の各位置のぼかし率が、中心からの距離に応じて変化することになる。中心から離れるほど、高いぼかし率が設定される。 The portion of the bangs image P1 included in range A1 does not disappear in the same way regardless of position, but the degree of disappearance may change as it moves away from the position on the path of the stylus 141. The position selected using the dedicated eraser is set as the center, and the blur rate for each position within the range of the dedicated eraser's thickness changes depending on the distance from the center. The further away from the center, the higher the blur rate is set.
例えば、範囲A1に含まれる前髪画像P1の部分のうち、タッチペン141の軌跡上の位置は前髪画像がしっかり消え、範囲A1の外側に近付くにつれて前髪画像が薄く残るようにして消えることにより、専用消しゴムを用いて消した部分と、その周りの前髪部分との境界をなじませることが可能となる。 For example, of the portion of the bangs image P1 included in range A1, the bangs image disappears completely at the position on the trajectory of the touch pen 141, and as it approaches the outside of range A1, the bangs image disappears in a faint manner, making it possible to blend the boundary between the portion erased with the dedicated eraser and the surrounding bangs portion.
・専用消しゴムと通常消しゴムの違い
選択ボタン302-2(図10)を押下したときに選択される通常消しゴムは、ペン画像、スタンプ画像などの、前髪画像以外の合成用画像を消すことに用いられる消去ツールである。ペン画像は、ペンツールを用いて入力される合成用画像である。タッチペン141の軌跡に沿ってペン画像が合成される。スタンプ画像は、スタンプツールを用いて入力される合成用画像である。タッチペン141により指定された位置にスタンプ画像が合成される。
Difference between dedicated eraser and normal eraser The normal eraser, which is selected when the selection button 302-2 (Fig. 10) is pressed, is an erasing tool used to erase images to be combined other than the bangs image, such as pen images and stamp images. The pen image is an image to be combined that is input using the pen tool. The pen image is combined along the trajectory of the touch pen 141. The stamp image is an image to be combined that is input using the stamp tool. The stamp image is combined at the position specified by the touch pen 141.
図20は、スタンプ画像が合成された撮影画像の例を示す図である。 Figure 20 shows an example of a captured image with a stamp image superimposed on it.
図20の上段に示す状態は、前髪画像P1に重ねてハート型のスタンプ画像P21が合成されている状態である。スタンプ画像P21は、図10のパレット領域304Lに表示されているような、スタンプツールを選択したときに表示される複数のスタンプ画像の中から選択された合成用画像である。スタンプ画像P21は、前髪画像P1のレイヤより上のレイヤに合成される。 The top part of Figure 20 shows a state in which a heart-shaped stamp image P21 has been superimposed on the bangs image P1. Stamp image P21 is an image for compositing selected from the multiple stamp images displayed when the stamp tool is selected, as shown in the palette area 304L in Figure 10. Stamp image P21 is composited onto a layer above the layer of bangs image P1.
この状態において、図20の下段に示すように、ユーザが位置p41から位置p42までタッチペン141を動かし、消しゴムの太さに応じた範囲A1に対する操作が行われた場合について説明する。 In this state, as shown in the lower part of Figure 20, we will explain what happens when the user moves the stylus 141 from position p41 to position p42, performing an operation on range A1 corresponding to the eraser thickness.
ユーザが選択していたツールが通常消しゴムである場合、図21に示すようにスタンプ画像P21の部分が消える。図21の例においては、スタンプ画像P21のうち、通常消しゴムを用いて操作が行われた範囲A1に含まれる部分が消え、前髪画像P1の表示はそのままとなる(消えない)。ペン画像などの、前髪画像以外の合成用画像に対して同様の操作が行われた場合も同様の表示となる。 If the tool selected by the user is a regular eraser, the stamp image P21 will disappear as shown in Figure 21. In the example of Figure 21, the part of stamp image P21 that is included in range A1 operated with the regular eraser will disappear, and the bangs image P1 will remain displayed (will not disappear). The same display will occur if a similar operation is performed on a compositing image other than a bangs image, such as a pen image.
一方、ユーザが選択していたツールが専用消しゴムである場合、図22に示すように前髪画像P11の部分が消える。図22の例においては、前髪画像P1のうち、専用消しゴムを用いて選択された範囲A1に含まれる部分が消え、スタンプ画像P21の表示はそのままとなる(消えない)。 On the other hand, if the tool selected by the user is the dedicated eraser, the bangs image P11 will disappear as shown in Figure 22. In the example of Figure 22, the part of the bangs image P1 that is included in the range A1 selected using the dedicated eraser will disappear, and the stamp image P21 will remain displayed (will not disappear).
このように、ユーザは、前髪画像に重ねてペン画像やスタンプ画像を合成している場合、ペン画像やスタンプ画像などの合成用画像を消す場合には通常消しゴムを用い、前髪画像を消す場合には専用消しゴムを用いることになる。専用消しゴムが通常消しゴムとは別に用意されていることにより、ユーザは、スタンプ画像などを前髪画像に重ねて合成した場合であってもそれぞれの見え方を細かく調整することができる。 In this way, when a user composites a pen image or stamp image over a bangs image, they use the regular eraser to erase the composite image, such as the pen image or stamp image, and the dedicated eraser to erase the bangs image. By providing a dedicated eraser separate from the regular eraser, users can fine-tune the appearance of each image, even when a stamp image or other image is composited over a bangs image.
専用消しゴムではなく、切り出しペンを選択した状態で、合成済みのペン画像やスタンプ画像上の位置をなぞる操作を行った場合も同様に、操作が反映される部分は、なぞる操作によって選択された範囲に含まれる前髪の部分となる。すなわち、切り出しペンを選択した状態で、合成済みのスタンプ画像上の位置をなぞる操作を行った場合、なぞる操作によって選択された範囲に含まれるスタンプ画像の部分は切り出されずに(コピーされずに)、同じ範囲に含まれる前髪の部分が前髪画像として切り出される。 Similarly, if you select the cut-out pen instead of the dedicated eraser and trace a position on an already-composite pen image or stamp image, the part that will be affected will be the part of the bangs that is included in the range selected by the tracing operation. In other words, if you select the cut-out pen and trace a position on an already-composite stamp image, the part of the stamp image that is included in the range selected by the tracing operation will not be cut out (copied), and the part of the bangs that is included in the same range will be cut out as the bangs image.
・案内の表示
上述したように、前髪画像の切り出しは、額から頭頂部までの選択可能範囲内において可能となる。選択可能範囲は、例えば、撮影画像を解析することによって抽出された人物の特徴に基づいて設定される。
As described above, the bangs image can be cut out within a selectable range from the forehead to the top of the head. The selectable range is set based on, for example, the features of the person extracted by analyzing the captured image.
撮影画像に写る人物の首元付近などの、選択可能範囲外の位置で切り出し範囲の選択が行われた場合、選択可能範囲内で切り出し範囲の選択を行うことの案内がユーザに提示されるようにしてもよい。 If a cutout range is selected outside the selectable range, such as near the neck of a person in the captured image, the user may be prompted to select a cutout range within the selectable range.
図23は、切り出し範囲に関するメッセージの例を示す図である。 Figure 23 shows an example message regarding the cutout range.
図23に示すように、切り出し範囲の選択を、額から頭頂部までの範囲などの選択可能範囲内で行うことを案内するメッセージが表示される。図23に示すメッセージは、例えば落書き対象の撮影画像に重ねて、表示制御部225によりポップアップ表示される。 As shown in Figure 23, a message is displayed instructing the user to select the cropping area within a selectable range, such as the area from the forehead to the top of the head. The message shown in Figure 23 is displayed as a pop-up by the display control unit 225, superimposed on the captured image of the graffiti target, for example.
これにより、ユーザは、選択可能範囲外の位置で自分が切り出し操作を行っていることを確認することができる。前髪レタッチが選択された場合に、選択可能範囲がどの範囲であるのかを表す情報が落書き対象の撮影画像に重畳して表示されるようにしてもよい。 This allows the user to confirm that they are performing the crop operation at a position outside the selectable range. When bangs retouch is selected, information indicating the selectable range may be displayed superimposed on the captured image of the doodle target.
<変形例>
・選択ツールについて
選択ボタン302-2を押下したときに選択される選択ツールは、合成済みの前髪画像を移動させる(合成位置を変更させる)ことにも用いられる。選択ツールを利用して前髪画像を移動させることは、例えば前髪レタッチの機能が選択されている場合に有効となる。
<Modification>
Regarding the selection tool, the selection tool selected when the selection button 302-2 is pressed can also be used to move the composited bangs image (change the composite position). Moving the bangs image using the selection tool is effective when, for example, the bangs retouching function is selected.
前髪レタッチの機能が選択されておらず、前髪レタッチのボタンなどがパレット領域304L,304Rに表示されていない場合、選択ツールを利用して移動させることができる画像は、ペン画像やスタンプ画像などの合成用画像となる。ユーザは、前髪画像を移動させる場合には前髪レタッチの機能を選択した状態で選択ツールを用い、例えばスタンプ画像を移動させる場合には前髪レタッチの機能を選択していない状態で選択ツールを用いることになる。 When the bangs retouch function is not selected and buttons such as the bangs retouch function are not displayed in palette areas 304L and 304R, the images that can be moved using the selection tool are composite images such as pen images and stamp images. When moving a bangs image, the user uses the selection tool with the bangs retouch function selected, and when moving a stamp image, for example, the user uses the selection tool with the bangs retouch function not selected.
・切り出し範囲の例
髪の毛以外の額の皮膚の部分などが前髪画像に含まれる場合、その合成時に、合成先に写っている内容に応じた画像処理が行われるようにしてもよい。例えば、前髪画像の各画素の明るさと、前髪画像の各画素に対応する合成先の画素の明るさとが比較され、暗い方の画素を優先させるようにして(暗い方の画素が表示されるようにして)合成が行われる。
Example of cutout range If the bangs image includes skin on the forehead other than hair, image processing may be performed according to the content of the composite image when combining them. For example, the brightness of each pixel in the bangs image is compared with the brightness of the corresponding pixel in the composite image, and the combination is performed with priority given to the darker pixels (the darker pixels are displayed).
これにより、前髪画像に含まれる皮膚の部分の合成先に前髪がある場合、合成先の前髪が見えるように合成が行われる。 This means that if bangs are to be composited into the skin portion of the bangs image, the composite will be performed so that the bangs are visible.
髪の毛以外の、額の皮膚の部分などが切り出し範囲に含まれる場合に、髪の毛以外の部分が前髪画像から除去されるようにしてもよい。髪の毛以外の部分を除去することは、例えば、撮影画像に基づいて生成された髪の毛マスク画像などに基づいて行われる。髪の毛マスク画像は、髪の毛が写っている領域を、他の領域と区別して特定することに用いられる画像である。 If parts other than hair, such as skin on the forehead, are included in the cropping range, the parts other than hair may be removed from the bangs image. Removal of parts other than hair is performed, for example, based on a hair mask image generated based on the captured image. A hair mask image is an image used to identify and distinguish areas containing hair from other areas.
なぞる操作によって選択された部分を切り出して任意の位置に合成する処理が、前髪部分以外の部分を対象として行われるようにしてもよい。例えば、肩付近に写っている髪の毛の部分を切り出し、任意の位置に合成することができるようにしてもよい。 The process of cutting out the portion selected by the tracing operation and combining it in a desired position may also be performed on portions other than the bangs. For example, it may be possible to cut out the hair near the shoulders and combine it in a desired position.
切り出しペンを用いたなぞる操作によって切り出し範囲の選択が行われるものとしたが、ユーザにより選択された位置の所定の大きさの矩形領域が切り出し範囲として選択されるようにしてもよい。 In the above example, the cut-out area is selected by tracing using the cut-out pen, but a rectangular area of a specified size at the position selected by the user may also be selected as the cut-out area.
・その他
切り出しペンと専用消しゴムの太さとして3種類の太さが用意されているものとしたが、それぞれの太さを、スライドバー等のGUIを用いてユーザが調整することができるようにしてもよい。
Other Although three different thicknesses are provided for the cut-out pen and the dedicated eraser, the user may be able to adjust each thickness using a GUI such as a slide bar.
前髪レタッチの機能を用いたレタッチ後の撮影画像と、レタッチ前の撮影画像とが並べて表示され、見比べることができるようにしてもよい。 You can also display a captured image after retouching using the bangs retouching function and an unretouched image side by side for comparison.
前髪レタッチの機能によって合成した前髪の部分をも含めて、髪の毛の色を変更することができるようにしてもよい。また、前髪の部分をも含めて、髪の毛の艶を表現する画像処理が髪の毛全体に施されるようにしてもよい。 It may also be possible to change the hair color, including the bangs created using the bangs retouching function. Furthermore, image processing to enhance the shine of the hair may be applied to the entire hair, including the bangs.
ある撮影画像から切り出した前髪画像を他の撮影画像に合成することができるようにしてもよい。 It may also be possible to composite a bangs image cut out from one captured image with another captured image.
・プログラムについて
上述した一連の処理は、ハードウェアにより実行することもできるし、ソフトウェアにより実行することもできる。一連の処理をソフトウェアにより実行する場合には、そのソフトウェアを構成するプログラムが、専用のハードウェアに組み込まれているコンピュータ、または、汎用のパーソナルコンピュータなどにインストールされる。
Regarding the program: The above-described series of processes can be executed by hardware or software. When the series of processes is executed by software, the program that constitutes the software is installed on a computer that is built into dedicated hardware, or on a general-purpose personal computer.
インストールされるプログラムは、光ディスク(CD-ROM(Compact Disc-Read Only Memory),DVD(Digital Versatile Disc)等)や半導体メモリなどよりなるリムーバブルメディアに記録して提供される。また、ローカルエリアネットワーク、インターネット、デジタル放送といった、有線または無線の伝送媒体を介して提供されるようにしてもよい。プログラムは、ROMや記憶部に、あらかじめインストールしておくことができる。 The program to be installed is provided by being recorded on removable media such as an optical disc (CD-ROM (Compact Disc-Read Only Memory), DVD (Digital Versatile Disc), etc.) or semiconductor memory. It may also be provided via wired or wireless transmission media such as a local area network, the Internet, or digital broadcasting. The program can be pre-installed in ROM or memory.
コンピュータが実行するプログラムは、本明細書で説明する順序に沿って時系列に処理が行われるプログラムであっても良いし、並列に、あるいは呼び出しが行われたとき等の必要なタイミングで処理が行われるプログラムであっても良い。なお、本明細書に記載された効果はあくまで例示であって限定されるものでは無く、また他の効果があってもよい。 The program executed by the computer may be a program in which processing is performed chronologically in the order described in this specification, or a program in which processing is performed in parallel or at the required timing, such as when called. Note that the effects described in this specification are merely examples and are not limiting, and other effects may also be present.
本技術の実施の形態は、上述した実施の形態に限定されるものではなく、本技術の要旨を逸脱しない範囲において種々の変更が可能である。 The embodiments of this technology are not limited to the above-described embodiments, and various modifications are possible without departing from the spirit of this technology.
1 写真シール作成装置, 11 事前操作部, 21 撮影部, 51 編集部, 201 制御部, 211 事前選択処理部, 212 撮影処理部,213 編集処理部, 221 画像解析部, 224 携帯用画像生成部, 225 表示制御部, 231 前髪レタッチ処理部, 241 切り出し部, 242 貼り付け部 1 Photo sticker creation device, 11 Pre-operation unit, 21 Photography unit, 51 Editing unit, 201 Control unit, 211 Pre-selection processing unit, 212 Photography processing unit, 213 Editing processing unit, 221 Image analysis unit, 224 Portable image generation unit, 225 Display control unit, 231 Bangs retouching processing unit, 241 Cutting unit, 242 Pasting unit
Claims (11)
前記ユーザにより選択された前記撮影画像上の位置に写る前髪に重ねて、前記合成用画像を合成して表示させる
処理をコンピュータに実行させるためのプログラム。 In response to a selection operation by a user in an area of the bangs of a person appearing as a subject in a photographed image, an image of the bangs in a range along a trajectory from a start position to an end position of the selection operation is cut out as an image to be synthesized;
The image for composition is superimposed on the bangs appearing at the position on the photographed image selected by the user, and the image for composition is composited and displayed.
A program that causes a computer to execute a process.
画面から離す前記ユーザの操作が行われた位置に前記合成用画像を合成して表示させる
請求項1に記載のプログラム。 Displaying the extracted composite image in accordance with the user's operation of selecting a position on the screen;
2. The program according to claim 1, wherein the image to be combined is displayed at a position where the user has performed an operation to move the image away from the screen .
請求項1または2に記載のプログラム。 3. The program according to claim 1 , wherein the position of the composite image after the composite process is changed in response to an operation by the user .
請求項1乃至3のいずれかに記載のプログラム。 The cutting out of the image to be combined is performed by cutting out an image of the bangs within a predetermined width range selected by the user along a path from the start position to the end position of the selection operation.
4. The program according to claim 1.
請求項4に記載のプログラム。 When the selection operation is performed on a range including the top of the already-combined image for synthesis , the image for synthesis is cut out by cutting out the bangs portion and the image for synthesis portion included in the range along the path of the selection operation.
The program according to claim 4.
請求項4または5に記載のプログラム。 The program according to claim 4 or 5, wherein when the selection operation targeting an area including the top of the composite image that has already been composited is performed with an erase tool selected, the display of the portion of the composite image that is included in the area along the trajectory of the selection operation is erased.
前記合成用画像の上に合成して表示された前記他の合成用画像の上を含む範囲を対象とした前記選択操作が前記消去ツールを選択した状態で行われた場合、前記他の合成用画像の表示をそのままに、前記合成用画像の部分の表示を消去する
請求項6に記載のプログラム。 In response to an operation by the user, another image to be synthesized selected from a plurality of types is synthesized on the synthesized image to be synthesized and displayed;
The program according to claim 6, wherein when the selection operation targeting an area including the other composite image displayed on top of the composite image is performed with the erase tool selected, the display of the other composite image remains as is but the display of the other composite image is erased.
請求項1乃至7のいずれかに記載のプログラム。 The program according to claim 1 , wherein when the selection operation is performed at a position outside an area showing bangs , a guide is displayed to indicate that the selection operation should be performed within an area showing bangs .
請求項1乃至8のいずれかに記載のプログラム。 The program according to claim 1 , wherein the size and orientation of the image to be combined are changed in accordance with an operation by the user before selecting a combination position .
撮影画像に被写体として写る人物の前髪の領域においてユーザにより選択操作が行われることに応じて、前記選択操作の開始位置から終了位置までの軌跡に沿った範囲の前髪の画像を合成用画像として切り出し、
前記ユーザにより選択された前記撮影画像上の位置に写る前髪に重ねて、前記合成用画像を合成して表示させる
画像処理方法。 The image processing device
In response to a selection operation by a user in an area of the bangs of a person appearing as a subject in a photographed image, an image of the bangs in a range along a trajectory from a start position to an end position of the selection operation is cut out as an image to be synthesized;
the image for composition is superimposed on the bangs appearing at a position on the photographed image selected by the user, and the composition image is then composited and displayed.
前記ユーザにより選択された前記撮影画像上の位置に写る前髪に重ねて、前記合成用画像を合成して表示させる表示制御部と
を備える画像処理装置。 a cutout unit that, in response to a selection operation by a user in an area of the bangs of a person appearing as a subject in a photographed image, cuts out an image of the bangs in a range along a trajectory from a start position to an end position of the selection operation as an image to be synthesized;
a display control unit that displays the image to be combined by superimposing the image to be combined on the bangs that appear at the position on the photographed image selected by the user;
An image processing device comprising :
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021118203A JP7736989B2 (en) | 2021-07-16 | 2021-07-16 | Image processing device, image processing method, and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021118203A JP7736989B2 (en) | 2021-07-16 | 2021-07-16 | Image processing device, image processing method, and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2023013787A JP2023013787A (en) | 2023-01-26 |
| JP7736989B2 true JP7736989B2 (en) | 2025-09-10 |
Family
ID=85129147
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2021118203A Active JP7736989B2 (en) | 2021-07-16 | 2021-07-16 | Image processing device, image processing method, and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7736989B2 (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20150021356A1 (en) | 2013-07-17 | 2015-01-22 | ColorCulture Network, LLC | Method, system and apparatus for dispensing products for a personal care service, instructing on providing a personal care treatment service, and selecting a personal care service |
| JP2016192151A (en) | 2015-03-31 | 2016-11-10 | 株式会社ニコン | Image processing apparatus and program |
| JP2019505024A (en) | 2016-07-25 | 2019-02-21 | 北京拉酷网絡科技有限公司 | Touch-sensitive surface-interaction method and apparatus with gesture control by display |
| JP2020167457A (en) | 2019-03-28 | 2020-10-08 | キヤノン株式会社 | Image processing equipment, image processing methods, and programs |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3405776B2 (en) * | 1993-09-22 | 2003-05-12 | コニカ株式会社 | Contour line search device for cutout images |
-
2021
- 2021-07-16 JP JP2021118203A patent/JP7736989B2/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20150021356A1 (en) | 2013-07-17 | 2015-01-22 | ColorCulture Network, LLC | Method, system and apparatus for dispensing products for a personal care service, instructing on providing a personal care treatment service, and selecting a personal care service |
| JP2016192151A (en) | 2015-03-31 | 2016-11-10 | 株式会社ニコン | Image processing apparatus and program |
| JP2019505024A (en) | 2016-07-25 | 2019-02-21 | 北京拉酷网絡科技有限公司 | Touch-sensitive surface-interaction method and apparatus with gesture control by display |
| JP2020167457A (en) | 2019-03-28 | 2020-10-08 | キヤノン株式会社 | Image processing equipment, image processing methods, and programs |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2023013787A (en) | 2023-01-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7664512B2 (en) | Image processing device, image processing method, and program | |
| JP4863476B2 (en) | Imaging apparatus, program, information storage medium, photo printing apparatus, and photo printing method | |
| JP7626951B2 (en) | Image processing device, image processing method, and program | |
| JP4406741B2 (en) | Photography editing method and photography editing apparatus | |
| JP7736989B2 (en) | Image processing device, image processing method, and program | |
| JP6765054B2 (en) | Photo creation game console and display method | |
| JP6792154B2 (en) | Photographing game console and image processing method | |
| JP2021182104A (en) | Photo-creating game consoles, editing methods, and programs | |
| JP6867587B2 (en) | Photographing game consoles, information processing methods, and programs | |
| JP7590641B2 (en) | Image processing device, image processing method, and program | |
| JP7152687B2 (en) | Display control device, display control method, program | |
| JP6712047B2 (en) | Photo creation game machine and image generation method | |
| JP6477780B2 (en) | Photo sticker creation apparatus, photo sticker creation method, and photo sticker creation processing program | |
| JP2018064220A (en) | Photograph preparation game machine and display method | |
| JP2021044734A (en) | Image processing equipment, image processing methods, and programs | |
| JP7751175B2 (en) | Image processing device, image processing method, and program | |
| JP5076911B2 (en) | Image photographing and editing apparatus and method, and program | |
| JP7773023B2 (en) | Image processing device, image processing method, and program | |
| JP7560711B2 (en) | IMAGE PROCESSING APPARATUS, IMAGE PROCESSING METHOD, AND IMAGE PROCESSING | |
| JP2019203996A (en) | Photograph creation game machine, display control method, and program | |
| JP7140962B2 (en) | Image processing device, control method, and program | |
| JP6232662B2 (en) | Photography game machine and its control program | |
| JP7804175B2 (en) | Photographing device, information processing method, and program | |
| JP7590640B2 (en) | Image processing device, image processing method, and program | |
| JP7017724B2 (en) | Image editing equipment, image editing methods and computer programs |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20240628 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20250225 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20250306 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20250502 |
|
| 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: 20250729 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20250811 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7736989 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |