JP5885451B2 - Imaging device - Google Patents

Imaging device Download PDF

Info

Publication number
JP5885451B2
JP5885451B2 JP2011220542A JP2011220542A JP5885451B2 JP 5885451 B2 JP5885451 B2 JP 5885451B2 JP 2011220542 A JP2011220542 A JP 2011220542A JP 2011220542 A JP2011220542 A JP 2011220542A JP 5885451 B2 JP5885451 B2 JP 5885451B2
Authority
JP
Japan
Prior art keywords
image
moving image
special effect
unit
image data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2011220542A
Other languages
Japanese (ja)
Other versions
JP2013081111A (en
Inventor
国重 恵二
恵二 国重
学 市川
学 市川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Olympus Corp
Original Assignee
Olympus Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Olympus Corp filed Critical Olympus Corp
Priority to JP2011220542A priority Critical patent/JP5885451B2/en
Priority to US13/613,993 priority patent/US8957982B2/en
Publication of JP2013081111A publication Critical patent/JP2013081111A/en
Priority to US14/577,590 priority patent/US9277125B2/en
Application granted granted Critical
Publication of JP5885451B2 publication Critical patent/JP5885451B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Studio Devices (AREA)
  • Image Processing (AREA)

Description

本発明は、被写体を撮像して該被写体の画像データを生成する撮像装置に関する。   The present invention relates to an imaging apparatus that images a subject and generates image data of the subject.

近年、デジタルカメラ等の撮像装置では、自然な印象を有するきれいな画像を生成する機能にとどまらず、ノイズ、シェーディング、ぼかし等の効果を意図的に付加する機能を有するものが知られている。このような機能を有する撮像装置は、従来得られなかった独特の印象を与える撮影を可能としている。   2. Description of the Related Art In recent years, there have been known imaging apparatuses such as digital cameras that have a function of intentionally adding effects such as noise, shading, and blurring as well as a function of generating a clean image having a natural impression. An imaging apparatus having such a function enables photographing that gives a unique impression that has not been obtained in the past.

例えば、下記特許文献1では、フィルムのような粒状感(ノイズ感)を有するとともに、ハイコントラストの画像を生成する技術が開示されている。この技術によれば、荒々しく力強い印象の画像を撮影することができる。   For example, the following Patent Document 1 discloses a technique for generating a high-contrast image while having a grainy feeling (noise feeling) like a film. According to this technique, it is possible to take a rough and powerful image.

また、下記特許文献2では、周縁部が減光された画像を生成する技術が開示されている。この技術によれば、トイカメラで撮影したような印象の画像を撮影することができる。   Further, Patent Document 2 below discloses a technique for generating an image in which the peripheral portion is dimmed. According to this technique, it is possible to take an image having an impression as if taken with a toy camera.

これらの従来技術は、静止画撮影だけでなく動画撮影にも適用可能である。動画を撮影する場合には、時間的な画像の移り変わりを利用して、静止画にはない動画ならではの独特の映像表現を行うことができる。   These conventional techniques can be applied not only to still image shooting but also to moving image shooting. When shooting a moving image, a unique video expression unique to a moving image that does not exist in a still image can be performed by using temporal image transition.

特開2010−62836号公報JP 2010-62836 A 特開2010−74244号公報JP 2010-74244 A

ところで、撮像装置では、動画撮影中に静止画撮影を行うことができる技術も知られている。このような場合、静止画にもその前に撮影した動画データを用いて動画的な味付けを加えた特殊効果を付与することが考えられる。   By the way, in the imaging apparatus, a technique that can perform still image shooting during moving image shooting is also known. In such a case, it is conceivable to give a special effect to the still image by adding moving image-like seasoning using moving image data captured before that.

しかしながら、動画と静止画では画素数やアスペクト比が異なっているのが一般的であり、動画に対して付与する特殊効果と同様の特殊効果を静止画に対して付与することは難しかった。このため、動画と動画撮影中に撮影する静止画に対して個別に最適な映像表現を実現することができる技術が待望されていた。   However, the number of pixels and the aspect ratio are generally different between a moving image and a still image, and it has been difficult to apply a special effect similar to a special effect to be applied to a moving image to a still image. For this reason, there has been a demand for a technique that can realize optimum video expression individually for moving images and still images taken during moving image shooting.

本発明は、上記に鑑みてなされたものであって、動画と動画撮影中に撮影する静止画とに対して個別に最適な映像表現を実現することができる撮像装置を提供することを目的とする。   The present invention has been made in view of the above, and an object of the present invention is to provide an imaging apparatus capable of realizing optimal video expression individually for a moving image and a still image captured during moving image shooting. To do.

上述した課題を解決し、目的を達成するために、本発明に係る撮像装置は、被写体を撮像して該被写体の画像データを生成し、動画を撮影可能であるとともに、動画撮影終了直後を含む動画撮影中に静止画を撮影可能な撮像装置であって、動画の画像データに対応する複数のフレームにわたって視覚的な効果を生じさせる第1の特殊効果を付与する画像処理を行うとともに、前記動画撮影中に撮影した静止画に対して、該静止画の前に撮影した動画の画像データを用いて前記第1の特殊効果に対応する第2の特殊効果を付与する画像処理を行う動画中特殊効果画像処理部と、前記動画特殊効果画像処理部における前記第1および第2の特殊効果の付与態様を制御する制御部と、を備えたことを特徴とする。   In order to solve the above-described problems and achieve the object, an imaging apparatus according to the present invention captures a subject, generates image data of the subject, can shoot a moving image, and includes immediately after the end of moving image shooting. An imaging apparatus capable of capturing a still image during moving image shooting, performing image processing to give a first special effect that causes a visual effect over a plurality of frames corresponding to moving image data, and A moving image special that performs image processing for applying a second special effect corresponding to the first special effect to a still image taken during shooting using image data of the moving image taken before the still image An effect image processing unit, and a control unit that controls an application mode of the first and second special effects in the moving image special effect image processing unit are provided.

本発明において、動画撮影中の静止画撮影とは、動画を撮影している途中で静止画を撮影する場合と、動画撮影を終了した直後に静止画を撮影する場合とを含む。また、動画を撮影している途中で静止画を撮影する場合には、静止画撮影時に動画撮影をいったん停止する場合と、静止画撮影を動画撮影と並行して行う場合とが含まれる。   In the present invention, still image shooting during moving image shooting includes shooting a still image while shooting a moving image and shooting a still image immediately after moving image shooting. In addition, shooting a still image while shooting a moving image includes a case where moving image shooting is temporarily stopped during still image shooting and a case where still image shooting is performed in parallel with moving image shooting.

また、本発明に係る撮像装置は、上記発明において、前記制御部は、前記第1の特殊効果を付与している前記複数のフレームの間に含まれる静止画に対して前記第2の特殊効果を付与しない制御を行うことを特徴とする。   Moreover, in the imaging device according to the present invention, in the above invention, the control unit performs the second special effect on a still image included between the plurality of frames to which the first special effect is applied. It is characterized in that control is performed without imparting.

また、本発明に係る撮像装置は、上記発明において、前記制御部は、前記第1の特殊効果を付与している前記複数のフレームの間に含まれる静止画に対して前記第2の特殊効果を付与する制御を行うことを特徴とする。   Moreover, in the imaging device according to the present invention, in the above invention, the control unit performs the second special effect on a still image included between the plurality of frames to which the first special effect is applied. It is characterized by carrying out control to give.

また、本発明に係る撮像装置は、上記発明において、前記画像データを記憶する記憶部を備え、前記制御部は、前記第1の特殊効果を付与している前記複数のフレームの間に含まれる静止画に対して前記第2の特殊効果を付与する制御を行い、前記第2の特殊効果を付与した画像データと前記第2の特殊効果を付与しない画像データとを前記記憶部に記憶させることを特徴とする。   The imaging apparatus according to the present invention further includes a storage unit that stores the image data, and the control unit is included between the plurality of frames to which the first special effect is applied. Performing control to give the second special effect to a still image, and storing the image data to which the second special effect is given and the image data to which the second special effect is not given in the storage unit It is characterized by.

また、本発明に係る撮像装置は、上記発明において、前記動画中特殊効果画像処理部は、前記静止画の前に撮影した動画の画像データの画素数を前記静止画の画像データの画素数に近づけるリサイズ処理を行うリサイズ処理部を有し、前記リサイズ処理部がリサイズ処理を行った動画の画像データと前記静止画の画像データとを合成することを特徴とする。   Further, in the imaging device according to the present invention, in the above invention, the special effect image processing unit during moving image sets the number of pixels of moving image data captured before the still image to the number of pixels of image data of the still image. The image processing apparatus includes a resizing processing unit that performs a resizing process that approximates, and combines the image data of the moving image and the image data of the still image that have been subjected to the resizing process by the resizing processing unit.

また、本発明に係る撮像装置は、上記発明において、前記動画中特殊効果画像処理部が行う画像処理は、一つ前のフレームの画像データと最新の画像データとを所定の比率で合成する処理を連続して行うマルチエコー処理を含み、前記最新の画像データが静止画の画像データである場合、前記リサイズ処理部が該画像データに対してリサイズ処理を行うことを特徴とする。   In the imaging device according to the present invention, the image processing performed by the moving image special effect image processing unit in the above invention is a process of combining the image data of the previous frame and the latest image data at a predetermined ratio. And when the latest image data is still image data, the resizing processing unit performs resizing processing on the image data.

また、本発明に係る撮像装置は、上記発明において、前記動画中特殊効果画像処理部が行う画像処理は、特定の画像データとこの画像データの後に撮影した画像データとを所定の比率で順次合成し、前記特定の画像データの合成比率が時間とともに小さくなるワンショットエコー処理を含み、前記最新の画像データが静止画の画像データである場合、前記リサイズ処理部が該画像データに対してリサイズ処理を行うことを特徴とする。   In the image pickup apparatus according to the present invention, the image processing performed by the moving image special effect image processing unit may sequentially synthesize specific image data and image data captured after the image data at a predetermined ratio. And when the latest image data is still image data, the resize processing unit performs resizing processing on the image data. It is characterized by performing.

本発明によれば、動画の画像データに対応する複数のフレームにわたって視覚的な効果を生じさせる第1の特殊効果を付与する画像処理を行うとともに、動画撮影中に撮影した静止画に対して、該静止画の前に撮影した動画の画像データを用いて第1の特殊効果に対応する第2の特殊効果を付与する画像処理を行うため、動画と動画撮影中に撮影する静止画とに対して個別に最適な映像表現を実現することができる。   According to the present invention, while performing image processing to give a first special effect that causes a visual effect over a plurality of frames corresponding to moving image data, a still image shot during moving image shooting, In order to perform image processing to give a second special effect corresponding to the first special effect using image data of a moving image shot before the still image, a moving image and a still image shot during moving image shooting are processed. The optimal video expression can be realized individually.

図1は、本発明の実施の形態1に係る撮像装置の構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of an imaging apparatus according to Embodiment 1 of the present invention. 図2は、本発明の実施の形態1に係る撮像装置のユーザに面する側(前面側)の構成を示す斜視図である。FIG. 2 is a perspective view showing the configuration of the imaging device according to Embodiment 1 of the present invention on the side facing the user (front side). 図3は、本発明の実施の形態1に係る撮像装置のアート効果画像処理部が行うアート効果画像処理の概要を示す図である。FIG. 3 is a diagram showing an outline of art effect image processing performed by the art effect image processing unit of the imaging apparatus according to Embodiment 1 of the present invention. 図4は、マルチエコーの概要を説明する図である。FIG. 4 is a diagram for explaining the outline of multi-echo. 図5は、ワンショットエコーの概要を説明する図である。FIG. 5 is a diagram for explaining the outline of the one-shot echo. 図6は、最新の撮影画像に合成されるSDRAM画像の係数の時間変化を示す図である。FIG. 6 is a diagram showing the time change of the coefficient of the SDRAM image synthesized with the latest photographed image. 図7は、トランジットの概要を説明する図である。FIG. 7 is a diagram for explaining the outline of transit. 図8は、トランジット処理において開始トリガ入力前にかけられているアート効果の係数の時間変化を示す図である。FIG. 8 is a diagram showing a temporal change in the coefficient of art effect applied before the start trigger is input in the transit process. 図9は、揺らぎの概要を説明する図である。FIG. 9 is a diagram for explaining an outline of fluctuation. 図10は、動画記録時と動画非記録時における十字キーの各矢印キーへの操作割り当て例を示す図である。FIG. 10 is a diagram illustrating an example of assigning operations to the arrow keys of the cross key when recording a moving image and when not recording a moving image. 図11は、動画記録時と動画非記録時における十字キーの各矢印キーへの操作割り当て例(第2例)を示す図である。FIG. 11 is a diagram illustrating an operation assignment example (second example) to each arrow key of the cross key when recording a moving image and when not recording a moving image. 図12は、本発明の実施の形態1に係る撮像装置が備えるレンズ制御部と制御部との同期通信の一例を示すタイミングチャートである。FIG. 12 is a timing chart illustrating an example of synchronous communication between the lens control unit and the control unit included in the imaging apparatus according to Embodiment 1 of the present invention. 図13は、本発明の実施の形態1に係る撮像装置が行う処理の概要を示すフローチャートである。FIG. 13 is a flowchart illustrating an outline of processing performed by the imaging apparatus according to Embodiment 1 of the present invention. 図14は、本発明の実施の形態1に係る撮像装置の表示部における動画用の画面表示例を示す図である。FIG. 14 is a diagram showing a moving image screen display example on the display unit of the imaging apparatus according to Embodiment 1 of the present invention. 図15は、本発明の実施の形態1に係る撮像装置が行う動画中特殊効果制御処理の概要を示すフローチャートである。FIG. 15 is a flowchart showing an overview of the moving image special effect control process performed by the imaging apparatus according to Embodiment 1 of the present invention. 図16は、本発明の実施の形態1に係る撮像装置が行う画像処理の概要を示すフローチャートである。FIG. 16 is a flowchart showing an overview of image processing performed by the imaging apparatus according to Embodiment 1 of the present invention. 図17は、本発明の実施の形態1の変形例1−1に係る撮像装置の動画記録時と動画非記録時におけるユーザーインターフェースの割り当てを示す図である。FIG. 17 is a diagram showing user interface assignments when a moving image is recorded and when a moving image is not recorded in the imaging apparatus according to Modification 1-1 of Embodiment 1 of the present invention. 図18は、本発明の実施の形態1の変形例1−2に係る撮像装置の動画記録時と動画非記録時におけるユーザーインターフェースの割り当てを示す図である。FIG. 18 is a diagram showing user interface assignments when a moving image is recorded and when a moving image is not recorded in the imaging apparatus according to Modification 1-2 of Embodiment 1 of the present invention. 図19は、本発明の実施の形態1の変形例1−3に係る撮像装置の動画記録時と動画非記録時におけるユーザーインターフェースの割り当てを示す図である。FIG. 19 is a diagram showing user interface assignments when a moving image is recorded and when a moving image is not recorded in the imaging apparatus according to Modification 1-3 of Embodiment 1 of the present invention. 図20は、本発明の実施の形態1の変形例1−4に係る撮像装置が行う動画中特殊効果制御処理の概要を示すフローチャートである。FIG. 20 is a flowchart showing an overview of the moving image special effect control process performed by the imaging apparatus according to Modification 1-4 of Embodiment 1 of the present invention. 図21は、本発明の実施の形態2に係る撮像装置の構成を示すブロック図である。FIG. 21 is a block diagram showing a configuration of an imaging apparatus according to Embodiment 2 of the present invention. 図22は、本発明の実施の形態2におけるユーザインターフェースの割り当てを示す図である。FIG. 22 is a diagram showing user interface assignment in Embodiment 2 of the present invention. 図23は、本発明の実施の形態2に係る撮像装置の動画記録時における状態遷移の概要を示す図である。FIG. 23 is a diagram showing an overview of state transitions during moving image recording of the imaging apparatus according to Embodiment 2 of the present invention. 図24は、本発明の実施の形態2の変形例2−1に係る撮像装置の動画記録時と静止画記録時におけるユーザインターフェースの割り当てを示す図である。FIG. 24 is a diagram showing user interface assignments during moving image recording and still image recording of the imaging apparatus according to Modification 2-1 of Embodiment 2 of the present invention. 図25は、本発明の実施の形態2の変形例2−2に係る撮像装置が静止画撮影待機状態にある場合の表示部における画面表示例を示す図である。FIG. 25 is a diagram illustrating a screen display example on the display unit when the imaging apparatus according to the modification 2-2 of the second embodiment of the present invention is in a still image shooting standby state. 図26は、本発明の実施の形態2の変形例2−2に係る撮像装置が動画撮影待機状態にある場合の表示部における画面表示例を示す図である。FIG. 26 is a diagram illustrating a screen display example on the display unit when the imaging apparatus according to the modification 2-2 of the second embodiment of the present invention is in the moving image shooting standby state. 図27は、動画中特殊効果としてトランジットが選択された場合の表示部における画面表示例を示す図である。FIG. 27 is a diagram illustrating a screen display example on the display unit when transit is selected as the special effect in the moving image. 図28は、図26に示す画面において動画ボタンが押された後の画面表示例を示す図である。FIG. 28 is a diagram showing a screen display example after the moving image button is pressed on the screen shown in FIG. 図29は、図28に示す画面において確定アイコンが選択された後の表示部における画面表示例を示す図である。FIG. 29 is a diagram showing a screen display example on the display unit after the confirmation icon is selected on the screen shown in FIG. 図30は、図26に示す画面においてテストオンアイコンが選択されてテストオン状態に遷移した場合の表示部の画面表示例を示す図である。FIG. 30 is a diagram illustrating a screen display example of the display unit when the test-on icon is selected on the screen illustrated in FIG. 26 and transition to the test-on state is performed. 図31は、本発明の実施の形態3に係る撮像装置の構成を示すブロック図である。FIG. 31 is a block diagram showing a configuration of an imaging apparatus according to Embodiment 3 of the present invention. 図32は、本発明の実施の形態3に係る撮像装置が静止画撮影モードと動画撮影モードにそれぞれ設定されている場合のキーの割り当て例を示す図である。FIG. 32 is a diagram illustrating an example of key assignment when the imaging apparatus according to Embodiment 3 of the present invention is set to the still image shooting mode and the moving image shooting mode, respectively. 図33は、本発明の実施の形態3に係る撮像装置が行う処理の概要を示すフローチャートである。FIG. 33 is a flowchart showing an outline of processing performed by the imaging apparatus according to Embodiment 3 of the present invention. 図34は、本発明の実施の形態3の変形例3−1に係る撮像装置が静止画撮影モードと動画撮影モードにそれぞれ設定されている場合のキーの割り当て例を示す図である。FIG. 34 is a diagram illustrating an example of key assignment when the imaging apparatus according to the modified example 3-1 of the third embodiment of the present invention is set to the still image shooting mode and the moving image shooting mode, respectively. 図35は、本発明の実施の形態3の変形例3−2に係る撮像装置が静止画撮影待機状態にある場合の表示部における画面表示例を示す図である。FIG. 35 is a diagram illustrating a screen display example on the display unit when the imaging apparatus according to the modification 3-2 of the third embodiment of the present invention is in a still image shooting standby state. 図36は、図35に示す画面において撮影モードアイコンが選択された場合に表示部が表示する画面表示例を示す図である。FIG. 36 is a diagram showing a screen display example displayed by the display unit when the shooting mode icon is selected on the screen shown in FIG. 図37は、動画撮影待機状態における表示部の画面表示例を示す図である。FIG. 37 is a diagram illustrating a screen display example of the display unit in the moving image shooting standby state. 図38は、本発明の実施の形態4に係る撮像装置が行う処理の概要を示すフローチャートである。FIG. 38 is a flowchart showing an outline of processing performed by the imaging apparatus according to Embodiment 4 of the present invention. 図39は、本発明の実施の形態5に係る撮像装置の構成を示すブロック図である。FIG. 39 is a block diagram showing a configuration of an imaging apparatus according to Embodiment 5 of the present invention. 図40は、本発明の実施の形態5に係る撮像装置が行う画像処理の詳細を示すフローチャートである。FIG. 40 is a flowchart showing details of image processing performed by the imaging apparatus according to Embodiment 5 of the present invention. 図41は、本発明の実施の形態5に係る撮像装置のリサイズ処理部が行うリサイズ処理を模式的に示す図である。FIG. 41 is a diagram schematically showing the resizing process performed by the resizing processing unit of the imaging apparatus according to Embodiment 5 of the present invention. 図42は、静止画モードにおける合成処理と前フレーム画像信号の合成比率cを模式的に説明する図である。FIG. 42 is a diagram for schematically explaining the synthesis ratio c in the still image mode and the previous frame image signal. 図43は、本発明の実施の形態5の変形例5−1に係る撮像装置が行うリサイズ処理を模式的に示す図である。FIG. 43 is a diagram schematically showing resizing processing performed by the imaging apparatus according to Modification 5-1 of Embodiment 5 of the present invention. 図44は、本発明の実施の形態に係る撮像装置が行う画像処理の詳細を示すフローチャートである。FIG. 44 is a flowchart showing details of image processing performed by the imaging apparatus according to the embodiment of the present invention. 図45は、本発明の実施の形態7に係る撮像装置が行う画像処理の概要を模式的に示す図である。FIG. 45 is a diagram schematically showing an outline of image processing performed by the imaging apparatus according to Embodiment 7 of the present invention. 図46は、本発明の実施の形態7に係る撮像装置が行う画像処理の概要を示すフローチャートである。FIG. 46 is a flowchart showing an outline of image processing performed by the imaging apparatus according to Embodiment 7 of the present invention. 図47は、ベイヤデータと露光量との関係を示す図である。FIG. 47 is a diagram showing the relationship between Bayer data and exposure dose. 図48は、本発明の実施の形態7に係る撮像装置のSDRAMが記憶するデータ構造の要部を模式的に示す図である。FIG. 48 is a diagram schematically showing the main part of the data structure stored in the SDRAM of the imaging apparatus according to Embodiment 7 of the present invention. 図49は、マルチエコー処理の概要を示すフローチャートである。FIG. 49 is a flowchart showing an overview of multi-echo processing. 図50は、取得した画像が静止画である場合に適用される画像ゲインの値と繰り返し回数との関係を示す図である。FIG. 50 is a diagram illustrating the relationship between the image gain value applied when the acquired image is a still image and the number of repetitions. 図51は、取得した画像が静止画である場合に適用される画像ゲインの値と繰り返し回数との関係を示す図である。FIG. 51 is a diagram illustrating the relationship between the image gain value and the number of repetitions applied when the acquired image is a still image. 図52は、SDRAMが記憶するデータ構造の要部を模式的に示す図である。FIG. 52 is a diagram schematically showing the main part of the data structure stored in the SDRAM. 図53は、キューを用いたリングバッファの管理の態様を示す図である。FIG. 53 is a diagram illustrating a mode of managing a ring buffer using a queue.

以下、添付図面を参照して、本発明を実施するための形態(以下、「実施の形態」という)を説明する。図面の記載において、同一の部分には同一の符号を付して説明する。   DESCRIPTION OF EMBODIMENTS Hereinafter, embodiments for carrying out the present invention (hereinafter referred to as “embodiments”) will be described with reference to the accompanying drawings. In the description of the drawings, the same portions will be described with the same reference numerals.

(実施の形態1)
本発明の実施の形態1は、静止画と動画を撮影可能な撮像装置を用いて動画記録を開始すると、静止画用に割り当てられた操作入力用のユーザインターフェースの機能が動画特殊効果用に切り替わることを特徴とする。
(Embodiment 1)
In Embodiment 1 of the present invention, when recording of a moving image is started using an imaging device capable of capturing still images and moving images, the function of the user interface for operation input assigned for still images is switched to that for moving image special effects. It is characterized by that.

本実施の形態1に係る撮像装置は、動画撮影中に静止画を撮影する機能を有する。ここで、動画撮影中の静止画撮影とは、動画を撮影している途中で静止画を撮影する場合と、動画撮影を終了した直後に静止画を撮影する場合とを含む。また、動画を撮影している途中で静止画を撮影する場合には、静止画撮影時に動画撮影を一旦停止する場合と、静止画撮影を動画撮影と並行して行う場合とが含まれる。   The imaging apparatus according to the first embodiment has a function of shooting a still image during moving image shooting. Here, still image shooting during moving image shooting includes shooting a still image while shooting a moving image and shooting a still image immediately after moving image shooting is finished. In addition, when taking a still image while shooting a moving image, there are a case where moving image shooting is temporarily stopped during still image shooting and a case where still image shooting is performed in parallel with moving image shooting.

図1は、本実施の形態1に係る撮像装置の構成を示すブロック図である。図2は、本発明の実施の形態1に係る撮像装置のユーザに面する側(前面側)の構成を示す斜視図である。図1および図2に示す撮像装置1は、本体部2と、本体部2に着脱自在なレンズ部3と、を備える。   FIG. 1 is a block diagram illustrating a configuration of the imaging apparatus according to the first embodiment. FIG. 2 is a perspective view showing the configuration of the imaging device according to Embodiment 1 of the present invention on the side facing the user (front side). An imaging apparatus 1 shown in FIGS. 1 and 2 includes a main body unit 2 and a lens unit 3 that is detachable from the main body unit 2.

本体部2は、シャッタ10と、シャッタ駆動部11と、撮像素子12と、撮像素子駆動部13と、信号処理部14と、A/D変換部15と、画像処理部16と、AE処理部17と、AF処理部18と、画像圧縮展開部19と、入力部20と、表示部21と、表示駆動部22と、記録媒体23と、メモリI/F24と、SDRAM(Synchronous Dynamic Random Access Memory)25と、Flashメモリ26と、本体通信部27と、バス28と、制御部29と、を備える。   The main body 2 includes a shutter 10, a shutter driving unit 11, an image sensor 12, an image sensor driving unit 13, a signal processing unit 14, an A / D conversion unit 15, an image processing unit 16, and an AE processing unit. 17, AF processing unit 18, image compression / decompression unit 19, input unit 20, display unit 21, display drive unit 22, recording medium 23, memory I / F 24, SDRAM (Synchronous Dynamic Random Access Memory) ) 25, a flash memory 26, a main body communication unit 27, a bus 28, and a control unit 29.

シャッタ10は、撮像素子12の状態を露光状態または遮光状態に設定する。シャッタ駆動部11は、ステッピングモータ等を用いて構成され、制御部29から入力される指示信号に応じてシャッタ10を駆動する。   The shutter 10 sets the state of the image sensor 12 to an exposure state or a light shielding state. The shutter drive unit 11 is configured using a stepping motor or the like, and drives the shutter 10 in accordance with an instruction signal input from the control unit 29.

撮像素子12は、レンズ部3が集光した光を受光して電気信号に変換するCCD(Charge Coupled Device)またはCMOS(Complementary Metal Oxide Semiconductor)等を用いて構成される。撮像素子駆動部13は、所定のタイミングで撮像素子12から画像データ(アナログ信号)を信号処理部14に出力させる。この意味で、撮像素子駆動部13は、電子シャッタとして機能する。   The imaging device 12 is configured using a CCD (Charge Coupled Device), a CMOS (Complementary Metal Oxide Semiconductor), or the like that receives the light collected by the lens unit 3 and converts it into an electrical signal. The image sensor drive unit 13 causes the signal processing unit 14 to output image data (analog signal) from the image sensor 12 at a predetermined timing. In this sense, the image sensor driving unit 13 functions as an electronic shutter.

信号処理部14は、撮像素子12から入力されるアナログ信号に対して、アナログ処理を施してA/D変換部15に出力する。具体的には、信号処理部14は、アナログ信号に対して、ノイズ低減処理およびゲインアップ処理等を行う。例えば、信号処理部14は、アナログ信号に対して、リセットノイズ等を低減した上で波形整形を行い、さらに目的の明るさとなるようにゲインアップを行う。   The signal processing unit 14 performs analog processing on the analog signal input from the image sensor 12 and outputs the analog signal to the A / D conversion unit 15. Specifically, the signal processing unit 14 performs noise reduction processing, gain increase processing, and the like on the analog signal. For example, the signal processing unit 14 performs waveform shaping on the analog signal after reducing reset noise and the like, and further increases the gain so that the target brightness is obtained.

A/D変換部15は、信号処理部14から入力されるアナログ信号に対してA/D変換を行うことによってデジタルの画像データを生成し、バス28を介してSDRAM25に出力する。   The A / D conversion unit 15 generates digital image data by performing A / D conversion on the analog signal input from the signal processing unit 14, and outputs the digital image data to the SDRAM 25 via the bus 28.

画像処理部16は、バス28を介してSDRAM25から画像データを取得し、取得した画像データ(RAWデータ)に対して各種の画像処理を行って処理画像データを生成する。この処理画像データは、バス28を介してSDRAM25に出力される。画像処理部16は、基本画像処理部161と、アート効果画像処理部162と、動画中特殊効果画像処理部163と、を有する。   The image processing unit 16 acquires image data from the SDRAM 25 via the bus 28, performs various image processing on the acquired image data (RAW data), and generates processed image data. This processed image data is output to the SDRAM 25 via the bus 28. The image processing unit 16 includes a basic image processing unit 161, an art effect image processing unit 162, and a moving image special effect image processing unit 163.

基本画像処理部161は、画像データに対して、少なくとも、オプティカルブラック減算処理、ホワイトバランス(WB)調整処理、撮像素子がベイヤー配列の場合には画像データの同時化処理、カラーマトリクス演算処理、ガンマ補正処理、色再現処理およびエッジ強調処理等を含む基本の画像処理を行う。また、基本画像処理部161は、予め設定された各画像処理のパラメータに基づいて、自然な画像を再現する仕上がり効果処理を行って仕上がり効果画像データを生成する。ここで、各画像処理のパラメータとは、コントラスト、シャープネス、彩度、ホワイトバランスおよび階調の値である。   The basic image processing unit 161 performs at least optical black subtraction processing, white balance (WB) adjustment processing on image data, image data synchronization processing, color matrix calculation processing, gamma when the image sensor is a Bayer array. Basic image processing including correction processing, color reproduction processing, edge enhancement processing, and the like is performed. In addition, the basic image processing unit 161 performs finish effect processing for reproducing a natural image based on preset image processing parameters to generate finish effect image data. Here, the parameters of each image processing are values of contrast, sharpness, saturation, white balance, and gradation.

アート効果画像処理部162は、1つの画像データに対して複数の画像処理を組み合わせることにより、視覚的な効果を生じさせるアート効果処理を行って処理画像データ(以下、「アート効果画像データ」という)を生成する。   The art effect image processing unit 162 performs art effect processing for generating a visual effect by combining a plurality of image processings with respect to one image data to process image data (hereinafter referred to as “art effect image data”). ) Is generated.

図3は、アート効果画像処理部162が行うアート効果画像処理の概要を示す図である。図3ではアート効果画像処理として、ファンタジックフォーカス、ファンタジックフォーカス+スターライト、ファンタジックフォーカス+ホワイトエッジ、ポップアート、ポップアート+スターライト、ポップアート+ピンホール、ポップアート+ホワイトエッジ、トイフォト、ラフモノクローム、ジオラマの10種類が記載されている。以下、これらのアート効果画像処理について説明する。   FIG. 3 is a diagram showing an outline of art effect image processing performed by the art effect image processing unit 162. In FIG. 3, as art effect image processing, Fantastic Focus, Fantastic Focus + Starlight, Fantastic Focus + White Edge, Pop Art, Pop Art + Starlight, Pop Art + Pinhole, Pop Art + White Edge, Toy Photo, Rough Monochrome Ten types of diorama are described. Hereinafter, the art effect image processing will be described.

ファンタジックフォーカスは、画像全体にぼかし処理を施し、ぼかす前の画像と一定の割合で合成するソフトフォーカスの効果を与える処理である。ファンタジックフォーカスは、中間の輝度をより明るくするトーンカーブ処理を行うことにより、柔らかいトーンの中で、被写体のディテールを残しながら、幸福な光に包まれたように美しく幻想的な雰囲気の画像を結像または生成する。ファンタジックフォーカスは、例えばトーンカーブ処理、ぼかし処理、アルファブレンド処理および画像合成処理等の画像処理を組み合わせることによって実現される。
ファンタジックフォーカス+スターライトは、ファンタジックフォーカスに加えて、画像中の高輝度部に対してクロスパターンを描写するクロスフィルター効果を施す処理である。
ファンタジックフォーカス+ホワイトエッジは、ファンタジックフォーカスに加えて、画像の中心部から周縁部に行くにしたがって徐々に白味を帯びる効果が施す処理である。このような白味の効果は、画像の中心からの距離が大きいほど周辺部が白くなるように画素値を変更することによって得られる。
Fantastic focus is a process that gives a soft focus effect in which the entire image is subjected to a blurring process and synthesized at a certain ratio with the image before blurring. Fantastic focus is a tone curve process that brightens the intermediate brightness, leaving the details of the subject in a soft tone and creating an image with a beautiful and fantastic atmosphere as if wrapped in a happy light. Image or produce. The fantastic focus is realized by combining image processing such as tone curve processing, blur processing, alpha blend processing, and image composition processing.
Fantastic focus + starlight is a process of applying a cross filter effect that draws a cross pattern to a high-luminance portion in an image in addition to the fantastic focus.
Fantastic focus + white edge is a process in which, in addition to the phantom focus, an effect of gradually becoming whiter is given from the center of the image to the periphery. Such a whiteness effect can be obtained by changing the pixel value so that the peripheral portion becomes whiter as the distance from the center of the image increases.

ポップアートは、色をカラフルに強調し、明るく楽しい雰囲気を表現する処理である。ポップアートは、例えば彩度強調処理およびコントラスト強調処理を組み合わせることによって実現される。全体に高コントラストで高彩度の効果である。
ポップアート+スターライトは、ポップアートとスターライトを重ねて施す処理である。この場合には、カラフルな画像にクロスフィルターを施した効果が得られる。
ポップアート+ピンホールは、ポップアートに加えて、画像の周縁部をシェーディングによって暗くして穴から覗き込むような効果を与えるトイフォト(ピンホール)を施す処理である。トイフォトの詳細については、後述する。
ポップアート+ホワイトエッジは、ポップアートとホワイトエッジを重ねて施す処理である。
Pop art is a process that emphasizes colors colorfully and expresses a bright and fun atmosphere. Pop art is realized by, for example, combining saturation enhancement processing and contrast enhancement processing. The overall effect is high contrast and high saturation.
Pop art + starlight is a process of applying pop art and starlight in layers. In this case, the effect of applying a cross filter to a colorful image can be obtained.
In addition to pop art, pop art + pinhole is a process of applying toy photo (pinhole) that darkens the periphery of an image by shading and gives an effect of looking through a hole. Details of the toy photo will be described later.
Pop art + white edge is a process in which pop art and white edge are overlapped.

トイフォトは、画像の中心からの距離が大きいほど輝度が小さく(暗く)なるようにして、あたかも穴から覗き込んで異空間に迷い込んだような効果を生じさせる処理である。トイフォトは、例えばローパスフィルタ処理、ホワイトバランス処理、コントラスト処理、色相・彩度処理に加え、輝度信号に対して周辺ほど小さい係数を乗じるシェーディング処理等の画像処理を組み合わせることによって実現される(トイフォト、シェーディングの詳細な内容については、例えば特開2010−74244号公報を参照)。   Toy photo is a process in which the brightness is reduced (darker) as the distance from the center of the image increases, and the effect is as if looking into a different space from a hole. Toy photo is realized by combining image processing such as low-pass filter processing, white balance processing, contrast processing, hue / saturation processing, and shading processing that multiplies the luminance signal by a smaller coefficient toward the periphery (toy photo). For details of photo and shading, see, for example, Japanese Patent Application Laid-Open No. 2010-74244.

ラフモノクロームは、高コントラストとフィルムの粒状のノイズを付加してモノクロ画像の力強さや荒々しさを表現する処理である。ラフモノクロームは、例えばエッジ強調処理、レベル補正最適化処理、ノイズパターン重畳処理、合成処理およびコントラスト処理等を組み合わせることによって実現される(ラフモノクロームの詳細な内容については、例えば特開2010−62836号公報を参照)。このうちノイズパターン重畳処理(ノイズ付加処理)は、予め作成したノイズパターン画像をもとの画像に加算する処理である。ノイズパターン画像は、例えば乱数などを発生させ、この乱数に基づいて生成してもよい。   Rough monochrome is a process of expressing the strength and roughness of a monochrome image by adding high contrast and grainy noise of the film. Rough monochrome is realized by combining, for example, edge enhancement processing, level correction optimization processing, noise pattern superimposition processing, synthesis processing, contrast processing, and the like (for details of rough monochrome, for example, Japanese Patent Application Laid-Open No. 2010-62836). See the publication). Among these, the noise pattern superimposing process (noise adding process) is a process of adding a noise pattern image created in advance to the original image. The noise pattern image may be generated based on, for example, a random number generated.

ジオラマは、高コントラストで高彩度の画像に、画像の周縁部をぼかすことにより、ミニチュア模型やおもちゃを見ているかのような雰囲気を画面上に作り出す処理である。ジオラマは、例えば色相・彩度処理、コントラスト処理、周辺ぼかし処理および合成処理等を組み合わせることによって実現される。このうち、周辺ぼかし処理は、画像の中心からの距離に応じ、周辺部ほどぼける度合いが大きくなるように、画像の位置に応じてローパス係数を変更しながらローパスフィルタ処理を行うものである。なお、周辺ぼかし処理として、画像の上下のみ、または画像の左右のみをぼかすようにしてもよい。   Diorama is a process that creates a high-contrast, high-saturation image on the screen by creating an atmosphere that looks like a miniature model or toy by blurring the periphery of the image. The diorama is realized by combining, for example, hue / saturation processing, contrast processing, peripheral blur processing, synthesis processing, and the like. Among these, the peripheral blur processing performs low-pass filter processing while changing the low-pass coefficient according to the position of the image so that the degree of blurring in the peripheral portion increases according to the distance from the center of the image. Note that as the peripheral blur processing, only the upper and lower sides of the image or only the left and right sides of the image may be blurred.

動画中特殊効果画像処理部163は、動画を記録する際、画像に特殊効果を加える画像処理を行う。動画中特殊効果画像処理部163が行う動画中特殊効果としては、例えばマルチエコー、ワンショットエコー、トランジット、揺らぎがある。以下、これらの動画中特殊効果について説明する。   The moving image special effect image processing unit 163 performs image processing for adding a special effect to an image when the moving image is recorded. Examples of the special effect during moving image performed by the special effect image processing unit 163 during moving image include multi-echo, one-shot echo, transit, and fluctuation. Hereinafter, these special effects during moving images will be described.

図4は、マルチエコーの概要を説明する図である。マルチエコーとは、直前の記録用画像と今撮影した画像の合成を所定の期間繰り返すことによって画像に残像が残る効果である。具体的には、図4に示すように、ボール101が動く軌跡を残像として表示することができる効果である。   FIG. 4 is a diagram for explaining the outline of multi-echo. Multi-echo is an effect in which an afterimage remains in an image by repeating the synthesis of the immediately previous recording image and the image just taken for a predetermined period. Specifically, as shown in FIG. 4, the trajectory of movement of the ball 101 can be displayed as an afterimage.

動画中特殊効果画像処理部163は、動画中特殊効果としてマルチエコーが設定されている場合、開始トリガが入力されると、その直後に生成された画像に対して、一つ前のフレームの画像を所定の割合で合成する処理(マルチエコー処理)を行う。   When the multi-echo is set as the moving image special effect, the moving image special effect image processing unit 163 receives an image of the previous frame with respect to the image generated immediately after the start trigger is input. Is processed at a predetermined ratio (multi-echo processing).

図4に示す場合、動画中特殊効果画像処理部163は、開始トリガ入力直後の撮影画像P1とその1つ前のフレームの撮影画像P0に対応する記録画像R0とを合成することによってマルチエコー画像R1を生成する。この合成の際、各画素において、撮影画像P1の信号に係数0.6を乗じる一方、記録画像R0の信号に係数0.4を乗じる。
続いて、動画中特殊効果画像処理部163は、次のフレームの撮影画像P2と合成画像R1とを合成することによってマルチエコー画像R2を生成する。マルチエコー画像R2を生成する際には、各画素において、撮影画像P2の信号に係数0.6を乗じる一方、合成画像R1の信号に係数0.4を乗じる。
In the case shown in FIG. 4, the moving image special effect image processing unit 163 combines the captured image P1 immediately after the start trigger is input with the recorded image R0 corresponding to the captured image P0 of the previous frame, thereby generating a multi-echo image. R1 is generated. At the time of this synthesis, in each pixel, the signal of the captured image P1 is multiplied by a coefficient of 0.6, while the signal of the recorded image R0 is multiplied by a coefficient of 0.4.
Subsequently, the moving image special effect image processing unit 163 generates a multi-echo image R2 by combining the captured image P2 of the next frame and the combined image R1. When generating the multi-echo image R2, in each pixel, the signal of the captured image P2 is multiplied by a coefficient of 0.6, while the signal of the composite image R1 is multiplied by a coefficient of 0.4.

動画中特殊効果画像処理部163は、終了トリガが入力されるまで、上述した合成処理を繰り返し行うことによってマルチエコー画像を順次生成する。終了トリガが入力されると、記録媒体23には、撮影画像P5に対応する記録画像R5が記録される。   The moving image special effect image processing unit 163 sequentially generates the multi-echo images by repeatedly performing the above-described synthesis processing until an end trigger is input. When the end trigger is input, a recording image R5 corresponding to the captured image P5 is recorded on the recording medium 23.

図5は、ワンショットエコーの概要を説明する図である。ワンショットエコーとは、特定のフレームの画像(一瞬の画像)が徐々に薄くなりながら消えていく効果である。具体的には、図5に示すように、特定の時間に撮影されたボール101がしばらくの間撮影画像に残像として残るような効果である。   FIG. 5 is a diagram for explaining the outline of the one-shot echo. One-shot echo is an effect in which an image of a specific frame (instantaneous image) disappears while fading gradually. Specifically, as shown in FIG. 5, the effect is such that the ball 101 photographed at a specific time remains as an afterimage in the photographed image for a while.

動画中特殊効果画像処理部163は、動画中特殊効果としてワンショットエコーが設定されている場合、開始トリガが入力されると、その直後に撮影して記録された画像データを一旦SDRAM25に保存し、この画像データをその後に撮影された画像データに対して時間とともに徐々に重みが減衰するように合成していく処理(ワンショットエコー処理)を行う。   When a one-shot echo is set as a moving image special effect, the moving image special effect image processing unit 163 temporarily stores image data captured and recorded immediately after that in the SDRAM 25 when a start trigger is input. Then, a process (one-shot echo process) is performed in which the image data is synthesized so that the weight gradually decreases with time with respect to the image data captured thereafter.

図5に示す場合、開始トリガの入力直後に撮影された撮影画像P1はSDRAM25に記憶される(以下、SDRAM画像S1という)。動画中特殊効果画像処理部163は、SDRAM25が記憶するSDRAM画像S1と最新の撮影画像とを所定の比率で合成する。   In the case shown in FIG. 5, the captured image P1 captured immediately after the start trigger is input is stored in the SDRAM 25 (hereinafter referred to as SDRAM image S1). The moving image special effect image processing unit 163 combines the SDRAM image S1 stored in the SDRAM 25 and the latest photographed image at a predetermined ratio.

図5に示す場合、開始トリガ入力直後には撮影画像P1に対応するワンショットエコー画像R11が表示される。
その後、時間t=tにおいて、動画中特殊効果画像処理部163は、SDRAM画像S1と撮影画像P2とを合成することによってワンショットエコー画像R12を生成する。この合成を行う際、各画素において、SDRAM画像S1の信号に係数a1=0.8を乗じる一方、撮影画像P2の信号に係数1−a1=0.2を乗じる。
その後、動画中特殊効果画像処理部163は、時間t=t3において、SDRAM画像S1の信号に乗じる係数をa=0.4、撮影画像P3の信号に乗じる係数を1−a=0.6として合成したワンショットエコー画像R13を生成する。
その後、動画中特殊効果画像処理部163は、時間t=t4において、SDRAM画像S1の信号に乗じる係数をa=0.2、撮影画像P4の信号に乗じる係数を1−a=0.8として合成したワンショットエコー画像R14を生成する。
その後、時間t=t5において係数a=0となるため、撮影画像P5が記録画像R5となる。
In the case shown in FIG. 5, a one-shot echo image R11 corresponding to the captured image P1 is displayed immediately after the start trigger is input.
Thereafter, at time t = t 2 , the moving image special effect image processing unit 163 generates the one-shot echo image R12 by synthesizing the SDRAM image S1 and the captured image P2. When this synthesis is performed, in each pixel, the signal of the SDRAM image S1 is multiplied by a coefficient a 1 = 0.8, while the signal of the captured image P2 is multiplied by a coefficient 1-a 1 = 0.2.
After that, the moving image special effect image processing unit 163, at time t = t 3 , a = 0.4 is a coefficient that is multiplied by the signal of the SDRAM image S1, and 1−a = 0.6 is a coefficient that is multiplied by the signal of the captured image P3. Is generated as a one-shot echo image R13.
After that, the moving image special effect image processing unit 163, at time t = t 4 , a = 0.2 is a coefficient to be multiplied by the signal of the SDRAM image S1, and 1−a = 0.8 is a coefficient to be multiplied by the signal of the captured image P4. Is generated as a one-shot echo image R14.
Thereafter, since the coefficient a = 0 at time t = t 5 , the captured image P5 becomes the recorded image R5.

図6は、最新の撮影画像に合成されるSDRAM画像の合成比率の時間変化を示す図である。図6において、横軸tは開始トリガ入力時点(t=0)からの経過時間であり、縦軸aはSDRAM画像S1の各画素の信号に乗じる係数である。図6に示すように、係数aは、t=0でa1であり、時間とともに滑らかに減少していき、開始トリガ入力から所定時間t5経過した時点で0となる。すなわち、SDRAM画像S1の合成画像中に占める割合は、時間とともに徐々に減少していく設定がなされている。これにより、SDRAM画像S1が時間とともに徐々に消えていくような画像を作り出すことができる。 FIG. 6 is a diagram showing a temporal change in the composition ratio of the SDRAM image synthesized with the latest photographed image. In FIG. 6, the horizontal axis t is the elapsed time from the start trigger input time (t = 0), and the vertical axis a is a coefficient to be multiplied by the signal of each pixel of the SDRAM image S1. As shown in FIG. 6, the coefficient a is a 1 at t = 0, and decreases smoothly with time, and becomes 0 when a predetermined time t 5 has elapsed from the start trigger input. That is, the proportion of the SDRAM image S1 in the composite image is set to gradually decrease with time. As a result, it is possible to create an image in which the SDRAM image S1 gradually disappears with time.

なお、図6に示す曲線は一例に過ぎず、時間とともに係数aが減衰するなどして一定時間で係数aが0となるように滑らかに変化する曲線であればどのようなものでもよく、例えば係数aが一定値をとる期間を含む曲線でもよい。   Note that the curve shown in FIG. 6 is merely an example, and any curve may be used as long as the coefficient a attenuates with time so that the coefficient a smoothly changes so that the coefficient a becomes 0 in a certain time. A curve including a period in which the coefficient a takes a constant value may be used.

また、係数aは、開始トリガからのフレーム数に応じて定めるようにしてもよい。この場合には、フレーム単位で徐々に係数aの値を減少させながら、所定のフレーム数(例えば120フレーム)で係数が0となるようにすればよい。   The coefficient a may be determined according to the number of frames from the start trigger. In this case, the coefficient may be reduced to 0 for a predetermined number of frames (for example, 120 frames) while gradually decreasing the value of the coefficient a in units of frames.

図7は、トランジットの概要を説明する図である。トランジットは、1つの画像に対して付与されるアート効果が、別のアート効果へと徐々に比率を変えながら変わっていく効果である。図7では、アート効果Aからアート効果Bへ変化するトランジットを模式的に示している。図7において、トランジットの開始トリガ入力直前は、撮影画像P0に対してアート効果Aを施したアート効果画像A0が生成される。トランジットでアート効果の切り替え開始から切り替え終了までに要する時間は、適宜設定可能である。   FIG. 7 is a diagram for explaining the outline of transit. Transit is an effect in which an art effect applied to one image is gradually changed to another art effect while changing the ratio. FIG. 7 schematically shows a transit from art effect A to art effect B. In FIG. 7, an art effect image A0 obtained by applying an art effect A to the photographed image P0 is generated immediately before the transit start trigger is input. The time required from the start of art effect switching to the end of switching in transit can be set as appropriate.

図7に示す場合、開始トリガ入力前は、アート効果Aが設定されているものとする。すなわち、開始トリガ入力直前において、アート効果画像処理部162は、撮影画像P0にアート効果Aを施したアート効果画像R20を形成しているものとする。   In the case shown in FIG. 7, it is assumed that the art effect A is set before the start trigger is input. That is, immediately before the start trigger is input, the art effect image processing unit 162 forms an art effect image R20 obtained by applying the art effect A to the captured image P0.

開始トリガが入力されると、動画中特殊効果画像処理部163は、撮影画像P1にアート効果Aを施したアート効果画像A1に係数b(=b0)=0.8を乗じる一方、撮影画像P1にアート効果Bを施したアート効果画像B1に係数1−b(=1−b0)=0.2を乗じた二つの画像を合成することによってトランジット画像R21を生成する。
その後、動画中特殊効果画像処理部163は、時間t=t12において、撮影画像P2にアート効果Aを施したアート効果画像A2の信号に乗じる係数をb=0.6とし、撮影画像P2にアート効果Bを施したアート効果画像B2の信号に乗じる係数を1−b=0.4として合成したトランジット画像R22を生成する。
その後、動画中特殊効果画像処理部163は、時間t=t13において、撮影画像P3にアート効果Aを施したアート効果画像A3の信号に乗じる係数をb=0.4とし、撮影画像P3にアート効果Bを施したアート効果画像B3の信号に乗じる係数を1−b=0.6として合成したトランジット画像R23を生成する。
その後、動画中特殊効果画像処理部163は、時間t=t14において、撮影画像P4にアート効果Aを施したアート効果画像A4の信号に乗じる係数をb=0.2とし、撮影画像P4にアート効果Bを施したアート効果画像B4の信号に乗じる係数を1−b=0.8として合成したトランジット画像R24を生成する。
その後、動画中特殊効果画像処理部163は、時間t=t15において、撮影画像P5にアート効果Bのみを施した(b=0)トランジット画像R25を生成する。
When the start trigger is input, the moving image special effect image processing unit 163 multiplies the art effect image A1 obtained by applying the art effect A to the photographed image P1 by a coefficient b (= b 0 ) = 0.8, while the photographed image A transit image R21 is generated by combining two images obtained by multiplying the art effect image B1 obtained by applying the art effect B to P1 by a coefficient 1-b (= 1-b 0 ) = 0.2.
Thereafter, the special effect image processing section 163 in the video, at the time t = t 12, the coefficient to be multiplied to the signal of the artistic effect image A2 of the captured image P2 were subjected to artistic effect A and b = 0.6, a captured image P2 A transit image R22 is generated by combining the coefficients of the art effect image B2 subjected to the art effect B with a coefficient 1-b = 0.4.
Thereafter, the special effect image processing section 163 in the video, at the time t = t 13, the coefficient to be multiplied to the signal of the artistic effect image A3 of the captured image P3 subjected to artistic effect A and b = 0.4, the captured image P3 A transit image R23 is generated by combining the coefficients of the art effect image B3 subjected to the art effect B with a coefficient 1-b = 0.6.
Thereafter, the special effect image processing section 163 in the video, at the time t = t 14, the coefficient to be multiplied to the signal of the artistic effect image A4 to the captured image P4 subjected to the artistic effect A and b = 0.2, the captured image P4 A transit image R24 is generated by combining the coefficient of the art effect image B4 subjected to the art effect B with a coefficient 1-b = 0.8.
Then, during moving special effect image processor 163, at time t = t 15, it generates the subjected only artistic effect B in the captured image P5 (b = 0) transit images R25.

図8は、トランジット処理において開始トリガ入力前から付与されているアート効果の合成比率(係数)bの時間変化を示す図である。図8に示すように、係数bは、t=0でb0であり、時間とともに滑らかに減少していき、開始トリガ入力から所定時間t15経過した時点で0となる。 FIG. 8 is a diagram showing a temporal change in the art effect synthesis ratio (coefficient) b given before the start trigger is input in the transit process. As shown in FIG. 8, the coefficient b is b 0 at t = 0, and decreases smoothly with time, and becomes 0 when a predetermined time t 15 has elapsed from the start trigger input.

なお、図8に示す曲線は一例に過ぎず、時間とともに係数bが減衰するなどして一定時間で係数bが0となるように滑らかに変化する曲線であればどのようなものでもよく、例えば係数bが一定値をとる期間を含む曲線でもよい。   Note that the curve shown in FIG. 8 is merely an example, and any curve may be used as long as the coefficient b is smoothly changed so that the coefficient b becomes 0 in a certain time, for example, the coefficient b attenuates with time. A curve including a period in which the coefficient b takes a constant value may be used.

また、係数bを、開始トリガからのフレーム数に応じて定めるようにしてもよい。この場合には、フレーム単位で滑らかに係数bの値を減少させながら、所定のフレーム数(例えば120フレーム)で係数が0となるようにすればよい。   The coefficient b may be determined according to the number of frames from the start trigger. In this case, the coefficient b may be reduced to 0 in a predetermined number of frames (for example, 120 frames) while smoothly decreasing the value of the coefficient b in units of frames.

図9は、揺らぎの概要を示す図である。揺らぎとは、動画中の各フレームに対して付与するアート効果のかかり具合を時間とともにランダムに変化させることによって得られる効果である。図9では、一例として、アート効果がクロスフィルターである場合を示している。この場合、動画中特殊効果画像処理部163は、クロス102を時間とともにランダムに回転させるとともに、クロス102の大きさを時間とともにランダムに変化させることによって揺らぎを与えている。   FIG. 9 is a diagram showing an outline of fluctuation. Fluctuation is an effect obtained by changing the degree of art effect applied to each frame in a moving image at random. FIG. 9 shows a case where the art effect is a cross filter as an example. In this case, the moving image special effect image processing unit 163 randomly fluctuates the cross 102 with time and gives fluctuation by randomly changing the size of the cross 102 with time.

引き続き、撮像装置1の構成を説明する。
AE処理部17は、バス28を介してSDRAM25に記録された画像データを取得し、取得した画像データに基づいて、静止画撮影または動画撮影を行う際の露出条件を設定する。具体的には、AE処理部17は、画像データから輝度を算出し、算出した輝度に基づいて、例えば絞り値(F値)の設定値、シャッタ速度等を決定することで撮像装置1の自動露出を行う。
Next, the configuration of the imaging device 1 will be described.
The AE processing unit 17 acquires image data recorded in the SDRAM 25 via the bus 28, and sets an exposure condition for performing still image shooting or moving image shooting based on the acquired image data. Specifically, the AE processing unit 17 calculates the luminance from the image data, and based on the calculated luminance, for example, determines the setting value of the aperture value (F value), the shutter speed, etc. Perform exposure.

AF処理部18は、バス28を介してSDRAM25に記録された画像データを取得し、取得した画像データに基づいて、撮像装置1の自動焦点の調整を行う。例えば、AF処理部18は、画像データから高周波成分の信号を取り出し、高周波成分の信号に対してAF(Auto Focus)演算処理を行うことによって、撮像装置1の合焦評価を決定することで撮像装置1の自動焦点の調整を行う。   The AF processing unit 18 acquires image data recorded in the SDRAM 25 via the bus 28, and adjusts the automatic focus of the imaging device 1 based on the acquired image data. For example, the AF processing unit 18 extracts a high-frequency component signal from the image data, performs AF (Auto Focus) calculation processing on the high-frequency component signal, and determines the focus evaluation of the imaging device 1 to perform imaging. The automatic focus of the apparatus 1 is adjusted.

画像圧縮展開部19は、バス28を介してSDRAM25から画像データを取得し、取得した画像データに対して所定の形式に従って圧縮し、この圧縮した画像データをSDRAM25に出力する。ここで、所定の形式としては、JPEG(Joint Photographic Experts Group)方式、MotionJPEG方式およびMP4(H.264)方式等である。また、画像圧縮展開部19は、バス28およびメモリI/F24を介して記録媒体23に記録された画像データ(圧縮画像データ)を取得し、取得した画像データを展開(伸長)してSDRAM25に出力する。なお、記録媒体23の代わりに撮像装置1の内部に記憶部を設けてもよい。   The image compression / decompression unit 19 acquires image data from the SDRAM 25 via the bus 28, compresses the acquired image data according to a predetermined format, and outputs the compressed image data to the SDRAM 25. Here, the predetermined format includes a JPEG (Joint Photographic Experts Group) system, a Motion JPEG system, and an MP4 (H.264) system. The image compression / decompression unit 19 acquires image data (compressed image data) recorded on the recording medium 23 via the bus 28 and the memory I / F 24, expands (decompresses) the acquired image data, and stores it in the SDRAM 25. Output. Note that a storage unit may be provided inside the imaging apparatus 1 instead of the recording medium 23.

入力部20は、静止画撮影および動画撮影における撮影条件を設定する静止画撮影条件設定信号を含む各種設定信号の入力を受け付ける設定信号入力部201と、少なくとも動画撮影の開始を指示する動画撮影開始信号の入力を受け付ける動画撮影信号入力部202と、を有する。   The input unit 20 includes a setting signal input unit 201 that receives input of various setting signals including a still image shooting condition setting signal that sets shooting conditions in still image shooting and moving image shooting, and starts moving image shooting that instructs at least the start of moving image shooting. A moving image shooting signal input unit 202 that receives a signal input.

入力部20は、本体部2の表面に設けられた操作信号入力用のユーザインターフェースを用いて実現される。以下、入力部20の一部をなすユーザインタフェースの構成を説明する。   The input unit 20 is realized using an operation signal input user interface provided on the surface of the main body unit 2. Hereinafter, the configuration of the user interface that forms part of the input unit 20 will be described.

撮像装置1は、操作入力用のユーザインタフェースとして、撮像装置1の電源状態をオン状態またはオフ状態に切替える電源ボタン41と、静止画撮影の指示を与える静止画レリーズ信号の入力を受け付けるレリーズボタン42と、撮像装置1に設定された各種撮影モードを切り替えるモードダイヤル43と、撮像装置1の各種設定を切替える操作ボタン44と、撮像装置1の各種設定を表示部21に表示させるメニューボタン45と、記録媒体23に記録された画像データに対応する画像を表示部21に表示させる再生ボタン46と、動画撮影の指示を与える動画レリーズ信号の入力を受け付ける動画ボタン47と、撮像装置1の各種機能を設定するファンクションキー48と、データを消去する消去ボタン49と、表示部21の表示画面に重ねて設けられ、外部からの接触位置に応じた入力信号を受け付けるタッチパネル50とを有する。   The imaging apparatus 1 has, as a user interface for operation input, a power button 41 that switches the power state of the imaging apparatus 1 to an on state or an off state, and a release button 42 that receives an input of a still image release signal that gives a still image shooting instruction. A mode dial 43 for switching various shooting modes set in the imaging apparatus 1, an operation button 44 for switching various settings of the imaging apparatus 1, a menu button 45 for displaying various settings of the imaging apparatus 1 on the display unit 21, and The playback button 46 for displaying an image corresponding to the image data recorded on the recording medium 23 on the display unit 21, the moving image button 47 for receiving input of a moving image release signal for giving a moving image shooting instruction, and various functions of the imaging device 1. Function key 48 to be set, erase button 49 for erasing data, and display screen of display unit 21 Again it provided, and a touch panel 50 that receives an input signal corresponding to the contact position from the outside.

レリーズボタン42は、外部からの押圧により進退可能である。レリーズボタン42が半押しされた場合、撮影準備動作を指示する1stレリーズ信号が入力される。これに対し、レリーズボタン42が全押しされた場合、静止画撮影を指示する2ndレリーズ信号が入力される。   The release button 42 can be advanced and retracted by pressing from the outside. When the release button 42 is pressed halfway, a 1st release signal that instructs a shooting preparation operation is input. On the other hand, when the release button 42 is fully pressed, a 2nd release signal instructing still image shooting is input.

操作ボタン44は、メニュー画面等における選択設定入力を行うために上下左右方向に十字状をなす十字キー441と、十字キー441による選択を確定する決定ボタン442とを有する。十字キー441は、上矢印キー443、下矢印キー444、左矢印キー445、右矢印キー446からなる。   The operation button 44 includes a cross key 441 that has a cross shape in the up / down / left / right directions in order to perform selection setting input on a menu screen or the like, and a determination button 442 for confirming selection by the cross key 441. The cross key 441 includes an up arrow key 443, a down arrow key 444, a left arrow key 445, and a right arrow key 446.

以上説明したユーザインタフェースのうち、動画ボタン47以外のボタンは設定信号入力部201の一部をなす。また、動画ボタン47は動画撮影信号入力部202の一部をなす。   Of the user interfaces described above, buttons other than the moving image button 47 form part of the setting signal input unit 201. The moving image button 47 forms a part of the moving image shooting signal input unit 202.

図10は、動画記録中でない場合(動画非記録時)と動画記録中である場合(動画記録時)における十字キー441の各矢印キーへの操作割り当て例を示す図である。動画が記録中でない場合、上矢印キー443には露出補正操作が割り当てられる。下矢印キー444には連写・単写操作が割り当てられる。左矢印キー445にはAFターゲット操作が割り当てられる。右矢印キー446にはフラッシュ設定操作が割り当てられる。   FIG. 10 is a diagram showing an example of assigning operations to the arrow keys of the cross key 441 when the moving image is not being recorded (when the moving image is not recorded) and when the moving image is being recorded (when the moving image is recorded). When a moving image is not being recorded, an exposure correction operation is assigned to the up arrow key 443. The down arrow key 444 is assigned continuous shooting / single shooting operation. An AF target operation is assigned to the left arrow key 445. A flash setting operation is assigned to the right arrow key 446.

次に、動画記録中である場合を説明する。この場合、上矢印キー443にはワンショットエコー開始操作が割り当てられる。下矢印キー444にはトランジット開始操作が割り当てられる。左矢印キー445は、マルチエコーの開始、停止操作を交互に割り当てトグルキーとして機能する。右矢印キー446には揺らぎ開始操作が割り当てられる。なお、揺らぎの終了を任意に選択できるように設定する場合には、右矢印キー446に対して、揺らぎの開始操作と終了操作とを交互に操作可能なトグルキーとして機能させればよい。   Next, a case where a moving image is being recorded will be described. In this case, a one-shot echo start operation is assigned to the up arrow key 443. The down arrow key 444 is assigned a transit start operation. The left arrow key 445 alternately assigns start and stop operations of multi-echo and functions as a toggle key. A fluctuation start operation is assigned to the right arrow key 446. Note that when setting the end of fluctuation to be arbitrarily selected, the right arrow key 446 may be made to function as a toggle key capable of alternately operating the start and end operations of fluctuation.

動画記録時における入力ボタンの割り当ては、図10に示すものに限られるわけではない。例えば、図11に示すように、上矢印キー443に効果開始操作を割り当て、下矢印キー444に効果停止操作を割り当て、左矢印キー445、右矢印キー446に効果切替操作をそれぞれ割り当ててもよい。この場合には、表示部21で設定中の特殊効果を表示するようにすればより好ましい。   The assignment of input buttons at the time of moving image recording is not limited to that shown in FIG. For example, as shown in FIG. 11, an effect start operation may be assigned to the up arrow key 443, an effect stop operation may be assigned to the down arrow key 444, and an effect switching operation may be assigned to the left arrow key 445 and the right arrow key 446. . In this case, it is more preferable to display the special effect being set on the display unit 21.

また、十字キー441の操作の割当を、使いやすさや操作の使用頻度に応じて割り当てるようにしてもよいし、ユーザが独自に設定できるようにしてもよい。さらに、互いに隣接する2つのキー(例えば上矢印キー443と右矢印キー446)が両方押された場合には、別の操作を行うことができるような設定にしてもよい。   Also, the operation of the cross key 441 may be assigned according to the ease of use or the frequency of use of the operation, or may be set by the user independently. Further, when two adjacent keys (for example, the up arrow key 443 and the right arrow key 446) are both pressed, another operation may be performed.

表示部21は、液晶または有機EL(Electro Luminescence)等からなる表示パネルを用いて構成される。表示駆動部22は、バス28を介してSDRAM25が記憶する画像データまたは記録媒体23が記憶する画像データを取得し、取得した画像データに対応する画像を表示部21に表示させる。ここで、画像の表示には、撮影直後の画像データを所定時間(例えば3秒間)だけ表示するレックビュー表示、記録媒体23に記録された画像データを再生する再生表示、および撮像素子12が連続的に生成する画像データに対応するライブビュー画像を時系列に沿って順次表示するライブビュー表示等が含まれる。また、表示部21は、撮像装置1の操作情報および撮影に関する情報を適宜表示する。   The display part 21 is comprised using the display panel which consists of a liquid crystal or organic EL (Electro Luminescence). The display driving unit 22 acquires image data stored in the SDRAM 25 or image data stored in the recording medium 23 via the bus 28 and causes the display unit 21 to display an image corresponding to the acquired image data. Here, for image display, a rec view display that displays image data immediately after shooting for a predetermined time (for example, 3 seconds), a reproduction display that reproduces image data recorded on the recording medium 23, and an image sensor 12 are continuously displayed. Live view display that sequentially displays live view images corresponding to image data to be generated in time series. The display unit 21 appropriately displays operation information of the imaging device 1 and information related to shooting.

記録媒体23は、撮像装置1の外部から装着されるメモリカード等を用いて構成される。記録媒体23は、メモリI/F24を介して撮像装置1に着脱自在に装着される。記録媒体23には、その種類に応じた図示しない読み書き装置によって画像処理部16や画像圧縮展開部19が処理を施した画像データが書き込まれ、または読み書き装置によって記録媒体23に記録された画像データが読み出される。また、記録媒体23は、制御部29の制御のもと、メモリI/F24およびバス28を介して撮像プログラムおよび各種情報それぞれをFlashメモリ26に出力してもよい。   The recording medium 23 is configured using a memory card or the like mounted from the outside of the imaging device 1. The recording medium 23 is detachably attached to the imaging device 1 via the memory I / F 24. Image data processed by the image processing unit 16 and the image compression / decompression unit 19 by a read / write device (not shown) corresponding to the type is written on the recording medium 23, or image data recorded on the recording medium 23 by the read / write device Is read out. The recording medium 23 may output the imaging program and various types of information to the flash memory 26 via the memory I / F 24 and the bus 28 under the control of the control unit 29.

SDRAM25は、揮発性メモリを用いて構成される。SDRAM25は、バス28を介してA/D変換部15から入力される画像データ、画像処理部16から入力される処理画像データおよび撮像装置1の処理中の情報を一時的に記憶する一次記憶部としての機能を有する。例えば、SDRAM25は、信号処理部14、A/D変換部15およびバス28を介して、撮像素子12が1フレーム毎に順次出力する画像データを一時的に記憶する。   The SDRAM 25 is configured using a volatile memory. The SDRAM 25 temporarily stores image data input from the A / D converter 15 via the bus 28, processed image data input from the image processor 16, and information being processed by the imaging device 1. As a function. For example, the SDRAM 25 temporarily stores image data that the image sensor 12 sequentially outputs for each frame via the signal processing unit 14, the A / D conversion unit 15, and the bus 28.

Flashメモリ26は、不揮発性メモリを用いて構成される。Flashメモリ26は、プログラム記録部261と、特殊効果処理情報記録部262と、画像処理情報記録部263と、を有する。プログラム記録部261は、撮像装置1を動作させるための各種プログラム、撮像プログラムおよびプログラムの実行中に使用される各種データおよび画像処理部16による画像処理の動作に必要な各種パラメータ等を記録する。特殊効果処理情報記録部262は、アート効果画像処理部162が行う各アート効果処理における画像処理の組み合わせ情報を記録する。画像処理情報記録部263は、画像処理部16が実行可能な画像処理に処理時間を対応付けた画像処理情報を記録する。また、Flashメモリ26は、撮像装置1を特定するための製造番号等を記録する。   The flash memory 26 is configured using a nonvolatile memory. The flash memory 26 includes a program recording unit 261, a special effect processing information recording unit 262, and an image processing information recording unit 263. The program recording unit 261 records various programs for operating the imaging apparatus 1, imaging programs, various data used during execution of the programs, various parameters necessary for image processing operations by the image processing unit 16, and the like. The special effect processing information recording unit 262 records image processing combination information in each art effect processing performed by the art effect image processing unit 162. The image processing information recording unit 263 records image processing information in which processing time is associated with image processing that can be executed by the image processing unit 16. Further, the flash memory 26 records a manufacturing number for specifying the imaging device 1.

本体通信部27は、本体部2に装着されたレンズ部3との通信を行うための通信インターフェースである。本体通信部27には、レンズ部3との電気的な接点も含まれる。   The main body communication unit 27 is a communication interface for performing communication with the lens unit 3 attached to the main body unit 2. The main body communication unit 27 also includes an electrical contact with the lens unit 3.

バス28は、撮像装置1の各構成部位を接続する伝送路等を用いて構成される。バス28は、撮像装置1の内部で発生した各種データを撮像装置1の各構成部位に転送する。   The bus 28 is configured using a transmission path or the like that connects each component of the imaging device 1. The bus 28 transfers various data generated inside the imaging apparatus 1 to each component of the imaging apparatus 1.

制御部29は、CPU(Central Processing Unit)等を用いて構成される。制御部29は、画像処理制御部291と、表示制御部292と、を有する。   The control unit 29 is configured using a CPU (Central Processing Unit) or the like. The control unit 29 includes an image processing control unit 291 and a display control unit 292.

画像処理制御部291は、バス28を介して入力される入力部20からの指示信号に応じて、画像処理部16に実行させるべき画像処理の内容を設定し、設定した内容に応じた画像処理を、基本画像処理部161、アート効果画像処理部162、および動画中特殊効果画像処理部163のいずれかに実行させる。   The image processing control unit 291 sets the content of image processing to be executed by the image processing unit 16 in accordance with an instruction signal from the input unit 20 input via the bus 28, and performs image processing according to the set content. Is executed by any one of the basic image processing unit 161, the art effect image processing unit 162, and the moving image special effect image processing unit 163.

表示制御部292は、表示部21の表示態様を制御する。具体的には、表示制御部292は、表示駆動部22を駆動し、画像処理部16が処理を行った各種画像データに対応する画像を表示部21に表示させる。   The display control unit 292 controls the display mode of the display unit 21. Specifically, the display control unit 292 drives the display driving unit 22 and causes the display unit 21 to display images corresponding to various image data processed by the image processing unit 16.

制御部29は、バス28を介して入力部20から送信される指示信号に応じて、撮像装置1を構成する各部に対して制御信号や各種データの送信を行うことにより、撮像装置1の動作を統括的に制御する。   In response to the instruction signal transmitted from the input unit 20 via the bus 28, the control unit 29 transmits the control signal and various data to each unit constituting the imaging device 1, thereby operating the imaging device 1. Overall control.

制御部29は、レリーズボタン42を介して2ndレリーズ信号が入力された場合、撮像装置1における静止画撮影動作を開始する制御を行う。また、制御部29は、動画ボタン47を介して動画撮影開始信号が入力された場合、撮像装置1における動画撮影動作を開始する制御を行う。ここで、撮像装置1における撮影動作とは、シャッタ駆動部11および撮像素子駆動部13の駆動によって撮像素子12が出力した画像データに対し、信号処理部14、A/D変換部15および画像処理部16が所定の処理を施す動作をいう。このように処理が施された画像データは、画像処理制御部291の制御のもと、画像圧縮展開部19で所定の形式にしたがって圧縮され、バス28およびメモリI/F24を介して記録媒体23に記録される。なお、本実施の形態1では記録媒体23が記憶部の一部をなしているが、記録媒体23とは別に撮像装置1の内部に記憶部の機能を有する記憶領域を確保し、この記憶領域に圧縮した画像データを記憶するようにしてもよい。   When a 2nd release signal is input via the release button 42, the control unit 29 performs control to start a still image shooting operation in the imaging device 1. In addition, when a moving image shooting start signal is input via the moving image button 47, the control unit 29 performs control to start a moving image shooting operation in the imaging device 1. Here, the imaging operation in the imaging apparatus 1 refers to the signal processing unit 14, the A / D conversion unit 15, and the image processing for the image data output from the imaging device 12 by driving the shutter driving unit 11 and the imaging device driving unit 13. An operation in which the unit 16 performs a predetermined process. The image data thus processed is compressed in accordance with a predetermined format by the image compression / expansion unit 19 under the control of the image processing control unit 291, and is recorded via the bus 28 and the memory I / F 24. To be recorded. In the first embodiment, the recording medium 23 forms a part of the storage unit, but a storage area having the function of the storage unit is secured inside the imaging apparatus 1 separately from the recording medium 23, and this storage area The compressed image data may be stored.

以上の構成を有する本体部2に対して、音声入出力部、被写体に対して補助光(フラッシュ)を発光する補助光発光部、インターネットを介して外部の装置と双方向に通信を行う機能を有する通信部などをさらに設けてもよい。   For the main body 2 having the above-described configuration, an audio input / output unit, an auxiliary light emitting unit that emits auxiliary light (flash) to the subject, and a function of bidirectionally communicating with an external device via the Internet You may provide further the communication part etc. which have.

次に、レンズ部3の構成を説明する。レンズ部3は、光学系31と、レンズ駆動部32と、絞り33と、絞り駆動部34と、レンズ操作部35と、レンズFlashメモリ36と、レンズ通信部37と、レンズ制御部38と、を備える。   Next, the configuration of the lens unit 3 will be described. The lens unit 3 includes an optical system 31, a lens driving unit 32, a diaphragm 33, a diaphragm driving unit 34, a lens operation unit 35, a lens flash memory 36, a lens communication unit 37, a lens control unit 38, Is provided.

光学系31は、一または複数のレンズを用いて構成される。光学系31は、所定の視野領域から光を集光する。光学系31は、画角を変化させる光学ズーム機能および焦点を変化させるフォーカス機能を有する。   The optical system 31 is configured using one or a plurality of lenses. The optical system 31 collects light from a predetermined visual field region. The optical system 31 has an optical zoom function for changing the angle of view and a focus function for changing the focus.

レンズ駆動部32は、DCモータまたはステッピングモータ等を用いて構成され、光学系31のレンズを光軸L上で移動させることにより、光学系31のピント位置や画角等の変更を行う。   The lens driving unit 32 is configured using a DC motor, a stepping motor, or the like, and changes the focus position, the angle of view, and the like of the optical system 31 by moving the lens of the optical system 31 on the optical axis L.

絞り33は、光学系31が集光した光の入射量を制限することにより露出の調整を行う。
絞り駆動部34は、ステッピングモータ等を用いて構成され、絞り33を駆動する。
The diaphragm 33 adjusts the exposure by limiting the amount of incident light collected by the optical system 31.
The aperture drive unit 34 is configured using a stepping motor or the like, and drives the aperture 33.

レンズ操作部35は、図2に示すように、レンズ部3のレンズ鏡筒の周囲に設けられるリングであり、レンズ部3における光学ズームの操作を開始する操作信号の入力、またはレンズ部3におけるピント位置の調整を指示する指示信号の入力を受け付ける。なお、レンズ操作部35は、プッシュ式のスイッチ等であってもよい。   As shown in FIG. 2, the lens operation unit 35 is a ring provided around the lens barrel of the lens unit 3. The lens operation unit 35 receives an operation signal for starting an optical zoom operation in the lens unit 3 or in the lens unit 3. An instruction signal for instructing adjustment of the focus position is received. The lens operation unit 35 may be a push switch or the like.

レンズFlashメモリ36は、光学系31の位置および動きそれぞれを決定するための制御用プログラム、光学系31のレンズ特性および各種パラメータを記録する。   The lens flash memory 36 records a control program for determining the position and movement of the optical system 31, the lens characteristics of the optical system 31, and various parameters.

レンズ通信部37は、レンズ部3が本体部2に装着されたときに、本体部2の本体通信部27と通信を行うための通信インターフェースである。レンズ通信部37には、本体部2との電気的な接点も含まれる。   The lens communication unit 37 is a communication interface for communicating with the main body communication unit 27 of the main body unit 2 when the lens unit 3 is attached to the main body unit 2. The lens communication unit 37 includes an electrical contact with the main body unit 2.

レンズ制御部38は、CPU(Central Processing Unit)等を用いて構成される。レンズ制御部38は、レンズ操作部35の操作信号または本体部2からの指示信号に応じてレンズ部3の動作を制御する。具体的には、レンズ制御部38は、レンズ操作部35の操作信号に応じて、レンズ駆動部32を駆動させてレンズ部3のピント合わせやズーム変更を行うとともに、絞り駆動部34を駆動させて絞り値の変更を行う。なお、レンズ制御部38は、レンズ部3が本体部2に装着された際に、レンズ部3のピント位置情報、焦点距離およびレンズ部3を識別する固有情報等を本体部2に送信するようにしてもよい。   The lens control unit 38 is configured using a CPU (Central Processing Unit) or the like. The lens control unit 38 controls the operation of the lens unit 3 in accordance with an operation signal from the lens operation unit 35 or an instruction signal from the main body unit 2. Specifically, the lens control unit 38 drives the lens driving unit 32 in accordance with an operation signal from the lens operation unit 35 to focus the lens unit 3 and change the zoom, and also drives the aperture driving unit 34. To change the aperture value. When the lens unit 3 is attached to the main body unit 2, the lens control unit 38 transmits the focus position information of the lens unit 3, the focal length, unique information for identifying the lens unit 3, and the like to the main body unit 2. It may be.

レンズ制御部38は、本体部2の制御部29との間で所定の周期でレンズ通信信号を送受信することによって、本体部2との動作の連携を図っている。図12は、レンズ制御部38と制御部29との同期通信の一例を示すタイミングチャートである。図12(a)は本体部2内の処理を示している。図12(b)は垂直同期信号を示している。図12(c)は撮像、読み出しのタイミングを示している。図12(d)はレンズ通信を示している。図12(e)はレンズ通信同期信号を示している。図12(f)はレンズ位置取得信号を示している。図12(g)はレンズ部3内の処理を示している。   The lens control unit 38 transmits and receives a lens communication signal to and from the control unit 29 of the main body unit 2 at a predetermined cycle so as to coordinate the operation with the main body unit 2. FIG. 12 is a timing chart illustrating an example of synchronous communication between the lens control unit 38 and the control unit 29. FIG. 12A shows processing in the main body 2. FIG. 12B shows a vertical synchronization signal. FIG. 12C shows the timing of imaging and reading. FIG. 12D shows lens communication. FIG. 12E shows a lens communication synchronization signal. FIG. 12F shows the lens position acquisition signal. FIG. 12G shows processing in the lens unit 3.

まず、制御部29は、前フレームで取得した画像データによりライブビュー画像の画像処理およびAF評価値の算出等を画像処理部16に実行させるとともに、レンズ制御部38にレンズ状態データを取得するためのレンズ状態データ要求コマンドを送信する(B1、BL)。この際、制御部29は、同期通信モード中に、垂直同期信号と同じ周期でレンズ通信用の同期信号および光学系31の位置情報を取得するタイミングを指示するレンズ位置取得信号を送信する。このレンズ位置取得信号は、図12(c)に示すように撮像素子12の中央部の蓄積時間の1/2が経過した時点で状態が変化する信号である。   First, the control unit 29 causes the image processing unit 16 to perform image processing of the live view image, calculation of the AF evaluation value, and the like based on the image data acquired in the previous frame, and also causes the lens control unit 38 to acquire lens state data. The lens state data request command is transmitted (B1, BL). At this time, during the synchronous communication mode, the control unit 29 transmits a lens position acquisition signal instructing the timing for acquiring the lens communication synchronization signal and the position information of the optical system 31 at the same cycle as the vertical synchronization signal. This lens position acquisition signal is a signal whose state changes when half of the accumulation time at the center of the image sensor 12 has elapsed, as shown in FIG.

