JP5392575B2 - Image editing apparatus and method, and program - Google Patents
Image editing apparatus and method, and program Download PDFInfo
- Publication number
- JP5392575B2 JP5392575B2 JP2010293888A JP2010293888A JP5392575B2 JP 5392575 B2 JP5392575 B2 JP 5392575B2 JP 2010293888 A JP2010293888 A JP 2010293888A JP 2010293888 A JP2010293888 A JP 2010293888A JP 5392575 B2 JP5392575 B2 JP 5392575B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- region
- boundary
- subject
- editing
- 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
Images
Landscapes
- Editing Of Facsimile Originals (AREA)
- Studio Devices (AREA)
- Cameras Adapted For Combination With Other Photographic Or Optical Apparatuses (AREA)
- Image Processing (AREA)
- Processing Of Color Television Signals (AREA)
Description
本発明は、画像編集装置および方法、並びにプログラムに関し、特に、立体的な仕上がりの画像を得ることができるようにする画像編集装置および方法、並びにプログラムに関する。 The present invention relates to an image editing apparatus and method, and a program, and more particularly, to an image editing apparatus and method, and a program capable of obtaining a three-dimensional finished image.
従来、利用者(被写体)を撮影し、得られた撮影画像に予め用意されている画像を合成したり、文字や線画を重畳させたりする落書き編集処理を行い、シール紙に印刷し、写真シールとして利用者に提供する写真シール機が存在する。 Conventionally, a user (subject) is photographed, and a graffiti editing process is performed in which a prepared image is combined with the obtained photographed image or a character or a line drawing is superimposed, printed on sticker paper, and a photo sticker There is a photographic seal machine provided to users.
この写真シール機は、例えば、ゲームセンタ等の娯楽(遊戯)施設に設置され、主に女子高校生や女子中学生等を中心とする利用者に有料でサービスを提供する。利用者は、写真シールの作成作業をゲームとして楽しむだけでなく、出力される様々なサイズの編集済み画像が印刷されている写真シールを仲間同士で切り分け合って、それぞれの所持品に貼り付けたりしている。 This photo sticker is installed, for example, in an entertainment (game) facility such as a game center, and provides services mainly to high school girls and female junior high school students for a fee. Users can not only enjoy creating photo stickers as a game, but also cut out photo stickers with edited images printed in various sizes and paste them on their belongings. doing.
写真シール作成のゲームは、被写体の撮影、その撮影画像に対する落書き編集、そして、編集済み画像の写真シールへの出力、という流れで行われる。利用者は、この一連の工程を制限時間内でプレイし、その成果物として作成された写真シールを受け取る。したがって、利用者の満足度を向上させるためには、写真シール作成作業のゲームとしての面白さを向上させるとともに、写真シールの出来栄えを向上させることも重要になる。 The game for creating a photo sticker is performed by shooting a subject, editing a graffiti on the shot image, and outputting the edited image to a photo sticker. The user plays this series of processes within the time limit, and receives a photo sticker created as a product. Therefore, in order to improve user satisfaction, it is important to improve the fun of the photo sticker creation work as well as to improve the quality of the photo sticker.
このような写真シール作成のゲームを提供する写真シール機においては、撮影画像における被写体の周囲(外側)に、オーラ画像等の装飾画像を合成したり、被写体の輪郭部分に影をつけたような画像処理を施すことがなされている。 In a photo sticker that provides such a game for creating a photo sticker, a decorative image such as an aura image is synthesized around the subject (outside) of the photographed image, or the contour portion of the subject is shaded. Image processing is performed.
特に、撮影画像における被写体領域をマスクした被写体マスク画像を縮小した縮小マスク画像と、被写体マスク画像を拡大した拡大マスク画像との差分を算出し、撮影画像における、その差分に対応する差分領域に対して光彩(グロー)効果やぼかし処理等の画像処理を施すようにした写真シール機がある(特許文献1参照)。 In particular, the difference between the reduced mask image obtained by reducing the subject mask image obtained by masking the subject area in the photographed image and the enlarged mask image obtained by enlarging the subject mask image is calculated, and the difference area corresponding to the difference in the photographed image is calculated. There is a photographic seal machine that performs image processing such as a glow effect and a blurring process (see Patent Document 1).
このように、撮影画像において、被写体領域と背景領域との境界部分に画像処理を施すことで、利用者に提供される写真シールは、面白みのある仕上がりや、自然で美しい仕上がりのものとなる。 As described above, by performing image processing on the boundary portion between the subject area and the background area in the photographed image, the photographic sticker provided to the user has an interesting finish or a natural and beautiful finish.
しかしながら、上述した画像処理では、被写体と背景との間にリアルな奥行き感を出すことは難しく、平面的な仕上がりとなってしまっていた。 However, in the above-described image processing, it is difficult to give a real sense of depth between the subject and the background, resulting in a flat finish.
本発明は、このような状況に鑑みてなされたものであり、立体的な仕上がりの画像を得ることができるようにするものである。 The present invention has been made in view of such a situation, and makes it possible to obtain a three-dimensional finished image.
本発明の一側面の画像編集装置は、利用者を被写体として撮影し、得られた画像を出力する画像編集装置であって、前記利用者を被写体として撮影し撮影画像を得る撮影手段と、前記撮影画像において、前記被写体の肌の領域である肌領域を検出する検出手段と、前記撮影画像をぼかすぼかし処理を施し、ぼかし撮影画像を得る撮影画像ぼかし処理手段と、前記ぼかし撮影画像の色を調整することで、色調整撮影画像を得る色調整手段と、前記撮影画像において、前記被写体領域以外の領域をマスクしたマスク画像を生成するマスク画像生成手段と、前記マスク画像をぼかすぼかし処理を施し、ぼかしマスク画像を得るマスク画像ぼかし処理手段と、2値化された前記マスク画像および前記ぼかしマスク画像において、対応する画素の画素値に対して排他的論理和を用いることで、前記被写体の領域である被写体領域と、前記被写体領域以外の領域との境界に対して幅を有する領域であって、前記境界を中心に画素の密度を異なるようにする境界領域を設定する設定手段と、前記色調整撮影画像から、前記境界領域に対応する部分の境界領域画像を抽出する抽出手段と、抽出された前記境界領域画像と、前記撮影画像とを合成する合成手段とを備え、前記撮影画像ぼかし処理手段は、前記撮影画像の前記肌領域に対しては、ぼかし具合の低いぼかし処理を施す。 An image editing apparatus according to an aspect of the present invention is an image editing apparatus that captures an image of a user as a subject and outputs the obtained image. An image capturing unit that captures an image of the user as an object and obtains a captured image; In the photographed image, a detecting means for detecting a skin area that is the skin area of the subject, a blurring process for blurring the photographed image to obtain a blurred photographed image, and a color of the blurred photographed image. A color adjustment unit that obtains a color-adjusted captured image by adjusting, a mask image generating unit that generates a mask image that masks an area other than the subject area in the captured image, and a blurring process that blurs the mask image. , Mask image blur processing means for obtaining a blur mask image, pixel values of corresponding pixels in the binarized mask image and the blur mask image On the other hand, by using exclusive OR, the area having a width with respect to the boundary between the subject area that is the subject area and the area other than the subject area, and the pixel density around the boundary is increased. Setting means for setting different boundary areas; Extracting means for extracting a boundary area image of a part corresponding to the boundary area from the color-adjusted captured image; the extracted boundary area image; and the captured image And the photographic image blurring processing unit performs a blurring process with a low degree of blurring on the skin area of the photographic image.
この画像編集装置の、撮影手段は、例えば、撮影制御部により構成され、検出手段は、例えば、肌領域検出部により構成され、撮影画像ぼかし処理手段は、例えば、合成画像ぼかし処理部により構成され、色調整手段は、例えば、色調整部により構成され、マスク画像生成手段は、例えば、マスク画像生成部により構成され、マスク画像ぼかし処理手段は、例えば、マスク画像ぼかし処理部により構成され、設定手段は、例えば、境界領域設定部により構成され、抽出手段は、例えば、抽出部により構成され、合成手段は、例えば、合成部により構成される。 In this image editing apparatus, the photographing unit is configured by, for example, a photographing control unit, the detecting unit is configured by , for example, a skin region detecting unit, and the captured image blurring processing unit is configured by, for example, a composite image blurring processing unit. The color adjustment unit is configured by, for example, a color adjustment unit, the mask image generation unit is configured by , for example, a mask image generation unit, and the mask image blurring processing unit is configured by, for example, a mask image blurring processing unit. The means is configured by, for example, a boundary region setting unit, the extraction unit is configured by, for example, an extraction unit, and the synthesis unit is configured by, for example, a synthesis unit.
本発明の画像編集装置においては、利用者が被写体として撮影されて撮影画像が得られ、撮影画像において、被写体の肌の領域である肌領域が検出され、撮影画像をぼかすぼかし処理が施され、ぼかし撮影画像が得られ、ぼかし撮影画像の色が調整されることで、色調整撮影画像が得られ、撮影画像において、被写体領域以外の領域をマスクしたマスク画像が生成され、マスク画像をぼかすぼかし処理が施され、ぼかしマスク画像が得られ、2値化されたマスク画像およびぼかしマスク画像において、対応する画素の画素値に対して排他的論理和を用いることで、被写体の領域である被写体領域と、被写体領域以外の領域との境界に対して幅を有する領域であって、境界を中心に画素の密度を異なるようにする境界領域が設定され、色調整撮影画像から、境界領域に対応する部分の境界領域画像が抽出され、抽出された境界領域画像と、撮影画像とが合成される。撮影画像の肌領域に対しては、ぼかし具合の低いぼかし処理が施される。 In the image editing apparatus of the present invention, a user is photographed as a subject to obtain a photographed image, and in the photographed image, a skin region that is a skin region of the subject is detected, and blur processing is performed to blur the photographed image, A blurred photographed image is obtained, and the color of the blurred photographed image is adjusted to obtain a color-adjusted photographed image. In the photographed image, a mask image that masks areas other than the subject area is generated, and the masked image is blurred. Processing, a blurred mask image is obtained, and in the binarized mask image and the blurred mask image, an exclusive OR is used for the pixel values of the corresponding pixels, so that the subject area that is the subject area And an area that has a width relative to the boundary with the area other than the subject area, and a boundary area that sets the pixel density to be different around the boundary is set. From the image, the boundary region image of a portion corresponding to the boundary area is extracted, and the extracted boundary region image, and the captured image are synthesized. A blur process with a low degree of blur is performed on the skin area of the photographed image.
これにより、被写体の顔や手と背景との境界は自然な立体感のある仕上がりの画像を得ることができる。 As a result, it is possible to obtain an image with a natural three-dimensional finish at the subject's face or the boundary between the hand and the background .
前記色調整手段には、前記撮影画像の明度および彩度のいずれか一方または両方を調整させることができる。 The color adjusting means can adjust either one or both of brightness and saturation of the captured image.
これにより、被写体が背景に滑らかに調和している立体的な仕上がりの合成画像や、被写体が際立って見える立体的な仕上がりの合成画像を得ることができる。 As a result, it is possible to obtain a three-dimensional composite image in which the subject smoothly harmonizes with the background, and a three-dimensional composite image in which the subject stands out.
前記色調整手段には、前記抽出手段により抽出された前記境界領域画像の色をさらに調整させることができる。 The color adjusting unit may further adjust the color of the boundary region image extracted by the extracting unit.
前記色調整手段には、前記境界領域画像において、前記被写体領域と前記被写体領域以外の領域との境界の内側と外側とで異なるように色を調整させることができる。 The color adjusting means can adjust the color so that the boundary area image differs between the inside and outside of the boundary between the subject area and the area other than the subject area.
これにより、例えば、被写体が背景に滑らかに調和している立体的な仕上がりの合成画像や、被写体が際立って見える立体的な仕上がりの合成画像を得ることができる。 Thereby, for example, it is possible to obtain a three-dimensional composite image in which the subject smoothly harmonizes with the background, or a three-dimensional composite image in which the subject stands out.
前記設定手段には、前記境界領域の幅を可変に調整させることができる。 The setting means can variably adjust the width of the boundary region.
これにより、立体的な仕上がりとなる合成画像において、被写体と背景との間に面白みのある奥行き感を出すことができる。 This makes it possible to provide an interesting depth feeling between the subject and the background in the composite image having a three-dimensional finish.
前記画像編集装置には、利用者による編集入力に基づいて、前記合成手段により合成された合成画像を編集する編集手段をさらに設け、前記編集手段には、編集入力に用いられる編集用画像として、前記色調整手段による色調整に応じた前記編集用画像を、前記利用者に選択させることができる。 The image editing apparatus further includes an editing unit that edits the synthesized image synthesized by the synthesizing unit based on an editing input by a user, and the editing unit has an editing image used for editing input, The editing image corresponding to the color adjustment by the color adjusting means can be selected by the user.
この画像編集装置の編集手段は、例えば、編集処理部により構成される。 The editing means of this image editing apparatus is constituted by an editing processing unit, for example.
これにより、例えば、ファッション誌の表紙に用いられるような仕上がりの画像を得ることができる。 Thereby, for example, a finished image used for the cover of a fashion magazine can be obtained.
本発明の一側面の画像編集方法は、利用者を被写体として撮影し、得られた画像を出力する画像編集装置の画像編集方法であって、前記利用者を被写体として撮影し撮影画像を得る撮影ステップと、前記撮影画像において、前記被写体の肌の領域である肌領域を検出する検出ステップと、前記撮影画像をぼかすぼかし処理を施し、ぼかし撮影画像を得る撮影画像ぼかし処理ステップと、前記ぼかし撮影画像の色を調整することで、色調整撮影画像を得る色調整ステップと、前記撮影画像において、前記被写体領域以外の領域をマスクしたマスク画像を生成するマスク画像生成ステップと、前記マスク画像をぼかすぼかし処理を施し、ぼかしマスク画像を得るマスク画像ぼかし処理ステップと、2値化された前記マスク画像および前記ぼかしマスク画像において、対応する画素の画素値に対して排他的論理和を用いることで、前記被写体の領域である被写体領域と、前記被写体領域以外の領域との境界に対して幅を有する領域であって、前記境界を中心に画素の密度を異なるようにする境界領域を設定する設定ステップと、前記色調整撮影画像から、前記境界領域に対応する部分の境界領域画像を抽出する抽出ステップと、抽出された前記境界領域画像と、前記撮影画像とを合成する合成ステップとを含み、前記撮影画像ぼかし処理ステップは、前記撮影画像の前記肌領域に対しては、ぼかし具合の低いぼかし処理を施す。 An image editing method according to one aspect of the present invention is an image editing method of an image editing apparatus that captures a user as a subject and outputs the obtained image, and captures the user as a subject to obtain a captured image. A detection step for detecting a skin region that is a skin region of the subject in the photographed image, a photographed image blur processing step for performing a blurring process for blurring the photographed image to obtain a blur photographed image, and the blur photographing by adjusting the color of an image, blurring the color adjustment to obtain a color adjustment captured image in the captured image, a mask image generation step of generating a mask image obtained by masking an area other than the subject region, the mask image A mask image blur processing step for performing blur processing to obtain a blur mask image, the binarized mask image and the blur mask In the image, the exclusive OR is used for the pixel values of the corresponding pixels, so that an area having a width with respect to the boundary between the subject area that is the subject area and the area other than the subject area is used. A setting step for setting a boundary region that makes the density of pixels different from each other around the boundary, an extraction step for extracting a boundary region image corresponding to the boundary region from the color-adjusted photographed image, and extraction A combination step of combining the boundary area image and the photographed image, and the photographed image blurring processing step performs a blurring process with a low degree of blurring on the skin region of the photographed image.
本発明の画像編集方法においては、利用者が被写体として撮影されて撮影画像が得られ、撮影画像において、被写体の肌の領域である肌領域が検出され、撮影画像をぼかすぼかし処理が施され、ぼかし撮影画像が得られ、ぼかし撮影画像の色が調整されることで、色調整撮影画像が得られ、撮影画像において、被写体領域以外の領域をマスクしたマスク画像が生成され、マスク画像をぼかすぼかし処理が施され、ぼかしマスク画像が得られ、2値化されたマスク画像およびぼかしマスク画像において、対応する画素の画素値に対して排他的論理和を用いることで、被写体の領域である被写体領域と、被写体領域以外の領域との境界に対して幅を有する領域であって、境界を中心に画素の密度を異なるようにする境界領域が設定され、色調整撮影画像から、境界領域に対応する部分の境界領域画像が抽出され、抽出された境界領域画像と、撮影画像とが合成される。撮影画像の肌領域に対しては、ぼかし具合の低いぼかし処理が施される。 In the image editing method of the present invention, a user is photographed as a subject to obtain a photographed image, and in the photographed image, a skin region that is a skin region of the subject is detected, and blur processing is performed to blur the photographed image, A blurred photographed image is obtained, and the color of the blurred photographed image is adjusted to obtain a color-adjusted photographed image. In the photographed image, a mask image that masks areas other than the subject area is generated, and the masked image is blurred. Processing, a blurred mask image is obtained, and in the binarized mask image and the blurred mask image, an exclusive OR is used for the pixel values of the corresponding pixels, so that the subject area that is the subject area And an area that has a width relative to the boundary with the area other than the subject area, and a boundary area that sets the pixel density to be different around the boundary is set. From the image, the boundary region image of a portion corresponding to the boundary area is extracted, and the extracted boundary region image, and the captured image are synthesized. A blur process with a low degree of blur is performed on the skin area of the photographed image.
本発明の一側面のプログラムは、利用者を被写体として撮影し、得られた画像得られた画像を出力する処理をコンピュータに実行させるプログラムであって、前記利用者を被写体として撮影し撮影画像を得る撮影ステップと、前記撮影画像において、前記被写体の肌の領域である肌領域を検出する検出ステップと、前記撮影画像をぼかすぼかし処理を施し、ぼかし撮影画像を得る撮影画像ぼかし処理ステップと、前記ぼかし撮影画像の色を調整することで、色調整撮影画像を得る色調整ステップと、前記撮影画像において、前記被写体領域以外の領域をマスクしたマスク画像を生成するマスク画像生成ステップと、前記マスク画像をぼかすぼかし処理を施し、ぼかしマスク画像を得るマスク画像ぼかし処理ステップと、2値化された前記マスク画像および前記ぼかしマスク画像において、対応する画素の画素値に対して排他的論理和を用いることで、前記被写体の領域である被写体領域と、前記被写体領域以外の領域との境界に対して幅を有する領域であって、前記境界を中心に画素の密度を異なるようにする境界領域を設定する設定ステップと、前記色調整撮影画像から、前記境界領域に対応する部分の境界領域画像を抽出する抽出ステップと、抽出された前記境界領域画像と、前記撮影画像とを合成する合成ステップとを含む処理をコンピュータに実行させ、前記撮影画像ぼかし処理ステップは、前記撮影画像の前記肌領域に対しては、ぼかし具合の低いぼかし処理を施す。 A program according to an aspect of the present invention is a program that causes a computer to execute a process of photographing a user as a subject and outputting the obtained image. The photograph of the user as a subject is captured. A capturing step, a detection step of detecting a skin region that is a skin region of the subject in the captured image, a blurring process for blurring the captured image, and a captured image blurring process step for obtaining a blurred captured image; by adjusting the color blur the captured image, a color adjusting step of obtaining a color adjustment captured image in the captured image, a mask image generation step of generating a mask image obtained by masking an area other than the subject region, the mask image A mask image blurring processing step for performing blurring processing for blurring and obtaining a blurring mask image, and the binarized matrix In the image and the blur mask image, by using exclusive OR for the pixel value of the corresponding pixel, the width of the boundary between the subject region that is the subject region and the region other than the subject region is increased. A setting step for setting a boundary region that has different pixel densities around the boundary, and extraction for extracting a boundary region image corresponding to the boundary region from the color-adjusted captured image A computer that executes a process including a step and a combining step of combining the extracted boundary region image and the captured image, and the captured image blurring processing step is performed on the skin region of the captured image. Apply a blur process with a low degree of blur.
このプログラムは、所定の記録媒体に記録されて、例えば、ドライブにより読み出され、写真シール作成装置にインストールされる。記録媒体は、フロッピ(登録商標)ディスクなどよりなる磁気ディスク、CD-ROM(Compact Disc Read Only Memory)、DVD-ROM(Digital Versatile Disc)などよりなる光ディスク、MD(Mini Disc)(登録商標)などよりなる光磁気ディスク、または半導体メモリなどのリムーバブルメディアにより構成される。 This program is recorded on a predetermined recording medium, read by a drive, for example, and installed in the photo sticker creating apparatus. Recording media include magnetic disks made of floppy (registered trademark) disks, optical disks made of CD-ROM (Compact Disc Read Only Memory), DVD-ROM (Digital Versatile Disc), MD (Mini Disc) (registered trademark), etc. And a removable medium such as a semiconductor memory.
本発明によれば、立体的な仕上がりの画像を得ることが可能となる。 According to the present invention, a three-dimensional finished image can be obtained.
図1は、写真シール作成装置1の構成例を示す斜視図である。
FIG. 1 is a perspective view showing a configuration example of a photographic
写真シール作成装置1は、撮影や編集等の作業を利用者にゲームとして行わせ、撮影画像や編集済み画像を提供する代わりに利用者より代金を受け取るゲーム機(画像処理装置)である。写真シール作成装置1はゲームセンタなどの店舗に設置される。利用者は1人であることもあるし、複数人であることもある。
The photo
写真シール作成装置1が提供する写真シール作成ゲームにおいて、利用者は、代金を投入し、自身が被写体となって撮影を行い、撮影によって得られた撮影画像の中から編集対象画像を選択し、編集対象画像に対して、背景や前景となるフレーム画像、手書きの線画やスタンプ画像を合成する編集機能を用いて編集を行うことにより、撮影画像を彩り豊かな画像にする。ゲーム終了後、利用者は、編集済み画像が印刷されたシール紙を受け取ることになる。
In the photo sticker creation game provided by the photo
図1に示すように、写真シール作成装置1の筐体10は、主に、撮影ユニット12、編集ユニット13、天井ストロボユニット14、および背景カーテンユニット15から構成される。
As shown in FIG. 1, the
撮影ユニット12は、利用者を被写体として撮影する機能を有するユニットである。撮影ユニット12の内部の撮影空間において撮影が行われる。撮影ユニット12は、大きく前方ユニット12Aと後方ユニット12Bに分けられる。
The photographing
前方ユニット12Aは、撮影空間の前方側となるユニットであり、撮影に関する処理を行ったり、利用者による操作を受け付けたりする。前方ユニット12Aの側面には、外付けモニタ16、スピーカ17、タッチペン18a,18bが設けられる。外付けモニタ16の下方には硬貨投入口55が設けられる。後方ユニット12Bは撮影空間の後方側となる壁状のユニットである。
The
編集ユニット13は、利用者が撮影画像に対して編集等を行うための構成が設けられるユニットである。2組の利用者が同時に編集作業を行うことができるように、編集等を行うための構成が編集ユニット13の2つの面のそれぞれに設けられる。写真シール作成装置1は、ある利用者に写真シール作成ゲームを行わせることと、他の利用者に写真シール作成ゲームを行わせることを並列的に実行することができる。
The
撮影空間の上方に設けられる天井ストロボユニット14は、撮影タイミングに合わせて撮影空間内に向けてフラッシュを発光するストロボを内蔵する。天井ストロボユニット14の内部には蛍光灯が配置されており、撮影空間の照明としても機能する。
The
後方ユニット12Bの上部には、背景に利用する可動式のカーテン(背景カーテン)が収納された背景カーテンユニット15が設けられている。背景カーテンユニット15には、色または柄の異なる巻き取り式のカーテンが複数収納されている。背景カーテンユニット15は、前方ユニット12Aに設けられたカメラやストロボ等の撮影機能と連動して動作し、撮影の際に、例えば利用者により選択された色のカーテンを下ろし、その他のカーテンを巻き取る。
On the upper part of the
前方ユニット12Aの側面に設けられる外付けモニタ16は、撮影空間で撮影が行われている場合に、次に撮影空間を利用するために撮影空間の外で待機している利用者や、写真シール作成装置1の傍を通りかかった人に対して、ゲームの進行状況を示す映像を表示したり、ゲームの流れや遊び方等を案内する映像(デモンストレーション)を表示したり、写真シール作成装置1が設置されている店舗や地域の広告等を表示したりする。外付けモニタ16はタブレット内蔵モニタであり、事前接客処理に関する画面を表示し、利用者による選択操作を受け付ける。
The
スピーカ17は、外付けモニタ16の表示に合わせた音声を出力する。
The
タッチペン18a,18bは事前接客作業を行う利用者により用いられる。利用者は、タッチペン18(タッチペン18a,18b)によって外付けモニタ16をタップしたり、外付けモニタ16上を移動させたりすることにより、各種の項目を選択することができる。タッチペンを2本用意しておくことにより、事前接客作業における選択操作を2人の利用者が同時に行うことが可能になる。
The touch pens 18a and 18b are used by a user who performs pre-service work. The user can select various items by tapping the
図2は、写真シール作成装置1を別の角度から見た斜視図である。
FIG. 2 is a perspective view of the photo
編集ユニット13は、前方ユニット12Aの、後方ユニット12B側の面(撮影空間側の面)と反対の面に隣接して設置される。編集ユニット13の2つの側面には、利用者が撮影画像に対する編集等を行うための第1編集インタフェース13Aと第2編集インタフェース13Bがそれぞれ設けられる。
The
ここで、写真シール作成ゲームの流れと、それに伴う利用者の移動について図3を参照して説明する。図3は、写真シール作成装置1を上から見た平面図である。
Here, the flow of the photo sticker creation game and the accompanying movement of the user will be described with reference to FIG. FIG. 3 is a plan view of the photo
外付けモニタ16の前方の空間である事前接客空間31において硬貨投入口55に代金を投入した利用者(利用者A)は、タッチペン18を用いて、外付けモニタ16に表示される画面に従って各種の設定を行う。事前接客空間31においては、例えば、画像をサーバに送信する機能である携帯送信の機能を利用するか否かの選択が事前接客作業として行われる。
A user (user A) who has paid for the coin insertion slot 55 in the pre-service space 31 in front of the
事前接客作業を終えた利用者は、前方ユニット12Aと後方ユニット12Bの間に形成された撮影空間32に入り、前方ユニット12Aに設けられたカメラやモニタを利用して撮影作業を行う(利用者B)。
The user who has completed the customer service operation enters the imaging space 32 formed between the
撮影作業を終えた利用者は、撮影画像の中から編集対象画像を選択し、選択した後に例えば前方ユニット12Aのモニタに表示される移動案内に従って、撮影空間32から、編集作業を行う編集空間に移動する。
The user who has finished the shooting work selects an image to be edited from the shot images, and after selecting the image, for example, according to the movement guide displayed on the monitor of the
編集ユニット13の、前方ユニット12Aから見て右側(第1編集インタフェース13Aの前方)に第1編集空間33Aが形成され、左側(第2編集インタフェース13Bの前方)に第2編集空間33Bが形成される。以下、適宜、第1編集空間33Aと第2編集空間33Bを区別する必要が無い場合、まとめて編集空間33という。
A first editing space 33A is formed on the right side (in front of the
撮影空間32の利用者(利用者B)は、撮影作業を終えたとき、2つの編集空間のうち、空いている方に案内される。第1編集空間33Aまたは第2編集空間33Bに移動した利用者は、編集作業を開始する。第1編集空間33Aの利用者である利用者Cと、第2編集空間33Bの利用者である利用者C'は同時に編集作業を行うことができる。 The user (user B) of the shooting space 32 is guided to the free one of the two editing spaces when the shooting operation is finished. The user who has moved to the first editing space 33A or the second editing space 33B starts editing work. A user C who is a user of the first editing space 33A and a user C ′ who is a user of the second editing space 33B can simultaneously perform editing work.
編集作業を終えた利用者は、次に、分割数の設定などの印刷設定作業を編集空間33において行う。印刷設定作業が終了した後、印刷が開始される。画像の印刷中、利用者は、携帯送信の機能を利用することを事前接客作業時に選択している場合、サーバに保存しておく画像を編集済み画像の中から選択したり、ミニゲームを行ったりする。印刷が終了した場合、利用者は印刷物受取領域34に移動してシール紙を受け取り、一連の写真シール作成ゲームを終える。 The user who has finished the editing work next performs a print setting work such as setting the number of divisions in the editing space 33. After the print setting work is completed, printing is started. During image printing, if the user has selected to use the mobile transmission function during customer service, the user can select an image to be stored on the server from among the edited images or play a mini game. Or When printing is completed, the user moves to the printed material receiving area 34 to receive the sticker paper, and finishes a series of photo sticker creation games.
次に、各ユニットの構成について説明する。 Next, the configuration of each unit will be described.
図4は、前方ユニット12Aの構成例を示す図である。図4の正面12A−1は、撮影空間32で撮影作業を行う利用者にとって前方に位置する面である。
FIG. 4 is a diagram illustrating a configuration example of the
正面12A−1のほぼ中央には、撮影空間32内の被写体を撮影するカメラ51が設けられており、カメラ51の下にタッチパネルモニタ52が設けられている。
A
正面12A−1には、カメラ51による撮影タイミングに合わせて発光する照明装置53−1乃至53−8が設置されている他、撮影作業を行っている利用者が手荷物等を置くための荷物置き場54−1および54−2が、タッチパネルモニタ52の下にある照明装置53−7を挟んで左右に設けられている。正面12A−1の例えば天井付近には、写真シール作成ゲームの撮影作業における案内音声、BGM(Back Ground Music)、効果音等の音声を出力するスピーカも設けられる。
The
カメラ51は、CCD(Charge Coupled Device)などの撮像素子により構成され、撮影空間32にいる利用者を撮影する。カメラ51により取り込まれた取り込み画像は、一部が切り出されたり、背景等の画像が合成されたりして、タッチパネルモニタ52にリアルタイムで表示される。利用者により撮影が指示されたときなどの所定のタイミングでカメラ51により取り込まれた画像は撮影画像(静止画像)として保存される。
The
タッチパネルモニタ52は、LCD(Liquid Crystal Display)などのライブビューモニタと、それに積層されたタッチパネルにより構成される。タッチパネルモニタ52は、カメラ51により取り込まれた取り込み画像に背景や前景等の画像を合成した合成画像(動画像)を表示するライブビューモニタとしての機能と、各種のGUI(Graphical User Interface)画像を表示するとともに、画面上に重畳されたタッチパネルにより利用者の選択操作を受け付ける機能とを備えている。
The touch panel monitor 52 includes a live view monitor such as an LCD (Liquid Crystal Display) and a touch panel laminated thereon. The touch panel monitor 52 has a function as a live view monitor that displays a composite image (moving image) obtained by combining an image such as a background or foreground with a captured image captured by the
図5は、編集ユニット13の、撮影ユニット12側から見て右側面の構成例(第1編集空間33A側の構成例)を示す図である。
FIG. 5 is a diagram showing a configuration example of the
第1編集インタフェース13Aには、タブレット内蔵モニタ62、タッチペン63−1,63−2、およびスピーカ64が設けられる。これらの上方には照明装置61も設けられる。
The
タブレット内蔵モニタ62は、タッチペン63−1または63−2を用いて操作入力が可能なタブレットがLCDなどの表示デバイス上に重畳されることによって構成される。タブレット内蔵モニタ62には、例えば、編集対象画像の編集に用いられる画面である編集画面が表示される。2人で同時に編集作業を行う場合、タッチペン63−1は一方の利用者により用いられ、タッチペン63−2は他方の利用者により用いられる。以下、適宜、タッチペン63−1とタッチペン63−2をまとめてタッチペン63という。
The tablet built-in
スピーカ64は、案内音声、効果音、BGMなどの編集作業に関する音声を出力する。なお、第2編集空間33B側の編集ユニット13の構成も、図5に示す第1編集空間33A側の構成と基本的に同様の構成である。
The
図6は、編集ユニット13の、写真シール排出部13Cの構成例を示す図である。
FIG. 6 is a diagram illustrating a configuration example of the photo
写真シール排出部13Cには写真シール排出口71が設けられる。写真シール排出口71には、第1編集空間33Aの利用者が編集作業を行って得られた画像が印刷されたシール紙と、第2編集空間33Bの利用者が編集作業を行って得られた画像が印刷されたシール紙が排出される。編集ユニット13の内部にはプリンタが設けられており、編集作業により得られた画像の印刷がそのプリンタにより行われる。
A photographic sticker discharge port 71 is provided in the photographic sticker discharge portion 13C. The photo sticker discharge port 71 is obtained by a sticker on which an image obtained by editing by the user of the first editing space 33A is printed and by a user of the second editing space 33B. The sticker paper on which the printed image is printed is discharged. A printer is provided inside the
次に、写真シール作成装置1の内部構成について説明する。図7は、写真シール作成装置1の内部の構成例を示すブロック図である。上述した構成と同じ構成には同じ符号を付してある。重複する説明については適宜省略する。
Next, the internal configuration of the photo
制御部101は、写真シール作成装置1の全体の動作を制御する。制御部101には、記憶部102、通信部103、ドライブ104、ROM(Read Only Memory)106、RAM(Random Access Memory)107、事前接客部111、撮影部112、編集部113、プリンタ114が接続される。
The
記憶部102は、ハードディスクやフラッシュメモリなどの不揮発性の記憶媒体からなり、制御部101から供給された各種の設定情報を記憶する。記憶部102に記憶されている情報は制御部101により適宜読み出される。
The
通信部103はインターネットなどのネットワークのインタフェースであり、制御部101による制御に従って外部の装置と通信を行う。
A
ドライブ104には、光ディスク(CD-ROM(Compact Disc-Read Only Memory)、DVD(Digital Versatile Disc)を含む)や半導体メモリなどよりなるリムーバブルメディア105が適宜装着される。ドライブ104によりリムーバブルメディア105から読み出されたコンピュータプログラムやデータは、制御部101に供給され、記憶部102に記憶されたり、インストールされたりする。
A
ROM106には、制御部101において実行されるプログラムやデータが記憶されている。RAM107は、制御部101が処理するデータやプログラムを一時的に記憶する。
The
事前接客部111は、事前接客作業を利用者に行わせるための処理である事前接客処理を行うブロックであり、外付けモニタ16、スピーカ17、タッチペン18、および硬貨処理部121から構成される。
The pre-service section 111 is a block that performs pre-service processing, which is processing for causing the user to perform pre-service work, and includes an
外付けモニタ16は、制御部101による制御に従って、写真シール作成ゲームの流れや遊び方等を案内する映像などを表示する。また、外付けモニタ16は、代金が投入された後、携帯送信の機能を利用するか否かの選択画面などを表示する。外付けモニタ16に対して入力された利用者の操作の内容を表す信号は制御部101に供給される。
The
硬貨処理部121は、硬貨投入口55に対する硬貨の投入を検出する。硬貨処理部121は、硬貨が投入されたことを検出した場合、そのことを表す起動信号を制御部101に出力する。
The
撮影部112は、撮影作業を利用者に行わせるための処理である撮影処理を行うブロックであり、背景カーテンユニット15、照明制御部122、カメラ51、タッチパネルモニタ52、およびスピーカ124から構成される。
The photographing
背景カーテンユニット15は、制御部101より供給される背景制御信号に基づいて背景カーテンの上げ下ろしを行う。背景の選択は利用者が手動で行うようにしてもよい。なお、背景カーテンにおいて、複数の昇降式のカーテンのうちの1枚をクロマキ用のカーテンとしたり、クロマキ用のカーテンを予め撮影空間の背面に張り付けるようにするとともに、編集処理において用いられる合成用の背景画像を複数用意することで、編集作業時に、利用者が、クロマキ用のカーテン部分に、所望する合成用の背景画像を合成できるようにしてもよい。
The
照明制御部122は、制御部101より供給される照明制御信号に基づいて、照明装置53−1乃至53−8を点灯したり、消灯したりする。
The
カメラ51は、制御部101による制御に従って撮影を行い、撮影によって得られた画像データを制御部101に出力する。撮影処理においては、撮影が複数回行われ、複数の撮影画像の中から選択された所定の数の画像が編集対象画像として記憶部102に保存される。
The
編集部113は、編集作業を利用者に行わせるための処理である編集処理を行うブロックであり、第1編集インタフェース13Aに対応する第1編集部113Aと、第2編集インタフェース13Bに対応する第2編集部113Bよりなる。ここでは第1編集部113Aの構成について説明するが、第2編集部113Bも第1編集部113Aと同一の構成を有する。
The editing unit 113 is a block that performs an editing process that is a process for causing the user to perform an editing operation. The editing unit 113 includes a first editing unit 113A corresponding to the
第1編集部113Aは、タブレット内蔵モニタ62、タッチペン63−1,63−2、およびスピーカ64から構成される。
The first editing unit 113A includes a tablet built-in
タブレット内蔵モニタ62は編集用モニタ141とタブレット142により構成され、制御部101による制御に従って編集画面を表示し、編集画面に対する利用者の操作を検出する。利用者の操作の内容を表す信号は制御部101に供給され、編集対象画像の編集が行われる。編集画面には、記憶部102に保存されていた編集対象画像のサムネイル画像が表示され、サムネイル画像をタップすることによって選択された1枚の編集対象画像がサムネイル画像より大きなサイズで表示される。利用者は、拡大して表示させる編集対象画像を適宜切り替え、拡大表示された編集対象画像に対して、編集画面に表示されるペンツールを使って手書きの文字を入力したり、スタンプツールを使ってハート柄などの画像を入力したりすることができる。
The tablet built-in
プリンタ114は、編集処理によって得られた編集済み画像をシール紙162に印刷し、写真シール排出口71に排出する。
The
図8は、制御部101の機能構成例を示すブロック図である。図8に示す構成は、制御部101が所定のプログラムを実行することによって実現される。制御部101においては、事前接客処理部201、撮影処理部202、編集処理部203、印刷処理部204、および事後接客処理部205が実現される。
FIG. 8 is a block diagram illustrating a functional configuration example of the
事前接客処理部201は、写真シール作成ゲームを開始する際に投入される代金(硬貨)に関する処理や、撮影前設定などに関する処理である事前接客処理を行う。撮影処理部202は、利用者を撮影する処理である撮影処理を行う。編集処理部203は、撮影画像に対する編集等の編集処理を行う。印刷処理部204は、編集処理によって得られた画像をシール紙に印刷する印刷処理を行う。事後接客処理部205は、編集作業を終えて印刷が終わるのを待っている利用者に対してミニゲームなどを提供する事後接客処理を行う。
The
つまり、制御部101は、写真シール作成ゲームの各工程に関する処理の制御を行う。
That is, the
図9は、撮影処理部202の詳細な構成例を示す機能ブロック図である。
FIG. 9 is a functional block diagram illustrating a detailed configuration example of the
図9において、撮影処理部202は、撮影制御部211、表示制御部212、および境界領域編集処理部213から構成される。
In FIG. 9, the
撮影制御部211は、利用者が撮影画像に合成する合成用画像を選択する合成用画像選択指示を受け付け、その合成用画像選択指示に応じて、カメラ51を制御し、撮影を開始する。また、撮影制御部211は、利用者による合成用画像選択指示に基づいて選択された合成用画像を、カメラ51により取得された動画像や撮影画像に合成する。そして、撮影制御部211は、合成の結果得られる撮影画像を、例えばRAM107などに一時的に記憶させる。このようにしてRAM107に記憶された合成用画像が合成された撮影画像のうち、利用者により編集対象画像として選択されたものが、記憶部102に保存され、編集作業において編集画像として用いられる。なお、撮影画像に合成される合成用画像は、例えば記憶部102に予め記憶されている。また、合成用画像とは、撮影処理時に撮影画像に前景または背景として合成される画像であり、人物の画像の外縁に合成される装飾画像(例えば、オーラ画像等)も含まれる。具体的には、合成用画像には、例えば、被写体である人物の画像に、絵、模様、図形、および文字のうち少なくともいずれか1つを含む絵柄を付加する背景画像または前景画像である「フレーム画像」や、色や模様のみからなる背景画像である「シンプル画像」などがある。
The
表示制御部212は、利用者が撮影画像に合成する合成用画像を選択するためのGUIの表示を制御したり、合成用画像が合成された動画像や撮影画像などのタッチパネルモニタ52への表示を制御する。
The
境界領域編集処理部213は、合成用画像が合成された撮影画像における、被写体の領域と背景の領域との境界を含む領域である境界領域に対して、所定の画像編集処理を施す。
The boundary area
図10は、図9の境界領域編集処理部213の詳細な構成例を示す機能ブロック図である。
FIG. 10 is a functional block diagram illustrating a detailed configuration example of the boundary area
境界領域編集処理部213は、合成画像ぼかし処理部231、色調整部232、マスク画像生成部233、2値化処理部234、マスク画像ぼかし処理部235、境界領域設定部236、抽出部237、および合成部238から構成される。
The boundary area
合成画像ぼかし処理部231は、撮影制御部211の制御に基づいてカメラ51により取得された撮影画像に合成用画像を合成させた合成画像に対して、ぼかし効果のあるフィルタ処理を施し、その結果得られたぼかし合成画像を、色調整部232に供給する。
The composite image blurring processing unit 231 performs a filter process with a blurring effect on the composite image obtained by combining the composite image with the photographed image acquired by the
色調整部232は、合成画像ぼかし処理部231からのぼかし合成画像の色を調整し、抽出部237に供給する。具体的には、色調整部232は、ぼかし合成画像の明度および彩度のいずれか一方または両方を調整する。
The
マスク画像生成部233は、撮影制御部211の制御に基づいてカメラ51により取得された撮影画像から、その撮影画像において被写体の領域である被写体領域と、被写体領域以外の背景の領域である背景領域とを分けるマスク画像を生成し、2値化処理部234に供給する。
The mask
2値化処理部234は、マスク画像生成部233により生成されたマスク画像において、被写体領域の画素を白画素とし、背景領域の画素を黒画素とする2値化処理を施す。
The
マスク画像ぼかし処理部235は、2値化処理部234により2値化処理されたマスク画像に対して、ぼかし効果のあるフィルタ処理を施し、その結果得られたぼかしマスク画像を、境界領域設定部236に供給する。
The mask image blurring processing unit 235 performs a filtering process having a blurring effect on the mask image binarized by the
境界領域設定部236は、マスク画像ぼかし処理部235からのぼかしマスク画像において、被写体領域(白領域)と背景領域(黒領域)との境界を含む領域(境界近傍の領域)を境界領域として設定し、その境界領域を表す境界領域情報を、抽出部237に供給する。
The boundary
抽出部237は、色調整部232からの色調整されたぼかし合成画像から、境界領域設定部236からの境界領域情報で表わされる境界領域に対応する部分を抽出し、抽出した抽出画像を、合成部238に供給する。
The
合成部238は、抽出部237からの抽出画像と、撮影画像に合成用画像を合成させた合成画像とを合成する。抽出画像が合成された合成画像は、表示制御部212の制御によって、タッチパネルモニタ52に表示されるようになる。
The combining
次に、写真シール作成装置1で行われる写真シール作成ゲームの流れについて、図11のフローチャートを参照して説明する。
Next, the flow of the photo sticker creating game performed in the photo
ステップS1において、写真シール作成装置1の硬貨処理部121は、硬貨が投入されたか否かを判定し、投入されたと判定するまで待機する。
In step S1, the
硬貨が投入されたとステップS1において判定された場合、ステップ2において、事前接客処理部201は事前接客処理を行う。例えば事前接客処理により、携帯送信の機能を利用するか否かが選択され、利用することが選択された場合、利用者の携帯電話機等の携帯端末装置のメールアドレスの入力画面が外付けモニタ16に表示される。利用者は自身の携帯端末装置のメールアドレスを入力することになる。
If it is determined in step S1 that a coin has been inserted, in
ステップS3において、撮影処理部202は撮影処理を行う。撮影処理によって得られた撮影画像はタッチパネルモニタ52に表示され、その中から選択された編集対象画像が編集処理部203に供給される。撮影処理の詳細については図12を参照して後述するが、撮影処理により、例えば6枚の撮影画像が得られる。
In step S3, the
ステップS4において、編集処理部203は、編集画面を表示し、利用者の操作に応じて編集処理を行う。編集処理により、上述したように、編集対象画像に対して、手書きの文字や模様、あらかじめ用意されているハート柄などの画像(編集用合成用画像)が入力される。
In step S4, the
ステップS5において、事後接客処理部205は事後接客処理を行う。携帯送信の機能を利用することが事前接客処理時に選択されている場合、事後接客処理部205は、編集対象画像をタブレット内蔵モニタ62に表示し、その中から、所定の数の画像を携帯送信用画像として利用者に選択させる。
In step S5, the post-service processing unit 205 performs post-service processing. When the use of the mobile transmission function is selected during the pre-service processing, the post-service processing unit 205 displays the image to be edited on the tablet-incorporated
携帯送信用画像として選択された画像は、利用者により入力されたメールアドレスとともに写真シール作成装置1からサーバに送信され、サーバが有する記憶媒体に保存される。保存先を表すURLを含む電子メールがサーバから利用者の携帯端末装置に送信される。利用者が携帯端末装置を操作して電子メールに含まれるURLに対するアクセスを指示したとき、サーバに対するアクセスが行われ、携帯送信用画像が携帯端末装置のディスプレイに表示される。
The image selected as the portable transmission image is transmitted from the photo
ステップS6において、印刷処理部204は、プリンタ114を制御し、編集処理により得られた編集済みの画像をシール紙162に印刷する印刷処理を行う。
In step S <b> 6, the
ステップS7において、印刷処理部204は、所定の画面をタブレット内蔵モニタ62に表示するなどして、写真シール排出口71の前への移動を案内する。
In step S <b> 7, the
印刷が終了したとき、ステップS8において、印刷処理部204は、編集済みの画像が印刷されたシール紙162を写真シール排出口71に排出し、処理を終了させる。
When printing is completed, in step S8, the
以上のような流れにより、写真シール作成ゲームは行われる。 The photo sticker creation game is performed according to the above flow.
次に、図13のフローチャートを参照して、図12のステップS2において実行される撮影処理の詳細な流れを説明する。なお、撮影処理では、上述したように、最終的に、例えば6枚の撮影画像が編集処理対象として決定される。 Next, the detailed flow of the photographing process executed in step S2 of FIG. 12 will be described with reference to the flowchart of FIG. In the photographing process, as described above, finally, for example, six photographed images are determined as editing processing targets.
ステップS51において、撮影処理部202の表示制御部212は、撮影画像に合成される合成用画像をタッチパネルモニタ52に表示し、選択させる。ここでは、6枚の撮影画像それぞれに対応させるように、6種類の合成用画像が利用者によって選択される。なお、利用者は、同一の合成用画像を2枚以上選択することが可能である。
In step S <b> 51, the
タッチパネルモニタ52において利用者が6枚分の合成用画像を選択すると、処理はステップS52に進み、表示制御部212は、リアルタイムにカメラ51により被写体が撮影されて得られる動画像に、ステップS51において選択された合成用画像の1枚を合成した画像を、ライブビュー画像としてタッチパネルモニタ52に表示する。
When the user selects six images for composition on the touch panel monitor 52, the process proceeds to step S52, and the
ステップS53において、表示制御部212は、タッチパネルモニタ52にカウントダウンインジケータを表示させ、撮影制御部211は、カウントダウンインジケータのカウント値がゼロになった時点で撮影(静止画像の取得)を行う。
In step S53, the
ステップS54において、境界領域編集処理部213は、撮影された撮影画像(静止画像)に、ライブビュー画像に合成させた合成用画像を合成させた合成画像に対して境界領域編集処理を施す。境界領域編集処理の詳細については図13などを参照して後述する。
In step S54, the boundary area
ステップS55において、表示制御部212は、ステップS54の処理で境界領域編集処理が施された撮影画像(合成画像)を、タッチパネルモニタ52に表示させ、ユーザに確認させる。
In step S55, the
ステップS56において、撮影制御部211は、N回の撮影が行われたか否かを判定する。ここでNは、撮影される撮影回数に対応する数値であり、この場合、Nの値は6となる。
In step S56, the
ステップS56では、変数Xの値がN未満であれば、まだN回の撮影が行われていないと判定され、処理は、ステップS57に進んで変数Xの値が1だけインクリメントされて、処理はステップS52に戻る。 In step S56, if the value of variable X is less than N, it is determined that N shootings have not been performed yet, the process proceeds to step S57, and the value of variable X is incremented by 1. The process returns to step S52.
そして、ステップS53で第2回目の撮影が行われ、ステップS54乃至S56の処理へ進む。 In step S53, the second shooting is performed, and the process proceeds to steps S54 to S56.
このように、ステップS56でN回の撮影が行われたと判定されるまで、ステップS52乃至S56の処理が繰り返し実行されることになる。ステップS56でN回の撮影が行われたと判定された場合、処理はステップS58に進む。 As described above, the processes in steps S52 to S56 are repeatedly executed until it is determined in step S56 that N times of photographing have been performed. If it is determined in step S56 that N times of shooting have been performed, the process proceeds to step S58.
ステップS58において、撮影制御部211は、撮影可能時間内であるか、換言すれば、予め設定されている撮影時間に対してさらに1枚以上の撮影を行う余りの時間があるかを判定する。ステップS58で、撮影可能時間内ではないと判定された場合、処理はステップS60に進む。
In step S58, the
一方、ステップS58で、撮影可能時間内であると判定された場合、処理はステップS59に進み、撮影制御部211は、追加の撮影であるボーナスショットを利用者に行わせる。具体的には、例えば、撮影制御部211は、選択された背景画像のうちのいずれか1つの背景画像を用いて、上述したステップS52乃至S55の処理を実行する。なお、撮影時間の余りの時間に応じて、ボーナスショットは複数回行うようにすることができる。ボーナスショットの終了後、処理はステップS60に進む。
On the other hand, if it is determined in step S58 that the time is within the shootable time, the process proceeds to step S59, and the
ステップS60において、撮影制御部211は、ステップS53の処理で撮影されたN個の撮影画像を、編集対象画像として記憶部102に記憶させ、撮影処理は終了する。なお、ボーナスショットが行われた場合には、表示制御部212がタッチパネルモニタ52にN個の撮影画像とボーナスショットによる撮影画像を表示させることで、利用者に、N個の撮影画像とボーナスショットによる撮影画像の中から、編集対象画像を選択させ、撮影制御部211は、選択された撮影画像を記憶部102に記憶させる。
In step S60, the
次に、図13のフローチャートを参照して、図12のステップS54において実行される境界領域編集処理の詳細な流れの例を説明する。 Next, an example of a detailed flow of the boundary area editing process executed in step S54 of FIG. 12 will be described with reference to the flowchart of FIG.
ステップS71において、合成画像ぼかし処理部231は、例えば、ローパスフィルタ(Low Pass Filter)を用いて、図12のステップS53において取得された撮影画像に、背景画像等の合成用画像を合成させた合成画像をぼかすぼかし処理を施す。合成画像ぼかし処理部231は、ぼかし処理の結果得られたぼかし合成画像を、色調整部232に供給する。
In step S71, the synthesized image blurring processing unit 231 uses, for example, a low-pass filter to synthesize a synthesized image such as a background image with the captured image acquired in step S53 of FIG. Apply blur processing to blur the image. The composite image blurring processing unit 231 supplies the blur combined image obtained as a result of the blurring process to the
具体的には、図14の上段左側に示されるような、撮影画像に背景画像が合成された合成画像Aが取得された場合、合成画像ぼかし処理部231により、図14の上段中央に示されるようなぼかし合成画像Bが得られる。なお、ぼかし処理の手法は、ローパスフィルタを用いた手法に限らず、他の手法を用いるようにしてももちろんよい。 Specifically, as illustrated in the upper left side of FIG. 14, when a composite image A in which a background image is combined with a captured image is acquired, the composite image blurring processing unit 231 indicates the upper center of FIG. 14. Such a blurred composite image B is obtained. Of course, the blurring processing method is not limited to the method using the low-pass filter, and other methods may be used.
ステップS72において、色調整部232は、合成画像ぼかし処理部231からのぼかし合成画像Bの色を調整する。例えば、色調整部232が、ぼかし合成画像Bの明度を高くするように調整することで、図14の上段右側に示されるような、明るいぼかし合成画像Cが得られる。このようにして得られた、色(明度)が調整されたぼかし合成画像Cは、抽出部237に供給される。
In step S <b> 72, the
ステップS73において、マスク画像生成部233は、図12のステップS53において取得された撮影画像に対して、クロマキ処理や肌領域の検出処理などを行うことによって、撮影画像において被写体領域と背景領域とを分けるマスク画像を生成し、2値化処理部234に供給する。
In step S73, the mask
具体的には、撮影制御部211の制御に基づいてカメラ51により、図15の上段左側に示されるような撮影画像D、すなわち、背景画像等の合成用画像が合成されていない画像であって、背景の色がクロマキ用のカーテンの色である撮影画像Dが取得された場合、マスク画像生成部233は、図15の上段中央に示されるようなマスク画像Eを生成する。図15のマスク画像Eは、被写体領域以外の領域、すなわち背景領域をマスクしたマスク画像であるが、被写体領域をマスクしたマスク画像であってもよい。
Specifically, based on the control of the
ステップS74において、2値化処理部234は、マスク画像生成部233からのマスク画像に対して2値化処理を施し、マスク画像ぼかし処理部235および境界領域設定部236に供給する。
In step S 74, the
具体的には、2値化処理部234は、図15のマスク画像Eに対して、被写体領域の画素の画素値を(R,G,B)=(255,255,255)とし(すなわち、被写体領域の画素を白画素とし)、背景領域の画素の画素値を(R,G,B)=(0,0,0)とする(すなわち、背景領域の画素を黒画素とする)。これにより、図15の上段右側に示される2値化されたマスク画像Fが得られる。
Specifically, the
ステップS75において、マスク画像ぼかし処理部235は、例えば、ローパスフィルタ(Low Pass Filter)を用いて、2値化処理部234からの2値化されたマスク画像Fをぼかすぼかし処理を施す。その結果、図15の下段左側に示されるぼかしマスク画像Gが得られ、境界領域設定部236に供給される。図15のぼかしマスク画像Gにおいては、例えば、被写体領域と背景領域との境界が平滑化され、その境界近傍は灰色領域となる。
In step S75, the mask image blurring processing unit 235 performs blurring processing for blurring the binarized mask image F from the
ステップS76において、境界領域設定部236は、ぼかし処理前の2値化されたマスク画像F、および、ぼかし処理後のぼかしマスク画像Gに基づいて、撮影画像における被写体領域と背景領域との境界を含む境界領域を設定する。
In step S76, the boundary
具体的には、例えば、境界領域設定部236は、マスク画像Fにおける白画素に対して1の画素値を割り当て、黒画素に対して0の画素値を割り当てる。また、同様に、境界領域設定部236は、ぼかしマスク画像Gにおける白画素に対して1の画素値を割り当て、黒画素に対して0の画素値を割り当てる。
Specifically, for example, the boundary
そして、境界領域設定部236は、新たに画素値が割り当てられたマスク画像Fおよびぼかしマスク画像Gの対応する各画素について、排他的論理和を用いて、真となる画素により構成される領域を境界領域として設定する。すなわち、マスク画像Fとぼかしマスク画像Gとにおいて、対応する画素の画素値がともに0または1である場合、その画素は偽となり、対応する画素の画素値がそれぞれ異なる場合、その画素は真となる。
Then, the boundary
ここで、例えば、ぼかしマスク画像Gにおいて灰色領域となっている領域では、白画素と黒画素とが混在しているので、その領域については、対応する画素の画素値がそれぞれ異なる割合が高くなる。具体的には、灰色領域において、白画素は、被写体領域から背景領域にかけて次第に少なくなり、黒画素は、被写体領域から背景領域にかけて次第に多くなる。したがって、白画素のみについて排他的論理和を用いた場合、真となる画素(白画素)は、被写体領域から境界にかけて多くなり、また、境界から背景領域にかけて少なくなる。同様に、黒画素のみについて排他的論理和を用いた場合、真となる画素(黒画素)は、被写体領域から境界にかけて多くなり、また、境界から背景領域にかけて少なくなる。結果として、排他的論理和を用いて真となる画素により構成される境界領域は、図15の下段右側に示される画像Hにおいて白の領域で表わされる、被写体領域と背景領域との境界に対して所定の幅を持った領域となり、画像Hの境界領域においては、画素の密度が、両端(被写体領域側および背景領域側)から、被写体領域と背景領域との境界に対応する部分にかけて高くなる。言い換えれば、画像Hの境界領域においては、画素の密度が、被写体領域と背景領域との境界に対応する部分を中心に異なるようになる。 Here, for example, in a region that is a gray region in the blur mask image G, white pixels and black pixels are mixed, and therefore the proportion of pixel values of the corresponding pixels in the region increases. . Specifically, in the gray region, white pixels gradually decrease from the subject region to the background region, and black pixels gradually increase from the subject region to the background region. Therefore, when exclusive OR is used for only white pixels, the number of true pixels (white pixels) increases from the subject area to the boundary, and decreases from the boundary to the background area. Similarly, when exclusive OR is used for only black pixels, the number of true pixels (black pixels) increases from the subject area to the boundary, and decreases from the boundary to the background area. As a result, the boundary area composed of pixels that are true using exclusive OR is compared to the boundary between the subject area and the background area, which is represented by a white area in the image H shown on the lower right side of FIG. In the boundary region of the image H, the pixel density increases from both ends (subject region side and background region side) to a portion corresponding to the boundary between the subject region and the background region. . In other words, in the boundary region of the image H, the density of the pixels is different centering on the portion corresponding to the boundary between the subject region and the background region.
境界領域設定部236は、このようにして設定した境界領域を表す境界領域情報を、抽出部237に供給する。
The boundary
ステップS77において、抽出部237は、色調整部232からの色調整されたぼかし合成画像から、境界領域設定部236からの境界領域情報で表わされる境界領域に対応する部分を抽出する。
In step S 77, the
具体的には、抽出部237は、図14の明るいぼかし合成画像Cに、図15の画像Hにおいて示される境界領域に対応する部分(画素)を抽出することで、図14の下段左側に示される抽出画像Iを取得し、合成部238に供給する。図14の抽出画像Iは、明るいぼかし合成画像Cにおいて、ぼかし処理が施される前の合成画像A(撮影画像F)における被写体領域と背景領域との境界近傍の領域を切り出した境界領域画像300からなる画像となる。また、画像Hの境界領域に対応して抽出された明るいぼかし合成画像Cの画素は、その密度が、両端から境界に対応する部分にかけて高くなるので、境界領域画像300は、明るいぼかし合成画像Cにおける境界近傍の画像であって、境界を中心に明るく強調され、かつ、両端に近いほどぼかし具合が低く見える画像となる。
Specifically, the
ステップS78において、合成部238は、撮影画像に合成用画像を合成させた合成画像と、抽出部237からの抽出画像とを合成する。すなわち、図14の合成画像Aと抽出画像Iとが合成されることで、図14の下段右側に示される境界領域編集画像Jが生成される。図14の境界領域編集画像Jは、合成画像Aにおける被写体領域と背景領域との境界部分に、抽出画像Iとしての境界領域画像300を重畳した画像となる。境界領域編集画像Jは、撮影画像(合成画像)として、表示制御部212の制御により、タッチパネルモニタ53に表示される。
In step S <b> 78, the combining
ここで、図16を参照して、図14の境界領域編集画像Jにおける被写体領域と背景領域との境界領域について説明する。 Here, with reference to FIG. 16, the boundary region between the subject region and the background region in the boundary region edited image J of FIG. 14 will be described.
図16においては、境界領域画像300の一部としての境界領域が示され、その境界領域の中央には、被写体領域と背景領域との境界を表す境界線301、境界線301の左側には、境界領域画像300と被写体領域との境界を表す境界線302、境界線301の右側には、境界領域画像300と背景領域との境界を表す境界線303が示されている。
In FIG. 16, a boundary region as a part of the
以上の処理によれば、合成画像に対してぼかし処理が施され、明度を上げるように色調整されることで得られた明るいぼかし画像から、被写体と背景の境界とを含む境界領域に対応する部分の境界領域画像が抽出され、抽出された境界領域画像と合成画像とが合成される。これにより、境界領域編集画像Jの境界領域においては、図16の左側に示されるように、境界線302より左側の被写体領域(被写体側)、および、境界線303より右側の背景領域(背景側)と比較して、明度が高くなる。特に、境界領域画像においては、境界線を中心に明るく強調され、かつ、両端(被写体側および背景側)に近いほどぼかし具合が低く見えるようになるので、ごく自然な感じで合成画像における被写体と背景との境界近傍が明るい色合いとなり、被写体の後方から光が射しているように見える立体的な仕上がりの合成画像(編集対象画像)が得ることが可能となる。これにより、被写体と背景との間にリアルな奥行き感を出すことができ、ひいては、作成される写真シールに対する利用者の満足度を向上させることが可能となる。 According to the above processing, the combined image is subjected to the blurring process and corresponds to the boundary area including the boundary between the subject and the background from the bright blurred image obtained by performing the color adjustment to increase the brightness. A partial boundary region image is extracted, and the extracted boundary region image and the composite image are combined. Thereby, in the boundary area of the boundary area edited image J, as shown on the left side of FIG. 16, the subject area on the left side of the boundary line 302 (subject side) and the background area on the right side of the boundary line 303 (background side) ), The brightness is higher. In particular, in the boundary area image, the image is brightly emphasized around the boundary line, and the closer to both ends (the subject side and the background side), the lower the blurring degree, the lower the blur condition. The vicinity of the boundary with the background has a bright color, and it is possible to obtain a composite image (edit target image) with a three-dimensional finish that looks like light is shining from behind the subject. As a result, a realistic sense of depth can be provided between the subject and the background, and as a result, the user's satisfaction with the created photo sticker can be improved.
また、以上においては、ぼかし処理が施された合成画像に対して、明度を上げるように色調整するようにしたが、明度を下げるように色調整するようにしてもよい。これにより、境界領域編集画像Jの境界領域においては、図16の右側に示されるように、境界線302より左側の被写体領域(被写体側)、および、境界線303より右側の背景領域(背景側)と比較して、明度が低くなる。特に、境界領域画像においては、境界線を中心に暗く強調され、かつ、両端(被写体側および背景側)に近いほどぼかし具合が低く見えるようになるので、ごく自然な感じで合成画像における被写体と背景との境界近傍が暗い色合いとなり、被写体の輪郭部分に影があるような、被写体が際立って見える立体的な仕上がりの合成画像(編集対象画像)を得ることが可能となる。これにより、被写体と背景との間にリアルな奥行き感を出すことができ、ひいては、作成される写真シールに対する利用者の満足度を向上させることが可能となる。 In the above description, the color adjustment is performed so as to increase the brightness of the synthesized image subjected to the blurring process. However, the color adjustment may be performed so as to decrease the brightness. Thereby, in the boundary area of the boundary area edited image J, as shown on the right side of FIG. 16, the subject area on the left side of the boundary line 302 (subject side) and the background area on the right side of the boundary line 303 (background side) ), The brightness is lower. In particular, in the boundary area image, the darkness is emphasized centering on the boundary line, and the nearer the both ends (the subject side and the background side), the lower the blurring degree, so the subject in the composite image can be seen with a very natural feeling. It is possible to obtain a composite image (editing target image) with a three-dimensional finish in which the subject is conspicuous in which the vicinity of the boundary with the background has a dark hue and there is a shadow in the contour portion of the subject. As a result, a realistic sense of depth can be provided between the subject and the background, and as a result, the user's satisfaction with the created photo sticker can be improved.
さらに、色調整部232は、上述したような明度を変える色調整を、撮影画像に合成される合成用画像(例えば、背景画像)の色に応じて行うようにしてもよい。
Further, the
例えば、色調整部232は、背景画像の色が明度の高い色である場合には、ぼかし処理が施された合成画像に対して明度を下げるように色調整し、背景画像の色が明度の低い色である場合には、ぼかし処理が施された合成画像に対して明度を上げるように色調整するようにしてもよい。これにより、立体的な仕上がりとなる合成画像において、被写体と背景との間に、よりはっきりとした奥行き感を出すことができるようになる。
For example, when the color of the background image is a color with high brightness, the
また、図16に示されるように、境界領域の明度は一様に調整されるものとしたが、図17に示されるように、境界領域において、境界線301の内側(境界線301と境界線302とに挟まれた領域)と、境界線301の外側(境界線301と境界線303とに挟まれた領域)とで異なる明度となるようにしてもよい。この場合、色調整部232は、抽出画像Iまたは境界領域編集画像Jの境界領域画像300(図14)に対して、再度、色調整するようになる。
Further, as shown in FIG. 16, the brightness of the boundary area is adjusted uniformly. However, as shown in FIG. 17, in the boundary area, the inner side of the boundary line 301 (the
図17の例では、境界領域における境界線301の内側、すなわち境界領域における被写体側の明度が高く調整され、境界領域における境界線301の外側、すなわち境界領域における背景側の明度が低く調整されている。これにより、被写体が浮き出て見える立体的な仕上がりの合成画像を得ることが可能となる。
In the example of FIG. 17, the brightness on the inside of the
なお、図17においては、境界領域における境界線301の内側の明度が高く調整され、境界領域における境界線301の外側の明度が低く調整されるようにしたが、逆に、境界領域における境界線301の内側の明度が低く調整され、境界領域における境界線301の外側の明度が高く調整されるようにしてもよい。また、境界領域における明度は、図16や図17のように、領域(部分)毎に一様でなくてもよく、例えば、境界線302から境界線303にかけて次第に低くなってもよいし、図17の例において、境界線302から境界線301にかけて次第に高くなるとともに、境界線301から境界線303にかけて次第に高くなったり、境界線302から境界線301にかけて次第に高くなり、境界線301から境界線303にかけて次第に低くなる等してもよい。
In FIG. 17, the brightness on the inside of the
さらに、以上においては、色調整部232は、上述したように明度を変える色調整を行うものとしたが、明度でなく、彩度を変えるようにしてもよいし、明度と彩度の両方を変えるようにしてもよい。これにより、被写体が背景に滑らかに調和している立体的な仕上がりの合成画像や、被写体が際立って見える立体的な仕上がりの合成画像を得ることが可能となる。
Furthermore, in the above, the
また、以上においては、境界領域設定部236は、マスク画像およびぼかしマスク画像の対応する各画素について、排他的論理和を用いて境界領域を設定するようにしたが、その境界領域の幅を調整することができる。
In the above description, the boundary
具体的には、例えば、マスク画像ぼかし処理部235によるぼかし処理において、ぼかし具合を表すぼかし度を高くすることで、境界領域設定部236により設定される境界領域の幅を広くすることができる。
Specifically, for example, in the blurring process by the mask image blurring processing unit 235, by increasing the blurring degree representing the degree of blurring, the width of the boundary region set by the boundary
また、図15のぼかしマスク画像Gにおける、被写体領域と背景領域との境界近傍の灰色領域においては、実際には、白色の領域(被写体領域)から黒色の領域(背景領域)にかけて、灰色の濃度は次第に濃くなる。 Further, in the gray area in the vicinity of the boundary between the subject area and the background area in the blur mask image G of FIG. 15, the gray density actually ranges from the white area (subject area) to the black area (background area). Gradually becomes darker.
そこで、例えば、境界領域設定部236は、ぼかしマスク画像Gにおいて、灰色領域の画素に対して、灰色の濃度に応じた0.1乃至0.9の値を設定し、例えば、その値が0.3などの閾値以下である場合は、その画素の画素値を0とみなし、その値が0.7などの閾値以上である場合は、その画素の画素値を1とみなして、排他的論理和を用いて境界領域を設定するようにしてもよい。
Therefore, for example, the boundary
そして、このようにして境界領域を設定するようにした場合、その閾値によって、図18に示される、境界線301と境界線302との幅Wa、および、境界線301と境界線303との幅Wbを調整することができるようになる。
When the boundary region is set in this way, the width Wa between the
このように、境界領域において、境界線301と境界線302との幅Wa、および、境界線301と境界線303との幅Wbを調整することができれば、立体的な仕上がりとなる合成画像において、被写体と背景との間に面白みのある奥行き感を出すことができるようになる。さらに、幅Wa、Wbを調整した上で、図17の例に示したように、境界領域における境界線301の内側と外側とで異なる明度(または彩度)に調整することで、立体的な仕上がりとなる合成画像において、被写体と背景との間にさらに面白みのある奥行き感を出すことが期待できるようになる。
Thus, in the boundary area, if the width Wa between the
さらに、以上においては、被写体領域と背景領域との境界全てに対して、一様に境界領域編集処理を施すようにしたが、被写体の肌領域と背景領域の境界に対しては、ぼかし度を低くした境界領域編集処理を施すようにすることもできる。 Furthermore, in the above, the boundary area editing process is uniformly applied to all the boundaries between the subject area and the background area. However, the blurring degree is applied to the boundary between the subject skin area and the background area. It is also possible to perform a lower boundary area editing process.
図19は、被写体の肌領域と背景領域の境界に対して、ぼかし度を低くした境界領域編集処理を施す境界領域編集処理部213の詳細な構成例を示す機能ブロック図である。なお、図19の境界領域編集処理部213において、図10の境界領域編集処理部213に設けられたものと同様の機能を備える構成については、同一名称および同一符号を付するものとし、その説明は、適宜省略するものとする。
FIG. 19 is a functional block diagram illustrating a detailed configuration example of the boundary region
すなわち、図19の境界領域編集処理部213において、図10の境界領域編集処理部213と異なるのは、合成画像ぼかし処理部231に代えて、肌領域検出部401および合成画像ぼかし処理部402を設けた点である。
That is, the boundary region
肌領域検出部401は、撮影制御部211の制御に基づいてカメラ51により取得された撮影画像に合成用画像を合成させた合成画像において、利用者の顔や手などの肌が露出している領域(以下、肌領域という)を検出し、その肌領域を表す肌領域情報を合成画像ぼかし処理部402に供給する。
The skin
合成画像ぼかし処理部402は、肌領域検出部401からの肌領域情報に基づいて、合成画像に対して、ぼかし効果のあるフィルタ処理を施し、その結果得られたぼかし合成画像を、色調整部232に供給する。
Based on the skin region information from the skin
なお、図19の境界領域編集処理部213による境界領域編集処理は、基本的には、図13のフローチャートを参照して説明した、図10の境界領域編集処理部213による境界領域編集処理と同様である。しかしながら、図19の境界領域編集処理部213による境界領域編集処理においては、図13のフローチャートのステップS71において、図20を参照して説明する合成画像ぼかし処理が実行される。
The boundary region editing process by the boundary region
ここで、図20のフローチャートを参照して、図19の境界領域編集処理部213による境界領域編集処理における合成画像ぼかし処理について説明する。
Here, the composite image blurring process in the boundary area editing process by the boundary area
ステップS111において、図12のステップS53において取得された撮影画像に合成用画像を合成させた合成画像(例えば、図14の合成画像A)において、利用者の顔や手などの肌が露出している肌領域を検出し、その肌領域を表す肌領域情報を合成画像ぼかし処理部402に供給する。 In step S111, in a composite image (for example, composite image A in FIG. 14) in which the composite image is combined with the captured image acquired in step S53 in FIG. 12, the skin of the user's face and hands is exposed. The detected skin area is detected, and skin area information representing the skin area is supplied to the composite image blurring processing unit 402.
ステップS112において、合成画像ぼかし処理部402は、肌領域検出部401からの肌領域情報に基づいて、ぼかし処理の対象となる合成画像の領域が肌領域であるか否かを判定する。
In step S <b> 112, based on the skin area information from the skin
ステップS112において、ぼかし処理の対象となる合成画像の領域が肌領域でないと判定された場合、処理はステップS113に進み、合成画像ぼかし処理部402は、ぼかし処理の対象となる合成画像の領域に対して、上述で説明したぼかし処理と同様のぼかし処理を施す。 If it is determined in step S112 that the region of the composite image to be subjected to blurring processing is not a skin region, the process proceeds to step S113, and the composite image blurring processing unit 402 sets the region of the composite image to be subject to blurring processing. On the other hand, the blurring process similar to the blurring process described above is performed.
一方、ステップS112において、ぼかし処理の対象となる合成画像の領域が肌領域であると判定された場合、処理はステップS114に進み、合成画像ぼかし処理部402は、ぼかし処理の対象となる合成画像の領域に対して、上述で説明したぼかし処理よりぼかし具合を表すぼかし度の低いぼかし処理を施す。また、ここで、合成画像ぼかし処理部402は、ぼかし度を0にしたぼかし処理を施すようにしてもよい。すなわち、この場合、肌領域に対しては、ぼかし処理が施されないようになる。 On the other hand, if it is determined in step S112 that the region of the composite image to be subjected to the blurring process is a skin region, the process proceeds to step S114, and the composite image blurring processing unit 402 performs the composite image to be subjected to the blurring process. A blurring process with a lower blurring degree that represents the degree of blurring than the blurring process described above is applied to the area. Here, the composite image blurring processing unit 402 may perform blurring processing with the blurring degree set to zero. That is, in this case, the blurring process is not performed on the skin area.
以上の処理によれば、合成画像における肌領域に対しては、ぼかし度の低いぼかし処理が施される。これにより、抽出画像I(図14)、すなわち、境界領域画像300においては、利用者の顔や手の輪郭が自然に近い状態となるので、境界領域編集画像Jは、被写体の顔や手と背景との境界は自然な立体感のある仕上がりの画像となる。
According to the above process, the blurring process with a low blurring degree is performed on the skin area in the composite image. As a result, in the extracted image I (FIG. 14), that is, in the
なお、以上のようにして得られた合成画像(編集対象画像)に対する境界領域編集処理の内容に応じて、編集処理において利用者によって選択される編集用合成用画像が決定されるようにしてもよい。 Note that the composition image for editing selected by the user in the editing process may be determined according to the content of the boundary region editing process for the composite image (edit target image) obtained as described above. Good.
具体的には、例えば、合成画像(編集対象画像)に対して、被写体と背景との境界付近が暗い色合いとなるような境界領域編集処理が行われた場合、編集処理部203による編集処理においては、編集対象画像の背景画像を変更させるための背景画像として、淡い色や予めぼかし処理の施された背景画像を利用者に選択させるようにし、編集対象画像に入力(合成)させるための編集用合成用画像として、濃い色や輪郭のはっきりした画像や文字を選択させるようにする。
Specifically, for example, when boundary region editing processing is performed on a composite image (image to be edited) so that the vicinity of the boundary between the subject and the background has a dark color, the
これにより、編集作業によって得られる編集済み画像は、淡い色の背景、輪郭部分の影があるような際立って見える被写体、および、くっきりとした文字が合成された、例えば、ファッション誌の表紙に用いられるような仕上がりの画像となり、ひいては、写真シールに対する利用者の満足度を向上させることができるようになる。 As a result, the edited image obtained by the editing work is used for a cover of a fashion magazine, for example, which is composed of a light background, a subject that looks prominently with a shadow on the outline, and a sharp character. As a result, the user's satisfaction with the photo sticker can be improved.
なお、合成画像における境界領域編集処理の内容、背景画像、および、編集用合成用画像の組み合わせは、上述した組み合わせ以外の組み合わせであってももちろんよい。 Note that the combination of the content of the boundary region editing process in the composite image, the background image, and the composite image for editing may be a combination other than the combinations described above.
また、撮影作業において合成用画像としての背景画像が選択され、編集作業において背景画像の色合いが変更された場合には、その変更された背景画像の色合いに応じた画像処理が施された編集用合成用画像を、利用者に選択させるようにしてもよい。具体的には、撮影作業においてピンク色の背景画像が選択され、編集作業において背景画像の色合いが赤色に変更された場合には、赤色にマッチした画像処理が施された編集用合成用画像を、利用者に選択させるようにしてもよい。 In addition, when a background image is selected as a composition image in the shooting operation and the color of the background image is changed in the editing operation, the image for editing is subjected to image processing according to the changed color of the background image. You may make it make a user select the image for a synthesis | combination. Specifically, when a pink background image is selected in the shooting operation and the color of the background image is changed to red in the editing operation, the editing composite image that has been subjected to image processing that matches red is selected. The user may be allowed to select.
ところで、上述した一連の処理は、ハードウェアにより実行させることもできるし、ソフトウェアにより実行させることもできる。上述した一連の処理をソフトウェアにより実行させる場合には、そのソフトウェアを構成するプログラムが、ネットワークや記録媒体からインストールされる。 By the way, the above-described series of processes can be executed by hardware or can be executed by software. When the above-described series of processing is executed by software, a program constituting the software is installed from a network or a recording medium.
この記録媒体は、例えば、図7に示されるように、装置本体とは別に、写真シール作成装置1の管理者にプログラムを配信するために配布される、プログラムが記録されている磁気ディスク(フレキシブルディスクを含む)、光ディスク(CD-ROMおよびDVDを含む)、光磁気ディスク(MDを含む)、もしくは半導体メモリなどよりなるリムーバブルメディア105により構成されるだけでなく、装置本体に予め組み込まれた状態で管理者に配信される、プログラムが記録されているROM106や、記憶部102に含まれるハードディスクなどで構成される。
For example, as shown in FIG. 7, the recording medium is distributed to distribute the program to the administrator of the photo
なお、本明細書において、記録媒体に記録されるプログラムを記述するステップは、記載された順序に沿って時系列的に行われる処理はもちろん、必ずしも時系列的に処理されなくとも、並列的あるいは個別に実行される処理をも含むものである。 In the present specification, the step of describing the program recorded on the recording medium is not limited to the processing performed in chronological order according to the described order, but is not necessarily performed in chronological order. It also includes processes that are executed individually.
以上において、印刷媒体は、シール紙や写真紙に限られるものではなく、例えば、所定のサイズの紙やフィルム、ポスター用の紙、テレホンカードなどのカード、あるいは、Tシャツなどの布地などに印刷するようにしてもよい。 In the above, the printing medium is not limited to sticker paper or photographic paper. For example, printing on a predetermined size of paper or film, poster paper, a card such as a telephone card, or a cloth such as a T-shirt. You may make it do.
また、本明細書において、システムとは、複数の装置により構成される装置全体を表すものである。なお、以上において、1つの装置として説明した構成を分割し、複数の装置として構成するようにしてもよい。逆に、以上において複数の装置として説明した構成をまとめて1つの装置として構成されるようにしてもよい。また、各装置の構成に上述した以外の構成を付加するようにしてももちろんよい。さらに、システム全体としての構成や動作が実質的に同じであれば、ある装置の構成の一部を他の装置の構成に含めるようにしてもよい。 Further, in this specification, the system represents the entire apparatus constituted by a plurality of apparatuses. In the above, the configuration described as one device may be divided and configured as a plurality of devices. Conversely, the configurations described above as a plurality of devices may be combined into a single device. Of course, configurations other than those described above may be added to the configuration of each device. Furthermore, if the configuration and operation of the entire system are substantially the same, a part of the configuration of a certain device may be included in the configuration of another device.
1 写真シール作成装置
12 撮影ユニット
101 制御部
112 撮影部
202 撮影処理部
213 境界領域編集処理部
231 合成画像ぼかし処理部
232 色調整部
233 マスク画像生成部
234 2値化処理部
235 マスク画像ぼかし処理部
236 境界領域設定部
237 抽出部
238 合成部
401 肌領域検出部
402 合成画像ぼかし処理部
DESCRIPTION OF
Claims (8)
前記利用者を被写体として撮影し撮影画像を得る撮影手段と、
前記撮影画像において、前記被写体の肌の領域である肌領域を検出する検出手段と、
前記撮影画像をぼかすぼかし処理を施し、ぼかし撮影画像を得る撮影画像ぼかし処理手段と、
前記ぼかし撮影画像の色を調整することで、色調整撮影画像を得る色調整手段と、
前記撮影画像において、前記被写体領域以外の領域をマスクしたマスク画像を生成するマスク画像生成手段と、
前記マスク画像をぼかすぼかし処理を施し、ぼかしマスク画像を得るマスク画像ぼかし処理手段と、
2値化された前記マスク画像および前記ぼかしマスク画像において、対応する画素の画素値に対して排他的論理和を用いることで、前記被写体の領域である被写体領域と、前記被写体領域以外の領域との境界に対して幅を有する領域であって、前記境界を中心に画素の密度を異なるようにする境界領域を設定する設定手段と、
前記色調整撮影画像から、前記境界領域に対応する部分の境界領域画像を抽出する抽出手段と、
抽出された前記境界領域画像と、前記撮影画像とを合成する合成手段と
を備え、
前記撮影画像ぼかし処理手段は、前記撮影画像の前記肌領域に対しては、ぼかし具合の低いぼかし処理を施す
画像編集装置。 An image editing apparatus for photographing a user as a subject and outputting the obtained image,
Photographing means for photographing the user as a subject and obtaining a photographed image;
Detecting means for detecting a skin region that is a skin region of the subject in the photographed image;
A blurred image blur processing means for blurring the captured image and obtaining a blurred captured image;
Color adjusting means for obtaining a color adjusted photographed image by adjusting the color of the blurred photographed image;
In the captured image, a mask image generation means for generating a mask image obtained by masking an area other than the subject region,
A mask image blurring processing unit that performs blurring processing to blur the mask image and obtains a blurring mask image;
In the binarized mask image and the blur mask image, by using an exclusive OR with respect to the pixel value of the corresponding pixel, a subject region that is the subject region and a region other than the subject region A setting means for setting a boundary region having a width with respect to the boundary of the boundary, wherein the boundary region has different pixel densities around the boundary;
Extracting means for extracting a boundary area image of a portion corresponding to the boundary area from the color adjustment photographed image;
Combining means for combining the extracted boundary region image and the captured image;
The photographed image blurring processing unit performs a blurring process with a low degree of blurring on the skin region of the photographed image.
請求項1に記載の画像編集装置。 The image editing apparatus according to claim 1, wherein the color adjustment unit adjusts one or both of brightness and saturation of the captured image to obtain the color-adjusted captured image.
請求項1に記載の画像編集装置。 The image editing apparatus according to claim 1, wherein the color adjustment unit further adjusts a color of the boundary region image extracted by the extraction unit.
請求項3に記載の画像編集装置。 The image editing apparatus according to claim 3, wherein the color adjustment unit adjusts the color so that the color is different between an inner side and an outer side of a boundary between the subject region and a region other than the subject region in the boundary region image.
請求項1に記載の画像編集装置。 The image editing apparatus according to claim 1, wherein the setting unit variably adjusts the width of the boundary region.
前記編集手段は、編集入力に用いられる編集用画像として、前記色調整手段による色調整に応じた前記編集用画像を、前記利用者に選択させる
請求項1に記載の画像編集装置。 An editing unit that edits the synthesized image synthesized by the synthesizing unit based on an editing input by the user,
The image editing apparatus according to claim 1, wherein the editing unit causes the user to select the editing image according to color adjustment by the color adjusting unit as an editing image used for editing input.
前記利用者を被写体として撮影し撮影画像を得る撮影ステップと、
前記撮影画像において、前記被写体の肌の領域である肌領域を検出する検出ステップと、
前記撮影画像をぼかすぼかし処理を施し、ぼかし撮影画像を得る撮影画像ぼかし処理ステップと、
前記ぼかし撮影画像の色を調整することで、色調整撮影画像を得る色調整ステップと、
前記撮影画像において、前記被写体領域以外の領域をマスクしたマスク画像を生成するマスク画像生成ステップと、
前記マスク画像をぼかすぼかし処理を施し、ぼかしマスク画像を得るマスク画像ぼかし処理ステップと、
2値化された前記マスク画像および前記ぼかしマスク画像において、対応する画素の画素値に対して排他的論理和を用いることで、前記被写体の領域である被写体領域と、前記被写体領域以外の領域との境界に対して幅を有する領域であって、前記境界を中心に画素の密度を異なるようにする境界領域を設定する設定ステップと、
前記色調整撮影画像から、前記境界領域に対応する部分の境界領域画像を抽出する抽出ステップと、
抽出された前記境界領域画像と、前記撮影画像とを合成する合成ステップと
を含み、
前記撮影画像ぼかし処理ステップは、前記撮影画像の前記肌領域に対しては、ぼかし具合の低いぼかし処理を施す
画像編集方法。 An image editing method of an image editing apparatus for photographing a user as a subject and outputting the obtained image,
A photographing step of photographing the user as a subject to obtain a photographed image;
A detection step of detecting a skin region that is a skin region of the subject in the captured image;
A blurred image blur processing step for blurring the captured image to obtain a blurred captured image;
A color adjustment step of obtaining a color adjusted photographed image by adjusting the color of the blurred photographed image;
In the captured image, a mask image generation step of generating a mask image obtained by masking an area other than the subject region,
A mask image blurring process step for blurring the mask image to obtain a blur mask image;
In the binarized mask image and the blur mask image, by using an exclusive OR with respect to the pixel value of the corresponding pixel, a subject region that is the subject region and a region other than the subject region A setting step for setting a boundary region having a width with respect to the boundary of the boundary, wherein the boundary region has different pixel densities around the boundary;
An extraction step of extracting a boundary region image of a part corresponding to the boundary region from the color adjustment photographed image;
Combining the extracted boundary region image and the captured image,
The photographed image blurring processing step is an image editing method in which a blurring process with a low degree of blurring is performed on the skin region of the photographed image.
前記利用者を被写体として撮影し撮影画像を得る撮影ステップと、
前記撮影画像において、前記被写体の肌の領域である肌領域を検出する検出ステップと、
前記撮影画像をぼかすぼかし処理を施し、ぼかし撮影画像を得る撮影画像ぼかし処理ステップと、
前記ぼかし撮影画像の色を調整することで、色調整撮影画像を得る色調整ステップと、
前記撮影画像において、前記被写体領域以外の領域をマスクしたマスク画像を生成するマスク画像生成ステップと、
前記マスク画像をぼかすぼかし処理を施し、ぼかしマスク画像を得るマスク画像ぼかし処理ステップと、
2値化された前記マスク画像および前記ぼかしマスク画像において、対応する画素の画素値に対して排他的論理和を用いることで、前記被写体の領域である被写体領域と、前記被写体領域以外の領域との境界に対して幅を有する領域であって、前記境界を中心に画素の密度を異なるようにする境界領域を設定する設定ステップと、
前記色調整撮影画像から、前記境界領域に対応する部分の境界領域画像を抽出する抽出ステップと、
抽出された前記境界領域画像と、前記撮影画像とを合成する合成ステップと
を含む処理をコンピュータに実行させ、
前記撮影画像ぼかし処理ステップは、前記撮影画像の前記肌領域に対しては、ぼかし具合の低いぼかし処理を施す
プログラム。 A program for causing a computer to execute a process of photographing a user as a subject and outputting the obtained image.
A photographing step of photographing the user as a subject to obtain a photographed image;
A detection step of detecting a skin region that is a skin region of the subject in the captured image;
A blurred image blur processing step for blurring the captured image to obtain a blurred captured image;
A color adjustment step of obtaining a color adjusted photographed image by adjusting the color of the blurred photographed image;
In the captured image, a mask image generation step of generating a mask image obtained by masking an area other than the subject region,
A mask image blurring process step for blurring the mask image to obtain a blur mask image;
In the binarized mask image and the blur mask image, by using an exclusive OR with respect to the pixel value of the corresponding pixel, a subject region that is the subject region and a region other than the subject region A setting step for setting a boundary region having a width with respect to the boundary of the boundary, wherein the boundary region has different pixel densities around the boundary;
An extraction step of extracting a boundary region image of a part corresponding to the boundary region from the color adjustment photographed image;
Causing the computer to execute a process including a combining step of combining the extracted boundary region image and the captured image;
The photographed image blurring processing step is a program for performing a blurring process with a low degree of blurring on the skin region of the photographed image.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2010293888A JP5392575B2 (en) | 2010-12-28 | 2010-12-28 | Image editing apparatus and method, and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2010293888A JP5392575B2 (en) | 2010-12-28 | 2010-12-28 | Image editing apparatus and method, and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2012142774A JP2012142774A (en) | 2012-07-26 |
| JP5392575B2 true JP5392575B2 (en) | 2014-01-22 |
Family
ID=46678615
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2010293888A Active JP5392575B2 (en) | 2010-12-28 | 2010-12-28 | Image editing apparatus and method, and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5392575B2 (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5574031B2 (en) * | 2012-12-14 | 2014-08-20 | フリュー株式会社 | Image processing apparatus and method, and program |
| JP6136769B2 (en) * | 2013-08-29 | 2017-05-31 | フリュー株式会社 | Image processing apparatus, image processing method, and program |
| JP5843331B1 (en) * | 2014-08-21 | 2016-01-13 | 株式会社メイクソフトウェア | Photo shooting game device, photo sticker creating device, photo shooting game device control method, and photo shooting game device control program |
| JP6262643B2 (en) * | 2014-12-15 | 2018-01-17 | フリュー株式会社 | Image processing apparatus and image processing method |
| JP6142277B2 (en) * | 2016-03-24 | 2017-06-07 | 株式会社メイクソフトウェア | PHOTOGRAPHY GAME DEVICE, PHOTOGRAPHY GAME DEVICE CONTROL METHOD, AND PHOTOGRAPHY GAME DEVICE CONTROL PROGRAM |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003263631A (en) * | 2002-03-07 | 2003-09-19 | Seiko Epson Corp | Image combining method, image combining apparatus, and image combining program |
| JP4312524B2 (en) * | 2003-07-09 | 2009-08-12 | 株式会社セルシス | Manga line image forming method, apparatus and computer program |
| JP2006065004A (en) * | 2004-08-26 | 2006-03-09 | Make Softwear:Kk | Automatic photographing apparatus |
| JP2006106296A (en) * | 2004-10-04 | 2006-04-20 | Make Softwear:Kk | Photograph automatic vending machine |
-
2010
- 2010-12-28 JP JP2010293888A patent/JP5392575B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2012142774A (en) | 2012-07-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4919031B2 (en) | Photo sticker creation apparatus and method, and program | |
| JP4715964B2 (en) | Photo sticker creation apparatus, photo sticker creation method, and program | |
| JP5447183B2 (en) | Photo sticker creation apparatus and method, and program | |
| JP2020074041A (en) | Imaging device for gaming, image processing device, and image processing method | |
| JP5392575B2 (en) | Image editing apparatus and method, and program | |
| JP2015210513A (en) | Photographic seal creation device | |
| JP5309979B2 (en) | Photo sticker creating apparatus and method, and program | |
| JP2019013013A (en) | Photo sticker creation apparatus, photo sticker creation method, and program | |
| JP5304751B2 (en) | Image creating apparatus and method, and program | |
| JP5152587B2 (en) | Photo sticker creation apparatus and method, and program | |
| JP6418444B2 (en) | Photo sticker creating apparatus and image providing method | |
| JP5569502B2 (en) | Photo sticker creation apparatus, photo sticker creation method, and program | |
| JP6829380B2 (en) | Photo sticker making device and image processing method | |
| JP6217989B2 (en) | Photo sticker creation apparatus, photo sticker creation method, and program | |
| JP2017034354A (en) | Photo shooting game device, photo sticker creating device, photo shooting game device control method, and photo shooting game device control program | |
| JP2014170234A (en) | Photograph seal creation apparatus, photograph seal creation method, and program | |
| JP5041246B2 (en) | Photo sticker creating apparatus and method, and program | |
| JP6424587B2 (en) | Photo sticker creation apparatus and photo sticker creation method | |
| JP2018023069A (en) | Game player for creating photograph and display method | |
| JP2018107515A (en) | Photo creation game machine and image processing method | |
| JP5076911B2 (en) | Image photographing and editing apparatus and method, and program | |
| JP6671015B2 (en) | Photo sticker making apparatus and image processing method | |
| JP2011133705A (en) | Device and method for forming photographic sticker, and program | |
| JP5013203B2 (en) | Photo sticker creation apparatus and method, and program | |
| JP7074994B2 (en) | Photographing game console and image processing method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130425 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130509 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130708 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130730 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130829 |
|
| 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: 20130919 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20131002 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 5392575 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |