JP2008042405A - Digital camera - Google Patents

Digital camera Download PDF

Info

Publication number
JP2008042405A
JP2008042405A JP2006212336A JP2006212336A JP2008042405A JP 2008042405 A JP2008042405 A JP 2008042405A JP 2006212336 A JP2006212336 A JP 2006212336A JP 2006212336 A JP2006212336 A JP 2006212336A JP 2008042405 A JP2008042405 A JP 2008042405A
Authority
JP
Japan
Prior art keywords
angle
lens
image
view
subject
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006212336A
Other languages
Japanese (ja)
Inventor
Hiroshi Terada
洋志 寺田
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.)
Olympus Imaging Corp
Original Assignee
Olympus Imaging 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 Olympus Imaging Corp filed Critical Olympus Imaging Corp
Priority to JP2006212336A priority Critical patent/JP2008042405A/en
Publication of JP2008042405A publication Critical patent/JP2008042405A/en
Pending legal-status Critical Current

Links

Landscapes

  • Focusing (AREA)
  • Structure And Mechanism Of Cameras (AREA)
  • Automatic Focus Adjustment (AREA)
  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a digital camera which provides an animation without a strange feeling even by using a lens the field angle of which is changed in response to focusing. <P>SOLUTION: The digital camera includes: a photographing lens 101 the photographing field angle of which is changed in response to focus adjustment; and a CCD 27 for receiving the luminous flux of an object which passes through the photographing lens 101 and outputting an object image signal. Trimming is performed (S177, S179), so as to allow the object images 461, 463, 465 whose field angles are changed due to the focus adjustment, to be the object images 481, 483, 485 having fixed field angles. The animation of the object is recorded in a recording medium 245, based on the trimmed object image signal. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、動画撮影機能を有するデジタルカメラに関する。 The present invention relates to a digital camera having a moving image shooting function.

デジタルカメラの中には、静止画撮影のみならず、動画像を記録できるものも多い。例えば、特許文献1にはクイックリターンミラー(可動ミラー)を撮影光路外に退避させ、フォーカルプレーンシャッタをバルブ状態に維持して動画撮影を行うデジタル一眼レフカメラが開示されている。
特開昭59−201029号公報
Many digital cameras can record not only still images but also moving images. For example, Patent Document 1 discloses a digital single-lens reflex camera that takes a moving image by retracting a quick return mirror (movable mirror) out of the photographing optical path and maintaining the focal plane shutter in a bulb state.
JP 59-201029 A

ところで、デジタルカメラ用の撮影レンズには、小型で高性能なレンズを実現するために、ピント位置によって画角(焦点距離)が変化するタイプが用いられることがある。このタイプのレンズは、高性能なレンズを小型でかつ安価で提供できるので、ユーザにとってはメリットが大きいものである。しかし、静止画の撮影時にはこの画角変化は目立つことがないので問題ないが、動画撮影の場合には、フォーカシングによる画角変動が記録されてしまうため、違和感のある画像となってしまう。 By the way, in order to realize a small and high-performance lens, a type in which the angle of view (focal length) changes depending on the focus position may be used as a photographing lens for a digital camera. Since this type of lens can provide a high-performance lens in a small size and at low cost, it has a great merit for the user. However, this change in the angle of view does not stand out when shooting a still image, so there is no problem. However, in the case of moving image shooting, a change in the angle of view due to focusing is recorded, resulting in an uncomfortable image.

本発明は、このような事情を鑑みてなされたものであり、フォーカシングによって画角変化が生ずるレンズを用いても違和感のない動画像の取得可能なデジタルカメラを提供することを目的とする。 The present invention has been made in view of such circumstances, and an object of the present invention is to provide a digital camera capable of acquiring a moving image without a sense of incongruity even when using a lens that changes the angle of view by focusing.

上記目的を達成するため第1の発明に係わるデジタルカメラは、焦点調節に応じて撮影画角が変化する撮影レンズと、この撮影レンズを通過した被写体光束を受光して被写体像信号を出力する撮像手段と、上記撮影レンズの画角変化に応じて上記被写体像信号のトリミング処理を行うトリミング手段と、上記トリミング処理された被写体像信号に基づいて被写体の動画像を記録する記録手段を具備する。 In order to achieve the above object, a digital camera according to a first aspect of the present invention is a photographing lens whose photographing angle of view changes in accordance with focus adjustment, and an imaging device that receives a subject luminous flux that has passed through the photographing lens and outputs a subject image signal. Means, trimming means for trimming the subject image signal in accordance with a change in the angle of view of the photographing lens, and recording means for recording a moving image of the subject based on the subject image signal subjected to the trimming process.

第2の発明に係わるデジタルカメラは、上記第1の発明において、上記撮影レンズは着脱自在である。
また、第3の発明に係わるデジタルカメラは、上記第2の発明において、上記撮影レンズは、上記画角変化に対応する情報を出力する出力手段を具備する。
さらに、第4の発明に係わるデジタルカメラは、上記第3の発明において、上記出力手段は、上記撮影レンズの焦点距離と焦点位置とに対応する複数の画角情報を記憶した記憶手段を含む。
In the digital camera according to the second invention, in the first invention, the photographing lens is detachable.
According to a third aspect of the present invention, in the digital camera according to the second aspect, the photographing lens includes an output unit that outputs information corresponding to the change in the angle of view.
Furthermore, in the digital camera according to the fourth invention, in the third invention, the output means includes storage means for storing a plurality of field angle information corresponding to the focal length and the focal position of the photographing lens.

第5の発明に係わるデジタルカメラは、上記第1の発明において、上記トリミング手段は、動画像の記録中に焦点調節が行われた場合でも記録される動画像の画角変化が生じないように、上記被写体像信号のトリミングを行う。
また、第6の発明に係わるデジタルカメラは、上記第1の発明において、上記トリミング手段は、画角変化範囲内のもっとも狭い画角を基準にしてトリミング処理を行う。
According to a fifth aspect of the present invention, in the digital camera according to the first aspect, the trimming means prevents the change in the angle of view of the recorded moving image even when focus adjustment is performed during recording of the moving image. Then, the subject image signal is trimmed.
According to a sixth aspect of the present invention, in the digital camera according to the first aspect, the trimming means performs a trimming process on the basis of the narrowest field angle within the field angle change range.

上記目的を達成するため第7の発明に係わるデジタルカメラは、焦点調節に応じて撮影画角が変化する撮影レンズと、この撮影レンズを通過した被写体光束を受光して被写体像信号を出力する撮像手段と、上記焦点調節に応じて画角変化量を求める手段と、上記画角変化量に基づいて、一定の画角となるように上記被写体像信号のトリミング処理を行うトリミング手段と、上記トリミング処理された被写体像信号に基づいて被写体の動画像を記録する記録手段を具備する。 In order to achieve the above object, a digital camera according to a seventh aspect of the present invention is a photographic lens whose photographic angle of view changes according to focus adjustment, and an imaging device that receives a subject luminous flux that has passed through the photographic lens and outputs a subject image signal. Means for obtaining an amount of change in angle of view in accordance with the focus adjustment, trimming means for performing trimming processing of the subject image signal so as to obtain a constant angle of view based on the amount of change in angle of view, and the trimming Recording means for recording a moving image of the subject based on the processed subject image signal is provided.

第8の発明に係わるデジタルカメラは、上記第7の発明において、上記画角変化量を求める手段は、焦点位置に応じた画角変化量を記憶する記憶手段を有している。
また、第9の発明に係わるデジタルカメラは、上記第8の発明において、上記撮影レンズは、焦点距離可変のズームレンズであり、上記記憶手段は、上記焦点位置に加えて焦点距離に応じた画角変化量を記憶している。
さらに、第10の発明に係わるデジタルカメラは、上記第7の発明において、上記被写体像信号に基づいて被写体の静止画像を記録する静止画モードと、動画像を記録する動画モードを選択する選択手段を具備しており、上記トリミング手段は、上記動画モードが選択された際に、上記トリミング処理を行う。
According to an eighth aspect of the present invention, in the seventh aspect of the invention, the means for obtaining the view angle change amount includes a storage means for storing the view angle change amount corresponding to the focal position.
According to a ninth aspect of the present invention, in the digital camera according to the eighth aspect, the photographic lens is a zoom lens having a variable focal length, and the storage means includes an image corresponding to the focal length in addition to the focal position. The amount of angular change is memorized.
Further, the digital camera according to the tenth invention is the selection means for selecting a still image mode for recording a still image of a subject and a moving image mode for recording a moving image based on the subject image signal in the seventh invention. The trimming means performs the trimming process when the moving image mode is selected.

さらに、第11の発明に係わるデジタルカメラは、上記第7の発明において、上記撮影レンズを通過した上記被写体光束を用いて位相差法により焦点ズレ量とズレ方向を検出し、この焦点ズレ量とズレ方向に基づいて上記撮影レンズを駆動する自動焦点調節手段を具備する。
さらに、第12の発明に係わるデジタルカメラは、上記第11の発明において、上記撮影レンズと上記撮像手段の間に進退可能なハーフミラーを有し、上記自動焦点調節手段は、上記ハーフミラーによって反射された被写体光束を用いて上記位相差法による測距を行う。
Furthermore, a digital camera according to an eleventh aspect of the present invention is the digital camera according to the seventh aspect, wherein the amount of focus shift and the direction of shift are detected by the phase difference method using the subject light flux that has passed through the photographing lens. There is provided an automatic focus adjusting means for driving the photographing lens based on the shift direction.
Further, a digital camera according to a twelfth aspect of the present invention is the digital camera according to the eleventh aspect of the invention, further comprising a half mirror that can be moved back and forth between the photographic lens and the imaging means, and the automatic focus adjustment means is reflected by the half mirror. Distance measurement is performed by the phase difference method using the subject light flux.

本発明によれば、撮影レンズの画角変化に応じて被写体像信号のトリミング処理を行うようにしたので、フォーカシングによって画角変化が生ずるレンズを用いても違和感のない動画像の取得可能なデジタルカメラを提供することができる。 According to the present invention, since the subject image signal is trimmed in accordance with the change in the angle of view of the photographing lens, a digital image capable of acquiring a moving image without any sense of incongruity using a lens that changes the angle of view by focusing. A camera can be provided.

以下、図面に従って本発明を適用したデジタルカメラを用いて好ましい一実施形態について説明する。このデジタルカメラは、撮影レンズによって形成される被写体像を撮像素子上に結像させ、この撮像素子の出力に基づいて被写体像観察用として液晶モニタ等の表示装置に動画像を表示する所謂スルー画表示機能(ライブビュー表示機能、電子ファインダ機能とも言う)を有している。また、撮影者からの撮影指示に応じて静止画像を取得し、記録媒体に記録可能である。さらに、撮影者からの撮影指示に応じて動画像を取得し、記録媒体に記録可能である。 Hereinafter, a preferred embodiment using a digital camera to which the present invention is applied will be described with reference to the drawings. This digital camera forms a subject image formed by a photographing lens on an image sensor and displays a moving image on a display device such as a liquid crystal monitor for observing the subject image based on the output of the image sensor. It has a display function (also called a live view display function or an electronic viewfinder function). Further, a still image can be acquired and recorded on a recording medium in accordance with a shooting instruction from the photographer. Furthermore, it is possible to acquire a moving image in accordance with a shooting instruction from the photographer and record it on a recording medium.

図1は、本発明の実施形態に係るデジタルカメラの電気系を主とするブロック図である。レンズ鏡筒10はカメラ本体20の前面のマウント開口部(不図示)に着脱自在となっている。マウント開口部を介してレンズ鏡筒10内のレンズ101a、101b等からなる撮影レンズによる被写体光束がカメラ本体20内に導かれる。本実施形態では、レンズ鏡筒10とカメラ本体20は別体で構成され、通信接点300を介して電気的に接続されている。また、カメラ本体20に設けた着脱検知スイッチ259によって着脱状態を検出可能となっている。 FIG. 1 is a block diagram mainly showing an electric system of a digital camera according to an embodiment of the present invention. The lens barrel 10 is detachable from a mount opening (not shown) on the front surface of the camera body 20. The subject luminous flux from the photographing lens including the lenses 101a and 101b in the lens barrel 10 is guided into the camera body 20 through the mount opening. In the present embodiment, the lens barrel 10 and the camera body 20 are configured separately and are electrically connected via the communication contact 300. The attachment / detachment detection switch 259 provided on the camera body 20 can detect the attachment / detachment state.

レンズ鏡筒10の内部には、焦点調節および焦点距離調節用のレンズ101a、101bと、開口量を調節するための絞り103が配置されている。レンズ101aおよびレンズ101bは光学系駆動機構107によって駆動され、絞り103は絞り駆動機構109によって駆動されるよう接続されている。光学系駆動機構107、絞り駆動機構109はそれぞれレンズCPU111に接続されており、このレンズCPU111は通信接点300を介してカメラ本体20に接続されている。レンズレンズCPU111はレンズ鏡筒10内の制御を行うものであり、光学系駆動機構107を制御してピント合わせや、ズーム駆動を行うとともに、絞り駆動機構109を制御して絞り制御を行う。なお、焦点距離の調節(ズーミング)は図示しない手動操作部材によってなされる。 Inside the lens barrel 10, there are disposed lenses 101a and 101b for focus adjustment and focal length adjustment, and a diaphragm 103 for adjusting the aperture. The lens 101 a and the lens 101 b are driven by an optical system driving mechanism 107, and the diaphragm 103 is connected to be driven by a diaphragm driving mechanism 109. The optical system driving mechanism 107 and the aperture driving mechanism 109 are each connected to a lens CPU 111, and the lens CPU 111 is connected to the camera body 20 via a communication contact 300. The lens lens CPU 111 controls the inside of the lens barrel 10 and controls the optical system driving mechanism 107 to perform focusing and zoom driving, and also controls the diaphragm driving mechanism 109 to perform aperture control. The focal length is adjusted (zooming) by a manual operation member (not shown).

レンズ鏡筒10の各種固有データ、例えば、ワイド側焦点距離、テレ側焦点距離、至近側距離、開放絞り値、最小絞り値や、後述する画角変化Δkt、Δkw情報(図7参照)等の各種データを記憶しているレンズデータ記憶回路112はレンズCPU111に接続されている。また、レンズCPU111は、レンズデータ記憶回路112から読み出したレンズデータをボディCPU229に送信する。 Various unique data of the lens barrel 10, such as wide-side focal length, tele-side focal length, close-up distance, open aperture value, minimum aperture value, field angle change Δkt, Δkw information (see FIG. 7) described later, and the like. A lens data storage circuit 112 that stores various data is connected to the lens CPU 111. The lens CPU 111 transmits the lens data read from the lens data storage circuit 112 to the body CPU 229.

カメラ本体20内のミラーボックス内には、レンズ101a、101bを通過した光束の一部を透過する特性を有する可動の反射ミラー(便宜上、可動ハーフミラーという)201が配置されている。この可動ハーフミラー201は、可動ミラー駆動機構215によって駆動され、回動軸201aを中心に紙面垂直方向の軸に沿って回動可能である。可動ハーフミラー201がレンズ101a、101bの光路に対して45度に傾いた位置(図1において実線の位置)にあるときには、被写体光束の一部(例えば、30%)が反射され、カメラ本体20の底部に設けられた測距/測光センサ217に導かれる。また被写体光束の残り(例えば70%)は、可動ハーフミラー201を透過してCCD221の方向に導かれる。 In a mirror box in the camera body 20, a movable reflecting mirror 201 (referred to as a movable half mirror for convenience) having a characteristic of transmitting a part of the light beam that has passed through the lenses 101a and 101b is disposed. The movable half mirror 201 is driven by a movable mirror drive mechanism 215 and can rotate along an axis in a direction perpendicular to the paper surface around a rotation shaft 201a. When the movable half mirror 201 is at a position inclined by 45 degrees with respect to the optical paths of the lenses 101a and 101b (the position indicated by the solid line in FIG. 1), a part (for example, 30%) of the subject luminous flux is reflected, and the camera body 20 Is guided to a distance measuring / photometric sensor 217 provided at the bottom. Further, the remainder (for example, 70%) of the subject luminous flux passes through the movable half mirror 201 and is guided in the direction of the CCD 221.

そして、可動ハーフミラー201がレンズ101a、101bの光路と略平行で、被写体光束を遮らない退避位置(図1において二点鎖線の位置)にあるときには、被写体光束の全部がCCD221に導かれる。この可動ハーフミラー201の構造については、図2を用いて後述する。なお、本実施形態においては、可動ハーフミラー201の回動中心は、ミラーボックス内の下側であったが、これに限らず、上側でも良く、また左右のいずれかに紙面に対して平行な回動中心にしても勿論構わない。また、可動ハーフミラー201の回動中心は、CCD221側に配置したが、これに限らず、マウント開口部側に配置しても勿論構わない。さらに、本実施形態においては、ハーフミラーの反射率と透過率はそれぞれ30%と70%であるが、この比率に限られず、適宜変更できる。 When the movable half mirror 201 is substantially parallel to the optical paths of the lenses 101a and 101b and is in a retracted position (a position indicated by a two-dot chain line in FIG. 1) that does not block the subject light beam, the entire subject light beam is guided to the CCD 221. The structure of the movable half mirror 201 will be described later with reference to FIG. In the present embodiment, the center of rotation of the movable half mirror 201 is the lower side in the mirror box, but is not limited to this, and may be the upper side or parallel to the paper surface on either the left or right side. Of course, the center of rotation may be used. Moreover, although the rotation center of the movable half mirror 201 is arranged on the CCD 221 side, it is not limited to this and may be arranged on the mount opening side. Furthermore, in this embodiment, the reflectance and transmittance of the half mirror are 30% and 70%, respectively, but are not limited to this ratio and can be changed as appropriate.

カメラ本体20内のミラーボックスの底部であって、可動ハーフミラー201によって反射された光束が導かれる位置に測距/測光センサ217が配置されている。この測距/測光センサ217は測距用のセンサと測光センサから構成されており、測光センサは被写体像を分割して測光する多分割測光素子で構成されている。また、測距センサはTTL位相差法によって測距するためのセンサである。測距/測光センサ217の出力は測距/測光処理回路219に送られる。測距/測光処理回路219は、測光センサの出力に基づいて評価測光値を出力し、また測距センサの出力に基づいて、レンズ101、101bによって結像される被写体像の焦点ズレ量を測定する。なお、測距センサと測光センサは別体に構成しても、一体に構成しても良い。 A distance measuring / photometric sensor 217 is arranged at the bottom of the mirror box in the camera body 20 at a position where the light beam reflected by the movable half mirror 201 is guided. The distance measuring / photometric sensor 217 includes a distance measuring sensor and a photometric sensor. The photometric sensor includes a multi-division photometric element that divides a subject image and performs photometry. The distance measuring sensor is a sensor for measuring a distance by the TTL phase difference method. The output of the distance measurement / photometry sensor 217 is sent to the distance measurement / photometry processing circuit 219. The distance measurement / photometry processing circuit 219 outputs an evaluation photometric value based on the output of the photometry sensor, and measures the focus shift amount of the subject image formed by the lenses 101 and 101b based on the output of the distance measurement sensor. To do. Note that the distance measuring sensor and the photometric sensor may be configured separately or integrally.

可動反射ミラー201の後方、かつレンズ101a、101bの光軸上であって、撮影光路上には、露光時間制御およびCCD221の遮光用のフォーカルプレーンタイプのシャッタ203が配置されており、このシャッタ203はシャッタ駆動機構213によって駆動制御される。シャッタ203の後方には防塵フィルタ205が配置されており、これは、カメラ本体20のマウント開口部や本体内部で発生した塵埃がCCD221や光学素子に付着して塵埃の影が被写体像に写しこまれ、見苦しくなることを防止するためのフィルタである。 A focal plane type shutter 203 for exposure time control and light shielding of the CCD 221 is disposed behind the movable reflecting mirror 201 and on the optical axis of the lenses 101a and 101b and on the photographing optical path. Is driven and controlled by a shutter drive mechanism 213. A dustproof filter 205 is disposed behind the shutter 203. This is because dust generated in the mount opening of the camera body 20 and inside the body adheres to the CCD 221 and the optical element, and the shadow of the dust is reflected in the subject image. It is a filter to prevent it from becoming unsightly.

防塵フィルタ205の周縁部の全周または一部に圧電素子207が固着され、この圧電素子207は防塵フィルタ駆動回路211に接続され、この回路によって駆動される。圧電素子207は防塵フィルタ駆動回路211によって、防塵フィルタ205が所定の超音波で振動するよう駆動され、その振動を利用して防塵フィルタ205の前面に付着した塵埃を除去する。なお、CCD等の撮像素子自体もしくは撮像素子の前面側に配設された光学素子に付着した塵埃を除去できるものであれば、本実施形態のような超音波振動を利用したものに限らず、空気ポンプ等を利用して空気流によって吹き飛ばすものや、静電気を利用して塵埃を集塵して除去するもの等、種々の方法に適宜、置き換えても勿論構わない。 A piezoelectric element 207 is fixed to the entire periphery or a part of the periphery of the dustproof filter 205, and this piezoelectric element 207 is connected to the dustproof filter drive circuit 211 and driven by this circuit. The piezoelectric element 207 is driven by the dust filter driving circuit 211 so that the dust filter 205 vibrates with a predetermined ultrasonic wave, and the dust attached to the front surface of the dust filter 205 is removed using the vibration. In addition, as long as dust attached to the image pickup device itself such as a CCD or an optical element disposed on the front side of the image pickup device can be removed, it is not limited to one using ultrasonic vibration as in the present embodiment. Of course, it may be appropriately replaced with various methods such as a method of blowing off by an air flow using an air pump or a method of collecting and removing dust using static electricity.

防塵フィルタ205の後方には、被写体光束から赤外光成分をカットするための赤外カットフィルタ209が配置され、その後方には被写体光束から高周波成分を取り除くための光学的ローパスフィルタ210が配置されている。そして、光学的ローパスフィルタ210の後方には、撮像素子としてのCCD221が配置されており、レンズ101a、101bによって結像される被写体像を電気信号に光電変換する。これらの防塵フィルタ205、赤外カットフィルタ209、光学的ローパスフィルタ210およびCCD221は、図示しない密封されたパッケージに一体に収納されており、塵埃がこのパッケージ内に侵入しないように構成されている。なお、本実施形態では撮像素子としてCCDを用いているが、これに限らずCMOS(Complementary Metal Oxide
Semiconductor)等の二次元撮像素子を使用できることはいうまでもない。
An infrared cut filter 209 for cutting an infrared light component from the subject light beam is disposed behind the dust-proof filter 205, and an optical low-pass filter 210 for removing a high frequency component from the subject light beam is disposed behind the dust filter 205. ing. A CCD 221 serving as an image sensor is disposed behind the optical low-pass filter 210, and the subject image formed by the lenses 101a and 101b is photoelectrically converted into an electrical signal. The dustproof filter 205, the infrared cut filter 209, the optical low-pass filter 210, and the CCD 221 are integrally stored in a sealed package (not shown), and are configured so that dust does not enter the package. In the present embodiment, a CCD is used as an image sensor. However, the present invention is not limited to this, and a CMOS (Complementary Metal Oxide) is used.
Needless to say, a two-dimensional imaging device such as Semiconductor) can be used.

CCD221は撮像素子駆動回路223に接続され、入出力回路239からの制御信号によって駆動制御される。撮像素子駆動回路223によって、CCD221から出力された光電アナログ信号が増幅され、アナログデジタル変換(AD変換)される。撮像素子駆動回路223はASIC(Application Specific Integrated Circuit 特定用途向け集積回路)262内の画像処理回路227に接続され、この画像処理回路227によってデジタル画像データのデジタル的増幅(デジタルゲイン調整処理)、色補正、ガンマ(γ)補正、コントラスト補正、白黒・カラーモード処理、スルー画像処理、記録媒体記録用の動画像処理、トリミング処理といった各種の画像処理がなされる。画像処理回路227は、データバス261に接続されている。このデータバス261には、画像処理回路227の他、後述するシーケンスコントローラ(以下、「ボディCPU」と称す)229、圧縮伸張回路231、ビデオ信号出力回路233、SDRAM制御回路237、入出力回路239、通信回路241、記録媒体制御回路243、フラッシュメモリ制御回路247、スイッチ検出回路253が接続されている。 The CCD 221 is connected to the image sensor driving circuit 223 and is driven and controlled by a control signal from the input / output circuit 239. A photoelectric analog signal output from the CCD 221 is amplified and analog-digital converted (AD converted) by the image sensor driving circuit 223. The image sensor driving circuit 223 is connected to an image processing circuit 227 in an ASIC (Application Specific Integrated Circuit) 262, and the image processing circuit 227 performs digital amplification (digital gain adjustment processing) and color of digital image data. Various image processing such as correction, gamma (γ) correction, contrast correction, monochrome / color mode processing, through image processing, moving image processing for recording medium recording, and trimming processing are performed. The image processing circuit 227 is connected to the data bus 261. In addition to the image processing circuit 227, the data bus 261 includes a sequence controller (hereinafter referred to as "body CPU") 229, a compression / decompression circuit 231, a video signal output circuit 233, an SDRAM control circuit 237, and an input / output circuit 239. A communication circuit 241, a recording medium control circuit 243, a flash memory control circuit 247, and a switch detection circuit 253 are connected.

データバス261に接続されているボディCPU229は、このデジタルカメラの動作を制御するものである。またデータバス261に接続されている圧縮伸張回路231はSDRAM238に記憶された画像データをJPEGやMJPEG等の静止画用や動画用の圧縮形式で圧縮するための回路である。なお、画像圧縮はJPEGやMJPEGに限らず、他の圧縮方法も適用できる。データバス261に接続されたビデオ信号出力回路233は液晶モニタ駆動回路235を介して背面液晶モニタ26とファインダ内液晶モニタ29(図中F内液晶モニタと略記)に接続される。ビデオ信号出力回路233は、SDRAM238、または記録媒体245に記憶された画像データを、背面液晶モニタ26および/またはファインダ内液晶モニタ29に表示するためのビデオ信号に変換するための回路である。 The body CPU 229 connected to the data bus 261 controls the operation of this digital camera. A compression / decompression circuit 231 connected to the data bus 261 is a circuit for compressing the image data stored in the SDRAM 238 in a compression format for still images such as JPEG and MJPEG and for moving images. Note that image compression is not limited to JPEG or MJPEG, and other compression methods can be applied. The video signal output circuit 233 connected to the data bus 261 is connected to the rear liquid crystal monitor 26 and the finder liquid crystal monitor 29 (abbreviated as “F liquid crystal monitor” in the figure) via the liquid crystal monitor drive circuit 235. The video signal output circuit 233 is a circuit for converting the image data stored in the SDRAM 238 or the recording medium 245 into a video signal for display on the rear liquid crystal monitor 26 and / or the in-viewfinder liquid crystal monitor 29.

背面液晶モニタ26はカメラ本体20の背面に配置されるが、撮影者が観察できる位置であれば、背面に限らないし、また液晶に限らず他の表示装置でも構わない。ファインダ内液晶モニタ29は、ファインダ接眼部を介して撮影者によって観察できる位置に配置されており、背面液晶モニタ26と同様、液晶に限らず他の表示装置でも構わない。なお、被写体像の観察として背面液晶モニタ26のみとし、ファインダ接眼部およびファインダ内液晶モニタ29を省略することも可能である。 The rear liquid crystal monitor 26 is disposed on the rear surface of the camera body 20. However, the rear liquid crystal monitor 26 is not limited to the rear surface and may be other display devices as long as the photographer can observe. The in-viewfinder liquid crystal monitor 29 is disposed at a position that can be observed by the photographer through the viewfinder eyepiece, and, like the rear liquid crystal monitor 26, is not limited to the liquid crystal and may be another display device. Note that only the rear liquid crystal monitor 26 may be used for observation of the subject image, and the finder eyepiece and the finder liquid crystal monitor 29 may be omitted.

SDRAM238は、SDRAM制御回路237を介してデータバス261に接続されており、このSDRAM238は、画像処理回路227によって画像処理された画像データまたは圧縮伸張回路231によって圧縮された画像データを一時的に記憶するためのバッファメモリである。上述の防塵フィルタ駆動回路211、シャッタ駆動機構213、可動ミラー駆動回路215、測距/測光処理回路219、撮像素子駆動回路223に接続される入出力回路239は、データバス261を介してボディCPU229等の各回路とデータの入出力を制御する。レンズCPU111と通信接点300を介して接続された通信回路241は、データバス261に接続され、ボディCPU229等とのデータのやりとりや制御命令の通信を行う。 The SDRAM 238 is connected to the data bus 261 via the SDRAM control circuit 237, and the SDRAM 238 temporarily stores the image data processed by the image processing circuit 227 or the image data compressed by the compression / expansion circuit 231. This is a buffer memory. The input / output circuit 239 connected to the above-described dustproof filter drive circuit 211, shutter drive mechanism 213, movable mirror drive circuit 215, distance measurement / photometry processing circuit 219, and image sensor drive circuit 223 is connected to the body CPU 229 via the data bus 261. Control input / output of data with each circuit. The communication circuit 241 connected to the lens CPU 111 via the communication contact 300 is connected to the data bus 261, and exchanges data with the body CPU 229 and the like and communicates control commands.

データバス261に接続された記録媒体制御回路243は、記録媒体245に接続され、この記録媒体245への画像データ等の記録の制御を行う。記録媒体245は、xDピクチャーカード(登録商標)、コンパクトフラッシュ(登録商標)、SDメモリカード(登録商標)またはメモリスティック(登録商標)等の書換え可能な記録媒体のいずれかが装填可能となるように構成され、カメラ本体20に対して着脱自在となっている。その他、マイクロドライブ(登録商標)などの様なハードディスクユニットや無線通信ユニットを接続可能に構成してもよい。 A recording medium control circuit 243 connected to the data bus 261 is connected to the recording medium 245 and controls recording of image data and the like on the recording medium 245. The recording medium 245 can be loaded with any rewritable recording medium such as an xD picture card (registered trademark), a compact flash (registered trademark), an SD memory card (registered trademark), or a memory stick (registered trademark). And is detachable from the camera body 20. In addition, a hard disk unit such as a microdrive (registered trademark) or a wireless communication unit may be connectable.

データバス261に接続されているフラッシュメモリ制御回路247は、フラッシュメモリ(Flash Memory)249に接続され、このフラッシュメモリ249は、カメラのフローを制御するためのプログラムが記憶されており、ボディCPU229はこのフラッシュメモリ249に記憶されたプログラムに従ってデジタルカメラの制御を行う。なお、フラッシュメモリ249は、電気的に書換可能な不揮発性メモリである。 A flash memory control circuit 247 connected to the data bus 261 is connected to a flash memory 249. The flash memory 249 stores a program for controlling the flow of the camera. The digital camera is controlled according to the program stored in the flash memory 249. Note that the flash memory 249 is an electrically rewritable nonvolatile memory.

カメラ本体20やレンズ鏡筒10のパワー供給の制御を行うためのパワースイッチレバーに連動してオン・オフするパワースイッチ257と、シャッタレリーズ釦に連動するスイッチ、再生モードを指示する再生釦に連動するスイッチ、背面液晶モニタ26の画面でカーソルの動きを指示する十字釦に連動するスイッチ、撮影モードを指示するモードダイヤルに連動するスイッチ、選択された各モード等を決定するOK釦に連動するOKスイッチ、着脱検知スイッチ259等の各種スイッチ255は、スイッチ検出回路253を介してデータバス261に接続されている。 Power switch 257 that is turned on / off in conjunction with a power switch lever for controlling power supply of the camera body 20 and the lens barrel 10, a switch that is linked to a shutter release button, and a playback button that designates a playback mode. , A switch linked to the cross button for instructing the movement of the cursor on the screen of the rear LCD monitor 26, a switch linked to the mode dial for instructing the shooting mode, and an OK linked to the OK button for determining each selected mode. Various switches 255 such as a switch and an attachment / detachment detection switch 259 are connected to the data bus 261 via a switch detection circuit 253.

なお、レリーズ釦は、撮影者が半押しするとオンする第1レリーズスイッチと、全押しするとオンする第2レリーズスイッチを有している。この第1レリーズスイッチ(以下、1Rと称する)のオンによりカメラは焦点検出、撮影レンズのピントあわせ、被写体輝度の測光等の撮影準備動作を行い、第2レリーズスイッチ(以下、2Rと称する)のオンにより撮像素子としてのCCD221の出力に基づいて被写体像の画像データの取り込みを行う撮影動作を実行する。 The release button has a first release switch that is turned on when the photographer is half-pressed and a second release switch that is turned on when the photographer is fully pressed. When the first release switch (hereinafter referred to as 1R) is turned on, the camera performs photographing preparation operations such as focus detection, focusing of the photographing lens, and photometry of the subject brightness, and the second release switch (hereinafter referred to as 2R). When the switch is turned on, a shooting operation for capturing image data of a subject image is executed based on the output of the CCD 221 serving as an image sensor.

次に、図2を用いて、可動ハーフミラー201の駆動手段および退避手段について説明する。被写体光束の一部を透過し一部を反射するハーフミラー401はミラー枠403によって保持される。このミラー枠403は孔403aに介挿される軸411の回りに回動自在であり、図1の回動軸201aは、軸411の中心軸となる。カメラ本体20に固定されたピン409とミラー枠403に植設された駆動ピン405の間には開きバネ407の両端がそれぞれ係合しており、この開きバネ407のコイル部分は軸411に巻装されている。この開きバネ407のバネ力によって、ミラー枠403は図中反時計方向(矢印A方向)に付勢力を受けている。駆動ピン405と係止レバー413の一端が係合しており、この係止レバー413の他端に植設されたカムピン415はミラー用カム417に係接している。 Next, the driving means and retracting means of the movable half mirror 201 will be described with reference to FIG. A half mirror 401 that transmits part of the subject luminous flux and reflects part of it is held by a mirror frame 403. The mirror frame 403 is rotatable around a shaft 411 inserted in the hole 403 a, and the rotation shaft 201 a in FIG. 1 is a central axis of the shaft 411. Both ends of an opening spring 407 are engaged between a pin 409 fixed to the camera body 20 and a driving pin 405 implanted in the mirror frame 403, and a coil portion of the opening spring 407 is wound around a shaft 411. It is disguised. Due to the spring force of the opening spring 407, the mirror frame 403 receives a biasing force in the counterclockwise direction (arrow A direction) in the figure. One end of the drive pin 405 and the locking lever 413 are engaged, and the cam pin 415 implanted at the other end of the locking lever 413 is engaged with the mirror cam 417.

係止レバー413は回動中心が不図示のミラーボックスに軸支されており、駆動ピン405を介して開きバネ407のバネ力によって図中反時計方向(矢印B方向)に付勢力を受けている。よって、係止レバー413のカムピン415がミラー用カム417のカム面に圧接している。ミラー用カム417のカム面は回転中心からの半径方向の長さが変化するように形成されている。すなわち、カム面上の係止位置417aでは回転中心からの距離が長くなるように形成され、係止解除位置417bでは係止位置417aに比して回転中心からの距離が短くなるように形成されている。そして図中反時計回り方向に係止位置417aから係止解除位置417bへと段差417cをもってカム面が形成され、係止解除位置417bから係止位置417aへと滑らかに変位するようにカム面が形成される。 The locking lever 413 is pivotally supported by a mirror box (not shown), and receives a biasing force counterclockwise (arrow B direction) in the figure by the spring force of the opening spring 407 via the drive pin 405. Yes. Therefore, the cam pin 415 of the locking lever 413 is in pressure contact with the cam surface of the mirror cam 417. The cam surface of the mirror cam 417 is formed so that the length in the radial direction from the center of rotation changes. That is, the locking position 417a on the cam surface is formed so that the distance from the rotation center is longer, and the locking release position 417b is formed so that the distance from the rotation center is shorter than the locking position 417a. ing. A cam surface is formed with a step 417c from the locking position 417a to the locking release position 417b in the counterclockwise direction in the drawing, and the cam surface is smoothly displaced from the locking release position 417b to the locking position 417a. It is formed.

ミラー用カム417の係止位置417aがカムピン415と当接する位置にあるとき、係止レバー413はミラー用カム417により矢印B方向の回動が規制されていることから、ミラー枠403を反射位置に保持する。この状態から、段差417cを経て係止解除位置417bがカムピン415と当接する位置へとミラー用カム417を図中時計回りに回動させると、係止レバー413の矢印B方向への回動が可能となる。よって開きバネ407の付勢力により、ミラー枠403が矢印A方向へと回動して退避位置へと変位する。なお、ミラー用カム417は図示しないモータによって回転駆動される。 When the locking position 417a of the mirror cam 417 is in a position where it abuts on the cam pin 415, the locking lever 413 is restricted from rotating in the direction of arrow B by the mirror cam 417. Hold on. From this state, when the mirror cam 417 is rotated clockwise in the drawing to a position where the unlocking position 417b contacts the cam pin 415 through the step 417c, the locking lever 413 is rotated in the arrow B direction. It becomes possible. Therefore, the mirror frame 403 is rotated in the direction of arrow A by the urging force of the opening spring 407 and displaced to the retracted position. The mirror cam 417 is rotationally driven by a motor (not shown).

このように可動ハーフミラー201を撮影光路内の反射位置(図2中実線で示す位置)へと駆動させる駆動手段は、ミラー用カム417、係止レバー413などを含む。また可動ハーフミラー201を撮影光路外の退避位置(図2中二点鎖線で示す位置)へと駆動する退避手段は、開きバネ407を含んでいる。なお、駆動手段や退避手段は、このような構成に限らず、可動ハーフミラー201を駆動できれば他の構成でも良い。 The driving means for driving the movable half mirror 201 to the reflection position (the position indicated by the solid line in FIG. 2) in the imaging optical path includes a mirror cam 417, a locking lever 413, and the like. Further, the retracting means for driving the movable half mirror 201 to the retracted position (the position indicated by the two-dot chain line in FIG. 2) outside the imaging optical path includes an opening spring 407. The driving unit and the retracting unit are not limited to such a configuration, and other configurations may be used as long as the movable half mirror 201 can be driven.

このように可動ハーフミラー201は構成されているので、図示しないモータにより、カムピン415が係止解除位置417bに接する位置に駆動されたときには、ミラー枠403および係止レバー413が開きバネ407の付勢力によって、矢印B方向に回動し、ミラー枠403は、図中、二点鎖線のように退避位置となる。この状態で、モータによってミラー用カム417を回動させ係止位置417aがカムピン415と接する位置になると、係止レバー413は時計方向(矢印B方向と逆方向)に回動され、開きバネ407の付勢力に抗して駆動ピン405を介しミラー枠403を時計方向(矢印A方向と逆方向)に回動させ、図中、実線の如き反射位置に位置させる。 Since the movable half mirror 201 is configured in this way, when the cam pin 415 is driven to a position in contact with the locking release position 417b by a motor (not shown), the mirror frame 403 and the locking lever 413 are opened and the spring 407 is attached. The mirror frame 403 is moved to the retracted position as shown by a two-dot chain line in the figure by the force. In this state, when the mirror cam 417 is rotated by the motor and the locking position 417a comes into contact with the cam pin 415, the locking lever 413 is rotated in the clockwise direction (the direction opposite to the arrow B direction), and the opening spring 407 is rotated. The mirror frame 403 is rotated clockwise (opposite to the direction of the arrow A) via the drive pin 405 against the urging force, and is positioned at a reflection position as shown by a solid line in the drawing.

次に、本発明の一実施形態におけるデジタルカメラの動作について図3乃至図6に示すフローチャートを用いて説明する。図3に示すパワーオンリセットのフローに入ると、カメラ本体20のパワースイッチ257がオンとなったかを判定する(S1)。判定の結果、パワースイッチ257がオフの場合には、ステップS5に進み、低消費電力の状態であるスリープ状態となる。このスリープ状態ではパワースイッチ257がオンとなった場合のみに割り込み処理を行い、ステップS7以下においてパワースイッチオンのための処理を行う。パワースイッチがオンとなるまでは、パワースイッチ割り込み処理以外の動作を停止し、電源電池の消耗を防止する。 Next, the operation of the digital camera in one embodiment of the present invention will be described using the flowcharts shown in FIGS. In the power-on reset flow shown in FIG. 3, it is determined whether the power switch 257 of the camera body 20 is turned on (S1). As a result of the determination, if the power switch 257 is off, the process proceeds to step S5 to enter a sleep state that is a state of low power consumption. In this sleep state, interrupt processing is performed only when the power switch 257 is turned on, and processing for turning on the power switch is performed in step S7 and subsequent steps. Until the power switch is turned on, operations other than power switch interrupt processing are stopped to prevent the power battery from being consumed.

ステップS1において、パワースイッチ257がオンであった場合には、ステップS3に進み、着脱スイッチ259がオフか否かを判定する。前述したように着脱検知スイッチ259は、レンズ鏡筒10がカメラ本体20から外されると、オフとなるスイッチである。オフであった場合、すなわちレンズ鏡筒10が離脱していた場合には、後述するステップS67に進む。これは、レンズ鏡筒10が離脱している状態でカメラ本体20のパワースイッチレバーが操作され、パワーオンとなった場合に、レンズ離脱時と同様な処理をするためである。ステップS3において、着脱スイッチ259がオンであった場合には、ステップS7以下に進み、パワースイッチオンのための処理を行う。 In step S1, when the power switch 257 is on, the process proceeds to step S3, and it is determined whether the attach / detach switch 259 is off. As described above, the attachment / detachment detection switch 259 is a switch that is turned off when the lens barrel 10 is removed from the camera body 20. If it is off, that is, if the lens barrel 10 is detached, the process proceeds to step S67 described later. This is because when the power switch lever of the camera body 20 is operated and the power is turned on with the lens barrel 10 detached, the same processing as when the lens is detached is performed. If it is determined in step S3 that the attach / detach switch 259 is on, the process proceeds to step S7 and subsequent steps to perform processing for turning on the power switch.

ステップS7では、可動ハーフミラー201の復帰を行う。これは、パワースイッチ257がオフの状態では、可動ハーフミラー201は撮影光路から退避した位置にあるが(図1において二点鎖線の状態)、レンズ鏡筒10からの被写体光束を測距/測光センサ217に導き、必要に応じて測光および測距を行うためである。ステップS9では、防塵フィルタ205における塵埃除去動作を行う。これは防塵フィルタ205に固着された圧電素子207に防塵フィルタ駆動回路211から駆動電圧を印加し、前述したように超音波振動によって塵埃等を除去する動作である。続いて、シャッタ駆動回路213によってシャッタ203の開放動作を行う(S11)。 In step S7, the movable half mirror 201 is returned. This is because the movable half mirror 201 is in a position retracted from the photographing optical path when the power switch 257 is off (in the state of the two-dot chain line in FIG. 1), but the subject luminous flux from the lens barrel 10 is measured / photometrically measured. This is for guiding to the sensor 217 and performing photometry and distance measurement as necessary. In step S9, the dust removal operation in the dustproof filter 205 is performed. This is an operation in which a driving voltage is applied from the dustproof filter driving circuit 211 to the piezoelectric element 207 fixed to the dustproof filter 205, and dust and the like are removed by ultrasonic vibration as described above. Subsequently, the shutter driving circuit 213 performs an opening operation of the shutter 203 (S11).

これによって、可動ハーフミラー201を透過した被写体光束は、シャッタ203によって遮られないので、CCD221上に被写体像が結像される。このCCD221によって撮像された画像データを用いて背面液晶モニタ26に被写体像を動画表示するスルー画表示の開始をするためにスルー画条件の初期設定を行う(S13)。スルー画条件の初期設定は、CCD221の電子シャッタ速度TVとISO感度SVのデフォルト値を設定する。また、スルー画表示を行う際のフレームレートの設定(本実施形態では30fps)も行う。ここで、設定されたフレームレートに従って背面液晶モニタ26等に表示されるように、CCD221での読み出しや画像処理回路227・ビデオ信号出力回路233・液晶モニタ駆動回路235等の処理がなされる。これでスルー画表示の準備ができたので、スルー画開始を指示する(S15)。なお、スルー画表示動作の制御はこの開始指示を受けて画像処理回路227にて行われる。 As a result, the subject light flux that has passed through the movable half mirror 201 is not blocked by the shutter 203, so that a subject image is formed on the CCD 221. Using the image data picked up by the CCD 221, the through image conditions are initially set in order to start the through image display in which the subject image is displayed as a moving image on the rear liquid crystal monitor 26 (S13). The initial setting of the through image conditions is to set default values of the electronic shutter speed TV and ISO sensitivity SV of the CCD 221. In addition, the frame rate for displaying the through image is set (in this embodiment, 30 fps). Here, reading by the CCD 221 and processing of the image processing circuit 227, the video signal output circuit 233, the liquid crystal monitor driving circuit 235, and the like are performed so that the image is displayed on the rear liquid crystal monitor 26 and the like according to the set frame rate. Since the through image display is now ready, the start of the through image is instructed (S15). The through image display operation is controlled by the image processing circuit 227 in response to the start instruction.

次に、図示しないモードダイヤル等によって設定されたプログラム撮影モード等の静止画撮影用の撮影モードや動画撮影モード等の撮影モードや、ISO感度、マニュアル設定されたシャッタ速度や絞り値等の情報があればそれらの撮影条件の読み込みを行う(S17)。そして、レンズCPU111と通信を行い、レンズデータ記憶回路112に記憶されている種々のレンズデータ、例えば、ワイド側焦点距離、テレ側焦点距離、至近距離、開放絞り値、画角変化Δkt、Δkw情報(図7参照)等の情報や、光学系駆動機構107の状態を検出し、現在設定されている焦点距離、現在の設定ピント位置等の種々のレンズデータの読み込みを行う(S19)。 Next, information such as a shooting mode for still image shooting such as a program shooting mode set by a mode dial (not shown) or a shooting mode such as a movie shooting mode, ISO sensitivity, a manually set shutter speed, an aperture value, etc. If there are, the photographing conditions are read (S17). Then, it communicates with the lens CPU 111, and various lens data stored in the lens data storage circuit 112, for example, wide-side focal length, tele-side focal length, close distance, full aperture value, field angle change Δkt, Δkw information The information such as (see FIG. 7) and the state of the optical system driving mechanism 107 are detected, and various lens data such as the currently set focal length and the current set focus position are read (S19).

続いて、狙いとする適正露光量となる露出値EVで動画の画像データを取得できるようにし、背面液晶モニタ26および/またはファインダ内液晶29に適切な明るさ(明度)の像を表示するためのスルー画条件設定を行う(S21)。このステップでは、CCD221の駆動にあたっての電子シャッタスピードTVと感度SVの条件設定を行うものであって、最初はステップS13で初期設定した値を用い、狙いの画像明度となるように、電子シャッタスピードTVと感度SVの調整を行う。 Subsequently, the image data of the moving image can be acquired with the exposure value EV that is the target appropriate exposure amount, and an image with appropriate brightness (lightness) is displayed on the rear liquid crystal monitor 26 and / or the liquid crystal 29 in the viewfinder. The through image condition is set (S21). In this step, conditions for the electronic shutter speed TV and sensitivity SV for driving the CCD 221 are set. Initially, the values initially set in step S13 are used, and the electronic shutter speed is set so that the target image brightness is obtained. Adjust TV and sensitivity SV.

次に、ステップS23に進み、再生モードか否かの判定を行う。この再生モードは、再生釦が操作された際に、記録媒体245に記録された画像データを読み出して背面液晶モニタ26および/またはファインダ内液晶29に表示するモードである。判定の結果、再生モードが設定された場合には、ステップS41に進み、画像処理回路227に対してスルー画表示を停止するよう指示する。そのあと、シャッタ203の閉じ動作を行ってから(S43)、記録媒体245に記録されている画像データを読出し、圧縮伸張回路231にて画像データを伸張し、ビデオ信号出力回路233および液晶モニタ駆動回路235を介して、背面液晶モニタ26および/またはファインダ内液晶29に静止画または動画を再生表示する(S45)。再生動作中にレリーズ釦の半押し等、他の手動操作がなされた場合には、再生動作を終了してステップS9に戻り、前述の動作を繰り返す。 Next, it progresses to step S23 and it is determined whether it is a reproduction | regeneration mode. This playback mode is a mode in which image data recorded on the recording medium 245 is read and displayed on the rear liquid crystal monitor 26 and / or the finder liquid crystal 29 when the playback button is operated. If the reproduction mode is set as a result of the determination, the process proceeds to step S41 to instruct the image processing circuit 227 to stop the through image display. Thereafter, after the shutter 203 is closed (S43), the image data recorded on the recording medium 245 is read, the image data is expanded by the compression / decompression circuit 231, and the video signal output circuit 233 and the liquid crystal monitor are driven. A still image or a moving image is reproduced and displayed on the rear liquid crystal monitor 26 and / or the viewfinder liquid crystal 29 via the circuit 235 (S45). If another manual operation such as half-pressing the release button is performed during the reproduction operation, the reproduction operation is terminated and the process returns to step S9 to repeat the above operation.

ステップS23に戻り、再生モードが設定されていなかった場合には、ステップS25に進み、メニューモードが設定されているか否かを判定する。これは、メニュー釦が操作され、メニューモードが設定されているか否かを判定する。判定の結果、メニューモードが設定されていた場合には、再生モードが設定されていた場合と同様に、スルー画停止指示が出力され(S47)、シャッタ203に閉じ指令を出力する(S49)。この後、メニュー設定動作を行う(S51)。メニュー設定動作が終了すると、ステップS9に戻り、前述の動作を繰り返す。 Returning to step S23, if the playback mode has not been set, the process proceeds to step S25 to determine whether the menu mode has been set. This determines whether the menu button is operated and the menu mode is set. As a result of the determination, if the menu mode is set, a through image stop instruction is output (S47) and a close command is output to the shutter 203 (S49) as in the case where the playback mode is set. Thereafter, a menu setting operation is performed (S51). When the menu setting operation is completed, the process returns to step S9, and the above operation is repeated.

ステップS25に戻り、判定の結果、メニューモードが設定されていなかった場合には、ステップS27に進み、レリーズ釦が半押しされたか、すなわち1Rスイッチがオンか否かの判定を行う。判定の結果、1Rがオンであった場合には、ステップS53に進み、ステップS17で読み込んだ撮影モードが動画モードであったか否かの判定を行う。判定の結果、動画モードであった場合には、ステップS55に進み動画撮影動作のサブルーチンを実行し、動画モードでなかった場合、すなわち静止画モードであった場合には、ステップS57に進み静止画撮影動作のサブルーチンを実行する。これらの動画撮影動作のサブルーチンは図6を用い、静止画撮影動作のサブルーチンは図5を用いて後述する。動画撮影動作のサブルーチンが終了すると、ステップS17に戻り、また静止画撮影動作のサブルーチンが終了すると、ステップS9に戻り、それぞれ前述のステップを繰り返す。 Returning to step S25, if the result of determination is that the menu mode has not been set, processing proceeds to step S27, where it is determined whether the release button has been pressed halfway, that is, whether the 1R switch is on. As a result of the determination, if 1R is on, the process proceeds to step S53, and it is determined whether or not the shooting mode read in step S17 is the moving image mode. If the result of determination is that it is in moving image mode, the flow proceeds to step S55 to execute a moving image shooting operation subroutine. If it is not in moving image mode, that is, if it is still image mode, the flow proceeds to step S57. A shooting operation subroutine is executed. The subroutine for the moving image shooting operation will be described later using FIG. 6, and the subroutine for the still image shooting operation will be described later with reference to FIG. When the subroutine for moving image shooting operation ends, the process returns to step S17. When the subroutine for still image shooting operation ends, the process returns to step S9, and the above steps are repeated.

ステップS27に戻り、判定の結果、1Rスイッチがオフであった場合には、ステップS29に進み、ステップS3と同様に、着脱検知スイッチ259がオフか否かを判定する。レンズ鏡筒10が離脱されると、再生モードにおけるステップS41およびS43と同様に、スルー画停止指示を出力し(S61)、シャッタ203の閉じ動作を行う(S63)。この後、可動ハーフミラー201の退避動作を行う(S65)。退避動作は、前述したように、モータを駆動してミラー用カム417を回動させ、開きバネ407の付勢力によってミラー枠403を撮影光路から退避した位置に回動させることにより行う(図1および図2の二点鎖線の位置)。 Returning to step S27, if the result of determination is that the 1R switch is off, processing proceeds to step S29, where it is determined whether the attachment / detachment detection switch 259 is off, as in step S3. When the lens barrel 10 is detached, a through image stop instruction is output (S61) and the shutter 203 is closed (S63), as in steps S41 and S43 in the reproduction mode. Thereafter, the retracting operation of the movable half mirror 201 is performed (S65). As described above, the retracting operation is performed by driving the motor to rotate the mirror cam 417 and rotating the mirror frame 403 to the position retracted from the photographing optical path by the biasing force of the opening spring 407 (FIG. 1). And the position of the chain double-dashed line in FIG.

可動ハーフミラー201の退避動作が終わると、またはステップS3で着脱検知スイッチ259がオフであると判定された場合(すなわち、レンズ鏡筒10が離脱している場合)には、ステップS67に進み、着脱検知スイッチ259がオンか否かを判定する。ステップS29において、レンズ鏡筒10が離脱されたことを検出した後、レンズ鏡筒10が再び装着されたか否かを判定するものである。判定の結果、装着されていた場合には、ステップS71に進み、可動ハーフミラー201を復帰させる。これは、前述したように、モータを駆動してミラー用カム417を回動させ、開きバネ407の付勢力に抗して、カム面によって係止レバー413を時計方向に回動させ、ミラー枠403をレンズ101a、101bの光路中に介挿させる。可動ハーフミラー201の復帰が終わると、ステップS9に戻り、前述のステップを繰り返す。 When the retracting operation of the movable half mirror 201 is completed, or when it is determined in step S3 that the attachment / detachment detection switch 259 is off (that is, when the lens barrel 10 is detached), the process proceeds to step S67. It is determined whether the attachment / detachment detection switch 259 is on. In step S29, after detecting that the lens barrel 10 is detached, it is determined whether or not the lens barrel 10 is mounted again. As a result of the determination, if it is mounted, the process proceeds to step S71, and the movable half mirror 201 is returned. As described above, the mirror cam 417 is rotated by driving the motor, the locking lever 413 is rotated clockwise by the cam surface against the urging force of the opening spring 407, and the mirror frame. 403 is inserted in the optical path of the lenses 101a and 101b. When the return of the movable half mirror 201 is completed, the process returns to step S9 and the above-described steps are repeated.

ステップS67に戻り、着脱検知スイッチ259がオフであった場合には、ステップS69に進み、パワースイッチ257がオンか否かを判定する。レンズ鏡筒10が離脱され、パワースイッチ257がオンの場合には、各種操作釦が操作されても、マウント開口部が開放のままなので、誤動作防止の観点から、カメラ動作を行わないようにしている。そのため、ステップS67にてレンズ鏡筒10の装着状態と、ステップS69においてパワースイッチレバーの操作状態の判定を繰り返し行う待機状態となる。ステップS67において、パワースイッチ257がオフと判定されると、ステップS5に戻り、スリープ状態になる。なお、ステップS67において、レンズ鏡筒10が離脱されたままであることを検出した場合に、ステップS69の判定を省略して、ステップS5に進みスリープ状態としてもよく、また、ステップS9に進み、各種操作釦による操作に基づく動作を行う等の変形は可能である。 Returning to step S67, if the attachment / detachment detection switch 259 is off, the process proceeds to step S69 to determine whether or not the power switch 257 is on. When the lens barrel 10 is detached and the power switch 257 is on, the mount opening remains open even when various operation buttons are operated. Therefore, from the viewpoint of preventing malfunction, the camera operation should not be performed. Yes. For this reason, in step S67, the lens barrel 10 is mounted, and in step S69, the standby state in which the determination of the operation state of the power switch lever is repeated. If it is determined in step S67 that the power switch 257 is off, the process returns to step S5 and enters a sleep state. If it is detected in step S67 that the lens barrel 10 remains detached, the determination in step S69 may be omitted, and the process may proceed to step S5 to enter the sleep state, or the process may proceed to step S9. Modifications such as performing an operation based on an operation by the operation button are possible.

ステップS29に戻り、判定の結果、着脱検知スイッチ259がオン、すなわちレンズ鏡筒10がカメラ本体に装着されていた場合には、ステップ31に進み、パワースイッチ257がオンか否かを判定する。判定の結果、オンであった場合には、ステップS17に戻り、前述のステップを繰り返す。ステップS15において、スルー画表示が開始された後、ステップS23以降において各種操作釦等が操作されない限り、可動ハーフミラー201を透過した被写体光束は、シャッタ203によって妨げられないので、CCD221上に被写体像が結像し、このCCD221によって撮像された画像データが背面液晶モニタ26および/またはファインダ内液晶29に動画像としてスルー画表示される。 Returning to step S29, if the result of determination is that the attachment / detachment detection switch 259 is on, that is, if the lens barrel 10 is mounted on the camera body, the routine proceeds to step 31, where it is determined whether or not the power switch 257 is on. If the result of determination is that it is on, processing returns to step S17 and the above steps are repeated. After the through image display is started in step S15, the subject luminous flux transmitted through the movable half mirror 201 is not blocked by the shutter 203 unless various operation buttons are operated in step S23 and the subsequent steps. The image data picked up by the CCD 221 is displayed as a moving image on the rear liquid crystal monitor 26 and / or the finder liquid crystal 29 as a moving image.

ステップS31において、パワースイッチ257がオフと判定された場合には、ステップS41、S43と同様に、画像処理回路227に対してスルー画表示を停止するよう指示し(S33)、シャッタ203の閉じ動作を行う(S35)。この後、前述のステップS65と同様にして、可動ハーフミラー201の退避動作を行った後(S37)、ステップS5に戻りスリープ状態となる。 If it is determined in step S31 that the power switch 257 is off, as in steps S41 and S43, the image processing circuit 227 is instructed to stop the live view display (S33), and the shutter 203 is closed. (S35). Thereafter, similarly to step S65 described above, after the retracting operation of the movable half mirror 201 is performed (S37), the process returns to step S5 and enters the sleep state.

次に、ステップS57の静止画撮影動作のサブルーチンについて図4を用いて説明する。このサブルーチンは前述したように、通常のプログラム撮影モード等の静止画撮影モードが選択されているときに、レリーズ釦の半押しがなされると実行される。まず、画像処理回路227や圧縮伸張回路231等に静止画モードであることを指示する(S91)。これによって、これらの回路は、静止画に適した処理を行う。 Next, the subroutine for the still image shooting operation in step S57 will be described with reference to FIG. As described above, this subroutine is executed when the release button is pressed halfway when a still image shooting mode such as a normal program shooting mode is selected. First, the image processing circuit 227, the compression / decompression circuit 231 and the like are instructed to be in the still image mode (S91). As a result, these circuits perform processing suitable for still images.

静止画モードの指示が終わると、メニューモードでユーザ設定された画像サイズと圧縮率に基づいて、画像処理回路227や圧縮伸張回路231に対して画像サイズと圧縮率の指示を行う(S93)。ここで画像サイズとしては、例えば、3200*2400、1600*1200、640*480等であり、圧縮率は画像サイズによって自動的に決定されるとするが、ユーザが任意に設定するようにしても勿論構わない。 When the still image mode instruction is completed, the image size and compression ratio are instructed to the image processing circuit 227 and compression / decompression circuit 231 based on the image size and compression ratio set by the user in the menu mode (S93). Here, the image size is, for example, 3200 * 2400, 1600 * 1200, 640 * 480, and the compression rate is automatically determined according to the image size, but may be arbitrarily set by the user. Of course.

続いて、測距動作と測距結果に基づいて撮影レンズを合焦位置に駆動する位相差AF1のサブルーチンを実行する(S95)。測距にあたっては、可動ハーフミラー201によって反射された被写体光束を測距/測光センサ217内の測距センサが受光し、この測距センサの出力を用いて測距/測光処理回路219やボディCPU229等はTTL位相差法によってレンズ101a、101bの焦点ズレ量を検出し、この検出された焦点ズレ量に基づいて、レンズCPU111を介して、光学系駆動機構107によってピント位置にレンズ101a、101bを駆動する。この位相差AF1は、後述するステップS175の位相差AF2のサブルーチンよりは高精度のAFを行う。なお、この位相差AF1のサブルーチンについては、図6を用いて後述する。 Subsequently, a subroutine of phase difference AF1 for driving the photographing lens to the in-focus position based on the distance measurement operation and the distance measurement result is executed (S95). In the distance measurement, the subject light flux reflected by the movable half mirror 201 is received by the distance measurement sensor in the distance measurement / photometry sensor 217, and the distance measurement / photometry processing circuit 219 and the body CPU 229 are output using the output of the distance measurement sensor. And the like detect the focal shift amounts of the lenses 101a and 101b by the TTL phase difference method, and the lenses 101a and 101b are brought into focus by the optical system driving mechanism 107 via the lens CPU 111 based on the detected focal shift amounts. To drive. This phase difference AF1 performs AF with higher accuracy than the subroutine of phase difference AF2 in step S175 described later. The subroutine for the phase difference AF1 will be described later with reference to FIG.

次に、測光・露光量演算を行う(S97)。これも可動ハーフミラー201によって反射された被写体光束を測距/測光センサ217の測光センサが受光し、測距/測光処理回路219によって処理することにより、被写体輝度BVを検出する。ボディCPU229は、この被写体輝度BVを用いて露光量EVを求め、さらに撮影モード等に従ってシャッタ速度や絞り等の露出条件を求める。 Next, photometry / exposure amount calculation is performed (S97). The subject luminous flux reflected by the movable half mirror 201 is also received by the photometry sensor of the distance measurement / photometry sensor 217 and processed by the distance measurement / photometry processing circuit 219, thereby detecting the subject brightness BV. The body CPU 229 obtains the exposure amount EV using the subject luminance BV, and further obtains the exposure conditions such as the shutter speed and the aperture according to the photographing mode.

測光・露光量演算が終わると、次に、レリーズ釦の全押し操作がなされているか、すなわち2Rがオンか否かについて判定する(S99)。判定の結果、オフであった場合には、ステップS101に進み、1Rがオンか否かの判定を行う。レリーズ釦の半押し動作で、この静止画撮影動作のサブルーチンにジャンプしてきて、レリーズ釦が半押しのままの場合には、ステップS99〜S101で繰り返し判定を行う待機状態となる。レリーズ釦から手が離れ、1Rがオフとなると、パワーオンリセットのステップS9に戻る。 When the photometry / exposure amount calculation is finished, it is next determined whether or not the release button has been fully pressed, that is, whether or not 2R is on (S99). As a result of the determination, if it is off, the process proceeds to step S101 to determine whether 1R is on. If the release button is half-pressed to jump to the still image shooting operation subroutine, and the release button remains half-pressed, a standby state is made in which repeat determination is made in steps S99 to S101. When the hand is released from the release button and 1R is turned off, the process returns to the power-on reset step S9.

ステップS99に戻り、判定の結果、2Rスイッチがオンであった場合、すなわちレリーズ釦が全押しされた場合には、静止画像取得のための撮像動作に移る。まず、ステップS103において、画像処理回路227に対してスルー画停止の指示を出力する。これは静止画像取得にあたって、可動反射ミラー201の退避位置への移動動作により、CCD221に入射する被写体像に乱れが生じ、背面液晶モニタ26および/またはファインダ内液晶29においてスルー画像が見苦しくなることを防止するためである。 Returning to step S99, if the result of determination is that the 2R switch is on, that is, if the release button is fully pressed, the operation moves to an imaging operation for acquiring a still image. First, in step S103, an instruction to stop the through image is output to the image processing circuit 227. This is because when moving the movable reflecting mirror 201 to the retracted position, a subject image incident on the CCD 221 is disturbed and a through image becomes unsightly on the rear liquid crystal monitor 26 and / or the liquid crystal 29 in the viewfinder. This is to prevent it.

この後、ステップS65と同様にして、可動ハーフミラー201の退避動作を行う(S109)。一般に静止画像の取得・記録にあたって、高画質の画像データの取得・記録が望ましいことから、可動ハーフミラー201による画質低下を避けるために可動ハーフミラー201を退避させている。 Thereafter, similarly to step S65, the retracting operation of the movable half mirror 201 is performed (S109). In general, when acquiring / recording a still image, it is desirable to acquire / record high-quality image data. Therefore, the movable half mirror 201 is retracted in order to avoid degradation in image quality due to the movable half mirror 201.

可動ハーフミラー201の退避が終了すると、設定絞り値またはS97で演算された絞り値まで絞り103の絞込み動作を、レンズCPU111に指令し、絞り駆動機構109によって行う(S111)。絞込み動作が終わると、次にCCD221による静止画取得のための露光動作を行う(S113)。この露光動作開始時には、可動ハーフミラー201は退避位置に移動していることから、レンズ101a、101bを通過した被写体光束の全部が、CCD221上で結像している。 When the retracting of the movable half mirror 201 is completed, the lens CPU 111 is instructed to perform the aperture operation of the aperture 103 to the set aperture value or the aperture value calculated in S97, and is performed by the aperture drive mechanism 109 (S111). When the narrowing-down operation is completed, the CCD 221 performs an exposure operation for acquiring a still image (S113). At the start of this exposure operation, the movable half mirror 201 has moved to the retracted position, so that all of the subject luminous flux that has passed through the lenses 101 a and 101 b forms an image on the CCD 221.

この状態でCCD221の電子シャッタのリセットを解除し、被写体像の光電変換電流の電荷蓄積を開始する。予め手動設定若しくはステップS73で設定された露光時間が経過すると、CCD221の電子シャッタは光電変換信号の電荷蓄積を停止する。なお、ステップS113の露光動作において、CCD221の電子シャッタによって露光時間を制御していたが、これに限らず、シャッタ203によっても露光時間を制御することができる。この場合には、露光動作の開始前に、一旦、シャッタ203の先幕・後幕を初期位置に移動させることが必要となる。 In this state, the reset of the electronic shutter of the CCD 221 is released, and charge accumulation of the photoelectric conversion current of the subject image is started. When the exposure time set in advance or set in step S73 has elapsed, the electronic shutter of the CCD 221 stops the charge accumulation of the photoelectric conversion signal. In the exposure operation in step S113, the exposure time is controlled by the electronic shutter of the CCD 221. However, the present invention is not limited to this, and the exposure time can also be controlled by the shutter 203. In this case, it is necessary to once move the front and rear curtains of the shutter 203 to the initial positions before the start of the exposure operation.

次に、シャッタ203の閉じ動作を行い(S115)、絞り103の開放動作の指示をレンズCPU111に出力する(S117)。また、CCD221で電荷蓄積された画像信号の読み出しを行い、ステップS93で指示された画像サイズおよび圧縮率に従って、画像処理回路227等にて画像処理を行い、圧縮伸張回路231において信号圧縮等の処理を行い、静止画ファイルを生成する(S119)。続いて、生成された静止画ファイルを記録媒体245に記録する(S121)。画像データの記録が終わると、ステップS123において、1Rスイッチがオンであるか、すなわちレリーズ釦が半押し状態であるか否かを判定する。1Rスイッチがオフとなると、ステップS127に進み、ステップS7と同様にして、可動ハーフミラー201の復帰動作を行い、復帰動作が終了するとパワーオンリセットのルーチンに戻る。 Next, the shutter 203 is closed (S115), and an instruction to open the aperture 103 is output to the lens CPU 111 (S117). Further, the image signal stored in the CCD 221 is read, the image processing circuit 227 performs image processing in accordance with the image size and compression rate specified in step S93, and the compression / decompression circuit 231 performs processing such as signal compression. To generate a still image file (S119). Subsequently, the generated still image file is recorded on the recording medium 245 (S121). When the recording of the image data ends, it is determined in step S123 whether the 1R switch is on, that is, whether the release button is half-pressed. When the 1R switch is turned off, the process proceeds to step S127, and the return operation of the movable half mirror 201 is performed in the same manner as in step S7. When the return operation is completed, the process returns to the power-on reset routine.

本実施形態の静止画撮影動作のサブルーチンにおいて、静止画像を取得する撮像動作の際に可動ハーフミラー201を撮影光路から退避させている。このため可動ハーフミラー201を透過する際に生じる、ハーフミラーの屈折率や厚さ等による画像劣化を避けることができる。また、ハーフミラーによって、被写体光量が減衰することがなく、静止画像取得にあたって被写体光量を増加させることができ、高速シャッタ速度での撮影が可能となる。 In the still image shooting operation subroutine of the present embodiment, the movable half mirror 201 is retracted from the shooting optical path during the shooting operation for acquiring a still image. For this reason, it is possible to avoid image degradation caused by the refractive index, thickness, etc. of the half mirror that occurs when passing through the movable half mirror 201. Further, the half mirror does not attenuate the subject light amount, and the subject light amount can be increased when acquiring a still image, so that shooting at a high shutter speed is possible.

また、本実施形態においては、可動ハーフミラー201がステップS7において撮影光路中に進入しているので、レリーズ釦の半押しがなされた時点で直ちに位相差AFによる自動焦点調節を行うことができる。すなわち、レリーズ釦が半押しされた時点で可動ハーフミラー201を撮影光路に進入される場合に比べて迅速に測距を開始することができる。 Further, in the present embodiment, since the movable half mirror 201 has entered the photographing optical path in step S7, automatic focus adjustment by phase difference AF can be performed immediately when the release button is half-pressed. That is, distance measurement can be started more quickly than when the movable half mirror 201 is entered into the photographing optical path when the release button is half-pressed.

次に、ステップS55の動画撮影動作のサブルーチンについて図5を用いて説明する。このサブルーチンは前述したように、動画撮影モードが選択されているときに、レリーズ釦の半押しがなされると実行される。このサブルーチンでは、動画撮影にあたって、焦点調節位置(ピント位置)の変化に応じて表示画像の画角が変化しないようにしており、各ステップの動作を説明する前に、この一定画角表示について説明する。 Next, the moving image shooting operation subroutine in step S55 will be described with reference to FIG. As described above, this subroutine is executed when the release button is pressed halfway while the moving image shooting mode is selected. In this subroutine, when shooting a movie, the angle of view of the display image is not changed in accordance with the change of the focus adjustment position (focus position). Before explaining the operation of each step, this constant angle of view display will be explained. To do.

一眼レフ用のレンズでは小型で高性能なレンズを実現するために、ピント位置によって画角(焦点距離)が変化するタイプのものがある。このようなタイプのレンズを用いて動画を撮影すると、フォーカシングによって画角変動が生じた動画像が記録されてしまい、違和感が生じてしまう。そこで、本実施形態においては、画角変化Δkt、Δkw情報(図7参照)等を用いて、フォーカシングによって画角変化が生じないように、画像データの切り出し位置を変化させている。 In order to realize a small and high-performance lens for a single lens reflex lens, there is a type in which the angle of view (focal length) varies depending on the focus position. When a moving image is shot using such a type of lens, a moving image in which the angle of view varies due to focusing is recorded, and a sense of incongruity occurs. Therefore, in the present embodiment, the cut-out position of the image data is changed using the view angle change Δkt, Δkw information (see FIG. 7) and the like so that the view angle change does not occur due to focusing.

図7は、画角(焦点距離)と焦点調節位置(ピント位置)の関係を示す図であり、テレ側で焦点距離が変化しても画角変化がない場合には、基準画角ライン451のように、焦点調節位置(ピント位置)が変化しても、画角(焦点距離)は一定である。同様に、ワイド側で焦点距離が変化しても画角変化がない場合には、基準画角ライン455のように、焦点調節位置が変化しても、画角(焦点距離)は一定である。これに対して、実際には、焦点調節位置が変化すると、画角(焦点距離)も変化し、テレ側では画角変化Δktライン453のように、基準画角に対して画角変化Δktだけ画角が変化するレンズがある。同様に、ワイド側では画角変化Δkwライン457のように、基準画角に対して画角変化Δkwだけ画角が変化するレンズがある(模式的に示すために、実際よりは画角変化Δkt、デルタkwを大きく表示してある)。 FIG. 7 is a diagram showing the relationship between the angle of view (focal length) and the focus adjustment position (focus position). When there is no change in the angle of view even if the focal length changes on the tele side, the reference angle of view line 451 is shown. As described above, even if the focus adjustment position (focus position) changes, the angle of view (focal length) is constant. Similarly, when the angle of view does not change even when the focal length changes on the wide side, the angle of view (focal length) is constant even if the focus adjustment position changes as in the reference angle of view line 455. . On the other hand, in practice, when the focus adjustment position changes, the angle of view (focal length) also changes, and on the tele side, the angle of view change Δkt relative to the reference angle of view is as shown by the angle of view change Δkt line 453. There is a lens whose angle of view changes. Similarly, on the wide side, there is a lens in which the angle of view changes by the angle of view change Δkw with respect to the reference angle of view, such as an angle of view change Δkw line 457 (for the sake of schematic illustration, the angle of view change Δkt is actually larger than the actual angle). , Delta kw is displayed larger).

このように図7に示す光学特性があるために、レンズ鏡筒10の焦点距離調節部材を操作しないとしても、ピント位置が変更されると、図8の上段に示すように、取得画像は変化する。すなわち、遠方にある被写体471にピントを合わせて取得した遠距離取得画像461は、中距離の被写体473にピント合わせして取得した画像463より画角が狭く、中距離被写体の中距離取得画像463の画角は近距離被写体475にピント合わせをして取得した近距離取得画像465より画角が狭くなっている。 Since the optical characteristics shown in FIG. 7 are obtained in this way, even if the focal length adjusting member of the lens barrel 10 is not operated, the acquired image changes as shown in the upper part of FIG. 8 when the focus position is changed. To do. In other words, the long-distance acquisition image 461 acquired by focusing on the subject 471 located far away has a narrower angle of view than the image 463 acquired by focusing on the medium-distance subject 473, and the medium-distance acquisition image 463 of the medium-distance subject. Is narrower than the short-range acquired image 465 acquired by focusing on the short-distance subject 475.

焦点距離調節部材を操作しないにも関わらず、ピント位置が変化すると、それにつれて画角が変化すると違和感が生じてしまう。そこで、本実施形態では一定の画角となるように、トリミング範囲を決めている。すなわち、中距離取得画像463に対するトリミング範囲467や、近距離取得画像465に対するトリミング範囲469を決め、このトリミング範囲467、369で画像を切り出すと、一定の画角での表示画像481、483、485を得ることができる。 If the focal position is changed without changing the focal length adjusting member, a strange feeling will occur if the angle of view changes accordingly. Therefore, in this embodiment, the trimming range is determined so as to have a constant angle of view. That is, when the trimming range 467 for the intermediate distance acquired image 463 and the trimming range 469 for the short distance acquired image 465 are determined and the images are cut out in the trimming ranges 467 and 369, the display images 481, 483, and 485 at a certain angle of view are obtained. Can be obtained.

したがって、本実施形態においては、レンズCPU111から送られてくる現在の設定焦点距離情報、ピント位置情報、レンズデータ記憶回路112に記憶されている画角変化Δktや画角変化Δkwに基づいて、設定焦点距離およびピント位置に対応する画角変化Δkを求めている。そして、求められた画角変化Δkに基づいてトリミング範囲を決定し、画像処理回路227に対してトリミング範囲に対応する画像データの切り出しを指令し、ピント位置に関わらない一定の画角で動画表示を行い、動画記録を行うようにしている。この際、トリミング処理は、画角変化範囲内のもっとも狭い画角を基準にして行うようにしている。なお、レンズデータ記憶回路112に記憶されている画角変化データはΔktとΔkwであり、中間の焦点距離に対しては、適宜補間法により求め、またΔktとΔkwも飛び飛びの値であるので、適宜補間する。本実施形態のように画角変化データΔkは2本のライン以外の異なるライン数について記憶するようにしても勿論構わない。 Therefore, in the present embodiment, the setting is made based on the currently set focal length information, the focus position information, and the view angle change Δkt and the view angle change Δkw stored in the lens data storage circuit 112 sent from the lens CPU 111. The angle-of-view change Δk corresponding to the focal length and the focus position is obtained. Then, the trimming range is determined based on the obtained angle-of-view change Δk, the image processing circuit 227 is instructed to cut out the image data corresponding to the trimming range, and the moving image is displayed at a constant angle of view regardless of the focus position. To record video. At this time, the trimming process is performed on the basis of the narrowest field angle within the field angle change range. The angle-of-view change data stored in the lens data storage circuit 112 are Δkt and Δkw, and the intermediate focal length is obtained by an interpolation method as appropriate, and Δkt and Δkw are also skipped values. Interpolate as appropriate. Of course, the angle-of-view change data Δk may be stored for different numbers of lines other than two lines as in the present embodiment.

次に、図5の動画撮影動作のサブルーチンを説明する。まず、画像処理回路227、圧縮伸張回路231等に動画モードであることを指示する(S131)。これによって、画像処理回路227は、動画に適した画像処理を行い、圧縮伸張回路231は動画に適した圧縮を行う。続いて、ステップS95と同様に位相差AF1を行い、高精度でピント合わせを行う(S133)。測距・合焦駆動が終わると、前述したように、画角変化Δkを決定し、この画角変化Δkに基づくトリミング情報の読み込みを行い(S135)、トリミング指示を画像処理回路227に対して指示する(S137)。 Next, the subroutine of the moving image shooting operation in FIG. 5 will be described. First, the image processing circuit 227, the compression / decompression circuit 231 and the like are instructed to be in the moving image mode (S131). Thus, the image processing circuit 227 performs image processing suitable for moving images, and the compression / decompression circuit 231 performs compression suitable for moving images. Subsequently, the phase difference AF1 is performed in the same manner as in step S95, and focusing is performed with high accuracy (S133). When the distance measurement / focusing driving is finished, as described above, the angle-of-view change Δk is determined, trimming information is read based on the angle-of-view change Δk (S135), and a trimming instruction is sent to the image processing circuit 227. An instruction is given (S137).

トリミング指示が終わると、次に、ステップS99と同様に、レリーズ釦の全押し操作がなされているか、すなわち2Rがオンか否かについて判定する(S139)。判定の結果、オフであった場合には、ステップS141に進み、1Rがオンか否かの判定を行う。レリーズ釦の半押し動作で、この動画撮影動作のサブルーチンにジャンプしてきて、レリーズ釦が半押しのままの場合には、ステップS133〜S141をループし、繰り返し判定を行う待機状態となる。この間、位相差AF1とトリミング情報読み込みとトリミング指示を行う。 When the trimming instruction is finished, next, as in step S99, it is determined whether or not the release button has been fully pressed, that is, whether or not 2R is on (S139). As a result of the determination, if it is off, the process proceeds to step S141 to determine whether 1R is on. If the release button is half-pressed to jump to this moving image shooting operation subroutine and the release button remains half-pressed, steps S133 to S141 are looped to enter a standby state for repeated determination. During this time, the phase difference AF1, trimming information reading and trimming instructions are performed.

このように位相差AF1を繰り返し行っているので、フレーミングを変更したり、被写体が移動したりした場合であっても、ピント合わせが自動的になされる。また、ピントが変化してもトリミング情報読み込みおよびトリミング指示を出しているので、一定の画角が保つことができる。レリーズ釦から手が離れ、1Rがオフとなると、ステップS141からパワーオンリセットのステップS9に戻る。 Since the phase difference AF1 is repeatedly performed in this way, focusing is automatically performed even when the framing is changed or the subject moves. Even if the focus changes, the trimming information is read and a trimming instruction is issued, so that a constant angle of view can be maintained. When the release button is released and 1R is turned off, the process returns from step S141 to power-on reset step S9.

ステップS137において、判定の結果、2Rスイッチがオンであった場合、すなわちレリーズ釦が全押しされた場合には、動画像取得のための撮像動作に移り、ステップS145に進み、画像サイズと圧縮率の指示を、ステップS93と同様に、画像処理回路227や圧縮伸張回路231に対して行う。スルー画表示の際には、特に画像サイズとは関わらず所定の画像サイズで表示のための画像処理がなされるが、動画撮影の場合には、このステップで指示された画像サイズかつ圧縮率で録画されるように、画像処理がなされる。 If it is determined in step S137 that the 2R switch is on, that is, if the release button is fully pressed, the process proceeds to an imaging operation for moving image acquisition, and the process proceeds to step S145, where the image size and compression rate are set. Is issued to the image processing circuit 227 and the compression / decompression circuit 231 as in step S93. When displaying a through image, image processing for display is performed with a predetermined image size, regardless of the image size. In the case of moving image shooting, the image size and compression rate specified in this step are used. Image processing is performed so as to be recorded.

ステップS145での指示が終了すると、ステップS147に進み、動画記録開始の指示を出す。動画記録が開始されると、CCD221は設定された電子シャッタ速度TVで撮像し、CCD221から出力される被写体像信号は画像処理回路227で処理され、圧縮伸張回路231によって1フレーム毎にJPEGで圧縮処理され、この処理された画像データはSDRAM238に格納される。なお、静止画撮影時には、可動ハーフミラー201は撮影光路から退避していたが、動画撮影時には退避動作を行っていない。動画撮影中にも自動焦点調節動作を作動させるために、測距/測光センサ217に被写体光束を可動ハーフミラー201によって導いている。このため動画撮影中に被写体距離が変化しても常にピントのあった撮影ができる。 When the instruction in step S145 ends, the process proceeds to step S147 to issue an instruction to start moving image recording. When the moving image recording is started, the CCD 221 captures an image at the set electronic shutter speed TV, and the subject image signal output from the CCD 221 is processed by the image processing circuit 227 and compressed by JPEG for each frame by the compression / expansion circuit 231. The processed image data is stored in the SDRAM 238. Note that the movable half mirror 201 is retracted from the photographing optical path during still image shooting, but is not retracted during moving image shooting. In order to activate the automatic focus adjustment operation during moving image shooting, the subject light flux is guided to the distance / photometry sensor 217 by the movable half mirror 201. For this reason, even when the subject distance changes during moving image shooting, it is possible to always perform shooting with focus.

次に、ステップS149に進み、バッファメモリとして使用されているSDRAM238の記憶容量がフルになっているか否かの判定を行う。判定の結果、フルになっていなければ、ステップS171に進み、2Rスイッチがオンか否か、すなわち撮影者によってレリーズ釦が全押しされ、動画撮影が継続されているか否かの判定を行う。判定の結果、2Rスイッチがオンであれば、ステップS173に進み、動画条件の設定を行う。これはステップS21において、狙った明度で画像表示できるように、電子シャッタ速度TVやISO感度SVの調整を行ったが、動画撮影中にフレーミングの変更等により被写体輝度が変ることがあるので、動画撮影中も狙った明度で表示できるようにすると共に、一定明度で画像データの記録が行えるようにするものである。 In step S149, it is determined whether the storage capacity of the SDRAM 238 used as the buffer memory is full. As a result of the determination, if it is not full, the process proceeds to step S171, and it is determined whether or not the 2R switch is turned on, that is, whether or not the release button is fully pressed by the photographer and movie shooting is continued. If the 2R switch is on as a result of the determination, the process proceeds to step S173, and the moving image condition is set. In step S21, the electronic shutter speed TV and the ISO sensitivity SV are adjusted so that the image can be displayed with the targeted brightness. However, the subject brightness may change due to a change in framing during moving image shooting. In addition to being able to display at the target lightness even during shooting, the image data can be recorded at a constant lightness.

なお、静止画撮影の場合と異なり、動画モードでの撮影にあたっては、絞り103の絞込みは行わない。これは動作撮影中に後述する位相差AF2を行っており、測距精度を確保するために、絞り値を開放状態としているからである。従って、動画撮影時の露光量は電子シャッタ速度TVによって行い、露光量が不足する場合には、ISO感度SVによって補う。 Unlike the still image shooting, the aperture 103 is not narrowed down when shooting in the moving image mode. This is because phase difference AF2, which will be described later, is performed during operation shooting, and the aperture value is opened to ensure distance measurement accuracy. Therefore, the exposure amount at the time of moving image shooting is performed by the electronic shutter speed TV, and when the exposure amount is insufficient, it is compensated by the ISO sensitivity SV.

動画条件の設定が終わると、ステップS175に進み、位相差AF2を実行する。この位相差AF2は、ステップS133における位相差AF1より、合焦精度を緩くしている。合焦精度を高精度に設定しておくと、動体撮影時に被写体像の変化に応じて追尾し、小刻みに撮影レンズが駆動されてしまい、使用感が必ずしもよくないからである。この位相差AF2の詳細については図6を用いて後述する。 When the movie condition setting is completed, the process proceeds to step S175, and the phase difference AF2 is executed. This phase difference AF2 is less focused than the phase difference AF1 in step S133. If the focusing accuracy is set to a high accuracy, tracking is performed according to changes in the subject image during moving body shooting, and the shooting lens is driven in small steps, so that the feeling of use is not necessarily good. Details of the phase difference AF2 will be described later with reference to FIG.

位相差AF2が終わると、続いてステップS135と同様に、トリミング情報の取り込みを行い(S177)、ステップS137と同様に、トリミング指示を行う(S179)。これにより、動画を録画している間、ズーミング操作を行わない限り、画角変化Δkに基づいてトリミングが行われ、被写体のピント位置が変ったとしても画角が一定に保たれる。トリミング指示を出すと、ステップS149に戻り、前述のステップを繰り返す。 After the phase difference AF2, the trimming information is taken in similarly to step S135 (S177), and the trimming instruction is issued as in step S137 (S179). As a result, while recording a moving image, trimming is performed based on the view angle change Δk unless the zooming operation is performed, and the view angle is kept constant even if the focus position of the subject changes. When the trimming instruction is issued, the process returns to step S149, and the above steps are repeated.

ステップS149とS171に戻り、画像データが記録されているSDRAM238の記憶容量がフルになるか、または2Rスイッチがオフすなわち撮影者がレリーズ釦から手を離し撮影を停止すると、ステップS151に進み、記録停止を指示する。続いて、SDRAM238に記憶されているフレーム毎のJPEG形式の画像データを基に動画用のMJPEG(Motion JPEG)形式の動画ファイルを生成する(S153)。この生成された動画ファイルを、記録媒体制御回路243を介して記録媒体245に記録する(S155)。動画ファイルの記録が終了すると、パワーオンリセットのルーチン中のステップS9に戻り、前述のステップを繰り返す。 Returning to steps S149 and S171, when the storage capacity of the SDRAM 238 in which the image data is recorded is full, or when the 2R switch is turned off, that is, when the photographer releases the release button and stops shooting, the process proceeds to step S151. Instruct to stop. Subsequently, a moving image file in MJPEG (Motion JPEG) format for moving images is generated based on the JPEG format image data for each frame stored in the SDRAM 238 (S153). The generated moving image file is recorded on the recording medium 245 via the recording medium control circuit 243 (S155). When the recording of the moving image file ends, the process returns to step S9 in the power-on reset routine, and the above steps are repeated.

本実施形態の動画撮影動作のサブルーチンにおいては、可動ハーフミラー201を撮影光路中に進入させたままにしてあるので、この可動ハーフミラー201からの被写体光束の反射光を利用して位相差AFによる測距や合焦駆動を行い、ピントの合った動画像を得ることができる。特に、TTL位相差AFは、被写体距離が大きく変化したときでも追随性に優れているという利点がある。 In the moving image shooting operation subroutine of the present embodiment, the movable half mirror 201 is allowed to enter the shooting optical path, so that the reflected light of the subject light beam from the movable half mirror 201 is used to perform phase difference AF. A focused moving image can be obtained by performing ranging or focusing drive. In particular, the TTL phase difference AF has an advantage of excellent tracking even when the subject distance changes greatly.

次に、図6を用いてステップS95、S133の位相差AF1のサブルーチンと、ステップS175の位相差AF2のサブルーチンについて説明する。このサブルーチンは、静止画撮影・動画撮影といった撮影条件によって合焦判定値の変更を行い、また焦点調節のためのレンズ駆動速度の変更を行っている。 Next, the phase difference AF1 subroutine in steps S95 and S133 and the phase difference AF2 subroutine in step S175 will be described with reference to FIG. In this subroutine, the focus determination value is changed according to shooting conditions such as still image shooting and moving image shooting, and the lens driving speed for focus adjustment is changed.

位相差AF1のサブルーチンに入ると、まず、合焦許容値sの算出を行う(S201)。この合焦許容値sは、開放絞り値Fと許容錯乱円形εの乗算から求める。すなわち、
s=ε・F
より求める。本実施形態においては、許容錯乱円形として30μmとするが、設計思想に応じて許容できる値であれば良い。このステップで求めた合焦許容値sをそのまま合焦判定値rとして設定する(S203)。合焦判定値rは、後述するように位相差AFによって得られたデフォーカス量(焦点ズレ量)δが合焦範囲に入っているか否かの判定に使用する値である。続いて、レンズ駆動モードとして、高速レンズ駆動モードを設定する(S205)。高速レンズ駆動モードは焦点調節のためのレンズ駆動速度を決めるモードである。本実施形態においては、高速レンズ駆動モードと低速レンズ駆動モードを用意している。
When the subroutine for phase difference AF1 is entered, first, an allowable focus value s is calculated (S201). The focus allowable value s is obtained by multiplying the open aperture value F and the allowable confusion circle ε. That is,
s = ε · F
Ask more. In the present embodiment, the allowable confusion circle is 30 μm, but may be a value that can be allowed according to the design concept. The focus allowable value s obtained in this step is set as the focus determination value r as it is (S203). The focus determination value r is a value used for determining whether or not the defocus amount (focus shift amount) δ obtained by the phase difference AF is within the focus range, as will be described later. Subsequently, the high-speed lens driving mode is set as the lens driving mode (S205). The high-speed lens driving mode is a mode for determining the lens driving speed for focus adjustment. In the present embodiment, a high-speed lens driving mode and a low-speed lens driving mode are prepared.

高速駆動モードの設定が終わると、次に、測距積分を開始する(S207)。可動ハーフミラー201を介して、撮影レンズの周辺を通過した被写体光束は測距/測光センサ217の測距センサに入射しているので、この測距センサにおける測距積分動作を開始させるものである。この測距積分のレベルを検出し(S211)、所定レベルに達したら、積分を完了する。続いて、測距センサから測距データの読出しを行い(S213)、公知の位相差測距演算に従ってデフォーカス量δの演算を行う(S215)。 When the setting of the high-speed driving mode is completed, next, ranging integration is started (S207). Since the subject luminous flux that has passed through the periphery of the photographing lens via the movable half mirror 201 is incident on the distance measuring sensor of the distance measuring / photometric sensor 217, the distance measuring integration operation in this distance measuring sensor is started. . The level of the distance measurement integration is detected (S211), and when the predetermined level is reached, the integration is completed. Subsequently, ranging data is read from the ranging sensor (S213), and the defocus amount δ is calculated according to a known phase difference ranging calculation (S215).

次に演算されたデフォーカス量δとステップS203または後述するステップS231で設定された合焦判定値rとの比較を行う(S217)。比較の結果、デフォーカス量δの方が合焦判定値rよりも小さい場合、すなわち、撮影レンズの焦点ズレ量が合焦判定値よりも小さく、撮影レンズが合焦状態とみなせる場合には、位相差AF1による自動焦点調節を終了して、元のルーチンに戻る。 Next, the calculated defocus amount δ is compared with the focus determination value r set in step S203 or step S231 described later (S217). As a result of the comparison, when the defocus amount δ is smaller than the focus determination value r, that is, when the defocus amount of the photographic lens is smaller than the focus determination value and the photographic lens can be regarded as being in focus, The automatic focus adjustment by the phase difference AF1 is finished and the process returns to the original routine.

ステップS217において、デフォーカス量δが合焦判定値rよりも大きい場合には、撮影レンズの焦点ズレ量が大きく、撮影レンズは合焦状態ではないので、ステップS219に進み、合焦位置まで撮影レンズの駆動を行うための駆動量LDの演算を行う。続いて、レンズCPU111に撮影レンズの駆動モード等の駆動指示を出力する(S221)。ここでは、ステップS205で設定された高速レンズ駆動モード(または後述するステップS233で設定された低速レンズ駆動モード)、デフォーカス量δ演算で求められたデフォーカス方向(駆動方向)およびステップS219で演算された駆動量LDがレンズCPU111に送信される。 In step S217, when the defocus amount δ is larger than the focus determination value r, the amount of defocus of the photographic lens is large, and the photographic lens is not in focus. A drive amount LD for driving the lens is calculated. Subsequently, a driving instruction such as a driving mode of the photographing lens is output to the lens CPU 111 (S221). Here, the high-speed lens drive mode set in step S205 (or the low-speed lens drive mode set in step S233 described later), the defocus direction (drive direction) obtained by the defocus amount δ calculation, and the calculation in step S219. The drive amount LD thus transmitted is transmitted to the lens CPU 111.

ここで、撮影レンズの駆動のための信号の流れを、図10を用いて説明する。ボディCPU229は、ステップ221において、レンズ駆動方向、駆動量LDおよびレンズ駆動モードを、レンズCPU111に送る。レンズCPU111は、送信されてきた情報を基にして、光学系駆動機構107内のモータ107aを駆動するモータドライバ107b用の駆動制御信号に変換する。この変換された駆動制御信号に基づいて、モータ107aはレンズ101を合焦点に向けて駆動制御する。 Here, the flow of signals for driving the photographing lens will be described with reference to FIG. In step 221, the body CPU 229 sends the lens driving direction, the driving amount LD, and the lens driving mode to the lens CPU 111. The lens CPU 111 converts the received information into a drive control signal for the motor driver 107b that drives the motor 107a in the optical system drive mechanism 107 based on the transmitted information. Based on the converted drive control signal, the motor 107a controls the drive of the lens 101 toward the focal point.

この駆動制御にあたって、高速レンズ駆動モードが送られてきた場合には、レンズCPU111は図9に示す駆動曲線491に従った駆動速度で駆動制御を行う。すなわち、高速でレンズを駆動し、一旦停止後、再測距し、測距結果に基づいて微小駆動を行う。静止画の際に相応しい合焦駆動である。一方、低速レンズ駆動モードが送られてきた場合には、レンズCPU111は駆動曲線493に従った駆動速度で駆動制御を行う。すなわち、高速で駆動することなく、低速でゆっくりと合焦位置に向けて行う駆動制御である。滑らかに合焦点に向けて駆動できることから、動体に相応しい駆動制御である。なお、駆動曲線491の高速駆動モードは静止画撮影に相応しい駆動制御であるが、図5の動画撮影動作のサブルーチンにおいても、ステップS133において動体撮影開始前のピント合わせに用いている。 In this drive control, when a high-speed lens drive mode is sent, the lens CPU 111 performs drive control at a drive speed according to the drive curve 491 shown in FIG. That is, the lens is driven at a high speed, and after temporarily stopping, the distance is measured again, and minute driving is performed based on the distance measurement result. The focus drive is suitable for still images. On the other hand, when the low-speed lens drive mode is sent, the lens CPU 111 performs drive control at a drive speed according to the drive curve 493. That is, the drive control is performed at low speed and slowly toward the in-focus position without driving at high speed. Since it can be smoothly driven toward the focal point, the drive control is suitable for moving objects. Note that the high-speed drive mode of the drive curve 491 is drive control suitable for still image shooting, but also in the moving image shooting operation subroutine of FIG. 5, it is used for focusing before moving object shooting is started in step S133.

ステップS221に戻り、レンズCPU111に駆動モードの指示を終わると、再びステップS207に戻り、前述のステップを繰り返す。このように、撮影レンズが合焦範囲に入るまで、ステップS207からステップS221において、位相差AFによる測距と撮影レンズ駆動を繰り返す。 Returning to step S221, when the instruction of the driving mode is finished to the lens CPU 111, the process returns to step S207 again, and the above steps are repeated. In this way, ranging from step S207 to step S221 is repeated until the photographic lens enters the in-focus range, and distance measurement by phase difference AF and photographic lens driving are repeated.

次に、位相差AF2のサブルーチンに入ると、まず、合焦判定値rとして合焦許容値sの2倍の2sを設定する(S231)。この位相差AF2は、合焦精度を決める合焦許容値を、位相差AF1の場合より2倍程度、精度を緩くしている。合焦精度を高精度に設定しておくと、前述したように、小刻みに撮影レンズが駆動されてしまい、ハンチング現象が生じたりして、使用感が必ずしもよくないからである。なお、本実施形態においては、合焦判定値を2sとして、合焦許容値sの2倍としたが、これに限らず、位相差AF1より緩い精度であれば良い。 Next, when the subroutine for phase difference AF2 is entered, first, 2s, which is twice the focusing allowable value s, is set as the focusing determination value r (S231). This phase difference AF2 is loosened by about twice as much as the focus permissible value that determines the focusing accuracy compared to the phase difference AF1. This is because if the focusing accuracy is set to a high accuracy, the photographic lens is driven in small increments as described above, causing a hunting phenomenon, and the usability is not always good. In the present embodiment, the focus determination value is 2s, which is twice the focus allowable value s. However, the present invention is not limited to this, and any accuracy that is looser than the phase difference AF1 may be used.

合焦判定値を設定したら、次に、レンズ駆動モードとして、低速レンズ駆動モードを設定する(S233)。前述したように、動画撮影時に高速レンズ駆動モードで駆動すると、小刻みに駆動と停止を繰り返し、ハンチングを起こしやすくなる。そこで、本実施形態においては、動画撮影時には、図9に示すように、駆動曲線493のように加減速を減らし低速駆動することとした。このため滑らかに合焦点に向けて駆動され、動画再生時に違和感のない映像を得ることができる。 Once the in-focus determination value is set, next, the low-speed lens driving mode is set as the lens driving mode (S233). As described above, when driving in the high-speed lens driving mode at the time of moving image shooting, driving and stopping are repeated little by little, and hunting is likely to occur. Therefore, in the present embodiment, at the time of moving image shooting, acceleration / deceleration is reduced as shown in FIG. For this reason, it can be smoothly driven toward the focal point, and an image having no sense of incongruity can be obtained when reproducing a moving image.

低速レンズ駆動モードの設定が終わると、前述したステップS207〜S221を繰り返し、位相差AFで得たデフォーカス方向とデフォーカス量δに基づいてCPU111はレンズを低速駆動することで被写体のピント合わせを行い、また、被写体が移動している場合には、これに追従してピント合わせを行うことができる。ステップS217において、合焦範囲に入ると動体撮影動作のサブルーチンに戻る。 When the setting of the low-speed lens driving mode is completed, the above steps S207 to S221 are repeated, and the CPU 111 focuses the subject by driving the lens at a low speed based on the defocus direction and the defocus amount δ obtained by the phase difference AF. If the subject is moving, focusing can be performed following this movement. In step S217, when the in-focus range is entered, the process returns to the moving object photographing operation subroutine.

次に、本実施形態における画像に関するデータの処理の流れを説明する。CCD221から出力された画像信号は、画像処理回路227によって各種の画像処理(301)がなされる。また画像処理回路227は、処理した画像信号を用いて、画像サイズの変更処理(302)を行う。なお、この変更処理は、ステップS93およびS145で指示された画像サイズに従って行う。 Next, the flow of data processing relating to images in the present embodiment will be described. The image signal output from the CCD 221 is subjected to various image processing (301) by the image processing circuit 227. The image processing circuit 227 performs an image size changing process (302) using the processed image signal. This change process is performed according to the image size specified in steps S93 and S145.

次に、撮影モードに応じて、画像サイズ変更処理された画像データは振り分けられる(303)。この振り分けは、ステップS53に相当するが、動画モードであっても、動体撮影に入る前のステップS133では位相差AF1を実行する。動画モードの場合には、トリミング範囲情報に基づいてトリミング処理を行う(304)。これは前述したように、焦点距離を変更しない場合に焦点調節位置(ピント位置)が変っても画角を一定となるように、画像の切り出し処理を行うものである。 Next, the image data that has been subjected to the image size change processing is distributed according to the shooting mode (303). This distribution corresponds to step S53, but even in the moving image mode, the phase difference AF1 is executed in step S133 before moving body shooting is started. In the moving image mode, trimming processing is performed based on the trimming range information (304). As described above, when the focal length is not changed, the image is cut out so that the angle of view remains constant even if the focus adjustment position (focus position) changes.

トリミング処理された動画の画像データ、または画像サイズ変更処理がなされた静止画の画像データは、次に圧縮伸張回路231に送られ、JPEG圧縮処理(305)が行われる。ここでの圧縮比率は、ステップS93およびS145で指示された比率で行われる。JPEG圧縮処理された画像データは、静止画撮影が選択されている場合には、単一データ蓄積(307)でSDRAM238に格納される。そしてシーケンスコントローラはSDRAM238に格納されたJPEGデータに基づいてJPEGファイルを作成する(311)。 The image data of the moving image that has been subjected to the trimming process or the image data of the still image that has been subjected to the image size changing process is then sent to the compression / decompression circuit 231 and JPEG compression process (305) is performed. The compression ratio here is performed at the ratio specified in steps S93 and S145. The image data subjected to JPEG compression processing is stored in the SDRAM 238 by single data accumulation (307) when still image shooting is selected. Then, the sequence controller creates a JPEG file based on the JPEG data stored in the SDRAM 238 (311).

一方、動画撮影が選択されている場合には、ステップS147における動画記録開始に応じて、SDRAM238にJPEG圧縮処理(305)がなされた画像データが逐次格納される。そして、ステップS151における動画記録停止に応じて、JPEG形式の画像データの格納を停止し、シーケンスコントローラは動画用の圧縮形式であるMJPEG(Motion JPEG)に従って動画圧縮を行い、MJPEGファイルを作成する(313)。次に、ステップS121、S155におけるファイル記録に応じて、MJPEGファイルまたはJPEGファイルを記録媒体245に記録する(315)。 On the other hand, when the moving image shooting is selected, the image data subjected to the JPEG compression process (305) is sequentially stored in the SDRAM 238 in accordance with the start of moving image recording in step S147. Then, in response to the stop of moving image recording in step S151, storage of the image data in JPEG format is stopped, and the sequence controller performs moving image compression according to MJPEG (Motion JPEG), which is a compression format for moving images, and creates an MJPEG file ( 313). Next, in accordance with the file recording in steps S121 and S155, the MJPEG file or JPEG file is recorded on the recording medium 245 (315).

このように、本実施形態においては、静止画撮影時と動画撮影時で合焦判定値rを変更するようにしている(図6のS203、S231、S217参照)。このため、静止画撮影の際には、高精度で被写体の焦点調節ができると共に、動体撮影時には滑らかに撮影レンズが駆動され違和感のない焦点調節ができる。なお、本実施形態においては、位相差AFによる測距を行っていたが、これに限らず、撮像素子からの被写体像信号の高周波成分を抽出して行うコントラストAFにも適用することができる。この場合には、コントラストAFで合焦とみなす閾値の値を、静止画撮影と動体撮影で変更するように、すなわち動体撮影時の方が閾値を緩くするようにすれば良い。 Thus, in the present embodiment, the focus determination value r is changed between still image shooting and moving image shooting (see S203, S231, and S217 in FIG. 6). For this reason, during still image shooting, the focus of the subject can be adjusted with high accuracy, and during moving body shooting, the shooting lens can be smoothly driven to perform focus adjustment without any sense of incongruity. In the present embodiment, distance measurement is performed by phase difference AF. However, the present invention is not limited to this, and the present invention can also be applied to contrast AF performed by extracting a high-frequency component of a subject image signal from an image sensor. In this case, the threshold value that is regarded as in-focus by contrast AF may be changed between still image shooting and moving object shooting, that is, the threshold value may be relaxed during moving object shooting.

また、本実施形態においては、静止画撮影時と動画撮影時で撮影レンズの駆動速度を変更するようにしている(図6のS205、S233、S221参照)。このため、静止画撮影の際には、迅速に合焦点に撮影レンズを駆動することができ、また動体撮影時には滑らかに撮影レンズが駆動され違和感のない焦点調節ができる。なお、本実施形態においては、位相差AFによる測距を行っているために、デフォーカス量δが算出されているが、コントラストAFのようにデフォーカス量δが算出されない方式であっても、静止画撮影と動体撮影に応じて、撮影レンズの駆動速度を変更すれば、本実施形態と同様の効果を得ることができる。 In the present embodiment, the driving speed of the taking lens is changed during still image shooting and during moving image shooting (see S205, S233, and S221 in FIG. 6). For this reason, when taking a still image, the taking lens can be quickly driven to the in-focus point, and when taking a moving object, the taking lens can be smoothly driven to adjust the focus without any sense of incongruity. In the present embodiment, since the distance measurement is performed by the phase difference AF, the defocus amount δ is calculated. However, even if the defocus amount δ is not calculated as in contrast AF, The effect similar to that of the present embodiment can be obtained by changing the driving speed of the taking lens according to still image shooting and moving object shooting.

さらに、本実施形態においては、撮影レンズの画角変化に応じて画像のトリミング処理を行うようにしている(図5のS135,S137、S177、S179参照)。このため、動画撮影時に被写体のピント位置が変化した場合でも、一定の画角を保つことができ、違和感のない画像を得ることができる。なお、本実施形態においては、このトリミングは動画撮影動作のみで行っていたが、静止画撮影時のスルー画表示においても、トリミング処理を行うようにしても構わない。 Furthermore, in the present embodiment, image trimming processing is performed in accordance with the change in the angle of view of the photographing lens (see S135, S137, S177, and S179 in FIG. 5). For this reason, even when the focus position of the subject changes during moving image shooting, a constant angle of view can be maintained, and an image without a sense of incongruity can be obtained. In the present embodiment, the trimming is performed only by the moving image shooting operation. However, the trimming process may be performed also in a through image display during still image shooting.

さらに、本実施形態においては、静止画撮影時と動画撮影時で狙いとする画質が異なることから、可動ハーフミラー201の位置を変更するようにしている。すなわち、静止画撮影時には一般に高画質であることが求められることから、可動ハーフミラー201を撮影光路から退避させ、可動ハーフミラー201に起因する画像の低下を防止している。一方、動画撮影時には、静止画撮影時ほどの高画質が求められないことから、可動ハーフミラー201は撮影光路中に進入させたままとし、進退を行うための時間をなくし、撮影開始までのタイムラグの短縮化を図っている。 Furthermore, in the present embodiment, since the target image quality is different between still image shooting and moving image shooting, the position of the movable half mirror 201 is changed. That is, since it is generally required to have a high image quality at the time of still image shooting, the movable half mirror 201 is retracted from the shooting optical path to prevent image degradation caused by the movable half mirror 201. On the other hand, since moving images are not required to have the same high image quality as still image shooting, the movable half mirror 201 remains in the shooting optical path, eliminating the time for moving forward and backward, and the time lag until shooting starts. Is shortened.

さらに、本実施形態においては、カメラの作動時に可動ハーフミラー201を撮影光路中に介挿し、被写体光束の一部を測距/測光センサ217に反射させているので、スルー画表示中にレリーズ釦21が半押しされ、1Rがオンとなったとき、直ちに測光や測距をスルー画表示と並行して行うことができ便利である。 Furthermore, in the present embodiment, the movable half mirror 201 is inserted in the photographing optical path when the camera is operated, and a part of the subject light beam is reflected to the distance measuring / photometric sensor 217, so that the release button is displayed during the through image display. When 21 is pressed halfway and 1R is turned on, photometry and distance measurement can be performed immediately in parallel with the live view display.

なお、本実施形態においては、撮像素子としてのCCD221は可動ハーフミラー201の透過光を受光し、測距/測光センサ217は可動ハーフミラー201の反射光を受光していたが、これとは逆にCCD221は反射光を、測距/測光センサ217は透過光を受光するように構成しても良い。 In the present embodiment, the CCD 221 serving as the image sensor receives the transmitted light from the movable half mirror 201, and the distance measuring / photometric sensor 217 receives the reflected light from the movable half mirror 201. In addition, the CCD 221 may receive reflected light, and the distance measuring / photometric sensor 217 may receive transmitted light.

本実施形態においては、本発明を一般的なデジタルカメラに適用したものであったが、これに限らず、携帯等の各種装置内のデジタルカメラでもよく、また顕微鏡、双眼鏡等の各種装置に取り付けられる専用デジタルカメラにも適用できることは勿論である。撮影対象を動画で記録することのできるカメラであれば、本発明を適用することができる。 In the present embodiment, the present invention is applied to a general digital camera. However, the present invention is not limited thereto, and may be a digital camera in various devices such as a portable device, and may be attached to various devices such as a microscope and binoculars. Of course, the present invention can also be applied to a dedicated digital camera. The present invention can be applied to any camera that can record a shooting target as a moving image.

本発明を適用した一実施形態におけるデジタルカメラの電気系の全体構成を示すブロック図である。It is a block diagram which shows the whole structure of the electric system of the digital camera in one Embodiment to which this invention is applied. 本発明を適用した一実施形態における可動ハーフミラーの構造を示す分解斜視図である。It is a disassembled perspective view which shows the structure of the movable half mirror in one Embodiment to which this invention is applied. 本発明の一実施形態におけるパワーオンリセットの動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the power-on reset in one Embodiment of this invention. 本発明の一実施形態における静止画撮影動作のフローチャートである。It is a flowchart of the still image shooting operation in one embodiment of the present invention. 本発明の一実施形態における動画撮影動作のフローチャートである。It is a flowchart of the moving image shooting operation in one embodiment of the present invention. 本発明の一実施形態における位相差AF1と位相差AF2のフローチャートである。It is a flowchart of phase difference AF1 and phase difference AF2 in one embodiment of the present invention. 本発明の一実施形態における画角(焦点距離)と焦点調節位置(ピント位置)の関係を示す図である。It is a figure which shows the relationship between an angle of view (focal distance) and a focus adjustment position (focus position) in one Embodiment of this invention. 本発明の一実施形態におけるトリミング処理を説明する図である。It is a figure explaining the trimming process in one Embodiment of this invention. 本発明の一実施形態における撮影レンズの駆動状態を示す図である。It is a figure which shows the drive state of the imaging lens in one Embodiment of this invention. 本発明の一実施形態における撮影レンズの駆動のための信号の流れを示すブロック図である。It is a block diagram which shows the flow of the signal for the drive of the imaging lens in one Embodiment of this invention. 本発明の一実施形態におけるデータの処理を示す流れ図である。It is a flowchart which shows the process of the data in one Embodiment of this invention.

符号の説明Explanation of symbols

10 レンズ鏡筒
20 カメラ本体
26 背面液晶モニタ
29 ファインダ内液晶モニタ
101a、101b レンズ
107 光学系駆動機構
107a モータ
111 レンズCPU
112 レンズデータ記憶回路
201 可動ハーフミラー
203 シャッタ
215 可動ミラー駆動機構
217 測距/測光センサ
221 CCD
223 撮像素子駆動回路
227 画像処理回路
229 ボディCPU
231 圧縮伸張回路
238 SDRAM
241 通信回路
243 記録媒体制御回路
245 記録媒体
257 パワースイッチ
DESCRIPTION OF SYMBOLS 10 Lens barrel 20 Camera main body 26 Back surface liquid crystal monitor 29 Liquid crystal monitor 101a, 101b in finder Lens 107 Optical system drive mechanism 107a Motor 111 Lens CPU
112 Lens data storage circuit 201 Movable half mirror 203 Shutter 215 Movable mirror drive mechanism 217 Distance / photometric sensor 221 CCD
223 Image sensor driving circuit 227 Image processing circuit 229 Body CPU
231 Compression / decompression circuit 238 SDRAM
241 Communication circuit 243 Recording medium control circuit 245 Recording medium 257 Power switch

Claims (12)

焦点調節に応じて撮影画角が変化する撮影レンズと、
この撮影レンズを通過した被写体光束を受光して被写体像信号を出力する撮像手段と、
上記撮影レンズの画角変化に応じて上記被写体像信号のトリミング処理を行うトリミング手段と、
上記トリミング処理された被写体像信号に基づいて被写体の動画像を記録する記録手段と、
を具備することを特徴とするデジタルカメラ。
A photographic lens whose shooting angle of view changes according to the focus adjustment;
Imaging means for receiving a subject luminous flux that has passed through the photographing lens and outputting a subject image signal;
Trimming means for trimming the subject image signal in accordance with a change in the angle of view of the photographing lens;
Recording means for recording a moving image of the subject based on the subject image signal subjected to the trimming process;
A digital camera comprising:
上記撮影レンズは着脱自在であることを特徴とする請求項1に記載のデジタルカメラ。   The digital camera according to claim 1, wherein the photographing lens is detachable. 上記撮影レンズは、上記画角変化に対応する情報を出力する出力手段を具備することを特徴とする請求項2に記載のデジタルカメラ。   3. The digital camera according to claim 2, wherein the photographing lens includes an output unit that outputs information corresponding to the change in the angle of view. 上記出力手段は、上記撮影レンズの焦点距離と焦点位置とに対応する複数の画角情報を記憶した記憶手段を含むことを特徴とする請求項3に記載のデジタルカメラ。 4. The digital camera according to claim 3, wherein the output means includes storage means for storing a plurality of field angle information corresponding to a focal length and a focal position of the photographing lens. 上記トリミング手段は、動画像の記録中に焦点調節が行われた場合でも記録される動画像の画角変化が生じないように、上記被写体像信号のトリミングを行うことを特徴とする請求項1に記載のデジタルカメラ。 2. The trimming means trims the subject image signal so that the angle of view of the recorded moving image does not change even when focus adjustment is performed during recording of the moving image. The digital camera described in 1. 上記トリミング手段は、画角変化範囲内のもっとも狭い画角を基準にしてトリミング処理を行うことを特徴とする請求項5に記載のデジタルカメラ。 6. The digital camera according to claim 5, wherein the trimming means performs a trimming process on the basis of the narrowest angle of view within the angle of view change range. 焦点調節に応じて撮影画角が変化する撮影レンズと、
この撮影レンズを通過した被写体光束を受光して被写体像信号を出力する撮像手段と、
上記焦点調節に応じて画角変化量を求める手段と、
上記画角変化量に基づいて、一定の画角となるように上記被写体像信号のトリミング処理を行うトリミング手段と、
上記トリミング処理された被写体像信号に基づいて被写体の動画像を記録する記録手段と、
を具備することを特徴とするデジタルカメラ。
A photographic lens whose shooting angle of view changes according to the focus adjustment;
Imaging means for receiving a subject luminous flux that has passed through the photographing lens and outputting a subject image signal;
Means for determining the amount of change in angle of view in accordance with the focus adjustment;
Trimming means for performing trimming processing of the subject image signal so as to obtain a constant angle of view based on the amount of change in the angle of view;
Recording means for recording a moving image of the subject based on the subject image signal subjected to the trimming process;
A digital camera comprising:
上記画角変化量を求める手段は、焦点位置に応じた画角変化量を記憶する記憶手段を有していることを特徴とする請求項7に記載のデジタルカメラ。   8. The digital camera according to claim 7, wherein the means for obtaining the angle-of-view change includes storage means for storing the angle-of-view change according to the focal position. 上記撮影レンズは、焦点距離可変のズームレンズであり、上記記憶手段は、上記焦点位置に加えて焦点距離に応じた画角変化量を記憶していることを特徴とする請求項8に記載のデジタルカメラ。   9. The zoom lens according to claim 8, wherein the photographic lens is a zoom lens having a variable focal length, and the storage means stores an angle of view change corresponding to a focal length in addition to the focal position. Digital camera. 上記被写体像信号に基づいて被写体の静止画像を記録する静止画モードと、動画像を記録する動画モードを選択する選択手段を具備しており、上記トリミング手段は、上記動画モードが選択された際に、上記トリミング処理を行うことを特徴とする請求項7に記載のデジタルカメラ。   A selection unit that selects a still image mode for recording a still image of a subject based on the subject image signal and a moving image mode for recording a moving image; and the trimming unit is configured to select the moving image mode when the moving image mode is selected. The digital camera according to claim 7, wherein the trimming process is performed. 上記撮影レンズを通過した上記被写体光束を用いて位相差法により焦点ズレ量とズレ方向を検出し、この焦点ズレ量とズレ方向に基づいて上記撮影レンズを駆動する自動焦点調節手段を具備していることを特徴とする請求項7に記載のデジタルカメラ。   A focus shift amount and a shift direction are detected by a phase difference method using the subject luminous flux that has passed through the shooting lens, and an automatic focus adjustment unit that drives the shooting lens based on the focus shift amount and the shift direction is provided. The digital camera according to claim 7, wherein: 上記撮影レンズと上記撮像手段の間に進退可能なハーフミラーを有し、上記自動焦点調節手段は、上記ハーフミラーによって反射された被写体光束を用いて上記位相差法による測距を行うことを特徴とする請求項11に記載のデジタルカメラ。   A half mirror which can be moved back and forth between the photographing lens and the image pickup means; and the automatic focus adjustment means performs distance measurement by the phase difference method using a subject light beam reflected by the half mirror. The digital camera according to claim 11.
JP2006212336A 2006-08-03 2006-08-03 Digital camera Pending JP2008042405A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006212336A JP2008042405A (en) 2006-08-03 2006-08-03 Digital camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006212336A JP2008042405A (en) 2006-08-03 2006-08-03 Digital camera

Publications (1)

Publication Number Publication Date
JP2008042405A true JP2008042405A (en) 2008-02-21

Family

ID=39176961

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006212336A Pending JP2008042405A (en) 2006-08-03 2006-08-03 Digital camera

Country Status (1)

Country Link
JP (1) JP2008042405A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010014788A (en) * 2008-07-01 2010-01-21 Nikon Corp Imaging element and imaging device
JP2010237582A (en) * 2009-03-31 2010-10-21 Fujifilm Corp Three-dimensional imaging apparatus and three-dimensional imaging method
WO2012054059A1 (en) * 2010-10-22 2012-04-26 Hewlett-Packard Development Company L.P. Altering focus lens magnification in a video frame
JP2012231354A (en) * 2011-04-27 2012-11-22 Nikon Corp Imaging apparatus
JP2019092119A (en) * 2017-11-16 2019-06-13 キヤノン株式会社 Imaging device, lens device, and control method thereof
JP2020010269A (en) * 2018-07-12 2020-01-16 キヤノン株式会社 Image processing apparatus, imaging apparatus, image processing method, program, and storage medium
JP2020022012A (en) * 2018-07-30 2020-02-06 キヤノン株式会社 Imaging device and control method thereof
US10880473B2 (en) 2017-03-14 2020-12-29 Fujifilm Corporation Imaging apparatus with focus breathing correction
WO2023037632A1 (en) * 2021-09-09 2023-03-16 ソニーグループ株式会社 Lens device and imaging device

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010014788A (en) * 2008-07-01 2010-01-21 Nikon Corp Imaging element and imaging device
JP2010237582A (en) * 2009-03-31 2010-10-21 Fujifilm Corp Three-dimensional imaging apparatus and three-dimensional imaging method
WO2012054059A1 (en) * 2010-10-22 2012-04-26 Hewlett-Packard Development Company L.P. Altering focus lens magnification in a video frame
US8982247B2 (en) 2010-10-22 2015-03-17 Hewlett-Packard Development Company, L.P. Altering focus lens magnification in a video frame
JP2012231354A (en) * 2011-04-27 2012-11-22 Nikon Corp Imaging apparatus
US10880473B2 (en) 2017-03-14 2020-12-29 Fujifilm Corporation Imaging apparatus with focus breathing correction
US11223774B2 (en) 2017-11-16 2022-01-11 Canon Kabushiki Kaisha Imaging apparatus, lens apparatus, and method for controlling the same
JP2019092119A (en) * 2017-11-16 2019-06-13 キヤノン株式会社 Imaging device, lens device, and control method thereof
JP7086571B2 (en) 2017-11-16 2022-06-20 キヤノン株式会社 Image pickup device, lens device and control method thereof
JP2020010269A (en) * 2018-07-12 2020-01-16 キヤノン株式会社 Image processing apparatus, imaging apparatus, image processing method, program, and storage medium
JP2020022012A (en) * 2018-07-30 2020-02-06 キヤノン株式会社 Imaging device and control method thereof
JP7210185B2 (en) 2018-07-30 2023-01-23 キヤノン株式会社 Imaging device and its control method
WO2023037632A1 (en) * 2021-09-09 2023-03-16 ソニーグループ株式会社 Lens device and imaging device

Similar Documents

Publication Publication Date Title
JP2008040008A (en) Digital camera
US8723985B2 (en) Camera, camera system and lens apparatus
JP2008042404A (en) Digital camera
US7978256B2 (en) Imaging device having manual and auto focus and a control method for the imaging device
JP2008052246A (en) Digital camera
JP2008042405A (en) Digital camera
US7787020B2 (en) Aperture value calculation for a digital camera capable of displaying and/or recording a movie image
JP2008035474A (en) Digital camera
JP2009036986A (en) Photographing device and control method for photographing device
US9007507B2 (en) Camera system for adjusting displayed image according to an aperture value
JP2009069170A (en) Photographing device and control method of photographing device
JP2009036985A (en) Photographing device and control method for photographing device
JP2007324794A (en) Digital camera with interchangeable lenses
JP2009053296A (en) Imaging device and control method for same
JP2008028546A (en) Digital camera capable of recording moving image
JP2009088679A (en) Photography device and its control method
JP2009086036A (en) Imaging device and control method for imaging device
JP2009036987A (en) Photographing device and control method for photographing device
JP2008052151A (en) Digital camera capable of recording moving picture
JP2009048123A (en) Photographing equipment and method of controlling same
JP2008017104A (en) Digital camera
JP2009037084A (en) Photographing device and control method for photographing device
JP2009048126A (en) Photographing equipment and method of controlling same
JP2007324795A (en) Digital camera with interchangeable lenses
JP2007329852A (en) Imaging apparatus