レンズ制御部38は、レンズ位置取得信号の状態が変化したタイミングで光学系31の位置情報を取得するとともに、レンズ通信同期信号の受信タイミングでレンズ操作部35の操作状態を検出する(L1)。   The lens control unit 38 acquires the position information of the optical system 31 at the timing when the state of the lens position acquisition signal changes, and detects the operation state of the lens operation unit 35 at the reception timing of the lens communication synchronization signal (L1).

続いて、レンズ制御部38は、制御部29から受信したレンズ状態データ要求コマンドへの応答として、工程L1で取得した光学系31の位置情報およびレンズ操作部35の捜査状態を含むレンズ状態データを制御部29へ送信する(L2)。   Subsequently, as a response to the lens state data request command received from the control unit 29, the lens control unit 38 obtains lens state data including the positional information of the optical system 31 and the search state of the lens operation unit 35 acquired in step L1. It transmits to the control part 29 (L2).

この後、制御部29は、レンズ制御部38から送られてきたレンズ状態データに基づいて、AF評価値の算出や、露出値の変更等の各種設定変更を行う(B2)。   Thereafter, the control unit 29 performs various setting changes such as calculation of the AF evaluation value and change of the exposure value based on the lens state data sent from the lens control unit 38 (B2).

制御部29とレンズ制御部38は、以上説明した処理を周期的に繰り返し行う。   The control unit 29 and the lens control unit 38 periodically repeat the processing described above.

図13は、以上の構成を有する撮像装置1が行う処理の概要を示すフローチャートである。図13において、まず、ユーザによって電源ボタン41が操作されて、撮像装置1の電源がオン状態になる(ステップS1:Yes)と、制御部29は、撮像装置1の初期化を行う(ステップS2)。この初期化処理において、制御部29は、例えば動画の記録中を示す記録中フラグをオフ状態にリセットしたり、動画中の特殊効果に関する適用を示す特殊効果フラグをオフ状態にリセットしたり、レンズ制御部38との間のレンズ通信(図12を参照)を開始したりする処理を行う。なお、撮像装置1の電源がオン状態でない場合(ステップS1:No)、撮像装置1はステップS1を繰り返す。   FIG. 13 is a flowchart illustrating an outline of processing performed by the imaging apparatus 1 having the above configuration. In FIG. 13, first, when the power button 41 is operated by the user to turn on the power of the imaging apparatus 1 (step S1: Yes), the control unit 29 initializes the imaging apparatus 1 (step S2). ). In this initialization process, for example, the control unit 29 resets a recording flag indicating that a moving image is being recorded to an off state, resets a special effect flag indicating application relating to a special effect in the moving image to an off state, Processing for starting lens communication (see FIG. 12) with the control unit 38 is performed. If the power of the imaging device 1 is not on (step S1: No), the imaging device 1 repeats step S1.

続いて、再生ボタン46が操作されることなく(ステップS3:No)、メニューボタン45が操作された場合(ステップS4:Yes)、撮像装置1は、設定を変更するためのメニュー画面を表示し、ユーザの選択操作に応じて撮像装置1の各種条件を設定する設定処理を実行する(ステップS5)。ステップS5の後、撮像装置1は、後述するステップS7へ移行する。   Subsequently, when the playback button 46 is not operated (step S3: No) and the menu button 45 is operated (step S4: Yes), the imaging apparatus 1 displays a menu screen for changing the setting. Then, a setting process for setting various conditions of the imaging device 1 in accordance with the user's selection operation is executed (step S5). After step S5, the imaging apparatus 1 proceeds to step S7 described later.

ここで設定される内容は、仕上がり効果処理、アート効果処理、静止画記録モード、動画記録モード、動画中特殊効果処理などである。仕上がり効果処理には、例えば画像を自然な色合いに仕上げる処理であるナチュラル、画像を色鮮やかに仕上げる処理であるビビッド、被写体の素材性を重視して仕上げる処理であるフラット、画像をモノクロ調に仕上げる処理であるモノトーンなどが含まれる。静止画記録モードは、記録対象とする静止画の種類に応じて定められ、例えばJPEG記録モード、JPEG+RAW記録モード、RAW記録モードなどがある。動画撮影モードは、動画圧縮形式に応じて定められるモードであって、例えばMotion−JPEGモード、MP4(H.264)モードなどがある。動画中特殊効果処理で設定されるのは、例えばトランジットによるアート効果の切り替え先や揺らぎなどである。   The contents set here are finish effect processing, art effect processing, still image recording mode, moving image recording mode, moving image special effect processing, and the like. Finishing effect processing includes, for example, natural processing that finishes an image in a natural color, vivid processing that finishes an image vividly, flat processing that focuses on the subject material, and finishes the image in monochrome. Monotone that is processing is included. The still image recording mode is determined according to the type of still image to be recorded, and includes, for example, a JPEG recording mode, a JPEG + RAW recording mode, and a RAW recording mode. The moving image shooting mode is a mode determined according to the moving image compression format, and includes, for example, a Motion-JPEG mode, an MP4 (H.264) mode, and the like. What is set in the special effect processing during moving image is, for example, the destination of the art effect switching due to transit or fluctuation.

ステップS3で再生ボタン46が操作された場合(ステップS3:Yes)、撮像装置1は再生処理を行う(ステップS6)。このステップS6において、表示制御部292は、記録媒体23に記録されているファイル一覧を表示部21に表示させる。その後、入力部20によって再生画像が選択入力された場合、記録媒体23から画像データを取得し、取得した画像データを画像圧縮展開部19で展開して表示部21に表示させる。この後、撮像装置1は、ステップS18へ移行する。   When the playback button 46 is operated in step S3 (step S3: Yes), the imaging apparatus 1 performs a playback process (step S6). In step S6, the display control unit 292 causes the display unit 21 to display a list of files recorded on the recording medium 23. Thereafter, when a reproduction image is selected and input by the input unit 20, image data is acquired from the recording medium 23, and the acquired image data is expanded by the image compression / decompression unit 19 and displayed on the display unit 21. Thereafter, the imaging apparatus 1 proceeds to step S18.

ステップS3で再生ボタン46が操作されることなく(ステップS3:No)、メニューボタン45が操作されていない場合(ステップS4:No)において、動画ボタン47が操作されたとき(ステップS7:Yes)、制御部29は、動画の記録中であることを示す記録中フラグを反転させる(ステップS8)。具体的には、例えば記録中フラグがオン状態にある場合、制御部29は、その記録中フラグをオフ状態に反転させる。   When the playback button 46 is not operated in step S3 (step S3: No), and the movie button 47 is operated when the menu button 45 is not operated (step S4: No) (step S7: Yes). The control unit 29 inverts the recording flag indicating that the moving image is being recorded (step S8). Specifically, for example, when the recording flag is in an on state, the control unit 29 inverts the recording flag to an off state.

続いて、制御部29は、SDRAM25に記録された記録中フラグがオン状態であるか否かを判断する(ステップS9)。記録中フラグがオン状態であると判断した場合(ステップS9:Yes)、制御部29は、記録媒体23に画像データを時系列に沿って記録するための動画ファイルを生成して記録媒体23に格納する(ステップS10)。   Subsequently, the control unit 29 determines whether or not the recording flag recorded in the SDRAM 25 is in an ON state (step S9). When it is determined that the recording flag is in the on state (step S9: Yes), the control unit 29 generates a moving image file for recording the image data in time series on the recording medium 23 and stores the moving image file on the recording medium 23. Store (step S10).

その後、制御部29は、特殊動画用のユーザインターフェース(UI)を設定する(ステップS11)。この設定により、例えば図10に示すような動画記録時の割り当てが実行される。制御部29は、ステップS11で設定対象となったユーザインタフェースがこの後で受け付ける信号を、図10に基づく特殊動画用の信号として認識する。   Thereafter, the control unit 29 sets a user interface (UI) for special moving images (step S11). With this setting, for example, assignment at the time of moving image recording as shown in FIG. 10 is executed. The control unit 29 recognizes a signal that is subsequently received by the user interface set in step S11 as a special moving image signal based on FIG.

続いて、表示制御部292は、表示部21に表示させる画面上表示(OSD)などの設定を切り替えることによって動画用の画面への切替えを行う(ステップS12)。具体的には、表示制御部292は、例えば残り時間や、動画撮影時に特殊効果を適用できることを示すアイコンなどを表示する。この後、撮像装置1は、後述するステップS15へ移行する。   Subsequently, the display control unit 292 switches to a screen for moving images by switching settings such as on-screen display (OSD) to be displayed on the display unit 21 (step S12). Specifically, the display control unit 292 displays, for example, a remaining time or an icon indicating that a special effect can be applied during moving image shooting. Thereafter, the imaging apparatus 1 proceeds to step S15 described later.

図14は、表示部21における動画用の画面表示例を示す図である。図14に示すように、動画用画面Qでは、動画中特殊効果を適用可能であることを示す動画アイコン111、動画用画面キー割り当てを示す画面上表示112および動画撮影の残り時間を表示する残り時間113が表示される。このうち、画面上表示112は数秒間表示した後に自動的に消えるようにしてもよいし、常時表示するようにしてもよい。また、設定信号入力部201からの入力によって画面上表示112の表示と非表示を切り替えることができるようにしてもよい。   FIG. 14 is a diagram illustrating a moving image screen display example on the display unit 21. As shown in FIG. 14, on the moving image screen Q, a moving image icon 111 indicating that the moving image special effect is applicable, an on-screen display 112 indicating moving image key assignment, and the remaining time for displaying the remaining time of moving image shooting. Time 113 is displayed. Among these, the on-screen display 112 may be automatically displayed after being displayed for a few seconds, or may be always displayed. Further, the display on the screen 112 may be switched between display and non-display by an input from the setting signal input unit 201.

ステップS9において、記録中フラグがオフ状態であると判断した場合(ステップS9:No)、制御部29は、静止画用ユーザインターフェースを設定する(ステップS13)。   If it is determined in step S9 that the recording flag is off (step S9: No), the control unit 29 sets the still image user interface (step S13).

続いて、表示制御部292は、表示部21における画面上表示などの設定を静止画用に切り替える(ステップS14)。この切り替えにより、表示部21は、例えば残り記録枚数や、静止画撮影時に特殊効果を適用できることを示すアイコンなどを表示する。この後、撮像装置1は、後述するステップS15へ移行する。   Subsequently, the display control unit 292 switches settings such as on-screen display on the display unit 21 to still images (step S14). By this switching, the display unit 21 displays, for example, the remaining number of recorded sheets, an icon indicating that a special effect can be applied during still image shooting, and the like. Thereafter, the imaging apparatus 1 proceeds to step S15 described later.

ステップS7において、動画ボタン47が操作されていない場合(ステップS7:No)、画像処理制御部291は、動画中特殊効果画像処理部163に対して動画中特殊効果処理を行わせる(ステップS15)。   In step S7, when the moving image button 47 is not operated (step S7: No), the image processing control unit 291 causes the moving image special effect image processing unit 163 to perform moving image special effect processing (step S15). .

図15は、動画中特殊効果制御処理の概要を示すフローチャートである。図15において、動画中特殊効果を開始するキーが操作された場合(ステップS31:Yes)、画像処理制御部291は、動画中特殊効果フラグをオンにする(ステップS32)。その後、画像処理制御部291は、効果設定を行う(ステップS33)。   FIG. 15 is a flowchart showing an outline of the special effect control process during moving images. In FIG. 15, when the key for starting the special effect during moving image is operated (step S31: Yes), the image processing control unit 291 turns on the special effect flag during moving image (step S32). Thereafter, the image processing control unit 291 performs effect setting (step S33).

動画中特殊効果を開始するキーが操作されない場合(ステップS31:No)において、終了指示が入力されたとき(ステップS34:Yes)、画像処理制御部291は、動画中特殊効果フラグをオフにする制御を行う(ステップS35)。この後、撮像装置1は、メインルーチンへ戻る。   When the key for starting the special effect during moving image is not operated (step S31: No), when the end instruction is input (step S34: Yes), the image processing control unit 291 turns off the special effect flag during moving image. Control is performed (step S35). Thereafter, the imaging apparatus 1 returns to the main routine.

これに対し、動画中特殊効果を開始するキーが操作されない場合(ステップS31:No)において、終了指示が入力されないとき(ステップS34:No)、撮像装置1はメインルーチンへ戻る。   On the other hand, when the key for starting the special effect during moving image is not operated (step S31: No), when the end instruction is not input (step S34: No), the imaging device 1 returns to the main routine.

ステップS15の動画中特殊効果制御処理の後、レリーズボタン42から1stレリーズ信号が入力された場合(ステップS16:Yes)、制御部29は、AE処理部17に露出を調整するAE処理を実行させるとともに、AF処理部18にピントを調整するAF処理を実行させる(ステップS17)。   When the first release signal is input from the release button 42 after the special effect control process during moving image in step S15 (step S16: Yes), the control unit 29 causes the AE processing unit 17 to execute the AE process for adjusting the exposure. At the same time, the AF processing unit 18 is caused to execute AF processing for adjusting the focus (step S17).

続いて、制御部29は、電源ボタン41が操作されることによって撮像装置1の電源がオフされたか否かを判断する(ステップS18)。撮像装置1の電源がオフされたと制御部29が判断した場合(ステップS18:Yes)、撮像装置1は、本処理を終了する。これに対して、撮像装置1の電源がオフされていないと制御部29が判断した場合(ステップS18:No)、撮像装置1は、ステップS3へ戻る。   Subsequently, the control unit 29 determines whether or not the power of the imaging device 1 is turned off by operating the power button 41 (step S18). When the control unit 29 determines that the power of the imaging device 1 has been turned off (step S18: Yes), the imaging device 1 ends this process. On the other hand, when the control unit 29 determines that the power of the imaging device 1 is not turned off (step S18: No), the imaging device 1 returns to step S3.

レリーズボタン42から1stレリーズ信号が入力されない場合(ステップS16:No)、レリーズボタン42から2ndレリーズ信号が入力されたとき(ステップS19:Yes)、制御部29は、シャッタ駆動部11および撮像素子駆動部13をそれぞれ駆動することにより、メカシャッタによる撮影を行う(ステップS20)。   When the 1st release signal is not input from the release button 42 (step S16: No), when the 2nd release signal is input from the release button 42 (step S19: Yes), the control unit 29 drives the shutter drive unit 11 and the image sensor. Each unit 13 is driven to perform photographing with a mechanical shutter (step S20).

続いて、画像処理部16は、撮影した静止画像に対して所定の画像処理を実行する(ステップS21)。なお、画像処理の詳細については後述する。   Subsequently, the image processing unit 16 performs predetermined image processing on the captured still image (step S21). Details of the image processing will be described later.

この後、制御部29は、画像データをJPEG形式で画像圧縮展開部19に圧縮させ、この圧縮した画像データを記録媒体23に記録する(ステップS22)。このステップS22で、制御部29は、画像圧縮展開部19がJPEG形式で圧縮した画像データに、画像処理部16が画像処理を行っていないRAWデータを対応付けて記録媒体23に記録させるようにしてもよい。ステップS22の後、撮像装置1は、ステップS18へ移行する。   Thereafter, the control unit 29 causes the image compression / expansion unit 19 to compress the image data in the JPEG format, and records the compressed image data on the recording medium 23 (step S22). In step S22, the control unit 29 records the RAW data that has not been subjected to image processing by the image processing unit 16 in association with the image data compressed by the image compression / decompression unit 19 in the JPEG format, and records the image data on the recording medium 23. May be. After step S22, the imaging device 1 proceeds to step S18.

ステップS19において、レリーズボタン42から2ndレリーズ信号が入力されない場合(ステップS19:No)、制御部29は、AE処理部17に露出を調整するAE処理を実行させるとともに、AF処理部18にピントを調整するAF処理を実行させる(ステップS23)。   In step S19, when the 2nd release signal is not input from the release button 42 (step S19: No), the control unit 29 causes the AE processing unit 17 to execute the AE process for adjusting the exposure, and the AF processing unit 18 is focused. The AF process to be adjusted is executed (step S23).

続いて、制御部29は、撮像素子駆動部13を駆動することにより、電子シャッタによる撮影を実行する(ステップS24)。   Subsequently, the control unit 29 drives the image sensor driving unit 13 to execute photographing with the electronic shutter (step S24).

この後、画像処理部16は、撮像装置1の設定情報に基づいて画像処理を行う(ステップS25)。画像処理の詳細については後述する。   Thereafter, the image processing unit 16 performs image processing based on the setting information of the imaging device 1 (step S25). Details of the image processing will be described later.

表示制御部292は、画像処理部16が処理を施した画像データに対応するライブビュー画像を表示部21に表示させる(ステップS26)。   The display control unit 292 causes the display unit 21 to display a live view image corresponding to the image data processed by the image processing unit 16 (step S26).

続いて、撮像装置1が動画記録中であれば(ステップS27:Yes)、制御部29は、画像データを画像圧縮展開部19に圧縮させ、この圧縮した画像データを記録媒体23に作成された動画ファイルに動画として記録させる(ステップS28)。この後、撮像装置1は、ステップS18へ移行する。これに対して、ステップS27で動画記録中でなければ(ステップS27:No)、撮像装置1はステップS18へ移行する。   Subsequently, if the imaging apparatus 1 is recording a moving image (step S27: Yes), the control unit 29 causes the image compression / expansion unit 19 to compress the image data, and the compressed image data is created on the recording medium 23. The moving image file is recorded as a moving image (step S28). Thereafter, the imaging apparatus 1 proceeds to step S18. On the other hand, if the moving image is not being recorded in step S27 (step S27: No), the imaging device 1 proceeds to step S18.

図16は、画像処理の概要を示すフローチャートである。図16において、基本画像処理部161は基本画像処理を行う(ステップS41)。ここでの基本画像処理は、OB(Optical Black)値の減算、WB補正、同時化、カラーマトリクス演算、ガンマ変換色補正、エッジ強調、NR(Noise Reduction)などの処理を含む。   FIG. 16 is a flowchart showing an overview of image processing. In FIG. 16, the basic image processing unit 161 performs basic image processing (step S41). The basic image processing here includes processing such as subtraction of OB (Optical Black) values, WB correction, synchronization, color matrix calculation, gamma conversion color correction, edge enhancement, and NR (Noise Reduction).

ここで、WB補正は、ベイヤ配列の画像データに対して、予めユーザが設定したWBモードに応じたRゲインとBゲインを乗じて、WBを撮像装置本体のフラッシュメモリから読み出し、その値を乗じることで補正する処理である。
同時化は、撮像素子12がベイヤー配列であった場合に、その画素にないデータを周辺から補間することによって、各画素がRGBデータで構成されるデータに変換する処理である。
カラーマトリクス演算は、設定されているWBモードに応じたカラーマトリクス係数を本体のフラッシュメモリから読み出して乗算する処理である。
ガンマ変換色補正処理では、仕上がりの設定に応じて予め設計したガンマテーブルを本体のフラッシュメモリから読み出し、画像データをガンマ変換する。このとき、RGBデータに適用するガンマ変換と、RGBの色空間を輝度信号Yと2つの色差信号Cb、Crによって表される色空間に変換した後で輝度信号Yのみにガンマ変換を行うようにしてもよい。また、適切な色再現性を得るために、仕上がりの設定に応じて予め設計したサイドパラメータを用いて色を補正してもよい。なお、アート効果の種類によってガンマ曲線を変えるようにしてもよい。
エッジ強調処理では、バンドパスフィルタによりエッジ成分を抽出し、エッジ強調度に応じた係数を乗じて画像データに加算することで強調する。
NR処理では、画像を周波数分解し、周波数に応じてコアリング処理などを行うことでノイズを低減する処理を行う。
Here, in the WB correction, the Bayer array image data is multiplied by the R gain and the B gain corresponding to the WB mode set in advance by the user, and the WB is read from the flash memory of the imaging apparatus main body and multiplied by the value. This is a process of correcting by this.
Synchronization is a process of converting each pixel into RGB data by interpolating data that does not exist in that pixel when the image sensor 12 is a Bayer array.
The color matrix calculation is a process of reading and multiplying the color matrix coefficient corresponding to the set WB mode from the flash memory of the main body.
In the gamma conversion color correction process, a gamma table designed in advance according to the finish setting is read from the flash memory of the main body, and the image data is gamma converted. At this time, the gamma conversion applied to the RGB data, and the RGB color space are converted into the color space represented by the luminance signal Y and the two color difference signals Cb and Cr, and then the gamma conversion is performed only on the luminance signal Y. May be. Further, in order to obtain appropriate color reproducibility, the color may be corrected using side parameters designed in advance according to the setting of the finish. The gamma curve may be changed depending on the type of art effect.
In the edge enhancement process, an edge component is extracted by a band pass filter, and is multiplied by a coefficient corresponding to the degree of edge enhancement and added to image data for enhancement.
In NR processing, noise is reduced by frequency-decomposing an image and performing coring processing or the like according to the frequency.

続いて、アート効果画像処理部162は、アート効果処理を行う(ステップS42)。ここでは、上述したクロスフィルター、ソフトフォーカス、ノイズ付加、シェーディング、周辺輝度持ち上げ、周辺ぼかし、等の処理を行う。   Subsequently, the art effect image processing unit 162 performs art effect processing (step S42). Here, processing such as the above-described cross filter, soft focus, noise addition, shading, peripheral brightness increase, peripheral blur, and the like are performed.

その後、撮像装置1が静止画撮影を行う場合(ステップS43:Yes)、制御部29が動画中特殊効果(第1の特殊効果)に対応した特殊効果(第2の特殊効果)を静止画の画像データに付与することを禁止する制御を行った後、メインルーチンへ戻る。   Thereafter, when the imaging apparatus 1 performs still image shooting (step S43: Yes), the control unit 29 applies a special effect (second special effect) corresponding to the special effect during the moving image (first special effect) to the still image. After performing control for prohibiting image data from being added, the process returns to the main routine.

ここで、撮像装置1が静止画撮影を行う場合に動画中特殊効果に対応した特殊効果を付与しない理由を説明する。動画撮影中の静止画撮影はレスポンスの速さが重要である。静止画の画素数は動画の画素数に比べて数倍程度大きいため、静止画に動画中特殊効果を付与すると、静止画撮影後の動画撮影の再開タイミングに影響を及ぼすおそれがある。そこで、本実施の形態1では、静止画の場合に動画中特殊効果の適用を禁止している。なお、高速でレスポンスに影響がなければ静止画に適用することも可能である。 Here, the reason why the special effect corresponding to the special effect during moving image is not provided when the imaging apparatus 1 performs still image shooting will be described. Response speed is important for still image shooting during movie shooting. Since the number of pixels of a still image is about several times larger than the number of pixels of a moving image, if a special effect during moving image is applied to a still image, there is a possibility of affecting the resumption timing of moving image shooting after still image shooting. Therefore, in the first embodiment, application of special effects during moving images is prohibited in the case of still images. Note that it is possible to apply to still images as long as the response is not affected at high speed .

一方、撮像装置1が動画撮影を行う場合(ステップS43:No)、制御部29は、動画中特殊効果が設定されているか否かを判定する(ステップS44)。動画中特殊効果が設定されている場合(ステップS44:Yes)、ステップS45へ移行する。これに対して、動画中特殊効果が設定されていない場合(ステップS44:No)、撮像装置1はメインルーチンへ戻る。   On the other hand, when the imaging device 1 performs moving image shooting (step S43: No), the control unit 29 determines whether or not a moving image special effect is set (step S44). When the special effect during moving image is set (step S44: Yes), the process proceeds to step S45. On the other hand, when the special effect during moving images is not set (step S44: No), the imaging apparatus 1 returns to the main routine.

ステップS44で動画中特殊効果が設定されている場合(ステップS44:Yes)において、適用する効果がマルチエコーであるとき(ステップS45:Yes)、動画中特殊効果画像処理部163は、直前の画像処理結果(前フレーム)に対して、上述したマルチエコー処理(図4を参照)として、現在のフレームを所定の比率で合成する(ステップS46)。一方、適用する特殊効果がマルチエコーでないとき(ステップS45:No)、撮像装置1はステップS47へ移行する。   When the special effect during moving image is set in step S44 (step S44: Yes), and the effect to be applied is multi-echo (step S45: Yes), the special effect image processing unit 163 during moving image For the processing result (previous frame), the current frame is synthesized at a predetermined ratio as the above-described multi-echo processing (see FIG. 4) (step S46). On the other hand, when the special effect to be applied is not multi-echo (step S45: No), the imaging device 1 proceeds to step S47.

ステップS47において、制御部29は、適用する効果がワンショットエコーであるか否かを判定する。適用する効果がワンショットエコーである場合(ステップS47:Yes)、動画中特殊効果画像処理部163は、ワンショットエコー効果を得るために、SDRAM25が記憶する特定の画像データであるレリーズフレームとの合成処理を行う(ステップS48)。ここで、特殊効果フラグがオンになって最初のフレームの場合、動画中特殊効果画像処理部163は、現在のフレームの画像をSDRAM25に記憶する処理を行う。これに対し、特殊効果フラグがオンになって2フレーム以後の場合、動画中特殊効果画像処理部163は、SDRAM25が記憶しているレリーズフレームと合成処理を行う。   In step S47, the control unit 29 determines whether or not the effect to be applied is a one-shot echo. When the effect to be applied is the one-shot echo (step S47: Yes), the moving image special effect image processing unit 163 determines whether the release frame that is the specific image data stored in the SDRAM 25 is used to obtain the one-shot echo effect. A synthesis process is performed (step S48). Here, in the case of the first frame after the special effect flag is turned on, the moving image special effect image processing unit 163 performs a process of storing the image of the current frame in the SDRAM 25. On the other hand, when the special effect flag is turned on and after two frames, the moving image special effect image processing unit 163 performs a composition process with the release frame stored in the SDRAM 25.

ステップS47において、適用する動画中特殊効果がワンショットエコーでない場合(ステップS47:No)、撮像装置1はステップS49へ移行する。   In step S47, when the moving image special effect to be applied is not a one-shot echo (step S47: No), the imaging apparatus 1 proceeds to step S49.

ステップS49において、制御部29は、適用する効果が揺らぎであるか否かを判定する。適用する効果が揺らぎである場合(ステップS49:Yes)、動画中特殊効果画像処理部163は揺らぎ効果を追加する処理を行う(ステップS50)。   In step S49, the control unit 29 determines whether or not the effect to be applied is fluctuation. If the effect to be applied is fluctuation (step S49: Yes), the moving image special effect image processing unit 163 performs processing for adding the fluctuation effect (step S50).

ステップS50における動画中特殊効果画像処理部163の具体的な処理を説明する。動画中特殊効果画像処理部163は、シェーディング処理、クロスフィルター処理などのアート効果処理における画像処理パラメータに揺らぎを持たせた効果を追加する。例えば、シェーディング処理であれば、画像の中心からの減衰特性を時間とともに変化させる。周辺ぼかしであれば、ぼかし量やぼかし形状を変化させる。クロスフィルターであれば、クロスパターンの長さや角度を時間とともに変化させる。また、彩度、コントラスト、ホワイトバランスを時間とともに変化させてもよい。なお、揺らぎとシェーディング等のアート効果が重複する場合、両方を付与してもよいし、揺らぎのみを付与するようにしてもよい。   Specific processing of the moving image special effect image processing unit 163 in step S50 will be described. The moving image special effect image processing unit 163 adds an effect in which fluctuation is given to the image processing parameter in the art effect processing such as shading processing and cross filter processing. For example, in the case of shading processing, the attenuation characteristic from the center of the image is changed with time. If it is a peripheral blur, the blur amount and blur shape are changed. If it is a cross filter, the length and angle of the cross pattern are changed with time. Further, saturation, contrast, and white balance may be changed with time. When art effects such as shading and shading overlap, both may be given, or only the fluctuation may be given.

ステップS49において、適用する効果が揺らぎではない場合(ステップS49:No)、撮像装置1はステップS51へ移行する。   In step S49, when the effect to be applied is not fluctuation (step S49: No), the imaging device 1 proceeds to step S51.

ステップS51において、制御部29は、適用する効果がトランジットであるか否かを判定する(ステップS51)。適用する効果がトランジットである場合(ステップS51:Yes)、基本画像処理部161およびアート効果画像処理部162は、仕上がり/切り替え先の設定に応じた基本画像処理およびアート効果処理をそれぞれ実行する(ステップS52、S53)。その後、動画中特殊効果画像処理部163は、トランジット用の二つの画像の合成処理を行うことによってトランジット画像を生成する(ステップS54)。ステップS54の後、撮像装置1はメインルーチンへ戻る。   In step S51, the control part 29 determines whether the effect to apply is a transit (step S51). When the effect to be applied is transit (step S51: Yes), the basic image processing unit 161 and the art effect image processing unit 162 respectively execute basic image processing and art effect processing according to the setting of the finish / switching destination ( Steps S52 and S53). After that, the moving image special effect image processing unit 163 generates a transit image by performing synthesis processing of the two images for transit (step S54). After step S54, the imaging apparatus 1 returns to the main routine.

ステップS51において、制御部29が判定した結果、適用する効果がトランジットでない場合(ステップS51:No)、撮像装置1はメインルーチンへ戻る。   In step S51, when the result of determination by the control unit 29 is that the effect to be applied is not transit (step S51: No), the imaging apparatus 1 returns to the main routine.

以上説明した本発明の実施の形態1によれば、動画記録を開始すると、設定信号入力部が動画中特殊効果用に切り替わり、制御部は動画用特殊効果の設定信号が入力されたものと認識する。したがって、ユーザは撮影時に簡単な操作をすることで、容易に動画に特殊効果を適用することができる。   According to Embodiment 1 of the present invention described above, when moving image recording is started, the setting signal input unit is switched to the special effect during moving image, and the control unit recognizes that the setting signal of the special effect for moving image is input. To do. Therefore, the user can easily apply the special effect to the moving image by performing a simple operation at the time of shooting.

また、本実施の形態1によれば、設定信号入力部を構成するユーザインターフェースに動画用と静止画用の入力機能を兼備させることができるため、動画撮影の場合にも操作性に優れたユーザインターフェースを実現することができる。加えて、ユーザインターフェースの数も抑制することができるため、レイアウトの制限も少なくなり、小型化に好適な撮像装置を実現することができる。   In addition, according to the first embodiment, since the user interface constituting the setting signal input unit can have both video and still image input functions, the user has excellent operability even when shooting video. An interface can be realized. In addition, since the number of user interfaces can also be suppressed, layout restrictions are reduced, and an imaging device suitable for downsizing can be realized.

また、本実施の形態1によれば、編集機器やPC上で実現できるものと同等な特殊効果を、撮像装置自体で実行することができる。したがって、ユーザの作画意図を反映した動画を、高度な専門知識を必要とすることなく、また後編集することなく作成することができる。   Further, according to the first embodiment, special effects equivalent to those that can be realized on an editing device or a PC can be executed by the imaging apparatus itself. Therefore, a moving image reflecting the user's drawing intention can be created without requiring high-level specialized knowledge and without subsequent editing.

また、本実施の形態1によれば、動画撮影中の静止画に対して、動画中特殊効果の適用を禁止する制御を行うことにより、静止画撮影後の動画撮影の再開タイミングへの影響を防止することができる。   Further, according to the first embodiment, by performing control for prohibiting the application of the special effect during moving image to the still image during moving image shooting, the influence on the restart timing of moving image shooting after the still image shooting is performed. Can be prevented.

一般に、撮像装置は、PC等と比較してメモリーが少なく処理能力が劣っているため、PC等と同等の動画データの編集処理を実現することは難しい。また、動画中の静止画撮影や、動画終了直後の静止画撮影の可能な撮像装置においては、メモリー不足やメモリー管理上の問題が決定的なものになり、メモリー増設によるコスト増や、静止画撮影時の応答性や静止画画質の劣化などの問題を発生してしまう恐れもある。本実施の形態1では、この点に鑑み、撮影した動画を編集することなく、撮影時に複数のフレームにわたる時間的な移り変わりの特殊効果による撮影者の作画意図を付与した動画を撮影可能が技術を実現している。   In general, an imaging apparatus has a small memory and inferior processing capability as compared with a PC or the like, so that it is difficult to realize a moving image data editing process equivalent to that of a PC or the like. Also, in imaging devices that can shoot still images in a movie or that can be shot immediately after the movie ends, memory shortages and memory management issues are decisive. There is also a possibility that problems such as responsiveness at the time of shooting and deterioration of still image quality may occur. In the first embodiment, in view of this point, it is possible to shoot a moving image to which a photographer's drawing intention is given by a special effect of temporal transition over a plurality of frames at the time of shooting without editing the shot moving image. Realized.

(変形例1−1)
図17は、本実施の形態1の変形例1−1に係る撮像装置の動画記録時と動画非記録時におけるユーザーインターフェースの割り当てを示す図である。図17に示す場合、動画非記録時には、レリーズボタン42の1stレリーズ操作にAE/AF操作を割り当て、レリーズボタン42の2ndレリーズ操作に撮影操作を割り当て、レンズ操作部35にピント操作を割り当てる。これに対して、動画記録時には、レリーズボタン42(1stレリーズ操作)を効果開始、停止操作を交互に操作可能なトグルキーとして機能させ、レンズ操作部35に効果切替操作を割り当てる。ここで、動画記録中にレリーズボタン42からの入力に応じたAF、AEが行われたり、効果の開始時に静止画が撮影されたりすると困る。そこで、動画記録時には、静止画撮影を行わない。
(Modification 1-1)
FIG. 17 is a diagram illustrating assignment of user interfaces when a moving image is recorded and when a moving image is not recorded in the imaging apparatus according to Modification 1-1 of the first embodiment. In the case shown in FIG. 17, when the moving image is not recorded, the AE / AF operation is assigned to the first release operation of the release button 42, the shooting operation is assigned to the 2nd release operation of the release button 42, and the focus operation is assigned to the lens operation unit 35. On the other hand, at the time of moving image recording, the release button 42 (1st release operation) is caused to function as a toggle key capable of alternately starting and stopping the effect, and an effect switching operation is assigned to the lens operation unit 35. Here, it is troublesome if AF or AE corresponding to the input from the release button 42 is performed during moving image recording, or a still image is taken at the start of the effect. Therefore, still image shooting is not performed during moving image recording.

(変形例1−2)
図18は、本実施の形態1の変形例1−2に係る撮像装置の動画記録時と動画非記録時におけるユーザーインターフェースの割り当てを示す図である。この場合、動画非記録時には、ファンクションキー48にAF操作を割り当てる一方、レンズ操作部35にピント操作を割り当てる。これに対し、動画記録時には、ファンクションキー48を、効果開始、停止を交互に操作可能なトグルキーとして機能させる一方、レンズ操作部35を効果切替操作に割り当てる。
(Modification 1-2)
FIG. 18 is a diagram showing user interface assignments when a moving image is recorded and when a moving image is not recorded in the imaging apparatus according to Modification Example 1-2 of the first embodiment. In this case, when the moving image is not recorded, an AF operation is assigned to the function key 48 and a focus operation is assigned to the lens operation unit 35. On the other hand, at the time of moving image recording, the function key 48 functions as a toggle key that can be operated alternately between start and stop of the effect, and the lens operation unit 35 is assigned to the effect switching operation.

(変形例1−3)
図19は、本実施の形態1の変形例1−3に係る撮像装置の動画記録時と動画非記録時におけるユーザーインターフェースの割り当てを示す図である。本変形例1−3では、タッチパネル50を用いて効果のオンオフや切り替えを行う。動画非記録時には、タッチパネル50のタッチ操作を静止画撮影操作に割り当てる。これに対して、動画記録時には、タッチパネル50のタッチを効果開始、終了操作に交互に割り当てる一方、タッチパネル50の横スライドを効果切り替え操作に割り当てる。
このようにしてタッチパネル50を用いることにより、ユーザインターフェースのスペースを抑制することができる。
(Modification 1-3)
FIG. 19 is a diagram illustrating assignment of user interfaces when a moving image is recorded and when a moving image is not recorded in the imaging apparatus according to Modification 1-3 of Embodiment 1. In Modification 1-3, the effect is turned on / off and switched using the touch panel 50. When the moving image is not recorded, the touch operation on the touch panel 50 is assigned to the still image shooting operation. On the other hand, at the time of moving image recording, a touch on the touch panel 50 is alternately assigned to the effect start and end operations, while a horizontal slide of the touch panel 50 is assigned to the effect switching operation.
Thus, by using the touch panel 50, the space of a user interface can be suppressed.

(変形例1−4)
図20は、本実施の形態1の変形例1−4に係る撮像装置が行う動画中特殊効果制御処理の概要を示すフローチャートである。図20において、動画中特殊効果処理を開始するキーが操作された場合(ステップS61:Yes)、画像処理制御部291は、動画特殊効果フラグをオンにする(ステップS62)。その後、撮像装置1はメインルーチンへ戻る。
(Modification 1-4)
FIG. 20 is a flowchart illustrating an outline of the moving image special effect control process performed by the imaging apparatus according to Modification 1-4 of Embodiment 1. In FIG. 20, when the key for starting the special effect process during moving image is operated (step S61: Yes), the image processing control unit 291 turns on the moving image special effect flag (step S62). Thereafter, the imaging apparatus 1 returns to the main routine.

これに対し、動画中特殊効果を開始するキーが操作されない場合(ステップS61:No)において、終了指示が入力されたとき(ステップS63:Yes)、画像処理制御部291は、動画特殊効果フラグをオフにする制御を行う(ステップS64)。この後、撮像装置1は、メインルーチンへ戻る。   On the other hand, when the key for starting the special effect during moving image is not operated (step S61: No), when the end instruction is input (step S63: Yes), the image processing control unit 291 sets the moving image special effect flag. Control to turn off is performed (step S64). Thereafter, the imaging apparatus 1 returns to the main routine.

また、動画中特殊効果を開始するキーが操作されない場合(ステップS61:No)において、終了指示が入力されず(ステップS63:No)、かつ効果の切替指示が入力されたとき(ステップS65:Yes)、画像処理制御部291は特殊効果を切り替える(ステップS66)。この後、撮像装置1は、メインルーチンへ戻る。
ステップS65において、効果の切替指示が入力されないとき(ステップS65:No)、撮像装置1はメインルーチンへ戻る。
Further, when the key for starting the special effect in the moving image is not operated (step S61: No), the end instruction is not input (step S63: No), and the effect switching instruction is input (step S65: Yes). ), The image processing control unit 291 switches the special effect (step S66). Thereafter, the imaging apparatus 1 returns to the main routine.
In step S65, when the effect switching instruction is not input (step S65: No), the imaging apparatus 1 returns to the main routine.

以上説明した本実施の形態1の変形例1−1〜1−4によれば、実施の形態1と同様の効果を得ることができる。   According to the modified examples 1-1 to 1-4 of the first embodiment described above, the same effects as those of the first embodiment can be obtained.

(実施の形態2)
本発明の実施の形態2に係る撮像装置は、実施の形態1に係る撮像装置に対して、動画特殊効果をライブビュー表示しながらユーザが所望の効果を確認した上で実際に特殊効果を付与して撮影を行うことができる機能を付加している。
(Embodiment 2)
The imaging apparatus according to the second embodiment of the present invention actually gives a special effect to the imaging apparatus according to the first embodiment after the user confirms the desired effect while displaying the moving image special effect in live view. A function that can be used for shooting is added.

図21は、本実施の形態2に係る撮像装置の構成を示すブロック図である。同図に示す撮像装置51は、入力部52を除いて、実施の形態1で説明した撮像装置1と同様の構成を有する。以下、入力部52の構成を説明する。   FIG. 21 is a block diagram illustrating a configuration of the imaging apparatus according to the second embodiment. The imaging apparatus 51 shown in the figure has the same configuration as that of the imaging apparatus 1 described in the first embodiment except for the input unit 52. Hereinafter, the configuration of the input unit 52 will be described.

入力部52は、設定信号入力部201、動画撮影信号入力部202に加えて、シミュレーション信号入力部521、効果記録開始信号入力部522、および効果停止信号入力部523を有する。   The input unit 52 includes a simulation signal input unit 521, an effect recording start signal input unit 522, and an effect stop signal input unit 523 in addition to the setting signal input unit 201 and the moving image shooting signal input unit 202.

シミュレーション信号入力部521は、ライブビュー表示にのみ動画中特殊効果を付与するシミュレーション信号の入力を受け付ける。効果記録開始信号入力部522は、動画中特殊効果を施した画像をSDRAM25および記録媒体23へ記録させる効果記録開始信号の入力を受け付ける。効果停止信号入力部523は、ライブビュー表示および画像の記録において適用されている動画中特殊効果を停止する効果停止信号の入力を受け付ける。   The simulation signal input unit 521 receives an input of a simulation signal that gives a moving image special effect only to the live view display. The effect recording start signal input unit 522 receives an input of an effect recording start signal for recording an image subjected to a special effect during moving images on the SDRAM 25 and the recording medium 23. The effect stop signal input unit 523 receives an input of an effect stop signal for stopping the moving image special effect applied in live view display and image recording.

図22は、本実施の形態2におけるユーザインターフェースの割り当てを示す図である。まず、動画非記録時の割り当てについて説明する。この場合、十字キー441の上矢印キー443には、露出補正操作が割り当てられる。下矢印キー444には、連写・単写操作が割り当てられる。左矢印キー445には、AFターゲット操作が割り当てられる。右矢印キー446には、フラッシュ設定操作が割り当てられる。また、動画非記録時には、決定ボタン442にカメラ設定操作が割り当てられ、1stレリーズ操作にAE/AF操作が割り当てられ、2ndレリーズ操作に撮影操作が割り当てられる。   FIG. 22 is a diagram showing user interface assignment in the second embodiment. First, allocation at the time of moving image non-recording will be described. In this case, an exposure correction operation is assigned to the up arrow key 443 of the cross key 441. The down arrow key 444 is assigned continuous shooting / single shooting operation. An AF target operation is assigned to the left arrow key 445. A flash setting operation is assigned to the right arrow key 446. When the moving image is not recorded, a camera setting operation is assigned to the enter button 442, an AE / AF operation is assigned to the first release operation, and a shooting operation is assigned to the 2nd release operation.

次に、動画記録時の割り当てについて説明する。この場合、上矢印キー443に効果シミュレーション開始操作が割り当てられる。したがって、上矢印キー443は、シミュレーション信号入力部521の一部をなす。
下矢印キー444には、効果停止操作が割り当てられる。したがって、下矢印キー444は、効果停止信号入力部523の一部をなす。なお、動画中特殊効果の中で停止指示が必要なものは、マルチエコーと揺らぎである。
左矢印キー445および右矢印キー446には、効果切り替え操作を割り当てる。
決定ボタン442、レリーズボタン42の1stレリーズ操作および2ndレリーズ操作には、効果記録開始機能が割り当てられる。したがって、決定ボタン442およびレリーズボタン42は、効果記録開始信号入力部522の一部をなす。
Next, allocation at the time of moving image recording will be described. In this case, an effect simulation start operation is assigned to the up arrow key 443. Therefore, the up arrow key 443 forms part of the simulation signal input unit 521.
An effect stop operation is assigned to the down arrow key 444. Therefore, the down arrow key 444 forms a part of the effect stop signal input unit 523. Of the special effects in the moving image, those that require a stop instruction are multi-echo and fluctuation.
An effect switching operation is assigned to the left arrow key 445 and the right arrow key 446.
An effect recording start function is assigned to the 1st release operation and the 2nd release operation of the determination button 442 and the release button 42. Accordingly, the enter button 442 and the release button 42 form part of the effect recording start signal input unit 522.

図23は、撮像装置51の動画記録時における状態遷移の概要を示す図である。動画記録開始後にライブビュー表示および動画記録表示に対して動画中特殊効果が設定されていない状態(状態I)において、シミュレーション信号入力部521によってシミュレーション信号が入力されると、画像処理制御部291は、ライブビュー表示に動画中特殊効果を適用する一方、動画記録では動画中特殊効果を適用しない制御を行う状態IIに遷移する。   FIG. 23 is a diagram illustrating an overview of state transitions during moving image recording of the imaging apparatus 51. When a simulation signal is input by the simulation signal input unit 521 in a state where the special effect during the moving image is not set for the live view display and the moving image recording display after the start of the moving image recording (state I), the image processing control unit 291 While moving image special effects are applied to live view display, transition to state II is performed in which moving image recording is controlled so that moving image special effects are not applied.

状態IIにおいて、効果記録開始信号入力部522によって効果記録開始信号が入力されると、画像処理制御部291は、ライブビュー表示に加え、SDRAM25へ記録する際の画像にも動画中特殊効果の適用を開始する(状態III)。   When the effect recording start signal is input by the effect recording start signal input unit 522 in the state II, the image processing control unit 291 applies the special effect during moving image to the image when recording to the SDRAM 25 in addition to the live view display. Is started (state III).

状態IIIにおいて、効果停止信号入力部523によって効果停止信号が入力されると、画像処理制御部291は、ライブビュー表示および動画記録に対する動画中特殊効果の適用を停止する。これにより、撮像装置1は状態Iへ遷移する。   In the state III, when the effect stop signal is input by the effect stop signal input unit 523, the image processing control unit 291 stops the application of the special effect during moving image to the live view display and moving image recording. Thereby, the imaging device 1 transits to the state I.

以上説明した本発明の実施の形態2によれば、撮像装置がシミュレーション信号入力部、効果開始信号入力部および効果停止信号入力部を備えることにより、ユーザは動画を記録するのに先立って試験的に特殊効果を適用し、その効果を画面上で確かめることができる。したがって、ユーザは、意図したタイミングで期待した効果が適用された、よりクリエイティブな動画を容易に撮影することができる。   According to the second embodiment of the present invention described above, the imaging apparatus includes the simulation signal input unit, the effect start signal input unit, and the effect stop signal input unit, so that the user can perform a trial before recording a moving image. You can apply special effects to and check the effects on the screen. Therefore, the user can easily shoot a more creative moving image to which the effect expected at the intended timing is applied.

なお、本実施の形態2では、効果記録開始信号の入力を受け付けた時点で動画中特殊効果を付与した画像の記録を開始したが、シミュレーション信号の入力を受け付けてから所定時間経過する間に別の操作が行われない場合には、自動的に動画中特殊効果を付与した画像の記録を開始するようにしてもよい。   In the second embodiment, the recording of the image to which the special effect during the moving image is added at the time when the input of the effect recording start signal is received. If the above operation is not performed, recording of an image to which a special effect during moving images is automatically added may be started.

(変形例2−1)
図24は、本実施の形態2の変形例2−1に係る撮像装置の動画記録時と静止画記録時におけるユーザインターフェースの割り当てを示す図である。図24において、動画非記録時の割り当ては、図22に示す場合と同様である。以下、動画記録時の割り当てを説明する。上矢印キー443には、ワンショット開始機能が割り当てられる。下矢印キー444には、トランジット効果開始機能が割り当てられる。左矢印キー445には、マルチエコー効果シミュレーション開始機能が割り当てられる。右矢印キー446には、揺らぎ効果シミュレーション開始機能が割り当てられる。決定ボタン442、レリーズボタン42の1stレリーズ操作および2ndレリーズ操作には、効果記録開始機能および効果停止機能が割り当てられる。
(Modification 2-1)
FIG. 24 is a diagram showing user interface assignments during moving image recording and still image recording of the imaging apparatus according to Modification Example 2-1 of the second embodiment. In FIG. 24, the assignment when the moving image is not recorded is the same as that shown in FIG. Hereinafter, allocation at the time of moving image recording will be described. A one-shot start function is assigned to the up arrow key 443. The down arrow key 444 is assigned a transit effect start function. The left arrow key 445 is assigned a multi-echo effect simulation start function. The right arrow key 446 is assigned a fluctuation effect simulation start function. An effect recording start function and an effect stop function are assigned to the 1st release operation and the 2nd release operation of the determination button 442 and the release button 42.

したがって、本変形例2−1においては、左矢印キー445および右矢印キー446がシミュレーション信号入力部521の一部をなす。また、本変形例2−1においては、決定ボタン442およびレリーズボタン42は、効果記録開始信号入力部522および効果停止信号入力部523の一部をなす。   Therefore, in the modification 2-1, the left arrow key 445 and the right arrow key 446 form part of the simulation signal input unit 521. Further, in the present modification 2-1, the decision button 442 and the release button 42 form part of the effect recording start signal input unit 522 and the effect stop signal input unit 523.

(変形例2−2)
本実施の形態2の変形例2−2は、タッチパネル50によって動画中特殊効果の適用態様を切り替えることを特徴とする。図25は、撮像装置51が静止画撮影待機状態にある場合の表示部21における画面表示例を示す図である。画面Q1の左上には、撮影モードアイコンI1(「P」と表示)が表示されている。また、画面Q1の右上には、静止画撮影用のメニュー選択アイコンI2(「STILL MENU」と表示)と動画撮影用のメニュー選択アイコンI3(「MOVIE MENU」と表示)が設けられている。以下、タッチパネル50でアイコンの表示領域に対応する部分がタッチされる場合、「アイコンが選択される」という表現を用いることがある。
(Modification 2-2)
Modification 2-2 of the second embodiment is characterized in that the application mode of the special effect during moving image is switched by the touch panel 50. FIG. 25 is a diagram illustrating a screen display example on the display unit 21 when the imaging device 51 is in a still image shooting standby state. A shooting mode icon I1 (displayed as “P”) is displayed on the upper left of the screen Q1. Further, a menu selection icon I2 (displayed as “STILL MENU”) for shooting a still image and a menu selection icon I3 (displayed as “MOVIE MENU”) for shooting a moving image are provided on the upper right of the screen Q1. Hereinafter, when a portion corresponding to an icon display area is touched on the touch panel 50, the expression “icon is selected” may be used.

画面Q1を表示している状態でメニュー選択アイコンI2が選択された場合、表示制御部292は、静止画撮影用のメニューとして、ホワイトバランス、AF、測光をそれぞれ選択するためのアイコンと、元の操作表示画面に戻るためのアイコンを表示部21に表示させる(図示せず)。   When the menu selection icon I2 is selected while the screen Q1 is displayed, the display control unit 292 displays an icon for selecting white balance, AF, and photometry as a still image shooting menu, An icon for returning to the operation display screen is displayed on the display unit 21 (not shown).

一方、画面Q1を表示している状態でメニュー選択アイコンI3が選択された場合、表示制御部292は、動画撮影待機状態にある場合の画像を表示部21に表示させる。図26は、撮像装置51が動画撮影待機状態にある場合の表示部21における画面表示例を示す図である。図26に示す画面Q2において、表示部21には、ワンショットエコーアイコンI4(「1Shot Echo」と表示)、マルチエコーアイコンI5(「Multi Echo」と表示)、トランジットアイコンI6(「Transit」と表示)、テストオンアイコンI7(「TEST ON」と表示)、リターンアイコンI8(「RET」と表示)の5種類のアイコンが表示される。   On the other hand, when the menu selection icon I3 is selected while the screen Q1 is displayed, the display control unit 292 causes the display unit 21 to display an image in the moving image shooting standby state. FIG. 26 is a diagram illustrating a screen display example on the display unit 21 when the imaging device 51 is in the moving image shooting standby state. In the screen Q2 shown in FIG. 26, the display unit 21 displays a one-shot echo icon I4 (displayed as “1 Shot Echo”), a multi-echo icon I5 (displayed as “Multi Echo”), and a transit icon I6 (displayed as “Transit”). ), A test-on icon I7 (displayed as “TEST ON”), and a return icon I8 (displayed as “RET”).

図26に示す動画撮影待機状態では、静止画撮影時の画像のアスペクト比が変更となり、静止画よりも横長の画像となっている。このため、表示部21は、画面上下で横長の帯状をなす画像の非表示領域に各種アイコンを表示している。   In the moving image shooting standby state shown in FIG. 26, the aspect ratio of the image at the time of still image shooting is changed, and the image is longer than the still image. For this reason, the display unit 21 displays various icons in a non-display area of an image having a horizontally long strip shape at the top and bottom of the screen.

画面Q2で表示されるアイコンのうち、ワンショットエコーアイコンI4、マルチエコーアイコンI5、およびトランジットアイコンI6は、動画中特殊効果としてワンショットエコー、マルチエコー、およびトランジットをそれぞれ選択するためのアイコンである。これらのアイコンのいずれかが選択されると、表示部21は、選択された動画中特殊効果を施したライブビュー画像を表示する。したがって、ワンショットエコーアイコンI4、マルチエコーアイコンI5、およびトランジットアイコンI6は、シミュレーション信号入力部521の一部をなす。   Of the icons displayed on the screen Q2, the one-shot echo icon I4, the multi-echo icon I5, and the transit icon I6 are icons for selecting one-shot echo, multi-echo, and transit as special effects in the moving image, respectively. . When any one of these icons is selected, the display unit 21 displays a live view image to which the selected special effect during moving images is applied. Therefore, the one-shot echo icon I4, the multi-echo icon I5, and the transit icon I6 form part of the simulation signal input unit 521.

テストオンアイコンI7は、選択された動画中特殊効果をライブビュー表示に反映しているが、その動画中特殊効果を動画記録には反映していない状態を示すアイコンである。   The test-on icon I7 is an icon indicating a state in which the selected special effect during moving image is reflected in the live view display, but the special effect during moving image is not reflected in the moving image recording.

リターンアイコンI8は、一つ前の画像表示に戻るためのアイコンである。   The return icon I8 is an icon for returning to the previous image display.

図27は、表示部21が画面Q2を表示している状態で、動画中特殊効果としてトランジットが選択された場合の表示部21における画面表示例を示す図である。図27に示す画面Q3において、表示部21には、トランジット時の切替先の仕上がり一覧が選択可能に表示される。仕上がり一覧表示アイコンI9における仕上がり項目の表示順は、適宜変更可能である。   FIG. 27 is a diagram showing a screen display example on the display unit 21 when the transit is selected as the special effect during moving image while the display unit 21 displays the screen Q2. In the screen Q3 shown in FIG. 27, the display unit 21 displays a selectable finish list of switching destinations at the time of transit. The display order of the finished items in the finished list display icon I9 can be changed as appropriate.

仕上がり一覧表示アイコンI9の上下両端には、上方向へのスクロール信号の入力を受け付ける上スクロールボタンI91と、下方向へのスクロール信号の入力を受け付ける下スクロールボタンI92がそれぞれ設けられてる。例えば、上スクロールボタンI91が選択されると、表示が上方へスクロールし、一番上に表示されている項目「Vivid」が消えて項目「ファンタジックフォーカス」が一番上となり、一番下に別の仕上がり項目が表示される。   At the upper and lower ends of the finished list display icon I9, an up scroll button I91 for receiving an input of a scroll signal in the upward direction and a down scroll button I92 for receiving an input of a scroll signal in the downward direction are provided. For example, when the up scroll button I91 is selected, the display is scrolled upward, the item “Vivid” displayed at the top disappears, the item “Fantastic focus” becomes the top, and the item “Fantastic focus” is displayed at the bottom. The finished items are displayed.

仕上がり一覧表示アイコンI9において、現在選択されている仕上がり項目は、他の仕上がりと異なる表示とする。ここでいう異なる表示とは、例えばグレー表示、ハイライト表示など他の仕上がり項目と識別可能な表示の総称である。図27では、項目「トイフォト」が選択されている場合を示している。切り替え先の仕上がりが選択されると、表示制御部292は、仕上がり一覧表示アイコンI9を消去する。この後、画像処理制御部291は、動画中特殊効果画像処理部163に対してトランジット処理を開始させる。   In the finish list display icon I9, the currently selected finish item is displayed differently from the other finishes. The different display here is a generic term for displays that can be distinguished from other finished items such as gray display and highlight display. FIG. 27 shows a case where the item “Toy Photo” is selected. When the switching destination finish is selected, the display control unit 292 erases the finish list display icon I9. Thereafter, the image processing control unit 291 causes the moving image special effect image processing unit 163 to start transit processing.

なお、仕上がり一覧表示アイコンI9でハイライト表示されている項目が再度選択された場合には、その前に選択されていたアート効果に戻るようにしてもよい。具体的には、例えばトイフォトの前にナチュラルが選択されていれば、項目「トイフォト」が再選択された場合、再びナチュラルに戻るようにすればよい。   When the item highlighted on the finished list display icon I9 is selected again, the art effect selected before that may be returned. Specifically, for example, if natural is selected before the toy photo, when the item “toy photo” is selected again, it may be returned to natural again.

図28は、図26に示す画面Q2において動画ボタン47が押された後の画面表示例を示す図である。図28に示す画面Q4では、ワンショットエコーアイコンI4、マルチエコーアイコンI5,トランジットアイコンI6に加えて、確定アイコンI10(「OK」と表示)が表示される。確定アイコンI10は、表示している動画中特殊効果を付与した画像の記録を開始するためのアイコンである。したがって、確定アイコンI10は、効果記録開始信号入力部522の一部をなす。   FIG. 28 is a diagram showing a screen display example after the moving image button 47 is pressed on the screen Q2 shown in FIG. On the screen Q4 shown in FIG. 28, in addition to the one-shot echo icon I4, the multi-echo icon I5, and the transit icon I6, a confirmation icon I10 (displayed as “OK”) is displayed. The confirmation icon I10 is an icon for starting recording of the image to which the displayed special effect during moving images is added. Therefore, the confirmation icon I10 forms part of the effect recording start signal input unit 522.

画面Q4を表示している最中に動画ボタン47が押されて動画記録が終了した場合、表示制御部292は、表示部21における表示を画面Q2に戻す制御を行う。   When the moving image button 47 is pressed while the screen Q4 is being displayed and the moving image recording is ended, the display control unit 292 performs control to return the display on the display unit 21 to the screen Q2.

図29は、図28に示す画面Q4において確定アイコンI10が選択された後の表示部21における画面表示例を示す図である。図29に示す画面Q5では、ワンショットエコーアイコンI4、マルチエコーアイコンI5,トランジットアイコンI6に加えて、終了アイコンI11(「END」と表示)が表示されている。このうち、ワンショットエコーアイコンI4はハイライト表示されている。これは、ワンショットエコーが選択されていることを意味している。   FIG. 29 is a diagram showing a screen display example on the display unit 21 after the confirmation icon I10 is selected on the screen Q4 shown in FIG. On the screen Q5 shown in FIG. 29, in addition to the one-shot echo icon I4, the multi-echo icon I5, and the transit icon I6, an end icon I11 (displayed as “END”) is displayed. Of these, the one-shot echo icon I4 is highlighted. This means that the one-shot echo is selected.

終了アイコンI11は、記録中動画における動画中特殊効果の付与を終了する指示信号を入力するためのアイコンである。画面Q5を表示している状態で終了アイコンI11が選択された場合、画像処理制御部291は、動画中特殊効果画像処理部163は、動画中特殊効果の適用を終了する。この場合、表示制御部292は、画面Q5から終了アイコンI11を削除した画面を表示部21に表示させる。その際に写っているライブビュー画像にも動画中特殊効果が付与されないことは勿論である。   The end icon I11 is an icon for inputting an instruction signal for ending the application of the special effect during moving image to the moving image during recording. When the end icon I11 is selected while the screen Q5 is displayed, the image processing control unit 291 causes the moving image special effect image processing unit 163 to end the application of the moving image special effect. In this case, the display control unit 292 causes the display unit 21 to display a screen in which the end icon I11 is deleted from the screen Q5. Needless to say, the special effect during the moving image is not given to the live view image shown at that time.

画面Q5を表示している最中に動画ボタン47が押されて動画記録が終了した場合にも、表示制御部292は、表示部21における表示を画面Q2に戻す制御を行う。   Even when the moving image button 47 is pressed during the display of the screen Q5 and the moving image recording is ended, the display control unit 292 performs control to return the display on the display unit 21 to the screen Q2.

図30は、図26に示す画面Q2においてテストオンアイコンI7が選択されてテストオン状態に遷移した場合の表示部21の画面表示例を示す図である。図30に示す画面Q6には、テストオンアイコンI7の代わりにテストオフアイコンI12(「TEST OFF」と表示)が表示されている。テストオフアイコンI12は、選択された動画中特殊効果をライブビュー表示および動画記録には反映する状態を示すアイコンである。   FIG. 30 is a diagram showing a screen display example of the display unit 21 when the test-on icon I7 is selected on the screen Q2 shown in FIG. On the screen Q6 shown in FIG. 30, a test off icon I12 (displayed as “TEST OFF”) is displayed instead of the test on icon I7. The test-off icon I12 is an icon indicating a state in which the selected moving image special effect is reflected in the live view display and moving image recording.

画面Q6を表示している状態でテストオフアイコンI12が選択されると、表示制御部292は表示部21に画面Q2を表示させる。すなわち、テストオフアイコンI12が選択されると、テストオフアイコンI12の位置がテストオンアイコンI7の表示に変化する。   When the test-off icon I12 is selected while the screen Q6 is displayed, the display control unit 292 causes the display unit 21 to display the screen Q2. That is, when the test-off icon I12 is selected, the position of the test-off icon I12 changes to the display of the test-on icon I7.

表示部21が画面Q6を表示している状態で動画ボタン47が押されて動画記録が開始すると、表示制御部292は画面Q5を表示させる制御を行う。   When the moving image button 47 is pressed and the moving image recording is started while the display unit 21 is displaying the screen Q6, the display control unit 292 performs control to display the screen Q5.

以上説明した本実施の形態2の変形例2−1、2−2によれば、実施の形態2と同様の効果を得ることができる。   According to the modified examples 2-1 and 2-2 of the second embodiment described above, the same effects as those of the second embodiment can be obtained.

(実施の形態3)
本発明の実施の形態3に係る撮像装置は、動画撮影モードと静止画撮影モードとを設定可能であり、動画撮影モードに設定すると、ユーザインターフェースが動画撮影用に切り替わることを特徴とする。
(Embodiment 3)
The imaging apparatus according to Embodiment 3 of the present invention can set a moving image shooting mode and a still image shooting mode, and when set to the moving image shooting mode, the user interface is switched for moving image shooting.

図31は、本実施の形態3に係る撮像装置の構成を示すブロック図である。同図に示す撮像装置61は、入力部62を除いて、実施の形態1で説明した撮像装置1と同様の構成を有する。以下、入力部62の構成を説明する。   FIG. 31 is a block diagram illustrating a configuration of the imaging apparatus according to the third embodiment. The imaging apparatus 61 shown in the figure has the same configuration as that of the imaging apparatus 1 described in Embodiment 1 except for the input unit 62. Hereinafter, the configuration of the input unit 62 will be described.

入力部62は、静止画撮影および動画撮影における撮影条件を設定する静止画撮影条件設定信号を含む各種設定信号の入力を受け付ける設定信号入力部621と、動画撮影信号入力部202とを有する。   The input unit 62 includes a setting signal input unit 621 that receives input of various setting signals including a still image shooting condition setting signal for setting shooting conditions in still image shooting and moving image shooting, and a moving image shooting signal input unit 202.

設定信号入力部621は、モードの設定を指示するモード設定信号の入力を受け付けるモード設定信号入力部622を有する。モード設定信号入力部622は、例えばモードダイヤル43によって実現される。   The setting signal input unit 621 includes a mode setting signal input unit 622 that receives an input of a mode setting signal that instructs setting of a mode. The mode setting signal input unit 622 is realized by the mode dial 43, for example.

図32は、撮像装置61が静止画撮影モードと動画撮影モードにそれぞれ設定されている場合のキーの割り当てを示す図である。撮像装置61が静止画撮影モードに設定されている場合、上矢印キー443には、露出補正操作が割り当てられる。下矢印キー444には、連写・単車操作が割り当てられる。左矢印キー445には、AFターゲット操作が割り当てられる。右矢印キー446には、フラッシュ設定操作が割り当てられる。再生ボタン46には、再生操作が割り当てられる。消去ボタン49には、消去操作が割り当てられる。   FIG. 32 is a diagram illustrating key assignment when the imaging device 61 is set to the still image shooting mode and the moving image shooting mode, respectively. When the imaging device 61 is set to the still image shooting mode, an exposure correction operation is assigned to the up arrow key 443. The down arrow key 444 is assigned continuous shooting / single car operation. An AF target operation is assigned to the left arrow key 445. A flash setting operation is assigned to the right arrow key 446. A playback operation is assigned to the playback button 46. An erase operation is assigned to the erase button 49.

次に、撮像装置61が動画撮影モードに設定されている場合を説明する。上矢印キー443および左矢印キー445には、静止画モード設定時と同じ操作、すなわち露出補正操作とAFターゲット操作がそれぞれ割り当てられる。下矢印キー444には、トランジット効果開始操作が割り当てられる。右矢印キー446には、揺らぎ効果開始・停止操作が割り当てられる。再生ボタン46には、ワンショットエコー開始操作が割り当てられる。消去ボタン49には、マルチエコー開始・停止操作が割り当てられる。   Next, the case where the imaging device 61 is set to the moving image shooting mode will be described. The up arrow key 443 and the left arrow key 445 are assigned the same operation as in the still image mode setting, that is, the exposure correction operation and the AF target operation, respectively. The down arrow key 444 is assigned a transit effect start operation. The right arrow key 446 is assigned a fluctuation effect start / stop operation. A one-shot echo start operation is assigned to the playback button 46. A multi-echo start / stop operation is assigned to the erase button 49.

本実施の形態3では、揺らぎ効果に関して、開始だけでなく停止も任意に設定することができるものとしているが、実施の形態1と同様に、揺らぎ効果が、効果開始後所定時間経過した時点で停止する場合には、右矢印キー446に対して揺らぎ効果開始操作を割り当てればよい。   In the third embodiment, regarding the fluctuation effect, it is possible to arbitrarily set not only the start but also the stop. However, as in the first embodiment, the fluctuation effect is obtained when a predetermined time has elapsed after the start of the effect. In order to stop, a fluctuation effect start operation may be assigned to the right arrow key 446.

図33は、撮像装置61が行う処理の概要を示すフローチャートである。図33におけるステップS71〜S76の処理は、図13におけるステップS1〜S6の処理に順次対応している。   FIG. 33 is a flowchart illustrating an overview of processing performed by the imaging device 61. The processing in steps S71 to S76 in FIG. 33 sequentially corresponds to the processing in steps S1 to S6 in FIG.

ステップS77において、動画ボタン47が操作されたとき(ステップS77:Yes)、制御部29は、動画の記録中であることを示す記録中フラグを反転させる(ステップS78)。   In step S77, when the moving image button 47 is operated (step S77: Yes), the control unit 29 inverts the recording flag indicating that the moving image is being recorded (step S78).

続いて、制御部29は、SDRAM25に記録された記録中フラグがオン状態であるか否かを判断する(ステップS79)。記録中フラグがオン状態であると判断した場合(ステップS79:Yes)、制御部29は、記録媒体23に画像データを時系列に沿って記録するための動画ファイルを生成して記録媒体23に格納する(ステップS80)。その後、撮像装置1はステップS81へ移行する。ステップS79において記録中フラグがオン状態にないと判断した場合(ステップS79:No)、撮像装置はステップS81へ移行する。   Subsequently, the control unit 29 determines whether or not the recording flag recorded in the SDRAM 25 is on (step S79). If it is determined that the recording flag is on (step S79: Yes), the control unit 29 generates a moving image file for recording the image data in time series on the recording medium 23, and stores the moving image file on the recording medium 23. Store (step S80). Thereafter, the imaging apparatus 1 proceeds to step S81. If it is determined in step S79 that the recording flag is not on (step S79: No), the imaging apparatus proceeds to step S81.

ステップS81においてモード設定が変更され(ステップS81:Yes)、動画モードに設定された場合(ステップS82:Yes)、制御部29は、特殊動画用ユーザインターフェースの設定処理を行う(ステップS83)。この設定処理により、例えば図32に示すような動画モード用の割り当てが実行される。その結果、制御部29は、ステップS83で設定対象となったユーザインターフェースがこの後で受け付ける信号を、図32に基づく特殊動画用の信号として認識する。   When the mode setting is changed in step S81 (step S81: Yes) and the moving image mode is set (step S82: Yes), the control unit 29 performs a special moving image user interface setting process (step S83). By this setting process, for example, assignment for the moving image mode as shown in FIG. 32 is executed. As a result, the control unit 29 recognizes a signal that is subsequently received by the user interface set in step S83 as a special moving image signal based on FIG.

一方、ステップS81においてモード設定が変更され(ステップS81:Yes)、静止画モードに設定された場合(ステップS82:No)、制御部29は、静止画用ユーザインターフェースの設定処理を行う(ステップS85)。ここでも、図32に示すような静止画モード用のキーの割当が行われる。   On the other hand, when the mode setting is changed in step S81 (step S81: Yes) and the still image mode is set (step S82: No), the control unit 29 performs a still image user interface setting process (step S85). ). Also in this case, assignment of keys for the still image mode as shown in FIG. 32 is performed.

ステップS85〜S100の処理は、上述した実施の形態1で説明したステップS15〜S28の処理に順次対応している。   The processes in steps S85 to S100 sequentially correspond to the processes in steps S15 to S28 described in the first embodiment.

以上説明した本発明の実施の形態3によれば、動画撮影モードに設定すると、設定信号入力部が動画中特殊効果用に切り替わり、制御部は動画用特殊効果の設定信号が入力されたものと認識する。したがって、ユーザは撮影時に簡単な操作をすることで、容易に動画に特殊効果を適用することができる。モード設定に応じてユーザインターフェースの設定を切り替え、動画中特殊効果をライブビュー画像で確認した上で撮影を行うことができる。   According to the third embodiment of the present invention described above, when the moving image shooting mode is set, the setting signal input unit is switched to the special effect during moving image, and the control unit receives the setting signal of the special effect for moving image. recognize. Therefore, the user can easily apply the special effect to the moving image by performing a simple operation at the time of shooting. The user interface setting is switched according to the mode setting, and shooting can be performed after confirming the special effect during the moving image with the live view image.

また、本実施の形態3によれば、設定信号入力部を構成するユーザインターフェースに動画用と静止画用の入力機能を兼備させることができるため、ユーザインターフェースの数を抑えることができる。したがって、装置の小型化にも好適である。   Further, according to the third embodiment, since the user interface constituting the setting signal input unit can have both video and still image input functions, the number of user interfaces can be reduced. Therefore, it is suitable for downsizing of the apparatus.

また、本実施の形態3によれば、ユーザは、動画撮影待機中や静止画撮影待機中などに、動画へ記録される前に動画特殊効果の適用を明確に把握することができる。したがって、ユーザは、動画記録撮影される特殊効果付の動画像を事前にイメージしたり、特殊効果付与のタイミングを事前に考慮することが可能となる。   Further, according to the third embodiment, the user can clearly grasp the application of the moving image special effect before being recorded on the moving image during the moving image shooting standby or the still image shooting standby. Therefore, the user can image a moving image with a special effect to be recorded and photographed in advance, or can consider the timing of applying the special effect in advance.

(変形例3−1)
図34は、本実施の形態3の変形例3−1に係る撮像装置が静止画撮影モードと動画撮影モードにそれぞれ設定されている場合のキーの割り当て例を示す図である。本変形例3−1に係る撮像装置が静止画撮影モードに設定されている場合の十字キー441のキー割り当ては、実施の形態3と同じである。
(Modification 3-1)
FIG. 34 is a diagram illustrating an example of key assignment when the imaging apparatus according to the modified example 3-1 of the third embodiment is set to the still image shooting mode and the moving image shooting mode, respectively. The key assignment of the cross key 441 when the imaging apparatus according to the modified example 3-1 is set to the still image shooting mode is the same as that of the third embodiment.

以下、本変形例3−1に係る撮像装置が動画撮影モードに設定されている場合のキーの割り当て例を説明する。上矢印キー443には、ワンショットエコー開始操作が割り当てられる。下矢印キー444には、トランジット開始操作が割り当てられる。左矢印キー445には、マルチエコー開始・停止操作が割り当てられる。右矢印キー446には、揺らぎ開始・停止操作が割り当てられる。   Hereinafter, an example of key assignment when the imaging apparatus according to Modification 3-1 is set in the moving image shooting mode will be described. A one-shot echo start operation is assigned to the up arrow key 443. The down arrow key 444 is assigned a transit start operation. A multi-echo start / stop operation is assigned to the left arrow key 445. The right arrow key 446 is assigned a fluctuation start / stop operation.

(変形例3−2)
図35は、本実施の形態3の変形例3−2に係る撮像装置が静止画撮影待機状態にある場合の表示部21における画面表示例を示す図である。本変形例3−2においては、タッチパネル50を用いて各種信号の入力を行う。図35に示す画面Q7では、静止画撮影用のメニュー選択アイコンI2に加えて、撮影モードアイコンI1'もタッチ入力可能であり、モード設定信号入力部622の一部をなしている。
(Modification 3-2)
FIG. 35 is a diagram illustrating a screen display example on the display unit 21 when the imaging apparatus according to the modified example 3-2 of the third embodiment is in a still image shooting standby state. In Modification 3-2, various signals are input using the touch panel 50. On the screen Q7 shown in FIG. 35, in addition to the menu selection icon I2 for still image shooting, a shooting mode icon I1 ′ can also be touch-input, and forms a part of the mode setting signal input unit 622.

図36は、画面Q7において撮影モードアイコンI1'が選択された場合に表示部21が表示する画面表示例を示す図である。図36に示す画面Q8において、画面下方には、PモードアイコンI13(「P」と表示)、AモードアイコンI14(「A」と表示)、SモードアイコンI15(「S」と表示)、MモードアイコンI16(「M」と表示)、動画アイコンI17(「MOVIE」と表示)、確定アイコンI10の6種類のアイコンが表示されている。このうち、PモードアイコンI13、AモードアイコンI14、SモードアイコンI15、MモードアイコンI16は、撮影モード(露出モード)を設定するためのアイコンであり、モードダイヤル43と同様の機能を有する。   FIG. 36 is a diagram showing a screen display example displayed on the display unit 21 when the shooting mode icon I1 ′ is selected on the screen Q7. In the screen Q8 shown in FIG. 36, at the bottom of the screen, a P mode icon I13 (displayed as “P”), an A mode icon I14 (displayed as “A”), an S mode icon I15 (displayed as “S”), M Six types of icons are displayed: a mode icon I16 (displayed as “M”), a moving image icon I17 (displayed as “MOVIE”), and a confirmation icon I10. Among these, the P mode icon I13, the A mode icon I14, the S mode icon I15, and the M mode icon I16 are icons for setting the shooting mode (exposure mode) and have the same functions as the mode dial 43.

画面Q8において動画アイコンI17が選択されると、撮像装置1は動画モードへ移行して動画撮影待機状態となる。   When the moving image icon I17 is selected on the screen Q8, the imaging apparatus 1 shifts to the moving image mode and enters a moving image shooting standby state.

図37は、動画撮影待機状態における表示部21の画面表示例を示す図である。図37に示す画面Q9では、ワンショットエコーアイコンI4、マルチエコーアイコンI5、トランジットアイコンI6、およびリターンアイコンI8が表示される。   FIG. 37 is a diagram illustrating a screen display example of the display unit 21 in the moving image shooting standby state. On the screen Q9 shown in FIG. 37, a one-shot echo icon I4, a multi-echo icon I5, a transit icon I6, and a return icon I8 are displayed.

図37に示す状態でワンショットエコーアイコンI4、マルチエコーアイコンI5、トランジットアイコンI6のいずれかが選択されると、表示制御部292は、選択された動画中特殊効果に対応する特殊効果を適用してライブビュー画像を表示する。トランジットアイコンI6が選択された場合には、図27に示す画面Q3が表示される。動画中特殊効果が選択された状態で動画ボタン47が押されると、制御部29は、ライブビュー画像で表示している動画中特殊効果入りの動画の記録を開始する。   When any one of the one-shot echo icon I4, the multi-echo icon I5, and the transit icon I6 is selected in the state shown in FIG. 37, the display control unit 292 applies a special effect corresponding to the selected moving image special effect. To display the Live View image. When the transit icon I6 is selected, a screen Q3 shown in FIG. 27 is displayed. When the moving image button 47 is pressed in a state where the moving image special effect is selected, the control unit 29 starts recording the moving image including the moving image special effect displayed as the live view image.

以上説明した本実施の形態3の変形例3−1、3−2によれば、実施の形態3と同様の効果を得ることができる。   According to the modified examples 3-1 and 3-2 of the third embodiment described above, the same effects as those of the third embodiment can be obtained.

(実施の形態4)
本発明の実施の形態4は、動画を撮影可能な撮像装置において、撮影モードの一つとして、動画中特殊効果を適用して撮影する動画中特殊効果適用モードを設定することが可能であることを特徴とする。
(Embodiment 4)
In Embodiment 4 of the present invention, in an imaging apparatus capable of shooting a moving image, it is possible to set a moving image special effect application mode in which a moving image special effect is applied as one of the shooting modes. It is characterized by.

図38は、本発明の実施の形態4に係る撮像装置が行う処理の概要を示すフローチャートである。本実施の形態4に係る撮像装置の構成は、上述した実施の形態3で説明した撮像装置61の構成と同様である。また、図38におけるステップS111〜S114、S116の処理は、図33におけるステップS71〜S74、S76の処理に順次対応している。   FIG. 38 is a flowchart showing an outline of processing performed by the imaging apparatus according to Embodiment 4 of the present invention. The configuration of the imaging apparatus according to the fourth embodiment is the same as the configuration of the imaging apparatus 61 described in the third embodiment. In addition, the processes in steps S111 to S114 and S116 in FIG. 38 sequentially correspond to the processes in steps S71 to S74 and S76 in FIG.

ステップS115において、カメラ設定が行われる(ステップS115)。ここでのカメラ設定は、仕上がり、静止画記録モード、動画記録モード特殊効果設定、トランジットの切り替え先の設定、揺らぎ効果の設定に加えて特殊効果の選択も含まれる。したがって、本実施の形態4では、予め動画中特殊効果が選択されることとなる。この特殊効果の選択は、モードダイヤル43で行うことができるようにしてもよい。   In step S115, camera settings are made (step S115). The camera settings here include finishing, still image recording mode, moving image recording mode special effect setting, transit switching destination setting, fluctuation effect setting, and special effect selection. Therefore, in the fourth embodiment, the special effect during moving image is selected in advance. This special effect may be selected with the mode dial 43.

ステップS117において、動画ボタン47が操作されたとき(ステップS117:Yes)、制御部29は、動画の記録中であることを示す記録中フラグを反転させる(ステップS118)。   In step S117, when the moving image button 47 is operated (step S117: Yes), the control unit 29 inverts the recording flag indicating that the moving image is being recorded (step S118).

続いて、制御部29は、SDRAM25に記録された記録中フラグがオン状態であるか否かを判断する(ステップS119)。記録中フラグがオン状態であると判断した場合(ステップS119:Yes)、制御部29は、記録媒体23に画像データを時系列に沿って記録するための動画ファイルを生成して記録媒体23に格納する(ステップS120)。その後、撮像装置1はステップS121へ移行する。ステップS119において記録中フラグがオン状態にないと判断した場合(ステップS119:No)、動画中特殊効果画像処理部163は、ステップS121へ移行する。   Subsequently, the control unit 29 determines whether or not the recording flag recorded in the SDRAM 25 is on (step S119). When it is determined that the recording flag is in the on state (step S119: Yes), the control unit 29 generates a moving image file for recording the image data in time series on the recording medium 23 and stores the moving image file on the recording medium 23. Store (step S120). Thereafter, the imaging apparatus 1 proceeds to step S121. If it is determined in step S119 that the recording flag is not on (step S119: No), the moving image special effect image processing unit 163 proceeds to step S121.

ステップS121において、制御部29は、撮像装置61が動画特殊効果モードに設定されているか否かを判定する。判定の結果、撮像装置61が動画特殊効果モードに設定されている場合(ステップS121:Yes)、制御部29は、動画特殊効果フラグをオン状態にする(ステップS122)。一方、ステップS121で制御部29が判定した結果、撮像装置61が動画特殊効果モードに設定されていない場合(ステップS121:No)、制御部29は動画特殊効果フラグをオフ状態にする(ステップS123)。   In step S121, the control unit 29 determines whether or not the imaging device 61 is set to the moving image special effect mode. As a result of the determination, when the imaging device 61 is set to the moving image special effect mode (step S121: Yes), the control unit 29 turns on the moving image special effect flag (step S122). On the other hand, if the result of determination by the control unit 29 in step S121 is that the imaging device 61 is not set to the moving image special effect mode (step S121: No), the control unit 29 turns off the moving image special effect flag (step S123). ).

ステップS124〜S136の処理は、実施の形態3で説明したステップS88〜S100の処理に順次対応している。   The processing in steps S124 to S136 sequentially corresponds to the processing in steps S88 to S100 described in the third embodiment.

以上説明した本発明の実施の形態4によれば、動画中特殊効果用のモード設定を行うことができるため、モードを切り替えるだけで、動画中特殊効果が付与された動画を簡単に撮影することができる。   According to the fourth embodiment of the present invention described above, since the mode setting for the special effect during moving image can be performed, it is possible to easily shoot a moving image with the special effect during moving image simply by switching the mode. Can do.

なお、本実施の形態4に係る撮像装置において、静止画モードを設定できるようにしてもよいことはいうまでもない。   Needless to say, in the imaging apparatus according to the fourth embodiment, the still image mode may be set.

(実施の形態5)
本発明の実施の形態5は、動画中に静止画を撮影した場合にも、その前に記録した動画データを用いて動画中特殊効果を付与することを特徴とする。
(Embodiment 5)
The fifth embodiment of the present invention is characterized in that, even when a still image is shot during a moving image, a moving image special effect is imparted using moving image data recorded before that.

図39は、本実施の形態5に係る撮像装置の構成を示すブロック図である。同図に示す撮像装置71は、画像処理部72を除いて、実施の形態1で説明した撮像装置1と同様の構成を有する。以下、画像処理部72の構成を説明する。   FIG. 39 is a block diagram illustrating a configuration of the imaging apparatus according to the fifth embodiment. The imaging apparatus 71 shown in the figure has the same configuration as that of the imaging apparatus 1 described in Embodiment 1 except for the image processing unit 72. Hereinafter, the configuration of the image processing unit 72 will be described.

画像処理部72は、基本画像処理部161と、アート効果画像処理部162と、動画中特殊効果画像処理部721とを有する。動画中特殊効果画像処理部721は、動画像データの画素数を補間することによって動画像データの画素数をリサイズするリサイズ処理部722を有する。   The image processing unit 72 includes a basic image processing unit 161, an art effect image processing unit 162, and a moving image special effect image processing unit 721. The moving image special effect image processing unit 721 includes a resizing processing unit 722 that resizes the number of pixels of moving image data by interpolating the number of pixels of moving image data.

図40は、撮像装置71が行う画像処理の詳細を示すフローチャートである。なお、画像処理を除く撮像装置71の処理の概要は、実施の形態1と同様である(図13を参照)。図40において、基本画像処理部161が基本画像処理を行い(ステップS141)、アート効果画像処理部163がアート効果処理を行う(ステップS142)。ここでの基本画像処理およびアート効果処理は、実施の形態1で説明したものと同じである。   FIG. 40 is a flowchart illustrating details of image processing performed by the imaging device 71. The outline of the processing of the imaging device 71 excluding image processing is the same as that of the first embodiment (see FIG. 13). In FIG. 40, the basic image processing unit 161 performs basic image processing (step S141), and the art effect image processing unit 163 performs art effect processing (step S142). The basic image processing and art effect processing here are the same as those described in the first embodiment.

この後、制御部29は、動画中特殊効果が設定されているか否かを判定する(ステップS143)。動画中特殊効果が設定されている場合(ステップS143:Yes)、撮像装置71はステップS144に移行する。一方、動画中特殊効果が設定されていない場合(ステップS143:No)、撮像装置71はメインルーチン(図13を参照)へ戻る。   Thereafter, the control unit 29 determines whether or not the moving image special effect is set (step S143). When the special effect during moving image is set (step S143: Yes), the imaging device 71 proceeds to step S144. On the other hand, when the special effect during moving images is not set (step S143: No), the imaging device 71 returns to the main routine (see FIG. 13).

ステップS144において、制御部29は、設定された特殊効果がマルチエコーであるか否かを判定する。設定された特殊効果がマルチエコーである場合(ステップS144:Yes)、撮像装置1はステップS145へ進む。一方、設定された特殊効果がマルチエコーでない場合(ステップS144:No)、撮像装置1は後述するステップS149へ移行する。   In step S144, the control unit 29 determines whether or not the set special effect is multi-echo. When the set special effect is multi-echo (step S144: Yes), the imaging apparatus 1 proceeds to step S145. On the other hand, when the set special effect is not multi-echo (step S144: No), the imaging apparatus 1 proceeds to step S149 described later.

ステップS145において、撮像装置1が静止画モードに設定されている場合(ステップS145:Yes)、リサイズ処理部722は、動画用の前フレームをリサイズする(ステップS146)。この処理は、動画と静止画で画像データの画素数が異なるためである。   In step S145, when the imaging device 1 is set to the still image mode (step S145: Yes), the resizing processing unit 722 resizes the previous frame for moving images (step S146). This process is because the number of pixels of image data differs between a moving image and a still image.

図41は、リサイズ処理部722が行うリサイズ処理の概要を模式的に示す図である。図41において、フレームの大きさが画像データの画素数に対応している。リサイズ処理部722が動画データをリサイズする際には、動画フレーム301のアスペクト比を維持したまま、動画フレーム301の横方向の画素数が静止画フレーム302の横方向の画素数と略等しくなるように、補間によって画素数を増やすことによってリサイズ後フレーム301'を生成する。   FIG. 41 is a diagram schematically illustrating an outline of the resizing process performed by the resizing processing unit 722. In FIG. 41, the size of the frame corresponds to the number of pixels of the image data. When the resizing processing unit 722 resizes the moving image data, the number of pixels in the horizontal direction of the moving image frame 301 is substantially equal to the number of pixels in the horizontal direction of the still image frame 302 while maintaining the aspect ratio of the moving image frame 301. In addition, a resized frame 301 ′ is generated by increasing the number of pixels by interpolation.

続いて、動画中特殊効果画像処理部163は、リサイズした動画フレームと静止画フレームとを合成する(ステップS147)。具体的には、動画中特殊効果画像処理部163は、画素の色データごとに動画フレームの信号と静止画フレームの信号を所定の比率で足し合わせることによって合成画像信号を生成する。合成画像信号は、前フレーム画像信号の比率をc(<1)とすると、
c×前フレーム画像の信号+(1−c)×静止画フレームの信号
で表される。
Subsequently, the moving image special effect image processing unit 163 combines the resized moving image frame and the still image frame (step S147). Specifically, the moving image special effect image processing unit 163 generates a composite image signal by adding a moving image frame signal and a still image frame signal at a predetermined ratio for each pixel color data. If the ratio of the previous frame image signal is c (<1),
c × previous frame image signal + (1−c) × still image frame signal.

図42は、静止画モードにおける合成処理と前フレーム画像信号の合成比率cを模式的に説明する図である。図42において、リサイズした前フレームと静止画との間で、共通して画像が存在する領域D1において、前フレームである画像信号の比率cはほぼ一定値c0をとる。一定値c0の値は、例えば0.5よりも小さい値である。これに対し、動画フレームの信号が存在しない領域D2と領域D1の境界付近では、領域D1から領域D2に向けて比率cが徐々に小さくなっていき、領域D2内でc=0となる。 FIG. 42 is a diagram for schematically explaining the synthesis ratio c in the still image mode and the previous frame image signal. In Figure 42, between the resized previous frame and the still image, in the region D1 where the image is present in common, the ratio c of the image signal is a previous frame substantially takes a constant value c 0. The value of the constant value c 0 is a value smaller than 0.5, for example. On the other hand, in the vicinity of the boundary between the region D2 and the region D1 where no video frame signal exists, the ratio c gradually decreases from the region D1 to the region D2, and c = 0 in the region D2.

ステップS145において、撮像装置1が動画モードに設定されていれば(ステップS145:No)、動画中特殊効果画像処理部163は、前フレームと動画フレームをそのまま合成する(ステップS148)。   If the imaging device 1 is set to the moving image mode in step S145 (step S145: No), the moving image special effect image processing unit 163 combines the previous frame and the moving image frame as they are (step S148).

ステップS147またはS148に続いて、制御部29は、適用する効果がワンショットエコーであるか否かを判定する(ステップS149)。適用する効果がワンショットエコーである場合(ステップS149:Yes)において、静止画撮影モードに設定されているとき(ステップS150:Yes)、動画中特殊効果画像処理部163は、前フレームをリサイズする(ステップS151)。適用する効果がワンショットエコーである場合(ステップS149:Yes)において、静止画撮影モードに設定されていないとき(ステップS150:No)、撮像装置1はステップS152へ移行する。   Subsequent to step S147 or S148, the control unit 29 determines whether the effect to be applied is a one-shot echo (step S149). When the effect to be applied is the one-shot echo (step S149: Yes), when the still image shooting mode is set (step S150: Yes), the moving image special effect image processing unit 163 resizes the previous frame. (Step S151). When the effect to be applied is the one-shot echo (step S149: Yes), when the still image shooting mode is not set (step S150: No), the imaging apparatus 1 proceeds to step S152.

その後、動画中特殊効果画像処理部163は、前フレームと現在のフレームを所定の合成比率で合成する(ステップS152)。この合成比率は、現在のフレームの比率が高くなるように設定されることが望ましい。   Thereafter, the moving image special effect image processing unit 163 combines the previous frame and the current frame at a predetermined combining ratio (step S152). This composition ratio is preferably set so that the ratio of the current frame is high.

ステップS149において、適用する動画中特殊効果がワンショットエコーでない場合(ステップS149:No)、撮像装置71はステップS153へ移行する。   In step S149, when the moving image special effect to be applied is not a one-shot echo (step S149: No), the imaging device 71 proceeds to step S153.

ステップS153において、制御部29は、適用する効果が揺らぎであるか否かを判定する。適用する効果が揺らぎである場合(ステップS153:Yes)、動画中特殊効果画像処理部163は揺らぎを追加する(ステップS154)。一方、適用する効果が揺らぎでない場合(ステップS153:No)、撮像装置71はステップS155へ移行する。   In step S153, the control unit 29 determines whether or not the effect to be applied is fluctuation. When the applied effect is fluctuation (step S153: Yes), the moving image special effect image processing unit 163 adds fluctuation (step S154). On the other hand, when the effect to apply is not fluctuation (step S153: No), the imaging device 71 proceeds to step S155.

ステップS155において、制御部29は、適用する効果がトランジットであるか否かを判定する(ステップS155)。適用する効果がトランジットである場合(ステップS155:Yes)において、撮像装置71が静止画を撮影する状態でないとき(ステップS156:No)、基本画像処理部161およびアート効果画像処理部162は、仕上がり/切り替え先の設定に応じた基本画像処理(ステップS157)およびアート効果処理(ステップS158)をそれぞれ実行する。   In step S155, the control unit 29 determines whether the effect to be applied is a transit (step S155). When the applied effect is transit (step S155: Yes), when the imaging device 71 is not in a state of shooting a still image (step S156: No), the basic image processing unit 161 and the art effect image processing unit 162 are finished. / Basic image processing (step S157) and art effect processing (step S158) according to the setting of the switching destination are executed.

その後、動画中特殊効果画像処理部163は、トランジット用の二つの画像の合成処理を行う(ステップS159)。ステップS159の後、撮像装置71はメインルーチンへ戻る。   Thereafter, the moving image special effect image processing unit 163 performs a process of combining the two images for transit (step S159). After step S159, the imaging device 71 returns to the main routine.

ステップS155において、適用する効果がトランジットでない場合(ステップS155:No)、撮像装置71は静止画に対してトランジットを適用することなく、メインルーチンへ戻る。   In step S155, when the effect to apply is not a transit (step S155: No), the imaging device 71 returns to the main routine without applying the transit to the still image.

ステップS156において、撮像装置71が静止画を撮影する状態である場合(ステップS156:Yes)、撮像装置71はメインルーチンへ戻る。   In step S156, when the imaging device 71 is in a state of taking a still image (step S156: Yes), the imaging device 71 returns to the main routine.

以上説明した本発明の実施の形態5によれば、静止画に対してもマルチエコーやワンショットエコーの特殊効果を付与するが、その際にリサイズ処理を行っているため、動画と静止画を合成しても違和感がない。したがって、本実施の形態5によれば、動画と静止画に対し、それぞれの特性を活かした適切な残像効果を適用することができる。   According to Embodiment 5 of the present invention described above, special effects such as multi-echo and one-shot echo are given to still images, but since resizing processing is performed at that time, moving images and still images are There is no sense of incompatibility even if it is synthesized. Therefore, according to the fifth embodiment, an appropriate afterimage effect utilizing the respective characteristics can be applied to a moving image and a still image.

なお、本実施の形態5では、動画の場合も静止画の場合も前フレームのみを合成していたが、複数の前フレームを用いて合成画像を生成してもよい。その際には、静止画の場合には動画の場合よりも多数の前フレームを用いることによって残像効果を大きくすればより好ましい。   In the fifth embodiment, only the previous frame is synthesized for both moving images and still images, but a synthesized image may be generated using a plurality of previous frames. In that case, it is more preferable to increase the afterimage effect by using a larger number of previous frames in the case of a still image than in the case of a moving image.

(変形例5−1)
図43は、本実施の形態5の変形例5−1に係る撮像装置が行うリサイズ処理の概要を模式的に示す図である。図43においても、フレームの大きさが画像データの画素数に対応している。本変形例5−1では、画像データを記録する際、動画の場合にも静止画と同じアスペクト比の画像データ303をSDRAM25に記録する。この画像データ303のうち、動画のアスペクト比を有する部分を圧縮して動画データ304として記録媒体23に記録する。
(Modification 5-1)
FIG. 43 is a diagram schematically illustrating an outline of the resizing process performed by the imaging apparatus according to Modification 5-1 of Embodiment 5. Also in FIG. 43, the size of the frame corresponds to the number of pixels of the image data. In Modification 5-1, when image data is recorded, image data 303 having the same aspect ratio as that of a still image is recorded in the SDRAM 25 even in the case of a moving image. A portion of the image data 303 having a moving image aspect ratio is compressed and recorded as moving image data 304 on the recording medium 23.

本変形例5−1では、静止画を撮影した場合、動画中特殊効果画像処理部163は、前フレームとしてSDRAM25が記憶する画像データ303を使用してリサイズすることにより、静止画フレームと同じ画素数を有するリサイズ画像データ303'を生成する。このため、静止画像データと動画像データを合成する場合であっても同じアスペクト比の画像データを合成することができる。   In this modified example 5-1, when a still image is shot, the moving image special effect image processing unit 163 uses the image data 303 stored in the SDRAM 25 as the previous frame, and resizes the same pixel as the still image frame. Resize image data 303 ′ having a number is generated. Therefore, even when still image data and moving image data are combined, image data having the same aspect ratio can be combined.

以上説明した本実施の形態5の変形例5−1によれば、前フレームのアスペクト比を静止画のアスペクト比に揃えて合成することができるので、静止画フレームに写っている被写体のうち前フレーム画像の動画アスペクト比の領域外に写っている被写体についても自然な残像効果を持たせることができる。   According to the modified example 5-1 of the fifth embodiment described above, it is possible to combine the aspect ratio of the previous frame with the aspect ratio of the still image. It is possible to give a natural afterimage effect to a subject that is outside the area of the moving image aspect ratio of the frame image.

(実施の形態6)
本発明の実施の形態6は、実施の形態5と同様、動画中に静止画を撮影した場合にも、それより時間的に前に取得した動画データを用いて動画中特殊効果を付与するとともに、動画中特殊効果を付与しない静止画自体も記録することを特徴とする。本実施の形態6に係る撮像装置の構成は、実施の形態5で説明した撮像装置71の構成と同様である。
(Embodiment 6)
In the sixth embodiment of the present invention, as in the fifth embodiment, even when a still image is shot during a moving image, a special effect during moving image is provided by using moving image data acquired earlier in time. Further, the present invention is also characterized in that still images themselves that do not give special effects during moving images are also recorded. The configuration of the imaging apparatus according to the sixth embodiment is the same as the configuration of the imaging apparatus 71 described in the fifth embodiment.

図44は、本実施の形態6に係る撮像装置71が行う画像処理の詳細を示すフローチャートである。図44において、基本画像処理部161は、基本画像処理を行う(ステップS161)。またアート効果画像処理部162は、アート効果処理を行う(ステップS162)。   FIG. 44 is a flowchart illustrating details of image processing performed by the imaging device 71 according to the sixth embodiment. In FIG. 44, the basic image processing unit 161 performs basic image processing (step S161). The art effect image processing unit 162 performs art effect processing (step S162).

その後、制御部29は、動画中特殊効果が設定されているか否かを判定する(ステップS163)。動画中特殊効果が設定されている場合(ステップS163:Yes)、撮像装置71はステップS164へ移行する。一方、動画中特殊効果が設定されていない場合(ステップS163:No)、撮像装置71はメインルーチンへ戻る。   Thereafter, the control unit 29 determines whether or not the moving image special effect is set (step S163). When the special effect during moving image is set (step S163: Yes), the imaging device 71 proceeds to step S164. On the other hand, when the moving image special effect is not set (step S163: No), the imaging device 71 returns to the main routine.

ステップS164において、撮像装置1が静止画撮影モードに設定されている場合(ステップS164:Yes)、制御部29は静止画を記録媒体23へ記録する制御を行う(ステップS165)。これに対し、撮像装置1が静止画撮影モードに設定されていない場合(ステップS164:No)、撮像装置1はステップS166へ移行する。   In step S164, when the imaging device 1 is set to the still image shooting mode (step S164: Yes), the control unit 29 performs control to record the still image on the recording medium 23 (step S165). On the other hand, when the imaging device 1 is not set to the still image shooting mode (step S164: No), the imaging device 1 proceeds to step S166.

ステップS166〜S181の処理は、実施の形態5で説明したステップS144〜S159の処理に順次対応している(図40を参照)。   The processing in steps S166 to S181 sequentially corresponds to the processing in steps S144 to S159 described in the fifth embodiment (see FIG. 40).

以上説明した本発明の実施の形態6によれば、静止画に対してもマルチエコーやワンショットエコーの特殊効果を付与するが、その際にリサイズ処理を行っているため、動画と静止画を合成しても違和感がない。したがって、本実施の形態6によれば、動画と静止画に対し、それぞれの特性を活かした適切な残像効果を適用することができる。   According to the sixth embodiment of the present invention described above, special effects such as multi-echo and one-shot echo are also given to still images. There is no sense of incompatibility even if it is synthesized. Therefore, according to the sixth embodiment, it is possible to apply an appropriate afterimage effect utilizing each characteristic to a moving image and a still image.

また、本実施の形態6によれば、動画中特殊効果を付与したい静止画も自動的に記録するため、ユーザは静止画を再生する時に自身の好みの画像を選択することができる。   Further, according to the sixth embodiment, a still image to which a special effect during moving images is to be added is automatically recorded, so that the user can select his / her favorite image when reproducing the still image.

(実施の形態7)
図45は、本発明の実施の形態7に係る撮像装置が行う画像処理の概要を模式的に示す図である。本実施の形態7では、動画中特殊効果としてマルチエコーを適用する場合、動画と静止画で、合成対象とする前フレームの動画画像データの枚数が異なる。具体的には、動画の場合には、3枚の動画画像データを合成するのに対し、静止画の場合には、5枚の動画画像データを合成する。なお、本実施の形態7に係る撮像装置の構成は、実施の形態5で説明した撮像装置71の構成と同じである。
(Embodiment 7)
FIG. 45 is a diagram schematically showing an outline of image processing performed by the imaging apparatus according to Embodiment 7 of the present invention. In the seventh embodiment, when multi-echo is applied as a special effect during moving images, the number of moving image data of the previous frame to be synthesized differs between moving images and still images. Specifically, in the case of a moving image, three pieces of moving image data are combined, whereas in the case of a still image, five pieces of moving image data are combined. Note that the configuration of the imaging apparatus according to the seventh embodiment is the same as the configuration of the imaging apparatus 71 described in the fifth embodiment.

図46は、本実施の形態7に係る撮像装置71が行う画像処理の概要を示すフローチャートである。図46において、まず制御部29は、撮像素子12が取得したRAW画像データ(ベイヤデータ)をSDRAM25内に確保したリングバッファで管理する(ステップS191)。   FIG. 46 is a flowchart illustrating an overview of image processing performed by the imaging device 71 according to the seventh embodiment. In FIG. 46, the control unit 29 first manages the RAW image data (Bayer data) acquired by the image sensor 12 with a ring buffer secured in the SDRAM 25 (step S191).

図47は、ベイヤデータと露光量との関係を示す図である。同図に示す曲線Lからも明らかなように、ベイヤデータの数値は、暗部で立ち上がりが急であり、明部で立ち上がりが緩やかなニー(knee)特性を有する。このような特性を有する曲線Lは、暗部ほど量子化ステップを細かくする一方、明部ほど量子化ステップを粗くすることによって得られる。このように、本実施の形態7では、露光量によらず一定である通常の量子化ステップとは異なる量子化ステップでベイヤデータを量子化しているため、ベイヤデータの数値特性がガンマの特性に近くなり、画質への影響が少なく、データを圧縮しやすくなる。その結果、より小さな画像データをSDRAM25に格納することができる。   FIG. 47 is a diagram showing the relationship between Bayer data and exposure dose. As is clear from the curve L shown in the figure, the numerical value of the Bayer data has a knee characteristic in which the rise is abrupt in the dark part and the rise is gradual in the bright part. The curve L having such a characteristic can be obtained by making the quantization step finer for the dark portion and coarser for the bright portion. As described above, in the seventh embodiment, the Bayer data is quantized in a different quantization step from the normal quantization step that is constant regardless of the exposure amount, so that the numerical characteristic of the Bayer data becomes close to the gamma characteristic. The image quality is less affected and the data can be easily compressed. As a result, smaller image data can be stored in the SDRAM 25.

図48は、SDRAM25が記憶するデータ構造の要部を模式的に示す図である。同図に示すデータ構造401には、画像合成時に使用する枚数分(図では5枚分)のバッファBu1〜Bu5がリングバッファとして確保されている。バッファBui(i=1〜5)には、ベイヤデータを格納する領域Bui1と、次のバッファのアドレスを格納する領域Bui2とが設けられている。以下、バッファBuiのアドレスをAdiとする。   FIG. 48 is a diagram schematically showing the main part of the data structure stored in the SDRAM 25. As shown in FIG. In the data structure 401 shown in the figure, buffers Bu1 to Bu5 corresponding to the number of sheets used for image composition (five sheets in the figure) are secured as ring buffers. The buffer Bui (i = 1 to 5) is provided with a region Bui1 for storing Bayer data and a region Bui2 for storing the address of the next buffer. Hereinafter, the address of the buffer Bui is assumed to be Adi.

最初にベイヤデータを格納する際には、初期格納先情報を「格納先アドレス=Ad1、末端アドレス=NULL(0)」とする。その後、ベイヤデータを格納すると、格納先情報は「格納先アドレス=Ad2,末端アドレス=Ad1」となる。これは、アドレスAd1からアドレスAd2の一つ前のバッファまで古い順にデータがあることを意味する。すなわち、格納されたベイヤデータが1つあることを意味する。   When the Bayer data is stored for the first time, the initial storage destination information is “storage destination address = Ad1, end address = NULL (0)”. Thereafter, when Bayer data is stored, the storage location information becomes “storage location address = Ad2, end address = Ad1”. This means that there is data from the address Ad1 to the buffer immediately before the address Ad2 in the oldest order. That is, there is one stored Bayer data.

この後、二つ目のベイヤデータを格納すると、格納先情報は「格納先アドレス=Ad3、末端アドレス=Ad1」となる。この場合には、2つのバッファBu1、Bu2にベイヤデータが格納される。   Thereafter, when the second Bayer data is stored, the storage destination information becomes “storage destination address = Ad3, end address = Ad1”. In this case, Bayer data is stored in the two buffers Bu1 and Bu2.

以後同様に繰り返し、5つ目のベイヤデータを格納すると、格納先情報は「格納先アドレス=Ad1、末端アドレス=Ad1」となる。この場合、5つのバッファBu1〜Bu5にベイヤデータが格納される。   Thereafter, similarly, when the fifth Bayer data is stored, the storage destination information becomes “storage destination address = Ad1, end address = Ad1”. In this case, Bayer data is stored in the five buffers Bu1 to Bu5.

この後、ベイヤデータの格納を続けると、最も古いベイヤデータはバッファBu1に格納されているため、このベイヤデータが最新のデータに更新され、バッファBu1に格納されたベイヤデータが最も古いデータとなる。このため、格納先情報は「格納先アドレス=Ad2,末端アドレス=Ad2」となる。   Thereafter, when the storage of the Bayer data is continued, since the oldest Bayer data is stored in the buffer Bu1, the Bayer data is updated to the latest data, and the Bayer data stored in the buffer Bu1 becomes the oldest data. Therefore, the storage destination information is “storage destination address = Ad2, end address = Ad2”.

以後同様の処理を繰り返すことにより、SDRAM25では、最も古いベイヤデータを最新のベイヤデータに置替しながら一定枚数のベイヤデータを管理する。   Thereafter, by repeating the same processing, the SDRAM 25 manages a certain number of Bayer data while replacing the oldest Bayer data with the latest Bayer data.

図46に戻ってステップS192以降の処理を説明する。基本画像処理部161は、基本画像処理を行う(ステップS192)。また、アート効果画像処理部162は、アート効果画像処理を行う(ステップS193)。基本画像処理およびアート効果画像処理が施された画像データ(ベイヤデータ)は、SDRAM25のバッファに格納される。   Returning to FIG. 46, the processing after step S192 will be described. The basic image processing unit 161 performs basic image processing (step S192). The art effect image processing unit 162 performs art effect image processing (step S193). Image data (Bayer data) that has been subjected to basic image processing and art effect image processing is stored in a buffer of the SDRAM 25.

この後、制御部29は、動画中特殊効果が設定されているか否かを判定する(ステップS194)。動画中特殊効果が設定されている場合(ステップS194:Yes)、撮像装置71はステップS195へ移行する。一方、動画中特殊効果が設定されていない場合(ステップS194:No)、撮像装置71はメインルーチンへ戻る。   Thereafter, the control unit 29 determines whether or not the moving image special effect is set (step S194). When the special effect during moving image is set (step S194: Yes), the imaging device 71 proceeds to step S195. On the other hand, when the moving image special effect is not set (step S194: No), the imaging device 71 returns to the main routine.

ステップS195において、動画中特殊効果としてマルチエコーが設定されていれば(ステップS195:Yes)、撮像装置71はマルチエコー処理を行う(ステップS196)。マルチエコー処理の詳細については後述する。   In step S195, if multi-echo is set as the special effect in the moving image (step S195: Yes), the imaging device 71 performs multi-echo processing (step S196). Details of the multi-echo processing will be described later.

続くステップS197〜ステップS207の処理は、図44のステップS171〜S181の処理に順次対応している。   The subsequent processes in steps S197 to S207 correspond to the processes in steps S171 to S181 in FIG.

図49は、マルチエコー処理の概要を示すフローチャートである。図49において、動画中特殊効果画像処理部163は、取得した画像信号に対して画素ごとに所定の係数(ゲイン)を乗算する(ステップS211)。この係数の値は、後述するd0である。 FIG. 49 is a flowchart showing an overview of multi-echo processing. In FIG. 49, the moving image special effect image processing unit 163 multiplies the acquired image signal by a predetermined coefficient (gain) for each pixel (step S211). The value of this coefficient is d 0 described later.

この後、制御部29は、繰り返しの回数を示すカウンタIの値を0とする(ステップS212)。   Thereafter, the control unit 29 sets the value of the counter I indicating the number of repetitions to 0 (step S212).

続いて、動画中特殊効果画像処理部163は、I+1フレーム分だけ前のデータを取得し(ステップS213)、線形変換を行う(ステップS214)。ここでの線形変換は、フレームごとの量子化ステップ時の特性の違いをなくすためのものであって、上述した量子化ステップにおける特性と逆の特性(デニー(deknee)特性)を有する。このような線形変換を行うことにより、ベイヤデータは露光量と比例する数値を有することとなる。   Subsequently, the moving image special effect image processing unit 163 acquires data that is I + 1 frames before (step S213), and performs linear conversion (step S214). The linear transformation here is for eliminating the difference in characteristics at the quantization step for each frame, and has a characteristic (deknee characteristic) opposite to the characteristic in the quantization step described above. By performing such linear conversion, the Bayer data has a numerical value proportional to the exposure amount.

この後、基本画像処理部161は、線形変換された画像データに対して基本画像処理を行う(ステップS215)。また、アート効果画像処理部162は、ステップS215で基本画像処理された画像データに対してアート効果画像処理を行う(ステップS216)。   Thereafter, the basic image processing unit 161 performs basic image processing on the linearly converted image data (step S215). The art effect image processing unit 162 performs art effect image processing on the image data that has undergone the basic image processing in step S215 (step S216).

ステップS216に続く処理は、撮像装置71が取得した画像が静止画であるか動画であるかに応じて異なる。まず、取得した画像が静止画である場合(ステップS217:Yes)を説明する。この場合、リサイズ処理部722は、画像データをリサイズし(ステップS218)、リサイズした画像データを用いて合成を行う(ステップS219)。ここでの合成処理は、
フレームバッファ画像データ+d×画像データ
と表される。
The processing following step S216 differs depending on whether the image acquired by the imaging device 71 is a still image or a moving image. First, the case where the acquired image is a still image (step S217: Yes) will be described. In this case, the resizing processing unit 722 resizes the image data (step S218), and performs composition using the resized image data (step S219). The compositing process here is
It is expressed as frame buffer image data + d × image data.

図50は、動画画像ゲインdの値と繰り返し回数Iとの関係を示す図である。図50に示す場合、繰り返し回数Iが増加するにつれて、画像ゲインdは小さくなっていき、全ての取りうるIに対応した係数を全てのIの分だけ和を取ると1.0となるように設定されている(d0+d1+d2+d3+d4=1.0)。ここで、I=0における画像ゲインd0は、上述したステップS211で適用した画像ゲインの値である。 FIG. 50 is a diagram illustrating the relationship between the value of the moving image gain d and the number of repetitions I. In the case shown in FIG. 50, as the number of repetitions I increases, the image gain d decreases, and the sum of all the I corresponding coefficients corresponding to all possible I is 1.0. It is set (d 0 + d 1 + d 2 + d 3 + d 4 = 1.0). Here, the image gain d 0 at I = 0 is the value of the image gain applied in step S211 described above.

続いて、制御部29は、カウンタIを1増やしてI+1とする(ステップS220)。この後、カウンタIが所定値I0(ここではI0=5)よりも小さければ(ステップS221:Yes)、撮像装置71はステップS213に戻る。一方、カウンタIが所定値I0以上であれば(ステップS221:No)、撮像装置71はメインルーチンへ戻る。 Subsequently, the control unit 29 increases the counter I by 1 to I + 1 (step S220). Thereafter, if the counter I is smaller than a predetermined value I 0 (here, I 0 = 5) (step S221: Yes), the imaging device 71 returns to step S213. On the other hand, if the counter I is greater than or equal to the predetermined value I 0 (step S221: No), the imaging device 71 returns to the main routine.

次に、取得した画像が動画である場合(ステップS217:No)を説明する。この場合、動画中特殊効果画像処理部163は、2つのフレームを合成する(ステップS222)。ここでの合成処理は、静止画と同様、
フレームバッファ画像データ+e×画像データ
で表される。
Next, a case where the acquired image is a moving image (step S217: No) will be described. In this case, the moving image special effect image processing unit 163 combines the two frames (step S222). The compositing process here is the same as for still images.
It is represented by frame buffer image data + e × image data.

図51は、取得した画像が静止画である場合に適用される画像ゲインeの値と繰り返し回数Iとの関係を示す図である。図51に示す場合、繰り返し回数Iが増加するにつれて、係数は小さくなっていき、全ての取りうるIに対応した係数を全てのIの分だけ和を取ると1.0となるように設定されている(e0+e2+e4=1.0)点は静止画と同じである。ただし、動画の場合、インクリメント量が静止画よりも大きいため、同じIの値で比較すると、動画に適用する係数の方が大きくなっているほうがより好ましい。なお、ステップS211における画像ゲインの値を静止画と動画で同じにする上では、d0=e0でなければならない。 FIG. 51 is a diagram illustrating the relationship between the value of the image gain e and the number of repetitions I applied when the acquired image is a still image. In the case shown in FIG. 51, as the number of repetitions I increases, the coefficient decreases, and the coefficient corresponding to all possible I is set to 1.0 when the sum of all I is added. The (e 0 + e 2 + e 4 = 1.0) point is the same as the still image. However, in the case of a moving image, since the increment amount is larger than that of a still image, it is more preferable that the coefficient applied to the moving image is larger when compared with the same value of I. In order to make the image gain value the same in step S211 between the still image and the moving image, d 0 = e 0 must be satisfied.

続いて、制御部29は、カウンタIを2増やしてI+2とする(ステップS223)。この後、撮像装置1はステップS221へ移行する。   Subsequently, the control unit 29 increases the counter I by 2 to I + 2 (step S223). Thereafter, the imaging apparatus 1 proceeds to step S221.

以上説明した本発明の実施の形態7によれば、動画と静止画にそれぞれ適切な残像効果を実現し、最低限の処理で画像を作成することが可能となる。   According to the seventh embodiment of the present invention described above, it is possible to realize appropriate afterimage effects for moving images and still images, respectively, and to create images with a minimum of processing.

また、本実施の形態7によれば、係数の特性は任意に設定することができるため、設計の自由度も大きい。   Further, according to the seventh embodiment, since the coefficient characteristics can be set arbitrarily, the degree of freedom in design is great.

なお、本実施の形態7においては、レンズ操作部35などからの操作入力により、画像ゲインdおよびe、リングバッファの数、合成に使用するフレームの間隔などの設定を変更することができるようにしてもよい。このように各種設定を変更することにより、ユーザの好みに合った残像効果を作成することが可能となる。   In the seventh embodiment, settings such as the image gains d and e, the number of ring buffers, and the interval between frames used for composition can be changed by an operation input from the lens operation unit 35 or the like. May be. By changing various settings in this way, it is possible to create an afterimage effect that suits the user's preference.

本実施の形態7におけるリングバッファの管理態様は、上述した方法に限られるわけではない。例えば、キューを用いてリングバッファを管理することも可能である。以下、キューを用いたリングバッファの管理方法を説明する。   The management mode of the ring buffer in the seventh embodiment is not limited to the method described above. For example, the ring buffer can be managed using a queue. Hereinafter, a ring buffer management method using a queue will be described.

図52は、SDRAM25が記憶するデータ構造の要部を模式的に示す図である。同図に示すデータ構造402には、画像合成時に使用する枚数分(図では5枚分)のバッファbu1〜bu5がリングバッファとして確保されている。バッファbui(i=1〜5)には、ベイヤデータが格納されている。   FIG. 52 is a diagram schematically showing the main part of the data structure stored in the SDRAM 25. In the data structure 402 shown in the figure, buffers bu1 to bu5 corresponding to the number of sheets used for image composition (five sheets in the figure) are secured as ring buffers. The buffer bui (i = 1 to 5) stores Bayer data.

図53は、キューを用いたリングバッファの管理の態様を示す図である。まず、空きキューに要素がある場合には、先頭を取り出して対応するベイヤデータを格納し、使用キューの末尾に追加する。図53(a)の場合には、空きキューの先頭のバッファbu1を取り出して対応するベイヤデータ1を格納し、そのバッファbu1を使用キューの末尾に追加する(図53(b))。この処理を繰り返すと、図53(a)に示す場合、格納5回目で空きキューは空となり、使用キューに全てのバッファが追加される。その後は、使用キューの先頭を末尾へと移動させながらベイヤデータの格納を続ける(図53(d))。   FIG. 53 is a diagram illustrating a mode of managing a ring buffer using a queue. First, when there is an element in the empty queue, the head is taken out, corresponding Bayer data is stored, and added to the end of the use queue. In the case of FIG. 53 (a), the head buffer bu1 of the empty queue is taken out, the corresponding Bayer data 1 is stored, and the buffer bu1 is added to the end of the use queue (FIG. 53 (b)). If this process is repeated, as shown in FIG. 53A, the empty queue becomes empty at the fifth storage, and all buffers are added to the use queue. Thereafter, the storage of the Bayer data is continued while moving the head of the use queue to the end (FIG. 53 (d)).

このように、リングバッファを用いて動画データを管理する場合には、公知技術のいずれかを適用することが可能である。   Thus, when managing moving image data using a ring buffer, it is possible to apply any of known techniques.

なお、本実施の形態7においては、合成する画像データの抽出間隔を変更してもよいし、合成する画像データの数を変更してもよい。また、本実施の形態8においては、リングバッファとして格納するベイヤデータの数を変えてもよい。これらの設定変更は、設定信号入力部201からの設定信号の入力によって実行できるようにすればよい。   In the seventh embodiment, the extraction interval of image data to be combined may be changed, or the number of image data to be combined may be changed. In the eighth embodiment, the number of Bayer data stored as a ring buffer may be changed. These setting changes may be executed by inputting a setting signal from the setting signal input unit 201.

(その他の実施の形態)
ここまで、本発明を実施するための形態を説明してきたが、本発明は上述した実施の形態1〜7によってのみ限定されるべきものではない。
(Other embodiments)
Up to this point, the mode for carrying out the present invention has been described. However, the present invention should not be limited only by the above-described first to seventh embodiments.

例えば、本発明において、表示部とは別に電子ビューファインダを本体部に設け、この電子ビューファインダにおいて本発明を適用するようにしてもよい。この場合には、表示部と電子ビューファインダとで動画中特殊効果の見え方が異なるようにすればより好ましい。   For example, in the present invention, an electronic viewfinder may be provided in the main body unit separately from the display unit, and the present invention may be applied to this electronic viewfinder. In this case, it is more preferable that the special effect in the moving image is made different between the display unit and the electronic viewfinder.

また、本発明においては、本体部とレンズ部とが一体的に形成されていてもよい。   In the present invention, the main body portion and the lens portion may be integrally formed.

また、本発明に係る撮像装置は、デジタル一眼レフカメラ以外にも、例えばアクセサリ等を装着可能なデジタルカメラ、デジタルビデオカメラおよび撮影機能を有する携帯電話やタブレット型携帯機器等の電子機器にも適用することができる。   In addition to a digital single-lens reflex camera, the imaging apparatus according to the present invention is also applicable to, for example, digital cameras that can be equipped with accessories and the like, digital video cameras, and electronic devices such as mobile phones and tablet mobile devices having a shooting function. can do.

なお、本明細書におけるフローチャートの説明では、「まず」、「その後」、「続いて」等の表現を用いてステップ間の処理の前後関係を明示していたが、本発明を実施するために必要な処理の順序は、それらの表現によって一意的に定められるわけではない。すなわち、本明細書で記載したフローチャートにおける処理の順序は、矛盾のない範囲で変更することができる。   In the description of the flowchart in the present specification, the context of the processing between steps is clearly indicated using expressions such as “first”, “after”, “follow”, etc., in order to implement the present invention. The order of processing required is not uniquely determined by their representation. That is, the order of processing in the flowcharts described in this specification can be changed within a consistent range.

このように、本発明は、ここでは記載していない様々な実施の形態を含みうるものであり、特許請求の範囲によって特定される技術的思想の範囲内で種々の設計変更等を行うことが可能である。   As described above, the present invention can include various embodiments not described herein, and various design changes and the like can be made within the scope of the technical idea specified by the claims. Is possible.

1、51、61、71 撮像装置
2 本体部
3 レンズ部
12 撮像素子
16、72 画像処理部
19 画像圧縮展開部
20、52、62 入力部
21 表示部
22 表示駆動部
23 記録媒体
26 Flashメモリ
27 本体通信部
28 バス
29 制御部
31 光学系
35 レンズ操作部
36 レンズflashメモリ
37 レンズ通信部
38 レンズ制御部
41 電源ボタン
42 レリーズボタン
43 モードダイヤル
44 操作ボタン
45 メニューボタン
46 再生ボタン
47 動画ボタン
48 ファンクションキー
49 消去ボタン
50 タッチパネル
161 基本画像処理部
162 アート効果画像処理部
163、721 動画中特殊効果画像処理部
201、621 設定信号入力部
202 動画撮影信号入力部
261 プログラム記録部
262 特殊効果処理情報記録部
263 画像処理情報記録部
291 画像処理制御部
292 表示制御部
301 動画フレーム
301' リサイズ後フレーム
302 静止画フレーム
303 画像データ
303' リサイズ画像データ
304 動画データ
401、402 データ構造
441 十字キー
442 決定ボタン
443 上矢印キー
444 下矢印キー
445 左矢印キー
446 右矢印キー
521 シミュレーション信号入力部
522 効果記録開始信号入力部
523 効果停止信号入力部
622 モード設定信号入力部
722 リサイズ処理部
A1、A2、A3、A4、B1、B2、B3、B4、B5、R20 アート効果画像
I1 撮影モードアイコン
I2、I3 メニュー選択アイコン
I4 ワンショットエコーアイコン
I5 マルチエコーアイコン
I6 トランジットアイコン
I7 テストオンアイコン
I8 リターンアイコン
I9 仕上がり一覧表示アイコン
I10 確定アイコン
I11 終了アイコン
I12 テストオフアイコン
I17 動画アイコン
I91 上スクロールボタン
I92 下スクロールボタン
R1、R2、R3、R4 マルチエコー画像
R11、R12、R13、R14 ワンショットエコー画像
R21、R22、R23、R24、R25 トランジット画像
S1 SDRAM画像
DESCRIPTION OF SYMBOLS 1, 51, 61, 71 Image pick-up device 2 Main body part 3 Lens part 12 Image pick-up element 16, 72 Image processing part 19 Image compression expansion | deployment part 20, 52, 62 Input part 21 Display part 22 Display drive part 23 Recording medium 26 Flash memory 27 Main unit communication unit 28 Bus 29 Control unit 31 Optical system 35 Lens operation unit 36 Lens flash memory 37 Lens communication unit 38 Lens control unit 41 Power button 42 Release button 43 Mode dial 44 Operation button 45 Menu button 46 Playback button 47 Movie button 48 Function Key 49 Delete button 50 Touch panel 161 Basic image processing unit 162 Art effect image processing unit 163, 721 Moving image special effect image processing unit 201, 621 Setting signal input unit 202 Moving image shooting signal input unit 261 Program recording unit 262 Special Effect processing information recording unit 263 Image processing information recording unit 291 Image processing control unit 292 Display control unit 301 Movie frame 301 ′ Frame after resize 302 Still image frame 303 Image data 303 ′ Resized image data 304 Movie data 401, 402 Data structure 441 Cross Key 442 Enter button 443 Up arrow key 444 Down arrow key 445 Left arrow key 446 Right arrow key 521 Simulation signal input unit 522 Effect recording start signal input unit 523 Effect stop signal input unit 622 Mode setting signal input unit 722 Resize processing unit A1, A2, A3, A4, B1, B2, B3, B4, B5, R20 Art effect image I1 Shooting mode icon I2, I3 Menu selection icon I4 One-shot echo icon I5 Multi-echo icon I6 Ranjit icon I7 Test-on icon I8 Return icon I9 Finished list display icon I10 Confirmation icon I11 Exit icon I12 Test-off icon I17 Movie icon I91 Up scroll button I92 Down scroll button R1, R2, R3, R4 Multi-echo image R11, R12, R13 , R14 One-shot echo image R21, R22, R23, R24, R25 Transit image S1 SDRAM image

Claims (6)

被写体を撮像して該被写体の画像データを生成し、動画を撮影可能であるとともに、動画撮影終了直後を含む動画撮影中に静止画を撮影可能な撮像装置であって、
動画の画像データに対応する複数のフレームにわたって視覚的な効果を生じさせる第1の特殊効果を付与する画像処理を行うことが可能であるとともに、前記動画撮影中に撮影した静止画に対して、該静止画の前に撮影した動画の画像データを用いて前記第1の特殊効果に対応する第2の特殊効果を付与する画像処理を行うことが可能な動画中特殊効果画像処理部と、
前記動画特殊効果画像処理部における記第1および第2の特殊効果の付与態様であって付与禁止を含む付与態様を異ならせる制御を行う制御部と、
を備えたことを特徴とする撮像装置。
An imaging device capable of capturing a subject and generating image data of the subject to capture a moving image and capturing a still image during moving image capturing including immediately after the end of moving image capturing,
It is possible to perform image processing to give a first special effect that causes a visual effect over a plurality of frames corresponding to moving image data, and for still images taken during moving image shooting, A moving image special effect image processing unit capable of performing image processing to give a second special effect corresponding to the first special effect using image data of a moving image taken before the still image;
A control unit for controlling to vary the applied embodiments involving applying prohibited even before Symbol first and second grant embodiment of special effects in the special effect image processing unit in the moving,
An imaging apparatus comprising:
前記制御部は、
前記動画中特殊効果画像処理部に対し、前記複数のフレームに前記第1の特殊効果を付与させるとともに、前記複数のフレームの間に含まれる静止画に前記第2の特殊効果を付与することを禁止する制御を行うことを特徴とする請求項1に記載の撮像装置。
The controller is
Causing the moving image special effect image processing unit to apply the first special effect to the plurality of frames and to apply the second special effect to a still image included between the plurality of frames. The imaging apparatus according to claim 1, wherein prohibition control is performed.
前記画像データを記憶する記憶部を備え、
前記制御部は、
前記動画中特殊効果画像処理部に対し、前記複数のフレームに前記第1の特殊効果を付与させるとともに、前記複数のフレームの間に含まれる静止画に前記第2の特殊効果を付与させる制御を行い、前記第2の特殊効果を付与した画像データと前記第2の特殊効果を付与しない画像データとを前記記憶部に記憶させる制御を行うことを特徴とする請求項1に記載の撮像装置。
A storage unit for storing the image data;
The controller is
Control that causes the moving image special effect image processing unit to apply the first special effect to the plurality of frames and to apply the second special effect to a still image included between the plurality of frames. performed, the imaging apparatus according to claim 1, wherein the image data without applying the second special effect and the second image data assigned with special effects be controlled to be stored in the storage unit.
前記動画中特殊効果画像処理部は、
前記静止画の前に撮影した動画の画像データの画素数を前記静止画の画像データの画素数に近づけるリサイズ処理を行うリサイズ処理部を有し、
前記リサイズ処理部がリサイズ処理を行った動画の画像データと前記静止画の画像データとを合成することを特徴とする請求項に記載の撮像装置。
The special effect image processing unit in the moving image is
A resizing processing unit that performs a resizing process for bringing the number of pixels of image data of a moving image captured before the still image closer to the number of pixels of the image data of the still image;
The imaging apparatus according to claim 3 , wherein the resize processing unit synthesizes the image data of the moving image subjected to the resizing process and the image data of the still image.
前記動画中特殊効果画像処理部が行う画像処理は、
一つ前のフレームの画像データと最新の画像データとを所定の比率で合成する処理を連続して行うマルチエコー処理を含み、
前記画像処理がマルチエコー処理である場合において、前記最新の画像データが静止画の画像データであるとき、前記リサイズ処理部が前記一つ前の画像データに対してリサイズ処理を行うことを特徴とする請求項に記載の撮像装置。
Image processing performed by the special effect image processing unit in the moving image
Including multi-echo processing that continuously performs processing to synthesize the image data of the previous frame and the latest image data at a predetermined ratio,
In the case where the image processing is a multi-echo processing, when the latest image data is image data of a still image, and wherein the resizing section performs a resizing process on the preceding image data The imaging device according to claim 4 .
前記動画中特殊効果画像処理部が行う画像処理は、
特定の画像データとこの画像データの後に撮影した最新の画像データとを所定の比率で順次合成し、前記特定の画像データの合成比率が時間とともに小さくなるワンショットエコー処理を含み、
前記画像処理がワンショットエコー処理である場合において、前記最新の画像データが静止画の画像データであるとき、前記リサイズ処理部が前記特定の画像データに対してリサイズ処理を行うことを特徴とする請求項に記載の撮像装置。
Image processing performed by the special effect image processing unit in the moving image
Specific image data and the latest image data taken after this image data are sequentially combined at a predetermined ratio, including one-shot echo processing in which the combination ratio of the specific image data decreases with time,
In the case where the image processing is a one-shot echo processing, when the latest image data is image data of a still image, wherein the resizing section performs a resizing process on the specific image data The imaging device according to claim 4 .
JP2011220542A 2011-10-04 2011-10-04 Imaging device Active JP5885451B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2011220542A JP5885451B2 (en) 2011-10-04 2011-10-04 Imaging device
US13/613,993 US8957982B2 (en) 2011-10-04 2012-09-13 Imaging device and imaging method
US14/577,590 US9277125B2 (en) 2011-10-04 2014-12-19 Imaging device and imaging method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011220542A JP5885451B2 (en) 2011-10-04 2011-10-04 Imaging device

Publications (2)

Publication Number Publication Date
JP2013081111A JP2013081111A (en) 2013-05-02
JP5885451B2 true JP5885451B2 (en) 2016-03-15

Family

ID=48527150

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011220542A Active JP5885451B2 (en) 2011-10-04 2011-10-04 Imaging device

Country Status (1)

Country Link
JP (1) JP5885451B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102549441B1 (en) * 2018-09-06 2023-07-03 주식회사 아이앤나 Method for Displaying Baby's Emotional Sate
KR102549453B1 (en) * 2018-09-06 2023-07-03 주식회사 아이앤나 Method for Providing Conversation with Baby using Augmented Reality by Baby's Emotional Sate
KR102549449B1 (en) * 2018-09-06 2023-07-03 주식회사 아이앤나 Method for Providing Augmented Reality by Emotional Sate of Baby's Face
KR102529725B1 (en) * 2018-09-06 2023-05-10 주식회사 아이앤나 Method for Soothing Crying Baby by Using Camera Device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01208972A (en) * 1988-02-16 1989-08-22 Sony Corp Video camera
JP2003060966A (en) * 2001-08-20 2003-02-28 Mitsubishi Electric Corp Image processing apparatus and image processing method
JP2005236472A (en) * 2004-02-18 2005-09-02 Seiko Epson Corp Apparatus for editing moving picture
JP4499693B2 (en) * 2006-05-08 2010-07-07 ソニー株式会社 Image processing apparatus, image processing method, and program
JP4900266B2 (en) * 2008-01-30 2012-03-21 ソニー株式会社 Image processing apparatus, image processing method, and program
JP2010251908A (en) * 2009-04-13 2010-11-04 Nikon Corp Digital camera and image processing program
JP2011049952A (en) * 2009-08-28 2011-03-10 Nikon Corp Image generating apparatus and electronic camera

Also Published As

Publication number Publication date
JP2013081111A (en) 2013-05-02

Similar Documents

Publication Publication Date Title
US10440285B2 (en) Imaging apparatus and imaging method
US9277125B2 (en) Imaging device and imaging method
JP5872834B2 (en) Imaging apparatus, imaging method, and imaging program
US20120307112A1 (en) Imaging apparatus, imaging method, and computer readable recording medium
US9019400B2 (en) Imaging apparatus, imaging method and computer-readable storage medium
EP2129111B1 (en) Imaging device, edition device, image processing method, and program
US8520112B2 (en) Imaging device, display control method, and program
JP5562664B2 (en) Image quality adjusting apparatus and image quality adjusting apparatus control method
JP5186021B2 (en) Imaging apparatus, image processing apparatus, and imaging method
JP2014239382A (en) Image processing system, imaging apparatus, image processing method, and image processing program
JP5885451B2 (en) Imaging device
JP5931393B2 (en) Imaging device
JP5836138B2 (en) Imaging apparatus, image processing method, and program
JP5872832B2 (en) Imaging device
JP5530304B2 (en) Imaging apparatus and captured image display method
JP6121008B2 (en) Imaging apparatus, imaging method, and imaging program
JP5911253B2 (en) Imaging device
JP5878063B2 (en) Imaging apparatus, imaging method, and imaging program
JP6218865B2 (en) Imaging apparatus and imaging method
JP2012253449A (en) Imaging apparatus, imaging method and imaging program
JP5840000B2 (en) Imaging apparatus, image processing method, and program
JP5680861B2 (en) Automatic focusing device, control method therefor, and imaging device
JP2013016907A (en) Imaging device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140730

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20150423

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150428

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150609

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150804

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160209

R151 Written notification of patent or utility model registration

Ref document number: 5885451

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250