JP5463782B2 - Electronic camera - Google Patents

Electronic camera Download PDF

Info

Publication number
JP5463782B2
JP5463782B2 JP2009181655A JP2009181655A JP5463782B2 JP 5463782 B2 JP5463782 B2 JP 5463782B2 JP 2009181655 A JP2009181655 A JP 2009181655A JP 2009181655 A JP2009181655 A JP 2009181655A JP 5463782 B2 JP5463782 B2 JP 5463782B2
Authority
JP
Japan
Prior art keywords
image
resolution
preliminary
unit
similarity
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
Application number
JP2009181655A
Other languages
Japanese (ja)
Other versions
JP2011035772A (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.)
Nikon Corp
Original Assignee
Nikon 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 Nikon Corp filed Critical Nikon Corp
Priority to JP2009181655A priority Critical patent/JP5463782B2/en
Publication of JP2011035772A publication Critical patent/JP2011035772A/en
Application granted granted Critical
Publication of JP5463782B2 publication Critical patent/JP5463782B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、複数の解像度で撮影可能な電子カメラに関する。   The present invention relates to an electronic camera capable of photographing at a plurality of resolutions.

従来の電子カメラにおいて、所定間隔で撮影された動画をスロー再生する場合、フレーム間の画像がないため動きが不自然になるという問題があった。そこで、時間的に前後するフレームの画像を補間してフレーム間の画像を生成する技術が考えられていた(例えば、特許文献1参照)。   In a conventional electronic camera, when a moving image shot at a predetermined interval is played back slowly, there is a problem that the motion becomes unnatural because there is no image between frames. In view of this, a technique has been considered in which images between frames are generated by interpolating temporally surrounding frames (see, for example, Patent Document 1).

特開2008−141772号公報JP 2008-141772 A

ところが、前後のフレームの画像から補間画像を生成する従来技術の場合、フレーム間で突然出現した被写体や変化の激しいシーンなどには対応できず、不自然な補間画像が得られるという問題があった。   However, in the case of the prior art that generates an interpolated image from the images of previous and subsequent frames, there is a problem that an unnatural interpolated image can be obtained because it cannot cope with a subject that suddenly appears between frames or a scene that changes rapidly. .

本発明の目的は、前のフレーム画像の撮影終了から次のフレーム画像の撮影開始までのアイドル時間内に異なる解像度の予備画像を取得できる電子カメラを提供することである。   An object of the present invention is to provide an electronic camera that can acquire a preliminary image having a different resolution within an idle time from the end of capturing the previous frame image to the start of capturing the next frame image.

本発明に係る電子カメラは、指定された複数の解像度で被写体画像を撮像する撮像手段と、前記撮像手段が撮像した画像を記憶する記憶手段と、前記複数の解像度のうち予め設定された第1解像度を前記撮像手段に指定して前記撮像手段から前記第1解像度の原画像を前記記憶手段に取り込む原画像取得手段と、前記原画像取得手段が取り込む第1の原画像の取り込み終了時点から次の第2の原画像の取り込み開始時点までのアイドル時間内に前記撮像手段から取り込み可能な前記第1解像度とは異なる予備画像の解像度を決定する解像度決定手段と、前記解像度決定手段が決定した解像度を前記撮像手段に指定して前記予備画像を前記記憶手段に取り込む予備画像取得手段とを有する。 The electronic camera according to the present invention includes an imaging unit that captures a subject image at a plurality of designated resolutions, a storage unit that stores an image captured by the imaging unit, and a first preset among the plurality of resolutions. The original image acquisition means for specifying the resolution to the imaging means and acquiring the original image of the first resolution from the imaging means to the storage means, and the time from the end of the acquisition of the first original image acquired by the original image acquisition means A resolution determining unit that determines a resolution of a preliminary image different from the first resolution that can be captured from the imaging unit within an idle time until the second original image capturing start time, and a resolution determined by the resolution determining unit the specify the imaging means that have a and the preliminary image acquisition means for capturing said preliminary image in the storage unit.

そして、前記解像度決定手段は、前記アイドル時間内に前記第1解像度とは異なる複数の予備画像の解像度を決定し、前記予備画像取得手段は、前記解像度決定手段が決定した解像度を前記撮像手段に指定して前記複数の予備画像を前記記憶手段に取り込むことを特徴とする。 The resolution determining unit determines a resolution of a plurality of preliminary images different from the first resolution within the idle time, and the preliminary image acquiring unit applies the resolution determined by the resolution determining unit to the imaging unit. The plurality of preliminary images are specified and fetched into the storage means.

また、好ましくは、前記予備画像の取得前に前記撮像手段が撮影する複数画像間の類似度を求める類似度判定手段を更に設け、前記解像度決定手段は、前記撮像手段から取り込む前記予備画像の解像度を決定する際に、前記類似度判定手段が求めた類似度が低い場合は前記予備画像の解像度を高くし、前記類似度判定手段が求めた類似度が高い場合は前記予備画像の解像度を低くすることを特徴とする。   Preferably, a similarity determination unit for obtaining a similarity between a plurality of images captured by the imaging unit before acquisition of the preliminary image is further provided, and the resolution determination unit is configured to resolve the resolution of the preliminary image captured from the imaging unit. When the similarity determined by the similarity determination unit is low, the resolution of the preliminary image is increased. When the similarity determined by the similarity determination unit is high, the resolution of the preliminary image is decreased. It is characterized by doing.

また、好ましくは、前記類似度は、主要被写体の形状変化,明るさ,色相,輪郭成分,周波数成分,動きベクトルの少なくとも1つであることを特徴とする。   Preferably, the similarity is at least one of a shape change, brightness, hue, contour component, frequency component, and motion vector of the main subject.

また、好ましくは、前記撮像手段とは別に前記撮像手段と同画角の画像を撮像する第2の撮像手段を更に設け、前記類似度判定手段は、前記第2の撮像手段が撮像する複数画像の類似度を求めて前記撮像手段から取り込む前記予備画像の解像度を決定することを特徴とする。
また、本発明に係る電子カメラは、指定された複数の解像度で被写体画像を撮像する撮像手段と、前記撮像手段が撮像した画像を記憶する記憶手段と、前記複数の解像度のうち予め設定された第1解像度を前記撮像手段に指定して前記撮像手段から前記第1解像度の原画像を前記記憶手段に取り込む原画像取得手段と、前記原画像取得手段が取り込む第1の原画像の取り込み終了時点から次の第2の原画像の取り込み開始時点までのアイドル時間内に前記撮像手段から取り込み可能な前記第1解像度とは異なる予備画像の解像度を予備画像の前に撮影される画像に基づいて決定する解像度決定手段と、前記解像度決定手段が決定した解像度を前記撮像手段に指定して前記予備画像を前記記憶手段に取り込む予備画像取得手段とを有することを特徴とする。
Preferably, in addition to the image pickup means, a second image pickup means for picking up an image having the same angle of view as the image pickup means is further provided, and the similarity determination means is a plurality of images picked up by the second image pickup means. And determining the resolution of the preliminary image captured from the imaging means.
The electronic camera according to the present invention includes an imaging unit that captures a subject image at a plurality of designated resolutions, a storage unit that stores an image captured by the imaging unit, and a preset one of the plurality of resolutions. An original image acquisition unit that designates the first resolution as the image pickup unit and takes the original image of the first resolution from the image pickup unit into the storage unit, and a time point when the acquisition of the first original image that the original image acquisition unit takes in The resolution of the preliminary image that is different from the first resolution that can be captured from the imaging means within an idle time from the start of capturing the second original image to the next is determined based on the image captured before the preliminary image A resolution determining unit that performs the resolution determination, and a preliminary image acquisition unit that designates the resolution determined by the resolution determination unit to the imaging unit and captures the preliminary image into the storage unit. And butterflies.

本発明に係る電子カメラは、前のフレーム画像の撮影終了から次のフレーム画像の撮影開始までのアイドル時間内に異なる解像度の予備画像を取得することができる。   The electronic camera according to the present invention can acquire a preliminary image having a different resolution within an idle time from the end of capturing the previous frame image to the start of capturing the next frame image.

本実施形態に係る電子カメラ101の構成を示すブロック図である。It is a block diagram which shows the structure of the electronic camera 101 which concerns on this embodiment. 多重解像度の様子を示す説明図である。It is explanatory drawing which shows the mode of multi-resolution. 解像度とデータ量との関係を示す説明図である。It is explanatory drawing which shows the relationship between resolution and data amount. スロー再生用の予備画像の解像度の例を示す説明図である。It is explanatory drawing which shows the example of the resolution of the preliminary image for slow reproduction. 複数の予備画像を撮影する例を示す説明図である。It is explanatory drawing which shows the example which image | photographs several preliminary images. 動画撮影中の静止画撮影時の予備画像の解像度の例を示す説明図である。It is explanatory drawing which shows the example of the resolution of the preliminary image at the time of still image photography during video photography. 静止画撮影時の予備画像の解像度の例を示す説明図である。It is explanatory drawing which shows the example of the resolution of the preliminary image at the time of still image photography. 類似度と予備画像の解像度の関係を示す説明図である。It is explanatory drawing which shows the relationship between the similarity and the resolution of a preliminary image. 類似度に応じて予備画像の解像度を決定する例を示す説明図である。It is explanatory drawing which shows the example which determines the resolution of a preliminary image according to a similarity. 本実施形態の変形例の電子カメラ101aの構成を示すブロック図である。It is a block diagram which shows the structure of the electronic camera 101a of the modification of this embodiment. 電子カメラ101aの動作例を示す説明図である。It is explanatory drawing which shows the operation example of the electronic camera 101a.

以下、本発明に係る電子カメラ101の実施形態について説明する。図1は、本実施形態に係る電子カメラ101の構成を示すブロック図である。図1において、電子カメラ101は、撮像部102と、画像バッファ103と、画像処理部104と、記憶部105と、制御部106と、操作部107とで基本的に構成される。尚、図1において、各部はシステムバス108で相互に接続されて、制御信号や画像データなどを入出力できる。また、図1の電子カメラ101に撮影中の画像や撮影済みの画像を再生できるように表示部109を設けても構わない。或いは、記憶部105をメモリカードで構成して、撮影済みの画像をパソコンなどで読み出して再生するようにしても構わない。   Hereinafter, embodiments of the electronic camera 101 according to the present invention will be described. FIG. 1 is a block diagram illustrating a configuration of an electronic camera 101 according to the present embodiment. In FIG. 1, the electronic camera 101 basically includes an imaging unit 102, an image buffer 103, an image processing unit 104, a storage unit 105, a control unit 106, and an operation unit 107. In FIG. 1, the units are connected to each other via a system bus 108 and can input / output control signals, image data, and the like. In addition, the display unit 109 may be provided so that the electronic camera 101 in FIG. Alternatively, the storage unit 105 may be configured by a memory card, and a captured image may be read out and reproduced by a personal computer or the like.

図1において、撮像部102は、光学系201と、CCD型またはCMOS型の固体撮像素子202と、AFE(アナログフロントエンド)203と、TG(タイミングジェネレータ)204とで構成される。   In FIG. 1, the imaging unit 102 includes an optical system 201, a CCD or CMOS solid-state imaging device 202, an AFE (analog front end) 203, and a TG (timing generator) 204.

ここで、固体撮像素子202は、撮影した画像を指定された複数の解像度で読み出すことができる多重解像度データの出力機能を備えた撮像素子である。解像度の指定は制御部106が行い、制御部106は撮像部102のTG204に対して固体撮像素子202から読み出す画像の解像度を指示する。TG204は、制御部106から指示された解像度の画像になるように行読み出しタイミング信号や列読み出しタイミング信号を固体撮像素子202およびAFE203に出力し、指示された解像度の画像データを画像バッファ103に取り込む。   Here, the solid-state image sensor 202 is an image sensor having a function of outputting multi-resolution data that can read a captured image at a plurality of designated resolutions. The control unit 106 designates the resolution, and the control unit 106 instructs the TG 204 of the imaging unit 102 to specify the resolution of the image read from the solid-state imaging device 202. The TG 204 outputs a row readout timing signal and a column readout timing signal to the solid-state imaging device 202 and the AFE 203 so as to obtain an image with the resolution instructed from the control unit 106, and takes in the image data with the instructed resolution into the image buffer 103. .

尚、固体撮像素子202がCMOS型の固体撮像素子である場合は、アドレッシング機能によって二次元行列状に配置された画素の読み出す行と列の位置を指定できるので所望の解像度の画像を直接得ることができるが、固体撮像素子202がCCD型の固体撮像素子である場合は、読み出す画素の列位置を指定できないので、行の位置のみを指定して読み出した後で所望の解像度になるように不要な列の画像データを削除する必要がある。本実施形態の説明では、分かり易いように、固体撮像素子202は、CMOS型の固体撮像素子とする。そして、図2において、全画素読み出しの解像度を1とした場合、1/4,1/16,1/64,1/256,1/1024のように1/4ずつの解像度で読み出すことができるものとするが、1/8や1/10など他の解像度で読み出すようにしても構わない。また、全画素読み出しの解像度を基準にする必要はなく、例えば1/4の解像度の画像を基準にしても構わない。   If the solid-state image sensor 202 is a CMOS solid-state image sensor, the row and column positions to be read out of the pixels arranged in a two-dimensional matrix can be specified by the addressing function, so that an image with a desired resolution can be obtained directly. However, if the solid-state image sensor 202 is a CCD solid-state image sensor, the column position of the pixel to be read out cannot be specified, so it is not necessary to specify the row position and read out the desired resolution. It is necessary to delete the image data of the correct column. In the description of this embodiment, for the sake of easy understanding, the solid-state image sensor 202 is assumed to be a CMOS solid-state image sensor. In FIG. 2, when the resolution of all pixel readout is 1, it is possible to read at 1/4 resolution such as 1/4, 1/16, 1/64, 1/256, 1/1024. However, it may be read at other resolutions such as 1/8 or 1/10. Further, it is not necessary to use the resolution of all pixel readout as a reference, and for example, an image having a resolution of 1/4 may be used as a reference.

図1において、制御部106は、原画像取得処理部151と、解像度決定処理部152と、予備画像取得処理部153と、類似度判定処理部154とで構成される。原画像取得処理部151は、通常の電子カメラと同様に、静止画撮影や所定フレームレートで動画撮影を行う。ここで、静止画撮影される画像および所定フレーム間隔で動画撮影される画像を原画像と定義し、原画像以外に撮影される画像を予備画像と定義する。解像度決定処理部152は、予備画像の解像度を決定する処理を行う。予備画像取得処理部153は、原画像の撮影の合間に解像度決定処理部152が決定した解像度で予備画像を撮影する処理を行う。類似度判定処理部154は、予備画像や原画像の間の類似度を判定する処理を行う。尚、各部の処理については、後で詳しく説明する。   In FIG. 1, the control unit 106 includes an original image acquisition processing unit 151, a resolution determination processing unit 152, a preliminary image acquisition processing unit 153, and a similarity determination processing unit 154. The original image acquisition processing unit 151 performs still image shooting and moving image shooting at a predetermined frame rate, as in a normal electronic camera. Here, an image captured as a still image and an image captured as a moving image at a predetermined frame interval are defined as original images, and an image captured other than the original image is defined as a preliminary image. The resolution determination processing unit 152 performs processing for determining the resolution of the preliminary image. The preliminary image acquisition processing unit 153 performs processing for capturing a preliminary image at the resolution determined by the resolution determination processing unit 152 between the capturing of the original image. The similarity determination processing unit 154 performs processing for determining the similarity between the preliminary image and the original image. The processing of each unit will be described in detail later.

図1において、被写体からの光は光学系201によって、固体撮像素子202の受光面に結像される。固体撮像素子202の受光面には光電変換部が二次元状に配置されており、各光電変換部は受光量に応じた大きさのアナログ信号に変換してAFE203に出力する。AFE203は、固体撮像素子202が出力するアナログ信号のノイズ除去や増幅などを行い、デジタルの画像データにA/D変換して画像バッファ103に一時的に記憶する。そして、画像バッファ103に一時的に記憶された画像データは、画像処理部104によって所定の画像処理(例えば、色補間処理,ホワイトバランス処理,輪郭処理,ガンマ変換処理など)が施される。尚、画像処理部104は、静止画撮影の場合は例えばJPEG規格に準拠した画像圧縮処理を行い、動画撮影の場合は例えばMPEG規格に準拠した画像圧縮処理を行う。そして、画像圧縮処理後の画像データは記憶部105に撮影画像として保存される。ここで、制御部106は予め内部に記憶されたプログラムに従って動作し、操作部107の操作内容に応じて電子カメラ101全体の動作を制御する。操作部107は、電源ボタン,レリーズボタン,動画撮影ボタン,モード切替ダイヤルなどの操作部材で構成され、ユーザはこれらの操作部材を操作して電子カメラ101を使用する。例えば、電源ボタンで電子カメラ101の電源オン/オフを操作し、レリーズボタンで静止画の撮影を行い、動画撮影ボタンで動画撮影の開始/終了を操作する。また、モード切替ダイヤルで撮影モードと再生モードを切り替えることができる。撮影モードでは、静止画単写モード(1枚の静止画を撮影するモード)、静止画連写モード、動画撮影モード、動画/静止画撮影モード(動画撮影中に静止画撮影ができるモード)などを選択することができる。また、再生モードでは、撮影済みの静止画の表示または動画再生を選択することができ、特に動画再生においてはスロー再生,コマ送り再生,早送り再生などの特殊再生モードを選択することができる。   In FIG. 1, light from a subject is imaged on a light receiving surface of a solid-state image sensor 202 by an optical system 201. A photoelectric conversion unit is two-dimensionally arranged on the light receiving surface of the solid-state imaging device 202. Each photoelectric conversion unit converts the photoelectric conversion unit into an analog signal having a magnitude corresponding to the amount of received light and outputs the analog signal to the AFE 203. The AFE 203 performs noise removal and amplification of the analog signal output from the solid-state imaging device 202, A / D converts it into digital image data, and temporarily stores it in the image buffer 103. The image data temporarily stored in the image buffer 103 is subjected to predetermined image processing (for example, color interpolation processing, white balance processing, contour processing, gamma conversion processing) by the image processing unit 104. Note that the image processing unit 104 performs image compression processing conforming to, for example, the JPEG standard in the case of still image shooting, and performs image compression processing in accordance with, for example, the MPEG standard in the case of moving image shooting. The image data after the image compression processing is stored in the storage unit 105 as a captured image. Here, the control unit 106 operates according to a program stored therein in advance, and controls the entire operation of the electronic camera 101 according to the operation content of the operation unit 107. The operation unit 107 includes operation members such as a power button, a release button, a moving image shooting button, a mode switching dial, and the user uses the electronic camera 101 by operating these operation members. For example, the power button is used to turn on / off the electronic camera 101, the release button is used to take a still image, and the movie shooting button is used to start / end movie shooting. The shooting mode and the playback mode can be switched with the mode switching dial. In shooting mode, still image single shooting mode (mode to shoot a single still image), still image continuous shooting mode, movie shooting mode, movie / still image shooting mode (mode that can shoot still images during movie shooting), etc. Can be selected. Further, in the playback mode, it is possible to select display of still images that have been shot or playback of moving images, and in particular, in playback of moving images, special playback modes such as slow playback, frame advance playback, and fast forward playback can be selected.

ここで、本実施形態の説明において、通常の電子カメラと同様に所定のフレームレートで撮影される動画やレリーズボタン押下時に撮影される静止画を原画像(または本画像)と定義し、原画像とは別に補助的に撮影される画像を予備画像と定義する。本実施形態に係る電子カメラ101は、原画像だけでなく予備画像を撮影する機能を有している。例えば動画撮影時の予備画像は、動画をスロー再生する際に原画像のフレーム間の補間画像として利用する。また、静止画撮影時の予備画像は、例えば撮影された静止画を高画質化したり、印刷時に高解像度化する処理などに利用する。尚、予備画像は原画像と同じ解像度の画像であっても構わないが、本実施形態では原画像より低い解像度で撮影し、複数の予備画像を撮影する場合は各予備画像の解像度は異なっていても構わない。特に本実施形態に係る電子カメラ101は、予備画像の前に撮影される画像間の類似度(特徴量の差)に応じて予備画像の解像度を可変するようになっている。   Here, in the description of the present embodiment, a moving image shot at a predetermined frame rate and a still image shot when the release button is pressed are defined as an original image (or a main image) as in a normal electronic camera, and an original image is defined. Apart from that, an auxiliary image is defined as a preliminary image. The electronic camera 101 according to the present embodiment has a function of capturing not only an original image but also a preliminary image. For example, the preliminary image at the time of moving image shooting is used as an interpolated image between frames of the original image when the moving image is slowly reproduced. In addition, the preliminary image at the time of still image shooting is used for, for example, processing for improving the image quality of a shot still image or increasing the resolution at the time of printing. Note that the preliminary image may be an image having the same resolution as the original image. However, in this embodiment, when a plurality of preliminary images are captured, the resolution of each preliminary image is different. It doesn't matter. In particular, the electronic camera 101 according to the present embodiment is configured to vary the resolution of the preliminary image in accordance with the similarity (difference in feature amount) between images captured before the preliminary image.

ここで、予備画像の解像度は、図2の例の場合、固体撮像素子202の原画像の解像度を1として、1/4,1/16,1/64,1/256,1/1024のように1/4ずつの解像度に対応する。尚、原画像の解像度は、必ずしも固体撮像素子202の全画素読み出しに対応する解像度である必要はなく、例えば固体撮像素子202の全画素の1/4の解像度で動画撮影を行っても構わない。   Here, in the example of FIG. 2, the resolution of the preliminary image is 1/4, 1/16, 1/64, 1/256, 1/1024, where the resolution of the original image of the solid-state imaging device 202 is 1. Corresponds to a resolution of 1/4. Note that the resolution of the original image does not necessarily need to be a resolution corresponding to all-pixel reading of the solid-state imaging device 202, and for example, moving image shooting may be performed with a resolution of 1/4 of all the pixels of the solid-state imaging device 202. .

次に、原画像および予備画像の解像度と撮影時に画像バッファ103に取り込むデータ量(またはデータ取得時間)との関係について図3を用いて説明する。図3は、時間的に前後する2枚の原画像の間の期間(時間)を示した図で、動画撮影モードの場合はフレーム間隔に相当し、静止画連写撮影モードの場合は連写間隔に相当する。尚、静止画単写撮影モードの場合でも次に撮影可能になるまでの時間に対応させることができる。   Next, the relationship between the resolution of the original image and the preliminary image and the amount of data (or data acquisition time) taken into the image buffer 103 at the time of shooting will be described with reference to FIG. FIG. 3 is a diagram showing a period (time) between two original images that move back and forth in time, which corresponds to the frame interval in the moving image shooting mode, and in the still image continuous shooting mode. Corresponds to the interval. Even in the still image single shooting mode, it is possible to correspond to the time until the next shooting is possible.

図3において、横軸は時間tを示し、最初の原画像の取得をタイミングT1で開始し、次の原画像の取得をタイミングT3で開始する。動画撮影モードの場合は、タイミングT1からタイミングT3までの期間(T_cap)がフレーム取得可能期間となり、例えばフレームレートが30フレーム/秒の場合はタイミングT1からタイミングT3までの期間は1/30秒(sec)となる。ところが、実際の処理では、1枚の原画像を取得する時間は期間T_capより短く、実質的な原画像取得時間はタイミングT1からタイミングT2までの期間(T_base)となり、タイミングT2からタイミングT3までの期間は画像の取得処理を行っていないアイドル期間(T_idle)となる。例えば、分かり易いように、フレーム取得可能期間T_cap=1.25sec、原画像取得時間T_base=1secとした場合、アイドル期間T_idle=0.25secとなる。つまり、アイドル期間T_idle(0.25sec)は、原画像の1/4の解像度の画像を撮影して画像バッファ103に取り込み可能な時間に相当する。従って、1の解像度の原画像を撮影する間に、更に1/4の解像度の画像(予備画像)を撮影することができる。   In FIG. 3, the horizontal axis indicates time t, the acquisition of the first original image is started at timing T1, and the acquisition of the next original image is started at timing T3. In the video shooting mode, a period from timing T1 to timing T3 (T_cap) is a frame acquisition period. For example, when the frame rate is 30 frames / second, the period from timing T1 to timing T3 is 1/30 seconds ( sec). However, in actual processing, the time for acquiring one original image is shorter than the period T_cap, and the substantial original image acquisition time is a period (T_base) from timing T1 to timing T2, from timing T2 to timing T3. The period is an idle period (T_idle) in which no image acquisition process is performed. For example, when it is assumed that the frame acquisition possible period T_cap = 1.25 sec and the original image acquisition time T_base = 1 sec, the idle period T_idle = 0.25 sec. That is, the idle period T_idle (0.25 sec) corresponds to a time during which an image having a resolution of 1/4 of the original image can be taken and captured in the image buffer 103. Accordingly, while an original image having a resolution of 1 is captured, an image having a resolution of 1/4 (preliminary image) can be captured.

尚、電子カメラ101の回路構成によっては、画像の取り込みだけではなく撮影時に別の処理を行わなければならない電子カメラもあるので、上記の説明のように単純にアイドル期間T_idle全てを予備画像の撮影に利用できない場合もあるが、1/4の解像度より小さい解像度の画像の取り込みは可能である。尚、本実施形態の説明においては、分かり易いように、フレーム取得可能期間T_cap=原画像取得期間T_base+アイドル期間T_idleの関係が成り立つものとして説明する。また、実際には撮影する画像の解像度に依らない画像取得に必要な共通の処理時間が含まれる場合があるので、必ずしも解像度が1/k(kは自然数)になれば画像取得時間が1/kになるとは限らないが、本実施形態の説明では解像度比=画像取得時間比として説明する。   Depending on the circuit configuration of the electronic camera 101, there is an electronic camera that must perform not only image capture but also other processing at the time of shooting. Therefore, as described above, the entire idle period T_idle can be simply captured. However, it is possible to capture an image with a resolution smaller than ¼ resolution. In the description of the present embodiment, for the sake of easy understanding, it is assumed that the relationship of frame acquisition possible period T_cap = original image acquisition period T_base + idle period T_idle is satisfied. In addition, since there may be a case where a common processing time necessary for image acquisition that does not depend on the resolution of the image to be actually taken is included, if the resolution is 1 / k (k is a natural number), the image acquisition time is 1 / k. Although not necessarily k, in the description of this embodiment, the description will be made assuming that resolution ratio = image acquisition time ratio.

例えば図3において、原画像取得時間T_base=1sec、アイドル期間T_idle=0.25secの場合は、アイドル期間T_idleに原画像の1/4の解像度の予備画像を1枚撮影することができる。また、原画像の1/16の解像度の予備画像であれば4枚の撮影が可能であり、原画像の1/64の解像度の予備画像であれば16枚の撮影が可能である。同様に、原画像の1/256の解像度の予備画像であれば64枚、原画像の1/1024の解像度の予備画像であれば256枚の予備画像がそれぞれ撮影可能である。   For example, in FIG. 3, when the original image acquisition time T_base = 1 sec and the idle period T_idle = 0.25 sec, one preliminary image having a resolution of 1/4 of the original image can be taken in the idle period T_idle. In addition, if the preliminary image has a resolution of 1/16 of the original image, four images can be captured, and if the preliminary image has a resolution of 1/64 of the original image, 16 images can be captured. Similarly, 64 preliminary images can be captured if the preliminary image has a resolution of 1/256 of the original image, and 256 preliminary images if the preliminary image has a resolution of 1/1024 of the original image.

ここで、アイドル期間T_idleに撮影する予備画像の枚数は、この期間内に撮影可能な最大解像度の予備画像を1枚だけ撮影するようにしても構わないし、小さな解像度の複数枚の予備画像を組み合わせて撮影しても構わない。この場合、複数の予備画像の解像度は同じ解像度であっても構わないし、異なる解像度であっても構わない。例えば、図3の例において、アイドル期間T_idle=0.25secの場合、原画像の1/4の解像度の予備画像を1枚だけ撮影するのではなく、原画像の1/16の解像度の予備画像を2枚と、原画像の1/64の解像度の予備画像を4枚と、原画像の1/256の解像度の予備画像を16枚とを組み合わせて撮影するようにしても構わない。   Here, the number of preliminary images to be captured during the idle period T_idle may be such that only one preliminary image with the maximum resolution that can be captured within this period may be captured, or a plurality of preliminary images with small resolutions may be combined. You can shoot. In this case, the resolutions of the plurality of preliminary images may be the same resolution or different resolutions. For example, in the example of FIG. 3, when the idle period T_idle = 0.25 sec, a preliminary image having a resolution of 1/16 of the original image is not captured, but a single preliminary image having a resolution of 1/4 of the original image is captured. 2 images, 4 preliminary images having a resolution of 1/64 of the original image, and 16 preliminary images having a resolution of 1/256 of the original image may be taken in combination.

このように、本実施形態に係る電子カメラ101は、制御部106の指令によって、原画像を撮影する間のアイドル期間T_idleに少なくとも1枚の予備画像を撮影して画像バッファ103に取り込むことができるようになっている。
[スロー再生用の予備画像を撮影する場合の例]
次に、動画撮影時にスロー再生用の予備画像を取り込む場合の例について図4を用いて説明する。本実施例では、撮影した動画をスロー再生する際に、原画像のフレーム間に撮影された予備画像を補間画像として利用することによって、実質的なフレームレートが高くなるので、従来の補間画像を用いる方法に比べて、スムーズで自然なスロー再生を行うことができる。
As described above, the electronic camera 101 according to the present embodiment can capture at least one preliminary image during the idle period T_idle while capturing the original image and take it into the image buffer 103 in accordance with a command from the control unit 106. It is like that.
[Example of shooting a preliminary image for slow playback]
Next, an example in which a preliminary image for slow playback is captured during moving image shooting will be described with reference to FIG. In this embodiment, when a captured moving image is slowly played back, a substantial frame rate is increased by using a preliminary image captured between frames of the original image as an interpolation image. Compared to the method used, smooth and natural slow reproduction can be performed.

図4は制御部106の処理例を示し、原画像取得処理部151が所定のフレームレート(所定のフレーム間隔)で撮影する動画の原画像間に、予備画像取得処理部153が撮影する予備画像の解像度を解像度決定処理部152が決定する。尚、図4(a)および図4(b)において、縦軸は原画像および予備画像の解像度を示し、横軸はフレーム番号の時間的な流れを示す。ここで、図4(a)は、フレーム(n−3)からフレーム(n+3)までの動画の原画像が解像度1/1で所定のフレーム間隔で撮影される様子を示している。また、図4(b)は、図4(a)のフレーム(n−1)とフレーム(n)の間で撮影される予備画像の位置と解像度の例を示した図である。   FIG. 4 shows a processing example of the control unit 106, and a preliminary image captured by the preliminary image acquisition processing unit 153 between the original images of a moving image captured by the original image acquisition processing unit 151 at a predetermined frame rate (predetermined frame interval). The resolution determination processing unit 152 determines the resolution of. In FIGS. 4A and 4B, the vertical axis indicates the resolution of the original image and the preliminary image, and the horizontal axis indicates the temporal flow of the frame number. Here, FIG. 4A shows a state in which a moving image original image from the frame (n−3) to the frame (n + 3) is captured at a predetermined frame interval with a resolution of 1/1. FIG. 4B is a diagram illustrating an example of the position and resolution of a preliminary image captured between the frame (n−1) and the frame (n) in FIG.

図4(b)の例において、制御部106の解像度決定処理部152は、フレーム(n−1)またはフレーム(n)の原画像に時間的に近い位置にある予備画像を低い解像度に決定し、フレーム(n−1)またはフレーム(n)の原画像に時間的に遠い位置にある予備画像を高い解像度に決定する。そして、制御部106の予備画像取得処理部153は、決定された解像度でそれぞれの予備画像を撮影する。ここで、各予備画像の撮影間隔を示すΔfは必ずしも等間隔である必要はないが、図4(b)ではわかり易いようにフレーム間隔を1/6した時の時間間隔をΔfとして描いてある。例えば予備画像301は、フレーム(n)の原画像から時間Δf前の位置で撮影される予備画像(フレーム番号を(n−Δf)と記す)である。また、予備画像302は、フレーム(n)の原画像から時間(2・Δf)前の位置で撮影される予備画像(フレーム番号を(n−2・Δf)と記す)である。ここで、2・Δfは時間Δfの2倍の時間であることを示している。同様に、予備画像303はフレーム(n)の原画像から時間(3・Δf)前の位置で撮影される予備画像(フレーム番号(n−3・Δf))であり、予備画像304はフレーム(n)の原画像から時間(4・Δf)前の位置で撮影される予備画像(フレーム番号(n−4・Δf))であり、予備画像305はフレーム(n)の原画像から時間(5・Δf)前の位置で撮影される予備画像(フレーム番号(n−5・Δf))である。   In the example of FIG. 4B, the resolution determination processing unit 152 of the control unit 106 determines a preliminary image at a position close in time to the original image of the frame (n−1) or the frame (n) to a low resolution. The preliminary image at a position far in time from the original image of frame (n-1) or frame (n) is determined to have a high resolution. Then, the preliminary image acquisition processing unit 153 of the control unit 106 captures each preliminary image with the determined resolution. Here, Δf indicating the shooting interval of each preliminary image is not necessarily equal, but in FIG. 4B, the time interval when the frame interval is 1/6 is drawn as Δf for easy understanding. For example, the preliminary image 301 is a preliminary image (a frame number is expressed as (n−Δf)) taken at a position before the time Δf from the original image of the frame (n). The preliminary image 302 is a preliminary image (a frame number is expressed as (n−2 · Δf)) taken at a position before the time (2 · Δf) from the original image of the frame (n). Here, 2 · Δf indicates that the time is twice the time Δf. Similarly, the preliminary image 303 is a preliminary image (frame number (n−3 · Δf)) taken at a position before the time (3 · Δf) from the original image of the frame (n). n) is a preliminary image (frame number (n−4 · Δf)) taken at a position before time (4 · Δf) from the original image of n), and the preliminary image 305 is time (5) from the original image of frame (n). Δf) A preliminary image (frame number (n−5 · Δf)) taken at the previous position.

ここで、解像度決定処理部152は、予備画像303がフレーム(n)とフレーム(n−1)の中間に位置し、他の予備画像よりも両方のフレームから遠い位置にあるので、予備画像303をできるだけ高い解像度(原画像の1/4の解像度)に決定する。また、予備画像301と予備画像305はそれぞれフレーム(n)またはフレーム(n−1)に近い位置なので、低い解像度(原画像の1/64の解像度)に決定する。さらに、予備画像302と予備画像304はそれぞれ予備画像301(または予備画像305)と予備画像303の中間に位置するので、予備画像301(または予備画像305)の解像度と予備画像303の解像度との中間の解像度(原画像の1/16の解像度)に決定する。そして、制御部106の予備画像取得処理部153は、決定された解像度でそれぞれの予備画像を撮影する。   Here, since the preliminary image 303 is located between the frame (n) and the frame (n−1), the resolution determination processing unit 152 is located farther from both frames than the other preliminary images. Is set as high as possible (1/4 resolution of the original image). Further, since the preliminary image 301 and the preliminary image 305 are close to the frame (n) or the frame (n−1), respectively, the resolution is determined to be low (1/64 resolution of the original image). Further, since the preliminary image 302 and the preliminary image 304 are positioned between the preliminary image 301 (or the preliminary image 305) and the preliminary image 303, respectively, the resolution of the preliminary image 301 (or the preliminary image 305) and the resolution of the preliminary image 303 are determined. An intermediate resolution (1/16 the resolution of the original image) is determined. Then, the preliminary image acquisition processing unit 153 of the control unit 106 captures each preliminary image with the determined resolution.

尚、図4(b)は、解像度決定処理部152が予備画像の解像度の決定する一例を説明するための図であり、実際には、動画撮影のフレーム間で撮影する少なくとも1枚の予備画像を取り込むために必要な時間の総和は、図3で説明したアイドル期間T_idleを超えてはならない。例えば、図4(b)は、実際には図5(a)に示すように、原画像のフレーム(n−1)を画像バッファ103に取り込むタイミングT2までの時間T_base後のアイドル期間T_idleに取り込み可能な予備画像(例えば図4(b)の予備画像301と予備画像302の2つの予備画像)を撮影する。或いは、アイドル期間T_idleに予備画像302だけしか撮影する時間がない場合は、図5(b)に示すように、予備画像302だけを撮影するようにしても構わないし、予備画像302よりも低い解像度の予備画像301を撮影するようにしても構わない。   FIG. 4B is a diagram for explaining an example in which the resolution determination processing unit 152 determines the resolution of the preliminary image. Actually, at least one preliminary image that is captured between frames for moving image capturing is illustrated. The total amount of time required for capturing the image must not exceed the idle period T_idle described with reference to FIG. For example, FIG. 4B actually captures in the idle period T_idle after the time T_base until the timing T2 when the frame (n−1) of the original image is captured in the image buffer 103, as shown in FIG. Possible preliminary images (for example, two preliminary images 301 and 302 in FIG. 4B) are taken. Alternatively, when only the preliminary image 302 is captured during the idle period T_idle, only the preliminary image 302 may be captured as shown in FIG. The preliminary image 301 may be taken.

このように、動画撮影モードにおいて、アイドル期間T_idle内に複数の予備画像を撮影可能な場合は、前後するフレームの原画像から近い位置にある予備画像の解像度を原画像から遠い位置にある予備画像の解像度よりも低くすることにより、限られたアイドル期間T_idle内にできるだけ多くの予備画像を撮影することができる。これは、原画像に近い位置にある予備画像は遠い位置にある予備画像よりも原画像に類似している可能性が高いので、低い解像度で撮影しても十分に原画像の補間画像として利用できるからである。この結果、撮影した動画をスロー再生する場合に、品質の高い補間画像を生成することができ、スムーズで自然なスロー再生を行うことができる。尚、類似度については後で詳しく説明する。
[動画撮影中に静止画撮影をする場合の例]
次に、動画撮影中に操作部107のレリーズボタンを押下して静止画を撮影する撮影モードにおいて、撮影した静止画を高画質化するための予備画像を撮影する例について図6を用いて説明する。
As described above, in the moving image shooting mode, when a plurality of preliminary images can be captured within the idle period T_idle, the resolution of the preliminary image located near the original image of the preceding and following frames is set to the preliminary image located far from the original image. By making the resolution lower than the resolution of, as many preliminary images as possible can be taken within a limited idle period T_idle. This is because a preliminary image at a position close to the original image is more likely to be similar to the original image than a preliminary image at a far position, so it can be used as an interpolated image of the original image even if it is taken at a low resolution. Because it can. As a result, when a captured moving image is played back slowly, a high-quality interpolation image can be generated, and smooth and natural slow playback can be performed. The similarity will be described in detail later.
[Example of taking a still image while shooting a movie]
Next, an example of shooting a preliminary image for improving the image quality of a shot still image in a shooting mode for shooting a still image by pressing the release button of the operation unit 107 during moving image shooting will be described with reference to FIG. To do.

図6(a)は、先に説明した図4(a)に相当する図で、制御部106の原画像取得処理部151がフレーム(n−3)からフレーム(n+3)までの動画の原画像(解像度1/1)を所定のフレーム間隔で撮影する様子を示している。また、図6(b)は、図6(a)のフレーム(n)のタイミングで操作部107のレリーズボタンが押下された時に、制御部106の原画像取得処理部151がフレーム(n)を静止画(原画像)として撮影する場合の様子を示している。この時、制御部106の予備画像取得処理部153がフレーム(n)の原画像を高画質化するためにフレーム(n)前後で撮影する予備画像の位置と解像度の例を示した図である。尚、図4と同様に、図6(a)および図6(b)において、縦軸は原画像および予備画像の解像度を示し、横軸はフレーム番号の時間的な流れを示す。   FIG. 6A is a diagram corresponding to FIG. 4A described above, and the original image acquisition processing unit 151 of the control unit 106 is an original image of a moving image from frame (n−3) to frame (n + 3). A state in which (resolution 1/1) is photographed at a predetermined frame interval is shown. 6B shows that when the release button of the operation unit 107 is pressed at the timing of the frame (n) in FIG. 6A, the original image acquisition processing unit 151 of the control unit 106 selects the frame (n). A state in the case of shooting as a still image (original image) is shown. At this time, the preliminary image acquisition processing unit 153 of the control unit 106 is a diagram illustrating an example of the position and resolution of the preliminary image captured before and after the frame (n) in order to improve the quality of the original image of the frame (n). . As in FIG. 4, in FIGS. 6A and 6B, the vertical axis indicates the resolution of the original image and the preliminary image, and the horizontal axis indicates the temporal flow of the frame number.

図6(b)において、制御部106の解像度決定処理部152は、フレーム(n)の原画像に時間的に近い位置にある予備画像を低い解像度に決定し、フレーム(n)の原画像に時間的に遠い位置にある予備画像を高い解像度に決定する。そして、制御部106の予備画像取得処理部153は、決定された解像度でそれぞれの予備画像を撮影する。ここで、Δfは、図4(b)と同様に、フレーム間隔を1/6した時の時間間隔を示しているが、Δfは必ずしも等間隔である必要はない。例えば予備画像401は、フレーム(n)の原画像から時間Δf後の位置で撮影される予備画像(フレーム番号を(n+Δf)と記す)である。また、予備画像402は、フレーム(n)の原画像から時間(2・Δf)後の位置で撮影される予備画像(フレーム番号を(n+2・Δf)と記す)である。ここで、2・Δfは、図4(b)と同様に、時間Δfの2倍の時間であることを示している。以下、同様に、予備画像403はフレーム(n)の原画像から時間(3・Δf)後の位置で撮影される予備画像(フレーム番号(n+3・Δf))であり、予備画像404はフレーム(n)の原画像から時間(Δf)前の位置で撮影される予備画像(フレーム番号(n−Δf))であり、予備画像405はフレーム(n)の原画像から時間(2・Δf)前の位置で撮影される予備画像(フレーム番号(n−2・Δf))であり、予備画像406はフレーム(n)の原画像から時間(3・Δf)前の位置で撮影される予備画像(フレーム番号(n−3・Δf))である。   In FIG. 6B, the resolution determination processing unit 152 of the control unit 106 determines a preliminary image at a position close in time to the original image of the frame (n) to a low resolution, and converts it to the original image of the frame (n). A preliminary image located far in time is determined to have a high resolution. Then, the preliminary image acquisition processing unit 153 of the control unit 106 captures each preliminary image with the determined resolution. Here, Δf indicates the time interval when the frame interval is 1/6 as in FIG. 4B, but Δf does not necessarily have to be equal. For example, the preliminary image 401 is a preliminary image (frame number is expressed as (n + Δf)) taken at a position after a time Δf from the original image of the frame (n). The preliminary image 402 is a preliminary image (frame number is expressed as (n + 2 · Δf)) taken at a position after the time (2 · Δf) from the original image of the frame (n). Here, 2 · Δf indicates that the time is twice the time Δf, as in FIG. 4B. Hereinafter, similarly, the preliminary image 403 is a preliminary image (frame number (n + 3 · Δf)) taken at a position after the time (3 · Δf) from the original image of the frame (n). n) is a preliminary image (frame number (n−Δf)) taken at a position before time (Δf) from the original image of n), and the preliminary image 405 is before time (2 · Δf) from the original image of frame (n). Is a preliminary image (frame number (n−2 · Δf)), and the preliminary image 406 is a preliminary image (at a time (3 · Δf) before the frame (n). Frame number (n−3 · Δf)).

ここで、制御部106の解像度決定処理部152は、予備画像401と予備画像404はフレーム(n)に一番近い位置にあるので低い解像度(原画像の1/64の解像度)に決定し、予備画像403と予備画像406はフレーム(n)に一番遠い位置にあるので高い解像度(原画像の1/4の解像度)に決定する。また、予備画像402と予備画像405は、予備画像401および予備画像404と予備画像403および予備画像406との中間に位置するのでこれらの解像度の中間の解像度(原画像の1/16の解像度)に決定する。そして、制御部106の予備画像取得処理部153は、決定された解像度でそれぞれの予備画像を撮影する。   Here, the resolution determination processing unit 152 of the control unit 106 determines the low resolution (the resolution of 1/64 of the original image) because the preliminary image 401 and the preliminary image 404 are closest to the frame (n). Since the preliminary image 403 and the preliminary image 406 are located farthest from the frame (n), they are determined to have a high resolution (1/4 resolution of the original image). Further, since the preliminary image 402 and the preliminary image 405 are positioned between the preliminary image 401 and the preliminary image 404 and the preliminary image 403 and the preliminary image 406, the intermediate resolution of these resolutions (1/16 the resolution of the original image). To decide. Then, the preliminary image acquisition processing unit 153 of the control unit 106 captures each preliminary image with the determined resolution.

尚、図6(b)は、解像度決定処理部152が動画撮影中に行われる静止画を高解像度化するために撮影される予備画像の解像度を決定する一例を説明するための図であり、実際には、動画撮影のフレーム間で撮影する少なくとも1枚の予備画像を取り込むために必要な時間の総和は、図3で説明したアイドル期間T_idleを超えてはならない。例えば、アイドル期間T_idleの間に取り込み可能な予備画像が1/16の解像度の予備画像1枚と1/64の解像度の予備画像1枚である場合は、図6(b)において、フレーム(n)の前では予備画像404と予備画像405の2枚だけを撮影し、フレーム(n)の後では予備画像401と予備画像402の2枚だけを撮影する。これにより、動画撮影に影響を与えることなく、撮影した静止画像を高画質化するための予備画像を撮影することができる。尚、高画質化は、例えば画素数を増やして超空間解像度化する手法などを用いることができ、フレーム(n)の解像度1の静止画を予備画像401と予備画像402の画像データで補間して例えば2倍の解像度(解像度2)に高解像度化することができる。   FIG. 6B is a diagram for explaining an example in which the resolution determination processing unit 152 determines the resolution of a preliminary image that is captured to increase the resolution of a still image that is performed during moving image capturing. Actually, the total time required for capturing at least one preliminary image to be captured between frames for moving image capture must not exceed the idle period T_idle described with reference to FIG. For example, when the preliminary image that can be captured during the idle period T_idle is one preliminary image having a resolution of 1/16 and one preliminary image having a resolution of 1/64, a frame (n 2), only the preliminary image 404 and the preliminary image 405 are photographed, and after the frame (n), only the preliminary image 401 and the preliminary image 402 are photographed. As a result, it is possible to capture a preliminary image for improving the image quality of the captured still image without affecting moving image shooting. For example, a technique for increasing the number of pixels to achieve a super spatial resolution can be used to improve the image quality. A still image with a resolution of 1 in frame (n) is interpolated with image data of the preliminary image 401 and the preliminary image 402. For example, the resolution can be increased to double the resolution (resolution 2).

ここで、図6(b)において、予備画像404,予備画像405および予備画像406は、レリーズボタンが押下される前(フレーム(n)の原画像の撮影前)なので実際には予備画像の取得が難しいが、例えばレリーズボタンの半押し時点(一般的な電子カメラでは、レリーズボタンの半押しで焦点検出や測光などを行うようになっている)からリングバッファに予備画像を繰り返し取り込むようにして、レリーズボタンの全押し時点(静止画の撮影時点)でリングバッファへの予備画像の取り込みを終了することで、静止画撮影前の予備画像の取り込みが可能になる。尚、この場合のリングバッファの記憶容量は、アイドル期間T_idleで取り込み可能な最大解像度の予備画像のデータ量があれば十分である。   Here, in FIG. 6B, the preliminary image 404, the preliminary image 405, and the preliminary image 406 are actually acquired before the release button is pressed (before the original image of the frame (n) is captured). Although it is difficult, for example, a preliminary image is repeatedly taken into the ring buffer from the point when the release button is half-pressed (in general electronic cameras, focus detection and photometry are performed by half-pressing the release button). When the release button is fully pressed (still image capturing time), the preparatory image before still image capturing can be captured by terminating the capturing of the preliminary image into the ring buffer. In this case, the storage capacity of the ring buffer is sufficient if there is a data amount of a preliminary image with the maximum resolution that can be captured in the idle period T_idle.

このように、動画撮影中に静止画撮影を行う撮影モードにおいて、アイドル期間T_idle内に複数の予備画像を撮影可能な場合は、原画像(静止画像)から近い位置にある予備画像の解像度を原画像から遠い位置にある予備画像の解像度よりも低くすることにより、限られたアイドル期間T_idle内にできるだけ多くの予備画像を撮影することができ、静止画像を精度良く高画質化することができる。これは、先の実施例で説明したように、原画像に近い位置にある予備画像は遠い位置にある予備画像よりも原画像に類似している可能性が高いので、低い解像度で撮影しても十分に原画像の補間画像として利用できるからである。
[静止画撮影をする場合の例]
次に、ユーザがレリーズボタンを押下する毎に1枚の静止画を撮影する静止画単写撮影モードにおいて、予備画像を撮影する例について図7を用いて説明する。尚、本実施例は、図6で説明した動画撮影中の静止画撮影と同様に、撮影した静止画像を高画質化するために予備画像を撮影する。
As described above, in a shooting mode in which still image shooting is performed during moving image shooting, when a plurality of preliminary images can be shot within the idle period T_idle, the resolution of the preliminary image close to the original image (still image) is set to the original. By making the resolution lower than the resolution of the preliminary image located far from the image, as many preliminary images as possible can be taken within the limited idle period T_idle, and the still image can be improved in image quality with high accuracy. This is because, as explained in the previous embodiment, a preliminary image at a position close to the original image is more likely to be similar to the original image than a preliminary image at a far position, so This is because it can be used as an interpolation image of the original image.
[Example of shooting still images]
Next, an example of taking a preliminary image in the still image single shooting mode in which one still image is shot each time the user presses the release button will be described with reference to FIG. In the present embodiment, a preliminary image is captured in order to improve the quality of the captured still image, as in the case of still image capturing during moving image capturing described with reference to FIG.

図7の例では、ユーザが操作部107のレリーズボタンを押下(全押し)すると、制御部106の原画像取得処理部151は静止画像(原画像)501を撮影する。尚、通常の電子カメラでは、静止画像501が画像バッファ103に取り込まれるだけであるが、本実施例では制御部106の予備画像取得処理部153が静止画像501の前後に予備画像を撮影する。例えば、予備画像取得処理部153は、静止画像501の撮影後、ユーザが再びレリーズボタンを押下して次の静止画像502を撮影するまでのアイドル期間T_idleに撮影可能な予備画像503や予備画像504を撮影する。ここで、静止画像501および静止画像502の解像度を1とした場合、制御部106の解像度決定処理部152は、例えば静止画像501に一番近い位置にある予備画像503の解像度を低めの1/64にし、予備画像503より遠い位置にある予備画像504の解像度を高めの1/16のように決定する。尚、予備画像取得処理部153は、アイドル期間T_idleに撮影可能な予備画像が予備画像503だけの場合は予備画像503のみを撮影する。また、レリーズボタンが押下される前の予備画像505や予備画像506を取り込む場合は、図6の実施例で説明したように、例えばレリーズボタンの半押し時点からリングバッファに予備画像を繰り返し取り込むようにすれば、静止画撮影前の予備画像の取り込みが可能である。   In the example of FIG. 7, when the user presses the release button of the operation unit 107 (full press), the original image acquisition processing unit 151 of the control unit 106 captures a still image (original image) 501. In a normal electronic camera, only the still image 501 is taken into the image buffer 103, but in this embodiment, the preliminary image acquisition processing unit 153 of the control unit 106 captures a preliminary image before and after the still image 501. For example, the preliminary image acquisition processing unit 153 captures a preliminary image 503 or a preliminary image 504 that can be captured in an idle period T_idle until the user presses the release button again to capture the next still image 502 after the still image 501 is captured. Shoot. Here, when the resolution of the still image 501 and the still image 502 is set to 1, the resolution determination processing unit 152 of the control unit 106, for example, reduces the resolution of the preliminary image 503 closest to the still image 501 to 1 / 64, and the resolution of the preliminary image 504 located far from the preliminary image 503 is determined to be 1/16, which is higher. Note that the preliminary image acquisition processing unit 153 captures only the preliminary image 503 when the preliminary image 503 is the only preliminary image that can be captured during the idle period T_idle. When the preliminary image 505 or the preliminary image 506 before the release button is pressed is captured, as described in the embodiment of FIG. 6, for example, the preliminary image is repeatedly captured in the ring buffer from the time when the release button is half-pressed. By doing so, it is possible to capture a preliminary image before taking a still image.

このように、1枚の静止画像501を撮影する静止画単写撮影モードにおいても、ユーザが再びレリーズボタンを押下して次の静止画像502を撮影するまでのアイドル期間T_idleに予備画像を撮影することができる。特に、アイドル期間T_idle内に複数の予備画像を撮影できる場合は、原画像(静止画像)から近い位置にある予備画像の解像度を原画像から遠い位置にある予備画像の解像度よりも低くすることにより、限られたアイドル期間T_idle内にできるだけ多くの予備画像を撮影することができ、静止画像を精度良く高画質化することができる。これは、先の実施例で説明したように、原画像に近い位置にある予備画像は遠い位置にある予備画像よりも原画像に類似している可能性が高いので、低い解像度で撮影しても十分に原画像の補間画像として利用できるからである。次に、予備画像の解像度と類似度について詳しく説明する。
[予備画像の解像度と類似度との関係]
上記の各実施例において、制御部106の解像度決定処理部152が予備画像の解像度を決定する際に、予備画像の撮影位置が原画像に近い位置にあるか遠い位置にあるかによって判断し、原画像に近い位置にある予備画像の解像度を原画像から遠い位置にある予備画像より低い解像度になるようにして、限られたアイドル期間T_idle内にできるだけ多くの予備画像を撮影できるようにしていた。これは、各実施例で説明したように、原画像により近い位置(撮影時間の差が小さい)にある予備画像ほど原画像との類似度が大きいので、低い解像度の予備画像でもスロー再生時の補間画像の作成や静止画像の補足データとしては十分だからである。とつまり、原画像から遠い位置にある予備画像は、撮影時間差が大きいので、画像の特徴量(主要被写体の形状,明るさ,色相,輪郭成分,周波数成分,動きベクトルなど)が大きく変化している可能性が高い。このため、原画像と予備画像との差が大きいので、撮影する予備画像はできるだけ高解像度の画像であることが望ましい。
As described above, even in the still image single shooting mode in which one still image 501 is shot, a preliminary image is shot during the idle period T_idle until the user presses the release button again to shoot the next still image 502. be able to. In particular, when a plurality of preliminary images can be taken within the idle period T_idle, the resolution of the preliminary image located close to the original image (still image) is made lower than the resolution of the preliminary image located far from the original image. As many preliminary images as possible can be taken within the limited idle period T_idle, and still images can be improved in image quality with high accuracy. This is because, as explained in the previous embodiment, a preliminary image at a position close to the original image is more likely to be similar to the original image than a preliminary image at a far position, so This is because it can be used as an interpolation image of the original image. Next, the resolution and similarity of the preliminary image will be described in detail.
[Relationship between preliminary image resolution and similarity]
In each of the embodiments described above, when the resolution determination processing unit 152 of the control unit 106 determines the resolution of the preliminary image, the determination is made based on whether the shooting position of the preliminary image is near or far from the original image, The resolution of the preliminary image at a position close to the original image is set to be lower than that of the preliminary image at a position far from the original image so that as many preliminary images as possible can be taken within the limited idle period T_idle. . As described in each embodiment, this is because the preliminary image located closer to the original image (the difference in photographing time is smaller) has a higher similarity to the original image, so even a low-resolution preliminary image can be reproduced during slow playback. This is because it is sufficient for creating an interpolated image and supplementary data for a still image. In other words, because the preliminary image located far from the original image has a large difference in shooting time, the image feature amount (shape of main subject, brightness, hue, contour component, frequency component, motion vector, etc.) changes greatly. There is a high possibility. For this reason, since the difference between the original image and the preliminary image is large, it is desirable that the preliminary image to be captured is an image with as high a resolution as possible.

ここで、類似度は、上記の特徴量の差の逆数としても定義できる。例えば、主要被写体の形状が変化しない場合は、特徴量の差が小さいので類似度は大きくなる。同様に、明るさが変化しない場合,色相が変化しない場合も特徴量の差が小さいので類似度は大きくなる。或いは、輪郭成分はエッジの量に相当し、構造物が多い画像では輪郭成分が多くなるので、例えば建築物の画像から空や雲などの画像に変化する場合、特徴量の差が大きくなって類似度は小さくなる。高周波成分についても同じである。また、特徴量が動きベクトルである場合は、主要被写体の動きベクトルが変化すれば特徴量の差が大きくなって類似度は小さくなる。例えば、同じ明るさ,同じ色相,同じ輪郭成分および同じ主要被写体の形状であっても主要被写体が画面内で移動した場合は動きベクトルだけが変化する場合がある。このような場合でも、動きベクトルの変化で類似度を判断することによって、最適な予備画像の解像度を決定することができる。尚、このような類似度の判定処理は、図1の制御部106の類似度判定処理部154によって行われる。   Here, the similarity can also be defined as the reciprocal of the difference between the feature quantities. For example, when the shape of the main subject does not change, the similarity is increased because the difference in feature amount is small. Similarly, when the brightness does not change and the hue does not change, the difference in feature amount is small, so the degree of similarity increases. Alternatively, the contour component corresponds to the amount of the edge, and the contour component increases in an image with many structures. For example, when the image changes from a building image to an image such as a sky or a cloud, the difference in feature amount increases. Similarity is reduced. The same applies to the high frequency components. Further, when the feature amount is a motion vector, if the motion vector of the main subject changes, the difference in the feature amount increases and the similarity decreases. For example, even if the same brightness, the same hue, the same contour component, and the same main subject shape are used, if the main subject moves within the screen, only the motion vector may change. Even in such a case, the optimum resolution of the preliminary image can be determined by determining the similarity based on the change of the motion vector. Such similarity determination processing is performed by the similarity determination processing unit 154 of the control unit 106 of FIG.

ここで、予備画像の解像度と類似度の関係を図8に示す。尚、図8において、横軸は類似度,縦軸は予備画像の解像度を示す。例えば、類似度として明るさ(HSV空間のV(Value)データ画面平均差分など)をパラメータとして用いる場合、同じ明るさの画像であれば類似度は大きくなり、明るさが異なるほど類似度は小さくなる。尚、図8において、予備画像の解像度と類似度の関係は、特性601のような直線的な反比例の関係であっても構わないし、撮影可能な予備画像の数に比較的余裕がある場合は特性602のようにして、少しの誤差(特徴量の差)でも高い解像度で撮影するようにしても構わない。或いは、撮影可能な予備画像の数に余裕がない場合は特性603のようにして、できるだけ低い解像度で撮影するようにしても構わない。ここで、実際にはこれから取得しようとする予備画像と原画像または他の予備画像との類似度を求めることができないので、類似度判定処理部154は1つ前の予備画像および1つ前の原画像などを用いて類似度を求める。尚、この点については次の例で詳しく説明する。
[類似度に応じて予備画像の解像度を決定する例]
次に、制御部106の類似度判定処理部154が求めた類似度に応じて予備画像の解像度を決定する例について図9を用いて説明する。図9は、図6で説明した動画撮影中に静止画撮影をする場合の例に対応する図で、図9(a)は図6(a)と全く同じである。従って、図9(b)は、図9(a)のフレーム(n)のタイミングでユーザが操作部107のレリーズボタンが押下した時に、制御部106の原画像取得処理部151が撮影するフレーム(n)の静止画(原画像)と、その前後で予備画像取得処理部153が撮影する予備画像の位置と解像度の例を示した図である。尚、図4と同様に、図9(a)および図9(b)において、縦軸は原画像および予備画像の解像度を示し、横軸はフレーム番号の時間的な流れを示す。
Here, the relationship between the resolution of the preliminary image and the similarity is shown in FIG. In FIG. 8, the horizontal axis indicates the similarity and the vertical axis indicates the resolution of the preliminary image. For example, when brightness (such as V (Value) data screen average difference in HSV space) is used as a parameter as the similarity, the similarity is increased if the images have the same brightness, and the similarity decreases as the brightness is different. Become. In FIG. 8, the relationship between the resolution and the similarity of the preliminary image may be a linear inverse proportion such as the characteristic 601, or the number of preliminary images that can be photographed has a relatively large margin. As with the characteristic 602, even a slight error (difference in feature amount) may be used for shooting with high resolution. Alternatively, when there is not enough room for the number of preliminary images that can be captured, the characteristics 603 may be used to capture at the lowest possible resolution. Here, since the similarity between the preliminary image to be acquired and the original image or another preliminary image cannot be obtained in practice, the similarity determination processing unit 154 determines the previous preliminary image and the previous previous image. The similarity is obtained using an original image or the like. This point will be described in detail in the following example.
[Example of determining the resolution of the preliminary image according to the degree of similarity]
Next, an example in which the resolution of the preliminary image is determined according to the similarity obtained by the similarity determination processing unit 154 of the control unit 106 will be described with reference to FIG. FIG. 9 is a diagram corresponding to an example in which still image shooting is performed during moving image shooting described with reference to FIG. 6, and FIG. 9A is exactly the same as FIG. 6A. Accordingly, FIG. 9B shows a frame (the frame (n) captured by the original image acquisition processing unit 151 of the control unit 106 when the user presses the release button of the operation unit 107 at the timing of the frame (n) in FIG. 9A. It is the figure which showed the example of the position of the still image (original image) of n), and the position and resolution of the preliminary image which the preliminary image acquisition process part 153 image | photographs before and after that. As in FIG. 4, in FIGS. 9A and 9B, the vertical axis indicates the resolution of the original image and the preliminary image, and the horizontal axis indicates the temporal flow of the frame number.

図9(b)においても、図6(b)と同様にΔfの間隔で予備画像を撮影するものとするが、実際には各予備画像を取得可能な時間を確保できればよいので必ずしも等間隔である必要はない。   In FIG. 9B, as in FIG. 6B, the preliminary images are taken at intervals of Δf. However, in practice, it is only necessary to secure a time during which each preliminary image can be acquired. There is no need.

図9(b)において、制御部106の解像度決定処理部152は、フレーム(n)の原画像700の前後に撮影する予備画像701,予備画像702,予備画像703,予備画像704,予備画像705および予備画像706の解像度を決定する。この時、制御部106の類似度判定処理部154は、各予備画像と原画像(フレーム(n))との類似度を求める。   In FIG. 9B, the resolution determination processing unit 152 of the control unit 106 includes a preliminary image 701, a preliminary image 702, a preliminary image 703, a preliminary image 704, and a preliminary image 705 captured before and after the original image 700 of the frame (n). And the resolution of the preliminary image 706 is determined. At this time, the similarity determination processing unit 154 of the control unit 106 obtains the similarity between each preliminary image and the original image (frame (n)).

ここで、先の説明では、分かり易いように、制御部106の類似度判定処理部154は、原画像と予備画像の類似度に応じて予備画像の解像度を決定するとしたが、実際にはこれから取得しようとする予備画像との類似度を求めることができないので、類似度判定処理部154は、1つ前の予備画像および1つ前の原画像などを用いて類似度を求め、次に取得する予備画像の解像度を決定する。例えば、図9(b)において、類似度判定処理部154は、これから撮影しようとする予備画像701の解像度は、予備画像702と原画像(フレーム(n−1))との類似度を求めて決定するか、予備画像702と予備画像703との類似度を求めて決定する。或いは、原画像(フレーム(n−1))とさらに1つ前の原画像(フレーム(n−2))との類似度を求めて決定しても構わない。いずれにしても、できるだけ時間的に近い位置にある画像との類似度を求めるのが望ましい。図9(b)において、類似度判定処理部154が予備画像701,予備画像702,予備画像703および原画像(フレーム(n−1))の類似度が大きいと判定した場合、特徴量の変化が少ない画像なので、解像度決定処理部152は比較的低い解像度(原画像の1/64の解像度)に決定し、予備画像取得処理部153は、決定された解像度でこれらの予備画像の撮影を行う。   Here, in the above description, for the sake of easy understanding, the similarity determination processing unit 154 of the control unit 106 determines the resolution of the preliminary image according to the similarity between the original image and the preliminary image. Since the similarity with the preliminary image to be acquired cannot be obtained, the similarity determination processing unit 154 obtains the similarity using the previous preliminary image and the previous original image, and then acquires the similarity. The resolution of the preliminary image to be determined is determined. For example, in FIG. 9B, the similarity determination processing unit 154 obtains the similarity between the preliminary image 702 and the original image (frame (n−1)) as the resolution of the preliminary image 701 to be captured. It is determined or the similarity between the preliminary image 702 and the preliminary image 703 is obtained and determined. Alternatively, the degree of similarity between the original image (frame (n−1)) and the immediately previous original image (frame (n−2)) may be obtained and determined. In any case, it is desirable to obtain the degree of similarity with an image at a position as close as possible in time. In FIG. 9B, when the similarity determination processing unit 154 determines that the similarity between the preliminary image 701, the preliminary image 702, the preliminary image 703, and the original image (frame (n-1)) is large, the feature amount changes. Therefore, the resolution determination processing unit 152 determines a relatively low resolution (1/64 resolution of the original image), and the preliminary image acquisition processing unit 153 captures these preliminary images at the determined resolution. .

また、静止画の原画像(フレーム(n))の撮影後に撮影される予備画像704の解像度は、類似度判定処理部154が原画像(フレーム(n))と予備画像701との類似度または原画像(フレーム(n))と原画像(フレーム(n−1))との類似度を求め、その類似度に応じて解像度決定処理部152によって決定される。例えば、類似度判定処理部154が原画像(フレーム(n))と予備画像701との類似度が大きいと判定した場合、解像度決定処理部152は比較的低い解像度(原画像の1/64の解像度)に決定し、予備画像取得処理部153は決定された解像度で予備画像704の撮影を行う。   In addition, the resolution of the preliminary image 704 captured after capturing the original still image (frame (n)) is determined by the similarity determination processing unit 154 by the similarity between the original image (frame (n)) and the preliminary image 701 or The similarity between the original image (frame (n)) and the original image (frame (n−1)) is obtained, and is determined by the resolution determination processing unit 152 according to the similarity. For example, when the similarity determination processing unit 154 determines that the similarity between the original image (frame (n)) and the preliminary image 701 is large, the resolution determination processing unit 152 determines that the resolution is relatively low (1/64 of the original image). The preliminary image acquisition processing unit 153 captures the preliminary image 704 with the determined resolution.

同様に、予備画像705の解像度は、類似度判定処理部154が原画像(フレーム(n))と予備画像704との類似度を求め、その類似度に応じて解像度決定処理部152によって決定される。例えば、類似度判定処理部154が原画像(フレーム(n))と予備画像704との類似度が直前の類似度に比べて少し小さいと判定した場合、解像度決定処理部152は直前に決定した解像度(原画像の1/64の解像度)よりも少し高い解像度(原画像の1/16の解像度)に決定し、予備画像取得処理部153は決定された解像度で予備画像705の撮影を行う。   Similarly, the resolution of the preliminary image 705 is determined by the resolution determination processing unit 152 according to the similarity between the original image (frame (n)) and the preliminary image 704 obtained by the similarity determination processing unit 154. The For example, when the similarity determination processing unit 154 determines that the similarity between the original image (frame (n)) and the preliminary image 704 is slightly smaller than the previous similarity, the resolution determination processing unit 152 determines the immediately preceding resolution. The resolution (resolution of 1/16 of the original image) is slightly higher than the resolution (resolution of 1/16 of the original image), and the preliminary image acquisition processing unit 153 captures the preliminary image 705 at the determined resolution.

さらに、予備画像706の解像度は、類似度判定処理部154が予備画像705と予備画像704との類似度または原画像(フレーム(n))と予備画像704との類似度を求め、その類似度に応じて解像度決定処理部152によって決定される。例えば、類似度判定処理部154が予備画像705と予備画像704との類似度が直前の類似度に比べて小さいと判定した場合、解像度決定処理部152は直前に決定した解像度(原画像の1/16の解像度)よりも高い解像度(原画像の1/4の解像度)に決定し、予備画像取得処理部153は決定された解像度で予備画像706の撮影を行う。   Further, as for the resolution of the preliminary image 706, the similarity determination processing unit 154 obtains the similarity between the preliminary image 705 and the preliminary image 704 or the similarity between the original image (frame (n)) and the preliminary image 704, and the similarity. Is determined by the resolution determination processing unit 152 according to the above. For example, when the similarity determination processing unit 154 determines that the similarity between the preliminary image 705 and the preliminary image 704 is smaller than the previous similarity, the resolution determination processing unit 152 determines the resolution determined immediately before (1 of the original image). ) (Resolution of 1/4 of the original image), and the preliminary image acquisition processing unit 153 captures the preliminary image 706 at the determined resolution.

ここで、図9(b)において、図6(b)の場合と同様に、予備画像701,予備画像702および予備画像703は、レリーズボタンが押下される前(フレーム(n)の原画像の撮影前)なので実際には予備画像の取得が難しいが、例えばレリーズボタンの半押し時点からリングバッファに予備画像を繰り返し取り込むようにして実現することができる。   Here, in FIG. 9B, as in the case of FIG. 6B, the preliminary image 701, the preliminary image 702, and the preliminary image 703 are displayed before the release button is pressed (the original image of the frame (n)). Actually, it is difficult to acquire a preliminary image because it is before shooting), but for example, it can be realized by repeatedly capturing the preliminary image in the ring buffer from the time when the release button is half-pressed.

このようにして、類似度が大きい場合は低い解像度で予備画像を撮影し、類似度が小さい場合は高い解像度で予備画像を撮影することにより、限られたアイドル期間T_idle内にできるだけ多くの予備画像を撮影することができ、静止画像を精度良く高画質化することができる。尚、動画撮影の場合についても同様に類似度を用いて予備画像の解像度を決定することができ、静止画の場合と同様の効果が得られる。
(電子カメラ101の変形例)
次に、電子カメラ101の変形例について図10を用いて説明する。図10は、図1で説明した電子カメラ101の変形例である電子カメラ101aの構成を示すブロック図である。尚、図10において、図1と同符号のものは同じものを示す。図10が図1と異なるのは、第2の撮像部110が設けられていることである。第2の撮像部は類似度判定用の画像を固定解像度で撮影する。
In this way, a preliminary image is captured at a low resolution when the similarity is large, and a preliminary image is captured at a high resolution when the similarity is small, so that as many preliminary images as possible within the limited idle period T_idle. Can be taken, and still images can be improved in quality with high accuracy. In the case of moving image shooting, the resolution of the preliminary image can be similarly determined using the similarity, and the same effect as in the case of a still image can be obtained.
(Modification of electronic camera 101)
Next, a modification of the electronic camera 101 will be described with reference to FIG. FIG. 10 is a block diagram showing a configuration of an electronic camera 101a that is a modification of the electronic camera 101 described in FIG. In FIG. 10, the same reference numerals as those in FIG. 10 differs from FIG. 1 in that a second imaging unit 110 is provided. The second imaging unit captures an image for similarity determination at a fixed resolution.

図10において、第2の撮像部110は、撮像部102の撮影処理とは無関係に撮像部102と同じ画角の被写体画像を撮影することができる。例えば、第2の撮像部110は、例えば測光センサと兼用しても構わない。また、第2の撮像部110は、制御部106に直接接続されているが、システムバス108を介して接続されていても構わない。   In FIG. 10, the second imaging unit 110 can shoot a subject image having the same angle of view as the imaging unit 102 regardless of the imaging process of the imaging unit 102. For example, the second imaging unit 110 may also be used as a photometric sensor, for example. In addition, the second imaging unit 110 is directly connected to the control unit 106, but may be connected via the system bus 108.

制御部106は、撮像部102で原画像や予備画像を撮影する処理とは別に第2の撮像部110で被写体画像を撮像する。この様子を図11に示す。図11は、図9(b)の原画像(フレーム(n))と予備画像701から予備画像706に対応させて、第2の撮像部110で類似度判定用画像801から類似度判定用画像814を撮像する場合の例を示した図である。   The control unit 106 images a subject image by the second imaging unit 110 separately from the process of capturing the original image and the preliminary image by the imaging unit 102. This is shown in FIG. FIG. 11 shows the similarity determination image 801 to the similarity determination image 801 in the second imaging unit 110 in correspondence with the preliminary image 706 from the original image (frame (n)) and the preliminary image 701 in FIG. It is the figure which showed the example in the case of imaging 814.

図11の例では、類似度判定用画像800から類似度判定用画像807は、原画像(フレーム(n))と予備画像701から予備画像706を撮影する直前で撮影される。これにより、例えば制御部106の解像度決定処理部152が予備画像703を撮影する際の解像度を決定する時に、類似度判定処理部154は第2の撮像部110が撮影した類似度判定用画像800と類似度判定用画像801とを用いて類似度を求める。ここで、類似度判定用画像800は原画像(フレーム(n−1))の直前に第2の撮影部110によって撮影された画像で、類似度判定用画像801は予備画像701の直前に撮影された画像である。尚、第2の撮像部110は、固定解像度なので類似度の判定を迅速且つ安定して精度良く行うことができる。以降の処理は、図9の場合と同様に行われ、類似度判定処理部154が求めた類似度に応じて解像度決定処理部152が予備画像703を撮影する際の解像度を決定し、予備画像撮影処理部153が予備画像703を撮影する。   In the example of FIG. 11, the similarity determination image 800 to the similarity determination image 807 are captured immediately before the preliminary image 706 is captured from the original image (frame (n)) and the preliminary image 701. Accordingly, for example, when the resolution determination processing unit 152 of the control unit 106 determines the resolution when the preliminary image 703 is captured, the similarity determination processing unit 154 causes the similarity determination image 800 captured by the second imaging unit 110 to be captured. And the similarity determination image 801 are used to determine the similarity. Here, the similarity determination image 800 is an image captured by the second imaging unit 110 immediately before the original image (frame (n−1)), and the similarity determination image 801 is captured immediately before the preliminary image 701. It is an image that was made. Since the second imaging unit 110 has a fixed resolution, the similarity can be determined quickly, stably and accurately. The subsequent processing is performed in the same manner as in FIG. 9, and the resolution when the resolution determination processing unit 152 captures the preliminary image 703 is determined according to the similarity obtained by the similarity determination processing unit 154, and the preliminary image is obtained. The imaging processing unit 153 captures the preliminary image 703.

また、予備画像702の解像度を決定する時は、類似度判定処理部154が1つ前の予備画像701の直前の類似度判定用画像801と次に撮影しようとする予備画像702の直前の類似度判定用画像802とを用いて類似度を求め、類似度に応じた解像度で予備画像702を撮影する。同様に、予備画像703の解像度を決定する時は、類似度判定処理部154が1つ前の予備画像702の直前の類似度判定用画像802と次に撮影しようとする予備画像703の直前の類似度判定用画像803とを用いて類似度を求め、予備画像704,予備画像705および予備画像706についてもそれぞれ直前の類似度判定用画像と1つ前の予備画像の類似度判定用画像とを用いて類似度を求め、類似度に応じた解像度でそれぞれの予備画像を撮影する。   Further, when determining the resolution of the preliminary image 702, the similarity determination processing unit 154 uses the similarity determination image 801 immediately before the previous preliminary image 701 and the similarity immediately before the preliminary image 702 to be photographed next. The degree of similarity is obtained using the degree determination image 802, and the preliminary image 702 is captured at a resolution corresponding to the degree of similarity. Similarly, when determining the resolution of the preliminary image 703, the similarity determination processing unit 154 immediately precedes the similarity determination image 802 immediately before the previous preliminary image 702 and the preliminary image 703 to be photographed next. Similarity determination images 803 are used to determine the similarity, and the preliminary image 704, the preliminary image 705, and the preliminary image 706 are respectively similar to the previous similarity determination image and the previous preliminary image similarity determination image. Is used to obtain the similarity, and each preliminary image is photographed at a resolution corresponding to the similarity.

尚、図11の例では、類似度判定用画像を原画像または各予備画像の撮影前に1枚ずつ撮影するようにしたが、不定期に類似度判定用画像を撮影する必要はない。例えば、類似度判定処理部154は、原画像または各予備画像の撮影間に複数枚の類似度判定用画像を撮影するのに十分な短い固定フレームレートで第2の撮像部110で常時撮影を行うようにして、1つ前の予備画像や原画像の撮影タイミングに近い類似度判定用画像と次に撮影しようとする予備画像の直前の類似度判定用画像との類似度を求め、この類似度を用いて解像度決定処理部152が次に撮影しようとする予備画像の解像度を決定するようにしても構わない。   In the example of FIG. 11, the similarity determination image is taken one by one before the original image or each preliminary image is taken, but it is not necessary to take the similarity determination image irregularly. For example, the similarity determination processing unit 154 always captures images with the second imaging unit 110 at a fixed frame rate that is short enough to capture a plurality of similarity determination images between the original image or each preliminary image. In this way, the similarity between the similarity determination image close to the previous preliminary image or the original image capturing timing and the similarity determination image immediately before the preliminary image to be captured next is obtained, and this similarity The resolution determination processing unit 152 may determine the resolution of the preliminary image to be captured next using the degree.

以上、様々な実施形態について説明してきたが、本実施形態に係る電子カメラ101または電子カメラ101aは、原画像の撮影に利用していないアイドル期間(T_idle)に解像度の異なる予備画像を撮影することによって、動画のスロー再生時のフレーム補間画像として利用して高品質なスロー再生を実現でき、また静止画の高解像度化などの用途にも利用することができる。特に、撮影する予備画像の解像度を当該予備画像の撮影前の画像の類似度に応じて決定するので、効率よく適切な予備画像を取得することができる。   Although various embodiments have been described above, the electronic camera 101 or the electronic camera 101a according to the present embodiment captures preliminary images having different resolutions during an idle period (T_idle) that is not used for capturing an original image. Therefore, it can be used as a frame interpolated image at the time of slow playback of a moving image to realize high-quality slow playback, and can also be used for applications such as increasing the resolution of still images. In particular, since the resolution of the preliminary image to be shot is determined according to the similarity of the preliminary image before shooting, an appropriate preliminary image can be acquired efficiently.

尚、撮影した予備画像は、時系列に原画像と一緒に記憶部105に保存するようにしても構わないし、原画像とは別のファイルで記憶部105に保存するようにしても構わない。尚、別のファイルで予備画像を保存する場合は、同じファイル名で属性を変えるようにしたり、ヘッダ情報に関連するファイルであることを示す情報を記載するものとする。   The taken preliminary image may be stored in the storage unit 105 together with the original image in time series, or may be stored in the storage unit 105 as a file different from the original image. When the preliminary image is stored in another file, the attribute is changed with the same file name, or information indicating that the file is related to the header information is described.

以上、本発明に係る電子カメラについて、各実施形態で例を挙げて説明してきたが、その精神またはその主要な特徴から逸脱することなく他の多様な形で実施することができる。そのため、上述した実施形態はあらゆる点で単なる例示に過ぎず、限定的に解釈してはならない。本発明は、特許請求の範囲によって示されるものであって、本発明は明細書本文にはなんら拘束されない。さらに、特許請求の範囲の均等範囲に属する変形や変更は、全て本発明の範囲内である。   As mentioned above, although the electronic camera according to the present invention has been described by way of example in each embodiment, it can be implemented in various other forms without departing from the spirit or main features thereof. Therefore, the above-described embodiment is merely an example in all respects and should not be interpreted in a limited manner. The present invention is defined by the claims, and the present invention is not limited to the text of the specification. Further, all modifications and changes belonging to the equivalent scope of the claims are within the scope of the present invention.

101,101a・・・電子カメラ 102・・・撮像部
103・・・画像バッファ 104・・・画像処理部
105・・・記憶部 106・・・制御部
107・・・操作部 108・・・システムバス
109・・・表示部 110・・・第2の撮像部
201・・・光学系 202・・・固体撮像素子
203・・・AFE 204・・・TG
151・・・原画像取得処理部 152・・・解像度決定処理部
153・・・予備画像取得処理部 154・・・類似度判定処理部
DESCRIPTION OF SYMBOLS 101,101a ... Electronic camera 102 ... Imaging part 103 ... Image buffer 104 ... Image processing part 105 ... Memory | storage part 106 ... Control part 107 ... Operation part 108 ... System Bus 109 ... Display unit 110 ... Second imaging unit 201 ... Optical system 202 ... Solid-state imaging device 203 ... AFE 204 ... TG
151 ... Original image acquisition processing unit 152 ... Resolution determination processing unit 153 ... Preliminary image acquisition processing unit 154 ... Similarity determination processing unit

Claims (5)

指定された複数の解像度で被写体画像を撮像する撮像手段と、
前記撮像手段が撮像した画像を記憶する記憶手段と、
前記複数の解像度のうち予め設定された第1解像度を前記撮像手段に指定して前記撮像手段から前記第1解像度の原画像を前記記憶手段に取り込む原画像取得手段と、
前記原画像取得手段が取り込む第1の原画像の取り込み終了時点から次の第2の原画像の取り込み開始時点までのアイドル時間内に前記撮像手段から取り込み可能な前記第1解像度とは異なる予備画像の解像度を決定する解像度決定手段と、
前記解像度決定手段が決定した解像度を前記撮像手段に指定して前記予備画像を前記記憶手段に取り込む予備画像取得手段と
を有し、
前記解像度決定手段は、前記アイドル時間内に前記第1解像度とは異なる複数の予備画像の解像度を決定し、
前記予備画像取得手段は、前記解像度決定手段が決定した解像度を前記撮像手段に指定して前記複数の予備画像を前記記憶手段に取り込む
ことを特徴とする電子カメラ。
Imaging means for imaging subject images at a plurality of designated resolutions;
Storage means for storing an image captured by the imaging means;
An original image acquisition unit that designates a first resolution set in advance among the plurality of resolutions to the imaging unit and takes an original image of the first resolution from the imaging unit into the storage unit;
A preliminary image different from the first resolution that can be captured from the imaging unit within an idle time from the end of capturing the first original image captured by the original image acquisition unit to the start of capturing the next second original image. Resolution determining means for determining the resolution of
Specifying the resolution the resolution determination means has determined the imaging means possess a preliminary image acquisition means for capturing said preliminary image in the storage means,
The resolution determining means determines resolutions of a plurality of preliminary images different from the first resolution within the idle time;
The preliminary image acquisition means specifies the resolution determined by the resolution determination means to the imaging means, and takes the plurality of preliminary images into the storage means .
請求項1に記載の電子カメラにおいて、
前記予備画像の取得前に前記撮像手段が撮影する複数画像間の類似度を求める類似度判定手段を更に設け、
前記解像度決定手段は、前記撮像手段から取り込む前記予備画像の解像度を決定する際に、前記類似度判定手段が求めた類似度が低い場合は前記予備画像の解像度を高くし、前記類似度判定手段が求めた類似度が高い場合は前記予備画像の解像度を低くする
ことを特徴とする電子カメラ。
The electronic camera according to claim 1 ,
A similarity determination unit for obtaining a similarity between a plurality of images captured by the imaging unit before obtaining the preliminary image;
The resolution determining unit increases the resolution of the preliminary image when the similarity obtained by the similarity determination unit is low when determining the resolution of the preliminary image captured from the imaging unit, and the similarity determination unit The electronic camera is characterized in that if the degree of similarity determined by is high, the resolution of the preliminary image is lowered.
請求項に記載の電子カメラにおいて、
前記類似度は、主要被写体の形状変化,明るさ,色相,輪郭成分,周波数成分,動きベクトルの少なくとも1つであることを特徴とする電子カメラ。
The electronic camera according to claim 2 ,
The electronic camera according to claim 1, wherein the similarity is at least one of a shape change, brightness, hue, contour component, frequency component, and motion vector of a main subject.
請求項またはに記載の電子カメラにおいて、
前記撮像手段とは別に前記撮像手段と同画角の画像を撮像する第2の撮像手段を更に設け、
前記類似度判定手段は、前記第2の撮像手段が撮像する複数画像の類似度を求めて前記撮像手段から取り込む前記予備画像の解像度を決定することを特徴とする電子カメラ。
The electronic camera according to claim 2 or 3 ,
In addition to the image pickup means, a second image pickup means for picking up an image having the same angle of view as the image pickup means is further provided,
The electronic camera according to claim 1, wherein the similarity determination unit determines the resolution of the preliminary image to be captured from the imaging unit by obtaining the similarity of a plurality of images captured by the second imaging unit.
指定された複数の解像度で被写体画像を撮像する撮像手段と、Imaging means for imaging subject images at a plurality of designated resolutions;
前記撮像手段が撮像した画像を記憶する記憶手段と、Storage means for storing an image captured by the imaging means;
前記複数の解像度のうち予め設定された第1解像度を前記撮像手段に指定して前記撮像手段から前記第1解像度の原画像を前記記憶手段に取り込む原画像取得手段と、An original image acquisition unit that designates a first resolution set in advance among the plurality of resolutions to the imaging unit and takes an original image of the first resolution from the imaging unit into the storage unit;
前記原画像取得手段が取り込む第1の原画像の取り込み終了時点から次の第2の原画像の取り込み開始時点までのアイドル時間内に前記撮像手段から取り込み可能な前記第1解像度とは異なる予備画像の解像度を予備画像の前に撮影される画像に基づいて決定する解像度決定手段と、A preliminary image different from the first resolution that can be captured from the imaging unit within an idle time from the end of capturing the first original image captured by the original image acquisition unit to the start of capturing the next second original image. Resolution determination means for determining the resolution of the image based on an image taken before the preliminary image;
前記解像度決定手段が決定した解像度を前記撮像手段に指定して前記予備画像を前記記憶手段に取り込む予備画像取得手段とA preliminary image acquisition unit that designates the resolution determined by the resolution determination unit in the imaging unit and loads the preliminary image into the storage unit;
を有することを特徴とする電子カメラ。An electronic camera comprising:
JP2009181655A 2009-08-04 2009-08-04 Electronic camera Expired - Fee Related JP5463782B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009181655A JP5463782B2 (en) 2009-08-04 2009-08-04 Electronic camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009181655A JP5463782B2 (en) 2009-08-04 2009-08-04 Electronic camera

Publications (2)

Publication Number Publication Date
JP2011035772A JP2011035772A (en) 2011-02-17
JP5463782B2 true JP5463782B2 (en) 2014-04-09

Family

ID=43764371

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009181655A Expired - Fee Related JP5463782B2 (en) 2009-08-04 2009-08-04 Electronic camera

Country Status (1)

Country Link
JP (1) JP5463782B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1993278A1 (en) * 2006-03-03 2008-11-19 Olympus Corporation Imaging device, processing method for obtaining high-resolution, processing program for obtaining high-resolution, and recording medium
JP5161589B2 (en) * 2008-01-07 2013-03-13 パナソニック株式会社 Image reproducing apparatus, image reproducing method, program, and integrated circuit

Also Published As

Publication number Publication date
JP2011035772A (en) 2011-02-17

Similar Documents

Publication Publication Date Title
JP4742242B2 (en) Imaging apparatus and program thereof
JP2020162139A (en) Imaging apparatus and setting screen of the same
KR101395433B1 (en) Imaging device and imaging method
JP4943721B2 (en) Color noise removal method for image data and imaging apparatus using the method
JP5002931B2 (en) Imaging apparatus and program thereof
KR101433121B1 (en) Image processing device for generating composite image having predetermined aspect ratio
JP6304293B2 (en) Image processing apparatus, image processing method, and program
US20100141823A1 (en) Image Processing Apparatus And Electronic Appliance
JP4556195B2 (en) Imaging device, moving image playback device, and program
JP2009111518A (en) Imaging apparatus, image reproducing unit and program thereof, and data structure of image file
JP2008124671A (en) Imaging apparatus and imaging method
US20010024234A1 (en) Digital camera
JPH11239291A (en) Image pickup controller and image pickup control method
JP4123352B2 (en) Movie imaging device and movie playback device
JP2011223146A (en) Electronic camera
JPH03230691A (en) Digital electronic still camera
JP5463782B2 (en) Electronic camera
JP2014049882A (en) Imaging apparatus
JP5655589B2 (en) Imaging device
JP2004186866A (en) Image recording apparatus
JP5012985B2 (en) Imaging apparatus and program thereof
JP2008172395A (en) Imaging apparatus and image processing apparatus, method, and program
JP2007096809A (en) Imaging apparatus, moving picture storage method, and moving picture storage program
JP4001268B2 (en) Imaging apparatus and imaging method
JP5653665B2 (en) Image processing apparatus, photographing apparatus, image processing method, and image processing program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120731

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130710

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130716

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130912

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140106

R150 Certificate of patent or registration of utility model

Ref document number: 5463782

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees