[go: up one dir, main page]

JP2013201640A - Digital camera - Google Patents

Digital camera Download PDF

Info

Publication number
JP2013201640A
JP2013201640A JP2012069262A JP2012069262A JP2013201640A JP 2013201640 A JP2013201640 A JP 2013201640A JP 2012069262 A JP2012069262 A JP 2012069262A JP 2012069262 A JP2012069262 A JP 2012069262A JP 2013201640 A JP2013201640 A JP 2013201640A
Authority
JP
Japan
Prior art keywords
digital camera
subject
image
moving
subject portion
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.)
Pending
Application number
JP2012069262A
Other languages
Japanese (ja)
Inventor
Yasumasa Nakajima
泰正 中島
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 JP2012069262A priority Critical patent/JP2013201640A/en
Publication of JP2013201640A publication Critical patent/JP2013201640A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)

Abstract

【課題】主要被写体部分と非主要被写体部分とを精度よく弁別することができるデジタルカメラを提供する。
【解決手段】撮影レンズ120による被写体像を撮像する撮像素子130と、撮像素子130により連続的に撮像された複数の画像のうちの2つの画像において、相対的に所定量以上移動した移動被写体部分と、所定量未満の非移動被写体部分とを抽出する被写体抽出部113と、複数の画像の撮像中における、撮影レンズ120の光軸に垂直な方向へのデジタルカメラ100の移動量を検出する振れ検出部191と、振れ検出部191により検出された移動量に基づいて、移動被写体部分と非移動被写体部分との一方を主要被写体部分と判定し、他方を非主要被写体部分と判定する被写体判定部114と、を備えるデジタルカメラ100。
【選択図】図1
A digital camera capable of accurately discriminating between a main subject portion and a non-main subject portion is provided.
An image pickup device for picking up a subject image by a photographing lens and a moving subject portion moved relatively by a predetermined amount or more in two of a plurality of images continuously picked up by the image pickup device. And a subject extraction unit 113 that extracts a non-moving subject part less than a predetermined amount, and a shake that detects the amount of movement of the digital camera 100 in a direction perpendicular to the optical axis of the photographing lens 120 during the imaging of a plurality of images. Based on the amount of movement detected by the detection unit 191 and the shake detection unit 191, a subject determination unit that determines one of the moving subject portion and the non-moving subject portion as the main subject portion and the other as the non-main subject portion. 114.
[Selection] Figure 1

Description

本発明は、デジタルカメラに関する。   The present invention relates to a digital camera.

撮影された動画に含まれる被写体部分の相対的な移動量を求める手法が知られている。例えば特許文献1には、オプティカルフローに基づいて動画像の背景すなわち非動物体と動物体とを分離する動画像処理方法が記載されている。   There is known a method for obtaining a relative movement amount of a subject portion included in a captured moving image. For example, Patent Document 1 describes a moving image processing method for separating a moving image background, that is, a non-animal body and an animal body, based on an optical flow.

特開平9−212648号公報JP-A-9-212648

特許文献1に記載の動画像処理方法では、分離された非動物体と動物体とのいずれが主要被写体部分であるかを知ることができないという問題があった。   In the moving image processing method described in Patent Document 1, there is a problem that it is impossible to know which of the separated non-animal body and moving body is the main subject portion.

請求項1に係る発明は、撮影レンズによる被写体像を撮像する撮像素子と、撮像素子により連続的に撮像された複数の画像のうちの2つの画像において、相対的に所定量以上移動した移動被写体部分と、所定量未満の非移動被写体部分とを抽出する抽出手段と、複数の画像の撮像中における、撮影レンズの光軸に垂直な方向へのデジタルカメラの移動量を検出する検出手段と、検出手段により検出された移動量に基づいて、移動被写体部分と非移動被写体部分との一方を主要被写体部分と判定し、他方を非主要被写体部分と判定する判定手段と、を備えることを特徴とするデジタルカメラである。   According to a first aspect of the present invention, there is provided an image sensor that captures a subject image by a photographing lens, and a moving subject that is relatively moved by a predetermined amount or more in two images out of a plurality of images continuously captured by the image sensor. An extraction means for extracting a portion and a non-moving subject part less than a predetermined amount; a detection means for detecting a movement amount of the digital camera in a direction perpendicular to the optical axis of the photographing lens during imaging of a plurality of images; And determining means for determining one of the moving subject portion and the non-moving subject portion as a main subject portion and determining the other as a non-main subject portion based on the amount of movement detected by the detecting means. It is a digital camera.

本発明によれば、主要被写体部分と非主要被写体部分とを精度よく弁別することができる。   According to the present invention, a main subject portion and a non-main subject portion can be distinguished with high accuracy.

本発明の第1の実施の形態に係るデジタルカメラの構成を示すブロック図である。It is a block diagram which shows the structure of the digital camera which concerns on the 1st Embodiment of this invention. 被写体判定部114による判定の内容を説明するための模式図である。FIG. 10 is a schematic diagram for explaining details of determination by a subject determination unit 114. デジタルカメラ100による動画撮影処理を示すフローチャートである。3 is a flowchart showing moving image shooting processing by the digital camera 100. 本発明の第2の実施の形態に係るデジタルカメラの構成を示すブロック図である。It is a block diagram which shows the structure of the digital camera which concerns on the 2nd Embodiment of this invention.

(第1の実施の形態)
図1は、本発明の第1の実施の形態に係るデジタルカメラの構成を示すブロック図である。デジタルカメラ100はレンズ一体型のデジタルカメラであり、被写体像を撮像素子130の撮像面上に結像させる撮影レンズ120を有している。撮像素子130は画素に対応する複数の光電変換素子を備えたCCDやCMOS等のイメージセンサによって構成される。
(First embodiment)
FIG. 1 is a block diagram showing the configuration of a digital camera according to the first embodiment of the present invention. The digital camera 100 is a lens-integrated digital camera, and includes a photographing lens 120 that forms a subject image on the imaging surface of the imaging element 130. The image sensor 130 is configured by an image sensor such as a CCD or CMOS provided with a plurality of photoelectric conversion elements corresponding to pixels.

撮像素子130は、撮像面上に結像されている被写体像を撮像し、被写体像の明るさに応じた光電変換信号(画像信号)を制御回路110に出力する。撮像素子130の撮像面には、それぞれR(赤)、G(緑)およびB(青)のカラーフィルタが画素位置に対応するように設けられている。   The image sensor 130 captures a subject image formed on the imaging surface and outputs a photoelectric conversion signal (image signal) corresponding to the brightness of the subject image to the control circuit 110. On the imaging surface of the imaging device 130, R (red), G (green), and B (blue) color filters are provided so as to correspond to the pixel positions, respectively.

撮影レンズ120は被写体の像振れを補正するための振れ補正レンズ(不図示)を含む、複数のレンズにより構成される。振れ検出部191は撮影レンズ120の光軸に垂直な方向へのデジタルカメラの移動量を検出し、検出信号を制御回路110および振れ補正部190に出力する。振れ補正部190は、上記の検出信号に基づいて振れ補正レンズを駆動することにより、被写体像の像振れを補正する。   The photographing lens 120 includes a plurality of lenses including a shake correction lens (not shown) for correcting image shake of a subject. The shake detection unit 191 detects the amount of movement of the digital camera in the direction perpendicular to the optical axis of the photographic lens 120 and outputs a detection signal to the control circuit 110 and the shake correction unit 190. The shake correction unit 190 corrects the image shake of the subject image by driving the shake correction lens based on the detection signal.

制御回路110はマイクロプロセッサおよびその周辺回路等により構成されており、不揮発性の記憶媒体であるフラッシュメモリ150に格納されている所定の制御プログラムを実行することにより各部の制御を行う。制御回路110は、撮像素子130の出力に基づいて画像データを生成し、DRAM140に一時的に格納する。生成された画像データは、メモリカードI/F170に装着された可搬性の記憶媒体171に記憶されるか、あるいはLCD駆動回路160により駆動される表示装置である液晶モニタ161に表示される。   The control circuit 110 includes a microprocessor and its peripheral circuits, and controls each unit by executing a predetermined control program stored in the flash memory 150 which is a nonvolatile storage medium. The control circuit 110 generates image data based on the output of the image sensor 130 and temporarily stores it in the DRAM 140. The generated image data is stored in a portable storage medium 171 attached to the memory card I / F 170 or displayed on a liquid crystal monitor 161 which is a display device driven by the LCD drive circuit 160.

制御回路110には、レリーズボタン(不図示)などデジタルカメラ100の外部に設けられた種々の操作部材を含む入力装置180が接続されている。ユーザが各操作部材を操作すると、入力装置180はこの操作に応じた操作信号を制御回路110に出力する。   Connected to the control circuit 110 is an input device 180 including various operation members provided outside the digital camera 100 such as a release button (not shown). When the user operates each operation member, the input device 180 outputs an operation signal corresponding to the operation to the control circuit 110.

制御回路110はソフトウェア形態により演算部111、動画記憶部112、被写体抽出部113、被写体判定部114、および画像処理部115を備える。これらの各部は、制御回路110がフラッシュメモリ150に格納されている所定の制御プログラムを実行することにより、ソフトウェア的に実現される。   The control circuit 110 includes a calculation unit 111, a moving image storage unit 112, a subject extraction unit 113, a subject determination unit 114, and an image processing unit 115 in a software form. Each of these units is realized by software when the control circuit 110 executes a predetermined control program stored in the flash memory 150.

演算部111は、撮像素子130により連続的に撮像された複数の画像のうちの2つの画像において、周知の方法により動きベクトルを演算する。被写体抽出部113は、撮像素子130により連続的に撮像された複数の画像のうちの2つの画像において、演算部111により演算された動きベクトルに基づいて、相対的に所定量以上移動した移動被写体部分と、所定量未満だけ移動した非移動被写体部分とを抽出する。被写体判定部114は、振れ検出部191により検出されたデジタルカメラ100の移動量に基づいて、被写体抽出部113により抽出された移動被写体部分と非移動被写体部分との一方を主要被写体部分と判定し、他方を非主要被写体部分と判定する。   The computing unit 111 computes a motion vector by a well-known method in two images out of a plurality of images continuously captured by the image sensor 130. The subject extraction unit 113 is a moving subject that has moved relatively more than a predetermined amount based on the motion vector calculated by the calculation unit 111 in two of the plurality of images continuously captured by the image sensor 130. A portion and a non-moving subject portion that has moved by less than a predetermined amount are extracted. The subject determination unit 114 determines one of the moving subject part and the non-moving subject part extracted by the subject extraction unit 113 as the main subject part based on the movement amount of the digital camera 100 detected by the shake detection unit 191. The other is determined as a non-main subject portion.

画像処理部115は、被写体判定部114による判定結果に基づいて、主要被写体部分と非主要被写体部分とにそれぞれ異なる画像処理を行う。動画記憶部112は、撮像素子130により連続的に撮像され、画像処理部115により画像処理が行われた複数の画像を含む動画ファイルを記憶媒体171に記憶する。動画記憶部112により記憶される動画ファイルは、例えばMPEGなどの所定の符号化方式(圧縮方式)により符号化されている。   The image processing unit 115 performs different image processing on the main subject portion and the non-main subject portion based on the determination result by the subject determination unit 114. The moving image storage unit 112 stores, in the storage medium 171, a moving image file including a plurality of images that are continuously captured by the image sensor 130 and subjected to image processing by the image processing unit 115. The moving image file stored by the moving image storage unit 112 is encoded by a predetermined encoding method (compression method) such as MPEG.

(動画撮影の説明)
本実施形態のデジタルカメラ100は動画撮影機能を有する。ユーザが入力装置180により動画撮影の開始を指示すると、制御回路110は所定間隔(例えば30分の1秒)毎に撮像素子130に連続的に撮像を行わせる。制御回路110は撮像により撮像素子130から出力された画像信号に対して、画像処理部115が行うものとは異なる種々の画像処理を行い、画像データを作成する。作成された画像データはDRAM140に一時的に記憶される。
(Description of video shooting)
The digital camera 100 of this embodiment has a moving image shooting function. When the user instructs to start moving image shooting using the input device 180, the control circuit 110 causes the image sensor 130 to continuously perform imaging at predetermined intervals (for example, 1/30 second). The control circuit 110 performs various image processes different from those performed by the image processing unit 115 on the image signal output from the image sensor 130 by imaging, and generates image data. The created image data is temporarily stored in the DRAM 140.

演算部111はDRAM140に記憶された時間的に連続する2つの画像データに対して、周知の手法により動きベクトルを演算する。例えば、一方の画像の全体を比較的小さな複数のブロックに分割し、各ブロックが他方の画像においてどの位置に対応しているかを演算する。なお、動きベクトルを演算する方法は周知のものであればこれに限定されない。例えば特開2000−224593号公報に記載された手法を利用して動きベクトルを演算することができる。動きベクトルの演算結果はDRAM140に記憶される。   The calculation unit 111 calculates a motion vector with respect to two temporally continuous image data stored in the DRAM 140 by a known method. For example, the whole of one image is divided into a plurality of relatively small blocks, and the position corresponding to each block in the other image is calculated. The method for calculating the motion vector is not limited to this as long as it is a known method. For example, a motion vector can be calculated using a method described in Japanese Patent Laid-Open No. 2000-224593. The motion vector calculation result is stored in the DRAM 140.

被写体抽出部113は動きベクトルの演算結果に基づいて、周知の手法により、DRAM140に記憶されている画像データの移動被写体部分と非移動被写体部分とを抽出する。具体的には、動きベクトルが所定量以上である部分、すなわち連続する2つの画像データにおいて相対的に所定量以上移動した部分を移動被写体部分として抽出する。他方、動きベクトルが所定量未満である部分、すなわち連続する2つの画像データにおいて相対的に所定量未満しか移動していない部分を非移動被写体部分として抽出する。   The subject extraction unit 113 extracts the moving subject portion and the non-moving subject portion of the image data stored in the DRAM 140 by a well-known method based on the motion vector calculation result. Specifically, a portion where the motion vector is greater than or equal to a predetermined amount, that is, a portion which is relatively moved by a predetermined amount or more in two consecutive image data is extracted as a moving subject portion. On the other hand, a portion where the motion vector is less than a predetermined amount, that is, a portion that has moved relatively less than a predetermined amount in two consecutive image data is extracted as a non-moving subject portion.

図2は、被写体判定部114による判定の内容を説明するための模式図である。図2には、連続的に撮像された5つの画像データP1〜P5が示されている。画像データP1〜P5は、P1,P2,P3,P4,P5の順に撮像されている。これら5つの画像データには、それぞれ円形の被写体部分10と方形の被写体部分20とが含まれている。   FIG. 2 is a schematic diagram for explaining the contents of determination by the subject determination unit 114. FIG. 2 shows five pieces of image data P1 to P5 captured continuously. The image data P1 to P5 are captured in the order of P1, P2, P3, P4, and P5. Each of these five image data includes a circular subject portion 10 and a square subject portion 20.

これら5つの画像データP1〜P5において、被写体部分10は撮像間隔毎に移動量xだけ移動している。この移動量xが所定の移動量を上回っている場合、被写体抽出部113は各画像データP1〜P5において被写体部分10を移動被写体部分として抽出する。他方、被写体部分20を含むそれ以外の被写体部分は全く移動していない。従って、被写体抽出部113は被写体部分10以外の被写体部分を非移動被写体部分として抽出する。   In these five pieces of image data P1 to P5, the subject portion 10 moves by the movement amount x at every imaging interval. When the movement amount x exceeds the predetermined movement amount, the subject extraction unit 113 extracts the subject portion 10 as the moving subject portion in each of the image data P1 to P5. On the other hand, the other subject portions including the subject portion 20 are not moved at all. Accordingly, the subject extraction unit 113 extracts subject portions other than the subject portion 10 as non-moving subject portions.

ここで、図2に示す画像データP1〜P5の撮像時、振れ検出部191が所定のしきい値未満の移動量しか検出しなかったものとする。動画撮影において全く動きのない被写体部分(例えば風景など)をデジタルカメラ100を固定して(移動させずに)撮影することは考えにくい。すなわち、図2においてユーザが動画撮影の目的とする被写体部分は移動している被写体部分10であると考えられる。そこで被写体判定部114は、被写体抽出部113によって移動被写体部分として抽出された被写体部分を主要被写体部分と判定する。他方、非移動被写体部分として抽出された被写体部分は非主要被写体部分(すなわち背景)であると判定する。   Here, it is assumed that when the image data P1 to P5 illustrated in FIG. 2 is captured, the shake detection unit 191 detects only a movement amount less than a predetermined threshold value. In moving image shooting, it is unlikely to shoot a subject portion (for example, a landscape) that does not move at all with the digital camera 100 fixed (without moving). That is, in FIG. 2, it is considered that the subject portion that the user intends to shoot the moving image is the moving subject portion 10. Accordingly, the subject determination unit 114 determines the subject portion extracted as the moving subject portion by the subject extraction unit 113 as the main subject portion. On the other hand, it is determined that the subject portion extracted as the non-moving subject portion is a non-main subject portion (that is, the background).

一方、図2において、振れ検出部191が所定のしきい値以上の移動量を検出した場合には、被写体判定部114は被写体抽出部113によって非移動被写体部分として抽出された被写体部分(すなわち被写体部分20など、被写体部分10以外の被写体部分)を主要被写体部分と判定する。他方、移動被写体部分として抽出された被写体部分(すなわち被写体部分10)は非主要被写体部分であると判定する。これは、撮像中にデジタルカメラ100が大きく動かされたにも関わらず、画像データ内において被写体部分20が移動していないということはすなわち、ユーザが被写体部分20を追いかけてデジタルカメラ100をパンしたと考えられるためである。   On the other hand, in FIG. 2, when the shake detection unit 191 detects a movement amount equal to or greater than a predetermined threshold, the subject determination unit 114 detects the subject part extracted by the subject extraction unit 113 as a non-moving subject part (ie, subject The subject part other than the subject part 10 such as the part 20) is determined as the main subject part. On the other hand, the subject portion extracted as the moving subject portion (that is, the subject portion 10) is determined to be a non-main subject portion. This is because the subject portion 20 does not move in the image data even though the digital camera 100 is moved greatly during imaging, that is, the user pans the digital camera 100 following the subject portion 20. It is because it is considered.

以上のように、動画撮影において被写体判定部114は、振れ検出部191により検出された移動量が所定のしきい値以上であった場合には非移動被写体部分を主要被写体部分と判定し、移動量が所定のしきい値未満であった場合には移動被写体部分を主要被写体部分と判定する。   As described above, in moving image shooting, the subject determination unit 114 determines that the non-moving subject portion is the main subject portion and moves when the amount of movement detected by the shake detection unit 191 is equal to or greater than a predetermined threshold value. If the amount is less than the predetermined threshold, the moving subject portion is determined as the main subject portion.

被写体判定部114による判定が行われた後、画像処理部115は、画像データに対して主要被写体部分と非主要被写体部分とにそれぞれ異なる画像処理を行う。例えば、画像のホワイトバランスの調整を、主要被写体部分に注目して行う。更に、非主要被写体部分に対して相対的に強めのぼかし処理を加えることにより、被写界深度の浅い効果を得た画像を作成する。   After the determination by the subject determination unit 114 is performed, the image processing unit 115 performs different image processing on the main subject portion and the non-main subject portion on the image data. For example, the white balance of the image is adjusted by paying attention to the main subject portion. Furthermore, an image with an effect of shallow depth of field is created by applying a relatively strong blurring process to the non-main subject portion.

最後に動画記憶部112は、画像処理部115により画像処理が行われた画像データを含む動画ファイルを記憶媒体171に記憶する。本実施形態の動画記憶部112は、各フレーム間の動きベクトルを利用した符号化方式で動画ファイルを記憶する。この動きベクトルは、演算部111により演算される。すなわち動画記憶部112は、演算部111により演算された動きベクトルに基づく所定の符号化方式で動画ファイルを記憶する。   Finally, the moving image storage unit 112 stores a moving image file including the image data subjected to the image processing by the image processing unit 115 in the storage medium 171. The moving image storage unit 112 of the present embodiment stores a moving image file by an encoding method using a motion vector between frames. This motion vector is calculated by the calculation unit 111. That is, the moving image storage unit 112 stores a moving image file by a predetermined encoding method based on the motion vector calculated by the calculation unit 111.

図3は、デジタルカメラ100による動画撮影処理を示すフローチャートである。まずステップS300では、制御回路110がユーザの指示に応じて動画撮影を開始する。ステップS310では、制御回路110が撮像素子130に被写体像を撮像させる。ステップS320では演算部111が、連続する2つの画像データにおいて動きベクトルを演算する。ステップS330では、被写体抽出部113が移動被写体部分と非移動被写体部分とを抽出する。   FIG. 3 is a flowchart showing the moving image shooting process by the digital camera 100. First, in step S300, the control circuit 110 starts moving image shooting in response to a user instruction. In step S310, the control circuit 110 causes the image sensor 130 to capture a subject image. In step S320, the calculation unit 111 calculates a motion vector in two consecutive image data. In step S330, the subject extraction unit 113 extracts a moving subject portion and a non-moving subject portion.

ステップS340では、被写体判定部114が、振れ検出部191により検出されたデジタルカメラ100の移動量が所定のしきい値以上か否かを判定する。移動量がしきい値以上であった場合には肯定判定がなされ、処理はステップS350に進む。ステップS350では、被写体判定部114が移動被写体部分を非主要被写体部分であると判定する。他方、ステップS340において否定判定がなされた場合には処理はステップS360に進み、被写体判定部114が移動被写体部分を主要被写体部分であると判定する。ステップ370では画像処理部115が主要被写体部分と非主要被写体部分とにそれぞれ異なる画像処理を行う。   In step S340, the subject determination unit 114 determines whether the movement amount of the digital camera 100 detected by the shake detection unit 191 is equal to or greater than a predetermined threshold value. If the movement amount is greater than or equal to the threshold value, an affirmative determination is made, and the process proceeds to step S350. In step S350, the subject determination unit 114 determines that the moving subject portion is a non-main subject portion. On the other hand, if a negative determination is made in step S340, the process proceeds to step S360, and the subject determination unit 114 determines that the moving subject portion is the main subject portion. In step 370, the image processing unit 115 performs different image processing on the main subject portion and the non-main subject portion.

ステップS380では制御回路110がユーザにより動画撮影の終了指示が為されたか否かを判定する。ユーザによる動画撮影の終了指示が為されていない場合にはステップS310に戻り、所定間隔ごとにステップS310の撮像を繰り返す。他方、ユーザにより動画撮影の終了指示が為された場合にはステップS390に進み、動画記憶部112がDRAM140に記憶されている画像データを含む動画ファイルを記憶媒体171に記憶する。   In step S380, the control circuit 110 determines whether or not the user has instructed to end moving image shooting. If the user has not instructed to finish moving image shooting, the process returns to step S310, and the imaging in step S310 is repeated at predetermined intervals. On the other hand, if the user gives an instruction to end moving image shooting, the process proceeds to step S 390, where the moving image storage unit 112 stores a moving image file including image data stored in the DRAM 140 in the storage medium 171.

