JP7408294B2 - Imaging device, lens device, method of controlling the imaging device, and method of controlling the lens device - Google Patents

Imaging device, lens device, method of controlling the imaging device, and method of controlling the lens device Download PDF

Info

Publication number
JP7408294B2
JP7408294B2 JP2019070815A JP2019070815A JP7408294B2 JP 7408294 B2 JP7408294 B2 JP 7408294B2 JP 2019070815 A JP2019070815 A JP 2019070815A JP 2019070815 A JP2019070815 A JP 2019070815A JP 7408294 B2 JP7408294 B2 JP 7408294B2
Authority
JP
Japan
Prior art keywords
shake
information
correction amount
error
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2019070815A
Other languages
Japanese (ja)
Other versions
JP2020170074A (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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2019070815A priority Critical patent/JP7408294B2/en
Publication of JP2020170074A publication Critical patent/JP2020170074A/en
Application granted granted Critical
Publication of JP7408294B2 publication Critical patent/JP7408294B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Structure And Mechanism Of Cameras (AREA)
  • Adjustment Of Camera Lenses (AREA)
  • Studio Devices (AREA)

Description

本発明は、撮像装置、レンズ装置、撮像装置の制御方法およびレンズ装置の制御方法に関する。 The present invention relates to an imaging device, a lens device, a method of controlling an imaging device, and a method of controlling a lens device.

交換レンズ及びカメラ本体の双方でブレ補正部材を備えた撮像装置がある。双方のブレ補正機能を協調して制御することで、それぞれのブレ補正可能範囲を有効に活用することが期待されている。交換レンズ及びカメラ本体の双方で取得したジャイロセンサ情報を用いてそれぞれの補正部材を制御することで、良好にブレが補正された撮影画像を取得することが可能である。特許文献1は、撮影画像間から検出される動きベクトルを用いて算出したブレの補正残りと、ジャイロセンサから取得されたカメラの姿勢情報との差分を計算し、ジャイロセンサ情報のオフセット同定を行いジャイロセンサ情報の補正を行う技術を開示している。 There is an imaging device that includes a shake correction member in both an interchangeable lens and a camera body. It is expected that by controlling the blur correction functions of both systems in a coordinated manner, it will be possible to effectively utilize the respective blur correction ranges. By controlling each correction member using the gyro sensor information obtained by both the interchangeable lens and the camera body, it is possible to obtain a photographed image in which blur is favorably corrected. Patent Document 1 calculates the difference between the residual blurring correction calculated using a motion vector detected between captured images and camera attitude information acquired from a gyro sensor, and identifies the offset of the gyro sensor information. A technique for correcting gyro sensor information is disclosed.

特開2017-92616号公報JP2017-92616A

しかしながら、特許文献1では、交換レンズ側とカメラ本体側の2つのジャイロセンサを用いた場合には、それぞれのジャイロセンサのオフセットを同定することができない。これは、2つのブレ補正部材と2つのジャイロセンサを用いた協調ブレ補正の場合には、画像から検出された動きベクトルを用いて算出されるブレの補正残り量に2つのジャイロセンサのオフセット成分が重畳しているためである。このように、複数のブレ補正部材と複数のブレ検出部を用いたブレ補正において、画像から算出されるブレの補正残り量には複数のブレ検出部材の誤差量が重畳しているため、それぞれのブレ補正部材の誤差量の推定の精度が低くなる。 However, in Patent Document 1, when two gyro sensors are used, one on the interchangeable lens side and the other on the camera body side, the offset of each gyro sensor cannot be identified. In the case of cooperative image stabilization using two image stabilization members and two gyro sensors, the offset component of the two gyro sensors is added to the remaining amount of blur correction calculated using the motion vector detected from the image. This is because they are superimposed. In this way, in image stabilization using multiple image stabilization members and multiple image blur detection units, the amount of error from the multiple image stabilization members is superimposed on the remaining amount of blur correction calculated from the image. The accuracy of estimating the error amount of the shake correction member becomes lower.

本発明は、複数の振れ検出部とブレ補正部を有する撮像装置において、像ブレ補正の精度を向上させる撮像装置を提供することを目的とする。 An object of the present invention is to provide an imaging device that improves the accuracy of image blur correction in an imaging device that has a plurality of shake detection units and blur correction units.

上記課題を解決するために、本発明の撮像装置は、レンズ装置が着脱可能な撮像装置であって、複数の画像から動きベクトルを検出するベクトル検出部と、撮像装置の振れ情報を検出する第1の振れ検出部と、前記第1の振れ検出部で検出された第1の振れ情報に基づいて第1のブレ補正量を取得し、取得された前記第1のブレ補正量に基づいて画像のブレを補正する第1のブレ補正部と、前記第1の振れ検出部で検出された前記第1の振れ情報に含まれる誤差を推定する誤差推定部と、前記レンズ装置から前記レンズ装置が備える第2のブレ補正部のブレ補正量である第2のブレ補正量を受信する通信手段と、を備える。前記誤差推定部は、前記ベクトル検出部で検出した動きベクトルと前記通信手段が受信した前記第2のブレ補正量に基づいて前記第1の振れ検出部で検出された前記第1の振れ情報に含まれる誤差を推定し、前記第1のブレ補正部は、前記誤差推定部による推定結果に基づいて前記第1のブレ補正量を取得する。 In order to solve the above problems, an imaging device of the present invention is an imaging device with a detachable lens device, and includes a vector detection section that detects a motion vector from a plurality of images, and a vector detection section that detects shake information of the imaging device. A first shake correction amount is obtained based on the first shake information detected by the first shake detection section and the first shake detection section, and an image is adjusted based on the obtained first shake correction amount. a first shake correction unit that corrects the shake of the camera; an error estimation unit that estimates an error included in the first shake information detected by the first shake detection unit ; and a communication means for receiving a second blur correction amount that is a blur correction amount of a second blur correction unit . The error estimator is configured to calculate the first shake detected by the first shake detector based on the motion vector detected by the vector detector and the second shake correction amount received by the communication means. The first blur correction unit estimates an error included in the information , and obtains the first blur correction amount based on the estimation result by the error estimation unit.

本発明によれば、複数の振れ検出部とブレ補正部を有する撮像装置において、像ブレ補正の精度を向上させる撮像装置を提供することができる。 According to the present invention, it is possible to provide an imaging device that improves the accuracy of image blur correction in an imaging device that has a plurality of shake detection units and shake correction units.

撮像装置の構成を示す図である。1 is a diagram showing the configuration of an imaging device. 第1及び第2のブレ補正部の構成を示す図である。FIG. 3 is a diagram showing the configuration of first and second blur correction sections. ブレ補正処理を示すフローチャートである。3 is a flowchart showing blur correction processing. 動きベクトル検出処理を示すフローチャートである。3 is a flowchart showing motion vector detection processing. テンプレートマッチングの概要を説明する図である。FIG. 2 is a diagram illustrating an overview of template matching. 第1のブレ補正処理を示すフローチャートである。It is a flow chart which shows the 1st shake correction processing. ブレ補正量の算出を説明する図である。FIG. 3 is a diagram illustrating calculation of a blur correction amount. 誤差推定処理を示すフローチャートである。It is a flowchart which shows error estimation processing. 誤差推定処理を示すフローチャートである。It is a flowchart which shows error estimation processing.

(実施例1)
図1は、撮像システム100の構成を示す図である。撮像システム100は、例えばレンズ交換式の撮像装置本体(デジタルカメラ)と当該デジタルカメラに装着されたレンズ装置である。本実施例の撮像システム100は、異なる2つの手段により像ブレの補正を行うことが可能である。撮像システム100を構成する撮像装置は、カメラシステム制御部(以下、制御部と記す)101、メモリ102、撮像部104、現像処置部105、動きベクトル検出部(以下、ベクトル検出部と記す)106を備える。さらに、撮像システム100は、第1のブレ補正部107、記録媒体110を備える。また、撮像システム100を構成する撮像装置本体に装着されるレンズ装置は、光学系103と、第2のブレ補正部108とを備える。また、撮像装置本体とレンズ装置とのそれぞれは、ブレ補正情報信する通信手段を備えており、撮像装置本体の通信手段と、レンズ装置の通信手段とが、ブレ補正情報を通信するブレ補正情報通信部(以下、通信部と記す)109を構成する。
なお、本実施例では、像ブレを異なる2つの手段により補正する例について説明するが、像ブレを補正する手段は複数であればよく2つに限定されない。
(Example 1)
FIG. 1 is a diagram showing the configuration of an imaging system 100. The imaging system 100 is, for example, an imaging device main body (digital camera) with interchangeable lenses and a lens device attached to the digital camera. The imaging system 100 of this embodiment can correct image blur using two different means. The imaging device that constitutes the imaging system 100 includes a camera system control unit (hereinafter referred to as a control unit) 101, a memory 102, an imaging unit 104, a development processing unit 105, and a motion vector detection unit (hereinafter referred to as a vector detection unit) 106. Equipped with. Furthermore, the imaging system 100 includes a first blur correction section 107 and a recording medium 110. Further, a lens device attached to the imaging device main body constituting the imaging system 100 includes an optical system 103 and a second blur correction section 108. Further, each of the imaging device main body and the lens device is provided with a communication means for transmitting the image stabilization information, and the communication means of the imaging device main body and the communication means of the lens device are each equipped with a communication means for transmitting the image stabilization information. A communication unit (hereinafter referred to as communication unit) 109 is configured.
In this embodiment, an example will be described in which image blur is corrected by two different means, but the number of means for correcting image blur is not limited to two as long as it is plural.

制御部101は、例えばCPU(Central Processing Unit)であり、撮像システム100全体を制御する。制御部101は、撮影システム100の各ブロックの動作プログラムをメモリ102より読み出し展開して実行することにより、各ブロックの動作を制御する。メモリ102は、ROM(Read Only Memory)及びRAM(Random Access Memory)を備える。ROMは書き換え可能な不揮発性メモリであり、撮影システム100が備える各ブロックの動作プログラムに加え、各ブロックの動作に必要なパラメータ等を記憶する。RAMは、書き換え可能な揮発性メモリであり、撮影システム100が備える各ブロックの動作において出力されたデータの一時的な記憶領域として用いられる。なお、制御部101は、レンズ装置が備えていてもよいし、撮像装置本体のCPUとレンズ装置のCPUとで協働することにより以下で説明する制御部101として機能してもよい。 The control unit 101 is, for example, a CPU (Central Processing Unit), and controls the entire imaging system 100. The control unit 101 controls the operation of each block by reading out the operation program for each block of the imaging system 100 from the memory 102, expanding it, and executing it. The memory 102 includes a ROM (Read Only Memory) and a RAM (Random Access Memory). The ROM is a rewritable nonvolatile memory, and stores operation programs for each block included in the imaging system 100 as well as parameters necessary for the operation of each block. The RAM is a rewritable volatile memory, and is used as a temporary storage area for data output during the operation of each block included in the imaging system 100. Note that the control unit 101 may be included in the lens device, or may function as the control unit 101 described below by cooperation between the CPU of the imaging device main body and the CPU of the lens device.

光学系103は、レンズ等で構成された撮像光学系であり、フォーカスレンズ、ズームレンズ、シフトレンズと、それらの駆動系を含んでいる。撮像部104は、光学系103により形成された被写体像を光電変換するの撮像素子を備える。撮像素子の例として、CCD(Charge Coupled Device)イメージセンサやCMOS(Complementary Metal Oxide Semiconductor)イメージセンサ等がある。本実施例において、撮像素子は搖動することが可能であり、撮像装置に生じているブレを打ち消す方向に搖動させることでブレ補正を行うことが出来る。現像処理部105は、撮像部104から出力される電気信号から画像信号を形成する。現像処理部105は、A/D変換部、オートゲイン制御部(AGC)、オートホワイトバランス部を含み、電気信号からデジタル信号を形成する。撮像部104及び現像処理部105により、画像の取得を行う撮像系が構成される。 The optical system 103 is an imaging optical system composed of lenses and the like, and includes a focus lens, a zoom lens, a shift lens, and their drive systems. The imaging unit 104 includes an imaging element that photoelectrically converts the subject image formed by the optical system 103. Examples of the image sensor include a CCD (Charge Coupled Device) image sensor and a CMOS (Complementary Metal Oxide Semiconductor) image sensor. In this embodiment, the image sensor is capable of wobbling, and by wobbling in a direction that cancels out the shake occurring in the image pickup device, blur correction can be performed. The development processing unit 105 forms an image signal from the electrical signal output from the imaging unit 104. The development processing section 105 includes an A/D conversion section, an auto gain control section (AGC), and an auto white balance section, and forms a digital signal from an electric signal. The imaging unit 104 and the development processing unit 105 constitute an imaging system that acquires images.

ベクトル検出部106は、現像処理部106から入力される画像やメモリ102に記憶保持されている画像を用いて、複数の画像間の任意の画素もしくは領域の移動量を動きベクトルとして検出する。第1のブレ補正部107及び第2のブレ補正部108は、像ブレの補正を行う。したがって、撮像システム100は、異なる2つのブレ補正部によりブレの補正を行うことができる。第1のブレ補正部107及び第2のブレ補正部108の詳細な説明は、図2を用いて後述する。 The vector detection unit 106 uses the image input from the development processing unit 106 and the image stored in the memory 102 to detect the amount of movement of an arbitrary pixel or area between a plurality of images as a motion vector. The first blur correction unit 107 and the second blur correction unit 108 correct image blur. Therefore, the imaging system 100 can perform blur correction using two different blur correction units. A detailed explanation of the first blur correction section 107 and the second blur correction section 108 will be given later using FIG. 2.

通信部109は、撮像装置本体が備える第1のブレ補正部107とレンズ装置が備える第2のブレ補正部108との間で、誤差量の推定に必要なブレ補正情報として、ブレの動きやブレを補正するための情報の送受信を行う。記録媒体110は、ブレ補正処理が施されたれた映像や、撮影時のパラメータ等を記憶保持しておくための記憶装置や記憶メディアである。 The communication unit 109 communicates the movement of the shake and the like between the first shake correction unit 107 included in the imaging device main body and the second shake correction unit 108 included in the lens device as shake correction information necessary for estimating the amount of error. Sends and receives information to correct blur. The recording medium 110 is a storage device or storage medium for storing and holding images subjected to blur correction processing, parameters at the time of shooting, and the like.

本実施例における撮像システム100の振れとは、撮像システム100の位置及び姿勢の時間的な変動のことを表しており、そこには撮影者の意図的なカメラワークや手ブレの動き等も含まれている。なお、本実施例に記載された像ブレという用語は、振れや振れ等の物理的な振動自体を抑制することを意味するものではなく、振れや振れ等に伴う画像の像ブレを補正することを意味する。 In this embodiment, the shake of the imaging system 100 refers to temporal fluctuations in the position and orientation of the imaging system 100, and includes intentional camera work by the photographer, camera shake movements, etc. It is. Note that the term "image blur" described in this embodiment does not mean to suppress physical vibrations such as shake or shake, but rather to correct image blur in an image due to shake or shake. means.

図2は、第1のブレ補正部107及び第2のブレ補正部108の構成を示す図である。上述のように、第1のブレ補正部107は撮像装置本体に、第2のブレ補正部108はレンズ装置に備えられている。第1のブレ補正部107は、第1のブレ検出部201、第1のブレ補正制御部202、第1の補正部材203、第1の誤差推定部207を備える。第1のブレ検出部201は、撮像システム100に生じている振れを検出する。第1のブレ補正制御部202は、第1のブレ検出部201で検出された振れの情報を用いて、像ブレを補正するためのブレ補正量を算出する。そして、第1のブレ補正制御部202は、算出したブレ補正量を用いて、像ブレを抑制するように第1の補正部材203を搖動制御する。 FIG. 2 is a diagram showing the configuration of the first blur correction section 107 and the second blur correction section 108. As described above, the first blur correction section 107 is provided in the imaging device main body, and the second blur correction section 108 is provided in the lens device. The first blur correction section 107 includes a first blur detection section 201 , a first blur correction control section 202 , a first correction member 203 , and a first error estimation section 207 . The first shake detection unit 201 detects shake occurring in the imaging system 100. The first blur correction control unit 202 uses the information about the shake detected by the first blur detection unit 201 to calculate a blur correction amount for correcting image blur. Then, the first blur correction control unit 202 uses the calculated blur correction amount to swing control the first correction member 203 so as to suppress image blur.

第1の誤差推定部207は、ベクトル検出部106で検出された動きベクトルから得られるブレ残り量と、検出されたブレ量にフィルタ処理を施すことで生成したブレ補正量から、ブレの真値との差分を計算することによりブレ補正の誤差量を推定する。ブレ補正処理を行う際の第1のブレ補正部107と第2のブレ補正部108との間での情報のやり取りは、通信部109を介して行われる。 The first error estimation unit 207 calculates the true value of the blur from the remaining amount of blur obtained from the motion vector detected by the vector detection unit 106 and the amount of blur correction generated by filtering the detected amount of blur. The amount of error in blur correction is estimated by calculating the difference between Information is exchanged between the first blur correction section 107 and the second blur correction section 108 when performing the blur correction process via the communication section 109.

第2のブレ補正部108は、第2のブレ検出部204、第2のブレ補正制御部205、第2の補正部材206、第2の誤差推定部208を備える。第2のブレ補正部108の各部は、それぞれ、第1のブレ補正部107の各部と同様の役割を担っている。第1のブレ検出部201と第2のブレ検出部204は、同様の構成でもよいし、異なるものであっても良い。例えば、例えば、第1のブレ検出部201ではジャイロセンサを用いるのに対して第2のブレ補正部205では、第1のブレ検出部201と同じようにジャイロセンサを用いても良いし、加速度センサを用いて撮像システム100の動きを検出しても良い。尚、第1のブレ検出部201も第2のブレ検出部204も、撮像システム100の動きを検出するものである。しかしならが、2つのブレ検出部を区別するために、撮像装置本体に備えられた第1のブレ検出部を撮像装置の振れを検出する検出部、レンズ装置に備えられた第2のブレ検出部をレンズ装置の振れを検出する検出部とよぶことがある。 The second shake correction section 108 includes a second shake detection section 204 , a second shake correction control section 205 , a second correction member 206 , and a second error estimation section 208 . Each part of the second blur correction section 108 plays the same role as each part of the first blur correction section 107. The first shake detection section 201 and the second shake detection section 204 may have the same configuration or may have different configurations. For example, while the first shake detection section 201 uses a gyro sensor, the second shake correction section 205 may use a gyro sensor in the same way as the first shake detection section 201; A sensor may be used to detect movement of the imaging system 100. Note that both the first shake detection section 201 and the second shake detection section 204 detect movement of the imaging system 100. However, in order to distinguish between the two shake detection sections, the first shake detection section provided in the imaging device body is replaced with the detection section that detects shake of the imaging device, and the second blur detection section provided in the lens device. The part is sometimes called a detection part that detects shake of the lens device.

第1の補正部材203と第2の補正部材206は、像ブレ補正の為の搖動制御の対象となる部材であり、それぞれ異なる部材である。本実施例では、一例として、第1の補正部材203を撮像装置100の本体内に搭載されている搖動可能な撮像素子とし第2の補正部材206を光学系103のレンズに搭載されているブレ補正用の光学系(例えば、補正レンズであるシフトレンズ)とし、とする。ただし、これらの例は単なる事例の一つであり、ブレ補正の為の搖動制御の対象となる部材が、同一のものでなければ特に制限はない。また、像ブレ補正の方法も部材の搖動制御による光学的な補正に限られるものではなく、第1のブレ補正部107で実行するブレ補正は、画像に対して電子的に幾何変形処理を施す画像処理であってもよい。 The first correction member 203 and the second correction member 206 are members that are subject to rocking control for image blur correction, and are different members. In this embodiment, as an example, the first correction member 203 is a movable image sensor mounted in the main body of the imaging device 100, and the second correction member 206 is a shaker mounted on the lens of the optical system 103. A correction optical system (for example, a shift lens that is a correction lens) is used. However, these examples are merely examples, and there is no particular restriction as long as the members to be subjected to rocking control for blur correction are not the same. Furthermore, the method of image blur correction is not limited to optical correction by controlling the rocking of members; the blur correction performed by the first blur correction unit 107 involves electronically performing geometric deformation processing on the image. Image processing may also be used.

図3は、ブレ補正処理を示すフローチャートである。ステップS301において、ベクトル検出部106は、入力された2枚のフレーム画像間での動きベクトルを検出する。ベクトル検出部106は、検出した動きベクトルを、第1の誤差推定部207に出力する。ステップS301の詳細は、図4を用いて後述する。 FIG. 3 is a flowchart showing blur correction processing. In step S301, the vector detection unit 106 detects a motion vector between the two input frame images. Vector detection section 106 outputs the detected motion vector to first error estimation section 207. Details of step S301 will be described later using FIG. 4.

ステップS302において、第1のブレ補正部107は、ブレを補正するためのブレ補正処理(第1のブレ補正処理)を行う。具体的には、第1のブレ補正部107は、S301で検出されたフレーム画像間での動き量(動きベクトル)とS302でのブレ補正処理で用いられた補正量を用いて、第2のブレ補正部108で検出された撮像システムの振れ情報を補正するための情報を生成する。ステップS302の詳細は、図6を用いて後述する。ステップS303において、第2のブレ補正部108は、ブレを補正するためのブレ補正処理(第2のブレ補正処理)を行う。 In step S302, the first blur correction unit 107 performs blur correction processing (first blur correction processing) to correct blur. Specifically, the first blur correction unit 107 uses the amount of motion (motion vector) between frame images detected in S301 and the correction amount used in the blur correction processing in S302 to perform the second blur correction process. Information for correcting the shake information of the imaging system detected by the shake correction unit 108 is generated. Details of step S302 will be described later using FIG. 6. In step S303, the second blur correction unit 108 performs blur correction processing (second blur correction processing) to correct blur.

図4は、ステップS301で行われる、動きベクトル検出処理を示すフローチャートである。ステップS401において、撮像部104および現像処置部105は、画像を取得する。具体的には、まず、撮像部104が、光電変換を行い、光学系103によって形成された被写体像を被写体輝度に応じたアナログ信号として出力する。撮像部104からアナログ信号を取得した現像処理部105は、A/D変換部によってアナログ信号をデジタル信号に変換する。さらに、現像処理部105は、デジタル信号に対してAGC及びAWBによって信号レベル補正や白レベル補正を行い、画像信号を生成する。生成された画像は、ベクトル検出部106に出力される。 FIG. 4 is a flowchart showing the motion vector detection process performed in step S301. In step S401, the imaging unit 104 and the developing unit 105 acquire an image. Specifically, first, the imaging unit 104 performs photoelectric conversion and outputs the subject image formed by the optical system 103 as an analog signal corresponding to the subject brightness. The development processing unit 105 that has acquired the analog signal from the imaging unit 104 converts the analog signal into a digital signal using an A/D conversion unit. Further, the development processing unit 105 performs signal level correction and white level correction on the digital signal using AGC and AWB to generate an image signal. The generated image is output to the vector detection unit 106.

ステップS402において、ベクトル検出部106は、入力された複数の画像間での動きベクトルの検出を行なう。本実施例では、ベクトル検出部106は、2枚の画像から動きベクトルの検出を行う。本実施例では、動きベクトル検出方法の一例としてテンプレートマッチングを用いた方法について説明する。 In step S402, the vector detection unit 106 detects motion vectors between the plurality of input images. In this embodiment, the vector detection unit 106 detects a motion vector from two images. In this embodiment, a method using template matching will be described as an example of a motion vector detection method.

図5は、テンプレートマッチングの概要を説明する図である。テンプレートマッチングでは、複数の画像として原画像と参照画像を用いて動きベクトルの検出を行う。図5(A)は原画像、(B)は参照画像であり、これらの画像は光学系103を通して撮影された画像またはメモリ102に記憶保持された画像である。テンプレートブロック501は、原画像の任意の位置に配置されたテンプレートブロックである。 FIG. 5 is a diagram illustrating an overview of template matching. In template matching, motion vectors are detected using an original image and a reference image as multiple images. 5(A) is an original image, and FIG. 5(B) is a reference image, and these images are images photographed through the optical system 103 or images stored and held in the memory 102. The template block 501 is a template block placed at an arbitrary position in the original image.

テンプレートマッチングでは、テンプレートブロック501と参照画像の各領域との相関値を算出する。このとき、参照画像の全領域に対して相関値を算出するのでは演算量が膨大なものとなるため、サーチ範囲502に示すように参照画像上の相関値を算出する矩形領域をサーチ範囲として設定する。サーチ範囲502の位置や大きさについては特に制限はない。相関値対象ブロック503は、サーチ範囲502内においてテンプレートブロック501との相関値を算出する対象となる領域であり、テンプレートブロック501と同じ大きさである。 In template matching, a correlation value between the template block 501 and each region of the reference image is calculated. At this time, calculating the correlation value for the entire area of the reference image requires a huge amount of calculation, so the search range is set as a rectangular area for calculating the correlation value on the reference image, as shown in the search range 502. Set. There are no particular restrictions on the position or size of the search range 502. The correlation value target block 503 is an area within the search range 502 that is the target for calculating the correlation value with the template block 501, and has the same size as the template block 501.

本実施例では、相関値の算出方法の一例として差分絶対値和(Sum of Absolute Difference、以下SADと略す)を使用する。SADの計算式を式1に示す。

Figure 0007408294000001
In this embodiment, a sum of absolute differences (hereinafter abbreviated as SAD) is used as an example of a method for calculating a correlation value. The formula for calculating SAD is shown in Formula 1.
Figure 0007408294000001

式1において、f(i,j)は、テンプレートブロック501内の座標(i,j)における輝度値を表す。g(i,j)は、サーチ範囲502において相関値算出の対象となる相関値対象ブロック503内の各輝度値を表す。SADでは、両ブロック内の各輝度値f(i,j)及びg(i,j)について差の絶対値を計算し、その総和を求めることで相関値S_SADを得ることが出来る。したがって、相関値S_SADの値が小さいほど、テンプレートブロック501と相関値対象ブロック503間の輝度値の差分が小さい、つまりテンプレートブロック501と相関値対象ブロック503のテクスチャが類似していることを表している。なお、本実施例では、相関値の一例としてSADを使用しているが、これに限るものではなく、差分二乗和(SSD)や正規化相互相関(NCC)等の他の相関値を用いても良い。 In Equation 1, f(i,j) represents the brightness value at coordinates (i,j) within template block 501. g(i,j) represents each brightness value within the correlation value target block 503 that is the target of correlation value calculation in the search range 502. In SAD, the correlation value S_SAD can be obtained by calculating the absolute value of the difference for each luminance value f (i, j) and g (i, j) in both blocks and calculating the sum thereof. Therefore, the smaller the value of the correlation value S_SAD, the smaller the difference in luminance value between the template block 501 and the correlation value target block 503, that is, the more similar the textures of the template block 501 and the correlation value target block 503 are. There is. In this embodiment, SAD is used as an example of the correlation value, but the present invention is not limited to this, and other correlation values such as sum of squared differences (SSD) and normalized cross-correlation (NCC) may be used. Also good.

サーチ範囲502の全領域について、相関値対象ブロック503を移動させて、テンプレートブロック501との相関値を算出する。そして、テンプレートブロック501とサーチ範囲502との間の相関値が最も小さくなる位置を判定することにより、原画像上のテンプレートブロックが参照画像においてどの位置に移動したかが検出でき、画像間の動きベクトルを検出することが可能となる。以上のような動きベクトル検出処理を、入力されたフレーム画像間の複数の領域で行う。そして、検出された動きベクトルは、第1の誤差推定部207に伝送される。なお、本実施例ではベクトル検出の例として、テンプレートマッチングを用いた方法について説明したが、他にも勾配法を用いた方法や、特徴点抽出による対応点探索等の方法を用いても良い。 The correlation value target block 503 is moved for the entire area of the search range 502, and the correlation value with the template block 501 is calculated. Then, by determining the position where the correlation value between the template block 501 and the search range 502 is the smallest, it is possible to detect to which position the template block on the original image has moved in the reference image, and to detect the movement between images. It becomes possible to detect vectors. The motion vector detection process as described above is performed in a plurality of regions between input frame images. The detected motion vector is then transmitted to the first error estimator 207. Note that in this embodiment, a method using template matching has been described as an example of vector detection, but other methods such as a method using a gradient method and corresponding point search using feature point extraction may also be used.

次に、ブレ補正の処理について説明する。まず、図3のステップS302の第1のブレ補正の処理について説明する。図6は、ステップS302で行われる、第1のブレ補正処理を示すフローチャートである。第1のブレ補正処理では、第1のブレ補正部107において、第1の補正部材203を搖動させることで撮像装置のブレを補正する。ステップS601において、第1のブレ検出部201は、撮像装置100の振れ情報を取得する。第1のブレ検出部201は、例えばジャイロセンサであり、振れ情報として、撮像装置100のパン、チルト及びロール方向の振れ情報を取得する。なお、本実施例では振れ情報取得の手段としてジャイロセンサを挙げているが、特にこれに限られるものではなく、加速度センサ、磁気センサ等の撮像装置100の振れ情報を得られるその他の手段を用いても良い。そして、第1のブレ検出部201は、取得した撮像装置の振れ情報を、第1のブレ補正制御部202へ伝送する。 Next, blur correction processing will be explained. First, the first blur correction process in step S302 in FIG. 3 will be described. FIG. 6 is a flowchart showing the first blur correction process performed in step S302. In the first blur correction process, the first blur correction unit 107 corrects the blur of the imaging device by rocking the first correction member 203. In step S601, the first shake detection unit 201 acquires shake information of the imaging device 100. The first shake detection unit 201 is, for example, a gyro sensor, and acquires shake information in the pan, tilt, and roll directions of the imaging device 100 as shake information. In this embodiment, a gyro sensor is used as a means for acquiring shake information, but the invention is not limited to this, and other means capable of acquiring shake information of the imaging device 100, such as an acceleration sensor or a magnetic sensor, may be used. It's okay. The first shake detection unit 201 then transmits the acquired shake information of the imaging device to the first shake correction control unit 202.

ステップS602において、第1のブレ補正制御部202は、撮像システム100の振れ情報に基づいて、撮像システム100に生じているブレを打ち消すように第1の補正部材203を搖動制御させるためのブレ補正量(ブレの補正量情報)を算出する。具体的には、第1のブレ補正制御部202は、ステップS601で取得した撮像システム100の振れ情報に信号処理を施し、ブレ補正量を算出する。図7は、第1のブレ補正制御部202におけるブレ補正量の算出を説明する図である。 In step S<b>602 , the first shake correction control unit 202 performs shake correction for controlling the first correction member 203 to swing based on the shake information of the imaging system 100 so as to cancel the shake occurring in the imaging system 100 . amount (shake correction amount information). Specifically, the first blur correction control unit 202 performs signal processing on the shake information of the imaging system 100 acquired in step S601, and calculates the amount of blur correction. FIG. 7 is a diagram illustrating calculation of the amount of blur correction in the first blur correction control unit 202.

第1のブレ補正制御部202は、HPF(高域通過フィルタ、ハイパスフィルタ)701、誤差量減算部702、積分部703、カメラワーク判定部704、端処理判定部705を備える。HPF701は、第1のブレ検出部201から取得した撮像システム100の振れ情報、例えば角速度情報の周波数成分のうち、設定された低域カットオフ周波数以下の低周波成分を遮断し、低域カットオフ周波数を超える高周波成分を出力する。ここでの低域カットオフ周波数は、カメラワーク判定部704により決定される。 The first blur correction control unit 202 includes an HPF (high pass filter) 701, an error amount subtraction unit 702, an integration unit 703, a camera work determination unit 704, and an edge processing determination unit 705. The HPF 701 cuts off low frequency components below a set low cutoff frequency among the frequency components of shake information of the imaging system 100 acquired from the first shake detection unit 201, such as angular velocity information, and performs a low cutoff. Outputs high frequency components exceeding the frequency. The low cutoff frequency here is determined by the camerawork determination unit 704.

誤差量減算部702は、HPF701から出力される撮像システム100の振れ情報に対して所定の誤差量を減算する処理を行う。誤差量の推定は、誤差推定部207において行われるが、その内容については後述する。積分部703は、誤差量減算部702から出力された誤差量減算後の撮像システム100の振れ情報を積分し、積分された撮像システム100の振れ情報をブレ補正量とする。そして、第1のブレ補正制御部202は、ブレ補正量に応じて第1の補正部材203を制御する。積分部703における積分の時定数は、カメラワーク判定部704により決定される。 The error amount subtraction unit 702 performs a process of subtracting a predetermined error amount from the shake information of the imaging system 100 output from the HPF 701. The error amount is estimated by the error estimation unit 207, the details of which will be described later. The integrating section 703 integrates the shake information of the imaging system 100 after the error amount subtraction outputted from the error amount subtracting section 702, and uses the integrated shake information of the imaging system 100 as a shake correction amount. Then, the first blur correction control unit 202 controls the first correction member 203 according to the amount of blur correction. The time constant of integration in the integrating section 703 is determined by the camera work determining section 704.

カメラワーク判定部704では、HPF701または第1のブレ検出部201から出力された振れ情報と、積分部703から出力された振れ情報に基づいて、撮像システム100の振れにカメラワークが含まれているかの判定を行う。カメラワークには、撮像システム100に加えられるパンニングやチルティング等の撮影者の意図によるものが含まれる。また、カメラワーク判定部704は、カメラワーク制御として、HPF701のカットオフ周波数の変更及び決定、積分部703の積分の時定数の変更及び決定を行う。 The camera work determination unit 704 determines whether camera work is included in the shake of the imaging system 100 based on the shake information output from the HPF 701 or the first shake detection unit 201 and the shake information output from the integrating unit 703. Make a judgment. Camera work includes panning, tilting, and other actions added to the imaging system 100 that are intended by the photographer. Further, the camerawork determination unit 704 changes and determines the cutoff frequency of the HPF 701 and changes and determines the integration time constant of the integration unit 703 as camerawork control.

端処理判定部705は、積分部703から出力されたブレ補正量に基づいて端処理の必要性を判定する。そして、端処理判定部705は、端処理の必要性に応じて、例えば、誤差量減算部702に対する誤差量変更の制御等を行う。ここで、端処理とはブレの補正量が補正部材の物理的な可動限界、もしくは補正の電気的な限界に達しているために、瞬間的にブレ補正の効果状態が変化して不自然な映像が生じるのを防ぐ処理である。端処理の一例としては、端が近付くと徐々に抑振率を下げるような処理が行われる。以上のようにして求められたブレ補正量は、第1のブレ補正部材203に伝送される。 Edge processing determining section 705 determines whether edge processing is necessary based on the amount of blur correction output from integrating section 703. Then, the edge processing determining unit 705 controls, for example, changing the error amount for the error amount subtracting unit 702, depending on the necessity of edge processing. Here, edge processing is when the amount of blur correction reaches the physical movable limit of the correction member or the electrical limit of correction, resulting in an unnatural change in the effect state of the blur correction momentarily. This is a process that prevents images from being generated. As an example of edge processing, processing is performed to gradually lower the vibration suppression rate as the edge approaches. The blur correction amount determined as described above is transmitted to the first blur correction member 203.

ステップS603において、第1のブレ補正制御部202は、S602で算出したブレ補正量に基づいて第1のブレ補正部材203を制御することで、撮像システム100に生じている振れを補正する。第1のブレ補正部材203が光学系103に含まれる補正レンズの場合、第1のブレ補正部材203は、光軸に直交する面における補正レンズのシフトを制御する。 In step S603, the first shake correction control unit 202 corrects the shake occurring in the imaging system 100 by controlling the first shake correction member 203 based on the shake correction amount calculated in S602. When the first shake correction member 203 is a correction lens included in the optical system 103, the first shake correction member 203 controls the shift of the correction lens in a plane perpendicular to the optical axis.

なお、第1のブレ補正部材203が撮像部102の撮像素子である場合には、第1のブレ補正制御部202は、光軸に直交する面における撮像素子のシフトを制御する。また、第1のブレ補正部材203が画像の切り出しによる電子的な補正を行う画像処理回路である場合には、第1のブレ補正制御部202は、画像の読み出し範囲を制御する。第1のブレ補正部材203を制御するための情報が角度情報で、かつ、第1のブレ補正制御部202内でのブレ補正量が角度情報であった場合には、角度情報をそのまま制御情報として利用できる。一方、第1のブレ補正部材203を制御するための情報が平行移動量である場合で、第1のブレ補正制御部202でのブレ補正量が角度情報であった場合には、第1のブレ補正制御部202で角度情報に基づいて平行移動量を算出し、制御情報として利用する。例えば、撮像システム100の位置姿勢変位情報を角度情報θ、焦点距離をfとすると、ブレ補正量である移動量xは、下記の式2で表される。

Figure 0007408294000002
移動量xが撮像システム100で制御可能な限界を超える場合には、第1のブレ補正制御部202は、補正可能範囲に補正量をクリッピングする。 Note that when the first blur correction member 203 is an image sensor of the imaging unit 102, the first blur correction control unit 202 controls the shift of the image sensor in a plane perpendicular to the optical axis. Further, when the first blur correction member 203 is an image processing circuit that performs electronic correction by cutting out an image, the first blur correction control unit 202 controls the readout range of the image. When the information for controlling the first shake correction member 203 is angle information and the shake correction amount in the first shake correction control unit 202 is angle information, the angle information is used as the control information. It can be used as On the other hand, when the information for controlling the first shake correction member 203 is the amount of parallel movement, and when the amount of shake correction in the first shake correction control unit 202 is angle information, the first The blur correction control unit 202 calculates the amount of parallel movement based on the angle information and uses it as control information. For example, if the position/posture displacement information of the imaging system 100 is the angle information θ and the focal length is f, then the amount of movement x, which is the shake correction amount, is expressed by the following equation 2.
Figure 0007408294000002
If the movement amount x exceeds the limit that can be controlled by the imaging system 100, the first blur correction control unit 202 clips the correction amount to the correctable range.

ステップS604において、誤差推定部207は、第1のブレ検出部201から検出される撮像システム100の振れ情報に含まれている誤差量の推定を行う。ブレ補正部材を一つだけ備えた従来の撮像装置での誤差量の推定方法では、まず取得したブレ補正後のフレーム画像間から検出された動きベクトルを用いてブレの補正残りを算出する。次に、ジャイロセンサ等の手段により取得された撮像装置の振れ情報に対して、ブレ補正制御部202で説明した処理により得られるブレ補正量と、ブレの補正残りとの差分を計算する。これにより、ジャイロセンサの検出値に誤差量として含まれるオフセットの量を同定することが可能となり、オフセットの値を用いることでジャイロセンサの調整を行っている。 In step S604, the error estimation unit 207 estimates the amount of error included in the shake information of the imaging system 100 detected by the first shake detection unit 201. In a method for estimating the amount of error in a conventional imaging device equipped with only one blur correction member, first, the amount of blur correction remaining is calculated using a motion vector detected between acquired frame images after blur correction. Next, the difference between the shake correction amount obtained by the process described in the shake correction control unit 202 and the remaining shake correction is calculated for the shake information of the imaging device acquired by means such as a gyro sensor. This makes it possible to identify the amount of offset included as an error amount in the detected value of the gyro sensor, and adjusts the gyro sensor by using the offset value.

しかしながら、本実施例のように2つのブレ検出手段と2つのブレ補正部材を有する撮像システム100においてブレ補正を行うと、画像間の動きベクトルから算出されるブレの補正残り量には2つのブレ検出手段からそれぞれ生じた誤差量が重畳している。そのため、従来と同様の方法では、2つのブレ検出手段のそれぞれから生じている誤差量を切り分けることが出来ず、ブレ検出手段を調整することが出来ない。そこで本実施例では、2つのブレ補正部が協調して誤差量の推定を行うようにする。 However, when blur correction is performed in the imaging system 100 having two blur detection means and two blur correction members as in this embodiment, the remaining amount of blur correction calculated from the motion vector between images includes two blur correction members. The error amounts generated from each detection means are superimposed. Therefore, with the conventional method, it is not possible to separate the amount of error occurring from each of the two shake detection means, and the shake detection means cannot be adjusted. Therefore, in this embodiment, the two blur correction sections cooperate to estimate the amount of error.

以下では説明のために、第1のブレ補正部107と第2のブレ補正部108とのブレ補正処理のうち、第1のブレ補正部107でのブレ補正処理について優先度を高いものとし、第2のブレ補正部108におけるブレ補正処理を相対的に優先度が低いものとして説明する。また、第1のブレ補正部108の第1のブレ検出部201が高性能なジャイロセンサであり、第2のブレ補正部109の第2のブレ検出部204が相対的に性能の低いジャイロセンサとする。なお、第1のブレ補正部107と第2のブレ補正部108とのブレ補正処理の優先度を入れ替えても構わない。 For the sake of explanation, in the following, it is assumed that among the blur correction processing performed by the first blur correction section 107 and the second blur correction section 108, the priority is given to the blur correction processing performed by the first blur correction section 107. The blur correction process in the second blur correction unit 108 will be described as having a relatively low priority. Further, the first shake detection unit 201 of the first shake correction unit 108 is a high-performance gyro sensor, and the second shake detection unit 204 of the second shake correction unit 109 is a gyro sensor with relatively low performance. shall be. Note that the priorities of the blur correction processing between the first blur correction section 107 and the second blur correction section 108 may be exchanged.

2つのブレ補正部の協調による誤差量の推定の概要としては、まず第1のブレ補正部107で算出された撮像システム100のブレ量をブレの真値として第2のブレ補正部108に送信する。この第1のブレ補正部107からの送信の際には、通信部109または第1の誤差推定部207においてブレの真値に対して通信等の処理に起因して生じた遅延による位相ずれの補償を行う。第2のブレ補正部108では、第1のブレ補正部107から受信したブレの真値を用いて第2のブレ補正部108のブレ検出手段の誤差量の推定を行う。そして、ブレの真値とそれぞれのブレ検出手段から検出された撮像システム100の振れ情報の差が最小となる誤差量の推定を、第1のブレ補正部107及び第2のブレ補正部108のそれぞれのブレ検出手段に対して行う。 As an overview of the estimation of the amount of error by the cooperation of the two shake correction units, first, the amount of shake of the imaging system 100 calculated by the first shake correction unit 107 is sent to the second shake correction unit 108 as the true value of shake. do. When transmitting from the first blur correction section 107, the communication section 109 or the first error estimation section 207 calculates a phase shift due to a delay caused by processing such as communication with respect to the true value of the blur. Make compensation. The second blur correction section 108 uses the true value of the blur received from the first blur correction section 107 to estimate the amount of error of the blur detection means of the second blur correction section 108 . Then, the first shake correction unit 107 and the second shake correction unit 108 estimate the amount of error that minimizes the difference between the true value of the shake and the shake information of the imaging system 100 detected from each shake detection means. This is performed for each shake detection means.

図8および図9は、S604の誤差推定処理を示すフローチャートである。図8は、第1のブレ補正部107における誤差推定処理を示している。図9は、第2のブレ補正部108における誤差推定処理を示している。 8 and 9 are flowcharts showing the error estimation process in S604. FIG. 8 shows error estimation processing in the first blur correction section 107. FIG. 9 shows error estimation processing in the second blur correction section 108.

ステップS801において、第1の誤差推定部207は、ブレの真値の取得を行う。第1の誤差推定部207は、第1のブレ補正制御部202から算出されたブレ補正量と、動きベクトル検出部106においてブレ補正後のフレーム画像間から検出した動きベクトルを用いて算出したブレの補正残り量との和を計算する。この和の値が補正すべき対象として検出された撮像システム100のブレの動きそのものであり、つまりはブレの真値であると言い換えることができる。ステップS801で算出されたブレの真値は、位相補償がなされた後に優先度の低い第2のブレ補正部108の第2の誤差推定部208に伝送される。 In step S801, the first error estimation unit 207 obtains the true value of blur. The first error estimation unit 207 calculates the blurring calculated using the amount of blurring correction calculated by the first blurring correction control unit 202 and the motion vector detected from between the frame images after blurring correction in the motion vector detecting unit 106. Calculate the sum with the remaining amount of correction. This sum value is the movement of the blur of the imaging system 100 detected as the object to be corrected, and in other words, it can be said to be the true value of the blur. The true value of the blur calculated in step S801 is transmitted to the second error estimation unit 208 of the second blur correction unit 108, which has a low priority, after being subjected to phase compensation.

ステップS802において、第1の誤差推定部207は、撮像システム100の振れ情報の観測値を取得する。振れ情報の観測値は、誤差推定の対象となる第1のブレ検出部201から直接取得された撮像システム100の振れ情報である。ステップS803において、第1の誤差推定部207は、ステップS801で算出した撮像システムのブレの真値と、ステップS802で取得したブレ量の観測値を用いてカルマンフィルタによる誤差推定処理を行う。 In step S802, the first error estimation unit 207 acquires the observed value of shake information of the imaging system 100. The observed value of shake information is shake information of the imaging system 100 that is directly acquired from the first shake detection unit 201 that is the target of error estimation. In step S803, the first error estimation unit 207 performs error estimation processing using a Kalman filter using the true value of the blur of the imaging system calculated in step S801 and the observed value of the amount of blur obtained in step S802.

ステップS804において、第1の誤差推定部207は、カルマンフィルタによる推定処理で更新された誤差量を、第1のブレ補正部107のブレ補正制御部201での誤差量減算処理に使用する。ステップS805において、第1の誤差推定部207は、推定された誤差値を用いて、第1のブレ補正部107と第2のブレ補正部108の優先度の更新判定を行い、以降の処理においてどちらのブレ補正部の誤差推定処理を優先するかを決定する。 In step S804, the first error estimation unit 207 uses the error amount updated by the Kalman filter estimation process for the error amount subtraction process in the blur correction control unit 201 of the first blur correction unit 107. In step S805, the first error estimation unit 207 uses the estimated error value to determine whether to update the priorities of the first blur correction unit 107 and the second blur correction unit 108, and in subsequent processing. It is determined which blur correction unit's error estimation processing should be prioritized.

優先度の更新を判定する方法として、例えば、ステップS803の誤差量推定処理で算出された誤差量の偏差を用いる方法がある。誤差量の偏差の時間的な変動を観察し、その値が真値に近くなれば誤差量の算出と調整が正確に行われ、撮像システム100の動き情報が安定的に検出できていることを意味するので、もう一方のブレ補正部の優先度を高くする。また、誤差量推定処理で算出された誤差が大きいブレ補正部の優先度を高くするようにしてもよい。 As a method for determining whether to update the priority, for example, there is a method using the deviation of the error amount calculated in the error amount estimation process in step S803. Observe the temporal fluctuations in the deviation of the error amount, and if the value is close to the true value, it means that the error amount has been calculated and adjusted accurately and the motion information of the imaging system 100 can be stably detected. Therefore, the other image stabilization unit is given a higher priority. Further, the priority may be given to a blur correction unit with a large error calculated in the error amount estimation process.

また、ブレ検出部の検出精度に応じて優先度を設定してもよい。例えば、検出精度の高いブレ検出部を有するブレ補正部の優先度を高くしてもよいし、低周波における検出精度の低いブレ検出部を有するブレ補正部の優先度を高くしてもよい。また、ブレ補正部の補正性能に応じて優先度を設定してもよい。例えば、より低い周波数のブレを補正可能なブレ補正部の優先度を高く設定する。また、各ブレ補正部の誤差を交互に推定するようにしてもよい。 Furthermore, the priority may be set depending on the detection accuracy of the shake detection section. For example, the priority may be given to a blur correction section that has a blur detection section with high detection accuracy, or the priority may be given to a blur correction section that has a blur detection section that has low detection accuracy at low frequencies. Furthermore, the priority may be set depending on the correction performance of the blur correction section. For example, a high priority is set for a blur correction unit that can correct blur at lower frequencies. Alternatively, the error of each blur correction section may be estimated alternately.

ステップS806において、第1の誤差推定部207は、ステップS805で変更された優先度に応じて、誤差の補正対象となるブレ検出手段をもう一方のブレ補正部のブレ検出手段へと切り替える。以上のような補正対象の切り替えを繰り返し続けることにより、どちらのブレ検出部からも安定的かつ精度良く撮像システム100の振れ情報を取得することが出来るようになる。 In step S806, the first error estimating unit 207 switches the blur detection unit to which the error is to be corrected to the blur detection unit of the other blur correction unit in accordance with the priority changed in step S805. By continuing to repeat the switching of the correction target as described above, it becomes possible to stably and accurately acquire shake information of the imaging system 100 from either shake detection unit.

本実施例では、誤差量の偏差に応じて誤差推定を行うブレ補正部の優先度の更新を行う方法について述べたが、優先度の更新方法はこれに限るものではなく、誤差量が一定値以下になったら優先度を更新する等の方法を用いるという方法もある。さらに、優先度の更新判定を行わずに予め定められた期間が経過するごとに自動的に優先度を切り替えるという方法もある。 In this embodiment, the method of updating the priority of the blur correction unit that performs error estimation according to the deviation of the error amount has been described, but the method of updating the priority is not limited to this. Another method is to update the priority when the priority is below. Furthermore, there is also a method of automatically switching the priority every time a predetermined period passes without performing a priority update determination.

図6のステップS605において、第1の誤差推定部207または通信部109は、図8のステップS801で算出されたブレの真値に対して位相補償処理を行う。第1の誤差推定部207において算出されたブレの真値を第2の誤差推定部208に伝送する際、第1のブレ補正制御部202での処理やデータの通信によって生じる遅延のために第2のブレ補正制御部205で算出されたブレ補正量との間に位相差が生じている。そのため、第1の誤差推定部207で算出されたブレの真値に対して位相補償を行うことで、両者の位相のずれを補償する。位相補償の方法については特に制約はなく、高帯域のゲインを下げる等の一般的な手法を使用してよい。そして位相補償されたブレの真値は、通信部109を介して第2の誤差推定部208に伝送される。 In step S605 in FIG. 6, the first error estimation unit 207 or the communication unit 109 performs phase compensation processing on the true value of the blur calculated in step S801 in FIG. When transmitting the true value of the blur calculated in the first error estimation section 207 to the second error estimation section 208, the A phase difference occurs between the amount of blur correction calculated by the blur correction control unit 205 of No. 2. Therefore, by performing phase compensation on the true value of blur calculated by the first error estimation unit 207, the phase shift between the two is compensated for. There are no particular restrictions on the phase compensation method, and general techniques such as lowering the gain in high bands may be used. The true value of the phase-compensated blur is then transmitted to the second error estimation section 208 via the communication section 109.

次に、図3のステップS303の第2のブレ補正の処理について説明する。ここでは、まず第2のブレ補正部108を構成する第2のブレ検出部204から得られる撮像システム100の振れ情報を用いて、第2のブレ補正制御部205にてブレ補正量を算出する。次に、算出されたブレ補正量に基づいて第2のブレ補正部材206を駆動制御することで撮像システム100のブレを補正する。そして、第2の誤差推定部208において第2のブレ検出手段から検出された撮像システム100の振れ情報に含まれる誤差量を算出し、その値を用いてブレ検出手段の調整を行う。ここで、各構成要素における処理の内容は前述の第1のブレ補正部108のものと同様であるが、ブレの検出手段やブレ補正部材の種類に合わせた処理パラメータを用いて処理を行うことになる。 Next, the second blur correction process in step S303 in FIG. 3 will be explained. Here, first, using the shake information of the imaging system 100 obtained from the second shake detection unit 204 that constitutes the second shake correction unit 108, the second shake correction control unit 205 calculates the amount of shake correction. . Next, the vibration of the imaging system 100 is corrected by drive-controlling the second vibration reduction member 206 based on the calculated vibration correction amount. Then, the second error estimation unit 208 calculates the amount of error included in the shake information of the imaging system 100 detected by the second shake detection means, and adjusts the shake detection means using the calculated value. Here, the content of the processing in each component is the same as that of the first shake correction unit 108 described above, but the processing may be performed using processing parameters that match the type of shake detection means and shake correction member. become.

ここで、第2の誤差推定部208による誤差推定処理について説明する。図9は、第2のブレ補正部108における誤差推定処理を示している。ステップS901において、第2の誤差推定部208は、ブレの真値として第1の誤差推定部207の処理ステップS801で算出されたブレの真値を取得する。これは、本実施例において第1のブレ検出部201のブレ検出精度の方が、第2のブレ検出部204のブレ検出精度より高いためである。第2の誤差推定部208において、第2のブレ補正制御部205から算出されたブレ補正量と、動きベクトル検出回路106においてフレーム画像間から検出した動きベクトルを用いて算出したブレの補正残り量との和を計算しブレの真値を得ることも可能である。しかし、性能の低いジャイロセンサを使用している場合には、ジャイロセンサの誤差やノイズ成分の影響が大きく、精度良くブレの真値を求めることが出来ない可能性がある。このような誤差が多く含まれているブレの真値を使用して以降の誤差推定処理を行っても、正しくない誤差値を算出してしまうためジャイロセンサの調整が精度良く出来なくなる。そこで、本実施例では、高性能なジャイロセンサを用いて算出された第1のブレ補正部107で算出されたブレの真値を使用することで、性能が低いジャイロセンサを使用している場合でも精度良くジャイロセンサの調整が出来るようにする。 Here, error estimation processing by the second error estimation unit 208 will be explained. FIG. 9 shows error estimation processing in the second blur correction section 108. In step S901, the second error estimation unit 208 obtains the true value of blur calculated in processing step S801 of the first error estimation unit 207 as the true value of blur. This is because the blur detection accuracy of the first blur detection section 201 is higher than the blur detection accuracy of the second blur detection section 204 in this embodiment. The second error estimation unit 208 calculates the remaining blur correction amount using the blur correction amount calculated from the second blur correction control unit 205 and the motion vector detected from between frame images in the motion vector detection circuit 106. It is also possible to obtain the true value of blur by calculating the sum of However, when a gyro sensor with low performance is used, the influence of errors and noise components of the gyro sensor is large, and it may not be possible to accurately determine the true value of blur. Even if a subsequent error estimation process is performed using the true value of blur that includes many such errors, an incorrect error value will be calculated, making it impossible to accurately adjust the gyro sensor. Therefore, in this embodiment, by using the true value of the shake calculated by the first shake correction unit 107, which is calculated using a high-performance gyro sensor, when a low-performance gyro sensor is used, However, the gyro sensor should be able to be adjusted accurately.

なお、第1のブレ補正部107は高性能なジャイロセンサを使用し、それに対して第2のブレ補正部108では相対的に性能の低いジャイロセンサを使用している場合について説明したが、これに限るものではない。例えば、第1のブレ補正部107では低周波のブレを補正し、第2のブレ補正部108では高周波のブレを補正するというような構成でもよい。この場合には、低周波のブレを補正する方を相対的に優先度の高いブレ補正部、高周波のブレを補正する方を相対的に優先度に低いブレ補正部とする。これは、低周波のブレを検出対象とした場合の方が、誤差としてオフセット成分が含まれやすくなるためであり、高周波側で生じる誤差よりもこのオフセット成分を補正する方がブレ補正性能向上への影響が大きいためである。その他にも、第1のブレ補正部107と第2のブレ補正部108においてブレ補正量や誤差量の推定性能に差異があれば、推定性能に応じて相対的な優先度を設定するようにしてもよい。また、ここで取得するブレの真値が、優先度の高いほうの補正部が備える振れ検出部により検出された振れ情報に基づいていれよい。よって、第1のブレ補正部107で取得されたブレの真値を取得する代わりに、第1のブレ検出部201で検出された振れ情報そのものや、当該振れ情報に基づいて取得されたブレ補正量と、動きベクトル情報とを取得し、第2の誤差推定部208がブレの真値を取得してもよい。 The first image stabilization unit 107 uses a high-performance gyro sensor, whereas the second image stabilization unit 108 uses a relatively low-performance gyro sensor. It is not limited to. For example, the configuration may be such that the first blur correction section 107 corrects low frequency blur, and the second blur correction section 108 corrects high frequency blur. In this case, the blur correction section that corrects low-frequency blur is given a relatively high priority, and the blur correction section that corrects high-frequency blur is given a relatively low priority. This is because offset components are more likely to be included as errors when low-frequency vibrations are detected, and correcting this offset component improves image stabilization performance more than errors occurring on the high-frequency side. This is because the influence of In addition, if there is a difference in the estimation performance of the amount of blur correction or error amount between the first image stabilization unit 107 and the second image stabilization unit 108, a relative priority is set according to the estimation performance. You can. Further, the true value of the blur acquired here may be based on the shake information detected by the shake detection section included in the correction section with the higher priority. Therefore, instead of acquiring the true value of the shake acquired by the first shake correction unit 107, the shake information itself detected by the first shake detection unit 201 or the shake correction acquired based on the shake information is used. The second error estimation unit 208 may obtain the true value of the blur by obtaining the amount and motion vector information.

ステップS902からステップS904については、図8のステップS802からS804と同様であるため、その説明を省略する。ただし、ステップS902で取得する観測値は、第2のブレ検出部204で検出した撮像システム100の振れ情報であり、ステップS904で取得される誤差値は、第2のブレ補正部108で取得されるブレ補正量に含まれる誤差値である。それ以降の処理(ステップS805およびステップS806)については、第1の誤差推定部209にて実施するため第2のブレ補正部108では不要となる。以上のようにして第1のブレ補正部107、第2のブレ補正部108で取得されるブレ補正量に含まれる誤差が推定され、推定された誤差値を用いてブレ補正を行うことで、ブレ補正の制度を向上させることができる。また、以上のように生成されたブレ補正画像は、記憶媒体110に記憶される。 Steps S902 to S904 are the same as steps S802 to S804 in FIG. 8, so their explanation will be omitted. However, the observed value acquired in step S902 is shake information of the imaging system 100 detected by the second shake detection unit 204, and the error value acquired in step S904 is the shake information acquired by the second shake correction unit 108. This is the error value included in the blur correction amount. The subsequent processes (steps S805 and S806) are performed by the first error estimating unit 209, so that the second blurring correction unit 108 is not required. By estimating the error included in the amount of shake correction obtained by the first shake correction unit 107 and the second shake correction unit 108 as described above, and performing shake correction using the estimated error value, The blur correction system can be improved. Further, the blur corrected image generated as described above is stored in the storage medium 110.

以上説明したように、本実施例によると、複数のブレ検出手段及びブレ補正部材を有する撮像装置において、それぞれのブレ補正制御部が協調して誤差量の推定を行うことで、振れ情報に含まれる誤差量を精度良く調整することが出来る。これにより、ブレ補正量を高精度に算出することが可能となり、像ブレ補正性能の向上が実現できる。尚、本実施例では、優先度が高い第1のブレ補正部107を、撮像装置本体が備えるため、動きベクトル検出部106が第1の誤差推定部207へブレの補正残り量の情報を送信した。しかしながら、レンズ装置が備える第2のブレ補正部108のほうが優先度が高い場合は、動きベクトル検出部106は第2の誤差推定部208へブレの補正残りの量の情報を送信する。この場合、レンズ装置と撮像装置本体との間の通信を介すため、ブレの補正残り量の情報に対しても位相補償の処理を行うことが好ましい。位相補償の処理については、ブレの真値に対する処理と同様に特に制約はなく、従来の処理を採用することができる。位相補償処理されたブレの補正残りの量と、第2のブレ補正制御部205で取得されたブレ補正量との和により、ブレの真値を取得することができる。
また、本実施形態では、第1のブレ補正部107、第2のブレ補正部108のそれぞれが誤差推定部を備える構成について説明をしたが、どちらか一方のみが誤差推定部を備えていてもよい。一方のブレ検出部により検出された振れ情報と動きベクトルとに基づいてブレの真値を取得し、当該ブレの真値と誤差の推定対象の補正部が備える検出部により検出された振れ情報とを用いれば、上述の実施例と同様に2つの検出部の誤差を推定することができる。例えば、第1の誤差推定部207が、第1のブレ検出部201が検出した振れ情報と動きベクトルとに基づいてブレの真値を取得し、ブレの真値と第1のブレ検出部201が検出した振れ情報(観測値)に基づいて第1のブレ補正部107の補正誤差(検出誤差)を推定する。さらに、第1の誤差推定部207が、第1のブレ検出部201のブレ検出部201が検出した振れ情報と動きベクトルとに基づいてブレの真値を取得し、ブレの真値と第2のブレ検出部204が検出した振れ情報(観測値)に基づいて第2のブレ補正部108の補正誤差(検出誤差)を推定する。
As explained above, according to this embodiment, in an imaging apparatus having a plurality of shake detection means and shake correction members, each shake correction control unit cooperates to estimate the amount of error, so that the amount of error included in shake information is It is possible to adjust the error amount with high precision. This makes it possible to calculate the amount of blur correction with high precision, and improve image blur correction performance. Note that in this embodiment, since the imaging apparatus main body includes the first shake correction unit 107 which has a high priority, the motion vector detection unit 106 transmits information on the remaining amount of shake correction to the first error estimation unit 207. did. However, if the second blur correction unit 108 included in the lens device has a higher priority, the motion vector detection unit 106 transmits information on the remaining amount of blur correction to the second error estimation unit 208. In this case, since communication is performed between the lens device and the imaging device main body, it is preferable to perform phase compensation processing also on information on the remaining amount of blur correction. As with the process for the true value of blur, there are no particular restrictions on the phase compensation process, and conventional processes can be used. The true value of the blur can be obtained by the sum of the remaining blur correction amount after the phase compensation process and the blur correction amount obtained by the second blur correction control unit 205.
Furthermore, in the present embodiment, a configuration has been described in which each of the first blur correction section 107 and the second blur correction section 108 includes an error estimation section, but even if only one of them includes an error estimation section. good. The true value of the shake is acquired based on the shake information and the motion vector detected by one of the shake detection units, and the true value of the shake and the shake information detected by the detection unit included in the correction unit that is the error target are estimated. By using , it is possible to estimate the error of the two detection units as in the above embodiment. For example, the first error estimating unit 207 obtains the true value of the shake based on the shake information and the motion vector detected by the first shake detecting unit 201, and calculates the true value of the shake and the first shake detecting unit 201. The correction error (detection error) of the first blur correction unit 107 is estimated based on the shake information (observed value) detected by the shake correction unit 107 . Further, the first error estimating unit 207 obtains the true value of the shake based on the shake information and the motion vector detected by the shake detecting unit 201 of the first shake detecting unit 201, and the true value of the shake and the second The correction error (detection error) of the second shake correction unit 108 is estimated based on the shake information (observed value) detected by the shake detection unit 204 .

(その他の実施例)
本発明は、上述の実施例の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
(Other examples)
The present invention provides a system or device with a program that implements one or more of the functions of the above-described embodiments via a network or storage medium, and one or more processors in the computer of the system or device reads and executes the program. This can also be achieved by processing. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

以上、本発明の好ましい実施例について説明したが、本発明は、これらの実施例に限定されず、その要旨の範囲内で種々の変形および変更が可能である。 Although preferred embodiments of the present invention have been described above, the present invention is not limited to these embodiments, and various modifications and changes can be made within the scope of the invention.

107 第1のブレ補正部
108 第2のブレ補正部
201 第1のブレ検出部
204 第2のブレ検出部
207 第1の誤差推定部
208 第2の誤差推定部
107 First blur correction section 108 Second blur correction section 201 First blur detection section 204 Second blur detection section 207 First error estimation section 208 Second error estimation section

Claims (29)

レンズ装置が着脱可能な撮像装置であって、
複数の画像から動きベクトルを検出するベクトル検出部と、
撮像装置の振れ情報を検出する第1の振れ検出部と、
前記第1の振れ検出部で検出された第1の振れ情報に基づいて第1のブレ補正量を取得し、取得された前記第1のブレ補正量に基づいて画像のブレを補正する第1のブレ補正部と、
前記第1の振れ検出部で検出された前記第1の振れ情報に含まれる誤差を推定する誤差推定部と、
前記レンズ装置から前記レンズ装置が備える第2のブレ補正部のブレ補正量である第2のブレ補正量を受信する通信手段と、を備え、
前記誤差推定部は、前記ベクトル検出部で検出した動きベクトルと前記通信手段が受信した前記第2のブレ補正量に基づいて、前記第1の振れ検出部で検出された前記第1の振れ情報に含まれる誤差を推定し、
前記第1のブレ補正部は、前記誤差推定部による推定結果に基づいて前記第1のブレ補正量を取得することを特徴とする撮像装置。
An imaging device with a detachable lens device,
a vector detection unit that detects motion vectors from multiple images;
a first shake detection unit that detects shake information of the imaging device;
A first image stabilization unit that acquires a first shake correction amount based on first shake information detected by the first shake detection unit, and corrects image blur based on the acquired first shake correction amount. a blur correction section;
an error estimation unit that estimates an error included in the first shake information detected by the first shake detection unit;
a communication means for receiving a second blur correction amount, which is a blur correction amount of a second blur correction unit included in the lens device, from the lens device;
The error estimator is configured to calculate the first shake information detected by the first shake detector based on the motion vector detected by the vector detector and the second shake correction amount received by the communication means. Estimate the error included in
The image capturing apparatus is characterized in that the first blur correction section obtains the first blur correction amount based on the estimation result by the error estimation section.
前記誤差推定部は、
前記動きベクトルと、前記通信手段が受信した前記第2のブレ補正量と、に基づいて第3の振れ情報を取得し、前記第3の振れ情報と前記第1の振れ検出部が検出した前記第1の振れ情報とに基づいて前記第1の振れ検出部で検出された前記第1の振れ情報に含まれる誤差を推定することを特徴とする請求項1に記載の撮像装置。
The error estimator includes:
Third shake information is acquired based on the motion vector and the second shake correction amount received by the communication means, and third shake information is obtained based on the third shake information and the shake correction amount detected by the first shake detection unit. The imaging apparatus according to claim 1, wherein an error included in the first shake information detected by the first shake detector is estimated based on the first shake information.
前記誤差推定部は、前記動きベクトルに基づくブレの補正残り量と前記通信手段が受信した前記第2のブレ補正量との和に基づいて前記第3の振れ情報を取得することを特徴とする請求項2に記載の撮像装置。 The error estimation unit is characterized in that the third shake information is acquired based on the sum of the remaining shake correction amount based on the motion vector and the second shake correction amount received by the communication means. The imaging device according to claim 2. レンズ装置が着脱可能な撮像装置であって、
複数の画像から動きベクトルを検出するベクトル検出部と、
撮像装置の振れ情報を検出する第1の振れ検出部と、
前記第1の振れ検出部で検出された第1の振れ情報に基づいて第1のブレ補正量を取得し、取得された前記第1のブレ補正量に基づいて画像のブレを補正する第1のブレ補正部と、
前記第1の振れ情報に含まれる誤差を推定する誤差推定部と、
前記動きベクトルと前記第1のブレ補正量を前記レンズ装置に送信し、前記動きベクトルと前記第1のブレ補正量とに基づいて前記レンズ装置で取得された第3の振れ情報を前記レンズ装置から受信する通信手段と、を備え、
前記誤差推定部は、前記レンズ装置から受信した前記第3の振れ情報に基づいて前記第1の振れ検出部で検出された前記第1の振れ情報に含まれる誤差を推定し、
前記第1のブレ補正部は、前記誤差推定部による推定結果に基づいて前記第1のブレ補正量を取得することを特徴とする撮像装置。
An imaging device with a detachable lens device,
a vector detection unit that detects motion vectors from multiple images;
a first shake detection unit that detects shake information of the imaging device;
A first image stabilization unit that acquires a first shake correction amount based on first shake information detected by the first shake detection unit, and corrects image blur based on the acquired first shake correction amount. a blur correction section;
an error estimation unit that estimates an error included in the first shake information;
The motion vector and the first blur correction amount are transmitted to the lens device, and third blur information acquired by the lens device based on the motion vector and the first blur correction amount is transmitted to the lens device. a communication means for receiving from the
The error estimation unit estimates an error included in the first shake information detected by the first shake detection unit based on the third shake information received from the lens device,
The image capturing apparatus is characterized in that the first blur correction section obtains the first blur correction amount based on the estimation result by the error estimation section.
前記動きベクトルと、前記第1のブレ補正量に対して位相補償を行う位相補償部をさらに備え、
前記通信手段は、前記位相補償が行われた前記動きベクトルと前記第1のブレ補正量を前記レンズ装置に送信し、前記位相補償が行われた前記動きベクトルと前記第1のブレ補正量とに基づく第3の振れ情報を前記レンズ装置から受信することを特徴とする請求項4に記載の撮像装置。
further comprising a phase compensation unit that performs phase compensation on the motion vector and the first blur correction amount,
The communication means transmits the motion vector on which the phase compensation has been performed and the first blur correction amount to the lens device, and transmits the motion vector on which the phase compensation has been performed and the first blur correction amount. The imaging device according to claim 4, wherein third shake information based on the following is received from the lens device.
レンズ装置が着脱可能な撮像装置であって、
複数の画像から動きベクトルを検出するベクトル検出部と、
撮像装置の振れ情報を検出する第1の振れ検出部と、
前記第1の振れ検出部で検出された第1の振れ情報に基づいて第1のブレ補正量を取得し、取得された前記第1のブレ補正量に基づいて画像のブレを補正する第1のブレ補正部と、
前記動きベクトルと前記第1のブレ補正量とに基づいて第3の振れ情報を取得し、前記第3の振れ情報に基づいて前記第1の振れ情報に含まれる誤差を推定する誤差推定部と、
前記第3の振れ情報を前記レンズ装置へ送信する通信手段と、を備えることを特徴とする撮像装置。
An imaging device with a detachable lens device,
a vector detection unit that detects motion vectors from multiple images;
a first shake detection unit that detects shake information of the imaging device;
A first image stabilization unit that acquires a first shake correction amount based on first shake information detected by the first shake detection unit, and corrects image blur based on the acquired first shake correction amount. a blur correction section;
an error estimation unit that acquires third shake information based on the motion vector and the first shake correction amount, and estimates an error included in the first shake information based on the third shake information; ,
An imaging device comprising: communication means for transmitting the third shake information to the lens device.
前記第3の振れ情報対して位相補償を行う位相補償部を備え、
前記通信手段は、前記位相補償が行われた前記第3の振れ情報を前記レンズ装置に送信することを特徴とする請求項6に記載の撮像装置。
comprising a phase compensation unit that performs phase compensation on the third shake information,
The imaging device according to claim 6, wherein the communication means transmits the third shake information on which the phase compensation has been performed to the lens device.
前記誤差推定部は、前記動きベクトルに基づくブレの補正残り量と前記第1のブレ補正量との和に基づいて前記第3の振れ情報を取得することを特徴とする請求項6または7に記載の撮像装置。 8. The error estimation unit acquires the third shake information based on the sum of the remaining shake correction amount based on the motion vector and the first shake correction amount. The imaging device described. 撮像装置と前記撮像装置に着脱可能なレンズ装置とを備える撮像システムであって、
前記撮像装置は、
複数の画像から動きベクトルを検出するベクトル検出部と、
前記撮像装置の振れ情報を検出する第1の振れ検出部と、
前記第1の振れ検出部で検出された第1の振れ情報に基づいて第1のブレ補正量を取得し、取得された前記第1のブレ補正量に基づいて画像のブレを補正する第1のブレ補正部と、
前記レンズ装置と通信する第1の通信手段と、を備え、
前記レンズ装置は、
前記レンズ装置の振れ情報を検出する第2の振れ検出部と、
前記第2の振れ検出部で検出された第2の振れ情報に基づいて第2のブレ補正量を取得し、取得された前記第2のブレ補正量に基づいて画像のブレを補正する第2のブレ補正部と、
前記撮像装置と通信する第2の通信手段と、を備え、
撮像システムは、
前記第1のブレ補正量と前記第2のブレ補正量のいずれか一方と、前記動きベクトルとに基づいて前記撮像システムの振れ情報を取得し、前記撮像システムの振れ情報に基づいて前記第1の振れ情報に含まれる誤差と、前記第2の振れ情報に含まれる誤差とを推定する誤差推定部を備えることを特徴とする撮像システム。
An imaging system comprising an imaging device and a lens device detachable from the imaging device,
The imaging device includes:
a vector detection unit that detects motion vectors from multiple images;
a first shake detection unit that detects shake information of the imaging device;
A first image stabilization unit that acquires a first shake correction amount based on first shake information detected by the first shake detection unit, and corrects image blur based on the acquired first shake correction amount. a blur correction section;
a first communication means for communicating with the lens device,
The lens device includes:
a second shake detection unit that detects shake information of the lens device;
A second shake correction amount is acquired based on second shake information detected by the second shake detection unit, and image blur is corrected based on the acquired second shake correction amount. a blur correction section;
a second communication means for communicating with the imaging device,
The imaging system is
Shake information of the imaging system is acquired based on either the first blur correction amount or the second blur correction amount and the motion vector, and the shake information of the imaging system is acquired based on the shake information of the imaging system. An imaging system comprising: an error estimator that estimates an error included in the shake information and an error included in the second shake information.
前記誤差推定部は、前記第2の振れ検出部と、前記第1の振れ検出部とのいずれに含まれる誤差を優先的に推定するかを設定する優先度を設定することを特徴とする請求項9に記載の撮像システム。 The error estimating unit sets a priority to determine which error included in the second shake detecting unit or the first shake detecting unit should be estimated preferentially. The imaging system according to item 9. 前記誤差推定部は、前記第1の振れ検出部と前記第2の振れ検出部の検出精度に応じて前記優先度を設定することを特徴とする請求項10に記載の撮像システム。 11. The imaging system according to claim 10, wherein the error estimation section sets the priority according to detection accuracy of the first shake detection section and the second shake detection section. 前記誤差推定部は、前記検出精度が高い振れ検出部の前記優先度を高く設定することを特徴とする請求項11に記載の撮像システム。 12. The imaging system according to claim 11, wherein the error estimating unit sets a high priority to a shake detecting unit having a high detection accuracy. 前記誤差推定部は、振れ情報の誤差の大きい振れ検出部の前記優先度を高く設定することを特徴とする請求項10に記載の撮像システム。 11. The imaging system according to claim 10, wherein the error estimating unit sets the priority of the shake detecting unit having a large error in shake information to be high. 前記誤差推定部は、振れ情報の誤差の偏差が大きい振れ検出部の前記優先度を高く設定することを特徴とする請求項10に記載の撮像システム。 11. The imaging system according to claim 10, wherein the error estimating unit sets a high priority to a shake detecting unit having a large error deviation in shake information. 記誤差推定部は、前記第1のブレ補正部および前記第2のブレ補正部の補正性能に応じて、振れ検出部の前記優先度を設定することを特徴とする請求項10に記載の撮像システム。 11. The error estimation section sets the priority of the shake detection section according to the correction performance of the first shake correction section and the second shake correction section. Imaging system. 前記誤差推定部は、補正する対象となるブレの周波数が低い前記ブレ補正部と対となる振れ検出部の前記優先度を高く設定することを特徴とする請求項15に記載の撮像システム。 16. The imaging system according to claim 15, wherein the error estimating unit sets a high priority to a shake detecting unit paired with the shake correcting unit whose frequency of shake to be corrected is low. 前記誤差推定部は、前記第1の振れ検出部と前記第2の振れ検出部の誤差の推定を交互に行うことを特徴とする請求項10乃至16のいずれか1項に記載の撮像システム。 17. The imaging system according to claim 10, wherein the error estimation section alternately estimates the error of the first shake detection section and the second shake detection section. 撮像装置に着脱可能なレンズ装置であって、
前記レンズ装置の振れ情報を検出する第2の振れ検出部と、
前記第2の振れ検出部で検出された第2の振れ情報に基づいて第2のブレ補正量を取得し、取得された前記第2のブレ補正量に基づいて画像のブレを補正する第2のブレ補正部と、
前記第2の振れ検出部により検出される前記第2の振れ情報に含まれる誤差を推定する誤差推定部と、
前記撮像装置から前記撮像装置で取得された動きベクトル情報を受信する通信手段と、を備え、
前記誤差推定部は、前記通信手段が受信した前記動きベクトル情報と前記第2のブレ補正量に基づいて前記第2の振れ情報に含まれる誤差を推定し、
前記第2のブレ補正部は、前記誤差推定部による推定結果に基づいて前記第2のブレ補正量を取得することを特徴とするレンズ装置。
A lens device that can be attached to and detached from an imaging device,
a second shake detection unit that detects shake information of the lens device;
A second shake correction amount is acquired based on second shake information detected by the second shake detection unit, and image blur is corrected based on the acquired second shake correction amount. a blur correction section;
an error estimation unit that estimates an error included in the second shake information detected by the second shake detection unit;
a communication means for receiving motion vector information acquired by the imaging device from the imaging device,
The error estimation unit estimates an error included in the second shake information based on the motion vector information received by the communication means and the second shake correction amount,
The lens device, wherein the second blur correction section obtains the second blur correction amount based on the estimation result by the error estimation section.
前記誤差推定部は、前記通信手段が受信した前記動きベクトル情報と前記第2のブレ補正量とに基づいて第3の振れ情報を取得し、前記第3の振れ情報と前記第2の振れ情報とに基づいて前記第2の振れ情報に含まれる誤差を推定することを特徴とする請求項18に記載のレンズ装置。 The error estimation unit acquires third shake information based on the motion vector information and the second shake correction amount received by the communication means, and calculates the third shake information and the second shake information. 19. The lens device according to claim 18, wherein an error included in the second shake information is estimated based on the following. 前記誤差推定部は、前記動きベクトル情報に基づくブレの補正残り量と前記第2のブレ補正量との和に基づいて前記第3の振れ情報を取得することを特徴とする請求項19に記載のレンズ装置。 20. The error estimation unit obtains the third shake information based on a sum of a remaining shake correction amount based on the motion vector information and the second shake correction amount. lens device. 前記通信手段は、前記第3の振れ情報を前記撮像装置へ送信することを特徴とする請求項19または20に記載のレンズ装置。 21. The lens device according to claim 19, wherein the communication means transmits the third shake information to the imaging device. 前記通信手段は、前記撮像装置から前記撮像装置が備える第1の振れ検出部により検出された第1の振れ情報を受信し、
前記誤差推定部は、前記第3の振れ情報と前記第1の振れ情報とに基づいて前記第1の振れ情報に含まれる誤差を推定し、当該推定結果を前記撮像装置へ送信することを特徴とする請求項19または20に記載のレンズ装置。
The communication means receives, from the imaging device, first shake information detected by a first shake detection unit included in the imaging device,
The error estimation unit estimates an error included in the first shake information based on the third shake information and the first shake information, and transmits the estimation result to the imaging device. The lens device according to claim 19 or 20.
撮像装置に着脱可能なレンズ装置であって、
前記レンズ装置の振れ情報を検出する第2の振れ検出部と、
前記第2の振れ検出部で検出された第2の振れ情報に基づいて第2のブレ補正量を取得し、取得された前記第2のブレ補正量に基づいて画像のブレを補正する第2のブレ補正部と、
前記第2の振れ情報に含まれる誤差を推定する誤差推定部と、
前記第2のブレ補正量を前記撮像装置に送信し、前記第2のブレ補正量と動きベクトル情報とに基づいて前記撮像装置で取得された第3の振れ情報を前記撮像装置から受信する通信手段と、を備え、
前記誤差推定部は、前記通信手段が受信した前記第3の振れ情報に基づいて前記第2の振れ情報に含まれる誤差を推定し、
前記第2のブレ補正部は、前記誤差推定部による推定結果に基づいて前記ブレ補正量を取得することを特徴とするレンズ装置。
A lens device that can be attached to and detached from an imaging device,
a second shake detection unit that detects shake information of the lens device;
A second shake correction amount is acquired based on second shake information detected by the second shake detection unit, and image blur is corrected based on the acquired second shake correction amount. a blur correction section;
an error estimation unit that estimates an error included in the second shake information;
Communication for transmitting the second blur correction amount to the imaging device and receiving third blur information acquired by the imaging device based on the second blur correction amount and motion vector information from the imaging device. equipped with the means and
The error estimation unit estimates an error included in the second shake information based on the third shake information received by the communication means,
The lens device is characterized in that the second blur correction section obtains the blur correction amount based on the estimation result by the error estimation section.
撮像装置に着脱可能なレンズ装置であって、
前記レンズ装置の振れ情報を検出する第2の振れ検出部と、
前記第2の振れ検出部で検出された第2の振れ情報に基づいて第2のブレ補正量を取得し、取得された前記第2のブレ補正量に基づいて画像のブレを補正する第2のブレ補正部と、
前記第2の振れ情報に含まれる誤差を推定する誤差推定部と、
前記撮像装置が備える第1の振れ補正部の補正量である第1のブレ補正量と、動きベクトル情報とを前記撮像装置から受信する通信手段と、を備え、
前記誤差推定部は、前記第1のブレ補正量と前記動きベクトル情報とに基づいて第3の振れ情報を取得し、前記第3の振れ情報に基づいて前記第2の振れ情報に含まれる誤差を推定し、
前記第2のブレ補正部は、前記誤差推定部による推定結果に基づいて前記第2のブレ補正量を取得することを特徴とするレンズ装置。
A lens device that can be attached to and detached from an imaging device,
a second shake detection unit that detects shake information of the lens device;
A second shake correction amount is acquired based on second shake information detected by the second shake detection unit, and image blur is corrected based on the acquired second shake correction amount. a blur correction section;
an error estimation unit that estimates an error included in the second shake information;
a communication means for receiving a first shake correction amount that is a correction amount of a first shake correction unit included in the image pickup device and motion vector information from the image pickup device;
The error estimation unit acquires third shake information based on the first shake correction amount and the motion vector information, and calculates an error included in the second shake information based on the third shake information. Estimate
The lens device, wherein the second blur correction section obtains the second blur correction amount based on the estimation result by the error estimation section.
レンズ装置が着脱可能な撮像装置であって、
複数の画像から動きベクトルを検出するベクトル検出部と、
撮像装置の振れ情報を検出する第1の振れ検出部と、
前記第1の振れ検出部で検出された第1の振れ情報に基づいて第1のブレ補正量を取得し、取得された前記第1のブレ補正量に基づいて画像のブレを補正する第1のブレ補正部と、
前記レンズ装置から前記レンズ装置の振れ情報である第2の振れ情報を受信する通信手段と、
前記通信手段により受信した前記第2の振れ情報に基づいて、前記第2の振れ情報に含まれる誤差を推定する誤差推定部と、を備え、
前記誤差推定部は、前記ベクトル検出部で検出した動きベクトルと前記第1の振れ情報に基づいて第3の振れ情報を取得し、前記第3の振れ情報と前記通信手段により受信した前記第2の振れ情報とに基づいて、前記第2の振れ情報に含まれる誤差を推定し、
前記通信手段は、前記誤差推定部による、前記第2の振れ情報に含まれる誤差の推定結果を前記レンズ装置に送信することを特徴とする撮像装置。
An imaging device with a detachable lens device,
a vector detection unit that detects motion vectors from multiple images;
a first shake detection unit that detects shake information of the imaging device;
A first image stabilization unit that acquires a first shake correction amount based on first shake information detected by the first shake detection unit, and corrects image blur based on the acquired first shake correction amount. a blur correction section;
communication means for receiving second shake information that is shake information of the lens device from the lens device;
an error estimation unit that estimates an error included in the second shake information based on the second shake information received by the communication means,
The error estimation unit acquires third shake information based on the motion vector detected by the vector detection unit and the first shake information, and the third shake information and the second shake information received by the communication means. Estimating the error included in the second shake information based on the shake information,
The imaging device is characterized in that the communication means transmits an estimation result of the error included in the second shake information by the error estimator to the lens device.
レンズ装置が着脱可能な撮像装置の制御方法であって、
複数の画像から動きベクトルを検出するベクトル検出工程と、
撮像装置の振れ情報を検出する第1の振れ検出部により第1の振れ情報を検出する振れ検出工程と、
前記第1の振れ検出部で検出された前記第1の振れ情報に基づいて第1のブレ補正量を取得し、取得された前記第1のブレ補正量に基づいて画像のブレを補正するブレ補正工程と、
前記第1の振れ検出部で検出された前記第1の振れ情報に含まれる誤差を推定する誤差推定工程と、
前記レンズ装置から前記レンズ装置が備える第2のブレ補正部のブレ補正量である第2のブレ補正量を受信する通信工程と、を有し、
前記誤差推定工程は、前記ベクトル検出工程で検出した動きベクトルと前記通信工程において受信した前記第2のブレ補正量に基づいて、前記第1の振れ検出部で検出された前記第1の振れ情報に含まれる誤差を推定し、
前記ブレ補正工程において、前記誤差推定工程による推定結果に基づいて前記第1のブレ補正量を取得することを特徴とする制御方法。
A method for controlling an imaging device having a detachable lens device, the method comprising:
a vector detection step of detecting motion vectors from multiple images;
a shake detection step of detecting first shake information by a first shake detection section that detects shake information of the imaging device;
A first shake correction amount is acquired based on the first shake information detected by the first shake detection unit, and image blur is corrected based on the acquired first shake correction amount. a correction process;
an error estimation step of estimating an error included in the first shake information detected by the first shake detector;
a communication step of receiving a second blur correction amount, which is a blur correction amount of a second blur correction unit included in the lens device, from the lens device;
The error estimation step includes determining the first shake information detected by the first shake detection unit based on the motion vector detected in the vector detection step and the second shake correction amount received in the communication step. Estimate the error included in
A control method characterized in that, in the blur correction step, the first blur correction amount is obtained based on the estimation result in the error estimation step.
撮像装置に着脱可能なレンズ装置の制御方法であって、
レンズ装置の振れ情報を検出する第2の振れ検出部により第2の振れ情報を検出する振れ検出工程と、
前記第2の振れ検出部で検出された前記第2の振れ情報に基づいて第2のブレ補正量を取得し、取得された前記第2のブレ補正量に基づいて画像のブレを補正するブレ補正工程と、
前記第2の振れ検出部により検出される前記第2の振れ情報に含まれる誤差を推定する誤差推定工程と、
前記撮像装置から前記撮像装置で取得された動きベクトル情報を受信する通信工程と、を有し、
前記誤差推定工程は、前記通信工程において受信した前記動きベクトル情報と前記第2のブレ補正量に基づいて前記第2の振れ情報に含まれる誤差を推定し、
前記ブレ補正工程において、前記誤差推定工程による推定結果に基づいて前記第2のブレ補正量を取得することを特徴とする制御方法。
A method for controlling a lens device detachable from an imaging device, the method comprising:
a shake detection step of detecting second shake information by a second shake detection section that detects shake information of the lens device;
A second shake correction amount is acquired based on the second shake information detected by the second shake detection unit, and image blur is corrected based on the second shake correction amount obtained. a correction process;
an error estimation step of estimating an error included in the second shake information detected by the second shake detector;
a communication step of receiving motion vector information acquired by the imaging device from the imaging device,
The error estimation step estimates an error included in the second shake information based on the motion vector information and the second shake correction amount received in the communication step,
A control method characterized in that, in the blur correction step, the second blur correction amount is obtained based on the estimation result in the error estimation step.
レンズ装置が着脱可能な撮像装置の制御方法であって、
複数の画像から動きベクトルを検出するベクトル検出工程と、
撮像装置の振れ情報を検出する第1の振れ検出部により第1の振れ情報を検出する振れ検出工程と、
前記第1の振れ検出部で検出された前記第1の振れ情報に基づいて第1のブレ補正量を取得し、取得された前記第1のブレ補正量に基づいて画像のブレを補正するブレ補正工程と、
前記レンズ装置から前記レンズ装置の振れ情報である第2の振れ情報を受信する第1の通信工程と、
前記第1の通信工程において受信した前記第2の振れ情報に基づいて、前記第2の振れ情報に含まれる誤差を推定する誤差推定工程と、
前記誤差推定工程による前記第2の振れ情報に含まれる誤差の推定結果を前記レンズ装置に送信する第2の通信工程と、を有し、
前記誤差推定工程は、前記ベクトル検出工程で検出した動きベクトルと前記第1の振れ情報に基づいて第3の振れ情報を取得し、前記第3の振れ情報と前記第1の通信工程において受信した前記第2の振れ情報とに基づいて、前記第2の振れ情報に含まれる誤差を推定することを特徴とする制御方法。
A method for controlling an imaging device having a detachable lens device, the method comprising:
a vector detection step of detecting motion vectors from multiple images;
a shake detection step of detecting first shake information by a first shake detection section that detects shake information of the imaging device;
A first shake correction amount is acquired based on the first shake information detected by the first shake detection unit, and image blur is corrected based on the acquired first shake correction amount. a correction process;
a first communication step of receiving second shake information that is shake information of the lens device from the lens device;
an error estimation step of estimating an error included in the second shake information based on the second shake information received in the first communication step;
a second communication step of transmitting an error estimation result included in the second shake information obtained by the error estimation step to the lens device;
The error estimation step acquires third shake information based on the motion vector detected in the vector detection step and the first shake information, and acquires third shake information based on the third shake information and the first shake information received in the first communication step. A control method characterized in that an error included in the second shake information is estimated based on the second shake information.
撮像装置と前記撮像装置に着脱可能なレンズ装置とを備える撮像システムの制御方法であって、
複数の画像から動きベクトルを検出するベクトル検出工程と、
前記撮像装置において、前記撮像装置の振れ情報を検出する第1の振れ検出工程と、
前記レンズ装置において、前記レンズ装置の振れ情報を検出する第2の振れ検出工程と、
前記第1の振れ検出工程で検出された第1の振れ情報に基づいて第1のブレ補正量を取得し、取得された前記第1のブレ補正量に基づいて画像のブレを補正する第1のブレ補正工程と、
前記第2の振れ検出工程で検出された第2の振れ情報に基づいて第2のブレ補正量を取得し、取得された前記第2のブレ補正量に基づいて画像のブレを補正する第2のブレ補正工程と、
前記第1のブレ補正量と前記第2のブレ補正量のいずれか一方と、前記動きベクトルとに基づいて前記撮像システムの振れ情報を取得し、前記撮像システムの振れ情報に基づいて前記第1の振れ情報に含まれる誤差と、前記第2の振れ情報に含まれる誤差とを推定する誤差推定工程と、を有することを特徴とする制御方法。
A method for controlling an imaging system including an imaging device and a lens device detachable from the imaging device, the method comprising:
a vector detection step of detecting motion vectors from multiple images;
In the imaging device, a first shake detection step of detecting shake information of the imaging device;
In the lens device, a second shake detection step of detecting shake information of the lens device;
A first blur correction amount is acquired based on the first shake information detected in the first shake detection step, and image blur is corrected based on the acquired first shake correction amount. blur correction process,
A second blur correction amount is acquired based on the second shake information detected in the second shake detection step, and a second blur correction amount is corrected based on the obtained second shake correction amount. blur correction process,
Shake information of the imaging system is acquired based on either the first blur correction amount or the second blur correction amount and the motion vector, and the shake information of the imaging system is acquired based on the shake information of the imaging system. A control method comprising: an error estimation step of estimating an error included in the shake information and an error included in the second shake information.
JP2019070815A 2019-04-02 2019-04-02 Imaging device, lens device, method of controlling the imaging device, and method of controlling the lens device Active JP7408294B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019070815A JP7408294B2 (en) 2019-04-02 2019-04-02 Imaging device, lens device, method of controlling the imaging device, and method of controlling the lens device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019070815A JP7408294B2 (en) 2019-04-02 2019-04-02 Imaging device, lens device, method of controlling the imaging device, and method of controlling the lens device

Publications (2)

Publication Number Publication Date
JP2020170074A JP2020170074A (en) 2020-10-15
JP7408294B2 true JP7408294B2 (en) 2024-01-05

Family

ID=72745884

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019070815A Active JP7408294B2 (en) 2019-04-02 2019-04-02 Imaging device, lens device, method of controlling the imaging device, and method of controlling the lens device

Country Status (1)

Country Link
JP (1) JP7408294B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018025703A (en) 2016-08-12 2018-02-15 キヤノン株式会社 Shake correction device, optical apparatus, and shake correction correct method
JP2018105938A (en) 2016-12-22 2018-07-05 キヤノン株式会社 Imaging device, interchangeable lens, and method for controlling these

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018025703A (en) 2016-08-12 2018-02-15 キヤノン株式会社 Shake correction device, optical apparatus, and shake correction correct method
JP2018105938A (en) 2016-12-22 2018-07-05 キヤノン株式会社 Imaging device, interchangeable lens, and method for controlling these

Also Published As

Publication number Publication date
JP2020170074A (en) 2020-10-15

Similar Documents

Publication Publication Date Title
KR101983156B1 (en) Image correcting apparatus and method in photographing apparatus
GB2567043B (en) Image pick-up apparatus and control method
US10827124B2 (en) Shake correction device, imaging apparatus, and shake correction method
JP7033928B2 (en) Anti-vibration control device, imaging system, control method and program
CN109391755B (en) Image pickup apparatus and method executed therein
JP6543946B2 (en) Shake correction device, camera and electronic device
JP2017219635A5 (en)
JP7257774B2 (en) IMAGING SYSTEM AND CONTROL METHOD THEREOF, LENS UNIT, IMAGING DEVICE, PROGRAM, STORAGE MEDIUM
JP2019145958A (en) Imaging apparatus, control method of the same, and program
CN114584676B (en) Image blur correction device, control method therefor, and image pickup apparatus
JP7408294B2 (en) Imaging device, lens device, method of controlling the imaging device, and method of controlling the lens device
EP3739868B1 (en) Control apparatus, lens apparatus, imaging apparatus, control method, and program
JP7172214B2 (en) Interchangeable lenses, camera bodies and camera systems
JP7356272B2 (en) Image blur information acquisition device and method, image blur correction device, program, storage medium
JP7308672B2 (en) IMAGE STABILIZER AND CONTROL METHOD THEREOF, IMAGING SYSTEM, AND PROGRAM
JP7204855B2 (en) IMAGE STABILIZATION DEVICE AND CONTROL METHOD THEREOF, IMAGING DEVICE
JP7292145B2 (en) Radius of gyration calculation device and radius of gyration calculation method
JP7426841B2 (en) Image blur correction device, its control method, program, storage medium
JP2018205551A (en) Imaging device and control method of the same
JP7119678B2 (en) Interchangeable lens and camera body
JP2022120685A (en) Vibration-proof control device and method, and imaging apparatus
JP2021044653A (en) Motion vector detection device and motion vector detection method
WO2020012960A1 (en) Imaging device
JP2022021684A (en) Image shake correction device and method for controlling the same, and imaging apparatus
JP2021033233A (en) Image blur correction device and control method thereof, program, and imaging apparatus including image blur correction device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220331

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230307

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230502

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230725

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230922

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20231220

R151 Written notification of patent or utility model registration

Ref document number: 7408294

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151