JP6159096B2 - Imaging apparatus, imaging method, and program - Google Patents
Imaging apparatus, imaging method, and program Download PDFInfo
- Publication number
- JP6159096B2 JP6159096B2 JP2013022440A JP2013022440A JP6159096B2 JP 6159096 B2 JP6159096 B2 JP 6159096B2 JP 2013022440 A JP2013022440 A JP 2013022440A JP 2013022440 A JP2013022440 A JP 2013022440A JP 6159096 B2 JP6159096 B2 JP 6159096B2
- Authority
- JP
- Japan
- Prior art keywords
- processing
- image
- still image
- frame image
- shooting
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Studio Devices (AREA)
Description
本発明は、撮像装置、特に動画撮影中の静止画撮影において、静止画像と代替フレーム画像とを加工パラメータを用い加工を行う撮像装置、及び撮影方法に関するものである。 The present invention relates to an image pickup apparatus, and more particularly to an image pickup apparatus and a shooting method for processing a still image and an alternative frame image using a processing parameter in still image shooting during moving image shooting.
動画撮影中に静止画撮影を行う際、静止画像に小顔化などの加工を行いたい場合がある。この時、静止画撮影の際に一時的に動画撮影が中断され、動画フレームの一部が欠落するので、この欠落した動画フレームに対応する代替フレーム画像を生成する。ここで静止画像と同じ加工を代替フレーム画像にも行い、次いでエンコードして欠落した動画フレームとすると、動画に不自然な変化が生じる可能性がある。 When taking a still image during moving image shooting, there are cases where it is desired to process the still image such as a small face. At this time, since the moving image shooting is temporarily interrupted at the time of still image shooting and a part of the moving image frame is lost, an alternative frame image corresponding to the lost moving image frame is generated. If the same processing as that for the still image is performed on the substitute frame image, and then the encoded moving image frame is lost, an unnatural change may occur in the moving image.
図1は加工パラメータB(図示せず)を用いて動画に加工処理が行われた動画を記録中の静止画撮影において、欠落した動画フレームを補う代替フレーム画像に、動画静止画像と同じ加工パラメータAを用いて加工を行う場合の処理構成の概略図である。動画撮影中に取得した静止画101を代替フレーム画像用にリサイズし102、そして静止画101とリサイズされた代替フレーム画像102各々とに同じ加工パラメータAを用いて加工を行う103。この時、静止画撮影直前の動画フレームAn104と静止画撮影直後の動画フレームB1106と、その間の代替フレーム画像105に加工の差があるため不自然さが生じる可能性がある。
FIG. 1 shows the same processing parameter as that of a moving image still image, as an alternative frame image that compensates for a missing moving image frame in still image shooting while recording a moving image that has been processed into a moving image using a processing parameter B (not shown). It is the schematic of the processing structure in the case of processing using A. The
従来、このような撮像装置に関して、欠落した動画フレームを補間する代替フレーム画像の撮影方法、加工方法が多く提案されている。例えば特許文献1では、静止画像と代替フレーム画像に対して、それぞれ独立にホワイトバランス制御値を設定し、設定されたホワイトバランス制御値を用いて、前記静止画像と前記代替フレーム画像を現像している。しかし、特許文献1には、小顔化などの加工を行って代替フレーム画像を生成する時の加工パラメータの設定構成については述べられていない。
Conventionally, with respect to such an imaging apparatus, many alternative frame image capturing methods and processing methods for interpolating a missing moving image frame have been proposed. For example, in
そこで本発明の目的は、動画撮影中に、撮影した静止画像に加工パラメータを設定して意図した加工を行い記録する場合に、代替フレーム画像についても、動画に不自然さを与えない加工を行うことを可能にする撮像装置を提供することである。 Therefore, an object of the present invention is to perform processing that does not give unnaturalness to a moving image even for an alternative frame image when recording and performing processing on a captured still image by setting processing parameters during moving image shooting. It is an object of the present invention to provide an imaging device that makes it possible.
上記目的を達成するために、本発明によれば、動画を撮影中に静止画を撮影する機能を有する撮像装置は、動画の撮影中に撮影した静止画像を取得する静止画像取得手段と、静止画撮影により欠落した動画フレームとして用いるための代替フレーム画像を、前記静止画像から生成する代替フレーム画像生成手段と、動画および静止画像を、それぞれに対応する加工パラメータを用いて加工する画像加工手段と、代替フレーム画像を加工するための代替フレーム画像の加工パラメータを、静止画像および動画を加工するための加工パラメータとは別個に設定して取得する加工パラメータ決定手段とを備え、画像加工手段により、代替フレーム画像の加工パラメータを用いて代替フレーム画像を加工する。 In order to achieve the above object, according to the present invention, an imaging apparatus having a function of capturing a still image while capturing a moving image includes a still image acquisition means for acquiring a still image captured during the recording of a moving image, An alternative frame image generating unit that generates an alternative frame image to be used as a moving image frame that has been lost due to image shooting from the still image, and an image processing unit that processes the moving image and the still image using processing parameters corresponding to each The processing parameter determining means for obtaining the processing parameter of the alternative frame image for processing the alternative frame image separately from the processing parameter for processing the still image and the moving image, and obtaining the processing parameter by the image processing means, The substitute frame image is processed using the processing parameters of the substitute frame image.
本発明によれば、動画撮影中の静止画撮影において、欠落フレームを補間する代替フレーム画像に適切な加工を施すことが可能となる。 According to the present invention, it is possible to appropriately process an alternative frame image for interpolating a missing frame in still image shooting during moving image shooting.
以下、添付の図面を用いて、本発明の好適な実施の形態を詳細に説明する。 Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.
図2は、本発明の第1の実施例に係る撮像装置301の構成を示すブロック図である。
同図において、202は撮像レンズ、203はフォーカス制御、204は絞り、205は204の露光制御、206は撮像素子、207はA/D変換器、208はタイミング制御である。撮像レンズ202から入射した光は絞り204を通過し、撮像素子206によってアナログの電気信号に変換される。A/D変換器207によって、撮像素子206から出力されたアナログ信号をデジタル信号に変換する。209は画像処理部で、A/D変換器207から出力された画像の信号処理及び圧縮などの処理が行われる。210はメモリで、静止画像や動画のデータを格納する。211はユーザの入力を受け付ける操作部、215は記録媒体、216は表示制御部で、217が表示部である。212は加工パラメータ管理部で、静止画、動画、代替フレーム画像各々の加工パラメータを管理する。213は加工パラメータ決定部で、加工パラメータ管理部で管理される加工パラメータを用い、代替フレーム画像用の加工パラメータを決定する。214は画像加工部で、静止画、動画、代替フレーム画像各々の加工を行う。画像加工部214は、静止画、動画を加工パラメータ管理部212で管理されている加工パラメータを用いて加工し、代替フレーム画像を加工パラメータ決定部213で決定した代替フレーム画像用の加工パラメータを用いて加工する。218は制御部で、制御部が含む図示しないメモリに記憶されている制御プログラムを実行して、フォーカス制御203、露光制御203、タイミング制御208、表示制御部215等の制御や、データ転送を制御する。
FIG. 2 is a block diagram showing the configuration of the image pickup apparatus 301 according to the first embodiment of the present invention.
In the figure, 202 is an imaging lens, 203 is focus control, 204 is a stop, 205 is exposure control of 204, 206 is an image sensor, 207 is an A / D converter, and 208 is timing control. Light incident from the
図2の加工パラメータ管理部212で管理される加工パラメータについて、図3を用いて説明する。
図3は、本実施例において、静止画像と代替フレーム画像とで別個の加工パラメータを用いる場合の加工パラメータの一例を示す図である。図3に示す各加工内容について、静止画像はすべての加工を実施し、動画では美肌と歯のホワイトニング加工についてのみ実施し、他の加工内容については非実施の構成とする。この時、代替フレーム画像用の加工パラメータを、例えば動画で非実施であった加工内容の一部を代替フレーム画像では実施するように、静止画像および動画それぞれの加工パラメータとは個別に設定する。
Processing parameters managed by the processing
FIG. 3 is a diagram illustrating an example of processing parameters when separate processing parameters are used for a still image and an alternative frame image in the present embodiment. With respect to each processing content shown in FIG. 3, all processing is performed on the still image, only whitening processing on the skin and teeth is performed on the moving image, and other processing content is not implemented. At this time, the processing parameters for the still image and the moving image are individually set so that the processing parameters for the alternative frame image are executed in the alternative frame image, for example, with a part of the processing content that is not performed in the moving image.
本実施例では、以上のように設定した、静止画および動画の加工パラメータと異なる代替フレーム画像用の加工パラメータを用いて、代替フレーム画像を加工する。 In this embodiment, the substitute frame image is processed using the processing parameters for the substitute frame image which are different from the still image and moving image processing parameters set as described above.
本実施例の加工パラメータ決定部213を含む撮像装置による動画を撮影中の静止画撮影の動作について、図4のフローチャートを用いて説明する。図4は、本実施例に係る動画撮影開始から代替フレーム画像の動画へのエンコードまでの動作の流れを示したフローチャートである。本動作は、制御部218が制御プログラムを実行して、撮像装置の各部を制御することで達成される。
The operation of still image shooting while shooting a moving image by the imaging apparatus including the processing
まず、ユーザが操作部211又はこれとは別個に設けられた図示しない電源スイッチ等を操作することで撮像装置が起動されて(S401)、動画の撮影が開始される(S402)。ここで制御部218は、動画撮影が終了するかどうかを判断する(S403)。動画撮影の終了であれば、撮像装置の動作を終了し(S404)、終了でない場合は、シャッターボタンの全押し操作が行われたかどうかを判断する(S405)。シャッターボタンの全押し操作が行われた場合、制御部218は、動画撮影を中断し(S406)、メモリ310から加工前の静止画像を取得する(S407)。加工前の静止画像取得を行った後は、二つの処理動作が行われる。 First, when the user operates the operation unit 211 or a power switch (not shown) provided separately from the operation unit 211, the imaging apparatus is activated (S401), and moving image shooting is started (S402). Here, the control unit 218 determines whether or not the moving image shooting ends (S403). If the video shooting is finished, the operation of the imaging device is finished (S404). If not, it is determined whether or not the shutter button has been fully pressed (S405). When the shutter button is fully pressed, the control unit 218 interrupts the moving image shooting (S406), and acquires a still image before processing from the memory 310 (S407). After obtaining a still image before processing, two processing operations are performed.
一つは、まずユーザが、例えば操作部211を操作して設定した静止画用の加工パラメータを、画像加工部214が加工パラメータ管理部212から取得する(S408)。続いて、画像加工部214は、S407で取得した加工前の静止画像を、S408で取得した加工パラメータを用いて加工し、加工した静止画を保存する(S409およびS410)。
For example, first, the
他の処理動作では、制御部218が、S406で動画撮影を中断した期間の欠落した動画フレームに対応する代替フレーム画像用のリサイズ画像を、取得した静止画像から生成する(S411)。次に、ユーザが例えば操作部211を操作して設定した代替フレーム画像用の加工パラメータ情報を、加工パラメータ決定部213が加工パラメータ管理部212から取得し、代替フレーム画像用の加工パラメータとして決定する(S412)。続いて画像加工部214は、S411の代替フレーム画像生成で取得した代替フレーム画像用のリサイズ画像、S412で決定した加工パラメータを用いて代替フレーム画像を加工し、動画にエンコードする(S413およびS414)。S410とS414が終わると、制御部218は動画撮影を再開する(S415)。
In another processing operation, the control unit 218 generates a resized image for an alternative frame image corresponding to the moving image frame in which the period during which the moving image capturing is interrupted in S406 is lost from the acquired still image (S411). Next, the processing
なお、本実施例では、静止画用および代替フレーム画像用の加工パラメータをユーザによって設定された加工パラメータを用いて決定したが、撮像装置によって設定されている加工パラメータを用いて決定する形態としてもよい。 In the present embodiment, the processing parameters for the still image and the substitute frame image are determined using the processing parameters set by the user, but may be determined using the processing parameters set by the imaging apparatus. Good.
また、静止画用加工部と代替フレーム画像用加工部を一つの加工部として図示したが、別々の加工部を用いて、静止画と代替フレーム画像それぞれを別の加工パラメータを用いて、加工する形態としてもよい。また、本実施例では各加工内容の実施、非実施の設定は、ユーザにより設定可能としているが、固定であっても、あるいは撮影時の画像の解像度や撮影モードなどによって管理する構成であってもよい。例えば、代替フレーム画像で実施する加工内容とするかどうかの設定は、静止画像の加工パラメータの各加工内容の加工値が対応する閾値よりも小さい場合に、実施すると設定する構成としてもよい。この場合、閾値を撮影時の画像の解像度や撮影モードなどに応じて変更することも可能である。 In addition, although the still image processing unit and the alternative frame image processing unit are illustrated as one processing unit, the still image and the alternative frame image are processed using different processing parameters using different processing units. It is good also as a form. Also, in this embodiment, the execution / non-execution settings for each processing content can be set by the user. However, even if it is fixed, it is configured to be managed by the resolution of the image at the time of shooting or the shooting mode. Also good. For example, the setting as to whether or not the processing content to be performed on the substitute frame image is set may be configured to be performed when the processing value of each processing content of the processing parameter of the still image is smaller than the corresponding threshold value. In this case, the threshold value can be changed according to the resolution of the image at the time of shooting, the shooting mode, and the like.
本実施例によれば、動画撮影中の静止画撮影において、欠落フレームを補間する代替フレーム画像に適切な加工を施すことが可能となり、代替フレーム画像の加工が、撮影された動画に不自然を与えることを防止することを可能にする。 According to the present embodiment, in still image shooting during moving image shooting, it is possible to perform appropriate processing on the substitute frame image that interpolates the missing frame, and the processing of the substitute frame image is unnatural to the shot moving image. Makes it possible to prevent giving.
次に、本発明の第2の実施例を図5乃至7を用いて説明する。本実施例は、静止画像の加工の度合いを示す加工量と、各加工内容の各々に設けた加工量の閾値を用いて代替フレーム画像の加工パラメータを設定する点で第1の実施例と異なる。撮像装置の構成は、第1の実施例と同様であるので、ここでの説明は省略する。以下、本実施例に係る代替フレーム画像の加工パラメータの設定、決定構成について説明する。 Next, a second embodiment of the present invention will be described with reference to FIGS. The present embodiment is different from the first embodiment in that the processing parameter indicating the degree of processing of the still image and the processing parameter of the substitute frame image are set using the processing amount threshold provided for each processing content. . Since the configuration of the imaging apparatus is the same as that of the first embodiment, a description thereof is omitted here. Hereinafter, the setting and determination configuration of the processing parameter of the substitute frame image according to the present embodiment will be described.
まず、図2の加工パラメータ管理部212で管理される加工パラメータについて図5を用いて説明する。
図5は、静止画像の加工の度合いを示す加工量と各加工内容に設けた加工量の閾値を用いて、静止画像とは個別に代替フレーム画像の加工パラメータを設定した場合の一例を示す図である。なお、図5の加工量の値は、値が大きいほど加工の度合いが大きいことを示す。
First, the processing parameters managed by the processing
FIG. 5 is a diagram illustrating an example in which the processing parameters of the alternative frame image are set separately from the still image using the processing amount indicating the degree of processing of the still image and the processing amount threshold provided for each processing content. It is. Note that the value of the machining amount in FIG. 5 indicates that the greater the value, the greater the degree of machining.
図5に示す通り、加工内容の各々に加工量の閾値が設けられている。この各閾値と静止画で実施した各加工内容の加工量をそれぞれ比較する。ここで、静止画像で実施した加工内容の加工量が閾値以下である場合は、代替フレーム画像の加工量を静止画の加工量と同一に設定する。また静止画像で実施した加工量が閾値より大きい場合は、代替フレーム画像の加工量を閾値と同一に設定する。 As shown in FIG. 5, a processing amount threshold is provided for each processing content. Each threshold value is compared with the processing amount of each processing content performed on the still image. Here, when the processing amount of the processing content performed on the still image is equal to or less than the threshold value, the processing amount of the alternative frame image is set to be the same as the processing amount of the still image. If the amount of processing performed on the still image is larger than the threshold value, the processing amount of the substitute frame image is set to be the same as the threshold value.
次に、図5に示した本実施例に係る加工パラメータを用いた、動画撮影中の静止画撮影の動作を、図6のフローチャートを用いて説明する。
図6は本実施例に係る、動画撮影開始から代替フレーム画像の動画へのエンコードまでの動作の流れを示したフローチャートである。また図7は本実施例に係る、代替フレーム画像の加工パラメータを設定する流れの詳細を示したフローチャートである。図において、図4に示す第1の実施例の動作と同じ部分は同じ符号を付して示す。
Next, the operation of still image shooting during moving image shooting using the processing parameters according to the present embodiment shown in FIG. 5 will be described with reference to the flowchart of FIG.
FIG. 6 is a flowchart showing the flow of operations from the start of moving image shooting to the encoding of a substitute frame image into a moving image according to the present embodiment. FIG. 7 is a flowchart showing details of the flow for setting the processing parameters of the substitute frame image according to the present embodiment. In the figure, the same parts as those of the first embodiment shown in FIG.
S401乃至S411およびS413乃至S414の動作は、第1の実施例と同様であるのでここでの説明は省略する。 Since the operations in S401 to S411 and S413 to S414 are the same as those in the first embodiment, description thereof is omitted here.
本実施例においても、第1の実施例と同様に、S408での静止画用の加工パラメータを取得後、二つの処理動作が行われる。一つは、第1の実施例と同様の静止画像を加工し、保存する動作である(S409およびS410)。もう一つの処理動作は、本実施例に係る図5の加工パラメータを用いた代替フレーム画像の加工およびエンコードする動作である。以下、この動作を説明する。 Also in the present embodiment, as in the first embodiment, two processing operations are performed after obtaining the still image processing parameters in S408. One is an operation of processing and storing a still image similar to that of the first embodiment (S409 and S410). Another processing operation is an operation of processing and encoding an alternative frame image using the processing parameters of FIG. 5 according to the present embodiment. Hereinafter, this operation will be described.
S406で制御部218は、動画撮影を中断した期間の欠落した動画フレームに対応する代替フレーム画像用のリサイズ画像を、取得した静止画像から生成する(S411)。次に加工パラメータ決定部213は、加工内容の各々に設けられた加工パラメータの閾値を取得し(S601)、S408で取得した静止画用の加工パラメータと、S601で取得した閾値を用いて代替フレーム画像用の加工パラメータを決定する(S602)。S602の詳細動作については後述する。続いて画像加工部214は、S411の代替フレーム画像生成で取得した代替フレーム画像用のリサイズ画像を、S602で決定した加工パラメータを用いて加工し、動画にエンコードする(S413およびS414)。S410とS414が終わると、制御部218は動画撮影を再開する(S415)。
In step S406, the control unit 218 generates a resized image for an alternative frame image corresponding to a moving image frame that lacks a period during which moving image shooting is interrupted from the acquired still image (S411). Next, the processing
本実施例の加工パラメータ設定部213の動作について、図7のフローチャートを用いて説明する。
図7は、S602における加工パラメータ決定部213の動作の詳細なフローチャートを示す。加工パラメータに設定されている加工内容を選択する(S701)。選択された加工内容の静止画像の加工量と、選択された加工内容の閾値を比較する(S702)。ここで、静止画像で実施した加工量が閾値以下である場合は、代替フレーム画像の加工量を静止画の加工量と同一に設定する(S703)。また静止画像で実施した加工量が閾値より大きい場合は、代替フレーム画像の加工量を閾値と同一に設定する(S704)。代替フレーム画像の加工パラメータが全て設定されたかを確認し(S705)、設定されていなければ、S701から設定がされていない代替フレーム画像の加工内容の加工パラメータを設定する。以上のような動作で、加工パラメータ決定部213は、代替フレーム画像用の加工パラメータを決定する。
The operation of the machining
FIG. 7 shows a detailed flowchart of the operation of the machining
なお、本実施例では、静止画用の加工パラメータをユーザによって設定されたものを用いたが、撮像装置によって設定されている加工パラメータを用いる形態をとってもよい。また静止画像で実施した加工量が閾値より大きい場合は、閾値で代替フレーム画像を加工するとしたが、閾値を基準にして設定した別の加工量で加工する構成にしてもよい。 In the present embodiment, the still image processing parameters set by the user are used. However, the processing parameters set by the imaging apparatus may be used. Further, when the processing amount performed on the still image is larger than the threshold value, the substitute frame image is processed using the threshold value. However, a configuration may be adopted in which processing is performed with another processing amount set based on the threshold value.
また静止画像で実施した加工量が閾値より小さい場合は、静止画の加工量で代替フレーム画像を加工するとしたが、閾値を基準にして別に設定した加工量で加工する構成にしてもよい。また本実施例では、静止画用加工部と代替フレーム画像用加工部を一つの加工部として図示したが、別々の加工部を用いて、静止画と代替フレーム画像それぞれを別の加工パラメータを用いて、加工する形態にしてもよい。また、本実施例では加工内容の各々に設定した閾値は固定であったが、撮影時の画像の解像度や撮影モードによって設定して管理する構成にしてもよい。また本実施例では静止画用加工パラメータの取得を代替フレーム用のリサイズ画像取得前に行っているが、静止画の加工動作と代替フレーム画像の加工動作の各々において取得する構成にしてもよい。 Further, when the processing amount performed on the still image is smaller than the threshold value, the substitute frame image is processed with the processing amount of the still image. However, the processing may be performed with a processing amount set separately with reference to the threshold value. In this embodiment, the still image processing unit and the alternative frame image processing unit are illustrated as one processing unit. However, different processing parameters are used for the still image and the alternative frame image, respectively. Then, it may be processed. In this embodiment, the threshold value set for each processing content is fixed, but may be set and managed according to the resolution of the image at the time of shooting and the shooting mode. In this embodiment, the still image processing parameter is acquired before the resized image for the alternative frame is acquired. However, the still image processing parameter may be acquired in each of the still image processing operation and the alternative frame image processing operation.
本実施例によっても、動画撮影中の静止画撮影において、欠落フレームを補間する代替フレーム画像に適切な加工を施すことが可能となり、代替フレーム画像の加工が、撮影された動画に不自然を与えることを防止することを可能にする。 Also in this embodiment, in still image shooting during moving image shooting, it is possible to perform appropriate processing on the substitute frame image that interpolates the missing frame, and the processing of the substitute frame image makes the shot moving image unnatural. It is possible to prevent that.
次に、本発明の第3の実施例を図8乃至10を用いて説明する。本実施例では、代替フレーム画像の加工パラメータの設定に際し、各加工内容の加工量を、静止画の加工パラメータおよび動画の加工パラメータのどちらを基準として設定するかを選択可能とすることを特徴とする。なお、静止画像の加工の度合いを示す加工量に対し、閾値を設ける点は第2の実施例と同様である。また、撮像装置の構成は、第1の実施例と同様であるので、ここでの説明は省略する。 Next, a third embodiment of the present invention will be described with reference to FIGS. In this embodiment, when setting the processing parameters of the substitute frame image, it is possible to select whether the processing amount of each processing content is set based on the processing parameters of the still image or the processing parameters of the moving image. To do. Note that the threshold value is provided for the processing amount indicating the degree of processing of the still image, as in the second embodiment. Further, since the configuration of the imaging apparatus is the same as that of the first embodiment, description thereof is omitted here.
加工パラメータ管理部212で管理される加工パラメータについて図8を用いて説明する。
図8は、本実施例に従って設定された加工パラメータを示す。同図において、代替フレーム画像用の加工パラメータは、静止画像および動画の加工の度合いを示す加工量と、各加工内容に設けた加工量の閾値と、静止画または動画の加工パラメータのどちらを基準として用いるかの選択に基づいて設定されている。なお、同図において、各加工内容の加工量の値は、値が大きいほど加工の度合いが大きいことを示す。
The machining parameters managed by the machining
FIG. 8 shows processing parameters set according to the present embodiment. In the figure, the processing parameters for the substitute frame image are based on either the processing amount indicating the degree of processing of still images and moving images, the processing amount threshold provided for each processing content, or the processing parameters of still images or moving images. It is set based on the selection of whether or not to use. In the figure, the value of the processing amount of each processing content indicates that the greater the value, the greater the degree of processing.
図8によれば、基準として動画の加工パラメータが選択された場合は動画の加工量以下で、また静止画の加工パラメータが選択された場合は静止画の加工量以下の加工量で、代替フレーム画像を加工する。この場合、選択された各加工内容の加工量と、各加工内容に設けられた閾値とを比較し、閾値を超えている場合は、閾値以下の加工量で代替フレーム画像を加工する。 According to FIG. 8, when the moving image processing parameter is selected as a reference, the alternative frame is equal to or less than the moving image processing amount, and when the still image processing parameter is selected, the processing amount is equal to or less than the still image processing amount. Process the image. In this case, the processing amount of each selected processing content is compared with the threshold value provided for each processing content, and if the threshold value is exceeded, the substitute frame image is processed with the processing amount equal to or less than the threshold value.
図8に示した本実施例に係る加工パラメータを用いた、動画撮影中の静止画撮影の動作について、図9および10のフローチャートを用いて説明する。 The operation of still image shooting during moving image shooting using the processing parameters according to the present embodiment shown in FIG. 8 will be described with reference to the flowcharts of FIGS.
図9は、本実施例に係る動画撮影開始から、代替フレーム画像の動画へのエンコードまでの動作の流れを示すフローチャートである。また図10は、本実施例に係る、代替フレーム画像の加工パラメータを設定する動作の詳細なフローチャートである。図において、図4に示す第1の実施例と動作と同じ部分は同じ符号を付して示す。 FIG. 9 is a flowchart showing a flow of operations from the start of moving image shooting to encoding of a substitute frame image into a moving image according to the present embodiment. FIG. 10 is a detailed flowchart of an operation for setting a processing parameter for an alternative frame image according to the present embodiment. In the figure, the same parts as those in the first embodiment shown in FIG.
S401乃至S411およびS413乃至S414の動作は、第1の実施例と同様であるのでここでの説明は省略する。本実施例でも、S408での静止画用の加工パラメータを取得後、二つの処理動作が行われる。一つは、静止画像を加工し、保存するS409およびS410の動作である。この動作は、第1の実施例での動作と同様であるので、上述のように説明を省略する。ここでは、もう一つの処理動作を説明する。 Since the operations in S401 to S411 and S413 to S414 are the same as those in the first embodiment, description thereof is omitted here. Also in this embodiment, two processing operations are performed after obtaining the still image processing parameters in S408. One is the operations of S409 and S410 that process and store a still image. Since this operation is the same as that in the first embodiment, the description thereof is omitted as described above. Here, another processing operation will be described.
S406で制御部218は、動画撮影を中断した期間の動画フレームに対応する代替フレーム画像用のリサイズ画像を、取得した静止画像から生成する(S411)。次に加工パラメータ決定部213は、ユーザによって設定された動画用の加工パラメータを加工パラメータ管理部212から取得し(S901)、また加工パラメータの各加工内容に設けられた閾値を取得する(S902)。次に加工パラメータ決定部213は、S408で取得した静止画用の加工パラメータ、S901で取得した動画用加工パラメータのどちらを、代替フレーム画像を加工するパラメータの基準とするかを選択する(S903)。この選択は、ユーザが操作部211を操作して行うことが可能である。S408で取得した静止画用の加工パラメータと、S901で取得した動画用の加工パラメータと、S902で取得した閾値と、S903での動画又は静止画の選択とに基づいて代替フレーム画像用の加工量を設定する(S904)。これにより、代替フレーム画像用の加工パラメータを決定する。S904の動作の詳細については後述する。
In step S406, the control unit 218 generates a resized image for a substitute frame image corresponding to a moving image frame during a period in which moving image shooting is interrupted from the acquired still image (S411). Next, the processing
続いて画像加工部214は、S413で取得した代替フレーム画像用のリサイズ画像をS904で決定した加工パラメータを用いて代替フレーム画像を加工し、動画にエンコードする(S413およびS414)。S410とS414が終わると、制御部218は動画撮影を再開する(S415)。
Subsequently, the
本実施に係る加工パラメータ決定部213の動作について、図10のフローチャートを用いて説明する。
図10は、S904における加工パラメータ決定部213の動作の詳細なフローチャートを示す。
The operation of the machining
FIG. 10 shows a detailed flowchart of the operation of the machining
まず、加工パラメータに設定されている加工内容を選択する(S1001)。S1001では、選択された加工内容の加工量の基準として、S903において静止画用加工パラメータと動画用加工パラメータのどちらが選択されているかを判断する。静止画用が選択されている場合は、S1001で選択された加工内容の代替フレーム画像への加工量の基準(基準加工量)を静止画の加工量に、動画用が選択された場合は、動画の加工量を基準加工量として選択する(S1003およびS1004)。 First, the machining content set in the machining parameter is selected (S1001). In step S1001, it is determined which of the still image processing parameter and the moving image processing parameter is selected in step S903 as a reference for the processing amount of the selected processing content. When still image use is selected, when the processing amount standard (reference processing amount) for the substitute frame image of the processing content selected in S1001 is set as the still image processing amount, and for moving image is selected, The processing amount of the moving image is selected as the reference processing amount (S1003 and S1004).
次に、S1001で選択された加工内容について、S1003またはS1004で選択された基準加工量と、S1001で選択された加工内容の閾値とを比較する(S1005)。ここで、基準加工量が閾値以下である場合は、代替フレーム画像の加工量を基準加工量と同一に設定する(S1006)。また基準加工量が閾値より大きい場合は、代替フレーム画像の加工量を閾値と同一に設定する(S1007)。代替フレーム画像の加工パラメータが全て設定されたかを確認し(S1008)、設定されていなければ、S1001から設定がされていない代替フレーム画像の加工内容の加工パラメータを設定する。以上のような構成で、加工パラメータ決定部213は、代替フレーム画像用の加工パラメータを決定する。
Next, for the machining content selected in S1001, the reference machining amount selected in S1003 or S1004 is compared with the threshold value of the machining content selected in S1001 (S1005). Here, when the reference processing amount is equal to or smaller than the threshold, the processing amount of the alternative frame image is set to be the same as the reference processing amount (S1006). If the reference processing amount is larger than the threshold value, the processing amount of the substitute frame image is set to be the same as the threshold value (S1007). It is confirmed whether all the processing parameters of the substitute frame image have been set (S1008). If they have not been set, the processing parameters of the processing contents of the alternative frame image that have not been set from S1001 are set. With the configuration as described above, the processing
なお、本実施例では、選択された基準加工量が閾値より大きい場合は閾値で代替フレーム画像を加工するとしたが、閾値を基準にして設定した別の加工量で加工する構成にしてもよい。また選択された基準加工量が閾値より小さい場合は、基準加工量で代替フレーム画像を加工するとしたが、閾値を基準にして設定した別の加工量で加工する構成としてもよい。 In the present embodiment, when the selected reference processing amount is larger than the threshold value, the substitute frame image is processed with the threshold value. However, the processing may be performed with another processing amount set based on the threshold value. Further, when the selected reference processing amount is smaller than the threshold value, the substitute frame image is processed with the reference processing amount. However, a configuration may be adopted in which processing is performed with another processing amount set based on the threshold value.
また本実施例では、静止画用加工部と動画加工部と代替フレーム画像用加工部を一つの加工部として図示したが、それぞれの加工部を用いて、静止画、動画、代替フレーム画像を別々の加工パラメータを用いて加工する形態をとしてもよい。また本実施例では、図9、図10に示すように、基準となる加工パラメータを選択後に閾値判定を行っているが、静止画用と動画用の加工パラメータを閾値判定した後に、加工パラメータを選択させる構成してもよい。また本実施例では各加工内容に設定した閾値は固定であったが、撮影時の画像の解像度や撮影モードによって設定して管理する構成としてもよい。 In this embodiment, the still image processing unit, the moving image processing unit, and the alternative frame image processing unit are illustrated as one processing unit. However, still images, moving images, and alternative frame images are separately processed using the respective processing units. It is good also as a form processed using these processing parameters. In this embodiment, as shown in FIGS. 9 and 10, threshold determination is performed after selecting a processing parameter as a reference, but after processing parameters for still images and moving images are determined as thresholds, the processing parameters are changed. It may be configured to be selected. In this embodiment, the threshold value set for each processing content is fixed. However, the threshold value may be set and managed according to the resolution of the image at the time of shooting and the shooting mode.
また本実施例では、静止画用加工パラメータの取得を代替フレーム用のリサイズ画像の取得前に行っているが、静止画の加工動作と代替フレーム画像の加工動作の各々で取得する構成としてもよい。また本実施例では、代替フレーム用のリサイズ画像の取得後に、動画用の加工パラメータと閾値の取得および基準パラメータの選択を行っているが、いずれについても代替フレーム用のリサイズ画像取得前に行う構成としてもよい。 In this embodiment, still image processing parameters are acquired before acquisition of a resized image for an alternative frame. However, a configuration may be used in which each of the still image processing operation and the alternative frame image processing operation is acquired. . Further, in this embodiment, after obtaining the resized image for the substitute frame, the processing parameters and threshold values for the moving image are obtained and the reference parameter is selected. However, both are performed before obtaining the resized image for the substitute frame. It is good.
本実施例によっても、動画撮影中の静止画撮影において、欠落フレームを補間する代替フレーム画像に適切な加工を施すことが可能となり、代替フレーム画像の加工が、撮影された動画に不自然を与えることを防止することを可能にする。 Also in this embodiment, in still image shooting during moving image shooting, it is possible to perform appropriate processing on the substitute frame image that interpolates the missing frame, and the processing of the substitute frame image makes the shot moving image unnatural. It is possible to prevent that.
前述した本発明の実施形態における撮像装置における動画像の撮影中の静止画撮影を構成する各手段、並びに動作の各工程は、コンピュータのRAMやROMなどに記憶されたプログラムが動作することによって実現できる。このプログラム及び前記プログラムを記憶したコンピュータ読み取り可能な記憶媒体は本発明に含まれる。 The respective units constituting the still image shooting during the shooting of the moving image and the operation steps in the imaging apparatus according to the embodiment of the present invention described above are realized by the operation of a program stored in the RAM or ROM of the computer. it can. This program and a computer-readable storage medium storing the program are included in the present invention.
また、本発明は、例えば、システム、装置、方法、プログラムもしくは記憶媒体等としての実施形態も可能であり、具体的には、複数の機器から構成されるシステムに適用してもよいし、また、一つの機器からなる装置に適用してもよい。 In addition, the present invention can be implemented as, for example, a system, apparatus, method, program, storage medium, or the like. Specifically, the present invention may be applied to a system including a plurality of devices. The present invention may be applied to an apparatus composed of a single device.
なお、本発明は、前述した実施形態の機能を実現するソフトウェアのプログラム(図4、6、7、9、10に示すフローチャートに対応したプログラム)を、システムまたは装置に直接、または遠隔から供給する場合も含む。そして、そのシステムまたは装置のコンピュータが前記供給されたプログラムコードを読み出して実行することによっても達成される場合を含む。 In the present invention, a software program (program corresponding to the flowcharts shown in FIGS. 4, 6, 7, 9, and 10) for realizing the functions of the above-described embodiments is directly or remotely supplied to the system or apparatus. Including cases. This includes the case where the system or the computer of the apparatus is also achieved by reading and executing the supplied program code.
したがって、本発明の機能処理をコンピュータで実現するために、前記コンピュータにインストールされるプログラムコード自体も本発明を実現するものである。つまり、本発明は、本発明の機能処理を実現するためのコンピュータプログラム自体も含まれる。その場合、プログラムの機能を有していれば、オブジェクトコード、インタプリタにより実行されるプログラム、OSに供給するスクリプトデータ等の形態であってもよい。 Accordingly, since the functions of the present invention are implemented by computer, the program code installed in the computer also implements the present invention. That is, the present invention also includes a computer program for realizing the functional processing of the present invention. In that case, as long as it has the function of a program, it may be in the form of object code, a program executed by an interpreter, script data supplied to the OS, and the like.
プログラムを供給するための記憶媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスクなどがある。さらに、MO、CD−ROM、CD−R、CD−RW、磁気テープ、不揮発性のメモリカード、ROM、DVD(DVD−ROM、DVD−R)などもある。 Examples of the storage medium for supplying the program include a flexible disk, a hard disk, an optical disk, and a magneto-optical disk. Further, there are MO, CD-ROM, CD-R, CD-RW, magnetic tape, nonvolatile memory card, ROM, DVD (DVD-ROM, DVD-R) and the like.
その他、プログラムの供給方法としては、クライアントコンピュータのブラウザを用いてインターネットのホームページに接続する方法がある。そして、前記ホームページから本発明のコンピュータプログラムそのもの、もしくは圧縮され自動インストール機能を含むファイルをハードディスク等の記憶媒体にダウンロードすることによっても供給できる。 As another program supply method, there is a method of connecting to an Internet home page using a browser of a client computer. It can also be supplied by downloading the computer program itself of the present invention or a compressed file including an automatic installation function from a homepage to a storage medium such as a hard disk.
また、本発明のプログラムを構成するプログラムコードを複数のファイルに分割し、それぞれのファイルを異なるホームページからダウンロードすることによっても実現可能である。つまり、本発明の機能処理をコンピュータで実現するためのプログラムファイルを複数のユーザに対してダウンロードさせるWWWサーバも、本発明に含まれるものである。 It can also be realized by dividing the program code constituting the program of the present invention into a plurality of files and downloading each file from a different homepage. That is, a WWW server that allows a plurality of users to download a program file for realizing the functional processing of the present invention on a computer is also included in the present invention.
また、その他の方法として、本発明のプログラムを暗号化してCD−ROM等の記憶媒体に格納してユーザに配布し、所定の条件をクリアしたユーザに対し、インターネットを介してホームページから暗号化を解く鍵情報をダウンロードさせる。そして、その鍵情報を使用することにより暗号化されたプログラムを実行してコンピュータにインストールさせて実現することも可能である。 As another method, the program of the present invention is encrypted, stored in a storage medium such as a CD-ROM, distributed to users, and encrypted from a homepage via the Internet to users who have cleared predetermined conditions. Download the key information to be solved. It is also possible to execute the encrypted program by using the key information and install the program on a computer.
また、コンピュータが、読み出したプログラムを実行することによって、前述した実施形態の機能が実現される。さらに、そのプログラムの指示に基づき、コンピュータ上で稼動しているOSなどが、実際の処理の一部または全部を行い、その処理によっても前述した実施形態の機能が実現され得る。 Further, the functions of the above-described embodiments are realized by the computer executing the read program. Furthermore, based on the instructions of the program, an OS or the like running on the computer performs part or all of the actual processing, and the functions of the above-described embodiments can be realized by the processing.
さらに、その他の方法として、まず記憶媒体から読み出されたプログラムが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれる。そして、そのプログラムの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によっても前述した実施形態の機能が実現される。 As another method, a program read from a storage medium is first written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer. Then, based on the instructions of the program, the CPU or the like provided in the function expansion board or function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are also realized by the processing.
以上、本発明をその好適な実施形態に基づいて詳述してきたが、本発明はこれら特定の実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の様々な形態も本発明に含まれる。 Although the present invention has been described in detail based on preferred embodiments thereof, the present invention is not limited to these specific embodiments, and various forms within the scope of the present invention are also included in the present invention. included.
Claims (11)
前記動画の撮影中に撮影した静止画像を取得する静止画像取得手段と、
前記静止画像の撮影により欠落した動画フレームとして用いるための代替フレーム画像を、前記静止画像から生成する代替フレーム画像生成手段と、
前記動画および前記静止画像を、それぞれに対応する加工パラメータを用いて加工する画像加工手段と、
前記代替フレーム画像を加工するための代替フレーム画像の加工パラメータを、前記静止画像および前記動画を加工するための加工パラメータとは別個に設定して取得する加工パラメータ決定手段と、
を備え、
前記画像加工手段は、前記代替フレーム画像の加工パラメータを用いて前記代替フレーム画像を加工することを特徴とする撮像装置。 In an imaging device having a function of shooting a still image while shooting a video,
Still image acquisition means for acquiring a still image captured during the recording of the video;
An alternative frame image generating means for generating an alternative frame image to be used as a moving image frame that is lost due to shooting of the still image from the still image;
Image processing means for processing the moving image and the still image using processing parameters corresponding to each,
Processing parameter determination means for acquiring processing parameters of the substitute frame image for processing the substitute frame image separately from processing parameters for processing the still image and the moving image; and
With
The imaging apparatus, wherein the image processing means processes the substitute frame image using a processing parameter of the substitute frame image.
前記動画の撮影中に撮影する機能によって得られた静止画像を取得する静止画像取得ステップと、
前記静止画像の撮影により欠落した動画フレームとして用いるための代替フレーム画像を、前記静止画像から生成する代替フレーム画像生成ステップと、
前記動画および前記静止画像を、それぞれに対応する加工パラメータを用いて加工する画像加工ステップと、
前記代替フレーム画像を加工するための代替フレーム画像の加工パラメータを、前記静止画像および前記動画を加工するための加工パラメータとは別個に設定して取得する加工パラメータ決定ステップと、
を備え、
前記画像加工ステップは、前記代替フレーム画像の加工パラメータを用いて前記代替フレーム画像を加工することを特徴とする制御方法。 In a control method of an image pickup apparatus having a function of taking a still image while shooting a moving image,
A still image acquisition step of acquiring a still image obtained by a function of shooting during shooting of the moving image;
An alternative frame image generation step for generating an alternative frame image to be used as a moving image frame that has been lost due to shooting of the still image from the still image; and
An image processing step of processing the moving image and the still image using processing parameters corresponding to each,
A processing parameter determining step for obtaining processing parameters of the alternative frame image for processing the alternative frame image separately from the processing parameters for processing the still image and the moving image; and
With
The image processing step includes processing the substitute frame image using a processing parameter of the substitute frame image.
コンピュータを、
前記動画の撮影中に撮影した静止画像を取得する静止画像取得手段、
前記静止画像の撮影により欠落した動画フレームとして用いるための代替フレーム画像を、前記静止画像から生成する代替フレーム画像生成手段、
前記動画および前記静止画像を、それぞれに対応する加工パラメータを用いて加工する画像加工手段、
前記代替フレーム画像を加工するための代替フレーム画像の加工パラメータを、前記静止画像および前記動画を加工するための加工パラメータとは別個に設定して取得し、前記代替フレーム画像の加工パラメータを用いて前記代替フレーム画像を加工する画像加工手段として機能させるプログラム。 A program for controlling an imaging device having a function of shooting a still image while shooting a video,
Computer
A still image acquisition means for acquiring a still image taken during shooting of the moving image;
An alternative frame image generating means for generating an alternative frame image to be used as a moving image frame that has been lost due to the shooting of the still image from the still image;
Image processing means for processing the moving image and the still image using processing parameters corresponding to each of the moving image and the still image;
The processing parameter of the substitute frame image for processing the substitute frame image is acquired separately from the processing parameter for processing the still image and the moving image, and is obtained using the processing parameter of the substitute frame image A program that functions as image processing means for processing the substitute frame image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013022440A JP6159096B2 (en) | 2013-02-07 | 2013-02-07 | Imaging apparatus, imaging method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013022440A JP6159096B2 (en) | 2013-02-07 | 2013-02-07 | Imaging apparatus, imaging method, and program |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2014155009A JP2014155009A (en) | 2014-08-25 |
JP2014155009A5 JP2014155009A5 (en) | 2016-03-24 |
JP6159096B2 true JP6159096B2 (en) | 2017-07-05 |
Family
ID=51576482
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013022440A Expired - Fee Related JP6159096B2 (en) | 2013-02-07 | 2013-02-07 | Imaging apparatus, imaging method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6159096B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017104074A1 (en) * | 2015-12-18 | 2017-06-22 | 三菱電機株式会社 | Water heater and energy management system |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001111934A (en) * | 1999-10-04 | 2001-04-20 | Olympus Optical Co Ltd | Electronic camera system |
JP4035543B2 (en) * | 2005-04-04 | 2008-01-23 | キヤノン株式会社 | Imaging device |
JP4777180B2 (en) * | 2005-11-08 | 2011-09-21 | キヤノン株式会社 | Imaging apparatus and control method thereof |
-
2013
- 2013-02-07 JP JP2013022440A patent/JP6159096B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2014155009A (en) | 2014-08-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6439837B2 (en) | Electronic device and display method | |
US10033931B2 (en) | Image processing apparatus and image processing method for processing still image data | |
JP2017034474A (en) | Imaging apparatus and its control method | |
JP2006229474A (en) | Imaging apparatus and control method thereof | |
JP5603641B2 (en) | Imaging apparatus, image processing apparatus, control method, and program | |
JP6402934B2 (en) | MOVIE GENERATION DEVICE, MOVIE GENERATION METHOD, AND PROGRAM | |
KR101737301B1 (en) | Image pickup apparatus generating focus changeable image, control method for image pickup apparatus, and storage medium | |
JP6049425B2 (en) | Imaging apparatus, image processing apparatus, and control method | |
JP6159096B2 (en) | Imaging apparatus, imaging method, and program | |
JP6008716B2 (en) | Imaging apparatus, image processing apparatus, image processing system, and control method | |
JP2008167282A (en) | Imaging apparatus and image recording method | |
JP6951168B2 (en) | Image processing device and its control method and program | |
JP2007201935A (en) | Control method of image processing apparatus, and image processing apparatus | |
JP2011040945A (en) | Image processing apparatus and image processing method | |
JP2007243624A (en) | Digital still camera, image reproduction system and their control method | |
JP2020136823A (en) | Image processing device, imaging device, image processing method, control method for imaging device, and program | |
US20240104791A1 (en) | Imaging apparatus and imaging system | |
JP7214538B2 (en) | Imaging device and recording control method | |
JP5543636B2 (en) | Imaging device | |
JP5453820B2 (en) | Digital camera | |
JP2017022559A (en) | Recording device and control method for recording device | |
JP6742862B2 (en) | Imaging device, image processing device, control method of imaging device, and program | |
JP6424620B2 (en) | Image generation apparatus, image generation method and program | |
JP5831820B2 (en) | Image processing apparatus and program | |
JP5828927B2 (en) | Imaging device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20160205 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20160205 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20161025 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20161101 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20161216 |
|
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: 20170511 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20170609 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 6159096 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
LAPS | Cancellation because of no payment of annual fees |