上述した第1の実施の形態によるデジタルカメラによれば、次の作用効果が得られる。
(1)被写体抽出部113は、撮像素子130により連続的に撮像された複数の画像のうちの2つの画像において、相対的に所定量以上移動した移動被写体部分と、所定量未満の非移動被写体部分とを抽出するする。被写体判定部114は、振れ検出部191により検出された、複数の画像の撮像中における撮影レンズ120の光軸に垂直な方向へのデジタルカメラ100の移動量に基づいて、移動被写体部分と非移動被写体部分との一方を主要被写体部分と判定し、他方を非主要被写体部分と判定する。このようにしたので、主要被写体部分と非主要被写体部分とを精度よく弁別することができる。
According to the digital camera according to the first embodiment described above, the following operational effects can be obtained.
(1) The subject extraction unit 113 includes a moving subject portion that has moved relatively more than a predetermined amount and a non-moving subject that is less than a predetermined amount in two of a plurality of images continuously captured by the image sensor 130. Extract parts. The subject determination unit 114 is non-moving from the moving subject part based on the amount of movement of the digital camera 100 in the direction perpendicular to the optical axis of the photographing lens 120 detected by the shake detection unit 191 during imaging of a plurality of images. One of the subject portions is determined as a main subject portion, and the other is determined as a non-main subject portion. Since it did in this way, a main subject part and a non-main subject part can be distinguished accurately.

(2)被写体判定部114は、振れ検出部191により検出された移動量が所定のしきい値以上であった場合には非移動被写体部分を主要被写体部分と判定し、移動量が所定のしきい値未満であった場合には移動被写体部分を主要被写体部分と判定する。このようにしたので、ユーザの意図を汲んだ適切な主要被写体部分の弁別を行うことができる。 (2) The subject determination unit 114 determines that the non-moving subject part is the main subject part when the movement amount detected by the shake detection unit 191 is equal to or greater than a predetermined threshold, and the movement amount is predetermined. If it is less than the threshold value, the moving subject portion is determined as the main subject portion. Since it did in this way, the discrimination of the suitable main to-be-photographed part which took in the user's intention can be performed.

(3)画像処理部115は、主要被写体部分と非主要被写体部分とにそれぞれ異なる画像処理を行う。このようにしたので、主要被写体部分に注目した効果的な動画を撮影することができる。 (3) The image processing unit 115 performs different image processing on the main subject portion and the non-main subject portion. Since it did in this way, an effective animation which paid its attention to the main subject part can be photoed.

(4)演算部111は、被写体抽出部113が移動被写体部分と非移動被写体部分とを抽出するために利用し、且つ動画記憶部112が所定の動画符号化方式で動画ファイルを記憶するために利用する、2つの画像の動きベクトルを演算する。このようにしたので、移動被写体部分と非移動被写体部分とを抽出するために更なる演算を行う必要がなく、計算量が削減される。 (4) The calculation unit 111 is used by the subject extraction unit 113 to extract the moving subject portion and the non-moving subject portion, and the moving image storage unit 112 stores the moving image file by a predetermined moving image encoding method. The motion vectors of two images to be used are calculated. Since it did in this way, it is not necessary to perform further calculation in order to extract a moving subject part and a non-moving subject part, and a calculation amount is reduced.

(5)振れ検出部191は、振れ補正部190が被写体像の像振れを補正するために利用し、且つ被写体判定部114が主要被写体部分と非主要被写体部分とを判定するために利用する、デジタルカメラ100の移動量を検出する。このようにしたので、被写体判定部114による判定のために新たなセンサを追加する必要が無く、部品点数および部品コストが削減される。 (5) The shake detection unit 191 is used by the shake correction unit 190 to correct image shake of the subject image, and the subject determination unit 114 is used to determine the main subject portion and the non-main subject portion. The amount of movement of the digital camera 100 is detected. Since it did in this way, it is not necessary to add a new sensor for the determination by the subject determination unit 114, and the number of parts and the part cost are reduced.

(第2の実施の形態)
図4は、本発明の第2の実施の形態に係るデジタルカメラの構成を示すブロック図である。なお、図1に示す第1の実施の形態に係るデジタルカメラと同様の箇所については同一の符号を付し説明を省略する。第2の実施の形態に係るデジタルカメラ200は、第1の実施の形態に係るデジタルカメラ100の各部に加えて、焦点調節部292を有する。
(Second Embodiment)
FIG. 4 is a block diagram showing a configuration of a digital camera according to the second embodiment of the present invention. In addition, the same code | symbol is attached | subjected about the location similar to the digital camera which concerns on 1st Embodiment shown in FIG. 1, and description is abbreviate | omitted. The digital camera 200 according to the second embodiment includes a focus adjustment unit 292 in addition to each unit of the digital camera 100 according to the first embodiment.

焦点調節部292は、撮影レンズ120の焦点状態を検知すると共に、焦点状態の検知結果に応じて撮影レンズ120に含まれるフォーカシングレンズを駆動することにより、撮影レンズ120の焦点調節を行う。焦点状態の検知は例えばコントラスト方式や位相差検出方式など周知の方式により行われる。   The focus adjustment unit 292 detects the focus state of the photographic lens 120 and drives the focusing lens included in the photographic lens 120 according to the detection result of the focus state, thereby adjusting the focus of the photographic lens 120. The focus state is detected by a known method such as a contrast method or a phase difference detection method.

本実施形態の焦点調節部292は動画撮影モードにおいてユーザから焦点調節の指示が与えられると、被写体の全体からピントを合わせる領域(フォーカスエリア)を決定するために、被写体判定部114による判定結果を利用する。すなわち、主要被写体部分に基づいて撮影レンズ120の焦点調節処理を実行する。例えば図2に示す画像データP1〜P5が撮像素子130により撮像されているときにユーザから焦点調節指示が与えられ、被写体判定部114が上述した方法により被写体部分10を主要被写体部分であると判定した場合には、焦点調節部292は被写体部分10にピントが合うようフォーカシングレンズを駆動する。   When a focus adjustment instruction is given from the user in the moving image shooting mode, the focus adjustment unit 292 of the present embodiment uses the determination result by the subject determination unit 114 to determine a focus area from the entire subject. Use. That is, the focus adjustment process of the photographing lens 120 is executed based on the main subject portion. For example, when the image data P1 to P5 shown in FIG. 2 are captured by the image sensor 130, a focus adjustment instruction is given from the user, and the subject determination unit 114 determines that the subject portion 10 is the main subject portion by the method described above. In this case, the focus adjustment unit 292 drives the focusing lens so that the subject portion 10 is in focus.

また、本実施形態の制御回路110は、静止画撮影モードにおいて、撮像素子130に所定間隔毎に被写体像を撮像させると共に、撮像結果をいわゆるスルー画として液晶モニタ161に表示させる。本実施形態の演算部111、被写体抽出部113、被写体判定部114、および画像処理部115は、スルー画として表示するために撮像された画像データに対しても第1の実施の形態と同様の処理を行う。すなわち、スルー画に対して主要被写体部分と非主要被写体部分とを判定し、互いに異なる画像処理を行う。液晶モニタ161には、画像処理部115により画像処理が行われた複数の画像データがスルー画として表示される。焦点調節部292は静止画撮影モードにおいてユーザから焦点調節の指示が与えられると、このスルー画における被写体判定部114の判定結果に基づいてフォーカスエリアを決定する。   Further, in the still image shooting mode, the control circuit 110 according to the present embodiment causes the image sensor 130 to capture a subject image at a predetermined interval and causes the liquid crystal monitor 161 to display the imaging result as a so-called through image. The calculation unit 111, the subject extraction unit 113, the subject determination unit 114, and the image processing unit 115 of the present embodiment are the same as those of the first embodiment for image data captured for display as a through image. Process. That is, the main subject portion and the non-main subject portion are determined for the through image, and different image processing is performed. The liquid crystal monitor 161 displays a plurality of image data that has been subjected to image processing by the image processing unit 115 as a through image. When a focus adjustment instruction is given from the user in the still image shooting mode, the focus adjustment unit 292 determines a focus area based on the determination result of the subject determination unit 114 in this through image.

上述した第2の実施の形態によるデジタルカメラによれば、第1の実施の形態によるデジタルカメラで得られる作用効果に加えて、次の作用効果が得られる。
(1)液晶モニタ161には、画像処理部115により画像処理が行われた複数の画像がスルー画として表示される。このようにしたので、静止画撮影において、撮影を支援するための画像処理を主要被写体部分と非主要被写体部分とに適用することができる。
According to the digital camera according to the second embodiment described above, the following functions and effects can be obtained in addition to the functions and effects obtained by the digital camera according to the first embodiment.
(1) On the liquid crystal monitor 161, a plurality of images subjected to image processing by the image processing unit 115 are displayed as through images. Since it did in this way, in still image photography, image processing for supporting photography can be applied to a main subject part and a non-main subject part.

(2)焦点調節部292は、主要被写体部分に基づいて撮影レンズ120の焦点調節処理を実行する。このようにしたので、主要被写体部分に的確にピントを合わせることが可能となる。 (2) The focus adjustment unit 292 executes focus adjustment processing of the photographing lens 120 based on the main subject portion. Since this is done, it is possible to accurately focus on the main subject portion.

次のような変形も本発明の範囲内であり、変形例の一つ、もしくは複数を上述の実施形態と組み合わせることも可能である。   The following modifications are also within the scope of the present invention, and one or a plurality of modifications can be combined with the above-described embodiment.

(変形例1)
被写体抽出部113が動きベクトル以外の情報に基づいて移動被写体部分と非移動被写体部分とを抽出するようにしてもよい。例えば特許文献1に記載されたオプティカルフローを用いる方法により移動被写体部分と非移動被写体部分とを抽出するようにしてもよい。
(Modification 1)
The subject extraction unit 113 may extract the moving subject portion and the non-moving subject portion based on information other than the motion vector. For example, the moving subject portion and the non-moving subject portion may be extracted by a method using an optical flow described in Patent Document 1.

(変形例2)
第1の実施の形態において、演算部111による動きベクトルの演算や動画記憶部112による動画ファイルの記憶は、撮像素子130により連続的に撮像された複数の画像に基づいて行われる。ここで「連続的に撮像された」とは、必ずしも時系列順に連続していることを意味しない。例えば60分の1秒毎に撮像が行われた場合において、演算部111による動きベクトルの演算は30分の1秒毎に行われるようにしてもよい。すなわち、撮像された画像の全てに対して動きベクトルの演算等を行わず、いくつかの画像が間引かれるようにしてもよい。また、動きベクトルの演算は2枚おきに行われる(毎秒30枚)ようにする一方で、画像処理部115による画像処理は全ての画像に対して行われる(毎秒60枚)ようにしてもよい。あるいは、動きベクトルの演算は全ての画像に対して行われる(毎秒60枚)一方で、動画記憶部112により記憶される動画ファイルにはそのうち2枚おきの画像のみが含まれる(毎秒30枚)ようにしてもよい。
(Modification 2)
In the first embodiment, the calculation of the motion vector by the calculation unit 111 and the storage of the moving image file by the moving image storage unit 112 are performed based on a plurality of images continuously captured by the image sensor 130. Here, “continuously imaged” does not necessarily mean that the images are consecutive in time series. For example, when imaging is performed every 1 / 60th of a second, the motion vector calculation by the calculation unit 111 may be performed every 1 / 30th of a second. That is, some images may be thinned out without performing motion vector calculation or the like on all captured images. The motion vector calculation may be performed every two frames (30 frames per second), while the image processing by the image processing unit 115 may be performed on all images (60 frames per second). . Alternatively, the motion vector is calculated for all images (60 images per second), while the moving image file stored by the moving image storage unit 112 includes only every second image (30 images per second). You may do it.

(変形例3)
第1の実施の形態において、画像処理部115による画像処理を記憶媒体171に記憶済みの動画ファイルに対して行えるようにしてもよい。この場合、例えば動画記憶部112を、振れ検出部191により検出されたデジタルカメラ100の移動量を含む動画ファイルを記憶媒体171に記憶するように構成すればよい。あるいは、動画記憶部112を、被写体判定部114による判定結果を含む動画ファイルを記憶媒体171に記憶するように構成することもできる。
(Modification 3)
In the first embodiment, the image processing by the image processing unit 115 may be performed on a moving image file stored in the storage medium 171. In this case, for example, the moving image storage unit 112 may be configured to store a moving image file including the movement amount of the digital camera 100 detected by the shake detection unit 191 in the storage medium 171. Alternatively, the moving image storage unit 112 may be configured to store a moving image file including a determination result by the subject determination unit 114 in the storage medium 171.

(変形例4)
第2の実施の形態において、焦点調節部292は、スルー画における被写体判定部114の判定結果を利用して焦点調節を行っていた。すなわち被写体判定部114は、スルー画として撮像された画像データに対しても主要被写体部分と非主要被写体部分との判定を行っていた。更に画像処理部115が、スルー画に対して主要被写体部分と非主要被写体部分とで異なる画像処理を行うようにしてもよい。ここで行われる画像処理は、例えば第1の実施の形態において述べた種々の画像処理と同様の画像処理であってもよいし、主要被写体部分の輪郭を強調する画像処理であってもよい。
(Modification 4)
In the second embodiment, the focus adjustment unit 292 performs focus adjustment using the determination result of the subject determination unit 114 in the through image. That is, the subject determination unit 114 determines a main subject portion and a non-main subject portion for image data captured as a through image. Further, the image processing unit 115 may perform different image processing on the through image in the main subject portion and the non-main subject portion. The image processing performed here may be, for example, image processing similar to the various image processing described in the first embodiment, or may be image processing that emphasizes the outline of the main subject portion.

(変形例5)
第2の実施の形態において、静止画撮影モードのとき、スルー画に対して被写体判定部114が行った判定の結果に基づいて、画像処理部115が静止画に対して画像処理を行うようにしてもよい。すなわち、静止画を撮影し静止画像データが記憶媒体171に記憶されるとき、スルー画において主要被写体部分と判定された部分と非主要被写体部分と判定された部分とにそれぞれ対応する静止画像データの各領域について、画像処理部115が互いに異なる画像処理を行うようにしてもよい。
(Modification 5)
In the second embodiment, in the still image shooting mode, the image processing unit 115 performs image processing on the still image based on the result of the determination performed by the subject determination unit 114 on the through image. May be. That is, when a still image is shot and the still image data is stored in the storage medium 171, the still image data corresponding to the portion determined to be the main subject portion and the portion determined to be the non-main subject portion in the through image. For each region, the image processing unit 115 may perform different image processing.

(変形例6)
画像処理部115が実行する画像処理は、上述の各実施の形態において説明したものとは異なる画像処理であってもよい。また、被写体判定部114が振れ検出部191により検出された移動量に更に加えて他の要素(例えば画像データ全体における被写体部分の大きさなど)を加味した判定を行ってもよい。
(Modification 6)
The image processing executed by the image processing unit 115 may be image processing different from that described in the above embodiments. In addition, the subject determination unit 114 may perform determination in consideration of other elements (for example, the size of the subject portion in the entire image data) in addition to the movement amount detected by the shake detection unit 191.

本発明の特徴を損なわない限り、本発明は上記実施の形態に限定されるものではなく、本発明の技術的思想の範囲内で考えられるその他の形態についても、本発明の範囲内に含まれる。   As long as the characteristics of the present invention are not impaired, the present invention is not limited to the above-described embodiments, and other forms conceivable within the scope of the technical idea of the present invention are also included in the scope of the present invention. .

100、200…デジタルカメラ、110…制御回路、111…演算部、112…動画記憶部、113…被写体抽出部、114…被写体判定部、115…画像処理部、120…撮影レンズ、130…撮像素子、171…記憶媒体、180…入力装置、190…振れ補正部、191…振れ検出部、292…焦点調節部 DESCRIPTION OF SYMBOLS 100, 200 ... Digital camera, 110 ... Control circuit, 111 ... Calculation part, 112 ... Moving image memory | storage part, 113 ... Subject extraction part, 114 ... Subject determination part, 115 ... Image processing part, 120 ... Shooting lens, 130 ... Image sensor , 171 ... Storage medium, 180 ... Input device, 190 ... Shake correction unit, 191 ... Shake detection unit, 292 ... Focus adjustment unit

Claims (8)

撮影レンズによる被写体像を撮像する撮像素子と、
前記撮像素子により連続的に撮像された複数の画像のうちの2つの画像において、相対的に所定量以上移動した移動被写体部分と、前記所定量未満の非移動被写体部分とを抽出する抽出手段と、
前記複数の画像の撮像中における、前記撮影レンズの光軸に垂直な方向へのデジタルカメラの移動量を検出する検出手段と、
前記検出手段により検出された前記移動量に基づいて、前記移動被写体部分と前記非移動被写体部分との一方を主要被写体部分と判定し、他方を非主要被写体部分と判定する判定手段と、
を備えることを特徴とするデジタルカメラ。
An image pickup device for picking up a subject image by the taking lens;
Extracting means for extracting a moving subject portion that has moved relatively a predetermined amount or more and a non-moving subject portion that is less than the predetermined amount in two images out of a plurality of images continuously captured by the image sensor. ,
Detecting means for detecting a movement amount of the digital camera in a direction perpendicular to the optical axis of the photographing lens during imaging of the plurality of images;
Determination means for determining one of the moving subject part and the non-moving subject part as a main subject part and determining the other as a non-main subject part based on the amount of movement detected by the detection means;
A digital camera comprising:
請求項1に記載のデジタルカメラにおいて、
前記判定手段は、前記検出手段により検出された前記移動量が所定のしきい値以上であった場合には前記非移動被写体部分を前記主要被写体部分と判定し、前記移動量が前記所定のしきい値未満であった場合には前記移動被写体部分を前記主要被写体部分と判定することを特徴とするデジタルカメラ。
The digital camera according to claim 1, wherein
The determination unit determines that the non-moving subject part is the main subject part when the movement amount detected by the detection unit is equal to or greater than a predetermined threshold value, and the movement amount is the predetermined amount. The digital camera according to claim 1, wherein the moving subject portion is determined as the main subject portion when the threshold value is less than the threshold value.
請求項1または2に記載のデジタルカメラにおいて、
前記主要被写体部分と前記非主要被写体部分とにそれぞれ異なる画像処理を行う画像処理手段を更に備えることを特徴とするデジタルカメラ。
The digital camera according to claim 1 or 2,
A digital camera further comprising image processing means for performing different image processing on the main subject portion and the non-main subject portion.
請求項3に記載のデジタルカメラにおいて、
前記画像処理手段により画像処理が行われた前記複数の画像を含む動画ファイルを記憶媒体に記憶する記憶手段を更に備えることを特徴とするデジタルカメラ。
The digital camera according to claim 3, wherein
A digital camera further comprising storage means for storing, in a storage medium, a moving image file including the plurality of images subjected to image processing by the image processing means.
請求項4に記載のデジタルカメラにおいて、
前記2つの画像の動きベクトルを演算する演算手段を更に備え、
前記抽出手段は、前記演算手段により演算された前記動きベクトルに基づいて前記移動被写体部分と前記非移動被写体部分とを抽出し、
前記記憶手段は、前記演算手段により演算された前記動きベクトルに基づく所定の動画符号化方式で前記動画ファイルを記憶することを特徴とするデジタルカメラ。
The digital camera according to claim 4, wherein
A calculation means for calculating a motion vector of the two images;
The extraction means extracts the moving subject part and the non-moving subject part based on the motion vector computed by the computing means,
The digital camera characterized in that the storage means stores the moving picture file by a predetermined moving picture coding method based on the motion vector calculated by the calculating means.
請求項3〜5のいずれか一項に記載のデジタルカメラにおいて、
前記画像処理手段により画像処理が行われた前記複数の画像をスルー画として表示する表示手段を更に備えることを特徴とするデジタルカメラ。
The digital camera according to any one of claims 3 to 5,
A digital camera further comprising display means for displaying the plurality of images subjected to image processing by the image processing means as through images.
請求項1〜6のいずれか一項に記載のデジタルカメラにおいて、
前記検出手段により検出された前記移動量に基づいて前記被写体像の像振れを補正する振れ補正手段を更に備えることを特徴とするデジタルカメラ。
The digital camera according to any one of claims 1 to 6,
A digital camera further comprising shake correction means for correcting image shake of the subject image based on the amount of movement detected by the detection means.
請求項1〜7のいずれか一項に記載のデジタルカメラにおいて、
前記主要被写体部分に基づいて前記撮影レンズの焦点調節処理を実行する焦点調節手段を更に備えることを特徴とするデジタルカメラ。
In the digital camera according to any one of claims 1 to 7,
A digital camera, further comprising: a focus adjustment unit that performs a focus adjustment process of the photographing lens based on the main subject portion.
JP2012069262A 2012-03-26 2012-03-26 Digital camera Pending JP2013201640A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012069262A JP2013201640A (en) 2012-03-26 2012-03-26 Digital camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012069262A JP2013201640A (en) 2012-03-26 2012-03-26 Digital camera

Publications (1)

Publication Number Publication Date
JP2013201640A true JP2013201640A (en) 2013-10-03

Family

ID=49521513

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012069262A Pending JP2013201640A (en) 2012-03-26 2012-03-26 Digital camera

Country Status (1)

Country Link
JP (1) JP2013201640A (en)

Similar Documents

Publication Publication Date Title
JP5394296B2 (en) Imaging apparatus and image processing method
KR101034109B1 (en) Computer-readable recording media that store recording devices and programs
CN101931752B (en) Imaging apparatus and focusing method
JP5589527B2 (en) Imaging apparatus and tracking subject detection method
US8593531B2 (en) Imaging device, image processing method, and computer program
KR101847392B1 (en) Image processing apparatus and method for controlling the same
WO2013021767A1 (en) Device and method for detecting moving objects
TWI420901B (en) Camera device, camera method, and camera program
TWI442127B (en) Image capturing device, focusing method and storage medium
TWI469085B (en) Image processing apparatus, image processing method and computer readable storage medium
KR20150078275A (en) Digital Photographing Apparatus And Method For Capturing a Moving Subject
JP4434151B2 (en) Imaging device
JP2010199694A (en) Image capturing apparatus, angle-of-view adjusting method, and program
US9699378B2 (en) Image processing apparatus, method, and storage medium capable of generating wide angle image
KR102592745B1 (en) Posture estimating apparatus, posture estimating method and computer program stored in recording medium
JP2017175364A (en) Image processing device, imaging device, and control method of image processing device
JP6579807B2 (en) Imaging control apparatus, imaging apparatus, and imaging control program
JP6584259B2 (en) Image blur correction apparatus, imaging apparatus, and control method
JP5621265B2 (en) Camera shake correction apparatus, imaging processing method, and program
JP2015232620A (en) Imaging device, control method and program
US8786677B2 (en) Imaging device
JP2013201640A (en) Digital camera
JP4888829B2 (en) Movie processing device, movie shooting device, and movie shooting program
JP2011135537A (en) Imaging apparatus and control method of the same
JP6493746B2 (en) Image tracking device and image tracking method