JP2013055566A - Imaging apparatus - Google Patents

Imaging apparatus Download PDF

Info

Publication number
JP2013055566A
JP2013055566A JP2011193497A JP2011193497A JP2013055566A JP 2013055566 A JP2013055566 A JP 2013055566A JP 2011193497 A JP2011193497 A JP 2011193497A JP 2011193497 A JP2011193497 A JP 2011193497A JP 2013055566 A JP2013055566 A JP 2013055566A
Authority
JP
Japan
Prior art keywords
flare
angle
information
optical system
image
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.)
Withdrawn
Application number
JP2011193497A
Other languages
Japanese (ja)
Inventor
Nobutaka Hirama
宣孝 平間
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nikon Corp
Original Assignee
Nikon Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nikon Corp filed Critical Nikon Corp
Priority to JP2011193497A priority Critical patent/JP2013055566A/en
Publication of JP2013055566A publication Critical patent/JP2013055566A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an imaging apparatus which accurately detects occurrence of a flare.SOLUTION: An imaging apparatus 1 comprises: detection means which detects an angle generated by the light axis of a photographic lens 2 and the direction of a light source having a predetermined brightness or more or detects information for identifying the angle; storage means 11 for storing flare occurrence condition information indicating a flare occurrence condition with at least the angle generated by the light axis of the photographic lens 2 and the direction of the light source or the information for identifying the angle, as a parameter; and determination means which determines whether a flare has occurred, by comparing the angle or the information detected by the detection means with the flare occurrence condition information.

Description

本発明は、撮像装置に関するものである。   The present invention relates to an imaging apparatus.

下記特許文献1には、撮像光学系で生じるフレアを電気的に補正するようにした撮像装置が開示されている。   Japanese Patent Application Laid-Open Publication No. 2004-228667 discloses an imaging apparatus that electrically corrects flare generated in an imaging optical system.

すなわち、下記特許文献1には、撮像カメラにおいて、光学系の少なくとも所定の絞り値、焦点距離のパラメータに応じて撮影結果が所定の明るさとなる光源で生じるフレアをあらかじめ記憶させておき記憶フレアとし、前記所定の値より大きい値の映像部分を映像信号から検出してその明るさを推定し、推定した明るさを持つ光源が存在していた場合に発生するフレアを前記記憶フレアを用いて予測フレアとして疑似的に発生させて、前記映像信号から減算する撮像装置が開示されている。   That is, in Patent Document 1 below, in an imaging camera, a flare generated by a light source whose photographing result has a predetermined brightness according to at least a predetermined aperture value and a focal length parameter of the optical system is stored in advance as a storage flare. , Detecting a video portion having a value larger than the predetermined value from the video signal, estimating the brightness thereof, and predicting a flare generated when a light source having the estimated brightness exists using the stored flare An image pickup apparatus that generates a flare in a pseudo manner and subtracts it from the video signal is disclosed.

特開平11−355636号公報JP-A-11-355636

特許文献1に開示されている前記従来の撮像装置では、所定の値より大きい値の映像部分を映像信号から検出してその明るさを推定するので、所定明るさ以上の光源があれば、その光源の方向と撮影光学系の光軸とがなす角度を問わずにフレアが発生するものとみなしていることになる。   In the conventional imaging device disclosed in Patent Document 1, since a video portion having a value larger than a predetermined value is detected from the video signal and the brightness is estimated, if there is a light source having a predetermined brightness or higher, It is assumed that flare occurs regardless of the angle formed by the direction of the light source and the optical axis of the photographing optical system.

しかしながら、撮像装置では、所定明るさ以上の光源があれば必ずフレアが発生するというものではなく、所定明るさ以上の光源があっても、その光源の方向と撮影光学系の光軸とがなす角度に依存して、フレアが発生したりフレアが発生しなかったりすることが、実験により確認された。   However, in an imaging device, flare does not always occur if there is a light source with a predetermined brightness or higher, and even if there is a light source with a predetermined brightness or higher, the direction of the light source and the optical axis of the imaging optical system form. Depending on the angle, it has been confirmed by experiments that flare occurs or does not occur.

したがって、前記従来の撮像装置では、本当はフレアが発生しないにも拘わらずフレアが発生するものとみなしている場合が多く、フレア発生の検出精度が低かった。   Therefore, in the conventional imaging apparatus, it is often considered that flare is generated even though flare does not actually occur, and the detection accuracy of flare generation is low.

本発明は、このような事情に鑑みてなされたもので、フレア発生の検出精度が高い撮像装置を提供することを目的とする。   SUMMARY An advantage of some aspects of the invention is that it provides an imaging apparatus with high flare detection accuracy.

前記課題を解決するための手段として、以下の各態様を提示する。第1の態様による撮像装置は、撮影光学系の光軸と所定明るさ以上の光源の方向とがなす角度、又は、この角度を特定するための情報を検出する検出手段と、前記撮影光学系の光軸と前記光源の方向とがなす角度又はこの角度を特定するための情報を少なくともパラメータとするフレア発生条件を示すフレア発生条件情報を記憶した記憶手段と、前記検出手段により検出された前記角度又は前記情報を前記フレア発生条件情報と照合することによって、フレアの発生の有無を判定する判定手段と、を備えたものである。   The following aspects are presented as means for solving the problems. An imaging apparatus according to a first aspect includes an angle formed by an optical axis of a photographing optical system and a direction of a light source having a predetermined brightness or more, or detection means for detecting information for specifying the angle, and the photographing optical system Storage means storing flare generation condition information indicating a flare generation condition having at least a parameter of an angle formed by the optical axis of the light source and the direction of the light source or information for specifying this angle, and the detection means Determining means for determining the presence or absence of flare by comparing the angle or the information with the flare occurrence condition information.

第2の態様による撮像装置は、前記第1の態様において、前記検出手段は、撮像された画像からその画像内の前記光源の位置を取得する手段と、前記撮像装置の姿勢を検出する姿勢検出手段と、前記画像内の位置と前記姿勢とに基づいて前記角度又は前記情報を取得する手段とを有するものである。   The image pickup apparatus according to a second aspect is the image pickup apparatus according to the first aspect, wherein the detection means acquires a position of the light source in the image from the picked-up image and an attitude detection that detects an attitude of the image pickup apparatus. And means for acquiring the angle or the information based on the position in the image and the posture.

第3の態様による撮像装置は、前記第1又は第2の態様において、前記撮影光学系がズームレンズであり、前記フレア発生条件は前記撮影光学系の焦点距離情報を他のパラメータとし、前記判定手段は、前記撮影光学系の現在の焦点距離情報も前記フレア発生条件情報と照合することによって、フレアの発生の有無を判定するものである。   In the imaging device according to a third aspect, in the first or second aspect, the photographing optical system is a zoom lens, and the flare generation condition uses the focal length information of the photographing optical system as another parameter, and the determination The means determines whether or not flare has occurred by comparing current focal length information of the photographing optical system with the flare occurrence condition information.

第4の態様による撮像装置は、前記第1乃至第3のいずれかの態様において、前記撮影光学系は交換可能であり、前記フレア発生条件は前記撮影光学系に関する情報を他のパラメータとし、前記判定手段は、現在装着されている前記撮影光学系に関する情報も前記フレア発生条件情報と照合することによって、フレアの発生の有無を判定するものである。   In the imaging device according to a fourth aspect, in any one of the first to third aspects, the photographing optical system is replaceable, and the flare generation condition uses information regarding the photographing optical system as another parameter, The determination means determines whether or not flare has occurred by checking information regarding the currently installed photographing optical system with the flare generation condition information.

第5の態様による撮像装置は、前記第4の態様において、前記撮影光学系に関する情報は、前記撮影光学系の種別を示す情報であるものである。   In the imaging device according to a fifth aspect, in the fourth aspect, the information regarding the photographing optical system is information indicating a type of the photographing optical system.

第6の態様による撮像装置は、前記第4の態様において、前記撮影光学系に関する情報は、前記撮影光学系のレンズ構成、射出瞳距離及び焦点距離のうちの1つ以上であるものである。   In the imaging device according to a sixth aspect, in the fourth aspect, the information regarding the photographing optical system is one or more of a lens configuration, an exit pupil distance, and a focal length of the photographing optical system.

第7の態様による撮像装置は、前記第1乃至第6のいずれかの態様において、前記判定手段によりフレアの発生が有ると判定された場合に、警報を発する警報手段を備えたものである。   In any one of the first to sixth aspects, an imaging apparatus according to a seventh aspect includes an alarm unit that issues an alarm when the determination unit determines that flare has occurred.

第8の態様による撮像装置は、前記第1乃至第7のいずれかの態様において、前記判定手段によりフレアの発生が有ると判定された場合に、その判定の基礎となった前記角度又は前記情報を、当該フレアの発生があると判定された状態で撮像された画像と関連づけて記録する記録手段を備えたものである。   In the imaging device according to the eighth aspect, in any of the first to seventh aspects, when the determination unit determines that flare is generated, the angle or the information that is a basis for the determination Is recorded in association with an image captured in a state where it is determined that the flare has occurred.

第9の態様による撮像装置は、前記第1乃至6のいずれかの態様において、前記判定手段によりフレアの発生が有ると判定された場合に、撮像された画像を、フレアの影響が低減されるように処理する画像処理部を備えたものである。   In the imaging device according to the ninth aspect, in any one of the first to sixth aspects, when the determination unit determines that the flare is generated, the influence of the flare is reduced on the captured image. In this way, an image processing unit for processing is provided.

本発明によれば、フレア発生の検出精度が高い撮像装置を提供することができる。   According to the present invention, it is possible to provide an imaging apparatus with high flare detection accuracy.

本発明の第1の実施の形態による電子カメラを示す概略ブロック図である。1 is a schematic block diagram showing an electronic camera according to a first embodiment of the present invention. 図1に示す電子カメラと光源との位置関係の例を模式的に示す図である。It is a figure which shows typically the example of the positional relationship of the electronic camera shown in FIG. 1, and a light source. フレア発生条件の一例を模式的に示す図である。It is a figure which shows an example of flare generation conditions typically. 図1に示す電子カメラの所定モードの動作を示す概略フローチャートである。It is a schematic flowchart which shows operation | movement of the predetermined mode of the electronic camera shown in FIG. 図1に示す電子カメラの前記所定モードの動作を示す他の概略フローチャートである。6 is another schematic flowchart showing the operation of the electronic camera shown in FIG. 1 in the predetermined mode. 本発明の第2の実施の形態による電子カメラの所定モードの動作を示す概略フローチャートである。It is a schematic flowchart which shows operation | movement of the predetermined mode of the electronic camera by the 2nd Embodiment of this invention. 本発明の第2の実施の形態による電子カメラの前記所定モードの動作を示す他の概略フローチャートである。It is another schematic flowchart which shows operation | movement of the said predetermined mode of the electronic camera by the 2nd Embodiment of this invention.

以下、本発明による撮像装置について、図面を参照して説明する。   Hereinafter, an imaging device according to the present invention will be described with reference to the drawings.

[第1の実施の形態]
図1は、本発明の第1の実施の形態による撮像装置としての電子カメラ1を示す概略ブロック図である。
[First Embodiment]
FIG. 1 is a schematic block diagram showing an electronic camera 1 as an imaging device according to the first embodiment of the present invention.

本実施の形態による電子カメラ1は、いわゆるデジタルカメラとして構成されているが、本発明による撮像装置は、デジタルカメラのみならず、ビデオカメラなどの他の撮像装置や、携帯電話に搭載された撮像装置などの種々の撮像装置に適用することができる。   The electronic camera 1 according to the present embodiment is configured as a so-called digital camera. However, the imaging apparatus according to the present invention is not limited to a digital camera, but other imaging apparatuses such as a video camera, and imaging mounted on a mobile phone. The present invention can be applied to various imaging devices such as a device.

本実施の形態による電子カメラ1には、撮影光学系としての撮影レンズ2が装着される。撮影レンズ2は、レンズ制御部4よってフォーカスや絞りが駆動される。本実施の形態では、撮影レンズ2は、電子カメラ1の本体に対して着脱可能で交換可能となっており、ズームレンズや固定焦点レンズに交換することができるようになっている。もっとも、本発明では、撮影レンズ2は、交換不能に本体に装着されていてもよい。この場合にも、撮影レンズ2は、ズームレンズでもよいし、固定焦点レンズでもよい。   The electronic camera 1 according to this embodiment is equipped with a photographing lens 2 as a photographing optical system. The photographing lens 2 is driven by the lens control unit 4 to focus and stop. In the present embodiment, the photographing lens 2 is detachable and replaceable with respect to the main body of the electronic camera 1 and can be replaced with a zoom lens or a fixed focus lens. However, in the present invention, the photographic lens 2 may be attached to the main body so that it cannot be replaced. Also in this case, the photographing lens 2 may be a zoom lens or a fixed focus lens.

本実施の形態では、撮影レンズ2は、自身の種別を示す情報としての型式を含むレンズ情報(自身に関する情報)を記憶する不揮発性メモリ等の記憶部(図示せず)を有している。この記憶部に記憶されたレンズ情報は、撮影レンズ2と本体が接する部分に設けられる端子などを介して、更には後述するバス9を介して、CPU10が取得することができるようになっている。また、撮影レンズ2がズームレンズである場合には、撮影レンズ2の現在の調節状態の焦点距離が、レンズ情報の一部として、撮影レンズ2からCPU10に供給されるようになっている。   In the present embodiment, the photographic lens 2 has a storage unit (not shown) such as a nonvolatile memory that stores lens information (information about itself) including a model as information indicating its type. The lens information stored in the storage unit can be acquired by the CPU 10 via a terminal or the like provided at a portion where the photographing lens 2 and the main body are in contact, and further via a bus 9 described later. . When the photographing lens 2 is a zoom lens, the focal length in the current adjustment state of the photographing lens 2 is supplied from the photographing lens 2 to the CPU 10 as a part of lens information.

撮影レンズ2の像空間には、撮像素子3の撮像面が配置されている。撮像素子3は、撮像制御部5から出力される制御信号によって駆動され、画像信号を出力する。撮像素子3としては、例えば、CMOSイメージセンサやCCDイメージセンサ等が用いられる。撮像素子3から出力される信号は、増幅等を行う信号処理部6、及びA/D変換部7を介して処理された後、メモリ8に一旦蓄積される。メモリ8は、バス9に接続されている。バス9には、レンズ制御部4、撮像制御部5、CPU10、メモリ11、記録部12、画像処理部13、画像圧縮部14、背面液晶パネル及び/又は電子ビューファインダ等の表示部15、及び、電子カメラ1の姿勢を検出する姿勢検出部16なども接続されている。CPU10には、レリーズ釦などの操作部17が接続されている。また、記録部12には記録媒体12aが着脱自在に装着される。なお、信号処理部6及びA/D変換部7を撮像素子3に搭載してもよい。   In the image space of the photographic lens 2, the imaging surface of the imaging element 3 is arranged. The imaging device 3 is driven by a control signal output from the imaging control unit 5 and outputs an image signal. For example, a CMOS image sensor or a CCD image sensor is used as the imaging element 3. A signal output from the image sensor 3 is processed through the signal processing unit 6 and the A / D conversion unit 7 that perform amplification and the like, and then temporarily stored in the memory 8. The memory 8 is connected to the bus 9. The bus 9 includes a lens control unit 4, an imaging control unit 5, a CPU 10, a memory 11, a recording unit 12, an image processing unit 13, an image compression unit 14, a display unit 15 such as a rear liquid crystal panel and / or an electronic viewfinder, and An attitude detection unit 16 that detects the attitude of the electronic camera 1 is also connected. An operation unit 17 such as a release button is connected to the CPU 10. A recording medium 12a is detachably attached to the recording unit 12. The signal processing unit 6 and the A / D conversion unit 7 may be mounted on the image sensor 3.

図2は、電子カメラ1と光源100との位置関係の例を模式的に示す図である。図2には、電子カメラ1を基準とした互いに直交するX軸、Y軸及びZ軸を示している。Z軸は電子カメラ1の光軸Oの方向と一致し、X軸は電子カメラ1の左右方向と一致し、Y軸は電子カメラ1の上下方向と一致している。X軸回りの回転方向及び回転角度をそれぞれピッチ方向及びピッチ角度といい、Y軸回りの回転方向及び回転角度をそれぞれヨー方向及びヨー角度という。   FIG. 2 is a diagram schematically illustrating an example of the positional relationship between the electronic camera 1 and the light source 100. FIG. 2 shows an X axis, a Y axis, and a Z axis that are orthogonal to each other with the electronic camera 1 as a reference. The Z axis coincides with the direction of the optical axis O of the electronic camera 1, the X axis coincides with the horizontal direction of the electronic camera 1, and the Y axis coincides with the vertical direction of the electronic camera 1. The rotation direction and rotation angle around the X axis are called a pitch direction and a pitch angle, respectively, and the rotation direction and rotation angle around the Y axis are called a yaw direction and a yaw angle, respectively.

図2(a)では、電子カメラ1の撮影レンズ2の光軸Oと、電子カメラ1からの光源100の方向Aとが一致し、光軸O上に光源100が位置している。図2(b)では、電子カメラ1が図2(a)に示す状態からピッチ方向にピッチ角度θpだけ回転した状態を示している。図2(b)では、電子カメラ1は図2(a)に示す状態からヨー方向には回転しておらず、電子カメラ1の撮影レンズ2の光軸Oと、電子カメラ1からの光源100の方向Aとがなす角度θは、方向Aを基準としたピッチ角度θpと一致している。   In FIG. 2A, the optical axis O of the photographing lens 2 of the electronic camera 1 and the direction A of the light source 100 from the electronic camera 1 coincide with each other, and the light source 100 is positioned on the optical axis O. FIG. 2B shows a state in which the electronic camera 1 is rotated by the pitch angle θp in the pitch direction from the state shown in FIG. 2B, the electronic camera 1 is not rotated in the yaw direction from the state shown in FIG. 2A, the optical axis O of the photographing lens 2 of the electronic camera 1, and the light source 100 from the electronic camera 1. The angle θ formed by the direction A is equal to the pitch angle θp with respect to the direction A.

光源100の明るさが所定の明るさ以上であればフレアが発生し得るが、図2(a)に示すように光軸Oと方向Aとがなす角度θが0゜であれば、光源100から撮像素子3に入射する光は、光軸Oに沿って撮像素子3に入射し、撮像素子3に斜めに入射しないため、フレアは発生しない。このことは、実験によってもも確認された。   Flares may occur if the brightness of the light source 100 is greater than or equal to a predetermined brightness, but if the angle θ formed by the optical axis O and the direction A is 0 ° as shown in FIG. Since the light incident on the image sensor 3 enters the image sensor 3 along the optical axis O and does not enter the image sensor 3 at an angle, flare does not occur. This was also confirmed by experiments.

そして、光源100の明るさが所定の明るさ以上である場合において、方向Aを基準にして電子カメラ1をピッチ方向及びヨー方向のいずれか一方向又は両方向に回転させることで、図2(a)に示すように光軸Oと方向Aとがなす角度θをある角度にすると、光源100から撮像素子3に入射する光は、光軸Oから角度θだけ傾いた方向に沿って撮像素子3に入射し、撮像素子3に斜めに入射するため、フレアが発生する。ところが、角度θが所定角度以上であればフレアが発生するというものではなく、角度θが比較的狭いある角度範囲内にあるときにのみフレアが発生することが、実験により確認された。光源100の明るさが所定の明るさ以上である場合においてフレアが発生する角度θの範囲を、フレア発生角度範囲と呼ぶ。フレア発生角度範囲は、同じカメラ本体であってもこれに装着される撮影レンズ2の種別(例えば、型式)毎に異なり、代表的には、撮影レンズ2のレンズ構成(球面レンズ・非球面レンズ、レンズ枚数、コーティングなどのうちの1つ以上)、射出瞳距離(PO値)及び焦点距離のいずれかが異なれば、フレア発生角度範囲が異なることが、実験により確認された。また、撮影レンズ2がズームレンズの場合には、撮影レンズ2が同じであっても、焦点距離の調節状態(調節された現在の焦点距離)によって、フレア発生角度範囲が異なることが、実験により確認された。   When the brightness of the light source 100 is equal to or higher than the predetermined brightness, the electronic camera 1 is rotated in one or both of the pitch direction and the yaw direction with reference to the direction A, thereby FIG. ), When the angle θ formed by the optical axis O and the direction A is set to a certain angle, the light incident on the image sensor 3 from the light source 100 is along the direction inclined by the angle θ from the optical axis O. Is incident on the image pickup device 3 at an angle, and flare occurs. However, it has been confirmed by experiments that flare does not occur if the angle θ is equal to or greater than a predetermined angle, but occurs only when the angle θ is within a relatively narrow angle range. The range of the angle θ at which flare occurs when the brightness of the light source 100 is greater than or equal to the predetermined brightness is referred to as a flare generation angle range. The flare generation angle range varies depending on the type (for example, model) of the photographic lens 2 mounted on the same camera body, and typically, the lens configuration of the photographic lens 2 (spherical lens / aspheric lens) It has been experimentally confirmed that if any one of the number of lenses, the number of coatings, and the like, the exit pupil distance (PO value), and the focal length are different, the flare generation angle range is different. Further, when the photographing lens 2 is a zoom lens, even if the photographing lens 2 is the same, the flare generation angle range varies depending on the focal length adjustment state (the adjusted current focal length). confirmed.

本実施の形態では、電子カメラ1に交換可能に装着される各種別(本実施の形態では、各型式)の撮影レンズ2について、実験によりフレア発生角度範囲を求めることによって、撮影レンズ2の光軸Oと所定明るさ以上の光源100の方向Aとがなす角度θを少なくともパラメータとするフレア発生条件を取得し、このフレア発生条件を示すフレア発生条件情報を、事前に不揮発性のメモリ11に記憶させておく。なお、フレア発生条件情報を記憶するメモリ11は、CPU10の外部のメモリに限らず、CPU10の内部メモリ(図示せず)でもよい。   In the present embodiment, the light of the photographing lens 2 is obtained by obtaining the flare generation angle range by experiment for the photographing lens 2 of each type (each type in the present embodiment) that is replaceably attached to the electronic camera 1. A flare occurrence condition having at least an angle θ formed by the axis O and the direction A of the light source 100 having a predetermined brightness or more as a parameter is acquired, and flare occurrence condition information indicating the flare occurrence condition is stored in the nonvolatile memory 11 in advance. Remember. Note that the memory 11 that stores the flare occurrence condition information is not limited to a memory external to the CPU 10 but may be an internal memory (not shown) of the CPU 10.

前記実験は、例えば図2に示すように、所定明るさ以上の光源100を用意し、方向Aを基準にして電子カメラ1のピッチ角度θp及びヨー角度θyを変えることで、撮影レンズ2の光軸Oと光源100の方向Aとがなす角度θを変えつつ、電子カメラ1で撮像してその画像にフレアが発生するか否かを確認することによって、行うことができる。   In the experiment, for example, as shown in FIG. 2, a light source 100 having a predetermined brightness or more is prepared, and the light of the photographing lens 2 is changed by changing the pitch angle θp and yaw angle θy of the electronic camera 1 with reference to the direction A. This can be done by changing the angle θ formed by the axis O and the direction A of the light source 100 while taking an image with the electronic camera 1 and checking whether flare occurs in the image.

図3は、フレア発生条件の一例を模式的に示す図である。図3中のf1〜f4は焦点距離の値、θ1〜θ10は光軸Oと方向Aとがなす角度θの値をそれぞれ示している。図3に示す例では、説明の便宜上、電子カメラ1に交換可能に装着される撮影レンズ2は、3種類の撮影レンズ(型式「○○○○」、「××××」、「△△△△」の撮影レンズ)であるものとし、型式「○○○○」の撮影レンズ2は焦点距離をf1からf4までの範囲で変え得るズームレンズであり、型式「××××」の撮影レンズ及び型式「△△△△」の撮影レンズはそれぞれ固定焦点レンズであるものとしている。図3に示す例では、フレア発生条件は、撮影レンズ2の型式、撮影レンズ2の焦点距離(調節された状態の焦点距離)F、及び、光軸Oと方向Aとがなす角度θをパラメータとしている。例えば、条件No.1は、型式「○○○○」の撮影レンズが装着されその焦点距離Fがf1以上でかつf2よりも小さい値に調節されている場合には、角度θがθ1以上でかつθ2以下である場合にフレアが発生し、角度θがそれ以外の角度ではフレアが発生しないことを示している。また、条件No.4は、型式「××××」の撮影レンズが装着されている場合には、角度θがθ7以上でかつθ8以下である場合にフレアが発生し、角度θがそれ以外の角度ではフレアが発生しないことを示している。条件No.4及び条件No.5中の「−」は、型式「××××」の撮影レンズ及び型式「△△△△」の撮影レンズはそれぞれ固定焦点レンズであるので、焦点距離Fが不要であることを示している。   FIG. 3 is a diagram schematically illustrating an example of flare generation conditions. In FIG. 3, f1 to f4 are values of the focal length, and θ1 to θ10 are values of the angle θ formed by the optical axis O and the direction A, respectively. In the example shown in FIG. 3, for convenience of explanation, the photographing lens 2 that is replaceably attached to the electronic camera 1 has three kinds of photographing lenses (models “XXX”, “XXX”, “ΔΔ”). The shooting lens 2 of the model “XXX” is a zoom lens that can change the focal length in the range from f1 to f4, and the shooting of the model “XXXXXX”. Each of the lens and the photographing lens of the type “ΔΔΔΔ” is a fixed focus lens. In the example shown in FIG. 3, the flare generation conditions are parameters of the type of the taking lens 2, the focal length (focal length in the adjusted state) F of the taking lens 2, and the angle θ formed by the optical axis O and the direction A. It is said. For example, condition no. 1 is that when an imaging lens of the model “XXX” is mounted and its focal length F is adjusted to a value greater than or equal to f1 and smaller than f2, the angle θ is greater than or equal to θ1 and less than or equal to θ2. In this case, flare occurs, and flare does not occur when the angle θ is any other angle. In addition, Condition No. No. 4 shows that when a photographic lens of the model “xxxx” is attached, flare occurs when the angle θ is not less than θ7 and not more than θ8, and flare occurs when the angle θ is other than that. It indicates that it does not occur. Condition No. 4 and condition no. In FIG. 5, “−” indicates that the focal length F is not necessary because the photographing lens of the type “xxxx” and the photographing lens of the type “ΔΔΔΔ” are respectively fixed focus lenses. .

本実施の形態では、姿勢検出部16は、例えばジャイロセンサを用いて構成され、適宜指定された基準の方向に対する電子カメラ1のピッチ角度及びヨー角度を検出する。前記ジャイロセンサとしては、例えば、手振れ検出用のジャイロセンサを用いてもよい。なお、姿勢検出部16は、加速度センサを用いて構成することもできる。   In the present embodiment, the posture detection unit 16 is configured by using, for example, a gyro sensor, and detects the pitch angle and yaw angle of the electronic camera 1 with respect to a reference direction appropriately designated. As the gyro sensor, for example, a gyro sensor for camera shake detection may be used. In addition, the attitude | position detection part 16 can also be comprised using an acceleration sensor.

図4及び図5は、本実施の形態による電子カメラ1の所定モードの動作を示す概略フローチャートである。このモードは、静止画撮影に際してフレア発生の事前検出を行ってその検出時に警報を発する動作モードである。   4 and 5 are schematic flowcharts showing the operation in the predetermined mode of the electronic camera 1 according to the present embodiment. This mode is an operation mode in which flare occurrence is detected in advance during still image shooting and an alarm is issued upon detection.

操作部17からの指令等によって本動作モードを開始すると、CPU10は、メモリ8内に格納されるフレア検出フラグをオフにリセットする(ステップS1)。フレア検出フラグは、フレア発生が検出された状態か否かを示すものである。フレア検出フラグのオフはフレア発生が検出されていない状態を示し、フレア検出フラグのオンはフレア発生が検出されている状態を示す。   When this operation mode is started by a command from the operation unit 17 or the like, the CPU 10 resets the flare detection flag stored in the memory 8 to OFF (step S1). The flare detection flag indicates whether or not a flare occurrence is detected. When the flare detection flag is off, the flare occurrence is not detected, and when the flare detection flag is on, the flare occurrence is detected.

次いで、CPU10は、撮像制御部5及び表示部15等を制御して、所定時間間隔(例えば、1/30秒のフレームレート)で、間引き読み出し等によって撮像素子3にスルー画像を撮像させるとともにそのスルー画像を表示部15へ表示させる動作を、開始させる(ステップS2)。撮像素子3からアナログ信号として読み出されたスルー画像は、信号処理部6で増幅等された後にA/D変換部7によりデジタル信号に変換され、更にメモリ8に一旦格納された後に、動画像として表示部15に表示される。このスルー画像の撮像・表示は、本動作モード中は、後述するステップS7の本画像の撮影時を除いて繰り返される。   Next, the CPU 10 controls the imaging control unit 5, the display unit 15 and the like to cause the imaging device 3 to capture a through image by thinning-out reading or the like at a predetermined time interval (for example, a frame rate of 1/30 seconds). The operation for displaying the through image on the display unit 15 is started (step S2). The through image read as an analog signal from the image sensor 3 is amplified by the signal processing unit 6, converted to a digital signal by the A / D conversion unit 7, and further stored in the memory 8, and then the moving image. Is displayed on the display unit 15. This through-image capture / display is repeated during the main operation mode except during the capture of the main image in step S7 described later.

次に、CPU10は、操作部17のうちのレリース釦(図示せず)が半押しされたか否かを判定し(ステップS3)、半押しされるとステップS4へ移行する一方で、半押しされなければステップS13へ移行する。   Next, the CPU 10 determines whether or not a release button (not shown) in the operation unit 17 has been half-pressed (step S3). If not, the process proceeds to step S13.

ステップS4において、CPU10は、自動焦点調節や自動露出制御などを行い、本画像の撮影に用いる撮影条件を設定する。引き続いて、CPU10は、レリース釦が全押しされたか否かを判定し(ステップS5)、全押しされるとステップS7へ移行し、全押しされければ所定のタイムアウト時間を経過するまでは全押しされるのを待ち(ステップS6でNO)、全押しされずに所定のタイムアウト時間を経過する(ステップS6でYES)と、ステップS11へ移行する。   In step S4, the CPU 10 performs automatic focus adjustment, automatic exposure control, and the like, and sets shooting conditions used for shooting the main image. Subsequently, the CPU 10 determines whether or not the release button is fully pressed (step S5). If the release button is fully pressed, the process proceeds to step S7. If the release button is fully pressed, the CPU 10 fully presses until a predetermined time-out time elapses. The process waits (NO in step S6), and when a predetermined time-out period elapses without being fully pressed (YES in step S6), the process proceeds to step S11.

ステップS7において、CPU10は、撮像制御部5を制御して撮像素子3に本画像を撮像させる。撮像素子3からアナログ信号として読み出されたこの本画像は、信号処理部6で増幅等された後にA/D変換部7によりデジタル信号に変換され、更にメモリ8に一旦格納される。   In step S <b> 7, the CPU 10 controls the imaging control unit 5 to cause the imaging device 3 to capture the main image. The main image read out from the image sensor 3 as an analog signal is amplified by the signal processing unit 6, converted to a digital signal by the A / D conversion unit 7, and temporarily stored in the memory 8.

次に、CPU10は、ステップS7で読み出されてメモリ8内に格納された本画像を、記録部12によって記録媒体12aに記録させる(ステップS8)。   Next, the CPU 10 causes the recording unit 12 to record the main image read in step S7 and stored in the memory 8 on the recording medium 12a (step S8).

その後、CPU10は、現在のフレア検出フラグがオンであるか否かを判定し(ステップS9)、フレア検出フラグがオンであれば、フレア検出の基礎情報(本実施の形態では、最新にフレア検出フラグをオンにした後述するステップS26の直近のステップS22,S24で得たレンズ情報及び角度θ。)をステップS8で記録した本画像と関連づけて、記録部12によって記録媒体12aに記録させた(ステップS10)後に、ステップS11へ移行する。ステップS9でフレア検出フラグがオンでないと判定されると、ステップS10を経由することなく直ちにステップS11へ移行する。なお、ステップS10において、フレア検出の基礎情報のうちの角度θのみを、本画像と関連づけて記録してもよい。また、ステップS10において、角度θに代えて、角度θを特定するための情報である後述のステップS23で取得するピッチ角度θp及びヨー角度θyを、本画像と関連づけて記録してもよい。   Thereafter, the CPU 10 determines whether or not the current flare detection flag is on (step S9). If the flare detection flag is on, the basic information of flare detection (in this embodiment, the latest flare detection is performed). The lens information and angle θ obtained in steps S22 and S24 immediately after step S26 with the flag turned on are associated with the main image recorded in step S8 and recorded on the recording medium 12a by the recording unit 12 ( After step S10), the process proceeds to step S11. If it is determined in step S9 that the flare detection flag is not on, the process immediately proceeds to step S11 without going through step S10. In step S10, only the angle θ in the basic information of flare detection may be recorded in association with the main image. Further, in step S10, instead of the angle θ, the pitch angle θp and the yaw angle θy acquired in step S23 described later, which is information for specifying the angle θ, may be recorded in association with the main image.

ステップS11において、CPU10は、操作部17から本動作モードを終了させる旨のモード終了指令(例えば、他の動作モードへの切り替え指令や電源オフ指令など)を受けたか否かを判定する。CPU10は、モード終了指令を受けていないと判定するとステップS3へ戻る一方、モード終了指令を受けたと判定すると、後述するフレア警報をオフにした(すなわち、フレア警報を発生していない状態にした)後に、本動作モードを終了する。   In step S <b> 11, the CPU 10 determines whether or not a mode end command (for example, a command to switch to another operation mode, a power-off command, or the like) is received from the operation unit 17 to end this operation mode. If the CPU 10 determines that the mode end command has not been received, the process returns to step S3. On the other hand, if the CPU 10 determines that the mode end command has been received, the flare alarm described later is turned off (that is, the flare alarm has not been generated). Later, this operation mode is terminated.

ステップS13において、CPU10は、現在がフレア検出タイミングか否かを判定する。現在がフレア検出タイミングでなければステップS11へ移行する一方で、現在がフレア検出タイミングであればステップS14へ移行する。例えば、1フレームのスルー画像が得られる毎の時点をフレア検出タイミングとしてもよいし、複数の所定数のフレームのスルー画像が得られる毎の時点をフレア検出タイミングとしてもよいし、所定周期のタイミングをフレア検出タイミングとしてもよい。   In step S13, the CPU 10 determines whether or not the present time is the flare detection timing. If the present is not the flare detection timing, the process proceeds to step S11. If the present is the flare detection timing, the process proceeds to step S14. For example, a time point at which a through image of one frame is obtained may be set as a flare detection timing, a time point at which a plurality of through images of a predetermined number of frames are obtained may be set as a flare detection timing, or a timing of a predetermined period May be the flare detection timing.

ステップS14において、CPU10は、最新に取得されたスルー画像中に飽和輝度領域が有るか否かを判定する。ステップS14で飽和輝度領域が無いと判定されると、CPU10は、フレア検出フラグをオフにした(ステップS17)後にステップS28へ移行する。なお、本実施の形態では、ステップS14の判定対象となるスルー画像を取得する際の絞りの状態は、当該スルー画像中の非飽和輝度領域は、所定明るさ以上ではない(フレアを発生させる明るさではない)というように設定される。   In step S <b> 14, the CPU 10 determines whether there is a saturated luminance region in the latest acquired through image. If it is determined in step S14 that there is no saturated luminance region, the CPU 10 turns off the flare detection flag (step S17), and then proceeds to step S28. In the present embodiment, the aperture state when acquiring the through image to be determined in step S14 is that the non-saturated luminance region in the through image is not equal to or higher than the predetermined brightness (brightness that generates flare). Is not).

ステップS14で飽和輝度領域が有ると判定されると、CPU10は、レンズ制御部4を介して撮影レンズ2の絞りを一旦絞り、その絞った状態で取得されたスルー画像の信号レベル、特に、ステップS14で有ると判定された飽和輝度領域に相当する領域の信号レベルを取得する(ステップS15)。なお、その絞った状態でスルー画像を取得した後には、撮影レンズ2の絞りを元に戻しておく。   If it is determined in step S14 that there is a saturated luminance area, the CPU 10 once stops the aperture of the photographing lens 2 via the lens control unit 4, and the signal level of the through image acquired in the reduced state, in particular, step The signal level of the area corresponding to the saturated luminance area determined to be in S14 is acquired (step S15). Note that after obtaining the through image in the narrowed state, the aperture of the taking lens 2 is returned to the original position.

次に、ステップS15で絞った撮影レンズ2の絞りの状態とステップS15で取得された信号レベルとに基づいて、ステップS14で有ると判定された飽和輝度領域が、所定明るさ以上の光源(フレアを発生させる明るさの光源。以下、高輝度光源と呼ぶ場合がある。)に相当するか否かを判定する(ステップS16)。   Next, based on the state of the aperture of the taking lens 2 stopped in step S15 and the signal level acquired in step S15, the saturated luminance region determined to be in step S14 has a light source (flare) with a predetermined brightness or higher. (Hereinafter, sometimes referred to as a high-intensity light source) is determined (step S16).

なお、先に説明したように、本実施の形態では、所定以上の明るさであるか否かを判定するために、絞りを変えることでスルー画像の感度を変えているが、その代わりに又はそれに加えて、例えば、スルー画像のフレームレートを変えることでスルー画像の感度を変えてもよい。   As described above, in this embodiment, the sensitivity of the through image is changed by changing the aperture in order to determine whether the brightness is equal to or higher than the predetermined value. In addition, for example, the sensitivity of the through image may be changed by changing the frame rate of the through image.

ステップS16で高輝度光源に相当しない(ステップS16でNO)と判定されると、CPU10は、フレア検出フラグをオフにした(ステップS17)後に、ステップS28へ移行する。一方、ステップS16で高輝度光源に相当する(ステップS16でYES)と判定されると、ステップS21へ移行する。   If it is determined in step S16 that the light source does not correspond to a high luminance light source (NO in step S16), the CPU 10 turns off the flare detection flag (step S17), and then proceeds to step S28. On the other hand, if it is determined in step S16 that the light source corresponds to a high-intensity light source (YES in step S16), the process proceeds to step S21.

ステップS21において、CPU10は、スルー画像内の高輝度光源の位置情報(すなわち、ステップS14で有ると判定された飽和輝度領域の位置情報、あるいは、ステップS14で有ると判定された飽和輝度領域のうちの高輝度光源の相当する領域の位置情報)を取得する。   In step S21, the CPU 10 determines the position information of the high-luminance light source in the through image (that is, the position information of the saturated luminance area determined to be in step S14 or the saturated luminance area determined to be in step S14). The position information of the area corresponding to the high-intensity light source is acquired.

次に、CPU10は、装着されている撮影レンズ2から、前記レンズ情報のうち、型式、及び、撮影レンズ2がズームレンズであれば現在の調節状態の焦点距離を取得する(ステップS22)。   Next, the CPU 10 obtains the type and the focal length of the current adjustment state from the mounted photographic lens 2 if the photographic lens 2 is a zoom lens among the lens information (step S22).

次いで、CPU10は、姿勢検出部16から、ステップS21で取得した高輝度光源の位置情報に基づく当該高輝度光源の方向Aを基準とした、ピッチ角度θp及びヨー角度θyを取得する(ステップS23)。   Next, the CPU 10 acquires the pitch angle θp and the yaw angle θy based on the direction A of the high-intensity light source based on the position information of the high-intensity light source acquired in Step S21 from the attitude detection unit 16 (Step S23). .

引き続いて、CPU10は、ステップS23で取得したピッチ角度θp及びヨー角度θyから、高輝度光源の方向Aと撮影レンズ2の光軸Oとがなす角度θを算出する(ステップS24)。   Subsequently, the CPU 10 calculates an angle θ formed by the direction A of the high brightness light source and the optical axis O of the photographing lens 2 from the pitch angle θp and the yaw angle θy acquired in step S23 (step S24).

その後、CPU10は、ステップS22で取得したレンズ情報(本実施の形態では、型式、及び、撮影レンズ2がズームレンズであれば現在の調節状態の焦点距離)及びステップS24で取得した角度θを、メモリ11内のフレア発生条件情報と照合することによって、フレア発生の有無を判定する(ステップS25)。すなわち、CPU10は、ステップS22で取得したレンズ情報及びステップS24で取得した角度θがメモリ11内のフレア発生条件情報が示すフレア発生条件を満たすか否かを判定し、満たす場合にはフレアの発生が有る(ステップS25でYES)と判定する一方で、満たさない場合にはフレアの発生が無い(ステップS25でNO)と判定する。例えば、ステップS22で取得した型式が「○○○○」でステップS22で取得した現在の焦点距離Fがf2以上でかつf3より小さい場合には、CPU10は、図3中の条件No.2に従って、ステップS24で取得した角度θがθ3≦θ≦θ4の角度範囲(フレア発生角度範囲)内であるか否かを判定することによって、フレア発生条件を満たすか否かを判定する。また、例えば、ステップS22で取得した型式が「△△△△」である場合には、CPU10は、図3中の条件No.5に従って、ステップS24で取得した角度θがθ9≦θ≦θ10の角度範囲(フレア発生角度範囲)内であるか否かを判定することによって、フレア発生条件を満たすか否かを判定する。   Thereafter, the CPU 10 obtains the lens information acquired in step S22 (in this embodiment, the model and the focal length of the current adjustment state if the photographic lens 2 is a zoom lens) and the angle θ acquired in step S24. By checking against the flare occurrence condition information in the memory 11, the presence or absence of flare occurrence is determined (step S25). That is, the CPU 10 determines whether or not the lens information acquired in step S22 and the angle θ acquired in step S24 satisfy the flare generation condition indicated by the flare generation condition information in the memory 11, and if so, the occurrence of flare. On the other hand, if it is not satisfied, it is determined that there is no flare (NO in step S25). For example, if the model acquired in step S22 is “XXX” and the current focal length F acquired in step S22 is greater than or equal to f2 and less than f3, the CPU 10 determines whether the condition number in FIG. 2, whether or not the flare generation condition is satisfied is determined by determining whether or not the angle θ acquired in step S24 is within the angle range (flare generation angle range) of θ3 ≦ θ ≦ θ4. For example, when the model acquired in step S22 is “ΔΔΔΔ”, the CPU 10 determines whether the condition No. in FIG. 5, it is determined whether or not the flare generation condition is satisfied by determining whether or not the angle θ acquired in step S24 is within an angle range (flare generation angle range) of θ9 ≦ θ ≦ θ10.

ステップS25でYESと判定されると、CPU10は、フレア検出フラグをオンにした(ステップS26)後に、ステップS28へ移行する。一方、ステップS25でNOと判定されると、CPU10は、フレア検出フラグをオフにした(ステップS27)後に、ステップS28へ移行する。   If it determines with YES by step S25, CPU10 will transfer to step S28, after setting a flare detection flag to ON (step S26). On the other hand, if it is determined NO in step S25, the CPU 10 proceeds to step S28 after turning off the flare detection flag (step S27).

本実施の形態では、前述したステップS14〜S17,S21〜S27は、フレア(厳密に言えば、フレアが発生することになる状態)を事前に検出するフレア検出処理に相当している。また、本実施の形態では、ステップS14〜S16,S21,S23,S24の機能は、撮影レンズ2の光軸Oと所定明るさ以上の光源の方向Aとがなす角度θを検出する検出手段に相当している。もっとも、角度θを検出する検出手段はこれに限らない。例えば、本実施の形態では、ステップS16のように所定明るさ以上であるか否かを(フレアを発生させる明るさの光源であるか否か)をスルー画像を用いて検出しているが、撮像素子とは別の光量センサ等を用いて検出してもよい。   In the present embodiment, the above-described steps S14 to S17 and S21 to S27 correspond to a flare detection process for detecting in advance a flare (a state in which a flare will occur strictly speaking). In the present embodiment, the functions of steps S14 to S16, S21, S23, and S24 are detection means for detecting an angle θ formed by the optical axis O of the photographing lens 2 and the direction A of the light source having a predetermined brightness or more. It corresponds. However, the detection means for detecting the angle θ is not limited to this. For example, in the present embodiment, whether or not the brightness is equal to or higher than the predetermined brightness (whether or not the light source has a brightness that generates flare) is detected using a through image as in step S16. You may detect using the light quantity sensor etc. different from an image pick-up element.

ステップS28において、CPU10は、現在のフレア検出フラグがオンであるか否かを判定する。ステップS28で現在のフレア検出フラグがオンであると判定されると、CPU10は、ステップS29でフレア警報をオンにした(すなわち、フレア警報を発生している状態にした)後に、ステップS11へ移行する。一方、ステップS28で現在のフレア検出フラグがオンでない(オフである)と判定されると、CPU10は、ステップS29でフレア警報をオフにした(すなわち、フレア警報を発生していない状態にした)後に、ステップS11へ移行する。   In step S28, the CPU 10 determines whether or not the current flare detection flag is on. If it is determined in step S28 that the current flare detection flag is on, the CPU 10 turns on the flare alarm in step S29 (that is, sets the flare alarm to be generated), and then proceeds to step S11. To do. On the other hand, if it is determined in step S28 that the current flare detection flag is not ON (OFF), the CPU 10 turns off the flare alarm in step S29 (that is, the flare alarm is not generated). Later, the process proceeds to step S11.

前記フレア警報は、現在の状態が撮像画像(本画像)にフレアが発生することになる状態である旨の警報である。この警報は、例えば、表示による警報でもよいし、音又は音声による警報でもよい。すなわち、フレア警報を発生させる場合、具体的には、例えば、その旨のマークや文字等を表示部15に表示させたり、それに代えて又はそれに加えて、その旨の警報音をスピーカ等の発音部(図示せず)に発生させてもよい。フレア警報によって、使用者は、電子カメラ1の撮影角度を変えてフレアの発生を回避することを促されたり、電子カメラ1の撮影角度を変えない場合には、フレア発生を容認した上で本撮像を行うことを促されることになる。   The flare alarm is an alarm indicating that the current state is a state in which flare will occur in the captured image (main image). This alarm may be, for example, an alarm by display or an alarm by sound or sound. That is, when a flare alarm is generated, specifically, for example, a mark or a character to that effect is displayed on the display unit 15, or instead of or in addition to that, an alarm sound to that effect is generated by a speaker or the like. It may be generated in a part (not shown). When the flare alarm prompts the user to change the shooting angle of the electronic camera 1 to avoid the occurrence of flare, or when the shooting angle of the electronic camera 1 is not changed, the flare alarm allows the occurrence of flare. You will be prompted to take an image.

なお、前述したCPU10の行う各ステップのうち適当なステップについては、例えば、DPS(デジタル信号処理回路)が行うようにしてもよい。   An appropriate step among the steps performed by the CPU 10 described above may be performed by, for example, a DPS (digital signal processing circuit).

本実施の形態では、前述したように、撮影レンズ2の光軸Oと所定明るさ以上の光源の方向Aとがなす角度θを検出し、この検出された角度θを、撮影レンズ2の光軸Oと所定明るさ以上の光源の方向Aとがなす角度θをパラメータとするフレア発生条件を示すフレア発生条件情報と照合することによって、フレア発生の有無を判定する。したがって、本実施の形態によれば、所定以上の光源があっても角度θがフレアを発生しない角度であれば、フレア発生として検出されないので、フレア発生の検出精度が高まる。   In the present embodiment, as described above, the angle θ formed by the optical axis O of the photographing lens 2 and the direction A of the light source having a predetermined brightness or more is detected, and the detected angle θ is used as the light of the photographing lens 2. The presence / absence of flare generation is determined by collating with flare generation condition information indicating the flare generation condition using the angle θ formed by the axis O and the direction A of the light source having a predetermined brightness or more as a parameter. Therefore, according to the present embodiment, even if there is a light source of a predetermined value or more, if the angle θ is an angle that does not generate flare, it is not detected as flare occurrence, and therefore flare occurrence detection accuracy is improved.

このように、本実施の形態によれば、フレア発生の検出精度が高いので、より正確にフレア警報を発することができる。   Thus, according to the present embodiment, since the flare occurrence detection accuracy is high, a flare alarm can be issued more accurately.

また、本実施の形態では、フレア警報にも拘わらずに本画像が撮像された場合(ステップS9でYESの場合)には、フレア検出の基礎情報が本画像と関連づけて記録される(ステップS10)。したがって、本実施の形態によれば、後に、その本画像に対してフレアを目立たなくするようなレタッチ等を施すような場合に、その本画像に関連づけられた基礎情報(特に、角度θの情報)を参照することで、そのようなレタッチをより容易に行うことができる。   In the present embodiment, when the main image is picked up despite the flare alarm (YES in step S9), the basic information for flare detection is recorded in association with the main image (step S10). ). Therefore, according to the present embodiment, the basic information (particularly, the information on the angle θ) associated with the main image when the retouch or the like that makes the flare inconspicuous is performed later on the main image. ), It is possible to perform such retouching more easily.

本実施の形態では、ステップS10の後に直ちにステップS11へ移行している。しかし、例えば、ステップS10の後に、CPU10は、ステップS7で撮像した本画像に対して、フレアの影響が低減されるような処理(フレア低減処理)を画像処理部13に行わせ、そのフレア低減処理後の画像を本画像とは別に記録部12によって記録媒体12aに記録させた後に、ステップS11へ移行してもよい。前記フレア低減処理としては、限定されるものではないが、例えば、前記特許文献1に開示されている手法に準じて、記憶フレアを用いて予測フレアを擬似的に発生させて本画像から予測フレアを減算する処理を採用してもよい。なお、フレア低減処理後の画像を記録する場合には、フレア低減処理前の本画像は必ずしも記録しなくてよい。   In the present embodiment, the process proceeds to step S11 immediately after step S10. However, for example, after step S10, the CPU 10 causes the image processing unit 13 to perform processing (flare reduction processing) that reduces the influence of flare on the main image captured in step S7, and reduces the flare. After the processed image is recorded on the recording medium 12a by the recording unit 12 separately from the main image, the process may proceed to step S11. The flare reduction processing is not limited, but, for example, in accordance with the method disclosed in Patent Document 1, a predicted flare is generated in a pseudo manner using a storage flare and a predicted flare is generated from the main image. You may employ | adopt the process which subtracts. When an image after the flare reduction process is recorded, the main image before the flare reduction process is not necessarily recorded.

ところで、撮影レンズ2が電子カメラ1の本体に対して交換不能に装着されている場合において、撮影レンズ2が固定焦点レンズであれば、フレア発生条件は、撮影レンズ2の光軸Oと所定明るさ以上の光源100の方向Aとがなす角度θのみをパラメータとした条件としてもよい。例えば、前述した型式「××××」の撮影レンズが交換不能に本体に装着されている場合には、レンズの型式や焦点距離Fをパラメータとすることなく、フレア発生条件を「θ7≦θ≦θ8」のみとすればよい。この場合、ステップS22は不要である。   By the way, when the photographic lens 2 is attached to the main body of the electronic camera 1 in a non-replaceable manner, if the photographic lens 2 is a fixed focus lens, the flare generation condition is that the optical axis O of the photographic lens 2 and a predetermined brightness. It is also possible to use a condition that uses only the angle θ formed by the direction A of the light source 100 as a parameter. For example, in the case where the photographing lens of the above-described type “xxx” is mounted on the main body in a non-replaceable manner, the flare generation condition is set to “θ7 ≦ θ without using the lens type and focal length F as parameters. <= Θ8 ”only. In this case, step S22 is unnecessary.

また、撮影レンズ2が電子カメラ1の本体に対して交換不能に装着されている場合において、撮影レンズ2がズームレンズであれば、フレア発生条件は、撮影レンズ2の光軸Oと所定明るさ以上の光源100の方向Aとがなす角度θ、及び、撮影レンズ2の焦点距離Fのみをパラメータとし、撮影レンズ2の型式をパラメータとしなくてもよい。例えば、前述した型式「○○○○」の撮影レンズが交換不能に本体に装着されている場合には、フレア発生条件を、レンズの型式をパラメータから除いた条件No.1〜3のみとすればよい。この場合、ステップS22において、型式は取得しなくてもよい。   Further, when the photographing lens 2 is attached to the main body of the electronic camera 1 in a non-replaceable manner, if the photographing lens 2 is a zoom lens, the flare generation condition is the optical axis O of the photographing lens 2 and a predetermined brightness. Only the angle θ formed by the direction A of the light source 100 and the focal length F of the photographing lens 2 may be used as parameters, and the model of the photographing lens 2 may not be used as parameters. For example, when the photographing lens of the model “XXXXX” described above is mounted on the main body in a non-replaceable manner, the flare generation condition is the condition No. that excludes the lens model from the parameter. It may be only 1 to 3. In this case, the model need not be acquired in step S22.

また、電子カメラ1の本体に交換可能又は交換不能に装着される撮影レンズ2がズームレンズであっても、フレア発生条件は必ずしも撮影レンズ2の焦点距離(調節された状態の焦点距離)Fをパラメータとする必要はない。例えば、図3中の条件No.1〜3のフレア発生角度範囲のオアをとった角度範囲全体を、前述した型式「○○○○」の撮影レンズ2に対するフレア発生角度範囲(いずれの焦点距離Fについても共通する角度範囲)としてもよい。この場合、ステップS22において、焦点距離Fは取得しなくてもよい。この場合には、本実施の形態ほどにはフレア発生の検出精度は高まらないものの、この場合であっても、それなりにフレア発生の検出精度を高めることができる。   Further, even if the photographing lens 2 that is replaceable or non-replaceable in the main body of the electronic camera 1 is a zoom lens, the flare generation condition is not necessarily the focal length (focal length in the adjusted state) F of the photographing lens 2. It does not have to be a parameter. For example, condition no. The entire angle range obtained by taking the OR of the flare generation angle ranges of 1 to 3 is defined as the flare generation angle range for the photographic lens 2 of the above-mentioned type “XXX” (the angle range common to all focal lengths F). Also good. In this case, the focal length F does not have to be acquired in step S22. In this case, although the flare occurrence detection accuracy is not as high as in the present embodiment, even in this case, the flare occurrence detection accuracy can be increased as such.

さらに、前述したように、フレア発生角度範囲は、同じカメラ本体であってもこれに装着される撮影レンズ2の種別(例えば、型式)毎に異なり、代表的には、撮影レンズ2のレンズ構成(球面レンズ・非球面レンズ、レンズ枚数、コーティングなどのうちの1つ以上。以下同じ。)、射出瞳距離(PO値)及び焦点距離のいずれかが異なれば、フレア発生角度範囲が異なる。したがって、撮影レンズ2が電子カメラ1の本体に対して交換可能である場合には、フレア発生条件は、撮影レンズ2の型式をパラメータとする代わりに、撮影レンズ2のレンズ構成、射出瞳距離(PO値)及び焦点距離のいずれか1つ以上をパラメータとしてもよい。フレア発生条件が撮影レンズ2のレンズ構成、射出瞳距離(PO値)及び焦点距離のいずれか1つ以上をパラメータとする場合には、CPU10は、ステップS22でそれらに対応するレンズ情報を撮影レンズ2から取得し、ステップS24をフレア発生条件と照合する。ここで、前記焦点距離は、固定焦点レンズの場合はその固定された焦点距離とし、ズームレンズの場合は現在の調節状態の焦点距離とする。撮影レンズ2の型式をパラメータとする代わりに、フレア発生条件が撮影レンズ2のレンズ構成、射出瞳距離(PO値)及び焦点距離のいずれか1つ以上をパラメータとする場合、それらの全てをパラメータとすることがフレア発生の検出精度をより高めるために好ましい。しかしながら、それらのうちの1つ又は2つをパラメータとする場合であっても、フレア発生の検出精度をそれなりに高めることができる。   Further, as described above, the flare generation angle range varies depending on the type (for example, model) of the photographing lens 2 attached to the same camera body, and typically, the lens configuration of the photographing lens 2 (One or more of a spherical lens / aspheric lens, the number of lenses, a coating, etc. The same applies hereinafter.) If any of the exit pupil distance (PO value) and the focal distance is different, the flare generation angle range is different. Therefore, when the photographic lens 2 is replaceable with the main body of the electronic camera 1, the flare generation condition is that the lens configuration of the photographic lens 2, the exit pupil distance (instead of using the model of the photographic lens 2 as a parameter). Any one or more of (PO value) and focal length may be used as parameters. When the flare generation condition uses one or more of the lens configuration, exit pupil distance (PO value), and focal length of the photographic lens 2 as parameters, the CPU 10 obtains lens information corresponding to them in step S22. 2 and step S24 is checked against the flare occurrence condition. Here, the focal length is the fixed focal length in the case of a fixed focus lens, and the focal length in the current adjustment state in the case of a zoom lens. Instead of using the model of the photographic lens 2 as a parameter, if the flare generation condition is any one or more of the lens configuration, exit pupil distance (PO value), and focal length of the photographic lens 2, all of them are parameters. It is preferable to further improve the detection accuracy of flare occurrence. However, even if one or two of them are used as parameters, the flare occurrence detection accuracy can be improved accordingly.

さらにまた、本実施の形態では、フレア発生条件は、撮影レンズ2の光軸Oと所定明るさ以上の光源100の方向Aとがなす角度θをパラメータとしているが、角度θをパラメータとする代わりに、角度θを特定するための情報をパラメータとしてもよい。具体的には、例えば、フレア発生条件は、角度θの代わりに、角度θの算出する元となるピッチ角度θp及びヨー角度θyをパラメータとしてもよい。この場合、ステップS24は不要であり、ステップS23で取得したピッチ角度θp及びヨー角度θyを、ステップS25でフレア発生条件と照合する。このとき、ステップS10で記録する基礎情報は、角度θの代わりに、ピッチ角度θp及びヨー角度θyをする。   Furthermore, in the present embodiment, the flare generation condition uses the angle θ formed by the optical axis O of the photographing lens 2 and the direction A of the light source 100 having a predetermined brightness or more as a parameter, but instead of using the angle θ as a parameter. In addition, information for specifying the angle θ may be used as a parameter. Specifically, for example, the flare generation condition may use the pitch angle θp and the yaw angle θy from which the angle θ is calculated as parameters instead of the angle θ. In this case, step S24 is unnecessary, and the pitch angle θp and yaw angle θy acquired in step S23 are collated with the flare occurrence condition in step S25. At this time, the basic information recorded in step S10 is the pitch angle θp and the yaw angle θy instead of the angle θ.

以上説明した本実施の形態の変形例と同様の変形は、以下に説明する第2の実施の形態についても適用することができる。   A modification similar to the modification of the present embodiment described above can also be applied to the second embodiment described below.

[第2の実施の形態]
図6及び図7は、本発明の第2の実施の形態による電子カメラの所定モードの動作を示す概略フローチャートであり、図4及び図5に対応している。図6及び図7において、図4及び図5中のステップと同一又は対応するステップには同一符号を付し、その重複する説明は省略する。
[Second Embodiment]
6 and 7 are schematic flowcharts showing an operation in a predetermined mode of the electronic camera according to the second embodiment of the present invention, and correspond to FIG. 4 and FIG. 6 and 7, steps that are the same as or correspond to steps in FIGS. 4 and 5 are given the same reference numerals, and redundant descriptions thereof are omitted.

本実施の形態による電子カメラが前記第1の実施の形態による電子カメラと異なる所は、所定モードにおいて、図4及び図5に示す動作に代えて、図6及び図7に示す動作を行う点である。   The electronic camera according to the present embodiment differs from the electronic camera according to the first embodiment in that the operation shown in FIGS. 6 and 7 is performed instead of the operation shown in FIGS. 4 and 5 in the predetermined mode. It is.

前記第1の実施の形態の図4及び図5に示す動作が本実施の形態の図6及び図7に示す動作と異なる所は、主に、図4及び図5に示す動作では、レリース釦の半押し前にフレア検出処理を行うのに対し、図6及び図7に示す動作では、レリース釦の半押し後でかつレリース釦の全押し前にフレア検出処理を行う点である。   The operation shown in FIGS. 4 and 5 of the first embodiment is different from the operation shown in FIGS. 6 and 7 of the present embodiment, mainly in the operation shown in FIGS. 6 and 7 is that the flare detection process is performed after the release button is half-pressed and before the release button is fully pressed.

本実施の形態では、ステップS3でNOの場合は、ステップS11へ移行する。ステップS3でYESの場合は、ステップS14へ移行する。ステップS29の後及びステップS30の後には、ステップS4へ移行する。ステップS11でNOの場合は、ステップS41でフレア警報をオフにした後に、ステップS3へ戻る。   In the present embodiment, if NO in step S3, the process proceeds to step S11. If YES in step S3, the process proceeds to step S14. After step S29 and after step S30, the process proceeds to step S4. If NO in step S11, the flare alarm is turned off in step S41, and then the process returns to step S3.

本実施の形態によっても、前記第1の実施の形態と同様の利点が得られる。   Also in this embodiment, the same advantages as those in the first embodiment can be obtained.

なお、フレア発生が検出された場合には本画像を撮像できないようにしてもよい。この場合、例えば、ステップS29の後に、ステップS4へ移行することなく、ステップS11へ移行すればよい。   Note that the main image may not be captured when the occurrence of flare is detected. In this case, for example, after step S29, the process may proceed to step S11 without proceeding to step S4.

以上、本発明の各実施の形態及び変形例について説明したが、本発明はこれらに限定されるものではない。   As mentioned above, although each embodiment and modification of this invention were demonstrated, this invention is not limited to these.

例えば、前記各実施の形態では、スルー画像を用いて、フレア発生の事前検出を実現しているが、スルー画像に代えて任意の撮像画像を用いて、フレア発生の事前検出を実現してもよい。   For example, in each of the above embodiments, flare occurrence is detected in advance using a through image, but flare occurrence may be detected in advance using any captured image instead of the through image. Good.

前記各実施の形態は、フレア発生の検出を静止画撮影に利用した例であるが、本発明では、フレア発生の検出を動画撮影に利用することも可能である。   Each of the above embodiments is an example in which the detection of the occurrence of flare is used for still image shooting, but in the present invention, the detection of the occurrence of flare can also be used for moving image shooting.

1 電子カメラ
3 撮像素子
10 CPU
11 メモリ
16 姿勢検出部
1 Electronic Camera 3 Image Sensor 10 CPU
11 Memory 16 Attitude detection unit

Claims (9)

撮影光学系の光軸と所定明るさ以上の光源の方向とがなす角度、又は、この角度を特定するための情報を検出する検出手段と、
前記撮影光学系の光軸と前記光源の方向とがなす角度又はこの角度を特定するための情報を少なくともパラメータとするフレア発生条件を示すフレア発生条件情報を記憶した記憶手段と、
前記検出手段により検出された前記角度又は前記情報を前記フレア発生条件情報と照合することによって、フレアの発生の有無を判定する判定手段と、
を備えたことを特徴とする撮像装置。
An angle formed by the optical axis of the imaging optical system and the direction of the light source having a predetermined brightness or more, or detection means for detecting information for specifying this angle;
Storage means for storing flare generation condition information indicating a flare generation condition having at least a parameter as an angle formed by the optical axis of the photographing optical system and the direction of the light source or information for specifying the angle;
Determining means for determining the presence or absence of flare by comparing the angle or the information detected by the detecting means with the flare occurrence condition information;
An imaging apparatus comprising:
前記検出手段は、撮像された画像からその画像内の前記光源の位置を取得する手段と、前記撮像装置の姿勢を検出する姿勢検出手段と、前記画像内の位置と前記姿勢とに基づいて前記角度又は前記情報を取得する手段とを有することを特徴とする請求項1記載の撮像装置。   The detection means is based on the means for acquiring the position of the light source in the image from the captured image, the attitude detection means for detecting the attitude of the imaging device, and the position and attitude in the image. The imaging apparatus according to claim 1, further comprising an angle or a unit that acquires the information. 前記撮影光学系がズームレンズであり、
前記フレア発生条件は前記撮影光学系の焦点距離情報を他のパラメータとし、
前記判定手段は、前記撮影光学系の現在の焦点距離情報も前記フレア発生条件情報と照合することによって、フレアの発生の有無を判定する、
ことを特徴とする請求項1又は2記載の撮像装置。
The photographing optical system is a zoom lens;
The flare generation condition uses the focal length information of the photographing optical system as another parameter,
The determination means determines whether or not flare has occurred by comparing current focal length information of the photographing optical system with the flare generation condition information.
The imaging apparatus according to claim 1 or 2, wherein
前記撮影光学系は交換可能であり、
前記フレア発生条件は前記撮影光学系に関する情報を他のパラメータとし、
前記判定手段は、現在装着されている前記撮影光学系に関する情報も前記フレア発生条件情報と照合することによって、フレアの発生の有無を判定する、
ことを特徴とする請求項1乃至3のいずれかに記載の撮像装置。
The photographing optical system is replaceable,
The flare generation condition is information about the imaging optical system as another parameter,
The determination means determines whether or not flare has occurred by checking information on the currently installed photographing optical system with the flare occurrence condition information.
The image pickup apparatus according to claim 1, wherein the image pickup apparatus is an image pickup apparatus.
前記撮影光学系に関する情報は、前記撮影光学系の種別を示す情報であることを特徴とする請求項4記載の撮像装置。   The imaging apparatus according to claim 4, wherein the information related to the photographing optical system is information indicating a type of the photographing optical system. 前記撮影光学系に関する情報は、前記撮影光学系のレンズ構成、射出瞳距離及び焦点距離のうちの1つ以上であることを特徴とする請求項4記載の撮像装置。   5. The imaging apparatus according to claim 4, wherein the information related to the photographing optical system is one or more of a lens configuration, an exit pupil distance, and a focal length of the photographing optical system. 前記判定手段によりフレアの発生が有ると判定された場合に、警報を発する警報手段を備えたことを特徴とする請求項1乃至6のいずれかに記載の撮像装置。   The imaging apparatus according to claim 1, further comprising a warning unit that issues a warning when the determination unit determines that flare is generated. 前記判定手段によりフレアの発生が有ると判定された場合に、その判定の基礎となった前記角度又は前記情報を、当該フレアの発生があると判定された状態で撮像された画像と関連づけて記録する記録手段を備えたことを特徴とする請求項1乃至7のいずれかに記載の撮像装置。   When it is determined that the flare is generated by the determination unit, the angle or the information that is the basis of the determination is recorded in association with an image captured in a state where it is determined that the flare is generated. The imaging apparatus according to claim 1, further comprising a recording unit configured to perform recording. 前記判定手段によりフレアの発生が有ると判定された場合に、撮像された画像を、フレアの影響が低減されるように処理する画像処理部を備えたことを特徴とする請求項1乃至6のいずれかに記載の撮像装置。   The image processing unit according to claim 1, further comprising: an image processing unit configured to process a captured image so as to reduce the influence of flare when the determination unit determines that flare is generated. The imaging device according to any one of the above.
JP2011193497A 2011-09-06 2011-09-06 Imaging apparatus Withdrawn JP2013055566A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011193497A JP2013055566A (en) 2011-09-06 2011-09-06 Imaging apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011193497A JP2013055566A (en) 2011-09-06 2011-09-06 Imaging apparatus

Publications (1)

Publication Number Publication Date
JP2013055566A true JP2013055566A (en) 2013-03-21

Family

ID=48132172

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011193497A Withdrawn JP2013055566A (en) 2011-09-06 2011-09-06 Imaging apparatus

Country Status (1)

Country Link
JP (1) JP2013055566A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015005891A (en) * 2013-06-21 2015-01-08 キヤノン株式会社 Imaging apparatus and control method for the same
KR20150144883A (en) * 2014-06-17 2015-12-29 성균관대학교산학협력단 Methods and apparatuses of lens flare rendering based on blending
US9595132B2 (en) 2013-09-10 2017-03-14 Research & Business Foundation Sungkyunkwan University Methods and apparatuses of lens flare rendering using linear paraxial approximation, and methods and apparatuses of lens flare rendering based on blending
JP2019062493A (en) * 2017-09-28 2019-04-18 キヤノン株式会社 Controller, imaging apparatus, control method, and program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015005891A (en) * 2013-06-21 2015-01-08 キヤノン株式会社 Imaging apparatus and control method for the same
US9595132B2 (en) 2013-09-10 2017-03-14 Research & Business Foundation Sungkyunkwan University Methods and apparatuses of lens flare rendering using linear paraxial approximation, and methods and apparatuses of lens flare rendering based on blending
US10074195B2 (en) 2013-09-10 2018-09-11 Research & Business Foundation Sungkyunkwan University Methods and apparatuses of lens flare rendering using linear paraxial approximation, and methods and apparatuses of lens flare rendering based on blending
KR20150144883A (en) * 2014-06-17 2015-12-29 성균관대학교산학협력단 Methods and apparatuses of lens flare rendering based on blending
KR101658883B1 (en) 2014-06-17 2016-10-04 성균관대학교산학협력단 Methods and apparatuses of lens flare rendering based on blending
JP2019062493A (en) * 2017-09-28 2019-04-18 キヤノン株式会社 Controller, imaging apparatus, control method, and program
JP7043209B2 (en) 2017-09-28 2022-03-29 キヤノン株式会社 Control device, image pickup device, control method, and program

Similar Documents

Publication Publication Date Title
US8194140B2 (en) Image pickup apparatus for performing a desirable self timer shooting and an automatic shooting method using the same
JP4483930B2 (en) Imaging apparatus, control method thereof, and program
US10148889B2 (en) Image processing apparatus and control method thereof, image capturing apparatus and storage medium
US10194085B2 (en) Image pickup apparatus and its control method
JP2007316497A5 (en)
US10306162B2 (en) Image pickup apparatus
JP2009212804A (en) Imaging apparats with composition assisting function, and composition assisting method of the same imaging apparatus
JP2013055566A (en) Imaging apparatus
US20080049134A1 (en) Camera system and method for controlling display during focus operation
JP5257106B2 (en) Imaging apparatus and imaging method
JP2009212802A (en) Imaging apparatus with composition assisting function, and composition assisting method of the same imaging apparatus
JP2009206920A (en) Camera
JP2009055160A (en) Imaging apparatus and imaging method
JP5945444B2 (en) Photography equipment
WO2017086300A1 (en) Imaging device and control method therefor, and operation program
JP2006332809A (en) Imaging apparatus
JP5735759B2 (en) IMAGING DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
JP2009171362A (en) Photographing apparatus, and photographing method
JP2009212803A (en) Imaging apparatus with composition assisting function, and composition assisting method of the same imaging apparatus
JP2005316305A (en) Imaging apparatus and imaging method
JP4310239B2 (en) Imaging apparatus, imaging method, program, and storage medium
US7995907B2 (en) Camera
JP5251600B2 (en) Electronic camera
JP2010206434A (en) Imaging apparatus
JP2007129328A (en) Imaging apparatus

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20141202