JP2009124314A - Camera, and image processing program - Google Patents
Camera, and image processing program Download PDFInfo
- Publication number
- JP2009124314A JP2009124314A JP2007294382A JP2007294382A JP2009124314A JP 2009124314 A JP2009124314 A JP 2009124314A JP 2007294382 A JP2007294382 A JP 2007294382A JP 2007294382 A JP2007294382 A JP 2007294382A JP 2009124314 A JP2009124314 A JP 2009124314A
- Authority
- JP
- Japan
- Prior art keywords
- camera
- angle
- image
- tilt
- maximum correction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、カメラ、および画像処理プログラムに関する。 The present invention relates to a camera and an image processing program.
次のようなデジタルカメラが知られている。このデジタルカメラは、カメラに内蔵されたジャイロの出力に応じて、撮影画像を回転して所定範囲を切り出すことによって画像の傾きを補正する(例えば、特許文献1)。 The following digital cameras are known. This digital camera corrects the inclination of an image by rotating a captured image and cutting out a predetermined range according to the output of a gyro built in the camera (for example, Patent Document 1).
しかしながら、従来のデジタルカメラでは、撮影画像から所定範囲を切り出すため、得られる画像の画角が使用者の意図に反して変わってしまうという問題があった。 However, since the conventional digital camera cuts out a predetermined range from the captured image, there is a problem that the angle of view of the obtained image changes against the user's intention.
本発明は、カメラの傾斜を検出し、カメラの傾斜が検出された場合には、撮像画像の中から検出された傾斜角度に応じた範囲の画像を切り出して回転させることによって、画像の傾きを補正し、補正を行う最大角度の入力を受け付けて最大補正角を設定し、カメラの傾斜角度が最大補正角以下であるときに、画像の傾きを補正することを特徴とする。
本発明では、カメラの傾斜角度が最大補正角より小さい場合であっても、撮像画像の中からカメラの傾斜角度が最大補正角である場合の切り出し範囲の画像を切り出すようにしてもよい。
カメラの傾斜角度が最大補正角より大きい場合には、使用者にその旨を通知するようにしてもよい。
使用者から最大補正角の入力を受け付けた際に、入力された最大補正角に応じた切り出し範囲を、カメラが傾斜していないときに撮影される画像上に表示するようにしてもよい。
使用者から最大補正角の入力を受け付けた際に、入力された最大補正角に応じた切り出し範囲の画像の画角と、カメラが傾斜していないときに撮影される画像の画角との比を表示するようにしてもよい。
変倍機構を有するファインダーを制御して、最大補正角に応じたファインダーの変倍を行うようにしてもよい。
設定した前記最大補正角に応じた切り出し範囲の画像の大きさを示す枠をファインダー内に表示するようにしてもよい。
検出された傾斜角度が所定角度以上になった場合には、撮像画像の中から切り出す画像の縦横比を入れ替えるようにしてもよい。
カメラの垂直方向の傾斜が検出され、その傾斜角度が所定角度以上である場合には、画像の傾き補正を停止するようにしてもよい。
The present invention detects the tilt of the camera, and when the tilt of the camera is detected, the image is tilted by cutting out and rotating an image in a range corresponding to the detected tilt angle from the captured image. Correction is performed, an input of a maximum angle for correction is received, a maximum correction angle is set, and the tilt of the image is corrected when the tilt angle of the camera is equal to or smaller than the maximum correction angle.
In the present invention, even when the tilt angle of the camera is smaller than the maximum correction angle, an image in the cutout range when the tilt angle of the camera is the maximum correction angle may be cut out from the captured image.
When the tilt angle of the camera is larger than the maximum correction angle, the user may be notified accordingly.
When receiving the input of the maximum correction angle from the user, the cutout range corresponding to the input maximum correction angle may be displayed on the image taken when the camera is not tilted.
When the input of the maximum correction angle is accepted from the user, the ratio of the angle of view of the image in the clipping range according to the input maximum correction angle and the angle of view of the image taken when the camera is not tilted May be displayed.
A viewfinder having a magnification changing mechanism may be controlled to change the size of the viewfinder according to the maximum correction angle.
You may make it display the frame which shows the magnitude | size of the image of the clipping range according to the set said maximum correction angle in a finder.
When the detected tilt angle is equal to or greater than a predetermined angle, the aspect ratio of the image cut out from the captured image may be switched.
When the tilt of the camera in the vertical direction is detected and the tilt angle is equal to or greater than a predetermined angle, the tilt correction of the image may be stopped.
本発明によれば、画角が使用者の意図に反して変わることを防止することができる。 According to the present invention, it is possible to prevent the angle of view from changing against the user's intention.
図1は、本実施の形態におけるカメラの一実施の形態の構成を示すブロック図である。カメラ100は、対物レンズ110と、カメラボディ120とで構成されている。対物レンズ110は、レンズ111と、エンコーダ112と、レンズ制御回路113とを備えている。カメラボディ120は、撮像素子121と、画像処理回路122と、カメラ制御回路123と、システムメモリ124と、傾斜センサ125と、外部メモリ126と、操作部材127と、表示装置128とを備えている。なお、本実施の形態では、カメラ100は、対物レンズ110とカメラボディ120とは分離可能な構成とする例について説明するが、これらは一体であってもよい。
FIG. 1 is a block diagram illustrating a configuration of an embodiment of a camera according to the present embodiment. The
対物レンズ110においては、レンズ制御回路113は、エンコーダ112からの出力に基づいてレンズ111のレンズ位置を検出する。カメラボディ120においては、撮像素子121は、例えばCCDやCMOSであって、対物レンズを通して入力される像を撮像して、画像信号を画像処理回路122へ出力する。画像処理回路122は、入力された画像信号に対して種々の画像処理を施して画像データを生成し、生成した画像データをカメラ制御回路123へ出力する。
In the objective lens 110, the
カメラ制御部123は、カメラ100の全体を制御するための制御回路である。本実施の形態では、後述する傾斜センサ125からの出力に基づいて、画像処理回路122から入力される画像データを対象として、カメラボディ120の傾きに起因する画像の傾斜を補正する。そして、傾斜を補正した後の画像データを後述する外部メモリ126へ出力して記録する。
The
システムメモリ124には、例えばSDRAMやフラッシュメモリが含まれる。SDRAMは、揮発性のメモリであって、画像処理回路122やカメラ制御回路123によって、プログラム実行時のワークメモリとして使用されたり、データを一時的に記録するためのバッファメモリとして使用される。また、フラッシュメモリは、不揮発性のメモリであって、プログラム実行時に読み込まれる種々のパラメータなどが記録されている。
The system memory 124 includes, for example, SDRAM and flash memory. The SDRAM is a volatile memory, and is used as a work memory at the time of program execution by the
傾斜センサ125は、例えばジャイロセンサであって、カメラボディ120の光軸を中心とした回転方向、および上下方向への傾きを検出する。すなわち、傾斜センサ125は、使用者がカメラボディ120を水平に構えたときには、傾きを0度と検出し、使用者がカメラボディ120を光軸に対して回転方向に斜めに構えたとき、または光軸に対して上下方向に斜めに構えたときには、そのときの水平方向に対するカメラボディ120の傾き角度を検出する。
The
外部メモリ126は、例えば、不図示のメモリカードスロットに挿入されたメモリカードであって、カメラ制御部123から出力される画像データが記録される。操作部材127は、使用者によって操作される種々のボタン、例えば電源ボタン、レリーズボタン、メニューボタン、十字ボタン、決定ボタンなどが含まれる。表示装置128は、例えばカメラボディ120の背面に搭載される液晶モニタであって、スルー画、再生画像、およびメニュー画面などが表示される。
The
本実施の形態では、使用者は、図2(a)に示す設定画面上で、撮影時に画像の傾斜の補正を行うか否かの設定を行う。具体的には、使用者は、操作部材127を操作して、図2(a)に示す設定画面上に表示されている「自動傾斜補正」2aを「する」2bに設定することによって、使用者がカメラボディ120を光軸に対して回転方向に斜めに構えたときの画像の傾きの補正を行うように設定することができる。一方、使用者は、「自動傾斜補正」2aを「しない」2cに設定することによって、撮影時に画像の傾斜の補正を行わないように設定することができる。
In the present embodiment, the user sets whether or not to correct the inclination of the image at the time of shooting on the setting screen shown in FIG. Specifically, the user operates the
また、使用者は、図2(a)に示す設定画面上で「傾斜角度表示」2dを「する」2eに設定することによって、撮影時に表示装置128上に現在のカメラボディ120の傾斜角度を表示するように設定することができる。一方。使用者は、「傾斜角度表示」2dを「しない」2fに設定することによって、撮影時に表示装置128上に現在のカメラボディ120の傾斜角度を表示しないように設定することができる。
In addition, the user sets the “tilt angle display” 2d to “Yes” 2e on the setting screen shown in FIG. 2A, thereby setting the current tilt angle of the camera body 120 on the
本実施の形態におけるカメラ100では、使用者は、画像の傾斜を補正するにあたって、補正する傾斜の最大値(最大補正角)を設定して、補正する角度を制限することができる。具体的には、使用者は、図2(b)に示す設定画面上で最大補正角設定欄2gに表示されている角度を、上下ボタン2hを操作部材127を操作して変更することによって、最大補正角を設定することができる。カメラ制御回路123は、使用者によって最大補正角設定欄2gの値が変更されると、変更後の最大補正角における画像の切り出し範囲2jを全画面2i内に表示する。
In the
また、カメラ制御回路123は、全画面2iから切り出し画面2jを切り出した場合に、全画面2jの撮影範囲に対する切り出し画面2jの撮影範囲がレンズ倍率に換算すると何倍に相当するかを倍率表示欄2kに表示する。使用者は、最大補正角の設定が完了した場合には、OKボタン2lを押下することによって、最大補正角の設定内容を確定することができる。
Further, when the cutout screen 2j is cut out from the full screen 2i, the
カメラ制御回路123は、使用者によって設定された最大補正角までの範囲内で画像の傾きを補正する。例えば、使用者によって設定された最大補正角がθ1(度)である場合に、図3に示すようにカメラボディ120が光軸の回転方向にθ1(度)だけ傾斜したことにより、画像にθ1(度)の傾きが発生している場合には、カメラ制御回路123は、全画面3a内から補正後画面3bを切り出す。そして、カメラ制御回路123は、切り出した補正後画面3bの画像をカメラボディ120の傾斜方向とは逆方向にθ1(度)だけ回転させることによって、画像の傾きを補正する。
The
なお、本実施の形態では、カメラボディ120の傾斜角度が最大補正角より小さい場合であっても、カメラ制御回路123は、カメラボディ120の傾斜角度が最大補正角である場合と同じ範囲内の画像を補正後画面3bとして切り出す。これによって、カメラボディ120の傾斜角度によって、補正後画面3bとして切り出される範囲が変化するのを防ぐことができる。すなわち、カメラボディ120の傾斜角度によって、補正後画面3bの画角が変化することを防ぐことができる。
In the present embodiment, even when the tilt angle of the camera body 120 is smaller than the maximum correction angle, the
カメラ制御回路123は、補正後画面3bの撮影範囲が、全画面3aの撮影範囲に対してレンズ倍率に換算すると何倍に相当するかを示す換算レンズ倍率を次のように算出する。まず、全画面3aの対角線の水平方向に対する角度をθ2とすると、カメラ制御回路123は、θ1とθ2とに基づいて、補正後の画像として切り出す範囲の画像(補正後画面)3bの水平方向に対する対角線角度θを算出する。
The
そして、カメラ制御回路123は、算出した補正後画面3bの対角線角度θと、全画面3aの短辺の1/2の長さcとに基づいて、次式(1)により補正後画面3bの対角線の半分の長さaを算出する。
a=c/sinθ ・・・(1)
カメラ制御回路123は、式(1)で算出したaを2倍することによって、補正後画面3bの対角線の長さを算出することができる。カメラ制御回路123は、このようにして算出した補正後画面3bの対角線の長さと、既知の全画面3aの対角線の長さの比を算出することによって、換算レンズ倍率を算出することができる。
Based on the calculated diagonal angle θ of the corrected
a = c / sin θ (1)
The
本実施の形態では、全画面3aから補正後画面3bを切り出すに当たって、上述したように、あらかじめ最大補正角を設定するようにしたが、もし最大補正角を設定しないようにした場合には、図3(b)に示すように無制限に補正が行われることになる。この場合、カメラボディ120の傾斜角が大きくなればなるほど、切り出される補正後画面3bは小さくなっていく。このため、得られる画像の撮影画角が使用者の意図しないものとなる可能性がある。これに対して本実施の形態によれば、最大でも使用者が設定した最大補正角までしか補正を行わないため、使用者の意図に反した画角の画像が得られることを防ぐことができる。
In the present embodiment, when the corrected
なお、本実施の形態では、図4(a)に示すような変倍機構を備えた光学ファインダーにより、上述した補正後画面3bを切り出す際の倍率変化を補正して、使用者が接眼レンズを通して補正後画面3bの切り出し範囲を観察できるようにする。すなわち、対物レンズ110の像はメインミラー4aで反射してファインダースクリーン4bに結像する。その後、ファインダースクリーン4bに結像した像は、いくつかのミラーで屈折された後、変倍リレーレンズ4cに再結像することによって、画像の中央部、すなわち補正後画面3bに相当する範囲が拡大される。これによって、使用者は、補正後画面3bに相当する範囲を接眼レンズ4dで観察することができる。
In the present embodiment, the optical viewfinder having a zooming mechanism as shown in FIG. 4A corrects the change in magnification when the corrected
例えば、図4(b)に示すように、全画面3a内から補正後画面3bが切り出される場合には、使用者は、図4(c)に示すように、拡大後の補正後画面3bに相当する範囲を接眼レンズ4dを通して観察することができる。また、カメラ制御回路123は、表示装置128には、図4(b)に示す全画面3aを表示し、この全画面3a内から切り出される補正後画面3bを枠4eで囲って表示する。これによって、使用者は、表示装置128に表示内容に基づいて、全画面3a内のどの範囲が補正後画面3bとして切り出されるかを確認することができる。
For example, as shown in FIG. 4B, when the corrected
なお、本実施の形態では、カメラ制御回路123は、カメラボディ120の傾斜が使用者によって設定された最大補正角をより大きい場合には、図4(d)に示すように、補正後画面3bを囲む枠4eの表示形態を変更して、例えば点滅表示させたり、表示色を変更したり、表示輝度を変更したりするなどして、使用者に通知する。これによって、使用者は、現在のカメラボディ120の傾斜が最大補正角より大きいことを把握することができる。
In the present embodiment, when the inclination of the camera body 120 is larger than the maximum correction angle set by the user, the
カメラ制御回路123はさらに、上記枠4eの表示形態を変更させて使用者に通知したにも関わらず、使用者がさらにカメラボディ120を傾けた場合には、使用者がカメラボディ120を横位置から縦位置に持ち替えたものと判断し、全画面3aから切り出す補正後画面3bの縦横比を入れ替える。
The
例えば、図5(a)に示すようにカメラボディ120が水平の状態では、画像の傾き補正を行う必要がないため、カメラ制御回路123は、全画面3aから補正後画面3bの切り出しは行わない。これに対して、図5(b)に示すようにカメラボディ120が最大補正角以内の角度だけ傾いた場合には、カメラ制御回路123は、全画面3aから補正後画面3bの切り出しを行って傾きを補正する。すなわち、カメラ制御回路123は、全画面3aから横方向の補正後画像3bを切り出す。
For example, as shown in FIG. 5A, when the camera body 120 is in a horizontal state, it is not necessary to perform image tilt correction, so the
その後、さらにカメラボディ120の傾斜角度が最大補正角を越えた場合には、カメラ制御回路123は、図5(c)に示すように、補正後画面3bの縦横比を入れ替えて、縦方向の補正後画像3bを切り出すようにする。これによって、カメラボディ120の傾斜角度に応じて、自動的に補正後画像3bの向きを変更することができる。図5(d)に示すように、カメラボディ120が完全な縦位置に変化した場合には、画像の傾き補正を行う必要がないため、カメラ制御回路123は、全画面3aから補正後画面3bの切り出しは行わない。
After that, when the tilt angle of the camera body 120 exceeds the maximum correction angle, the
以上説明した画像の傾き補正によって、光軸が水平方向を向いている場合に、カメラボディ120が光軸を中心とした回転方向に傾斜することによって生じる画像の傾きを補正することができる。しかしながら、もし光軸が水平方向を向いていない場合、すなわちカメラボディ120が光軸に対して上下方向に傾斜している場合には、画像内に水平方向に延在する物体(水平線)が存在する可能性が低く、この場合にまで傾き補正を行う必要はない。よって、本実施の形態では、以下のようにして、カメラボディ120が所定以上の角度で下または上を向いた場合には、上述した傾き補正を行わないようにする。 By the image tilt correction described above, it is possible to correct the image tilt caused by the camera body 120 tilting in the rotation direction around the optical axis when the optical axis is oriented in the horizontal direction. However, if the optical axis is not oriented in the horizontal direction, that is, if the camera body 120 is tilted vertically with respect to the optical axis, an object (horizontal line) extending in the horizontal direction exists in the image. In this case, it is not necessary to perform tilt correction. Therefore, in the present embodiment, the tilt correction described above is not performed when the camera body 120 is directed downward or upward at a predetermined angle or more as follows.
例えば、図6(a)に示すように、カメラボディ120が下方向を向いている場合には、対物レンズ110の半画角1/2ωが、光軸の傾斜角θよりも小さいときには、画像内に水平線は存在しないことから、カメラ制御回路123は、画像の傾き補正を停止する。同様に、図6(b)に示すように、カメラボディ120が上方向を向いている場合であって、対物レンズ110の半画角1/2ωが、光軸の傾斜角θよりも小さいときには、カメラ制御回路123は、画像の傾き補正を停止する。
For example, as shown in FIG. 6A, when the camera body 120 faces downward, when the half angle of
図7は、本実施の形態におけるカメラ100の処理を示すフローチャートである。図7に示す処理は、図2(b)に示した設定画面上でOKボタン2lが押下されることによって、最大補正角の設定内容を確定されると起動するプログラムとして、カメラ制御回路123により実行される。
FIG. 7 is a flowchart showing processing of the
ステップS10において、カメラ制御回路123は、傾斜センサ125からの出力に基づいて、カメラボディ120の傾斜角度を検出する。その後、ステップS20へ進み、カメラ制御回路123は、ステップS10での検出結果に基づいて、カメラボディ120が傾斜しているか否かを判断する。否定判断した場合には、画像の傾き補正を行う必要はないので、後述するステップS70へ進む。これに対して、肯定判断した場合には、ステップS30へ進む。
In step S <b> 10, the
ステップS30では、カメラ制御回路123は、カメラボディ120の傾斜角度は使用者によって設定された最大補正角以内であるか否かを判断する。否定判断した場合には、ステップS60へ進み、カメラ制御回路123は、図4(d)で上述したように、補正後画面3bの切り出し範囲を示す枠4eの表示形態を変更して、後述するステップS70へ進む。これに対して、ステップS30で肯定判断した場合には、ステップS40へ進む。
In step S30, the
ステップS40では、カメラ制御回路123は、図6で上述したように、カメラボディ120の上下方向の傾斜角度が所定角度以上であるか否か、例えば光軸の傾斜角θが対物レンズ110の半画角1/2ω以上であるか否かを判断する。肯定判断した場合には、傾き補正を行わずにステップS70へ進む。これに対して、否定判断した場合には、カメラ制御回路123は、上述したように、全画面3a内から補正後画面3bを切り出して回転させることによって傾き補正を行って、ステップS70へ進む。
In step S40, as described above with reference to FIG. 6, the
ステップS70では、カメラ制御回路123は、使用者によってレリーズボタンが押下されることによって、撮影が行われたか否かを判断する。肯定判断した場合には、ステップS80へ進み、カメラ制御回路123は、撮影によって取得した画像データを外部メモリ126に記録する。このとき、カメラ制御回路123は、ステップS50で傾き補正を行った場合には、全画面3aから切り出した補正後画面3bの画像データを記録し、傾き補正を行っていない場合には、全画面3aの画像データを記録する。その後、ステップS90へ進む。
In step S70, the
ステップS90では、カメラ制御回路123は、使用者によって電源ボタンが押下されることにより、カメラ100の電源がオフされたか否かを判断する。否定判断した場合には、ステップS10へ戻る。これに対して、肯定判断した場合には、処理を終了する。
In step S90, the
以上説明した本実施の形態によれば、以下のような作用効果を得ることができる。
(1)カメラ制御回路123は、傾斜センサ125からの出力に基づいてカメラの傾斜を検出した場合には、撮像画像の中から検出された傾斜角度に応じた範囲の画像を切り出して回転させることによって、画像の傾きを補正する。このとき、あらかじめ使用者からの最大角度の入力を受け付け、カメラの傾斜角度が最大補正角以下であるときに、画像の傾きを補正するようにした。これによって、画角が使用者の意図に反して変わることを防止することができる。
According to the present embodiment described above, the following operational effects can be obtained.
(1) When the
(2)カメラ制御回路123は、カメラの傾斜角度が最大補正角より小さい場合であっても、撮像画像の中からカメラの傾斜角度が最大補正角である場合の切り出し範囲の画像を切り出すようにした。これによって、カメラの傾斜角度に関わらず、補正後画面3bの画像の画角を一定に保つことができる。
(2) The
(3)カメラ制御回路123は、カメラの傾斜角度が最大補正角より大きい場合には、補正後画面3bの切り出し範囲を示す枠4eの表示形態を変更して、使用者にその旨を通知するようにした。これによって、使用者は、カメラの傾斜角度が最大補正角を越えていることを把握することができる。
(3) When the tilt angle of the camera is larger than the maximum correction angle, the
(4)図2(b)に示した設定画面上では、使用者から最大補正角の入力を受け付けた際に、入力された最大補正角に応じた切り出し範囲2jを、カメラが傾斜していないときに撮影される全画面2i上に表示するようにした。これによって、使用者は、設定画面上で最大補正角に応じた切り出し範囲2jを確認することができる。 (4) On the setting screen shown in FIG. 2B, when receiving the input of the maximum correction angle from the user, the camera does not tilt the cutout range 2j according to the input maximum correction angle. It is displayed on the full screen 2i that is sometimes photographed. As a result, the user can confirm the cutout range 2j corresponding to the maximum correction angle on the setting screen.
(5)カメラ制御回路123は、使用者から最大補正角の入力を受け付けた際に、入力された最大補正角に応じた切り出し範囲の画像の画角と、カメラが傾斜していないときに撮影される画像の画角との比を表示するようにした。使用者は、設定画面上で全画面と最大補正角との画角の比を確認することができる。
(5) When the
(6)図4(a)に示す変倍機構を備えた光学ファインダーにより、補正後画面3bを切り出す際の倍率変化を補正するようにした。これによって、使用者が接眼レンズを通して補正後画面3bの切り出し範囲を観察することができる。
(6) The magnification change when the corrected
(7)カメラ制御回路123は、カメラの傾斜角度が所定角度以上になった場合には、撮像画像の中から切り出す画像の縦横比を入れ替えるようにした。これによって、カメラボディ120の傾斜角度に応じて、自動的に補正後画像3bの向きを変更することができる。
(7) The
(8)カメラ制御回路123は、傾斜センサ125からの出力に基づいてカメラの垂直方向の傾斜、すなわち光軸に対して上下方向の傾斜を検出したときに、その傾斜角度が所定角度以上である場合には、画像の傾き補正を停止するようにした。これによって、カメラが光軸に対して上下方向に傾斜している場合には、画像内に水平方向に延在する物体(水平線)が存在する可能性が低いことを加味して、傾き補正を停止し、処理の負荷を低減することができる。
(8) When the
―変形例―
なお、上述した実施の形態のカメラは、以下のように変形することもできる。
(1)上述した実施の形態では、カメラボディ120は、図4(a)に示すような変倍機構を備えた光学ファインダーを備えており、補正後画面3bを切り出す際の倍率変化を補正して、使用者が接眼レンズを通して補正後画面3bの切り出し範囲を観察できるようにした。しかしながら、ファインダースクリーン4bに電気的に枠を表示する表示装置を備え、全画面内の補正後画面に相当する範囲内に枠を表示することによって、使用者がファインダー内で補正後画面の範囲を把握できるようにしてもよい。
-Modification-
The camera according to the above-described embodiment can be modified as follows.
(1) In the embodiment described above, the camera body 120 includes an optical viewfinder having a zooming mechanism as shown in FIG. 4A, and corrects a change in magnification when the corrected
(2)上述した実施の形態では、図7に示す処理をカメラ制御回路123が実行する例について説明した。しかしながら、図7に示す処理を実行するためのプログラムをパソコン等の情報機器に記録しておくようにして、パソコンが備えるCPUが実行するようにしてもよい。この場合、カメラ制御回路123は、傾斜センサ125によって検出されたカメラボディ120の傾斜角度を画像ファイル内に書き込んでおく。そして、この画像ファイルを読み込んだパソコン上では、使用者からの最大補正角の入力を受け付け、画像ファイル内から傾斜角度を読み込んだ後に、CPUは図7に示した処理を実行するようにしてもよい。
(2) In the above-described embodiment, the example in which the
なお、本発明の特徴的な機能を損なわない限り、本発明は、上述した実施の形態における構成に何ら限定されない。 Note that the present invention is not limited to the configurations in the above-described embodiments as long as the characteristic functions of the present invention are not impaired.
100 カメラ、110 対物レンズ、111 レンズ、112 エンコーダ、113 レンズ制御回路、120 カメラボディ、121 撮像素子、122 画像処理回路、123 カメラ制御回路、124 システムメモリ、125 傾斜センサ、126 外部メモリ、127 操作部材、128 表示装置 100 camera, 110 objective lens, 111 lens, 112 encoder, 113 lens control circuit, 120 camera body, 121 image sensor, 122 image processing circuit, 123 camera control circuit, 124 system memory, 125 tilt sensor, 126 external memory, 127 operation Member, 128 display device
Claims (10)
前記傾斜検出手段によってカメラの傾斜が検出された場合には、撮像画像の中から検出された傾斜角度に応じた範囲の画像を切り出して回転させることによって、画像の傾きを補正する傾き補正手段と、
前記傾き補正手段によって補正を行う最大角度の入力を受け付けて最大補正角を設定する最大補正角設定手段とを備え、
前記傾き補正手段は、カメラの傾斜角度が前記最大補正角設定手段で設定した前記最大補正角以下であるときに、画像の傾きを補正することを特徴とするカメラ。 Tilt detection means for detecting the tilt of the camera;
An inclination correction means for correcting the inclination of the image by cutting out and rotating an image in a range corresponding to the detected inclination angle from the captured image when the inclination of the camera is detected by the inclination detection means; ,
A maximum correction angle setting means for receiving an input of a maximum angle to be corrected by the inclination correction means and setting a maximum correction angle;
The camera according to claim 1, wherein the tilt correction unit corrects the tilt of the image when the tilt angle of the camera is equal to or smaller than the maximum correction angle set by the maximum correction angle setting unit.
前記傾き補正手段は、カメラの傾斜角度が前記最大補正角設定手段で設定した前記最大補正角より小さい場合であっても、撮像画像の中からカメラの傾斜角度が前記最大補正角である場合の切り出し範囲の画像を切り出すことを特徴とするカメラ。 The camera of claim 1,
In the case where the tilt angle of the camera is smaller than the maximum correction angle set by the maximum correction angle setting unit, the tilt angle of the camera is the maximum correction angle from the captured image. A camera characterized by cutting out an image of a cutout range.
カメラの傾斜角度が前記最大補正角設定手段で設定した前記最大補正角より大きい場合には、使用者にその旨を通知する通知手段をさらに備えることを特徴とするカメラ。 The camera according to claim 1 or 2,
The camera further comprising notification means for notifying the user when the tilt angle of the camera is larger than the maximum correction angle set by the maximum correction angle setting means.
最大補正角設定手段は、使用者から前記最大補正角の入力を受け付けた際に、入力された最大補正角に応じた前記切り出し範囲を、カメラが傾斜していないときに撮影される画像上に表示することを特徴とするカメラ。 The camera according to any one of claims 1 to 3,
The maximum correction angle setting means, when receiving the input of the maximum correction angle from the user, the cutout range corresponding to the input maximum correction angle on the image photographed when the camera is not inclined. A camera characterized by displaying.
最大補正角設定手段は、使用者から前記最大補正角の入力を受け付けた際に、入力された最大補正角に応じた前記切り出し範囲の画像の画角と、カメラが傾斜していないときに撮影される画像の画角との比を表示することを特徴とするカメラ。 In the camera according to any one of claims 1 to 4,
When the maximum correction angle is received from the user, the maximum correction angle setting means captures the angle of view of the image in the clipping range according to the input maximum correction angle and when the camera is not tilted. A camera characterized by displaying a ratio to the angle of view of an image to be displayed.
変倍機構を有するファインダーを制御して、前記最大補正角設定手段で設定した前記最大補正角に応じたファインダーの変倍を行うファインダー変倍手段をさらに備えることを特徴とするカメラ。 In the camera according to any one of claims 1 to 5,
A camera, further comprising: a finder zooming unit that controls a finder having a zooming mechanism and performs zooming of the finder according to the maximum correction angle set by the maximum correction angle setting unit.
前記最大補正角設定手段で設定した前記最大補正角に応じた前記切り出し範囲の画像の大きさを示す枠をファインダー内に表示する枠表示手段をさらに備えることを特徴とするカメラ。 In the camera according to any one of claims 1 to 5,
The camera further comprising frame display means for displaying in the finder a frame indicating the size of the image in the cutout range corresponding to the maximum correction angle set by the maximum correction angle setting means.
前記傾斜検出手段によって検出された傾斜角度が所定角度以上になった場合には、前記撮像画像の中から切り出す画像の縦横比を入れ替える切り出し画像切り替え手段をさらに備えることを特徴とするカメラ。 In the camera according to any one of claims 1 to 7,
A camera, further comprising: a cut-out image switching unit that switches an aspect ratio of an image cut out from the captured image when an inclination angle detected by the inclination detection unit is equal to or greater than a predetermined angle.
前記傾き補正手段は、前記傾斜検出手段によってカメラの垂直方向の傾斜が検出され、その傾斜角度が所定角度以上である場合には、画像の傾き補正を停止することを特徴とするカメラ。 In the camera according to any one of claims 1 to 8,
The tilt correction means stops tilt correction of an image when the tilt detection means detects a tilt in the vertical direction of the camera and the tilt angle is equal to or greater than a predetermined angle.
前記傾斜検出手順によってカメラの傾斜が検出された場合には、撮像画像の中から検出された傾斜角度に応じた範囲の画像を切り出して回転させることによって、画像の傾きを補正する傾き補正手順と、
前記傾き補正手順によって補正を行う最大角度の入力を受け付けて最大補正角を設定する最大補正角設定手順とをコンピュータに実行させるための画像処理プログラムであって、
前記傾き補正手順は、カメラの傾斜角度が前記最大補正角設定手順で設定した前記最大補正角以下であるときに、画像の傾きを補正することを特徴とする画像処理プログラム。 Tilt detection procedure to detect camera tilt during shooting,
When the tilt of the camera is detected by the tilt detection procedure, a tilt correction procedure for correcting the tilt of the image by cutting out and rotating an image in a range corresponding to the detected tilt angle from the captured image; ,
An image processing program for causing a computer to execute a maximum correction angle setting procedure for receiving an input of a maximum angle to be corrected by the inclination correction procedure and setting a maximum correction angle,
The image processing program characterized in that the tilt correction procedure corrects the tilt of an image when a camera tilt angle is equal to or less than the maximum correction angle set in the maximum correction angle setting procedure.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007294382A JP2009124314A (en) | 2007-11-13 | 2007-11-13 | Camera, and image processing program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007294382A JP2009124314A (en) | 2007-11-13 | 2007-11-13 | Camera, and image processing program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009124314A true JP2009124314A (en) | 2009-06-04 |
Family
ID=40816021
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007294382A Pending JP2009124314A (en) | 2007-11-13 | 2007-11-13 | Camera, and image processing program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009124314A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011166321A (en) * | 2010-02-05 | 2011-08-25 | Canon Inc | Image processing apparatus, imaging apparatus, method of controlling and program |
JP2011176677A (en) * | 2010-02-25 | 2011-09-08 | Nikon Corp | Display device, imaging device, and program |
US8964043B2 (en) | 2009-12-21 | 2015-02-24 | Canon Kabushiki Kaisha | Imaging apparatus and control method thereof |
KR20150054129A (en) * | 2013-11-11 | 2015-05-20 | 엘지전자 주식회사 | A head mounted display and the method of controlling the same |
JP2016517649A (en) * | 2013-03-08 | 2016-06-16 | トムソン ライセンシングThomson Licensing | Method and apparatus for using gestures for shooting effects |
KR20200049582A (en) * | 2018-10-30 | 2020-05-08 | 캐논 가부시끼가이샤 | Imaging apparatus |
-
2007
- 2007-11-13 JP JP2007294382A patent/JP2009124314A/en active Pending
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8964043B2 (en) | 2009-12-21 | 2015-02-24 | Canon Kabushiki Kaisha | Imaging apparatus and control method thereof |
JP2011166321A (en) * | 2010-02-05 | 2011-08-25 | Canon Inc | Image processing apparatus, imaging apparatus, method of controlling and program |
US8837865B2 (en) | 2010-02-05 | 2014-09-16 | Canon Kabushiki Kaisha | Image processing apparatus, image capturing apparatus, and method of controlling the same |
US9373050B2 (en) | 2010-02-05 | 2016-06-21 | Canon Kabushiki Kaisha | Image processing apparatus, image capturing apparatus, and method of controlling the same |
JP2011176677A (en) * | 2010-02-25 | 2011-09-08 | Nikon Corp | Display device, imaging device, and program |
JP2016517649A (en) * | 2013-03-08 | 2016-06-16 | トムソン ライセンシングThomson Licensing | Method and apparatus for using gestures for shooting effects |
KR20150054129A (en) * | 2013-11-11 | 2015-05-20 | 엘지전자 주식회사 | A head mounted display and the method of controlling the same |
KR102138520B1 (en) * | 2013-11-11 | 2020-08-11 | 엘지전자 주식회사 | A head mounted display and the method of controlling the same |
KR20200049582A (en) * | 2018-10-30 | 2020-05-08 | 캐논 가부시끼가이샤 | Imaging apparatus |
KR102510704B1 (en) | 2018-10-30 | 2023-03-16 | 캐논 가부시끼가이샤 | Imaging apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4400611B2 (en) | Imaging apparatus, blur correction method, and program | |
JP4341696B2 (en) | Imaging device, face area detection program, and face area detection method | |
JP4916513B2 (en) | Imaging device | |
JP2008009263A (en) | Imaging device and program therefor | |
JP2013070164A (en) | Imaging device and imaging method | |
JP5861395B2 (en) | Portable device | |
JP2009124314A (en) | Camera, and image processing program | |
US9300875B2 (en) | Imaging device display controller | |
JP2013017165A (en) | Imaging apparatus | |
JPWO2013021728A1 (en) | Imaging apparatus and imaging method | |
JP4403903B2 (en) | Digital camera | |
JP2009016941A (en) | Imaging apparatus | |
JP2009060435A (en) | Camera | |
JP2012222387A (en) | Imaging apparatus | |
US20130170769A1 (en) | Image processing apparatus, image capturing apparatus, and method of controlling the same | |
JP5088108B2 (en) | camera | |
JP4442344B2 (en) | Digital camera | |
JP2013243552A (en) | Imaging apparatus, control method of the same, program, and storage medium | |
JP4475044B2 (en) | Digital camera | |
JP5071260B2 (en) | Imaging device | |
JP5145747B2 (en) | Imaging apparatus, camera shake correction method, and program | |
JP2015049294A (en) | Imaging apparatus | |
US20210195119A1 (en) | Image processing apparatus, image capturing apparatus and image processing method | |
JP6270508B2 (en) | Imaging apparatus and image display method of imaging apparatus | |
JP5359715B2 (en) | Subject tracking device, subject tracking method, and camera |