JP4640080B2 - Imaging device - Google Patents

Imaging device Download PDF

Info

Publication number
JP4640080B2
JP4640080B2 JP2005284334A JP2005284334A JP4640080B2 JP 4640080 B2 JP4640080 B2 JP 4640080B2 JP 2005284334 A JP2005284334 A JP 2005284334A JP 2005284334 A JP2005284334 A JP 2005284334A JP 4640080 B2 JP4640080 B2 JP 4640080B2
Authority
JP
Japan
Prior art keywords
correction amount
image
correction
magnification
monitoring
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2005284334A
Other languages
Japanese (ja)
Other versions
JP2007096829A (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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co Ltd
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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP2005284334A priority Critical patent/JP4640080B2/en
Publication of JP2007096829A publication Critical patent/JP2007096829A/en
Application granted granted Critical
Publication of JP4640080B2 publication Critical patent/JP4640080B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Studio Devices (AREA)

Description

本発明は、デジタルカメラに関し、特にあおり補正機能を有するデジタルカメラに関する。   The present invention relates to a digital camera, and more particularly to a digital camera having a tilt correction function.

デジタルスチルカメラおよびデジタルビデオカメラは広く普及しており、各種展示会におけるプレゼンテーションや、各種発表会の舞台をデジタルカメラで撮影する光景が普通に見られるようになっている。   Digital still cameras and digital video cameras are widely used, and it is now possible to see the scenes of presentations at various exhibitions and the scenes of various presentations taken with digital cameras.

このような場面で被写体を正面から撮影できることはまれであり、多くの場合、被写体に対して斜めの位置からの撮影を強いられることになる。すると、正面から撮影すれば長方形に写るはずのスクリーンや舞台が台形に歪んで写り、遠い側の出演者はより近い側の出演者より小さく写ってしまう。   In such a scene, it is rare that the subject can be photographed from the front, and in many cases, the subject is forced to shoot from an oblique position. Then, if you shoot from the front, the screen or stage that should be in a rectangular shape is distorted into a trapezoid, and the far-off performer appears smaller than the closer performer.

図3はあおり角と像の大きさの関係を説明する図である。図3において、30は撮像素子、31は撮像面、32は光軸、33は被写体面、34乃至36は被写体、37は被写体35の像、38は被写体36の像である。   FIG. 3 is a diagram for explaining the relationship between the tilt angle and the image size. In FIG. 3, 30 is an image sensor, 31 is an imaging surface, 32 is an optical axis, 33 is a subject surface, 34 to 36 are subjects, 37 is an image of the subject 35, and 38 is an image of the subject 36.

図3において撮像素子は30の位置にあり、撮像素子を含む平面が撮像面31である。光軸32は撮像素子の中心を通り、撮像面31に対して鉛直な直線である。被写体面33はプレゼンテーション等におけるスクリーンを想定したものであり、ここでは被写体面33が撮像面31に対してあおり角θだけ傾いている場合を考える。被写体面33の上に同じ大きさの被写体34乃至36が並んでいる時に、撮像素子30に写像される像の大きさは撮像面31から各被写体までの距離に逆比例する。光軸上の被写体35までの距離をR、光軸を基準として撮像素子30から被写体35を見込む角度をα、撮像面31から被写体35までの距離をLとすると、
L=R+R×tanα×tanθ=R×(1+tanα×tanθ)
となり、被写体35までの距離Rは被写体34までの距離Lの(L÷R)=(1+tanα×tanθ)倍の距離にあるので、被写体35の像37の大きさは被写体34の像の(1+tanα×tanθ)分の1になる。光軸に対して被写体34の反対側にある被写体36を見込む角度をβ、撮像面31から被写体36までの距離をMとすると、
R=M+M×tanβ×tanθ=M×(1+tanβ×tanθ)
となり、被写体36までの距離Mは被写体34までの距離Rの(1+tanβ×tanθ)分の1になるので、被写体36の像38の大きさは被写体34の(1+tanα×tanθ)倍になる。その結果、被写体35と被写体36が長方形であるスクリーンの左右の辺であったとすると、その像は左側の辺の長さが右側の辺の(1+tanα×tanθ)×(1+tanβ×tanθ)倍である台形として写る。
In FIG. 3, the image sensor is located at 30, and a plane including the image sensor is the image pickup surface 31. The optical axis 32 is a straight line that passes through the center of the imaging device and is perpendicular to the imaging surface 31. The object surface 33 is assumed to be a screen in a presentation or the like. Here, a case where the object surface 33 is inclined with respect to the imaging surface 31 by an angle θ is considered. When subjects 34 to 36 of the same size are arranged on the subject surface 33, the size of the image mapped to the image sensor 30 is inversely proportional to the distance from the image surface 31 to each subject. Assuming that the distance to the subject 35 on the optical axis is R, the angle at which the subject 35 is viewed from the imaging element 30 with reference to the optical axis is α, and the distance from the imaging surface 31 to the subject 35 is L,
L = R + R × tan α × tan θ = R × (1 + tan α × tan θ)
Since the distance R to the subject 35 is (L ÷ R) = (1 + tan α × tan θ) times the distance L to the subject 34, the size of the image 37 of the subject 35 is (1 + tan α) of the image of the subject 34. X tan θ). If the angle at which the subject 36 on the opposite side of the subject 34 with respect to the optical axis is viewed is β, and the distance from the imaging surface 31 to the subject 36 is M,
R = M + M × tan β × tan θ = M × (1 + tan β × tan θ)
Thus, since the distance M to the subject 36 is 1 / (1 + tan β × tan θ) of the distance R to the subject 34, the size of the image 38 of the subject 36 is (1 + tan α × tan θ) times that of the subject 34. As a result, if the subject 35 and the subject 36 are the left and right sides of a rectangular screen, the length of the left side of the image is (1 + tan α × tan θ) × (1 + tan β × tan θ) times the right side. It appears as a trapezoid.

このような不都合を緩和するため、長方形の被写体が長方形に写るよう補正する「あおり補正」機能を備えたデジタルカメラが提案されており、最近の従来例として特開2003−283916を紹介する。図4は特許文献1に記載のデジタルカメラの構成を簡略化して図示したブロック図である。図4において10は撮像回路、11はメインメモリ、13は制御回路、14は画像処理回路、15はあおり補正回路、18は表示回路、19は操作回路、20は補正量計算回路である。   In order to alleviate such inconvenience, there has been proposed a digital camera having a “tilt correction” function for correcting a rectangular subject so that it appears in a rectangle, and Japanese Patent Laid-Open No. 2003-283916 is introduced as a recent conventional example. FIG. 4 is a block diagram illustrating a simplified configuration of the digital camera described in Patent Document 1. In FIG. In FIG. 4, 10 is an imaging circuit, 11 is a main memory, 13 is a control circuit, 14 is an image processing circuit, 15 is a tilt correction circuit, 18 is a display circuit, 19 is an operation circuit, and 20 is a correction amount calculation circuit.

撮像回路11はCCDなどの撮像素子とA/D変換器を備えており、入射光の像をRGB三原色に分解してデジタル化し、RGB形式の画像データとしてメインメモリ11に書き込む。RGB形式の画像データは画像処理回路14で表示に適したYC形式の画像データに変換されて、メインメモリ11に書き戻される。表示回路18はメインメモリ11からYC形式の画像データを読み出してLCDパネル等の画面に表示する。   The image pickup circuit 11 includes an image pickup device such as a CCD and an A / D converter. The image of incident light is separated into RGB three primary colors, digitized, and written in the main memory 11 as image data in RGB format. The RGB image data is converted into YC format image data suitable for display by the image processing circuit 14 and written back to the main memory 11. The display circuit 18 reads out image data in YC format from the main memory 11 and displays it on a screen such as an LCD panel.

制御回路13は操作回路19を監視しており、あおり補正が指示された時には補正量計算回路20に指示して補正量を求めさせる。補正量計算回路20はメインメモリ11にあるYC形式の画像データを読み出し、画像のエッジを検出して、エッジの傾きを水平または垂直に補正するような補正量を求める。制御回路13は補正量計算回路20が取得した補正量をあおり補正回路15に与える。すると、あおり補正回路15はメインメモリ11から画像データを読み出し、与えられた補正量に従ってあおり補正を施してメインメモリ11に書き戻す。さらに制御回路13は表示回路18にあおり補正後のYCデータを読むよう支持する。この一連の操作の結果としてあおり補正が施された画像が表示される。
特開2003−283916号公報
The control circuit 13 monitors the operation circuit 19, and when the tilt correction is instructed, instructs the correction amount calculation circuit 20 to obtain the correction amount. The correction amount calculation circuit 20 reads the image data in the YC format in the main memory 11, detects the edge of the image, and obtains a correction amount that corrects the inclination of the edge horizontally or vertically. The control circuit 13 gives the correction amount acquired by the correction amount calculation circuit 20 to the correction circuit 15. Then, the tilt correction circuit 15 reads the image data from the main memory 11, performs tilt correction according to the given correction amount, and writes it back to the main memory 11. Further, the control circuit 13 supports the display circuit 18 to read the corrected YC data. As a result of this series of operations, an image subjected to tilt correction is displayed.
JP 2003-283916 A

しかしながら上記、従来のデジタルカメラはズームして画角を変えたり、パンしてカメラの方向を変えたりすると、あおりを正しく補正できなくなる事がある。   However, when the conventional digital camera is zoomed to change the angle of view or panned to change the direction of the camera, the tilt may not be corrected correctly.

図3において、被写体35が表示装置18の画面の両端に写る被写体であると仮定し、光軸を変えずにズームインした場合と、光軸を左右にパンした場合について考えてみる。   In FIG. 3, assuming that the subject 35 is a subject that appears on both ends of the screen of the display device 18, let us consider the case of zooming in without changing the optical axis and the case of panning the optical axis to the left and right.

光軸を変えずにズームインした場合、前出の補正量、(1+tanα×tanθ)は光軸32を基準に被写体35を見込む角度αに依存しているので、ズームインして視界が狭くなり、画面の端を見込む角度αが小さくなれば、画像の端における補正量(1+tanα×tanθ)は小さくなる。   When zooming in without changing the optical axis, the above-mentioned correction amount (1 + tan α × tan θ) depends on the angle α at which the subject 35 is viewed with respect to the optical axis 32. If the angle α at which the edge of the image is viewed becomes smaller, the correction amount (1 + tan α × tan θ) at the edge of the image becomes smaller.

光軸を左右にパンした場合、補正量(1+tanα×tanθ)は撮像面31と被写体面33がなす角度、即ちあおり角θに依存しているので、光軸32を左にパンして撮像面31が被写体面33に正対する方向に近づけば、tanθが小さくなるので補正量は小さくなり、逆に右にパンすればtanθが大きくなって補正量は大きくなる。このように視界が変わる時には補正量の更新が必要である。   When the optical axis is panned left and right, the correction amount (1 + tan α × tan θ) depends on the angle formed by the imaging surface 31 and the subject surface 33, that is, the tilt angle θ, so the optical axis 32 is panned to the left and the imaging surface When 31 is close to the direction facing the object surface 33, tan θ decreases, so the correction amount decreases. Conversely, when panning to the right, tan θ increases and the correction amount increases. When the field of view changes in this way, the correction amount needs to be updated.

ところがズームアップするとスクリーンや舞台などの端が視界の外に出てしまい、情報源を失うために補正量計算回路20が補正量を正しく求められなくなる事がある。また、カメラをパンして正対する位置の被写体に向けると、過剰な補正が掛かっているためにかえって歪んだ画像になってしまうことがある。そうした時にカメラをパンする途中で歪曲補正をオフにすることもできるが、オンオフの前後で画像が不連続になるという問題が残る。   However, when zooming up, the edges of the screen, stage, etc. go out of sight, and the correction amount calculation circuit 20 may not be able to obtain the correction amount correctly because the information source is lost. Also, if the camera is panned and pointed at the object at the directly opposite position, the image may be distorted due to excessive correction. In such a case, distortion correction can be turned off in the middle of panning the camera, but the problem remains that the image becomes discontinuous before and after turning on and off.

本発明の撮像装置は、撮像手段と、あおり補正を含む画像処理を行う画像処理手段と、前記あおり補正の補正量を取得する補正量取得手段と、画像の拡大率を監視する倍率監視手段と、光軸のパン角を監視するパン角監視手段と、前記拡大率および前記パン角に応じて前記補正量を更新する制御手段を有すること特徴とする。   An imaging apparatus according to the present invention includes an imaging unit, an image processing unit that performs image processing including tilt correction, a correction amount acquisition unit that acquires a correction amount of the tilt correction, and a magnification monitoring unit that monitors an image enlargement ratio. And pan angle monitoring means for monitoring the pan angle of the optical axis, and control means for updating the correction amount in accordance with the enlargement ratio and the pan angle.

本発明の撮像装置ではズーム倍率の変化や光軸のパン角に応じて補正量を更新するので、正しくあおり補正が出来る、という利点がある。   The image pickup apparatus of the present invention has an advantage that correct tilt correction can be performed because the correction amount is updated according to the change in zoom magnification and the pan angle of the optical axis.

以下、図1乃至3を参照して本発明の実施例を詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to FIGS.

図1は本発明によるデジタルスチルカメラの構成を図示するブロック図である。図1において10は撮像回路、11はメインメモリ、13は制御回路、14は画像処理回路、15はあおり補正回路、16は光学ズーム装置、17は手ブレ検出回路、18は表示回路、19は操作回路である。   FIG. 1 is a block diagram illustrating the configuration of a digital still camera according to the present invention. In FIG. 1, 10 is an imaging circuit, 11 is a main memory, 13 is a control circuit, 14 is an image processing circuit, 15 is a tilt correction circuit, 16 is an optical zoom device, 17 is a camera shake detection circuit, 18 is a display circuit, and 19 is a display circuit. It is an operation circuit.

撮像回路10は入射光の像をRGB三原色に分解してデジタル化したRGB形式のRAWデータに変換し、メインメモリ11にRAWデータを書き込む。画像処理回路14はメインメモリ11からRAWデータを読み出し、色空間変換を行ってRAWデータをYCデータに変換し、生成したYCデータをメインメモリ11に書き出す。あおり補正回路15はメインメモリ11からYCデータを読み出し、あおり補正を施してからメインメモリ11に書き戻す。表示回路18はLCDパネルを備えており、メインメモリ11から制御回路13の指示に従ってあおり補正前、またはあおり補正後のYCデータを読み出してLCDパネルに画像を表示する。   The imaging circuit 10 separates the image of incident light into RGB three primary colors and converts them into digitized RAW data in RGB format, and writes the RAW data in the main memory 11. The image processing circuit 14 reads RAW data from the main memory 11, performs color space conversion to convert the RAW data into YC data, and writes the generated YC data to the main memory 11. The tilt correction circuit 15 reads YC data from the main memory 11, performs tilt correction, and then writes it back to the main memory 11. The display circuit 18 includes an LCD panel, and reads YC data before or after tilt correction from the main memory 11 according to an instruction from the control circuit 13 and displays an image on the LCD panel.

光学ズーム装置16は撮像回路10に生じる像を光学的に拡大または縮小するズームレンズと、光学ズームの倍率を検出するロータリーエンコーダーを備えており、制御回路13に光学ズーム倍率を通知する機能を持つ。手ブレ検出回路17はジャイロセンサーと積分回路を備え、ジャイロセンサーが出力する角度変化量を積分する事によりカメラがパンした角度を算出し、制御回路13に通知する。手ブレ検出回路17の目的は撮像回路10の光軸の角度を追跡する事であるから、撮像回路10と機械的に一体として実装するのが望ましい。   The optical zoom device 16 includes a zoom lens that optically enlarges or reduces an image generated in the imaging circuit 10 and a rotary encoder that detects the magnification of the optical zoom, and has a function of notifying the control circuit 13 of the optical zoom magnification. . The camera shake detection circuit 17 includes a gyro sensor and an integration circuit, calculates an angle panned by the camera by integrating an angle change amount output from the gyro sensor, and notifies the control circuit 13 of the angle. Since the purpose of the camera shake detection circuit 17 is to track the angle of the optical axis of the image pickup circuit 10, it is desirable that the camera shake detection circuit 17 be mechanically integrated with the image pickup circuit 10.

操作回路19はスイッチ類を備えた操作パネルであり、撮像装置全体に指示を与えるものである。操作回路19には、特にあおり補正をオンオフするオンオフスイッチと、あおり補正量の自動調整をオンオフする自動調整スイッチと十字キーがある。オンオフスイッチを入れると初期状態では補正量を手動調整する手動モードになっており、十字キーを操作すると左右方向と上下方向のあおり補正量を加減することができる。自動調整スイッチを押すと自動調整モードになり、あおり補正量はカメラの向きによって自動的に加減されるようになる。小型のカメラでは操作回路19が撮像回路10と一体の筐体内にあると操作の際に光軸がぶれる恐れがあるので、できれば操作回路19は撮像回路10を収めた筐体から分離できる構成にするのが望ましい。   The operation circuit 19 is an operation panel provided with switches, and gives instructions to the entire imaging apparatus. The operation circuit 19 includes an on / off switch for turning on / off the tilt correction, an automatic adjustment switch for turning on / off the automatic adjustment of the tilt correction amount, and a cross key. When the on / off switch is turned on, it is in a manual mode in which the correction amount is manually adjusted in the initial state. By operating the cross key, the horizontal and vertical tilt correction amounts can be adjusted. When the automatic adjustment switch is pressed, the automatic adjustment mode is set, and the tilt correction amount is automatically adjusted depending on the direction of the camera. In a small camera, if the operation circuit 19 is in a housing integrated with the imaging circuit 10, the optical axis may be shaken during operation. Therefore, if possible, the operation circuit 19 can be separated from the housing containing the imaging circuit 10. It is desirable to do.

制御回路13は光学ズーム装置16、手ブレ検出回路17、操作回路19の状態を監視し、操作回路19で与えられる指示に応じて撮像回路10、画像処理回路14、あおり補正回路15、表示回路18などを制御する。また、制御回路13はあおり補正量を算出し、あおり補正回路14に与える役割も持つ。   The control circuit 13 monitors the states of the optical zoom device 16, the camera shake detection circuit 17, and the operation circuit 19, and according to instructions given by the operation circuit 19, the imaging circuit 10, the image processing circuit 14, the tilt correction circuit 15, and the display circuit. 18 etc. are controlled. The control circuit 13 also has a role of calculating the tilt correction amount and giving it to the tilt correction circuit 14.

あおり補正回路14はデジタルズーム機能を持つ回路であって、画像内の画素位置に応じて拡大縮小の倍率を連続的に変えられる特徴を持つ。あおり補正回路14に与えるあおり補正量のパラメーターは、前出の補正量の式(1+tanα×tanθ)におけるtanθの値と、画角の半分の値である。画角の半分がωのとき、画像の両端での倍率は画像の中央での倍率の(1+tanω×tanθ)倍と1/(1+tanω×tanθ)倍である。途中の画素位置での倍率は、画像中央から画素位置までの距離がA画素、画像中央から画像の端までの距離がW画素であれば、tanα=(A÷W)×tanωとして倍率を求めればよい。   The tilt correction circuit 14 is a circuit having a digital zoom function, and has a feature that the enlargement / reduction magnification can be continuously changed according to the pixel position in the image. The parameters of the tilt correction amount given to the tilt correction circuit 14 are a value of tan θ in the above-described correction amount formula (1 + tan α × tan θ) and a value half the angle of view. When half of the angle of view is ω, the magnification at both ends of the image is (1 + tan ω × tan θ) times and 1 / (1 + tan ω × tan θ) times the magnification at the center of the image. If the distance from the center of the image to the pixel position is A pixels and the distance from the center of the image to the edge of the image is W pixels, the magnification at the middle pixel position can be calculated as tan α = (A ÷ W) × tan ω. That's fine.

画角は光学ズームとデジタルズームの倍率の積によって決まるので、制御回路13は光学ズーム装置16が通知する光学ズームの倍率と、あおり補正回路14に与えるデジタルズームの倍率の積を求めて、これから前記画角の半値ωを計算し、あおり補正回路14に与える。実施例のデジタルカメラでは1倍から3倍までは光学ズームのみ、3倍から12倍までは光学ズームとデジタルズームで所定の倍率を得ており、ズーム倍率が1倍の時の画角は54度、3倍ズームの時は19度、12倍ズームの時は5度である。必要なあおり補正の量はズームの手段によらず画角だけで決まるので、光学ズームとデジタルズームの倍率の積に応じた画角の半値をωとしてあおり補正回路14に与ればよい。   Since the angle of view is determined by the product of the optical zoom and the digital zoom magnification, the control circuit 13 obtains the product of the optical zoom magnification notified by the optical zoom device 16 and the digital zoom magnification given to the tilt correction circuit 14, and from this, The half value ω of the angle is calculated and given to the tilt correction circuit 14. In the digital camera of the embodiment, the optical zoom is only used from 1 to 3 times, and a predetermined magnification is obtained from the optical zoom and digital zoom from 3 to 12 times, and the angle of view when the zoom magnification is 1 is 54 degrees. It is 19 degrees for 3x zoom and 5 degrees for 12x zoom. Since the necessary amount of tilt correction is determined only by the angle of view regardless of the zoom means, the half value of the angle of view corresponding to the product of the magnification of the optical zoom and the digital zoom may be given to the tilt correction circuit 14 as ω.

あおり角θの値は、ユーザーが表示回路18を見ながら初期値を設定し、制御回路13が手ブレ検出回路17の出力に応じて更新する。図2はあおり補正量の制御アルゴリズムを示したフローチャートである。制御フローは制御回路13が操作回路19で与えられる指示に従って制御しており、操作回路19においてあおり補正のオンオフスイッチが押されると制御回路13はステップS001以下のフローを開始する。   The user sets an initial value of the tilt angle θ while viewing the display circuit 18, and the control circuit 13 updates the value according to the output of the camera shake detection circuit 17. FIG. 2 is a flowchart showing a tilt correction amount control algorithm. The control flow is controlled by the control circuit 13 in accordance with an instruction given by the operation circuit 19, and when the tilt correction on / off switch is pressed in the operation circuit 19, the control circuit 13 starts the flow after step S001.

まず、ステップS001においては初期化処理を行う。初期化処理において制御回路13はあおり角θとして0度をあおり補正回路14に設定し、表示回路18にはあおり補正後の画像を表示するよう指示する。この状態ではあおり補正回路14は働いているが、補正量がゼロであるためカメラが捉えたままの画像が表示回路18によって表示される。
制御回路13は操作回路19のスイッチ群を監視しており、ステップS002において操作回路19の十字キーのうち右キーが押されていれば、ステップS003に分岐して0.1度増やしたあおり角θをあおり補正回路14に設定する。そうでない場合は、ステップS004に進み、左キーが押されていればステップS005に分岐して0.1度減らしたあおり角θをあおり補正回路14に設定する。右キーも左キーも押されていなければステップS006に進み、補正量の自動調整をオンオフする自動調整スイッチが押されていなければステップS002に戻る。このステップ002からステップ006までを繰り返すモードが手動調整モードである。
First, in step S001, initialization processing is performed. In the initialization process, the control circuit 13 sets the tilt angle θ to 0 degree in the tilt correction circuit 14 and instructs the display circuit 18 to display the tilt-corrected image. In this state, the tilt correction circuit 14 is working, but since the correction amount is zero, an image as captured by the camera is displayed by the display circuit 18.
The control circuit 13 monitors the switch group of the operation circuit 19. If the right key of the cross key of the operation circuit 19 is pressed in step S002, the control circuit 13 branches to step S003 and is increased by 0.1 degree. θ is set in the tilt correction circuit 14. Otherwise, the process proceeds to step S004, and if the left key is pressed, the process branches to step S005, and the tilt angle θ reduced by 0.1 degrees is set in the tilt correction circuit 14. If neither the right key nor the left key is pressed, the process proceeds to step S006, and if the automatic adjustment switch for turning on / off the automatic adjustment of the correction amount is not pressed, the process returns to step S002. A mode in which steps 002 to 006 are repeated is a manual adjustment mode.

手動調整モードにおいては、左右キーの監視とあおり角θの増減を繰り返すことにより、表示回路18に表示される画像は、右キーを押さえていると右側が段々大きく表示され、左キーを押さえていると左側が段々大きく表示されるようになる。カメラが長方形の被写体を捉えている状態で左右キーを操作し、最初は台形に表示されていた被写体が長方形に見えるように調整すれば、θにあおり角が正しく設定された事になる。ここで自動調整スイッチを押すと、ステップ006からステップ007に分岐して自動調整モードに入る。   In the manual adjustment mode, by repeatedly monitoring the left and right keys and increasing / decreasing the tilt angle θ, the image displayed on the display circuit 18 is displayed with the right key gradually increasing when the right key is pressed, and the left key is pressed. The left side will be displayed larger and larger. When the left and right keys are operated while the camera is capturing a rectangular object and the object initially displayed in a trapezoid is adjusted to look like a rectangle, the tilt angle is set correctly at θ. If the automatic adjustment switch is pressed here, the process branches from step 006 to step 007 to enter the automatic adjustment mode.

自動調整モードでは、ステップ007において手ブレ検出回路17が出力する振れ角dをあおり角θに加えた値をあおり補正回路14に設定する。振れ角dは単位時間内のカメラの向きの変化を手ブレ検出回路17が検出したものであり、カメラの向きが変わらない時はd=0である。カメラをパンするとあおり角が変化し、同時に手ブレ検出回路17がカメラの向きの変化量dをとらえるので、ステップ007の処理によって、あおり角θをカメラの向きに追従させることができる。   In the automatic adjustment mode, a value obtained by adding the shake angle d output from the camera shake detection circuit 17 to the tilt angle θ in step 007 is set in the tilt correction circuit 14. The shake angle d is a camera shake detection circuit 17 that detects a change in the camera direction within a unit time, and d = 0 when the camera direction does not change. When the camera is panned, the tilt angle changes, and at the same time, the camera shake detection circuit 17 captures the amount of change d in the camera direction, so that the tilt angle θ can be made to follow the camera direction by the processing in step 007.

次のステップ008ではあおり補正のオンオフスイッチを監視し、ユーザーの指示があおり補正オンであれば、制御回路13は表示回路18にはあおり補正後の画像を表示するよう指示してステップ007に戻る。このステップ007からステップ008、ステップ009と進んでステップ007に戻るループでは、手ブレ検出回路17が出力する振れ角によってあおり角θを自動的に正しい値に保つことが出来る。   In the next step 008, the on / off switch for tilt correction is monitored. If there is a user instruction and the correction is on, the control circuit 13 instructs the display circuit 18 to display the image after tilt correction and the process returns to step 007. . In the loop from Step 007 to Step 008 and Step 009 and returning to Step 007, the tilt angle θ can be automatically maintained at a correct value by the shake angle output from the camera shake detection circuit 17.

ステップ008においてあおり補正オフが指示された場合にはステップS010に進み、制御回路13は表示回路18にはあおり補正前の画像を表示するよう指示する。次のステップ011では自動調整スイッチを監視しており、自動調整が指示されていればステップ007に戻ってあおり角θを自動的に更新する。   If the tilt correction is instructed to be turned off in step 008, the process proceeds to step S010, and the control circuit 13 instructs the display circuit 18 to display the image before the tilt correction. In the next step 011, the automatic adjustment switch is monitored. If automatic adjustment is instructed, the process returns to step 007 to automatically update the tilt angle θ.

このようにあおり補正のオン・オフの指示に対しては表示回路18が表示する画像を補正前の画像データに変えたり補正後の画像データに変えたりするのみとし、手ブレ検出回路17が出力する振れ角dをあおり角θに加えてあおり補正回路14に設定するあおり角θを更新する動作を表示に関わらず実行し続ける事により、あおり補正を一時的にオフにした後でも、あおり補正がオンに戻せば直ちに正しいあおり補正ができるようになる。
なお、ステップ011において、自動調整オフを指示するとSTOPに進んであおり補正の動作を全て終了する。
As described above, in response to the on / off instruction for the tilt correction, only the image displayed on the display circuit 18 is changed to the image data before correction or the image data after correction, and the camera shake detection circuit 17 outputs the image data. By adding the deflection angle d to the tilt angle θ and continuously executing the operation for updating the tilt angle θ set in the tilt correction circuit 14 regardless of the display, the tilt correction is performed even after the tilt correction is temporarily turned off. As soon as is turned on, correct tilt correction can be performed.
In step 011, when automatic adjustment OFF is instructed, the process proceeds to STOP and all the correction operations are terminated.

このように本発明のデジタルカメラはあおり角の変化に自動的に追従する仕組みを備えているので、撮影の途中でカメラをパンしたりズームインしたりしても正しく補正し続けることが可能であり、一時的にあおり補正をオフしても、オンに戻した時に補正量を再調整する必要が無い。   As described above, since the digital camera of the present invention has a mechanism that automatically follows the change in the tilt angle, it is possible to continue correct correction even if the camera is panned or zoomed in during shooting. Even if tilt correction is temporarily turned off, there is no need to readjust the correction amount when it is turned back on.

なお、上記説明では煩雑を避けるために左右方向のあおりを補正する動作に限って説明したが、上下方向のあおりも発生の原理と補正の方法は同じであり、あおり補正回路14においては上下方向でも倍率を変化させ、手ブレ検出回路17においては上下方向の振れ角も検出し、手動調整モードにおいては上下キーの指示に従って上下方向のあおり角を調整し、自動調整モードにおいては上下方向のあおり角も更新する事により、上下方向のあおりも左右方向のあおりと同様に正しく補正し続けることが可能である。   In the above description, in order to avoid complication, only the operation of correcting the horizontal tilt is described. However, the principle of the vertical tilt and the correction method are the same, and the tilt correction circuit 14 uses the vertical direction. However, the magnification is changed, and the camera shake detection circuit 17 also detects the vertical swing angle. In the manual adjustment mode, the vertical tilt angle is adjusted in accordance with the up / down key instruction, and in the automatic adjustment mode, the vertical tilt is detected. By updating the corners, it is possible to continue to correct the vertical tilt as well as the horizontal tilt.

本発明は、ズーム倍率の変化や光軸のパン角に応じて補正量を更新することにより、正しくあおり補正ができるので、撮像装置に適用可能である。例えば、デジタルスチルカメラ、ビデオカメラ、カメラ機能付き携帯電話端末等に適用可能である。   The present invention can be applied to an imaging apparatus because correct tilt correction can be performed by updating the correction amount according to the change in zoom magnification and the pan angle of the optical axis. For example, the present invention can be applied to a digital still camera, a video camera, a mobile phone terminal with a camera function, and the like.

本発明によるデジタルカメラの構成を示すブロック図The block diagram which shows the structure of the digital camera by this invention あおり補正量の制御アルゴリズムを示したフローチャートFlow chart showing control algorithm for tilt correction amount あおり角と像の大きさの関係を説明するための模式図Schematic diagram for explaining the relationship between tilt angle and image size 従来のデジタルカメラの構成を示したブロック図Block diagram showing the configuration of a conventional digital camera

符号の説明Explanation of symbols

10 撮像回路
11 メインメモリ
13 制御回路
14 画像処理回路
15 あおり補正回路
16 光学ズーム装置
17 手ブレ検出回路
18 表示回路
19 操作回路
20 補正量計算回路
30 撮像素子
31 撮像面
32 光軸
33 被写体面
34、35、36 被写体
37、38 被写体の像
DESCRIPTION OF SYMBOLS 10 Image pick-up circuit 11 Main memory 13 Control circuit 14 Image processing circuit 15 Slip correction circuit 16 Optical zoom device 17 Camera shake detection circuit 18 Display circuit 19 Operation circuit 20 Correction amount calculation circuit 30 Image sensor 31 Imaging surface 32 Optical axis 33 Subject surface 34 , 35, 36 Subject 37, 38 Image of subject

Claims (9)

撮像手段と、
あおり補正を含む画像処理を行う画像処理手段と、
前記あおり補正の補正量を取得する補正量取得手段と、
光軸のパン角を監視するパン角監視手段と、
前記パン角に応じて前記補正量を更新する制御手段と、
を有する撮像装置。
Imaging means;
Image processing means for performing image processing including tilt correction;
Correction amount acquisition means for acquiring a correction amount of the tilt correction;
Pan angle monitoring means for monitoring the pan angle of the optical axis;
Control means for updating the correction amount in accordance with the pan angle;
An imaging apparatus having
請求項1記載の撮像装置であって、
前記パン角監視手段はジャイロセンサーを備え、電子的角度検出手段によって光軸のパン角を取得する撮像装置。
The imaging apparatus according to claim 1,
The pan angle monitoring means includes a gyro sensor, and the pan angle of the optical axis is acquired by an electronic angle detection means.
撮像手段と、
あおり補正を含む画像処理を行う画像処理手段と、
前記あおり補正の補正量を取得する補正量取得手段と、
画像の拡大率を監視する倍率監視手段と、
前記拡大率に応じて前記補正量を更新する制御手段と、
を有する撮像装置。
Imaging means;
Image processing means for performing image processing including tilt correction;
Correction amount acquisition means for acquiring a correction amount of the tilt correction;
Magnification monitoring means for monitoring the magnification of the image;
Control means for updating the correction amount according to the enlargement ratio;
An imaging apparatus having
請求項3記載の撮像装置であって、
前記画像の拡大は光学的ズーム手段によって行うものであり、前記倍率監視手段は光学ズームの倍率を取得する撮像装置。
The imaging apparatus according to claim 3,
The image enlargement is performed by an optical zoom unit, and the magnification monitoring unit acquires an optical zoom magnification.
請求項3記載の撮像装置であって、
前記画像の拡大は前記撮像手段が取得した画像の一部を前記画像処理手段によって電子的にズームするものであり、前記倍率監視手段は電子ズームの倍率を取得する撮像装置。
The imaging apparatus according to claim 3,
The image enlargement is a method in which a part of an image acquired by the imaging unit is electronically zoomed by the image processing unit, and the magnification monitoring unit acquires an electronic zoom magnification.
請求項3記載の撮像装置であって、
前記画像の拡大は光学的ズーム手段と電子的ズーム手段の両方によって実現するものであり、前記倍率監視手段は光学ズームの倍率と電子ズームの倍率の積を取得する撮像装置。
The imaging apparatus according to claim 3,
The image enlargement is realized by both an optical zoom unit and an electronic zoom unit, and the magnification monitoring unit acquires the product of the optical zoom magnification and the electronic zoom magnification.
撮像手段と、
あおり補正を含む画像処理を行う画像処理手段と、
前記あおり補正の補正量を取得する補正量取得手段と、
画像の拡大率を監視する倍率監視手段と、
光軸のパン角を監視するパン角監視手段と、
前記拡大率および前記パン角に応じて前記補正量を更新する制御手段と、
を有する撮像装置。
Imaging means;
Image processing means for performing image processing including tilt correction;
Correction amount acquisition means for acquiring a correction amount of the tilt correction;
Magnification monitoring means for monitoring the magnification of the image;
Pan angle monitoring means for monitoring the pan angle of the optical axis;
Control means for updating the correction amount according to the enlargement factor and the pan angle;
An imaging apparatus having
請求項1乃至7のいずれかに記載の撮像装置であって、
あおり補正の実施と停止を指示する指示手段を備え、あおり補正を停止している時も前記制御手段は前記補正量を更新する撮像装置。
The imaging apparatus according to any one of claims 1 to 7,
An imaging apparatus comprising instruction means for instructing execution and stop of tilt correction, wherein the control means updates the correction amount even when tilt correction is stopped.
前記補正量取得手段は画像を表示する表示手段と、
補正量の加減を指示する操作手段を備え、
表示手段によってあおり補正を施した画像を表示し、前記操作手段を用いて前記画像の歪みが最小になるよう補正量を加減する手順によって正しい補正量を得る、
請求項1から8のいずれかに記載の撮像装置。
The correction amount acquisition means includes display means for displaying an image;
Provided with operation means for instructing correction amount adjustment,
An image subjected to tilt correction is displayed by the display means, and a correct correction amount is obtained by a procedure for adjusting the correction amount so as to minimize distortion of the image using the operation means.
The imaging device according to claim 1.
JP2005284334A 2005-09-29 2005-09-29 Imaging device Expired - Fee Related JP4640080B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005284334A JP4640080B2 (en) 2005-09-29 2005-09-29 Imaging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005284334A JP4640080B2 (en) 2005-09-29 2005-09-29 Imaging device

Publications (2)

Publication Number Publication Date
JP2007096829A JP2007096829A (en) 2007-04-12
JP4640080B2 true JP4640080B2 (en) 2011-03-02

Family

ID=37981971

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005284334A Expired - Fee Related JP4640080B2 (en) 2005-09-29 2005-09-29 Imaging device

Country Status (1)

Country Link
JP (1) JP4640080B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016134685A (en) * 2015-01-16 2016-07-25 オリンパス株式会社 Imaging apparatus and display method of imaging apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10155109A (en) * 1996-11-22 1998-06-09 Canon Inc Image pickup method, device and storage medium
JP2004147138A (en) * 2002-10-25 2004-05-20 Kyocera Corp Automatic camera movement compensation device for electronic camera
JP2005005920A (en) * 2003-06-11 2005-01-06 Nec Viewtechnology Ltd Camera for painting and calligraphy, and its operation control method
JP2005184089A (en) * 2003-12-16 2005-07-07 Konica Minolta Opto Inc Image pickup apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10155109A (en) * 1996-11-22 1998-06-09 Canon Inc Image pickup method, device and storage medium
JP2004147138A (en) * 2002-10-25 2004-05-20 Kyocera Corp Automatic camera movement compensation device for electronic camera
JP2005005920A (en) * 2003-06-11 2005-01-06 Nec Viewtechnology Ltd Camera for painting and calligraphy, and its operation control method
JP2005184089A (en) * 2003-12-16 2005-07-07 Konica Minolta Opto Inc Image pickup apparatus

Also Published As

Publication number Publication date
JP2007096829A (en) 2007-04-12

Similar Documents

Publication Publication Date Title
KR100627048B1 (en) Controlling method of digital camera
US7973848B2 (en) Method and apparatus for providing composition information in digital image processing device
US8514288B2 (en) Image capturing apparatus
JP5706654B2 (en) Imaging device, image display method and program
US20060087562A1 (en) Image capturing apparatus
JPH07123317A (en) Photographing device with vibration proofing function
KR20120131365A (en) Image photographing device and control method thereof
JP5861395B2 (en) Portable device
JP2009225027A (en) Imaging apparatus, imaging control method, and program
US8427555B2 (en) Imaging apparatus for displaying an area wider than a recording area
JP6444025B2 (en) Optical equipment
JP2007096588A (en) Imaging device and method for displaying image
WO2017086065A1 (en) Image-capturing device and method of controlling same
JP2012222387A (en) Imaging apparatus
JP2006295238A (en) Image pickup device
JP2016103666A (en) Electronic apparatus and imaging device
JP2016050973A (en) Image-capturing device and control method thereof
JP5903658B2 (en) Imaging device
JP4640080B2 (en) Imaging device
JP2006203732A (en) Digital camera, portrait/landscape aspect photographing switching method and program
JP5673137B2 (en) Imaging apparatus and imaging method
KR100698129B1 (en) Apparatus and Method for full-screen image processing of camera in mobile terminal
JP5112154B2 (en) Imaging device
JP4923674B2 (en) Digital camera, focus position specifying method, program
JP6544922B2 (en) Image blur correction device, control method therefor, program and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080911

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20091126

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101013

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20101115

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131210

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees