JP2014135784A - Imaging apparatus, imaging method and imaging program - Google Patents
Imaging apparatus, imaging method and imaging program Download PDFInfo
- Publication number
- JP2014135784A JP2014135784A JP2014093987A JP2014093987A JP2014135784A JP 2014135784 A JP2014135784 A JP 2014135784A JP 2014093987 A JP2014093987 A JP 2014093987A JP 2014093987 A JP2014093987 A JP 2014093987A JP 2014135784 A JP2014135784 A JP 2014135784A
- Authority
- JP
- Japan
- Prior art keywords
- image
- special effect
- unit
- subject
- imaging apparatus
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Abstract
Description
本発明は、被写体を撮影して電子的な画像データを生成する撮像装置、撮像方法および撮像プログラムに関する。 The present invention relates to an imaging apparatus, an imaging method, and an imaging program that shoot a subject and generate electronic image data.
近年、デジタルカメラやデジタルビデオなどの撮像装置においては、被写体を撮像した画像データに特殊効果を施すことによって、消費者の様々な要望に応える技術が知られている。たとえば、撮影した画像データにワイプやセピア等の特殊効果を施して記録することができる技術が知られている(特許文献1参照)。この技術では、ユーザが特殊効果を選択するエフェクトスイッチを操作している際に選択された特殊効果を施した画像を、表示モニタが表示している画像上の一部に表示させることにより、ユーザに所望の特殊効果を容易に選択させることができるようになっている。 In recent years, in an imaging apparatus such as a digital camera or a digital video, there has been known a technique that meets various demands of consumers by applying special effects to image data obtained by imaging a subject. For example, a technique is known in which photographed image data can be recorded with a special effect such as wipe or sepia (see Patent Document 1). In this technology, the user can display an image on which a special effect selected when the user operates an effect switch for selecting a special effect on a part of the image displayed on the display monitor. It is possible to easily select a desired special effect.
また、同一の被写体に対して複数回撮影し、撮影した複数の画像を用いて画像内に含まれる被写体画像と背景画像とを分離後、背景画像にぼかしを施し、再度被写体画像に合成することができる撮像装置が知られている(特許文献2参照)。 Also, the same subject is shot multiple times, and the subject image and the background image included in the image are separated using the captured images, and then the background image is blurred and synthesized again with the subject image. There is known an imaging apparatus capable of performing (see Patent Document 2).
ところで、従来の撮像装置では、2つの画像データを用いて合成画像を生成する場合に、2つの画像データそれぞれに異なる特殊効果を組み合わせて合成画像を生成していなかった。そこで、2つの画像データそれぞれに対して異なる特殊効果を施すことが考えられる。しかしながら、異なる特殊効果の組み合わせがすべてよいわけではなく、中には効果が相殺されてしまうような組み合わせもあり、組み合わせの選択の指針となる情報が求められていた。 By the way, in the conventional imaging device, when a composite image is generated using two image data, a composite image is not generated by combining different special effects with each of the two image data. Therefore, it is conceivable to apply different special effects to each of the two image data. However, not all combinations of different special effects are good, and there are combinations in which the effects are canceled out, and information that serves as a guide for selecting the combination has been required.
本発明は、上記に鑑みてなされたものであって、2つの画像データそれぞれに対して個別に特殊効果を行って合成画像を生成する場合に、特殊効果の組み合わせの選択の指針となる情報をユーザに提示することができる撮像装置、撮像方法および撮像プログラムを提供することを目的とする。 The present invention has been made in view of the above, and information that serves as a guideline for selecting a combination of special effects when a composite image is generated by performing special effects individually on two pieces of image data. An object is to provide an imaging apparatus, an imaging method, and an imaging program that can be presented to a user.
上述した課題を解決し、目的を達成するために、本発明に係る撮像装置は、被写体を撮像して該被写体の電子的な画像データを生成し、この生成された画像データに対応する画像を表示する表示部を有し、前記画像に特殊効果を施すことが可能な撮像装置であって、
前記表示部が表示する前記画像から被写体画像と背景画像とを分離する画像分離部と、前記画像分離部が分離した前記被写体画像および前記背景画像に対してそれぞれ施す特殊効果に関する情報の入力を受け付ける入力部と、前記入力部が受け付けた情報に応じた特殊効果を前記被写体画像および前記背景画像に対して個別に施して各画像の特殊効果画像を生成する特殊効果画像生成部と、前記特殊効果画像生成部が生成した前記特殊効果画像を用いて合成画像を生成する合成画像生成部と、前記画像分離部が前記画像から前記被写体画像と前記背景画像とを分離することができない場合、前記表示部に警告を表示させ表示制御部と、を備えたことを特徴とする。
In order to solve the above-described problems and achieve the object, an imaging apparatus according to the present invention images a subject, generates electronic image data of the subject, and generates an image corresponding to the generated image data. An imaging apparatus having a display unit for displaying and capable of applying a special effect to the image,
An image separation unit that separates a subject image and a background image from the image displayed by the display unit, and an input of information regarding special effects to be applied to the subject image and the background image separated by the image separation unit, respectively. An input unit; a special effect image generation unit that generates a special effect image of each image by individually applying a special effect according to information received by the input unit to the subject image and the background image; and the special effect A composite image generation unit that generates a composite image using the special effect image generated by the image generation unit; and the display unit when the image separation unit cannot separate the subject image and the background image from the image. And a display control unit for displaying a warning on the unit.
また、本発明に係る撮像装置は、上記発明において、前記背景画像は、複数のアスペクト比を設定可能であり、前記入力部は、前記背景画像のアスペクト比を指示する操作スイッチを有することを特徴とする。 The imaging apparatus according to the present invention is characterized in that, in the above-mentioned invention, the background image can set a plurality of aspect ratios, and the input unit has an operation switch for instructing the aspect ratio of the background image. And
また、本発明に係る撮像装置は、上記発明において、前記表示制御部は、前記表示部が表示する前記合成画像生成部が生成した前記合成画像上に、直近に施した特殊効果に対して組み合わせることが可能な特殊効果に関する情報のみを重畳して前記表示部に表示させることを特徴とする。 In the imaging device according to the present invention, in the above invention, the display control unit is combined with the special effect applied most recently on the composite image generated by the composite image generation unit displayed by the display unit. Only the information related to the special effects that can be displayed is superimposed on the display unit.
また、本発明に係る撮像装置は、上記発明において、前記表示制御部は、当該撮像装置における複数のメニューアイコンを前記表示部に表示させ、前記入力部は、前記表示部の表示画面上に設けられ、外部から接触する物体が接触した位置を検出し、この検出した位置に表示された前記メニューアイコンに応じた信号の入力を受け付けるタッチパネルを有することを特徴とする。 In the imaging device according to the present invention, in the above invention, the display control unit displays a plurality of menu icons in the imaging device on the display unit, and the input unit is provided on a display screen of the display unit. And a touch panel that detects a position where an object that comes into contact with the outside comes into contact and receives an input of a signal corresponding to the menu icon displayed at the detected position.
また、本発明に係る撮像方法は、被写体を撮像して該被写体の電子的な画像データを生成し、この生成された画像データに対応する画像を表示する表示部を有し、前記画像に特殊効果を施すことが可能な撮像装置が実行する撮像方法であって、前記表示部が表示する前記画像から被写体画像と背景画像とを分離する画像分離ステップと、前記画像分離ステップにおいて分離した前記被写体画像および前記背景画像に対してそれぞれ施す特殊効果に関する情報の入力を受け付ける入力ステップと、前記入力ステップにおいて受け付けた情報に応じた特殊効果を前記被写体画像および前記背景画像に対して個別に施して各画像の特殊効果画像を生成する特殊効果画像生成ステップと、前記特殊効果画像生成ステップにおいて生成した前記特殊効果画像を用いて合成画像を生成する合成画像生成ステップと、前記画像分離ステップにおいて前記画像から前記被写体画像と前記背景画像とを分離することができない場合、前記表示部に警告を表示させ表示制御ステップと、を含むことを特徴とする。 In addition, an imaging method according to the present invention includes a display unit that captures an image of a subject, generates electronic image data of the subject, and displays an image corresponding to the generated image data. An imaging method executed by an imaging apparatus capable of applying an effect, the image separation step separating a subject image and a background image from the image displayed by the display unit, and the subject separated in the image separation step An input step for receiving information on special effects to be applied to the image and the background image respectively, and a special effect corresponding to the information received in the input step is individually applied to the subject image and the background image A special effect image generating step for generating a special effect image of the image, and the special effect generated in the special effect image generating step A composite image generation step for generating a composite image using an image, and a display control step for displaying a warning on the display unit when the subject image and the background image cannot be separated from the image in the image separation step. It is characterized by including these.
また、本発明に係るプログラムは、被写体を撮像して該被写体の電子的な画像データを生成し、この生成された画像データに対応する画像を表示する表示部を有し、前記画像に特殊効果を施すことが可能な撮像装置に、前記表示部が表示する前記画像から被写体画像と背景画像とを分離する画像分離ステップと、前記画像分離ステップにおいて分離した前記被写体画像および前記背景画像に対してそれぞれ施す特殊効果に関する情報の入力を受け付ける入力ステップと、前記入力ステップにおいて受け付けた情報に応じた特殊効果を前記被写体画像および前記背景画像に対して個別に施して各画像の特殊効果画像を生成する特殊効果画像生成ステップと、前記特殊効果画像生成ステップにおいて生成した前記特殊効果画像を用いて合成画像を生成する合成画像生成ステップと、前記画像分離ステップにおいて前記画像から前記被写体画像と前記背景画像とを分離することができない場合、前記表示部に警告を表示させ表示制御ステップと、を実行させることを特徴とする。 The program according to the present invention includes a display unit that captures an image of a subject, generates electronic image data of the subject, and displays an image corresponding to the generated image data. An image separation step of separating the subject image and the background image from the image displayed by the display unit, and the subject image and the background image separated in the image separation step. An input step for receiving information on special effects to be applied, and a special effect corresponding to the information received in the input step are individually applied to the subject image and the background image to generate a special effect image for each image A special effect image generation step, and a synthesized image using the special effect image generated in the special effect image generation step. When the synthesized image generation step to be performed and the subject image and the background image cannot be separated from the image in the image separation step, a warning is displayed on the display unit and a display control step is executed. Features.
本発明によれば、特殊効果画像生成部が被写体画像および背景画像の一方に対して特殊効果を施し、この特殊効果が施された特殊効果画像が画像合成部によって被写体画像および背景画像の他方と合成された場合、表示制御部が、この合成された合成画像を表示部に表示させるとともに、記憶部が記憶する特殊効果情報テーブルを参照して、被写体画像または背景画像に施すべき特殊効果に関する情報を、直近に施した特殊効果との組み合わせに応じた前記推奨度の高い順に表示部に表示させ。これにより、ユーザは、2つの画像データそれぞれに対して個別に特殊効果を行って合成画像を生成する場合に、特殊効果の組み合わせの選択の指針となる情報を直感的に認識することができるという効果を奏する。 According to the present invention, the special effect image generation unit applies a special effect to one of the subject image and the background image, and the special effect image to which the special effect is applied is combined with the other of the subject image and the background image by the image composition unit. When the images are combined, the display control unit displays the combined image on the display unit and refers to the special effect information table stored in the storage unit, and information on the special effect to be applied to the subject image or the background image Are displayed on the display unit in descending order of the recommended degree according to the combination with the special effect applied most recently. Thus, the user can intuitively recognize information serving as a guideline for selecting a combination of special effects when generating a composite image by performing special effects individually on each of the two image data. There is an effect.
以下に、図面を参照して、本発明を実施するための形態(以下、「実施の形態」という)について説明する。なお、以下に説明する実施の形態によって本発明が限定されるものではない。また、図面の記載において、同一の部分には同一の符号を付している。 DESCRIPTION OF EMBODIMENTS Hereinafter, modes for carrying out the present invention (hereinafter referred to as “embodiments”) will be described with reference to the drawings. The present invention is not limited to the embodiments described below. In the description of the drawings, the same parts are denoted by the same reference numerals.
(実施の形態1)
図1は、本発明の実施の形態1に係る撮像装置の構成を示すブロック図である。図2は、本実施の形態1に係る撮像装置の被写体に面する側(前面側)の構成を示す図である。図3は、本実施の形態1に係る撮像装置のユーザに面する側(背面側)の構成を示す図である。
(Embodiment 1)
FIG. 1 is a block diagram showing a configuration of an imaging apparatus according to
図1〜図3に示すように、撮像装置1は、被写体を撮影し、撮影した被写体の電子的な画像データを生成する撮像部2と、撮像装置1の加速度を検出する姿勢検出部3と、撮像部2が撮影する視野領域に光を照射するストロボ4と、撮影日時の判定機能やタイマー機能を有する時計5と、撮像装置1の各種情報の入力を受け付ける操作入力部6と、撮像部2が生成した画像データに対応する画像を表示する表示部7と、外部からの接触位置に応じた信号の入力を受け付けるタッチパネル8と、撮像部2によって生成された画像データを含む各種情報を記憶する記憶部9と、インタネットを介して各種データベースと相互方向に送受信を行う通信部10と、撮像装置1の動作を制御する制御部11と、を備える。
As shown in FIGS. 1 to 3, the
撮像部2は、レンズ部2aと、レンズ駆動機構2bと、絞り2cと、絞り駆動機構2dと、シャッタ2eと、シャッタ駆動機構2fと、撮像素子2gと、信号処理部2hとを有する。レンズ部2aは、フォーカスレンズやズームレンズ等によって構成され、所定の視野領域からの光を集光する。レンズ駆動機構2bは、DCモータ等によって構成され、レンズ部2aのフォーカスレンズやズームレンズ等を光軸L1上で移動させることにより、レンズ部2aのピント位置や焦点距離等の変更を行う。絞り2cは、レンズ部2aが集光した光の入射量を制限することにより露出の調整を行う。絞り駆動機構2dは、ステッピングモータ等によって構成され、絞り2cを駆動する。シャッタ2eは、撮像素子2gの状態を露光状態または遮光状態に設定する。シャッタ駆動部2fは、ステッピングモータ等によって構成され、レリーズ信号に応じてシャッタ2eを駆動する。撮像素子2gは、レンズ部2aが集光した光を受光して電気信号(アナログ信号)に変換するCCD(Charge Coupled Device)やCMOS(Complementary Metal Oxide Semiconductor)等によって実現され、変換した電気信号を信号処理部2hに出力する。信号処理部2hは、撮像素子2gから出力される電気信号に増幅等の信号処理を施した後、A/D変換を行うことによってデジタルの画像データに変換して制御部11に出力する。
The
姿勢検出部3は、加速度センサによって構成され、撮像装置1の加速度を検出することにより、撮像装置1の姿勢状態および/または動きを検出する。具体的には、姿勢検出部3は、水平面を基準としてときの撮像装置1の姿勢を検出する。
The
ストロボ4は、キセノンランプやLED(Light Emitting Diode)等で構成される。ストロボ4は、撮像部2の視野領域へ向けて補助光であるストロボ光を照射する。
The
時計5は、撮像装置1の動作の基準となる時間信号を生成する。これにより、制御部11は、画像データの取得時間や撮像素子2gの露光時間等を設定することができる。
The
操作入力部6は、撮像装置1の電源状態をオン状態またはオフ状態に切換える電源スイッチ6aと、撮影の指示を与えるレリーズ信号を入力するレリーズスイッチ6bと、撮像装置1の各種撮影のモードを切換える撮影モード切換スイッチ6cと、撮像装置1の各種設定を切換える操作スイッチ6dと、撮像装置1の各種撮影モードに関する情報を表示部7に表示させるメニュースイッチ6eと、撮像部2のズーム操作を行うズームスイッチ6fとを有する。
The
表示部7は、液晶または有機EL(Electro Luminescence)等からなる表示パネルを用いて実現される。表示部7は、撮像部2が生成する画像データに対応する画像を表示する。表示部7は、撮像装置1の操作情報および撮影に関する情報を適宜表示する。また、表示部7は、撮像部2が生成する画像データに対応する3次元画像(以下、「3D画像」という)を表示する。一般に、3D画像を表示する表示部としては、パララックバリア方式またはレンティキュラレンズ方式がある。本実施の形態では、いずれの方式の表示部であっても適用可能である。
The
タッチパネル8は、表示部7の表示画面上に重ねて設けられる(図3を参照)。タッチパネル8は、ユーザが表示部7で表示される情報に基づいて接触(タッチ)した位置を検出し、この接触位置に応じた操作信号の入力を受け付ける。一般に、タッチパネルとしては、抵抗膜方式、静電容量方式、光学式等がある。本実施の形態では、いずれの方式のタッチパネルであっても適用可能である。なお、本実施の形態1では、タッチパネル8が入力部として機能する。
The
記憶部9は、撮像部2が撮影した画像データを記憶する画像データ記憶部9aと、撮像装置1が実行する各種プログラムおよび本実施の形態1に係る撮像プログラムを記憶するプログラム記憶部9bと、撮像部2が撮影した画像データまたは各種撮像装置1の設定を一時的に記憶する仮画像データ記憶部9cと、特殊効果を行う際に被写体画像および背景画像に対して施す特殊効果の組み合わせに応じた推奨度を与える特殊効果情報テーブルを記憶する特殊効果情報記憶部9dとを有する。記憶部9は、撮像装置1の内部に固定的に設けられるフラッシュメモリやRAM(Random Access Memory)等の半導体メモリを用いて実現される。なお、記憶部9に対し、外部から装着されるメモリカード等の記憶媒体に対して情報を記憶する一方、記憶媒体が記憶する情報を読み出す記録媒体インターフェースとしての機能を具備させてもよい。
The storage unit 9 stores an image
通信部10は、通信インターフェースとしての機能を有し、ネットワーク(図示せず)を介してサーバ(図示せず)やパーソナルコンピュータ等の外部処理装置と相互方向に送受信を行う。通信部10は、外部処理装置との間で送受信を行うことにより、撮像装置1の各種プログラムデータや特殊効果情報テーブルに関するデータを取得する。なお、通信部10は、有線または無線LAN(Local Area Network)を介してネットワークに接続される。
The
制御部11は、CPU(Central Processing Unit)等によって実現される。制御部11は、操作入力部6からの操作信号等に応じて記憶部9のプログラム記憶部9bからプログラムを読み出して実行し、撮像装置1を構成する各部に対する指示やデータの転送等を行って撮像装置1の動作を統括的に制御する。制御部11は、画像処理部11aと、画像分離部11bと、特殊効果画像生成部11cと、合成画像生成部11dと、表示制御部11eとを有する。
The control unit 11 is realized by a CPU (Central Processing Unit) or the like. The control unit 11 reads out and executes a program from the
画像処理部11aは、信号処理部2hから出力された画像データに対して各種の画像処理を施して記憶部9に出力する。具体的には、画像処理部11aは、信号処理部2hから出力された画像データに対してエッジ強調、色補正およびγ補正等の処理を施す。
The
画像分離部11bは、撮像部2が生成した画像データに対応する画像から被写体画像と背景画像とを分離する。具体的には、画像分離部11bは、周知の三角測量の原理を用いて、撮像部2によって生成された互いの視野の左右方向の一端部同士が重なりを有する2つの画像データに対応する2つの画像の視差に基づいて、被写体画像と背景画像とを分離する。
The
特殊効果画像生成部11cは、タッチパネル8が入力を受け付けた情報に応じた特殊効果を、画像分離部11bが分離した被写体画像および背景画像に対して個別に施して各画像の特殊効果画像を生成する。具体的には、特殊効果画像生成部11cは、被写体画像および背景画像それぞれに対して、撮像部2のレンズ部2aの前面に各種の光学フィルタ、たとえば色変換フィルタやコントラスト調整フィルタ等を配置した場合に得られる特殊効果、または特定用途の撮影レンズ、たとえば魚眼レンズ等を配置した場合に得られる特殊効果を施した特殊効果画像を生成する。なお、特殊効果画像生成部11cは、撮像部2が生成する画像データに対応する1つの画像に特殊効果を施して特殊効果画像を生成してもよい。さらに、撮像部2が連続的に生成する画像データに対して特殊効果を順次施して連続的に特殊効果画像を生成してもよい。
The special effect
合成画像生成部11dは、特殊効果画像生成部11cが生成した特殊効果画像を用いて合成画像を生成する。具体的には、合成画像生成部11dは、特殊効果画像生成部11cが背景画像に特殊効果を施して生成した特殊効果画像に、画像分離部11bが分離した被写体画像を合成して合成画像を生成する。
The composite
表示制御部11eは、表示部7の表示を制御する。表示制御部11eは、特殊効果画像生成部11cが被写体画像および背景画像の一方に対して特殊効果を施し、この特殊効果が施された特殊効果画像が合成画像生成部11dによって被写体画像および背景画像の他方と合成された場合、この合成された合成画像を表示部7に表示させるとともに、特殊効果情報記憶部9dが記憶する特殊効果情報テーブルを参照して、被写体画像または背景画像に施すべき特殊効果に関する情報を、直近に施した特殊効果との組み合わせに応じた推奨度の高い順に表示部7に表示させる。表示制御部11eは、特殊効果に関する情報をアイコンによって表示部7に表示させる。具体的には、表示制御部11eは、特殊効果情報に対応する特殊効果アイコンを、特殊効果情報テーブルを参照して、直近に施した特殊効果との組み合わせに応じた推奨度の高い順に表示部7に表示させる。
The display control unit 11 e controls display on the
以上の構成を有する撮像装置1において、画像分離部11bが撮像部2によって生成される画像に対し、被写体画像と背景画像とに分離する際の状況について説明する。図4は、撮像部2が、互いの視野の左右方向の一端部同士が重なりを有する2つの画像データを生成する際の状況を示す模式図である。図5は、図4に示す状況下で撮像部2が撮影位置P1で生成する画像データに対応する画像の一例を示す図である。図6は、図4に示す状況下で撮像部2が撮影位置P2で生成する画像データに対応する画像の一例を示す図である。図7は、図4に示す状況下で撮像部2が異なる撮影位置でそれぞれ生成した画像を仮想的に重ねた画像の一例を示す図である。図7において、画像W1が、背景を基準に重ねた画像であり、画像W2が被写体を基準に重ねた画像である。なお、図4においては、ユーザが撮像装置1を左側から右側に移動させ、この移動期間中に撮像装置1が微小な時間間隔で連続的に撮影する。このため、図5および図6に示す画像WL1と画像WR1との間には、複数の画像が存在する。
In the
図4に示すように、撮像部2は、撮像部2からの距離が異なる被写体A1(距離d1)および被写体A2(距離d2)に対して、複数の撮影位置で連続的に撮影することによって視野領域が異なる複数の画像データを生成する。具体的には、図5および図6に示すように、撮像部2は、図4の撮影位置P1で画像WL1を生成し、図4の撮影位置P2で画像WR1を生成する。図4に示すように、撮像部2と被写体A2との距離d2は、撮像部2と被写体A1との距離d1より大きいため、背景である被写体A2の領域がほぼ重なる。具体的には、図7に示すように、画像W1内では、被写体A2の領域がほぼ重なる。これに対して、画像W1内では、被写体A1の領域が重ならず、被写体A1に対して視差a1を有する。
As shown in FIG. 4, the
このように、画像分離部11bは、図7(a)に示すように、画像WL1および画像WR1を仮想的に重ねた際に、重なる領域を背景画像として特定する。また、画像分離部11bは、図7(b)に示すように、画像WL1および画像WR1を互いに異なる方向に移動させながら画像WL1および画像WR1の輝度が高い領域を基準に重ねることにより、重なった領域を被写体A1の被写体画像として特定する。これにより、画像分離部11bは、図8および図9に示すように、撮像部2から生成する画像データに対応する画像から背景画像W3と被写体画像W4とを分離することができる。なお、画像分離部11bは、被写体A1を基準に画像WL1および画像WR1を仮想的に重なる場合、画像WL1および画像WR1のコントラストが高い領域を基準に重ねることによって、被写体画像を特定するようにしてもよい。
As described above, as illustrated in FIG. 7A, the
つぎに、特殊効果画像生成部11cおよび合成画像生成部11dによる処理の概要について説明する。図10は、特殊効果画像生成部11cおよび合成画像生成部11dによる処理の概要を説明する模式図である。
Next, an outline of processing by the special effect
図10に示すように、まず、特殊効果画像生成部11c、画像データ記憶部9aが記憶する背景画像W10にユーザによって設定された特殊効果、たとえば後述する「ソフト効果」を施して特殊効果画像W11を生成する(図10(a)→図10(b))。その後、合成画像生成部11dは、画像分離部11bが分離した被写体画像W4を特殊効果画像W11に合成して合成画像W12を生成する(図10(b)→図10(c))。最後に、特殊効果画像生成部11cは、合成画像W12に含まれる被写体画像W4にユーザによって設定された特殊効果、たとえば後述する「セピア効果」を施して合成画像W13にする(図10(c)→図10(d))。これにより、撮像装置1は、被写体画像および背景画像それぞれに特殊効果を施した合成画像を生成することができる。なお、図10においては、「ソフト効果」を施した画像をぼかして表現し、「セピア効果」を施した画像をハッチングで表現した。
As shown in FIG. 10, first, a special effect set by the user, for example, a “soft effect” described later is applied to the background image W10 stored in the special effect
つぎに、本実施の形態1に係る撮像装置1が行う処理について説明する。図11は、撮像装置1が行う処理の概要を示すフローチャートである。
Next, processing performed by the
図11において、まず、制御部11は、撮像装置1の電源がオンになっているか否かを判断する(ステップS101)。撮像装置1の電源がオンになっている場合(ステップS101:Yes)、撮像装置1はステップS102に移行する。一方、撮像装置1の電源がオンになっていない場合(ステップS101:No)、撮像装置1は本処理を終了する。
In FIG. 11, first, the control unit 11 determines whether or not the power of the
続いて、制御部11は、撮像装置1が撮影モードに設定されているか否かを判断する(ステップS102)。撮像装置1が撮影モードに設定されている場合(ステップS102:Yes)、撮像装置1は後述するステップS103に移行する。一方、撮像装置1が撮影モードに設定されていない場合(ステップS102:No)、撮像装置1は後述するステップS108に移行する。
Subsequently, the control unit 11 determines whether or not the
ステップS102において、撮像装置1が撮影モードに設定されている場合(ステップS102:Yes)について説明する。この場合、表示制御部11eは、撮像部2が一定の微小な時間間隔で連続的に生成する画像データに対応する画像のスルー画像を表示部7に表示させる(ステップS103)。
A case where the
続いて、制御部11は、ユーザによってレリーズスイッチ6bが操作されて撮影を指示するレリーズ信号が入力されたか否かを判断する(ステップS104)。撮影を指示するレリーズ信号が入力されていない場合(ステップS104:No)、制御部11は、ユーザによってメニュースイッチ6eが操作されたか否かを判断する(ステップS105)。所定時間内、たとえば30秒内にユーザによってメニュースイッチ6eが操作されていない場合(ステップS105:No)、撮像装置1はステップS101に戻る。一方、ユーザによってメニュースイッチ6eが操作された場合(ステップS105:Yes)、撮像装置1は、撮像モードの中に含まれるメニューを設定するメニュー操作処理を実行し(ステップS106)、撮像装置1はステップS101に戻る。
Subsequently, the control unit 11 determines whether or not a release signal instructing photographing is input by operating the
ステップS104において、撮影を指示するレリーズ信号が入力された場合(ステップS104:Yes)について説明する。この場合、撮像装置1は、被写体を撮影する撮影処理を実行し(ステップS107)、撮像装置1はステップS101に戻る。
A case where a release signal instructing photographing is input in step S104 (step S104: Yes) will be described. In this case, the
ステップS102において、撮像装置1が撮影モードでない場合(ステップS102:No)について説明する。この場合、表示制御部11eは、画像データ記憶部9aに記憶された複数の画像をまとめて表示した画像選択画面を表示部7に表示させる(ステップS108)。
In step S102, the case where the
続いて、制御部11は、ユーザがタッチパネル8をタッチすることによって表示部7が表示する画像選択画面の中から画像が選択されたか否かを判断する(ステップS109)。ユーザによって画像選択画面の中から画像が選択されていない場合(ステップS109:No)、撮像装置1は後述するステップS113に移行する。一方、ユーザによって画像選択画面の中から画像が選択された場合(ステップS109:Yes)、表示制御部11eは、ユーザによって選択された画像を表示部7に全画面表示させ(ステップS110)、撮像装置1はステップS111に移行する。
Subsequently, the control unit 11 determines whether an image is selected from the image selection screen displayed on the
ステップS111において、ユーザによって画像の切換操作が行われたか否かを判断する。ユーザによって画像の切換操作が行われた場合(ステップS111:Yes)、表示制御部11eは、表示部7が現在表示している画像の切換えを行い(ステップS112)、撮像装置1はステップS110に戻る。一方、ユーザによって画像の切換操作が行われていない場合(ステップS111:No)、制御部11は、画像再生の終了操作が行われたか否かを判断する(ステップS113)。具体的には、制御部11は、ユーザによって撮影モード切換スイッチ6cが操作されたことにより、撮像装置1が再生モードから撮影モードに切換えられたか否かを判断する。ユーザによって画像再生の終了操作が行われていない場合(ステップS113:No)、撮像装置1はステップS108に戻る。一方、ユーザによって画像再生の終了操作が行われた場合(ステップS113)、撮像装置1はステップS101に戻る。
In step S111, it is determined whether an image switching operation has been performed by the user. When the user performs an image switching operation (step S111: Yes), the display control unit 11e switches the image currently displayed on the display unit 7 (step S112), and the
つぎに、図11のステップS106のメニュー操作処理について説明する。図12は、メニュー操作処理の概要を示すフローチャートである。 Next, the menu operation process in step S106 in FIG. 11 will be described. FIG. 12 is a flowchart showing an outline of menu operation processing.
図12において、まず、表示制御部11eは、メニューアイコンを表示部7が表示する画像上に表示させる(ステップS201)。具体的には、図13に示すように、表示制御部11eは、撮影モードアイコンQ1、ストロボアイコンQ2、特殊撮影モードアイコンQ3および戻るアイコンQ4を表示部7が表示する画像W21上に表示させる。撮影モードアイコンQ1は、撮影モードの動作条件の詳細パラメータを表示部7に表示させる指示信号が入力されるアイコンである。撮影動作条件の詳細パラメータとしては、シャッタ速度、露出補正範囲、ISO感度および絞り値等のパラメータが表示される。ストロボアイコンQ2は、ストロボ(フラッシュ)のストロボ動作条件の詳細パラメータを表示部7に表示させる指示信号が入力されるアイコンである。ストロボ動作条件の詳細パラメータとしては、自動発光、発光禁止、赤目発光および強制発光等のパラメータが表示される。特殊撮影モードアイコンQ3は、特殊撮影モードの下位メニュー(サブメニュー)を表示部7に表示させる指示信号が入力されるアイコンである。
In FIG. 12, first, the display control unit 11e displays a menu icon on the image displayed on the display unit 7 (step S201). Specifically, as shown in FIG. 13, the display control unit 11e displays a shooting mode icon Q1, a strobe icon Q2, a special shooting mode icon Q3, and a return icon Q4 on an image W21 displayed on the
続いて、制御部11は、ユーザによって特殊撮影モードアイコンQ3が操作されたか否かを判断する(ステップS202)。具体的には、図13に示すように、制御部11は、ユーザが表示部7の画像W21上に表示される特殊撮影モードアイコンQ3をタッチすることにより、タッチパネル8が入力を受け付けた信号によって特殊撮影モードアイコンQ3が操作されたか否かを判断する。所定時間内、たとえば30秒内にユーザによって特殊撮影モードアイコンQ3が操作されていない場合(ステップS202:No)、撮像装置1は図11に示したメインルーチンに戻る。一方、ユーザによって特殊撮影モードアイコンQ3が操作された場合(ステップS202:Yes)、撮像装置1はステップS203に移行する。
Subsequently, the control unit 11 determines whether or not the special shooting mode icon Q3 is operated by the user (step S202). Specifically, as shown in FIG. 13, the control unit 11 touches the special shooting mode icon Q3 displayed on the image W21 of the
その後、表示制御部11eは、特殊撮影モードの下位メニューアイコンを表示部7が表示する画像上に表示させる(ステップS203)。具体的には、図14に示すように、表示制御部11eは、表示部7が表示する画像W21上にスイング合成アイコンQ5、アートフィルタアイコンQ6、スイングアートアイコンQ7および戻るアイコンQ4を表示させる。
Thereafter, the display control unit 11e displays a lower menu icon in the special shooting mode on the image displayed on the display unit 7 (step S203). Specifically, as illustrated in FIG. 14, the display control unit 11 e displays a swing
ここで、図14に示した各種アイコンについて説明する。スイング合成アイコンQ5は、撮像装置1の撮影モードをスイング合成撮影モードに設定する指示信号を入力するアイコンである。スイング合成撮影モードとは、画像分離部11bが撮影した画像から分離した被写体画像または背景画像を別の画像に合成して合成画像を生成する撮影モードである。アートフィルタアイコンQ6は、撮像装置1の撮影モードを特殊効果撮影に設定する指示信号を入力するアイコンである。特殊効果撮影とは、撮影した画像に対して特殊効果画像生成部11cがユーザによって設定された特殊効果を施して特殊効果画像を生成する撮影モードである。スイングアートアイコンQ7は、撮像装置1の撮影モードをスイングアート撮影モードに設定する指示信号を入力するアイコンである。スイングアート撮影モードとは、画像分離部11bが撮影した画像から分離した被写体画像または背景画像に対して、特殊効果画像生成部11cがユーザによって設定された特殊効果を施して特殊効果画像を生成し、この生成した特殊効果画像を別の画像に合成して合成画像を生成する撮影モードである。
Here, the various icons shown in FIG. 14 will be described. The swing composition icon Q5 is an icon for inputting an instruction signal for setting the photographing mode of the
図12に戻り、ステップS204において、制御部11は、ユーザによってスイングアートアイコンQ7が操作されたか否かを判断する。具体的には、図14に示すように、制御部11は、ユーザが表示部7の画面W21上に表示されるスイングアートアイコンQ7をタッチすることにより、タッチパネル8が入力を受け付けた信号によってスイングアートアイコンQ7が操作されたか否かを判断する。所定時間内にユーザによってスイングアートアイコンQ7が操作されていない場合(ステップS204:No)、撮像装置1は図11に示したメインルーチンに戻る。一方、ユーザによってスイングアートアイコンQ7が操作された場合(ステップS204:Yes)、撮像装置1はステップS205に移行する。
Returning to FIG. 12, in step S204, the control unit 11 determines whether or not the swing art icon Q7 is operated by the user. Specifically, as illustrated in FIG. 14, the control unit 11 performs a swing according to a signal received by the
続いて、表示制御部11eは、画像データ記憶部9aが記憶する画像データに対応する背景画像および複数の特殊効果アイコンを表示部7に表示させる(ステップS205)。具体的には、図15に示すように、表示制御部11eは、表示部7に背景画像W22を表示させるとともに、特殊効果情報記憶部9dが記憶する特殊効果情報テーブルを参照して、ノーマルアイコンQ8、ソフトアイコンQ9およびセピアアイコンQ10を表示部7に表示させる。
Subsequently, the display control unit 11e causes the
ここで、図16を参照して、表示制御部11eが表示部7に表示させる特殊効果用アイコンの表示方法について説明する。図16は、特殊効果情報記憶部9dが記憶する特殊効果情報テーブルの一例を示す図である。
Here, with reference to FIG. 16, the display method of the icon for special effects which the display control part 11e displays on the
図16に示すように、特殊効果情報テーブルT1には、被写体画像および背景画像それぞれに適用可能な特殊効果が記載されている。具体的には、被写体画像に適用可能な特殊効果が、「ノーマル」、「ポップ」、「魚眼」、「ソフト」、「セピア」、「白黒」、「スケッチ」および「ミニチュア」である。一方、背景画像が適用可能な特殊効果が、「ノーマル」、「ポップ」、「魚眼」、「ソフト」、「セピア」、「白黒」、「スケッチ」および「ミニチュア」である。また、特殊効果情報テーブルT1には、被写体画像および背景画像それぞれに特殊効果を施して合成画像を生成する際の特殊効果の組み合わせに応じた推奨度(0〜5)が記載されている。具体的には、被写体画像の特殊効果が「ノーマル」の場合、背景画像の特殊効果において「ノーマル」、「ソフト」および「セピア」の組み合わせの推奨度として「5」が記載されている。さらに、「ポップ」、「白黒」および「スケッチ」の組み合わせの推奨度として「4」が記載され、「魚眼」および「ミニチュア」の組み合わせの推奨度として「1」が記載されている。すなわち、推奨度は、特殊効果の組み合わせの相性が良いほど数値が段階的に高く設定されている。なお、図16に示す数値は、あくまでも例示にすぎずこれに限定されるものではなく、たとえば操作スイッチ6d等で推奨度の数値を変更することも可能である。また、推奨度は、特殊効果の組み合わせの相性が良いほど数値を段階的に低く設定してもよい。
As shown in FIG. 16, the special effect information table T1 describes special effects applicable to the subject image and the background image. Specifically, special effects applicable to the subject image are “normal”, “pop”, “fisheye”, “soft”, “sepia”, “black and white”, “sketch”, and “miniature”. On the other hand, special effects to which the background image can be applied are “normal”, “pop”, “fisheye”, “soft”, “sepia”, “black and white”, “sketch”, and “miniature”. In addition, the special effect information table T1 describes the degree of recommendation (0 to 5) corresponding to a combination of special effects when a composite image is generated by applying a special effect to each of the subject image and the background image. Specifically, when the special effect of the subject image is “normal”, “5” is described as the recommended degree of the combination of “normal”, “soft”, and “sepia” in the special effect of the background image. Furthermore, “4” is described as the recommended degree of the combination of “pop”, “black and white”, and “sketch”, and “1” is described as the recommended degree of the combination of “fisheye” and “miniature”. That is, the degree of recommendation is set higher stepwise as the combination of special effects is better. Note that the numerical values shown in FIG. 16 are merely examples, and are not limited thereto. For example, the numerical value of the recommendation degree can be changed with the
このように、表示制御部11eは、表示部7に特殊効果用アイコンを表示する場合に、特殊効果情報テーブルT1を参照して、特殊効果の組み合わせの推奨度が高い順に表示させる。たとえば、表示制御部11eは、図15に示すように、表示部7によって現在表示されている背景画像W22に特殊効果が施されておらず、背景画像W22の状態が「ノーマル」の場合、特殊効果用アイコンとしてノーマルアイコンQ8、ソフトアイコンQ9およびセピアアイコンQ10を表示部7に表示させる制御を行う。これにより、撮像装置1は、表示部7が現在表示している画像に最適な特殊効果の組み合わせの選択の指針となる情報をユーザに提示することができる。
Thus, when displaying the special effect icon on the
つぎに、図16に示した特殊効果それぞれについて説明する。ノーマルとは、特殊効果画像生成部11cによって特殊効果を施さない状態である。ポップとは、色をカラフルで印象的に強調する効果である。たとえば画像データの色相および彩度を高めた処理を行う。魚眼とは、魚眼レンズを用いて撮影したように直線を円弧状に歪ませた画像に仕上げる効果である。たとえば画像データを座標変換等によって歪ませた画像に変更する処理を行う。ソフトとは、ソフトフォーカスレンズを用いて撮影したように画像全体を柔らかに仕上げる効果である。たとえば画像データのコントラストおよび彩度のレベルを低くした処理を行う。セピアとは、セピア調のモノクロームに仕上げる効果である。たとえばホワイトバランスおよびトーンカーブのレベルを低くした処理を行う。白黒とは、グレートーンで表現される白黒に画像を仕上げる効果である。たとえばホワイトバランスのレベルを低くした処理を行う。スケッチとは、輪郭を線画で描写するスケッチ風に画像を仕上げる効果である。ミニチュアとは、画面中央部にピントを合わせ、上下など周辺はコントラストを低くしてぼかす効果である。
Next, each of the special effects shown in FIG. 16 will be described. Normal is a state in which no special effect is applied by the special effect
図12に戻り、ステップS206において、制御部11は、ユーザによって背景画像の切換操作が行われたか否かを判断する。具体的には、図15に示すように、制御部11は、ユーザが別の背景画像に切換えを指示する指示信号の入力を受け付ける画像切換えアイコンQ11をタッチしたか否かを判断する。ユーザによって背景画像の切換操作が行われた場合(ステップS206:Yes)、表示制御部11eは、表示部7が現在表示している背景画像から画像データ記憶部9aが記憶する別の背景画像に切換えて表示部7に表示させ(ステップS207)、撮像装置1はステップS205に戻る。一方、ユーザによって背景画像の切換操作が行われていない場合(ステップS206:No)、撮像装置1はステップS208に移行する。
Returning to FIG. 12, in step S <b> 206, the control unit 11 determines whether a background image switching operation has been performed by the user. Specifically, as shown in FIG. 15, the control unit 11 determines whether or not the user has touched an image switching icon Q11 that receives an input of an instruction signal instructing switching to another background image. When the switching operation of the background image is performed by the user (step S206: Yes), the display control unit 11e changes from the background image currently displayed on the
続いて、制御部11は、ユーザによって特殊効果アイコンが操作されたか否かを判断する(ステップS208)。具体的には、図15に示すように、制御部11は、ユーザが表示部7の画面上に表示するノーマルアイコンQ8、ソフトアイコンQ9およびセピアアイコンQ10の何れか一つをタッチしたか否かを判断する。ユーザによって特殊効果アイコンが操作された場合(ステップS208:Yes)、特殊効果画像生成部11cは、表示部7が現在表示している背景画像に対し、ユーザがタッチした特殊効果用アイコンに対応する特殊効果、たとえばソフトを施した特殊効果画像を生成し(ステップS209)、表示制御部11eは、特殊効果画像(たとえば図10(b)を参照)を表示部7に表示させる(ステップS210)。
Subsequently, the control unit 11 determines whether or not the special effect icon has been operated by the user (step S208). Specifically, as illustrated in FIG. 15, the control unit 11 determines whether or not the user touches any one of the normal icon Q8, the soft icon Q9, and the sepia icon Q10 displayed on the screen of the
その後、制御部11は、表示部7が現在表示している特殊効果画像を仮画像データ記憶部9cに仮記憶させ(ステップS211)、撮像装置1は図11に示したメインルーチンに戻る。
Thereafter, the control unit 11 temporarily stores the special effect image currently displayed on the
ステップS208において、ユーザによって特殊効果アイコンが操作されていない場合(ステップS208:No)について説明する。この場合、制御部11は、所定時間内にユーザによって特殊効果アイコンの切換操作が行われたか否かを判断する(ステップS212)。具体的には、図15に示すように、制御部11は、ユーザが表示部7によって現在表示されている特殊効果アイコンから次の推奨度が高い特殊効果アイコンに切換えを指示する指示信号の入力を受け付ける切換アイコンQ12をタッチしたか否かを判断する。所定時間内、たとえば30秒内にユーザによって特殊効果アイコンの切換操作が行われていない場合(ステップS212:No)、撮像装置1は図11に示すメインルーチンに戻る。一方、ユーザによって特殊効果アイコンの切換操作が行われた場合(ステップS212:Yes)、表示制御部11eは、特殊効果情報記憶部9dが記憶する特殊効果情報テーブルT1を参照して、次に推奨度が高い特殊効果アイコン、たとえば「ポップ」、「白黒」および「スケッチ」の特殊効果アイコンに切換えて表示部7に表示させ(ステップS213)、撮像装置1はステップS205に戻る。
A case where the special effect icon is not operated by the user in step S208 (step S208: No) will be described. In this case, the control unit 11 determines whether or not a special effect icon switching operation has been performed by the user within a predetermined time (step S212). Specifically, as shown in FIG. 15, the control unit 11 inputs an instruction signal for instructing the user to switch from the special effect icon currently displayed on the
つぎに、図11のステップ107の撮影処理について説明する。図17は、撮影処理の概要を示すフローチャートである。なお、以下の説明においては、撮像装置1の撮影モードがスイングアート撮影に設定されている場合について説明する。
Next, the photographing process in step 107 in FIG. 11 will be described. FIG. 17 is a flowchart showing an outline of the photographing process. In the following description, a case where the shooting mode of the
図17に示すように、まず、制御部11は、撮像装置1の撮影モードがスイングアート撮影に設定されているか否かを判断する(ステップS301)。撮像装置1の撮像モードがスイングアート撮影に設定されている場合(ステップS301:Yes)、撮像装置1は、被写体画像および背景画像それぞれに特殊効果を施して合成画像を生成するスイングアート撮影処理を実行し(ステップS302)、撮像装置1は図11に示したメインルーチンに戻る。
As shown in FIG. 17, first, the control unit 11 determines whether or not the shooting mode of the
ステップS301において、撮像装置1の撮影モードがスイングアート撮影に設定されていない場合(ステップS301:No)について説明する。この場合、撮像装置1は、被写体に対して撮影を行い(ステップS303)、表示制御部11eは、撮影した画像データに対応する画像を表示部7にレックビュー表示させる(ステップS304)。
A case where the shooting mode of the
続いて、制御部11は、撮影した画像データを記憶部9の画像データ記憶部9aに記憶させ(ステップS305)、撮像装置1は図11に示したメインルーチンに戻る。なお、ステップS305では、画像データとして圧縮データ(JPEG)と非圧縮データ(RAW)をあわせて記憶してもよい。この場合には、後述する画像合成の際に、ユーザがこれらの画像データのいずれかを選択できるようにしてもよい。また、背景画像として、4:3、16:9などの多種類のアスペクト比を設定可能とし、表現や目的に合わせてユーザが所望のアスペクト比を選択できるようにしてもよい。
Subsequently, the control unit 11 stores the captured image data in the image
つぎに、図18のステップS302のスイングアート撮影処理について説明する。図18は、スイングアート撮影処理の概要を示すフローチャートである。 Next, the swing art photographing process in step S302 of FIG. 18 will be described. FIG. 18 is a flowchart showing an outline of the swing art shooting process.
図18において、まず、制御部11は、ユーザによって撮像装置1が移動を開始したか否かを判断する(ステップS401)。具体的には、制御部11は、ユーザが撮像装置1を移動させた際(図4を参照)に姿勢検出部3が検出する加速度によって撮像装置1が移動を開始したか否かを判断する。撮像装置1が移動を開始していない場合(ステップS401:No)、制御部11は、この判断を繰り返す。一方、撮像装置1が移動を開始した場合(ステップS401:Yes)、撮像装置1はステップS402に移行する。
In FIG. 18, first, the control unit 11 determines whether or not the
続いて、撮像装置1は、被写体に対して微小な時間間隔で連続的に撮影を行い(ステップS402)、制御部11は、撮影した画像を記憶部9の仮画像データ記憶部9cに仮記憶させる(ステップS403)。
Subsequently, the
その後、制御部11は、撮像装置1が移動を停止したか否かを判断する(ステップS404)。撮像装置1が移動を停止していない場合(ステップS404:No)、撮像装置1はステップS402に戻る。一方、撮像装置1が移動を停止した場合(ステップS404:Yes)、撮像装置1はステップS405に移行する。
Thereafter, the control unit 11 determines whether or not the
続いて、制御部11は、画像分離部11bが撮影した複数の画像から被写体画像と背景画像とを分離することが可能であるか否かを判断する(ステップS405)。具体的には、制御部11は、画像分離部11bが仮画像データ記憶部9cに記憶されている複数の画像、たとえば隣接する画像それぞれに含まれる被写体の視差(図7を参照)に基づいて、撮影した画像から被写体画像と背景画像とを分離することが可能であるか否かを判断する。画像分離部11bが撮影した画像から被写体画像と背景画像とを分離することが可能でない場合(ステップS405:No)、表示制御部11eは、撮影した画像から被写体画像と背景画像とを分離することができない旨の警告を表示部7に表示させ(ステップS406)、撮像装置1は図11に示したメインルーチンに戻る。
Subsequently, the control unit 11 determines whether or not the subject image and the background image can be separated from the plurality of images taken by the
ステップS405において、画像分離部11bが撮影した画像から被写体画像と背景画像とを分離することが可能である場合(ステップS405:Yes)について説明する。この場合、画像分離部11bは、撮影した画像から被写体画像を分離し(ステップS407)、合成画像生成部11dは、画像分離部11bが分離した被写体画像を、特殊効果画像生成部11cが生成した特殊効果画像に合成して合成画像(たとえば図10(c)を参照)を生成する(ステップS408)。
A case will be described in which it is possible to separate the subject image and the background image from the image captured by the
続いて、表示制御部11eは、合成画像生成部11dが生成した合成画像を表示部7に表示させ(ステップS409)、制御部11は、ユーザによってメニュースイッチ6eが操作されたか否かを判断する(ステップS410)。ユーザによってメニュースイッチ6eが操作された場合(ステップS410:Yes)、撮像装置1は後述するステップS411に移行する。一方、ユーザによってメニュースイッチ6eが所定時間内、たとえば30秒内に操作されていない場合(ステップS410:No)、撮像装置1は後述するステップS419に移行する。
Subsequently, the display control unit 11e displays the composite image generated by the composite
ステップS410において、ユーザによってメニュースイッチ6eが操作された場合(ステップS410:Yes)について説明する。この場合、表示制御部11eは、表示部7が表示する画像上に画像選択アイコンおよび特殊効果アイコンを表示させる(ステップS411)。具体的には、図19に示すように、表示制御部11eは、表示部7が表示する合成画像W23上に、背景画像に施す特殊効果の特殊効果アイコンに切換えを指示する背景選択アイコンQ13を表示させる。さらに、表示制御部11eは、特殊効果情報テーブルT1を参照して、被写体画像に施すべき特殊効果に関する情報を、直近に施した特殊効果との組み合わせに応じた推奨度の高い順に表示させる。たとえば、表示制御部11eは、特殊効果画像生成部11cが直近に施した背景画像に対する特殊効果が「ソフト」の場合、ノーマルアイコンQ14およびソフトアイコンQ15を表示部7に表示させる。さらにまた、表示制御部11eは、特殊効果アイコンの切換えの指示信号の入力を受け付ける切換アイコンQ16およびスイングアート撮影の終了の指示信号の入力を受け付ける終了アイコンQ17を表示部7に表示させる。
A case where the
続いて、制御部11は、ユーザによって画像選択アイコンが操作されたか否かを判断する(ステップS412)。具体的には、図19に示すように、制御部11は、ユーザによって背景選択アイコンQ13が操作されたか否かを判断する。ユーザによって背景アイコンが操作された場合(ステップS412:Yes)、表示制御部11eは、画像選択アイコンおよび特殊効果アイコンを切換えて表示させ(ステップS413)、撮像装置1はステップS412に戻る。具体的には、表示制御部11eは、表示部7が表示する合成画像W23上に、画像選択アイコンとして被写体アイコン(図示せず)を表示させるとともに、特殊効果情報テーブルT1を参照して、背景画像に施すべき特殊効果に関する情報を、直近に施した特殊効果との組み合わせに応じた推奨度の高い順に表示させる。
Subsequently, the control unit 11 determines whether or not the image selection icon has been operated by the user (step S412). Specifically, as shown in FIG. 19, the control unit 11 determines whether or not the background selection icon Q13 has been operated by the user. When the user operates the background icon (step S412: Yes), the display control unit 11e switches between the image selection icon and the special effect icon (step S413), and the
ステップS412において、ユーザによって画像選択アイコンが操作されていない場合(ステップS412:No)について説明する。この場合、制御部11は、ユーザによって特殊効果アイコンが操作されたか否かを判断する(ステップS414)。ユーザによって特殊効果アイコンが操作された場合(ステップS414:Yes)、特殊効果画像生成部11cは、タッチパネル8が特殊効果アイコンの表示領域上に位置する接触領域で入力を受け付けた特殊効果アイコンに対応する特殊効果を被写体画像に施して特殊効果画像を生成する(ステップS415)。
A case where the image selection icon is not operated by the user in step S412 (step S412: No) will be described. In this case, the control unit 11 determines whether or not the special effect icon has been operated by the user (step S414). When the special effect icon is operated by the user (step S414: Yes), the special effect
続いて、合成画像生成部11dは、特殊効果画像生成部11cが生成した特殊効果画像を用いて合成画像を生成し(ステップS416)、表示制御部11eは、合成画像生成部11dが生成した合成画像を表示部7に表示させる(ステップS417)。
Subsequently, the composite
その後、制御部11は、所定時間内にユーザによって終了アイコンQ17が操作されたか否かを判断する(ステップS418)。所定時間内、たとえば30秒内にユーザによって終了アイコンQ17が操作されない場合(ステップS418:No)、撮像装置1はステップS412に戻る。一方、所定時間内にユーザによって終了アイコンQ17が操作された場合(ステップS418:Yes)、制御部11は、表示部7が現在表示している画像に対応する画像データを画像データ記憶部9aに記憶させ(ステップS419)、撮像装置1は図11に示したメインルーチンに戻る。
Thereafter, the control unit 11 determines whether or not the end icon Q17 has been operated by the user within a predetermined time (step S418). When the end icon Q17 is not operated by the user within a predetermined time, for example, 30 seconds (step S418: No), the
ステップS414において、ユーザによって特殊効果アイコンが操作されていない場合(ステップS414:No)について説明する。この場合、制御部11は、ユーザによって特殊効果アイコンの切換操作が行われたか否かを判断する(ステップS420)。具体的には、制御部11は、ユーザによって切換アイコンQ16(図19を参照)が操作されたか否かを判断する。ユーザによって特殊効果アイコンの切換操作がない場合(ステップS420:No)、撮像装置1はステップS418に移行する。一方、ユーザによって特殊効果の切換操作が行われた場合(ステップS420:Yes)、表示制御部11eは、特殊効果情報テーブルT1を参照して、次に推奨度が高い特殊効果アイコンに切換えて表示部7に表示させ(ステップS421)、撮像装置1はステップS412に戻る。具体的には、表示制御部11eは、次に推奨度が高い特殊効果アイコンとして「セピア」および「白黒」の特殊効果アイコンを表示部7に表示させる。
The case where the special effect icon is not operated by the user in step S414 (step S414: No) will be described. In this case, the control unit 11 determines whether or not a special effect icon switching operation has been performed by the user (step S420). Specifically, the control unit 11 determines whether or not the switching icon Q16 (see FIG. 19) has been operated by the user. When there is no special effect icon switching operation by the user (step S420: No), the
以上説明した本実施の形態1では、特殊効果画像生成部11cが被写体画像および背景画像の一方に対して特殊効果を施し、この特殊効果が施された特殊効果画像が合成画像生成部11dによって被写体画像および背景画像の他方と合成された場合、表示制御部11eは、この合成された合成画像を表示部7に表示させるとともに、特殊効果情報記憶部9dが記憶する特殊効果情報テーブルT1を参照して、被写体画像または背景画像に施すべき特殊効果に関する情報を、直近に施した特殊効果との組み合わせに応じた推奨度の高い順に表示部7に表示させる。これにより、2つの画像データそれぞれに対して個別に特殊効果を行って合成画像を生成する場合に、特殊効果の組み合わせの選択の指針となる情報をユーザに提示することができる。
In the first embodiment described above, the special effect
さらに、本実施の形態1では、表示制御部11eが、最初に推奨度が高い組み合わせの特殊効果アイコンを表示部7に表示するので、ユーザは特殊効果の選択操作によって被写体のシャッタチャンスを逃すことなく、被写体画像および背景画像それぞれに特殊効果を施した合成画像を得ることができる。
Furthermore, in the first embodiment, the display control unit 11e first displays a special effect icon with a highly recommended combination on the
(実施の形態2)
つぎに、本実施の形態2について説明する。上述した本実施の形態1では、表示制御部が、特殊効果情報テーブルを参照して、被写体画像または背景画像に施すべき特殊効果に関する情報を、直近に施した特殊効果との組み合わせに応じた推奨度の高い順に表示部7に表示させていた。これに対して、本実施の形態2では、特殊効果情報記憶部が当該撮像装置で設定可能な撮影モードと被写体画像または背景画像に施す特殊効果との組み合わせに応じた推奨度を与える第2特殊効果情報テーブルを記憶し、表示制御部が、入力部からの入力によって撮影モードが設定された場合、第2特殊効果情報テーブルを参照して、設定された撮影モードとの組み合わせに応じた推奨度の高い順に特殊効果に関する情報を表示部に表示させる。なお、本実施の形態2の撮像装置は、上述した本実施の形態1の撮像装置1と同様の構成を有する。このため、本実施の形態2では、撮像装置1に備えられた各種撮影シーンに応じてそれぞれ設定された複数の撮影モードについて説明する。
(Embodiment 2)
Next, the second embodiment will be described. In the first embodiment described above, the display control unit refers to the special effect information table, and recommends information related to the special effect to be applied to the subject image or the background image according to the combination with the special effect that was most recently applied. They are displayed on the
まず、本実施の形態2に係る撮像装置1に備えられた各種撮影シーンに応じてそれぞれ設定された複数の撮影モードについて説明する。本実施の形態2に係る撮像装置1は、撮像モードとして、通常撮影、パノラマ撮影、スイング3D撮影、3D撮影、HDR(High Dynamic Range)撮影およびSストロボ撮影が備えられている。なお、上記した撮影モードは、あくまでも例示にすぎず、これに限定されるものではない。
First, a plurality of shooting modes respectively set according to various shooting scenes provided in the
図20は、撮像装置1が行う撮影モードにおけるパノラマ撮影の撮影方法を説明する模式図である。図20に示すように、撮像装置1は、ユーザによって左側から右側に移動ささせられることによって、複数の撮影位置で連続的に撮影した複数の画像データを生成する。具体的には、図20に示すように、撮像装置1は、画像W31〜W33を生成する(図20(a))。その後、合成画像生成部11dが、画像W31〜W33の短手方向の端部同士を重ねて合成した一枚のパノラマ画像W34を生成する(図20(b))。これにより、ユーザは、撮像装置1を移動させながら撮影することによって、パノラマ画像W34を得ることができる。なお、図20(a)においては、撮像部2が生成する複数の画像のうち、代表的な3枚の画像W31〜W33を示し、各画像W31〜W33の間には複数の画像が存在する。
FIG. 20 is a schematic diagram illustrating a panorama shooting method in the shooting mode performed by the
また、撮像装置1は、ユーザによって撮像装置1を移動させながら撮影することにより、撮像装置1の撮影モードにおける3D撮影およびスイング3D撮影を行うことができる。3D撮影とは、ユーザが撮像装置1を移動させながら被写体を連続的に撮影することにより、互いの視野の左右方向の一端部同士が重なりを有する2つの画像データを生成する撮影である。具体的には、図20に示すように、ユーザが撮像装置1を左から右に向けて移動させながら撮像装置1が被写体A1を連続的に撮影することにより、互いの視野の左右方向の一端部同士が重なりを有する2つの画像データを生成する。これにより、撮像装置1は、ユーザが仮想的に認識する3次元画像(以下、「3D画像」という)を生成することができる。さらに、スイング3D撮影とは、撮影した3D画像に対して特殊効果を施して特殊効果3D画像を生成する撮影である。具体的には、画像分離部11bによって3D画像内から被写体画像および背景画像を分離し、分離した被写体画像および背景画像に特殊効果画像生成部11cが特殊効果をそれぞれ施して特殊効果画像を生成する。その後、合成画像生成部11dが特殊効果画像を合成して特殊効果3D画像を生成する。これにより、撮像装置1は、3D画像に特殊効果を施した特殊効果3D画像を生成することができる。
Further, the
図21は、撮像装置1が行う撮影モードにおけるHDR撮影の撮影方法を説明する模式図である。図22は、図21に示す状況下で撮像装置1が生成する画像の一例を示す図である。なお、図22において、画像W40が、図21(a)に示す状況下で撮像装置1が生成する画像であり、画像W41が、図21(b)に示す状況下で撮像装置1が生成する画像である。HDR撮影とは、ダイナミックレンジの大きな画像を得るために、明るさが暗い部分用の画像と明るさが明るい部分用の画像とを合成することによって明るさの再現域を拡大する撮影である。
FIG. 21 is a schematic diagram illustrating an HDR imaging method in the imaging mode performed by the
図21に示すように、まず、撮像装置1は、ストロボ4の光を被写体A3に照射して被写体A3を撮影して画像W40を生成する(図22(a))。続いて、撮像装置1は、露光時間を通常の撮影より長く、たとえば2倍長くした露光時間で被写体A3を撮影して画像W41を生成する(図22(b))。その後、画像分離部11bが、画像W40の輝度値と画像W41の輝度値との差分に基づいて、画像W40および画像W41からそれぞれ被写体画像と背景画像とを分離する。具体的には、画像分離部11bは、画像W40の輝度値と画像W41の輝度値との差が閾値以上ある領域を被写体画像として特定して分離する。これに対して、画像分離部11bは、画像W40の輝度値と画像W41の輝度値との差が閾値未満である領域を背景画像として特定して分離する。続いて、合成画像生成部11dは、画像分離部11bが画像W40から分離した被写体画像と画像W41から分離した背景画像とを合成して合成画像を生成する。これにより、撮像装置1は、被写体A3と背景とを最適な輝度値を有する合成画像を生成することができる。
As shown in FIG. 21, first, the
また、撮像装置1は、ストロボの発光を通常撮影より強めて撮影するSストロボ撮影または絞り値を通常撮影より高めることにより背景をぼかした背景ぼかし撮影を行うことができる。ここで、Sストロボとは、ストロボを発光させた画像と、ストロボを発光させずに露出時間を長くした画像とを合成し、背景が真っ暗になることを防ぎ、背景および人物を正しく再現させる処理である。また、背景ぼかしとは、画像の明るさの変化を小さくし、コントラストを低くする処理である。
In addition, the
以上の撮像モードを備えた本実施の形態2に係る撮像装置1が行う処理について説明する。本実施の形態2に係る撮像装置1が行う処理は、上述した本実施の形態1と同様の処理を行い(図11を参照)、メニュー操作処理と撮影処理が異なる。このため、本実施の形態2に係る撮像装置1が行うメニュー操作処理を説明後、本実施の形態2に係る撮像装置1が行う撮影処理を説明する。
Processing performed by the
図23は、本実施の形態2に係る撮像装置1が行うメニュー操作処理の概要を示すフローチャートである。
FIG. 23 is a flowchart illustrating an overview of menu operation processing performed by the
図23において、まず、表示制御部11eは、メニューアイコン(図13を参照)を表示部7が表示する画像上に表示させ(ステップS501)、制御部11は、ユーザによって特殊撮影モードアイコンが操作されたか否かを判断する(ステップS502)。所定時間内にユーザによって特殊撮影モードアイコンが操作されていない場合(ステップS502:No)、撮像装置1は図11に示したメインルーチンに戻る。一方、ユーザによって特殊撮影モードアイコンが操作された場合(ステップS502:Yes)、撮像装置1はステップS503に移行する。
23, first, the display control unit 11e displays a menu icon (see FIG. 13) on the image displayed on the display unit 7 (step S501), and the control unit 11 operates the special shooting mode icon by the user. It is determined whether or not it has been done (step S502). If the special shooting mode icon has not been operated by the user within the predetermined time (step S502: No), the
続いて、表示制御部11eは、特殊撮影モードの下位メニューアイコンを表示部7が表示する画像上に表示させる(ステップS503)。具体的には、図24に示すように、表示制御部11eは、表示部7が表示する画像W50上に、撮像装置1にパノラマ撮影の設定を指示する指示信号が入力されるパノラマアイコンQ21および撮像装置1にスイング3D撮影の設定を指示する指示信号が入力されるスイング3DアイコンQ22等を表示させる。なお、図24においては、撮影モードの下位メニューアイコンとして、パノラマアイコンQ21およびスイング3DアイコンQ22のみであったが、これに限定されるものでない。具体的には、表示制御部11eは、ユーザによって撮影モードの切換を指示する指示信号の入力を受け付ける切換アイコンQ23,24が操作された場合、他の下位メニューアイコン、たとえば撮像装置1に3D撮影の設定を指示する指示信号が入力される3D撮影アイコンを表示部7に表示させる。
Subsequently, the display control unit 11e displays a lower menu icon in the special shooting mode on the image displayed on the display unit 7 (step S503). Specifically, as illustrated in FIG. 24, the display control unit 11e includes a panorama icon Q21 to which an instruction signal for instructing the
続いて、制御部11は、ユーザによってスイング3Dアイコンが操作されたか否かを判断する(ステップS504)。所定時間内にユーザによってスイング3Dアイコンが操作されていない場合(ステップS504:No)、撮像装置1は図11に示したメインルーチンに戻る。一方、ユーザによってスイング3Dアイコンが操作された場合(ステップS504:Yes)、撮像装置1はステップS505に移行する。
Subsequently, the control unit 11 determines whether or not the
その後、表示制御部11eは、画像選択アイコンおよび特殊効果アイコンを表示部7が表示する画像上に表示させる(ステップS505)。具体的には、図25に示すように、表示制御部11eは、画像選択アイコンとして被写体選択アイコンQ26を表示部7に表示させるとともに、特殊効果情報記憶部9dが記憶する第2特殊効果情報テーブルを参照して、設定された撮影モードとの組み合わせに応じた推奨度の高い順に特殊効果に関する情報としてポップアイコンQ27を表示させる。なお、図25において、アイコンQ25は、ユーザによって設定された現在の撮像装置1の撮影モードに関する情報およびユーザによって設定された特殊効果を施す対象の画像の情報を示すアイコンである。
Thereafter, the display control unit 11e displays the image selection icon and the special effect icon on the image displayed on the display unit 7 (step S505). Specifically, as shown in FIG. 25, the display control unit 11e displays a subject selection icon Q26 on the
ここで、図26を参照して、表示制御部11eが表示部7に表示させる特殊効果アイコンの表示方法について説明する。図26は、特殊効果情報記憶部9dが記憶する第2特殊効果情報テーブルの一例を示す図である。
Here, with reference to FIG. 26, the display method of the special effect icon which the display control part 11e displays on the
図26に示すように、特殊効果情報テーブルT2は、撮像装置1で設定可能な撮影モードに対して適用可能な特殊効果が記載されている。具体的には、撮影モードに適用可能な特殊効果が、「ミニチュア」、「ポップ」、「魚眼」、「ソフト」、「セピア」、「白黒」および「スケッチ」である。さらに、撮像装置1で設定可能な撮像モードと被写体画像または背景画像に施す特殊効果との組み合わせに応じた推奨度が数値(0〜5)で記載されている。具体的には、撮影モードが「スイング3D」の場合、特殊効果の「ポップ」の推奨度として「5」が記載されている。さらに、撮影モードが「スイング3D」の場合、特殊効果の「魚眼」の推奨度として「0」が記載されている。この撮像モードと特殊効果との推奨度が「0」になる組み合わせは、撮影した画像に対して特殊効果による顕著な視覚効果を得られない組み合わせである。このため、本実施の形態2では、表示制御部11eは、特殊効果情報記憶部9dが記憶する第2特殊効果情報テーブルT2を参照して、特殊効果アイコンを撮影モードと推奨度が高い順に表示部7に表示させる制御を行う。さらに、表示制御部11eは、撮影モードに組み合わせが可能な特殊効果のアイコンのみを表示部7に表示させる制御を行う。すなわち、表示制御部11eは、撮像モードと特殊効果との推奨度が「0」の特殊効果アイコンを表示部7に表示させない制御を行う。
As shown in FIG. 26, the special effect information table T2 describes special effects applicable to shooting modes that can be set by the
図23に戻り、ステップS506において、制御部11は、ユーザによって終了アイコンQ29(図25を参照)が操作されたか否かを判断する。ユーザによって終了アイコンQ29が操作された場合(ステップS506:Yes)、撮像装置1は図11に示したメインルーチンに戻る。一方、ユーザによって終了アイコンQ29が操作されていない場合(ステップS506:No)、撮像装置1はステップS507に移行する。
Returning to FIG. 23, in step S506, the control unit 11 determines whether or not the end icon Q29 (see FIG. 25) has been operated by the user. When the end icon Q29 is operated by the user (step S506: Yes), the
続いて、制御部11は、ユーザによって画像選択アイコンが操作されたか否かを判断する(ステップS507)。具体的には、図25に示すように、制御部11は、被写体画像に施す特殊効果の設定に切換える指示信号の入力を受け付ける被写体選択アイコンQ26が操作されたか否かを判断する。ユーザによって画像選択アイコンが操作されていない場合(ステップS508:No)、制御部11は、ユーザによって特殊効果アイコンが操作されたか否かを判断する(ステップS508)。具体的には、図25に示すように、制御部11は、ユーザによってポップアイコンQ27が操作されたか否かを判断する。ユーザによって特殊効果アイコンが操作された場合(ステップS508:Yes)、制御部11は、ユーザによって操作された特殊効果アイコンに応じて背景画像の特殊効果を設定し、この設定した設定内容を仮画像データ記憶部9cに記憶し(ステップS509)、撮像装置1はステップS505に戻る。
Subsequently, the control unit 11 determines whether or not the image selection icon has been operated by the user (step S507). Specifically, as shown in FIG. 25, the control unit 11 determines whether or not a subject selection icon Q26 that accepts an input of an instruction signal for switching to setting of a special effect to be applied to the subject image has been operated. When the image selection icon is not operated by the user (step S508: No), the control unit 11 determines whether or not the special effect icon is operated by the user (step S508). Specifically, as illustrated in FIG. 25, the control unit 11 determines whether or not the pop icon Q27 is operated by the user. When the special effect icon is operated by the user (step S508: Yes), the control unit 11 sets the special effect of the background image according to the special effect icon operated by the user, and the set content is the temporary image. The data is stored in the data storage unit 9c (step S509), and the
ステップS508において、ユーザによって特殊効果アイコンが操作されていない場合(ステップS508:No)について説明する。この場合、制御部11は、ユーザによって特殊効果アイコンの切換操作が行われたか否かを判断する(ステップS510)。具体的には、図25に示すように、制御部11は、ユーザが表示部7によって現在表示されている特殊効果アイコンから次に推奨度が高い特殊効果アイコンに切換えを指示する指示信号の入力を受け付ける切換アイコンQ28を操作したか否かを判断する。所定時間内にユーザによって特殊効果アイコンの切換操作が行われない場合(ステップS510:No)、撮像装置1はステップS505に戻る。一方、ユーザによって特殊効果アイコンの切換操作が行われた場合(ステップS510:Yes)、表示制御部11eは、特殊効果情報記憶部9dが記憶する特殊効果情報テーブルT2を参照して、次に推奨度が高い特殊効果アイコン、たとえば「白黒」の特殊効果アイコンに切換えて表示部7に表示させ(ステップS511)、撮像装置1はステップS508に戻る。
A case where the special effect icon is not operated by the user in step S508 (step S508: No) will be described. In this case, the control unit 11 determines whether or not a special effect icon switching operation has been performed by the user (step S510). Specifically, as shown in FIG. 25, the control unit 11 inputs an instruction signal instructing the user to switch from the special effect icon currently displayed on the
ステップS507において、ユーザによって画像選択アイコンが操作された場合(ステップS507:Yes)について説明する。この場合、表示制御部11eは、画像選択アイコン、および特殊効果情報記憶部9dが記憶する特殊効果情報テーブルを参照して、特殊効果アイコンを表示部7が表示する画像上に表示させる(ステップS512)。具体的には、図27に示すように、表示制御部11eは、画像選択アイコンQ30を表示させるとともに、特殊効果情報記憶部9dが記憶する特殊効果情報テーブルを参照して、ノーマルアイコンQ31、セピアアイコンQ32および白黒アイコンQ33を表示部7に表示させる。なお、図27において、画像選択アイコンQ30には、ユーザによって設定された現在の撮像装置1の撮影モードと背景に設定された特殊効果の情報、たとえば特殊効果として白黒効果が付加されて表示される。これにより、ユーザは、背景画像に対して設定した特殊効果を確認しながら、被写体画像に施す特殊効果の設定を行うことができる。
A case where the image selection icon is operated by the user in step S507 (step S507: Yes) will be described. In this case, the display control unit 11e refers to the image selection icon and the special effect information table stored in the special effect
ここで、図28を参照して、表示制御部11eが表示部7に表示させる特殊効果アイコンの表示方法について説明する。図28は、特殊効果情報記憶部9dが記憶する特殊効果情報テーブルの一例を示す図である。
Here, with reference to FIG. 28, the display method of the special effect icon which the display control part 11e displays on the
図28に示すように、特殊効果情報テーブルT3は、被写体画像および背景画像それぞれに適用可能な特殊効果が記載されている。具体的には、特殊効果情報テーブルT3には、被写体画像および背景画像それぞれに特殊効果を施して合成画像を生成する際の特殊効果の組み合わせの推奨度が数値(0〜5)で記載されている。具体的には、被写体画像の特殊効果が「ノーマル」の場合、背景画像の特殊効果において「ノーマル」、「ソフト」および「白黒」の推奨度として「5」が記載されている。さらに、「セピア」の推奨度として「4」が記載され、「ポップ」、「魚眼」、「スケッチ」および「ミニチュア」の推奨度として「0」が記載されている。特殊効果の推奨度が「0」になる特殊効果の組み合わせは、撮影した画像に対して特殊効果による顕著な視覚効果を得られない組み合わせである。このため、本実施の形態2では、表示制御部11eは、特殊効果情報記憶部9dが記憶する特殊効果情報テーブルT3を参照して、特殊効果の組み合わせが可能な特殊効果のアイコンのみを表示部7に表示させる制御を行う。すなわち、表示制御部11eは、特殊効果の組み合わせ推奨度が「0」の特殊効果アイコンを表示部7に表示させない制御(制限)を行う。これにより、ユーザは、背景画像および被写体画像それぞれに対して特殊効果を設定して合成画像を生成する場合、画像が不自然になることを確実に防止することができる。
As shown in FIG. 28, the special effect information table T3 describes special effects applicable to the subject image and the background image. Specifically, in the special effect information table T3, the recommended degree of the combination of the special effects when the special effect is applied to each of the subject image and the background image to generate the composite image is described with a numerical value (0 to 5). Yes. Specifically, when the special effect of the subject image is “normal”, “5” is described as the recommended degree of “normal”, “soft”, and “monochrome” in the special effect of the background image. Furthermore, “4” is described as the recommended level of “Sepia”, and “0” is described as the recommended level of “Pop”, “Fisheye”, “Sketch”, and “Miniature”. A special effect combination in which the recommended degree of special effect is “0” is a combination in which a remarkable visual effect due to the special effect cannot be obtained with respect to a captured image. Therefore, in the second embodiment, the display control unit 11e refers to the special effect information table T3 stored in the special effect
図23に戻り、ステップs513において、制御部11は、ユーザによって特殊効果アイコンが操作されたか否かを判断する。ユーザによって特殊効果アイコンが操作された場合(ステップS513:Yes)、制御部11は、ユーザによって操作された特殊効果アイコンに応じた被写体画像の特殊効果を設定し、この設定した設定内容を仮画像データ記憶部9cに記憶し(ステップS514)、撮像装置1はステップS505に戻る。
Returning to FIG. 23, in step s513, the control unit 11 determines whether or not the special effect icon is operated by the user. When the special effect icon is operated by the user (step S513: Yes), the control unit 11 sets the special effect of the subject image according to the special effect icon operated by the user, and the set content is the temporary image. It memorize | stores in the data storage part 9c (step S514), and the
これに対して、ユーザによって特殊効果アイコンが操作されていない場合(ステップS513:No)、制御部11は、ユーザによって特殊効果アイコンの切換操作が行われたか否かを判断する(ステップS515)、具体的には、図27に示すように、制御部11は、ユーザが表示部7によって現在表示されている特殊効果アイコンから次の推奨度が高い特殊効果アイコンに切換えを指示する指示信号の入力を受け付ける切換アイコンQ34がタッチしたか否かを判断する。所定時間内にユーザによって特殊効果アイコンの切換操作が行われていない場合(ステップS515:No)、撮像装置1はステップS505に戻る。一方、ユーザによって特殊効果アイコンの切換操作が行われた場合(ステップS515:Yes)、表示制御部11eは、特殊効果情報記憶部9dが記憶する特殊効果情報テーブルT3を参照して、次に推奨度が高い特殊効果アイコン、たとえば「ポップ」の特殊効果アイコンに切換えて表示部7に表示させ(ステップS516)、撮像装置1はステップS505に戻る。
On the other hand, when the special effect icon is not operated by the user (step S513: No), the control unit 11 determines whether the special effect icon switching operation is performed by the user (step S515). Specifically, as shown in FIG. 27, the control unit 11 inputs an instruction signal instructing the user to switch from the special effect icon currently displayed on the
つぎに、本実施の形態2に係る撮像装置1が行う撮影処理について説明する。図29は、撮影処理の概要を示すフローチャートである。なお、以下の説明においては、撮像装置1の撮影モードがスイング3D撮影に設定されている場合について説明する。
Next, imaging processing performed by the
図29に示すように、まず、制御部11は、撮像装置1の撮影モードがスイング3D撮影に設定されているか否かを判断する(ステップS601)。撮像装置1の撮影モードがスイング3D撮影に設定されている場合(ステップS601:Yes)、制御部11は、ユーザによって撮像装置1が移動を開始したか否かを判断する(ステップS602)。撮像装置1が移動を開始していない場合(ステップS602:No)、制御部11は、この判断を繰り返す。一方、ユーザによって撮像装置1が移動を開始した場合(ステップS602:Yes)、撮像装置1はステップS603に移行する。
As shown in FIG. 29, the control unit 11 first determines whether or not the shooting mode of the
続いて、撮像装置1は、微小な時間間隔で連続的に撮影を行い(ステップS603)、制御部11は、撮影した画像を仮画像データ記憶部9cに仮記憶させる(ステップS604)。
Subsequently, the
その後、制御部11は、撮像装置1が移動を停止したか否かを判断する(ステップS605)。撮像装置1が移動を停止していない場合(ステップS605:No)、撮像装置1はステップS603に戻る。一方、撮像装置1が移動を停止した場合(ステップS605:Yes)、撮像装置1はステップS606に移行する。
Thereafter, the control unit 11 determines whether or not the
続いて、制御部11は、画像分離部11bが撮影した複数の画像から被写体画像と背景画像とを分離することが可能であるか否かを判断する(ステップS606)。画像分離部11bが撮影した複数の画像から被写体画像と背景画像とを分離することができない場合(ステップS606:No)、表示制御部11eは、撮影した画像から被写体画像と背景画像とを分離することができない旨の警告を表示部7に表示させ(ステップS607)、撮像装置1は図11に示したメインルーチンに戻る。
Subsequently, the control unit 11 determines whether or not the subject image and the background image can be separated from the plurality of images taken by the
ステップS606において、画像分離部11bが撮影した画像から被写体画像と背景画像とを分離することが可能である場合(ステップS606:Yes)について説明する。この場合、画像分離部11bは、撮影した画像から被写体画像と背景画像とを分離し(ステップS608)、特殊効果画像生成部11cは、仮画像データ記憶部9cに記憶された被写体画像と背景画像とにそれぞれ設定された特殊効果を施して特殊効果画像を生成する(ステップS609)。
A case where the subject image and the background image can be separated from the image captured by the
続いて、合成画像生成部11dは、特殊効果画像生成部11cが生成した被写体画像および背景画像それぞれの特殊効果画像を合成して合成画像を生成し(ステップS610)、表示制御部11eは、合成画像生成部11dが生成した合成画像を用いて3D特殊効果画像を表示部7に表示させる(ステップS611)。具体的には、図30に示すように、表示制御部11eは、合成画像WL2および合成画像WR2の2つの画像データを用いて3D画像を表示部7に表示させる。これにより、ユーザは、被写体画像および背景画像それぞれに特殊効果を施した3D画像を仮想的に視認することができる。
Subsequently, the composite
その後、制御部11は、表示部7が現在表示している画像を画像データ記憶部9aに記憶させ(ステップS612)、撮像装置1は図11に示したメインルーチンに戻る。
Thereafter, the control unit 11 stores the image currently displayed on the
ステップS601において、撮像装置1の撮影モードがスイング3D撮影に設定されていない場合(ステップS601:No)について説明する。この場合、撮像装置1は、被写体に対して撮影を行い(ステップS613)、表示制御部11eは、撮影した画像を表示部7にレックビュー表示させる(ステップS614)。
A case where the shooting mode of the
その後、制御部11は、撮影した画像を画像データ記憶部9aに記憶させ(ステップS615)、撮像装置1は図11に示したメインルーチンに戻る。
Thereafter, the control unit 11 stores the captured image in the image
以上説明した本実施の形態2によれば、特殊効果情報記憶部9dが撮像装置1で設定可能な撮影モードと被写体画像または背景画像に施す特殊効果との組み合わせに応じた推奨度を与える第2特殊効果情報テーブルT2を記憶し、表示制御部11eが、タッチパネル8からの入力によって撮影モードが設定された場合、第2特殊効果情報テーブルを参照して、設定された撮影モードとの組み合わせに応じた推奨度の高い順に特殊効果に関する情報を表示部7に表示させる。これにより、ユーザが撮影モードと特殊効果とを組み合わせて撮影を行う場合に、撮像モードと特殊効果との組み合わせの選択の指針となる情報をユーザに提示することができる。
According to the second embodiment described above, the special effect
さらに、本実施の形態2によれば、表示制御部11eが、撮影モードと特殊効果との組み合わせが可能な特殊効果に対応する特殊効果アイコンのみ表示部7に表示させる制御を行う。これにより、ユーザは、撮影モードと特殊効果とを組み合わせて撮影を行う場合、撮影する画像が不自然になることを確実に防止することができる。
Further, according to the second embodiment, the display control unit 11e performs control for causing the
なお、上述した実施の形態2では、撮像装置1がユーザによって移動させながら撮影することにより、互いの視野の左右方向の一端部同士が重なりを有する2つの画像データを生成していたが、たとえば、撮像部を2つの光学系を有する構成にすることによって互いの視野の左右方向の一端部同士が重なりを有する2つの画像データを生成するようにしてもよい。
In the second embodiment described above, the
(その他の実施の形態)
また、本実施の形態1,2では、表示制御部11eが、特殊効果情報記憶部9dが記憶する特殊効果情報テーブルを参照して、特殊効果の組み合わせの推奨度が高い順に特殊効果アイコンの色および/または大きさを変えた表示態様で表示部7に強調表示させてもよい。これにより、ユーザは、特殊効果との組み合わせの選択の指針となる情報に基づいて、最適な特殊効果の組み合わせを直感的に選択することができる。
(Other embodiments)
In the first and second embodiments, the display control unit 11e refers to the special effect information table stored in the special effect
また、本実施の形態1,2では、合成画像生成部11dが、画像分離部11bによって分離された被写体画像および背景画像それぞれに特殊効果が施された特殊効果画像を合成していたが、たとえば画像データ記憶部9aが記憶する画像(圧縮データまたは非圧縮データ、アスペクト比ごとに分類された圧縮データまたは非圧縮データ等)と多重露出で撮影した直後の画像とに特殊効果をそれぞれ施して2つの特殊効果画像を生成し、この生成した2つの特殊効果画像を合成して合成画像を生成するようにしてもよい。
In the first and second embodiments, the composite
また、本実施の形態1,2では、姿勢検出部3は、撮像装置1の姿勢状態を検出していたが、たとえば、ユーザが表示部7の表示画面をタップした際に生じる加速度を検出することにより、撮像装置1の各種撮影モードまたは各種設定を切換えるタッチ操作の操作信号を受け付け、この操作信号を制御部11に出力するようにしてもよい。
In the first and second embodiments, the
また、本実施の形態1,2では、通信部10を介してパーソナルコンピュータやサーバ等の外部処理装置に接続することによって、特殊効果情報記憶部9dが記憶する特殊効果情報テーブルの更新または書き換えを行ってもよい。これにより、表示制御部11eは、新たに追加された特殊効果や撮影モードの組み合わせを加味した推奨度で特殊効果アイコンを表示することができる。さらに、記憶部9に装着可能な記憶媒体、たとえばメモリカード等に新たに追加された特殊効果や撮影モードの組み合わせの推奨度を記憶させ、制御部11が記憶媒体から取得して特殊効果情報記憶部9dに記憶させることで特殊効果情報テーブルの更新または書き換えを行ってもよい。
In the first and second embodiments, the special effect information table stored in the special effect
また、本実施の形態1,2では、撮像装置1をデジタルカメラとして説明していたが、たとえばデジタルビデオカメラ、カメラ付き携帯電話等の撮影機能および表示機能を備えた各種電子機器に適用することができる。
In the first and second embodiments, the
1 撮像装置
2 撮像部
2a レンズ部
2b レンズ駆動機構
2c 絞り
2d 絞り駆動機構
2e シャッタ
2f シャッタ駆動機構
2g 撮像素子
2h 信号処理部
3 姿勢検出部
4 ストロボ
5 時計
6 操作入力部
6a 電源スイッチ
6b レリーズスイッチ
6c 撮影モード切換スイッチ
6e メニュースイッチ
6f ズームスイッチ
7 表示部
8 タッチパネル
9 記憶部
9a 画像データ記憶部
9b プログラム記憶部
9c 仮画像データ記憶部
9d 特殊効果情報記憶部
10 通信部
11 制御部
11a 画像処理部
11b 画像分離部
11c 特殊効果画像生成部
11d 合成画像生成部
11e 表示制御部
DESCRIPTION OF
Claims (6)
前記表示部が表示する前記画像から被写体画像と背景画像とを分離する画像分離部と、
前記画像分離部が分離した前記被写体画像および前記背景画像に対してそれぞれ施す特殊効果に関する情報の入力を受け付ける入力部と、
前記入力部が受け付けた情報に応じた特殊効果を前記被写体画像および前記背景画像に対して個別に施して各画像の特殊効果画像を生成する特殊効果画像生成部と、
前記特殊効果画像生成部が生成した前記特殊効果画像を用いて合成画像を生成する合成画像生成部と、
前記画像分離部が前記画像から前記被写体画像と前記背景画像とを分離することができない場合、前記表示部に警告を表示させ表示制御部と、
を備えたことを特徴とする撮像装置。 An imaging apparatus that has a display unit that captures an image of a subject, generates electronic image data of the subject, and displays an image corresponding to the generated image data, and can apply a special effect to the image. There,
An image separation unit for separating a subject image and a background image from the image displayed by the display unit;
An input unit that receives input of information relating to special effects applied to the subject image and the background image separated by the image separation unit;
A special effect image generating unit that generates a special effect image of each image by individually applying a special effect according to information received by the input unit to the subject image and the background image;
A composite image generation unit that generates a composite image using the special effect image generated by the special effect image generation unit;
When the image separation unit cannot separate the subject image and the background image from the image, a warning is displayed on the display unit, and a display control unit;
An imaging apparatus comprising:
前記入力部は、前記背景画像のアスペクト比を指示する操作スイッチを有することを特徴とする請求項1に記載の撮像装置。 The background image can set a plurality of aspect ratios,
The imaging apparatus according to claim 1, wherein the input unit includes an operation switch that instructs an aspect ratio of the background image.
前記入力部は、前記表示部の表示画面上に設けられ、外部から接触する物体が接触した位置を検出し、この検出した位置に表示された前記メニューアイコンに応じた信号の入力を受け付けるタッチパネルを有することを特徴とする請求項1〜3のいずれか一つに記載の撮像装置。 The display control unit displays a plurality of menu icons in the imaging apparatus on the display unit,
The input unit is provided on a display screen of the display unit, and detects a position where an object touching from the outside contacts, and a touch panel that receives an input of a signal corresponding to the menu icon displayed at the detected position. The imaging apparatus according to claim 1, wherein the imaging apparatus is provided.
前記表示部が表示する前記画像から被写体画像と背景画像とを分離する画像分離ステップと、
前記画像分離ステップにおいて分離した前記被写体画像および前記背景画像に対してそれぞれ施す特殊効果に関する情報の入力を受け付ける入力ステップと、
前記入力ステップにおいて受け付けた情報に応じた特殊効果を前記被写体画像および前記背景画像に対して個別に施して各画像の特殊効果画像を生成する特殊効果画像生成ステップと、
前記特殊効果画像生成ステップにおいて生成した前記特殊効果画像を用いて合成画像を生成する合成画像生成ステップと、
前記画像分離ステップにおいて前記画像から前記被写体画像と前記背景画像とを分離することができない場合、前記表示部に警告を表示させ表示制御ステップと、
を含むことを特徴とする撮像方法。 An imaging apparatus that has a display unit that captures an image of a subject, generates electronic image data of the subject, and displays an image corresponding to the generated image data, and can apply a special effect to the image. An imaging method to perform,
An image separation step of separating a subject image and a background image from the image displayed by the display unit;
An input step for accepting input of information relating to special effects applied to the subject image and the background image separated in the image separation step;
A special effect image generation step of generating a special effect image of each image by individually applying a special effect according to the information received in the input step to the subject image and the background image;
A composite image generation step of generating a composite image using the special effect image generated in the special effect image generation step;
When the subject image and the background image cannot be separated from the image in the image separation step, a warning is displayed on the display unit and a display control step;
An imaging method comprising:
前記表示部が表示する前記画像から被写体画像と背景画像とを分離する画像分離ステップと、
前記画像分離ステップにおいて分離した前記被写体画像および前記背景画像に対してそれぞれ施す特殊効果に関する情報の入力を受け付ける入力ステップと、
前記入力ステップにおいて受け付けた情報に応じた特殊効果を前記被写体画像および前記背景画像に対して個別に施して各画像の特殊効果画像を生成する特殊効果画像生成ステップと、
前記特殊効果画像生成ステップにおいて生成した前記特殊効果画像を用いて合成画像を生成する合成画像生成ステップと、
前記画像分離ステップにおいて前記画像から前記被写体画像と前記背景画像とを分離することができない場合、前記表示部に警告を表示させ表示制御ステップと、
を実行させることを特徴とする撮像プログラム。 An imaging apparatus that has a display unit that captures an image of a subject, generates electronic image data of the subject, and displays an image corresponding to the generated image data, and can apply a special effect to the image. ,
An image separation step of separating a subject image and a background image from the image displayed by the display unit;
An input step for accepting input of information relating to special effects applied to the subject image and the background image separated in the image separation step;
A special effect image generation step of generating a special effect image of each image by individually applying a special effect according to the information received in the input step to the subject image and the background image;
A composite image generation step of generating a composite image using the special effect image generated in the special effect image generation step;
When the subject image and the background image cannot be separated from the image in the image separation step, a warning is displayed on the display unit and a display control step;
The imaging program characterized by performing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014093987A JP5820903B2 (en) | 2014-04-30 | 2014-04-30 | Imaging apparatus, imaging method, and imaging program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014093987A JP5820903B2 (en) | 2014-04-30 | 2014-04-30 | Imaging apparatus, imaging method, and imaging program |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010198310A Division JP5539820B2 (en) | 2010-09-03 | 2010-09-03 | Imaging apparatus, imaging method, and imaging program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2014135784A true JP2014135784A (en) | 2014-07-24 |
JP5820903B2 JP5820903B2 (en) | 2015-11-24 |
Family
ID=51413705
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014093987A Expired - Fee Related JP5820903B2 (en) | 2014-04-30 | 2014-04-30 | Imaging apparatus, imaging method, and imaging program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5820903B2 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000232609A (en) * | 1999-02-10 | 2000-08-22 | Matsushita Electric Ind Co Ltd | Special effect processing method and image processing unit |
JP2004147281A (en) * | 2002-08-29 | 2004-05-20 | Nippon Hoso Kyokai <Nhk> | Special video effect creation apparatus, special video effect creation method, and special video effect creation program |
JP2010050502A (en) * | 2008-08-19 | 2010-03-04 | Ricoh Co Ltd | Image processor, image processing method, and image processing program |
-
2014
- 2014-04-30 JP JP2014093987A patent/JP5820903B2/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000232609A (en) * | 1999-02-10 | 2000-08-22 | Matsushita Electric Ind Co Ltd | Special effect processing method and image processing unit |
JP2004147281A (en) * | 2002-08-29 | 2004-05-20 | Nippon Hoso Kyokai <Nhk> | Special video effect creation apparatus, special video effect creation method, and special video effect creation program |
JP2010050502A (en) * | 2008-08-19 | 2010-03-04 | Ricoh Co Ltd | Image processor, image processing method, and image processing program |
Also Published As
Publication number | Publication date |
---|---|
JP5820903B2 (en) | 2015-11-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6112819B2 (en) | Electronic device, driving method and program | |
US8749653B2 (en) | Apparatus and method of blurring background of image in digital image processing device | |
JP6286668B2 (en) | Imaging device and display method of captured image | |
JP2013013050A (en) | Imaging apparatus and display method using imaging apparatus | |
JP4652998B2 (en) | Imaging device | |
JP2014093691A (en) | Imaging apparatus, imaging method, and program | |
JP2012231237A (en) | Image recording apparatus and imaging apparatus | |
US10388035B2 (en) | Image processing apparatus, image processing method, and storage medium | |
JP2010268019A (en) | Photographing apparatus | |
JP2012159781A (en) | Image pickup apparatus, image control method, and program | |
JP5646318B2 (en) | Imaging apparatus and imaging program | |
JP2010141609A (en) | Imaging apparatus | |
JP5539820B2 (en) | Imaging apparatus, imaging method, and imaging program | |
CN107800956B (en) | Image pickup apparatus, control method, and storage medium | |
JP6768449B2 (en) | Imaging control device, control method and program of imaging device | |
JP5646960B2 (en) | Imaging apparatus, imaging method, and imaging program | |
JP5820903B2 (en) | Imaging apparatus, imaging method, and imaging program | |
JP6279120B2 (en) | Electronic device, driving method and program | |
JP5163333B2 (en) | CAMERA DEVICE, IMAGE DISPLAY METHOD, AND IMAGE DISPLAY PROGRAM | |
JP2015159550A (en) | Imaging apparatus, imaging method, and program | |
JP4908321B2 (en) | Imaging device | |
JP5514070B2 (en) | Imaging apparatus, display method, and imaging program | |
JP5592778B2 (en) | Imaging apparatus, imaging method, and imaging program | |
JP5760257B2 (en) | Imaging apparatus, display method, and program | |
JP2006197478A (en) | Photographing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20140430 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20150331 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20150423 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20150513 |
|
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: 20150915 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20151005 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 5820903 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |