JP2007300581A - Moving image photographing apparatus and moving image photographing program - Google Patents
Moving image photographing apparatus and moving image photographing program Download PDFInfo
- Publication number
- JP2007300581A JP2007300581A JP2006128998A JP2006128998A JP2007300581A JP 2007300581 A JP2007300581 A JP 2007300581A JP 2006128998 A JP2006128998 A JP 2006128998A JP 2006128998 A JP2006128998 A JP 2006128998A JP 2007300581 A JP2007300581 A JP 2007300581A
- Authority
- JP
- Japan
- Prior art keywords
- angle
- view
- cut
- video
- area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Abstract
Description
本発明は、手ブレ補正を行う動画撮影装置および動画撮影プログラムに関する。 The present invention relates to a moving image shooting apparatus and a moving image shooting program for performing camera shake correction.
従来より、デジタルカメラでは、静止画に加え、動画撮影する機能が備えられている。動画撮影における手ブレ補正には、大別して2種類がある。第1の手ブレ補正(機械式手ぶれ補正)は、手ブレによるデジタルカメラ筐体の振動を検出する加速度/ジャイロセンサからの出力信号に基づいて、撮像素子か、あるいはレンズを揺らして手ブレをキャンセルする技術である。第2の手ブレ補正(電子式手ブレ補正)は、撮像素子から得られる映像全画角のうち、一部の画角を切り取りながら撮影を行い、手ブレに呼応して切り取り位置を揺らしながら記録する技術である(例えば、特許文献1参照)。 Conventionally, a digital camera has a function of shooting a moving image in addition to a still image. There are roughly two types of camera shake correction in moving image shooting. The first camera shake correction (mechanical camera shake correction) is based on the output signal from the acceleration / gyro sensor that detects the vibration of the digital camera housing due to camera shake, and shakes the image sensor or the lens to shake the camera shake. It is a technology to cancel. The second camera shake correction (electronic camera shake correction) takes a picture while cutting out a part of the entire angle of view of the image obtained from the image sensor, and swings the cutout position in response to the camera shake. This is a recording technique (see, for example, Patent Document 1).
しかしながら、上述した機械式手ブレ補正では、レンズが大型化してコストアップになるという問題がある。また、上述した電子式手ブレ補正では、切り取る画角のサイズが一定であり、ブレが大きい場合、ブレ補正が有効的に働かないという問題がある。 However, the mechanical camera shake correction described above has a problem that the lens becomes large and the cost increases. Further, the electronic camera shake correction described above has a problem that the size of the angle of view to be cut is constant, and the shake correction does not work effectively when the shake is large.
そこで本発明は、ブレが大きい場合であっても、ブレ補正を有効に機能させることができる動画撮影装置および動画撮影プログラムを提供することを目的とする。 Accordingly, an object of the present invention is to provide a moving image shooting apparatus and a moving image shooting program capable of effectively functioning blur correction even when blurring is large.
上記目的達成のため、請求項1、8記載の発明は、時間軸方向に対して逐次撮像された映像内の動き量を検出し、撮像された映像から所定の画角で映像を切り取るとともに、この切り取られた映像を所定の表示サイズに合わせて拡大または縮小して逐次表示する際に、検出される動き量に基づいて、前記映像の切り取り位置を変化させることでブレ補正を行い、切り取られる領域の位置が全画角内の端部に達した場合、または端部に達することが予測される場合、切り取られる領域の画角を縮小することを特徴とする。 In order to achieve the above object, the inventions of claims 1 and 8 detect the amount of motion in the video sequentially captured in the time axis direction, cut out the video at a predetermined angle of view from the captured video, When this clipped image is enlarged or reduced to a predetermined display size and sequentially displayed, blur correction is performed by changing the cut position of the image based on the detected amount of motion, and the clipped image is clipped. When the position of the area reaches an end within the entire angle of view or when it is predicted that the end of the area will be reached, the angle of view of the area to be cut out is reduced.
また、好ましい態様として、例えば請求項2記載のように、請求項1記載の動画撮影装置において、前記切取画角調整手段は、前記切取手段により切り取られる領域の位置が全画角内の端部に達していない場合または端部に達することが予測されなくなった場合、前記縮小されていた画角を拡大するようにしてもよい。
Further, as a preferred aspect, for example, as in
また、好ましい態様として、例えば請求項3記載のように、請求項2記載の動画撮影装置において、前記切取画角調整手段は、前記縮小されていた画角を拡大する際は、所定量ずつ徐々に拡大して元の画角に戻していくようにしてもよい。
Further, as a preferred aspect, for example, as in
また、好ましい態様として、例えば請求項4記載のように、請求項1ないし3のいずれかに記載の動画撮影装置において、前記切取画角調整手段は、前記切取手段により切り取られる領域の位置が全画角内の端部に達した場合、該領域の位置を変えずに該領域を全画角内に収められるよう前記画角を縮小するようにしてもよい。 Further, as a preferable aspect, for example, as in claim 4, in the moving image photographing apparatus according to any one of claims 1 to 3, the cut angle adjustment unit is configured such that the position of the region cut by the cut unit is all. When the end of the angle of view is reached, the angle of view may be reduced so that the area can be accommodated within the entire angle of view without changing the position of the area.
また、好ましい態様として、例えば請求項5記載のように、請求項1ないし3のいずれかに記載の動画撮影装置において、前記切取画角調整手段は、前記切取手段により切り取られる領域の端部と全画角内の端部との間の距離がより近づくに従って、前記画角を縮小する割合を増してようにしてもよい。 Moreover, as a preferable aspect, for example, as in claim 5, in the moving image photographing apparatus according to any one of claims 1 to 3, the cut angle adjustment unit includes an end of a region cut by the cut unit, The rate at which the angle of view is reduced may be increased as the distance between the end portions in the entire angle of view becomes closer.
また、好ましい態様として、例えば請求項6記載のように、請求項1記載の動画撮影装置において、前記切取画角調整手段は、前記動き量検出手段により検出される動き量が所定の閾値を越えた場合には、前記切取手段により切り取られる領域の位置が全画角内の端部に達することが予測されるとものと判断し、前記切取手段により切り取られる領域の画角を縮小し、動き量が所定の閾値を下回った場合には、前記切取手段により切り取られる領域の位置が端部に達することが予測されなくなったものと判断し、前記切取手段により切り取られる領域の画角を拡大するようにしてもよい。 Further, as a preferred aspect, for example, as in claim 6, in the moving image photographing apparatus according to claim 1, the cut angle of view adjustment means includes a movement amount detected by the movement amount detection means exceeding a predetermined threshold value. If it is determined that the position of the area cut by the cutting means is predicted to reach the end within the entire angle of view, the angle of view of the area cut by the cutting means is reduced, and the movement If the amount falls below a predetermined threshold, it is determined that the position of the area cut by the cutting means is no longer expected to reach the end, and the angle of view of the area cut by the cutting means is enlarged. You may do it.
また、好ましい態様として、例えば請求項7記載のように、請求項1ないし6のいずれかに記載の動画撮影装置において、前記ブレ補正手段により変化させられている映像の切り取り位置を、所定量ずつ徐々に全画角内の中心部に戻していく切取位置調整手段を具備するようにしてもよい。 Further, as a preferable aspect, for example, as in claim 7, in the moving image photographing apparatus according to any one of claims 1 to 6, the cutout position of the image changed by the blur correction unit is set by a predetermined amount. Cutout position adjusting means for gradually returning to the center within the entire angle of view may be provided.
本発明によれば、時間軸方向に対して逐次撮像された映像内の動き量を検出し、撮像された映像から所定の画角で映像を切り取るとともに、この切り取られた映像を所定の表示サイズに合わせて拡大または縮小して逐次表示する際に、検出される動き量に基づいて、前記映像の切り取り位置を変化させることでブレ補正を行い、切り取られる領域の位置が全画角内の端部に達した場合、または端部に達することが予測される場合、切り取られる領域の画角を縮小するようにしたので、ブレが大きい場合であっても、ブレ補正を有効に機能させることができるという利点が得られる。 According to the present invention, the amount of motion in a video that is sequentially captured in the time axis direction is detected, and the video is cut out from the captured video at a predetermined angle of view. When the image is sequentially displayed enlarged or reduced in accordance with the amount of motion, blur correction is performed by changing the cut-out position of the video based on the detected amount of motion, and the position of the cut-out region is within the end of the entire angle of view. When it reaches the edge, or when it is predicted that the edge will be reached, the angle of view of the area to be cut out is reduced, so that even if the blur is large, the blur correction can function effectively. The advantage that it can be obtained.
以下、本発明の実施の形態を、図面を参照して説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
A.第1実施形態
A−1.第1実施形態の構成
図1は、本発明の第1実施形態によるデジタルカメラの構成を示すブロック図である。図において、画像取得部10は、レンズ11、シャッタ12、LPF13からなる。レンズ11は、通常の光学レンズであり、非球面レンズを重ねたレンズ群からなる。シャッタ12は、シャッタボタンが操作されると、制御部20によって駆動されるドライバ14により動作する、所謂メカニカルシャッタである。なお、デジタルカメラによっては、メカニカルシャッタを備えない場合もあり、沈胴式のレンズ構造、メカニカルズームを搭載する機種の場合、これらの駆動制御もドライバ14で行う。LPF13は、水晶ローパスフィルタであり、モアレの発生を防ぐために搭載されている。
A. First embodiment A-1. Configuration of First Embodiment FIG. 1 is a block diagram showing a configuration of a digital camera according to a first embodiment of the present invention. In the figure, the
次に、アナログ信号処理部15は、撮像センサ(CCD,CMOS)16、サンプリング/信号増幅処理部17、A/Dコンバータ18からなる。撮像センサ16は、被写体画像(イメージ)を結像し、RGBの各色の光の強さを、電流値に変換する。サンプリング/信号増幅処理部17は、ノイズや色むらを抑えるための相関二重サンプリング処理や信号増幅処理を行う。A/Dコンバータ18は、アナログフロントエンドとも呼ばれ、サンプリング・増幅したアナログ信号をデジタル信号に変換する(RGB,CMYG各色について12bitデータに変換してバスラインに出力する)。
Next, the analog
次に、制御部(CPU)20は、後述するプログラムメモリ格納されるプログラムに従ってデジタルカメラ1(撮像装置)の全体を制御する。特に、本第1実施形態では、手ブレ補正のマージン(余白)がなくなった場合に、画像の切り出し領域のサイズを縮小することでマージンを確保するようになっている。 Next, the control unit (CPU) 20 controls the entire digital camera 1 (imaging device) according to a program stored in a program memory described later. In particular, in the first embodiment, when the margin (margin) for camera shake correction disappears, the margin is ensured by reducing the size of the cutout area of the image.
プレビューエンジン22は、録画モード(記録モード、撮影モードともいう)において、画像取得部10、アナログ信号処理部15を介して入力されたデジタルデータ、もしくはシャッタ操作検出直後、イメージバッファ26に格納されたデジタルデータ、および、画像メモリ31に格納されたデジタルデータを表示部25に表示させるために間引き処理を行う。D/Aコンバータ23は、プレビューエンジン22により間引き処理されたデジタルデータを変換し、後段のドライバ24に出力する。
The
ドライバ24は、後段の表示部25に表示されるデジタルデータを一時記憶するバッファ領域を備え、キー操作部27、制御部20を介して入力された制御信号に基づいて表示部25を駆動させる。表示部25は、カラーTFT液晶や、STN液晶などからなり、プレビュー画像や、撮影後の画像データ、設定メニューなどを表示する。
The
イメージバッファ26は、アナログ信号処理部15、もしくはデジタル信号処理部28を介して入力され、デジタル信号処理部28に渡すまで一時的に撮影直後のデジタルデータを格納する。キー操作部27は、シャッタボタンや、記録/再生モード選択スライドスイッチ、メニューボタン、十字キー(中央押しで決定)などからなる。
The
デジタル信号処理部28は、アナログ信号処理部15を介して入力されたデジタルデータに対して、ホワイトバランス処理、色処理、階調処理、輸郭強調、RGB形式からYUV形式への変換、YUV形式からJPEG形式への変換を行う。画像圧縮/伸張処理部29は、デジタル信号処理部28を介して入力されたデジタルデータをJPEG方式に圧縮符号化したり、モーションJPEG形式の動画ファイルを生成したり、モーションJPEG形式の動画ファイルをMPEG形式の動画ファイルに変換したり、再生モードにおいては、JPEG形式、モーションJPEG形式、あるいはMPEG形式の動画ファイルを伸張したりする。
The digital
プログラムメモリ30は、制御部20にロードされる各種プログラムや、ベストショット機能におけるEV値、色補正情報などを格納する。画像メモリ31は、イメージバッファ26に一時的に保持された画像データや、各種ファイル形式に変換されたデジタルデータ、動画データなどを格納する。カードI/F32は、外部記録媒体33とデジタルカメラ本体との間のデータ交換を制御する。
The
外部記録媒体33は、コンパクトフラッシュ(登録商標)、メモリースティック、SDカード等からなる着脱可能な記録媒体である。外部接続用I/F34は、USBコネクター用スロットなどからなり、パーソナルコンピュータなどと接続され、撮影した画像データの転送などに用いられる。RAM35は、制御部(CPU)20の制御に必要な各種パラメータや、夜景撮影時の各種パラメータ(ゲイン(ISO感度)、絞り、シャッタスピード、画像合成のための閾値、重みなど)などを記憶する。
The
A−2.第1実施形態の動作
次に、上述した第1実施形態の動作について説明する。ここで、図2および図3は、本第1実施形態によるデジタルカメラの動作を説明するためのフローチャートである。また、図4ないし図7は、本第1実施形態による、手ブレ補正なし、手ブレ補正あり&撮影開始時、動画撮影中、切り出し領域のサイズ補正時を説明するための模式図である。
A-2. Operation of First Embodiment Next, the operation of the first embodiment described above will be described. 2 and 3 are flowcharts for explaining the operation of the digital camera according to the first embodiment. FIGS. 4 to 7 are schematic diagrams for explaining the case where there is no camera shake correction, camera shake correction & when shooting starts, during movie shooting, and when the size of the cutout area is corrected according to the first embodiment.
動画撮影モードにすると、アナログ信号処理部15において、撮像センサ(CCD,CMOS)16に結像された映像(全画角)を取り込み、所定の信号処理を施した後、図4に示すように、表示部25にスルー表示する(ステップS10)。撮影開始前は、画角100%、すなわち、プレマージンがゼロの状態である。この状態で、ユーザにより動画撮影開始操作が行われると(ステップS12)、まず、画像切り出し領域の中心が全画角内の中心になるように画像切り出し領域位置をセット(初期化)する(ステップS13)、次に、手ブレ補正がオン状態に設定されているか否かを判断する(ステップS14)。そして、手ブレ補正がオフ状態に設定されている場合には、通常の手ブレ補正を行わない動画撮影処理に進む(ステップS16)。
When the moving image shooting mode is set, the analog
一方、手ブレ補正がオン状態に設定されている場合には、切り取り画角を80%にセット、すなわち、プレマージンを20%にする(ステップS18)。次に、アナログ信号処理部15からの複数フレームをバッファリングし(ステップS20)、対象フレームと隣接フレームとの差分から動きベクトルを検出する(ステップS22)。次に、動きベクトルに従って、画像切り抜きオフセット(切り抜き位置の前後左右へ調整値)を算出し(ステップS24)、この算出されたオフセット値を現在の画像切り出し領域位置に加算して画像切り出し領域位置を更新する。そして、この更新された切り出し領域位置と現在の切り取り画角で指定される切り出し領域の全体が画像データ範囲内(全画角内)に収まっているか否かを判断する(ステップS26)。この場合、切り出し領域の端部が全画角内の端部よりはみ出すか否かを判断してもよいし、切り出し領域の端部と全画角内の端部との距離が予め決められた距離よりも近いか否かを判断してもよい。
On the other hand, when the camera shake correction is set to the on state, the cut angle of view is set to 80%, that is, the pre-margin is set to 20% (step S18). Next, a plurality of frames from the analog
そして、切り出し領域位置が画像データ範囲外であれば、切り出し領域サイズ(切り取り画角)を縮小し(ステップS28)、一方、切り出し領域位置が画像データ範囲内であれば、何もせずに次に進む。この場合、切り出し領域の位置を変えずに全画角内に収めるのに必要なだけ切り出し領域サイズを縮小してもよいし、切り出し領域の端部と全画角内の端部との距離がより近い程、縮小する割合を大きくするようにしてもよい。
次に、上記切り取り画角で画像を切り抜き(ステップS30)、該画像を表示部25の表示領域に拡大し(ステップS34)、表示部25に表示する(ステップS36)。
If the cutout region position is outside the image data range, the cutout region size (cutting view angle) is reduced (step S28). On the other hand, if the cutout region position is within the image data range, nothing is done next. move on. In this case, the size of the cutout area may be reduced as much as necessary to fit within the entire angle of view without changing the position of the cutout area, and the distance between the edge of the cutout area and the edge within the full angle of view is You may make it enlarge the ratio to reduce, so that it is closer.
Next, the image is cut out at the cut angle of view (step S30), the image is enlarged in the display area of the display unit 25 (step S34), and displayed on the display unit 25 (step S36).
そして、現在の画像切り出し領域位置を少しだけ中心に戻す(ステップS37)。これは、撮影者が意図しない手振れに画像切り出し領域位置を追従させる他、撮影者が意図するカメラのパーン動作に画像切り出し領域位置を追従させるためのものである。この中心に戻す処理は、フレーム毎に一定量ずつ戻してもよいし、画像切り出し領域位置の端部と全画角内の端部との距離がより小さい程、一度に戻す量を大きくするようにしてもよい。このようにすれば、手振れが小さい時にはより滑らかな動画となるとともに、より大きな手振れにも対応することが可能になる。 Then, the current image cutout region position is slightly returned to the center (step S37). This is to make the image cutout region position follow the camera panning operation intended by the photographer in addition to making the image cutout region follow the camera shake not intended by the photographer. The process of returning to the center may be performed by a certain amount for each frame, or as the distance between the edge of the image cutout region position and the edge within the entire angle of view is smaller, the amount to be returned at once is increased. It may be. In this way, when the camera shake is small, the moving image becomes smoother and it is possible to cope with a larger camera shake.
次に、バッファエンドであるか否かを判断し(ステップS38)、バッファエンドでない場合には、次のフレームを選択する(ステップS40)。次に、何らかの操作、または撮影終了か否かを判断し(ステップS42)、撮影が継続されている場合には、ステップS22に戻り、動きベクトルの検出、切り抜きオフセットの算出、該オフセットに基づく切り取り領域サイズ(切り取り画角)の縮小、画像の切り抜き、表示部25への表示を行う。
Next, it is determined whether or not it is a buffer end (step S38). If it is not a buffer end, the next frame is selected (step S40). Next, it is determined whether or not any operation or photographing is finished (step S42). If photographing is continued, the process returns to step S22 to detect a motion vector, calculate a clipping offset, and cut based on the offset. The area size (cutting angle of view) is reduced, the image is cut out, and displayed on the
一方、バッファエンドである場合には、切り抜いた複数フレームの画像をエンコードし、画像メモリ31に記録する(ステップS44)。その後、ステップS18に戻り、複数フレームのバッファリング、動きベクトルの検出、切り抜きオフセットの算出、該オフセットに基づく切り取り領域サイズ(切り取り画角)の縮小、画像の切り抜き、表示部25への表示を行う。
On the other hand, if it is a buffer end, the cut out plural frame image is encoded and recorded in the image memory 31 (step S44). Thereafter, the process returns to step S18, and buffering of a plurality of frames, detection of motion vectors, calculation of a cut-off offset, reduction of a cut-out area size (cut-off view angle) based on the offset, cut-out of an image, and display on the
そして、ステップS42において、撮影終了の操作があると、記録した画像を動画ファイルとして保存し(ステップS46)、その後、当該処理を終了する。 In step S42, if there is an operation for ending shooting, the recorded image is saved as a moving image file (step S46), and then the processing is ended.
上述した動作により、動画撮影開始直後は、図5に示すように、画像データの中心部であることが多い。この切り出し領域位置を始点とし、前フレームからの動き量に応じて、上下左右に切り出し領域を移動させる。画像によっては、切り出し領域位置が、最上位置、最下位置、最左位置、最右位置に達してしまうことがある。この場合、その方向に対して、これ以上の手ブレ補正を行うことができなくなる。 By the above-described operation, immediately after the start of moving image shooting, as shown in FIG. Using this clip region position as a starting point, the clip region is moved vertically and horizontally according to the amount of movement from the previous frame. Depending on the image, the cutout region position may reach the uppermost position, the lowermost position, the leftmost position, or the rightmost position. In this case, no more camera shake correction can be performed in that direction.
そこで、動画撮影中には、切り出し領域は、図6に示すように、手ブレ補正のために前後左右に移動することになる。そして、手ブレ補正のために切り出し領域が画像データ範囲外になり、マージンがなくなった場合には、図7に示すように、切り出し領域サイズ(切り取り画角)を縮小する。これにより、マージンを確保することができ、手ブレ補正を有効に機能させることが可能となる。 Therefore, during moving image shooting, as shown in FIG. 6, the cutout area moves back and forth and to the left and right for camera shake correction. Then, when the cutout area is out of the image data range due to camera shake correction and there is no margin, the cutout area size (cutting angle of view) is reduced as shown in FIG. As a result, a margin can be ensured and camera shake correction can function effectively.
上述した第1実施形態では、手ブレ補正を有効とした動画撮影時において、手ブレ補正のマージンがなくなった場合、切り出し領域のサイズ、すなわち切り取り画角を縮小することにより、マージンを確保し、ブレの大きい動画に対しても、手ブレ補正を有効に機能させることができる。 In the above-described first embodiment, when there is no camera shake correction margin during video shooting with camera shake correction enabled, a margin is ensured by reducing the size of the cutout area, that is, the cutting angle of view. Camera shake correction can be made to function effectively even for moving images with large blurring.
B.第1実施形態の変形例
次に、本発明の第1実施形態の変形例について説明する。
図8は、本第1実施形態の変形例の動作を説明するためのフローチャート(一部)である。本第1実施形態の変形例では、前述した第1実施形態と同様に、ステップS22で、対象フレームと隣接フレームとの差分から動きベクトルを検出した後、ステップS24で、画像の切り抜きオフセットを算出し、該動きベクトルに基づく動き量が所定の閾値を越えたか判断し(ステップS50)、所定の閾値を越えたら切り出し領域のサイズを縮小し(ステップS52)、動き量が閾値を下回ったら切り出し領域を拡大する(ステップS54)。それ以降は、前述した第1実施形態と同じである。
B. Next, a modification of the first embodiment of the present invention will be described.
FIG. 8 is a flowchart (part) for explaining the operation of the modification of the first embodiment. In the modification of the first embodiment, as in the first embodiment described above, after detecting a motion vector from the difference between the target frame and an adjacent frame in step S22, the image clipping offset is calculated in step S24. Then, it is determined whether the amount of motion based on the motion vector exceeds a predetermined threshold (step S50). When the amount exceeds the predetermined threshold, the size of the cutout region is reduced (step S52). Is enlarged (step S54). The subsequent steps are the same as in the first embodiment described above.
上述した第1実施形態、および第1実施形態の変形例では、切り出し領域位置の端部と全画角内の端部との距離にまだ余裕がある場合でも、ブレが大きい場合には、切り出し領域が全画角からはみ出してしまう可能性が高いと予測し、事前に切り出し領域のサイズを小さくすることで、ブレが大きくなった場合であっても、適切な手ブレ補正を行いつつ動画撮影することが可能となる。 In the first embodiment described above and the modification of the first embodiment, if there is still a margin in the distance between the end of the cutout region position and the end within the entire angle of view, the cutout is performed when the blur is large. Predict that there is a high possibility that the area will protrude from the full angle of view, and reduce the size of the cutout area in advance, so even if the blurring becomes large, video shooting is performed with proper camera shake correction It becomes possible to do.
また、上述した第1実施形態の変形例では、ブレが小さい場合、すなわち、切り取られる領域の位置が全画角内の端部に達していない場合または端部に達することが予測されなくなった場合には、切り出し領域のサイズ(画角)を拡大することで、ブレの大きさに応じた適切なサイズで手ブレ補正を行いつつ動画撮影することが可能となる。 Further, in the above-described modification of the first embodiment, when the blur is small, that is, when the position of the region to be cut out does not reach the end within the entire angle of view or when it is no longer expected to reach the end. In other words, by enlarging the size (view angle) of the cut-out area, it is possible to shoot a moving image while performing camera shake correction at an appropriate size according to the size of the shake.
また、上述した第1実施形態の変形例では、ブレが小さい場合に、縮小されていた画角を拡大する際は、所定量ずつ徐々に拡大して元の画角に戻していくことで、画角が滑らかに変化するので、適切な手ブレ補正を行いつつ滑らかな動画撮影することが可能となる。 Also, in the modification of the first embodiment described above, when the angle of view that has been reduced is enlarged when blurring is small, it is gradually increased by a predetermined amount and returned to the original angle of view. Since the angle of view changes smoothly, smooth moving image shooting can be performed while performing appropriate camera shake correction.
また、上述した第1実施形態、および第1実施形態の変形例では、切り取られる領域の位置が全画角内の端部に達した場合、該領域の位置を変えずに該領域を全画角内に収められるよう画角を縮小するので、適切な手ブレ補正を行いつつ、より滑らかな動画撮影することが可能となる。 Further, in the first embodiment and the modification of the first embodiment described above, when the position of the cut-out area reaches the end within the full angle of view, the area is not changed without changing the position of the area. Since the angle of view is reduced to fit within the corner, it is possible to shoot a smoother moving image while performing appropriate camera shake correction.
また、上述した第1実施形態、および第1実施形態の変形例では、切り取られる領域の端部と全画角内の端部との間の距離がより近づくに従って、画角を縮小する割合を増すようにしたので、ブレの大きさに応じた適切なサイズで手ブレ補正を行いつつ動画撮影することが可能となる。 In the first embodiment described above and the modification of the first embodiment, the ratio of reducing the angle of view is increased as the distance between the edge of the region to be cut out and the edge within the entire angle of view is closer. Since it is increased, it becomes possible to shoot a moving image while performing camera shake correction at an appropriate size according to the size of the shake.
また、上述した第1実施形態の変形例では、動き量が所定の閾値を越えた場合には、切り取られる領域の位置が全画角内の端部に達することが予測されるとものと判断して切り出し領域のサイズを縮小し、動き量が閾値を下回った場合には、切り取られる領域の位置が端部に達することが予測されなくなったものと判断して切り出し領域を拡大するようにしたので、ブレの大きさに応じた適切なサイズで手ブレ補正を行いつつ動画撮影することが可能となる。 Further, in the modification of the first embodiment described above, it is determined that when the amount of motion exceeds a predetermined threshold, it is predicted that the position of the region to be clipped will reach the end within the entire angle of view. The size of the cutout area is reduced, and if the amount of movement falls below the threshold, it is determined that the position of the cutout area is no longer predicted to reach the edge, and the cutout area is enlarged. Therefore, it becomes possible to shoot a moving image while performing camera shake correction at an appropriate size according to the size of the shake.
また、上述した第1実施形態、および第1実施形態の変形例では、映像の切り取り位置を、所定量ずつ徐々に全画角内の中心部に戻すようにしたので、撮影者が意図しない手振れに画像切り出し領域位置を追従させる他、撮影者が意図するカメラのパーン動作に画像切り出し領域位置を追従させることができる。 Further, in the first embodiment and the modification of the first embodiment described above, the image clipping position is gradually returned to the central portion within the entire angle of view by a predetermined amount. In addition to making the image cutout region position follow, the image cutout region position can be made to follow the panning operation of the camera intended by the photographer.
C.第2実施形態
次に、本発明の第2実施形態について説明する。前述した第1実施形態では、動画撮影時のブレ補正中に切り出し領域のサイズを変更するとしたが、本第2実施形態では、前回の撮影時に取得した動き量に応じて、切り出し領域のサイズを調整することを特徴としている。動画撮影時のブレ補正中に、上下左右各方向の最大動き量と累積動き量、切り出し領域位置がそれぞれ最上位置、最下位置、最左位置、最右位置に達してしまったか等の情報を記憶しておき、該情報に基づいて、次回の動画撮影で用いる切り出し領域サイズ(気取り画角)を決定する。すなわち、動画撮影時のブレ補正中には、切り出し領域サイズを変更しない。
C. Second Embodiment Next, a second embodiment of the present invention will be described. In the first embodiment described above, the size of the cutout area is changed during blur correction at the time of moving image shooting. However, in the second embodiment, the size of the cutout area is set according to the amount of motion acquired at the previous shooting. It is characterized by adjusting. Information such as whether the maximum movement amount and cumulative movement amount in each of the up / down / left / right directions and the cutout area position have reached the highest position, lowest position, leftmost position, rightmost position, etc. Based on this information, the cut-out area size (pretending angle of view) used for the next moving image shooting is determined. That is, the cutout area size is not changed during blur correction during moving image shooting.
上述した第2実施形態では、前回の再生時に取得した最大動き量と累積動き量、および切り出し領域位置がそれぞれ最上位置、最下位置、最左位置、最右位置に達してしまったか等の情報に基づいて、切り出し領域のサイズを決定するようにしたので、ブレの大きな動画に対しても、手ブレ補正を有効に機能させることができる。なお、前述した第1実施形態では、動画再生中に表示される拡大率が変更されるのに対して、本第2実施形態では、表示部25へ表示する際の拡大率が一定である。
In the above-described second embodiment, information such as whether the maximum motion amount and cumulative motion amount acquired at the previous playback and the cutout region position have reached the uppermost position, the lowermost position, the leftmost position, and the rightmost position, respectively. Since the size of the cutout region is determined based on the above, the camera shake correction can be effectively functioned even for a moving image with a large amount of shake. In the first embodiment described above, the enlargement ratio displayed during moving image reproduction is changed, whereas in the second embodiment, the enlargement ratio when displayed on the
1 デジタルカメラ
10 画像取得部
11 レンズ
12 シャッタ
13 LPF
14 ドライバ
15 アナログ信号処理部
16 撮像センサ
17 サンプリング/信号増幅処理部
18 A/Dコンバータ
19 フラッシュ
20 制御部
22 プレビューエンジン
23 D/Aコンバータ
24 ドライバ
25 表示部
26 イメージバッファ
27 キー操作部
28 デジタル信号処理部
29 画像圧縮/伸張処理部
30 プログラムメモリ
31 画像メモリ
32 カードI/F
33 外部記録媒体
34 外部接続用I/F
35 RAM
1
DESCRIPTION OF
33 External recording medium 34 I / F for external connection
35 RAM
Claims (8)
映像を撮像する撮像手段と、
前記撮像手段により逐次撮像される映像を逐次表示する映像表示手段と、
時間軸方向に対して前記撮像手段によって撮像された映像内の動き量を検出する動き量検出手段と、
前記映像表示手段によって映像を表示する際に、前記撮像手段によって撮像された映像から所定の画角で映像を切り取るとともに、この切り取られた映像を所定の表示サイズに合わせて拡大または縮小する切取手段と、
前記動き量検出手段により検出される動き量に基づいて、前記切取手段による映像の切り取り位置を変化させることでブレ補正を行うブレ補正手段と、
前記切取手段により切り取られる領域の位置が全画角内の端部に達した場合または端部に達することが予測される場合、前記切取手段により切り取られる領域の画角を縮小する切取画角調整手段と
を具備することを特徴とする動画撮影装置。 A video shooting device that displays an image captured by performing camera shake correction,
Imaging means for imaging video;
Video display means for sequentially displaying videos sequentially captured by the imaging means;
A motion amount detection means for detecting a motion amount in the video imaged by the imaging means with respect to the time axis direction;
When the video is displayed by the video display means, a cutting means for cutting the video at a predetermined angle of view from the video taken by the imaging means and expanding or reducing the cut video according to a predetermined display size. When,
Based on the amount of motion detected by the amount of motion detection means, a blur correction means for performing blur correction by changing the cutout position of the video by the cutout means,
Cutting angle adjustment for reducing the angle of view of the area cut by the cutting means when the position of the area cut by the cutting means reaches or is expected to reach the end within the entire angle of view. And a moving image photographing apparatus.
コンピュータに、
映像を撮像する撮像機能、
逐次撮像される映像を逐次表示する映像表示機能、
時間軸方向に対して前記撮像された映像内の動き量を検出する動き量検出機能、
前記映像を表示する際に、撮像された映像から所定の画角で映像を切り取るとともに、この切り取られた映像を所定の表示サイズに合わせて拡大または縮小する切取機能、
前記検出される動き量に基づいて、前記映像の切り取り位置を変化させることでブレ補正を行うブレ補正機能、
前記切り取られる領域の位置が全画角内の端部に達した場合または端部に達することが予測される場合、前記切り取られる領域の画角を縮小する切取画角調整機能
を実現させることを特徴とする動画撮影プログラム。
A video shooting program that displays images taken with camera shake correction,
On the computer,
An imaging function to capture images,
A video display function that sequentially displays video that is sequentially captured,
A motion amount detection function for detecting a motion amount in the captured image with respect to a time axis direction;
A cutting function for cutting the video at a predetermined angle of view from the captured video when displaying the video, and expanding or reducing the cut video according to a predetermined display size;
Based on the detected amount of motion, a blur correction function that performs blur correction by changing the cutout position of the video,
When the position of the cut-out area reaches or is expected to reach the end within the entire angle of view, a cut-off angle adjustment function that reduces the angle of view of the cut-out area is realized. A featured video shooting program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006128998A JP4952891B2 (en) | 2006-05-08 | 2006-05-08 | Movie shooting device and movie shooting program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006128998A JP4952891B2 (en) | 2006-05-08 | 2006-05-08 | Movie shooting device and movie shooting program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007300581A true JP2007300581A (en) | 2007-11-15 |
JP4952891B2 JP4952891B2 (en) | 2012-06-13 |
Family
ID=38769663
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006128998A Expired - Fee Related JP4952891B2 (en) | 2006-05-08 | 2006-05-08 | Movie shooting device and movie shooting program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4952891B2 (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009152802A (en) * | 2007-12-19 | 2009-07-09 | Canon Inc | Video processing apparatus, video processing system, video processing method, and program |
JP2012044418A (en) * | 2010-08-18 | 2012-03-01 | Canon Inc | Picture reproducing device and control method therefor |
WO2012032914A1 (en) * | 2010-09-09 | 2012-03-15 | オリンパス株式会社 | Image processing device, endoscope device, image processing program and image processing method |
JP2012085696A (en) * | 2010-10-15 | 2012-05-10 | Olympus Corp | Image processing device, method for controlling image processing device, and endoscope apparatus |
JP2014187482A (en) * | 2013-03-22 | 2014-10-02 | Casio Comput Co Ltd | Image processing device, image processing method and program |
JP2014204342A (en) * | 2013-04-05 | 2014-10-27 | 株式会社Jvcケンウッド | Imaging apparatus and imaging method |
JP2014216733A (en) * | 2013-04-24 | 2014-11-17 | 株式会社Jvcケンウッド | Imaging apparatus and imaging method |
JP2015107422A (en) * | 2015-03-12 | 2015-06-11 | オリンパス株式会社 | Image processor, endoscope device and method for operating the image processor |
KR101578600B1 (en) | 2013-03-22 | 2015-12-17 | 가시오게산키 가부시키가이샤 | Image processing device, image processing method, and computer readable storage medium |
US9712747B2 (en) | 2015-05-18 | 2017-07-18 | Axis Ab | Method and camera for producing an image stabilized video |
WO2019013214A1 (en) * | 2017-07-12 | 2019-01-17 | シャープ株式会社 | Correction device, imaging device, method for controlling correction device, and control program |
CN112804444A (en) * | 2020-12-30 | 2021-05-14 | 影石创新科技股份有限公司 | Video processing method and device, computing equipment and storage medium |
CN113572993A (en) * | 2020-04-27 | 2021-10-29 | 华为技术有限公司 | Video processing method and mobile terminal |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01125064A (en) * | 1987-11-09 | 1989-05-17 | Matsushita Electric Ind Co Ltd | Picture fluctuation correcting image pickup device |
JPH05244481A (en) * | 1992-02-28 | 1993-09-21 | Sanyo Electric Co Ltd | Motion correction quantity control method and device |
JPH066666A (en) * | 1992-06-22 | 1994-01-14 | Canon Inc | Image pickup device |
JPH114379A (en) * | 1997-06-12 | 1999-01-06 | Matsushita Electric Ind Co Ltd | Image signal processing unit |
JP2005039534A (en) * | 2003-07-15 | 2005-02-10 | Sony Corp | Imaging apparatus |
JP2006101485A (en) * | 2004-08-31 | 2006-04-13 | Sanyo Electric Co Ltd | Camera-shake correcting device, and imaging apparatus |
-
2006
- 2006-05-08 JP JP2006128998A patent/JP4952891B2/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01125064A (en) * | 1987-11-09 | 1989-05-17 | Matsushita Electric Ind Co Ltd | Picture fluctuation correcting image pickup device |
JPH05244481A (en) * | 1992-02-28 | 1993-09-21 | Sanyo Electric Co Ltd | Motion correction quantity control method and device |
JPH066666A (en) * | 1992-06-22 | 1994-01-14 | Canon Inc | Image pickup device |
JPH114379A (en) * | 1997-06-12 | 1999-01-06 | Matsushita Electric Ind Co Ltd | Image signal processing unit |
JP2005039534A (en) * | 2003-07-15 | 2005-02-10 | Sony Corp | Imaging apparatus |
JP2006101485A (en) * | 2004-08-31 | 2006-04-13 | Sanyo Electric Co Ltd | Camera-shake correcting device, and imaging apparatus |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009152802A (en) * | 2007-12-19 | 2009-07-09 | Canon Inc | Video processing apparatus, video processing system, video processing method, and program |
JP2012044418A (en) * | 2010-08-18 | 2012-03-01 | Canon Inc | Picture reproducing device and control method therefor |
WO2012032914A1 (en) * | 2010-09-09 | 2012-03-15 | オリンパス株式会社 | Image processing device, endoscope device, image processing program and image processing method |
JP2012055498A (en) * | 2010-09-09 | 2012-03-22 | Olympus Corp | Image processing device, endoscope device, image processing program, and image processing method |
US20130165753A1 (en) * | 2010-09-09 | 2013-06-27 | Olympus Corporation | Image processing device, endoscope apparatus, information storage device, and image processing method |
JP2012085696A (en) * | 2010-10-15 | 2012-05-10 | Olympus Corp | Image processing device, method for controlling image processing device, and endoscope apparatus |
KR101578600B1 (en) | 2013-03-22 | 2015-12-17 | 가시오게산키 가부시키가이샤 | Image processing device, image processing method, and computer readable storage medium |
JP2014187482A (en) * | 2013-03-22 | 2014-10-02 | Casio Comput Co Ltd | Image processing device, image processing method and program |
US9628712B2 (en) | 2013-03-22 | 2017-04-18 | Casio Computer Co., Ltd. | Image processing device, image processing method, and storage medium |
JP2014204342A (en) * | 2013-04-05 | 2014-10-27 | 株式会社Jvcケンウッド | Imaging apparatus and imaging method |
JP2014216733A (en) * | 2013-04-24 | 2014-11-17 | 株式会社Jvcケンウッド | Imaging apparatus and imaging method |
JP2015107422A (en) * | 2015-03-12 | 2015-06-11 | オリンパス株式会社 | Image processor, endoscope device and method for operating the image processor |
US9712747B2 (en) | 2015-05-18 | 2017-07-18 | Axis Ab | Method and camera for producing an image stabilized video |
WO2019013214A1 (en) * | 2017-07-12 | 2019-01-17 | シャープ株式会社 | Correction device, imaging device, method for controlling correction device, and control program |
CN113572993A (en) * | 2020-04-27 | 2021-10-29 | 华为技术有限公司 | Video processing method and mobile terminal |
WO2021218694A1 (en) * | 2020-04-27 | 2021-11-04 | 华为技术有限公司 | Video processing method and mobile terminal |
CN113572993B (en) * | 2020-04-27 | 2022-10-11 | 华为技术有限公司 | Video processing method and mobile terminal |
CN112804444A (en) * | 2020-12-30 | 2021-05-14 | 影石创新科技股份有限公司 | Video processing method and device, computing equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
JP4952891B2 (en) | 2012-06-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4952891B2 (en) | Movie shooting device and movie shooting program | |
JP4900401B2 (en) | Imaging apparatus and program | |
US7853134B2 (en) | Imaging device with image blurring reduction function | |
JP4872797B2 (en) | Imaging apparatus, imaging method, and imaging program | |
TWI326553B (en) | Imaging apparatus, data extraction method, and data extraction program | |
JP4985251B2 (en) | Imaging apparatus, focus control method, and focus control program | |
JP2009225027A (en) | Imaging apparatus, imaging control method, and program | |
JP2015053741A (en) | Image reproduction device | |
US20100328470A1 (en) | Display control device, imaging device, and printing device | |
JP2007189295A (en) | Imaging apparatus and program thereof | |
JP6090494B2 (en) | Movie shooting apparatus, moving image shake correction method, and program | |
JP5402242B2 (en) | Image reproduction apparatus, imaging apparatus, image reproduction method, and image reproduction program | |
JP4379921B2 (en) | Imaging apparatus and program thereof | |
JP2006203732A (en) | Digital camera, portrait/landscape aspect photographing switching method and program | |
JP4888829B2 (en) | Movie processing device, movie shooting device, and movie shooting program | |
JP5910565B2 (en) | Movie shooting apparatus, moving image shake correction method, and program | |
JP4793639B2 (en) | Movie shooting device and movie shooting program | |
JP4368783B2 (en) | Imaging device | |
JP5179859B2 (en) | Imaging apparatus and imaging method | |
JP5105298B2 (en) | Imaging apparatus and program thereof | |
JP2019080261A (en) | Imaging apparatus | |
JP2008147924A (en) | Imaging apparatus | |
JP4872571B2 (en) | Imaging apparatus, imaging method, and program | |
JP5613145B2 (en) | Imaging apparatus and program | |
JP4962597B2 (en) | Electronic camera and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090408 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20101109 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110325 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110519 |
|
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: 20120215 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120228 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4952891 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150323 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |