JP2007267338A - Digital camera and focus position specifying method, and program - Google Patents

Digital camera and focus position specifying method, and program Download PDF

Info

Publication number
JP2007267338A
JP2007267338A JP2006093326A JP2006093326A JP2007267338A JP 2007267338 A JP2007267338 A JP 2007267338A JP 2006093326 A JP2006093326 A JP 2006093326A JP 2006093326 A JP2006093326 A JP 2006093326A JP 2007267338 A JP2007267338 A JP 2007267338A
Authority
JP
Japan
Prior art keywords
image
time
focus position
shooting
digital camera
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.)
Granted
Application number
JP2006093326A
Other languages
Japanese (ja)
Other versions
JP4923674B2 (en
Inventor
Kazuyoshi Watanabe
一嘉 渡邊
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2006093326A priority Critical patent/JP4923674B2/en
Publication of JP2007267338A publication Critical patent/JP2007267338A/en
Application granted granted Critical
Publication of JP4923674B2 publication Critical patent/JP4923674B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Focusing (AREA)
  • Indication In Cameras, And Counting Of Exposures (AREA)
  • Automatic Focus Adjustment (AREA)
  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a digital camera and a focus position specifying method, and a program with which photographed image can be easily confirmed, using a simple configuration. <P>SOLUTION: The digital camera comprises an image capturing means for capturing image, by converting the optical image of an object into an electric signal, and an image display means 25 for displaying the image and includes a storage means 28 for storing image in focusing and a focal position specifying means 41 for specifying a focus position during photographing, by comparing the image in focusing with an image at photographing, and the storage means 28 stores the focal position at photographing, specified by the focal position specifying means 41 at each photographing. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、デジタルカメラ及びフォーカス位置特定方法、プログラムに関し、特に撮像画像上におけるフォーカス位置を特定するデジタルカメラ及びフォーカス位置特定方法、プログラムに関する。   The present invention relates to a digital camera, a focus position specifying method, and a program, and more particularly, to a digital camera, a focus position specifying method, and a program for specifying a focus position on a captured image.

従来から、デジタルカメラでは、記憶されている撮影画像を一枚ごとあるいは一覧表示としてLCD画面もしくはファインダーに表示可能な構成となっている。その際、多くの機種では、簡単な操作により各撮影画像を拡大表示する機能を備えており、拡大表示をする際には、常に撮影時の画像の中心を基準として拡大されている。   2. Description of the Related Art Conventionally, a digital camera has a configuration capable of displaying stored photographed images one by one or as a list display on an LCD screen or a viewfinder. At that time, many models have a function of enlarging and displaying each captured image by a simple operation, and when enlarging the display, the image is always enlarged based on the center of the image at the time of shooting.

また、オートフォーカス機能をもつカメラの場合には、一般にシャッター・ボタンを半押ししてフォーカス距離を固定し、その状態でカメラの向きを移動させた後、シャッター・ボタンを全押しすることにより、自由な構図で撮影を可能にする機能が搭載されている。その際、フォーカス距離を固定する位置については、常にレンズ画面中央に合わせるものや、レンズ画面内の複数のポイントや予め決められた領域の範囲内からカメラの調整機能により自動的に決定するものが存在するが、画面中央にフォーカスを合わせて実際に撮影を行うことはそれほど多くない。   In addition, in the case of a camera with an autofocus function, in general, by pressing the shutter button halfway to fix the focus distance, moving the camera in that state, then pressing the shutter button fully, It is equipped with a function that enables shooting with free composition. At this time, the position at which the focus distance is fixed is always adjusted to the center of the lens screen, or automatically determined by the camera adjustment function from a plurality of points on the lens screen or within a predetermined area. Although it exists, there is not much that actually takes a picture with the focus in the center of the screen.

そして、撮影画像を確認するための拡大表示は常に画面中央を基準として拡大が行われており、上述したようにフォーカスが画面中央にあることが少ないことから、実際にフォーカスを合わせた位置で撮影画像を確認する場合には、表示画面を拡大表示画面に切替えた後、上下左右キーにより拡大表示を行う位置を撮影前にフォーカスを合わせた位置まで移動させるといった操作が必要になる。特に撮影直後に撮影画像が手ぶれによって失敗していないか確認する場合においては、撮影画像の拡大表示操作に、上下左右キーによる拡大表示画面の移動動作が伴い、即座に写真の良否を確認することができないという問題があった。   The enlarged display for confirming the captured image is always enlarged with reference to the center of the screen, and since the focus is rarely in the center of the screen as described above, the image is actually captured at the focused position. In order to confirm the image, after switching the display screen to the enlarged display screen, an operation of moving the position where the enlarged display is performed with the up / down / left / right keys to the focused position before photographing is required. In particular, when checking whether the shot image has failed due to camera shake immediately after shooting, the zoom display operation of the shot image is accompanied by the movement of the zoom display screen using the up / down / left / right keys. There was a problem that could not.

例えば、特許文献1では、撮影画像を確認する為にファインダーやLCD表示において、撮影時の画像面上のフォーカス位置である撮影画像の画面中央を中心とする領域の拡大表示を行ったり、撮影後に複数のフォーカス位置の中から撮影時に予め選択されたフォーカス位置を中心に拡大表示を行う技術が開示されている。
特開2004−255057号公報
For example, in Patent Document 1, in order to confirm a captured image, in the viewfinder or LCD display, an enlarged display of an area centered on the screen center of the captured image, which is the focus position on the image plane at the time of shooting, is performed. A technique for enlarging and displaying a focus position preselected at the time of shooting from a plurality of focus positions is disclosed.
JP 2004-255057 A

しかしながら、フォーカス位置を決めた後のカメラの移動を考慮していないため、撮影時のフォーカス位置を認識することができないものであった。また、フォーカス位置を撮影毎に記憶していない為、複数枚撮影後にまとめて撮影時の画像を確認するような場合には、フォーカス合わせを行った撮影と異なる箇所でフォーカス合わせを行った撮影については、実際にフォーカスを合わせた位置での拡大画像の確認を行うには、前述したようなキー操作が必要になる。   However, since the movement of the camera after the focus position is determined is not taken into consideration, the focus position at the time of shooting cannot be recognized. In addition, since the focus position is not stored for each shot, if you want to check the image at the time of shooting after shooting multiple shots, use the focus adjustment at a location different from the focus adjustment shooting. In order to confirm the enlarged image at the position where the focus is actually focused, the key operation as described above is required.

そこで、本発明は、前記した問題点を鑑みてなされたものであり、簡易な構成で、撮影後の画像を容易に確認することができるデジタルカメラ及びフォーカス位置特定方法、プログラムの提供を目的とする。   Therefore, the present invention has been made in view of the above-described problems, and an object thereof is to provide a digital camera, a focus position specifying method, and a program capable of easily confirming an image after shooting with a simple configuration. To do.

請求項1に記載の発明は、デジタルカメラであって、
被写体の光学画像を電気信号に変換して画像を取得する画像取得手段と、前記画像を表示する画像表示手段とを備えており、
合焦時の画像及びフォーカス位置を記憶する記憶手段と、
前記合焦時の画像と撮影時の画像とを比較することで撮影時のフォーカス位置を特定するフォーカス位置特定手段とを備え、
前記記憶手段は、撮影毎に前記フォーカス位置特定手段により特定された撮影時のフォーカス位置を記憶することを特徴とする。
The invention according to claim 1 is a digital camera,
Image acquisition means for acquiring an image by converting an optical image of a subject into an electrical signal, and image display means for displaying the image,
Storage means for storing an image at the time of focusing and a focus position;
A focus position specifying means for specifying a focus position at the time of shooting by comparing the image at the time of focusing and the image at the time of shooting;
The storage means stores a focus position at the time of shooting specified by the focus position specifying means for each shooting.

請求項1に記載の発明によれば、デジタルカメラは、合焦時の画像及びフォーカス位置を記憶し、合焦時の画像と撮影時の画像とを比較することで撮影時のフォーカス位置を特定し、撮影時のフォーカス位置を撮影毎に記憶するようになっている。   According to the first aspect of the present invention, the digital camera stores the image at the time of focusing and the focus position, and identifies the focus position at the time of shooting by comparing the image at the time of focusing and the image at the time of shooting. The focus position at the time of shooting is stored for each shooting.

請求項2に記載の発明は、請求項1に記載のデジタルカメラにおいて、
前記フォーカス位置特定手段は、前記合焦時の画像と撮影時の画像とを比較することで撮影時のフォーカス位置を特定することを特徴とする。
The invention described in claim 2 is the digital camera according to claim 1,
The focus position specifying means specifies the focus position at the time of shooting by comparing the image at the time of focusing and the image at the time of shooting.

請求項2に記載の発明によれば、フォーカス位置特定手段は、合焦時の画像と撮影時の画像とを比較することで撮影時のフォーカス位置を特定するようになっている。   According to the second aspect of the present invention, the focus position specifying means specifies the focus position at the time of shooting by comparing the image at the time of focusing with the image at the time of shooting.

請求項3に記載の発明は、請求項1に記載のデジタルカメラにおいて、
前記フォーカス位置特定手段は方向センサを備え、前記デジタルカメラの前記合焦時と撮影時との姿勢変化を比較することで撮影時のフォーカス位置を特定することを特徴とする。
According to a third aspect of the present invention, in the digital camera according to the first aspect,
The focus position specifying means includes a direction sensor, and the focus position at the time of shooting is specified by comparing the change in posture of the digital camera at the time of focusing and at the time of shooting.

請求項3に記載の発明によれば、フォーカス位置特定手段は方向センサを備え、デジタルカメラの合焦時と撮影時との姿勢変化を比較することで撮影時のフォーカス位置を特定するようになっている。   According to the third aspect of the present invention, the focus position specifying means includes the direction sensor, and the focus position at the time of shooting is specified by comparing the posture change between the time when the digital camera is focused and the time of shooting. ing.

請求項4に記載の発明は、請求項1に記載のデジタルカメラにおいて、
前記記憶手段は、前記合焦時の画像及びフォーカス位置を前記撮影時の画像に関連付けて記憶するとともに、
前記フォーカス位置特定手段は、非撮影時に前記記憶手段により記憶された撮影時の画像から撮影時のフォーカス位置を特定することを特徴とする。
According to a fourth aspect of the present invention, in the digital camera according to the first aspect,
The storage means stores the image at the time of focusing and the focus position in association with the image at the time of shooting,
The focus position specifying means specifies a focus position at the time of shooting from an image at the time of shooting stored by the storage means at the time of non-shooting.

請求項4に記載の発明によれば、合焦時の画像及びフォーカス位置を撮影時の画像に関連付けて記憶させるとともに、非撮影時に記憶された撮影時の画像から撮影時のフォーカス位置を特定し、特定された撮影時のフォーカス位置を前記撮影時の画像に関連付けて記憶させるようになっている。   According to the fourth aspect of the present invention, the image at the time of focusing and the focus position are stored in association with the image at the time of shooting, and the focus position at the time of shooting is specified from the image at the time of shooting stored at the time of non-shooting. The specified focus position at the time of shooting is stored in association with the image at the time of shooting.

請求項5に記載の発明は、請求項1又は請求項4に記載のデジタルカメラにおいて、
前記フォーカス位置特定手段は、前記合焦時の画像に対し特徴点及びフォーカス位置を検出し、撮影時の画像に対し、対応する特徴点を検出することで撮影時の画像のフォーカス位置を検出することを特徴とする。
According to a fifth aspect of the present invention, in the digital camera according to the first or fourth aspect,
The focus position specifying unit detects a feature point and a focus position with respect to the image at the time of focusing, and detects a focus position of the image at the time of shooting by detecting a corresponding feature point with respect to the image at the time of shooting. It is characterized by that.

請求項5に記載の発明によれば、フォーカス位置特定手段は、合焦時の画像に対し特徴点及びフォーカス位置を検出し、撮影時の画像に対し、対応する特徴点を検出することで撮影時の画像のフォーカス位置を検出することができるようになっている。   According to the fifth aspect of the present invention, the focus position specifying unit detects the feature point and the focus position with respect to the image at the time of focusing, and detects the corresponding feature point with respect to the image at the time of shooting. The focus position of the image at the time can be detected.

請求項6に記載の発明は、請求項1又は請求項4に記載のデジタルカメラにおいて、
前記フォーカス位置特定手段は、角速度センサにより検出された回転角に基づき、撮影時のフォーカス位置を検出することを特徴とすることを特徴とする。
The invention according to claim 6 is the digital camera according to claim 1 or 4,
The focus position specifying means detects a focus position at the time of photographing based on a rotation angle detected by an angular velocity sensor.

請求項6に記載の発明によれば、フォーカス位置特定手段は、角速度センサにより検出された回転角に基づき、撮影時の画像のフォーカス位置を検出することで、デジタルカメラの角速度を検出することができるようになっている。   According to the sixth aspect of the present invention, the focus position specifying unit can detect the angular velocity of the digital camera by detecting the focus position of the image at the time of photographing based on the rotation angle detected by the angular velocity sensor. It can be done.

請求項7に記載の発明は、請求項1〜請求項6のいずれか一項に記載のデジタルカメラにおいて、
キー入力手段を備えており、
前記画像表示手段は、前記キー入力手段の操作に基づき、撮影時の画像又は撮影時の画像のうち合焦された位置を中心とする拡大画像が選択されて表示されることを特徴とする。
The invention according to claim 7 is the digital camera according to any one of claims 1 to 6,
Key input means,
The image display means is characterized in that an enlarged image centered on a focused position is selected and displayed based on an operation of the key input means.

請求項7に記載の発明によれば、撮影後等撮影時の画像を確認する際に、撮影時の画像又は撮影時の画像のうち合焦された位置を中心とする拡大画像を選択して表示させることができるので、用途に応じて表示させる画像を選択することができる。   According to the invention of claim 7, when confirming an image at the time of shooting such as after shooting, an enlarged image centered on a focused position is selected from the image at the time of shooting or the image at the time of shooting. Since it can be displayed, an image to be displayed can be selected according to the application.

請求項8に記載の発明は、請求項7に記載のデジタルカメラにおいて、
前記キー入力手段は、拡大表示キーを有し、
前記画像表示手段は、前記拡大表示キーの入力により撮影時の画像のうち合焦された位置を中心とする拡大画像を表示させることを特徴とする。
The invention according to claim 8 is the digital camera according to claim 7,
The key input means has an enlarged display key,
The image display means displays an enlarged image centered on a focused position in the image at the time of shooting by inputting the enlarged display key.

請求項8に記載の発明によれば、撮影後等、撮影時の画像を確認する際に、拡大表示キーの入力により撮影時の画像のうち合焦された位置を中心とする拡大画像を表示させることができるので、撮影時のフォーカス位置からピントを合わせた位置までキー操作を行う手間をなくして、容易に撮影画像の適否を確認することができ、ユーザの使用勝手を向上させることができる。   According to the eighth aspect of the present invention, when confirming an image at the time of photographing such as after photographing, an enlarged image centered on a focused position is displayed among the images at the time of photographing by inputting an enlargement display key. Therefore, it is possible to easily confirm the suitability of the photographed image without the trouble of performing the key operation from the focus position at the time of photographing to the focused position, and to improve user convenience. .

請求項9に記載の発明は、請求項1〜請求項8のいずれか一項に記載のデジタルカメラにおいて、
前記記憶手段は、撮影毎に合焦時の画像のフォーカス位置をプロパティ情報として記憶することを特徴とする。
The invention according to claim 9 is the digital camera according to any one of claims 1 to 8,
The storage means stores the focus position of the image at the time of focusing as property information for each shooting.

請求項9に記載の発明によれば、一般的な撮影情報だけでなく合焦時のフォーカス位置をプロパティ情報に含めて記憶させることができる。   According to the ninth aspect of the present invention, not only general photographing information but also a focus position at the time of focusing can be stored in the property information.

請求項10に記載の発明は、
請求項1に記載のデジタルカメラを用いて撮像画像上におけるフォーカス位置を特定するフォーカス位置特定方法であって、
前記記憶手段による合焦時の画像及び該画像平面中のフォーカス位置を記憶する記憶処理と、
前記フォーカス位置特定手段による前記合焦時の画像と撮影時の画像とを比較することで撮影時のフォーカス位置を特定するフォーカス位置特定処理と、を行い、
前記記憶処理では、撮影毎に前記フォーカス位置特定処理により
特定された撮影時のフォーカス位置を記憶する処理を行うことを特徴とする。
The invention according to claim 10 is:
A focus position specifying method for specifying a focus position on a captured image using the digital camera according to claim 1,
A storage process for storing an in-focus image by the storage unit and a focus position in the image plane;
A focus position specifying process for specifying the focus position at the time of shooting by comparing the image at the time of focusing and the image at the time of shooting by the focus position specifying means;
In the storing process, a process of storing a focus position at the time of shooting specified by the focus position specifying process for each shooting is performed.

請求項10に記載の発明によれば、請求項1と同様の作用を得ることができ、デジタルカメラは、合焦時の画像及びフォーカス位置を記憶し、合焦時の画像と撮影時の画像とを比較することで撮影時のフォーカス位置を特定し、撮影時のフォーカス位置を撮影毎に記憶するようになっている。   According to the tenth aspect of the present invention, the same effect as in the first aspect can be obtained, and the digital camera stores the image at the time of focusing and the focus position, and the image at the time of focusing and the image at the time of photographing. And the focus position at the time of shooting is specified, and the focus position at the time of shooting is stored for each shooting.

請求項11に記載の発明は、プログラムであって、
請求項1に記載のデジタルカメラを、
前記合焦時の画像を前記撮影画像に関連つけて記憶させる記憶手段と、
コンピュータに対し、前記撮影画像を転送する転送手段として機能させるとともに、
前記コンピュータを、
前記転送された撮影画像から撮影時の焦点位置を特定する焦点位置特定手段と、
前記撮影時の画像を表示する画像表示手段ととして機能させるようになっている。
The invention according to claim 11 is a program,
The digital camera according to claim 1,
Storage means for storing the image at the time of focusing in association with the captured image;
Let the computer function as transfer means for transferring the captured image,
The computer,
A focus position specifying means for specifying a focus position at the time of shooting from the transferred shot image;
It functions as image display means for displaying the image at the time of shooting.

請求項11に記載の発明によれば、請求項1と同様の作用を得ることができ、デジタルカメラは、合焦時の画像及びフォーカス位置を記憶し、合焦時の画像と撮影時の画像とを比較することで撮影時のフォーカス位置を特定し、撮影時のフォーカス位置を撮影毎に記憶するようになっている。   According to the eleventh aspect of the present invention, the same effect as in the first aspect can be obtained, and the digital camera stores the image at the time of focusing and the focus position, and the image at the time of focusing and the image at the time of photographing. And the focus position at the time of shooting is specified, and the focus position at the time of shooting is stored for each shooting.

本発明によれば、合焦時と撮影時の画像の比較によりフォーカス位置の移動を検出することができるので、フォーカス位置を決めた後、カメラを移動させて撮影した場合でも撮影時のフォーカス位置を検出することができる。   According to the present invention, since the movement of the focus position can be detected by comparing the images at the time of focusing and at the time of shooting, the focus position at the time of shooting is determined even when the camera is moved after shooting after determining the focus position. Can be detected.

以下、本発明の実施形態に係るデジタルカメラについて図1〜図7を参照して説明する。
図1は、このデジタルカメラにおける内部構成を示したブロック図である。
A digital camera according to an embodiment of the present invention will be described below with reference to FIGS.
FIG. 1 is a block diagram showing the internal configuration of this digital camera.

このデジタルカメラは、レンズブロック1を有しており、レンズブロック1には、カメラ本体の鏡筒2内に設けられたシャッター3、絞り4、ズームレンズ5及びフォーカスレンズ6を含む複数枚の光学レンズからなる沈胴式の光学系が設けられている。絞り4の開度は「開放」状態と、「絞り」状態(所定開度)との2段階に制御可能であり、またズームレンズ5及びフォーカスレンズ6は、鏡筒2内の図示しない駆動機構により機械的に光軸方向に移動可能となっている。   The digital camera has a lens block 1, and a plurality of optical elements including a shutter 3, an aperture 4, a zoom lens 5, and a focus lens 6 provided in a lens barrel 2 of the camera body. A retractable optical system comprising a lens is provided. The aperture of the diaphragm 4 can be controlled in two stages, an “open” state and an “aperture” state (predetermined opening), and the zoom lens 5 and the focus lens 6 are not shown in FIG. Therefore, it can be moved mechanically in the optical axis direction.

レンズブロック1には、シャッター3を開閉駆動するシャッター用アクチュエータ7と、絞り4を駆動する絞り用アクチュエータ8、前記駆動機構によりズームレンズ5及びフォーカスレンズ6を駆動するズームモータ9及びフォーカスモータ10、両レンズ5,6の移動位置をそれぞれ検出するためのズームレンズ位置検出センサ11及びフォーカスレンズ位置検出センサ12、上記光学系とは別に設けられ、入射光の位相差を検出し測距信号として出力する測距センサ31が設けられている。上記の各アクチュエータ7,8及び各モータ9,10は、ドライバーブロック13に設けられた絞り用(Iris)、シャッター用(Shutter)、ズーム用(ZOOM)、フォーカス用(Focus)の各ドライバー14〜17によって駆動されるようになっている。   The lens block 1 includes a shutter actuator 7 for opening and closing the shutter 3, a diaphragm actuator 8 for driving the diaphragm 4, a zoom motor 9 and a focus motor 10 for driving the zoom lens 5 and the focus lens 6 by the driving mechanism, A zoom lens position detection sensor 11 and a focus lens position detection sensor 12 for detecting the movement positions of both lenses 5 and 6, respectively, are provided separately from the optical system, and detect the phase difference of incident light and output it as a distance measurement signal. A distance measuring sensor 31 is provided. The actuators 7 and 8 and the motors 9 and 10 are provided on the driver block 13 with a driver (Iris), a shutter (Shutter), a zoom (ZOOM), and a focus (Focus). 17 is driven.

また、デジタルカメラは、前述した光学系の光軸後方に配置された撮像手段であるCCD19と、CDS(Correlated Double Sampling)/ADブロック20、TG(Timing Generator)21とからなるCCD撮像系ブロック18を有している。CCD19は、デジタルカメラが記録モードに設定されているとき、光学系によって結像された被写体の光像を光電変換するとともに、TG21によって走査駆動され一定周期毎に光電変換出力を1画面分出力するようになっている。CDS/ADブロック20は、CCD19から出力された後、RGBの色成分毎に適宜ゲイン調整されたアナログの出力信号に対する相関二重サンプリングによるノイズ除去、及びデジタル信号への変換を行い、カラープロセス回路22に出力するようになっている。   The digital camera has a CCD imaging system block 18 comprising a CCD 19, which is an imaging means arranged behind the optical axis of the optical system, a CDS (Correlated Double Sampling) / AD block 20, and a TG (Timing Generator) 21. have. When the digital camera is set to the recording mode, the CCD 19 photoelectrically converts the light image of the subject imaged by the optical system, and scan-driven by the TG 21 to output a photoelectric conversion output for one screen at a certain period. It is like that. The CDS / AD block 20 performs noise removal by correlated double sampling and conversion to a digital signal with respect to an analog output signal that has been appropriately gain-adjusted for each RGB color component after being output from the CCD 19, and is a color process circuit 22 is output.

カラープロセス回路22は、入力した撮像信号に対し画素補間処理を含むカラープロセス処理を施し、デジタル値の輝度信号(Y)及び色差信号(Cb,Cr)を生成し、デジタルカメラ全体を制御するCPU23へ出力するように構成されている。なお、CPU23は、実際には内部メモリや各種の演算処理回路、データの入出力インターフェース等を備えたマイクロプロセッサーである。   The color process circuit 22 performs color process processing including pixel interpolation processing on the input image pickup signal, generates a digital luminance signal (Y) and color difference signals (Cb, Cr), and controls the entire digital camera. It is configured to output to. The CPU 23 is actually a microprocessor having an internal memory, various arithmetic processing circuits, a data input / output interface, and the like.

CPU23に送られたデジタル信号(画像信号)はDRAM24に一時保存されるとともに画像表示手段25に送られるようになっている。画像表示手段25はビデオエンコーダー、VRAM、液晶モニタ及びその駆動回路により構成されており、本発明の表示手段を構成する。画像表示手段25では、CPU23から送られたデジタル信号に基づき前記ビデオエンコーダーによってビデオ信号が生成され、それに基づく表示画像、すなわちCCD19に撮像されるとともに所定の画素数に間引きされた後の被写体のスルー画像が前記液晶モニタに表示されるように構成されている。   The digital signal (image signal) sent to the CPU 23 is temporarily stored in the DRAM 24 and sent to the image display means 25. The image display means 25 is composed of a video encoder, a VRAM, a liquid crystal monitor and a drive circuit thereof, and constitutes the display means of the present invention. In the image display means 25, a video signal is generated by the video encoder based on the digital signal sent from the CPU 23, and a display image based thereon, that is, an image of the subject after being picked up by the CCD 19 and thinned to a predetermined number of pixels. An image is configured to be displayed on the liquid crystal monitor.

キー入力手段26は電源キー、記録/再生のモード切替スイッチ、シャッターキー、ズームキー、拡大表示キー、メニューキー等の各種キーにより構成され、ユーザーによるキー操作に応じた操作信号をCPU23に送るように構成されている。例えば記録モードで、シャッターキーが半押された撮影操作時(合焦時)には、それを示すトリガー信号がCPU23に出力され、シャッターキーが全押された撮影操作時には、それを示すトリガー信号がCPU23に出力されるようになっている。また、メニューキーには、後述する画像表示手段25に拡大画像を表示する際に合焦時又は撮影時の画像を表示させるか選択するモード(合焦時画像モード/撮影時画像モード)が具備されている。   The key input means 26 includes various keys such as a power key, a recording / playback mode switch, a shutter key, a zoom key, an enlarged display key, and a menu key, and sends an operation signal to the CPU 23 in accordance with the key operation by the user. It is configured. For example, in the recording mode, when a shooting operation is performed when the shutter key is half-pressed (during focusing), a trigger signal indicating that is output to the CPU 23, and when a shooting operation is performed when the shutter key is fully pressed, a trigger signal indicating it is output. Is output to the CPU 23. In addition, the menu key has a mode (image mode at focus / image mode at shooting) for selecting whether to display an image at the time of focusing or at the time of shooting when displaying an enlarged image on the image display means 25 described later. Has been.

CPU23はシャッターキーが半押し又は全押されたトリガー信号が入力すると、それに応じてCCD19から取り込んだ1画面分の画像データをY,Cb,Crのコンポーネント毎に縦8画素×横8画素の基本ブロックと称する基本単位毎にDRAM24から読み出してJPEG回路27に送り、JPEG回路27によりDCT(離散拡散変換)、符号化によって圧縮された1画像分の圧縮データを画像記録手段28に記憶するようになっている。   When the CPU 23 receives a trigger signal when the shutter key is half-pressed or fully pressed, the image data for one screen taken in from the CCD 19 in accordance with the trigger signal corresponding to the Y, Cb, and Cr components is basically 8 pixels × 8 pixels. Each basic unit called a block is read from the DRAM 24, sent to the JPEG circuit 27, and the JPEG circuit 27 stores the compressed data for one image compressed by DCT (discrete diffusion transform) and encoding in the image recording means 28. It has become.

画像記録手段28は、具体的にはカードインターフェース、及びそれを介してCPU23に接続され、かつカメラ本体に着脱自在に装着される不揮発性の各種メモリカードから構成される。画像記録手段28に記録された画像データは、再生モードにおいてはCPU23により読み出され、JPEG回路27によって伸張された後、画像表示手段25の液晶表示モニタに表示されるようになっている。   Specifically, the image recording means 28 includes a card interface and various nonvolatile memory cards that are connected to the CPU 23 via the card interface and are detachably attached to the camera body. The image data recorded in the image recording means 28 is read by the CPU 23 in the reproduction mode, expanded by the JPEG circuit 27, and then displayed on the liquid crystal display monitor of the image display means 25.

画像表示手段25では、再生モードでは、通常、画像記録手段28に記録された画像データが表示されるようになっており、再生モードにおいて拡大表示キーが入力されるとこの画像データは拡大表示されるようになっている。また、メニューキーの操作により、合焦時画像モードにおいて拡大表示キーが入力されると、合焦時の画像が拡大表示されるようになっており、撮影時画像モードにおいて拡大表示キーが入力されると撮影時画像が拡大表示されるようになっている。   The image display means 25 normally displays the image data recorded in the image recording means 28 in the reproduction mode. When the enlargement display key is input in the reproduction mode, the image data is enlarged and displayed. It has become so. In addition, when an enlarged display key is input in the in-focus image mode by operating the menu key, the in-focus image is displayed in an enlarged manner, and the enlarged display key is input in the shooting image mode. Then, the image at the time of shooting is enlarged and displayed.

フラッシュメモリ30は書き換え可能な不揮発性のメモリであり、フラッシュメモリ30には、CPU23に上述した各部を制御させるとともに、各種プログラムやデータが記憶されるようになっている。   The flash memory 30 is a rewritable non-volatile memory. The flash memory 30 causes the CPU 23 to control the above-described units and stores various programs and data.

また、CPU23には、レンズコントロールブロック29が接続されており、CPU23は、レンズコントロールブロック29に、前述したドライバーブロック13の各ドライバー14〜17へ送る駆動信号を生成させることで、絞り4の開度やズームレンズ5及びフォーカスレンズ6の位置、シャッター3の開閉動作を制御するように構成されている。   Further, the lens control block 29 is connected to the CPU 23, and the CPU 23 causes the lens control block 29 to generate drive signals to be sent to the drivers 14 to 17 of the driver block 13 described above, thereby opening the aperture 4. The zoom lens 5 and the position of the focus lens 6 and the opening / closing operation of the shutter 3 are controlled.

また、CPU23は、レンズコントロールブロック29を介して測距センサ31から送られる測距信号に基づき、位相検出方式によって被写体距離を定期的に検出し、その検出結果に基づきフォーカスレンズ6の位置を制御するように構成されている。   The CPU 23 periodically detects the subject distance by the phase detection method based on the distance measurement signal sent from the distance sensor 31 via the lens control block 29, and controls the position of the focus lens 6 based on the detection result. Is configured to do.

また、CPU23では、前述のズームレンズの位置検出センサ11及びフォーカスレンズの位置検出センサ12によって検出された各レンズ5,6の位置検出情報がレンズコントロールブロック29を介して逐次入力されるように構成されている。   Further, the CPU 23 is configured such that the position detection information of the lenses 5 and 6 detected by the zoom lens position detection sensor 11 and the focus lens position detection sensor 12 is sequentially input via the lens control block 29. Has been.

また、CPU23には、フォーカス位置特定手段41が設けられており、フォーカスモードとしてオートフォーカス・モードが設定されているときには、合焦時の画像と撮影時の画像を比較することで撮影時のフォーカス位置を特定するように構成されている。   Further, the CPU 23 is provided with a focus position specifying means 41. When the autofocus mode is set as the focus mode, the focus at the time of shooting is compared by comparing the image at the time of focusing with the image at the time of shooting. It is comprised so that a position may be specified.

ここで、まず、オートフォーカス・モードが使用される状況について説明した後、フォーカス位置特定手段41が撮影時のフォーカス位置を特定する具体的な方法について説明する。   Here, first, the situation in which the autofocus mode is used will be described, and then a specific method by which the focus position specifying unit 41 specifies the focus position at the time of shooting will be described.

オートフォーカス・モードが使用される撮影状況としては、基本的には人物を撮影することが目的であるが、建物全景も写した場合であり、図2に示すような人物が建物を背景として画面の端に位置するような構図が例示される。   The shooting situation in which the autofocus mode is used is basically the purpose of shooting a person, but it is a case where the whole building is also captured, and the person as shown in FIG. An example of the composition is as shown in FIG.

この場合、フォーカスエリアがレンズ光軸の延長上に固定されている場合には、撮影操作に先立ち、図3(a)に示すように、フォーカスを合わせたい対象、ここでは「人物の顔」をレンズ中央すなわち撮影フレームの中心に合わせ、この状態でシャッターキーを半押しする。すると、レンズに対応してモニタ中央に映る「人物の顔」にデジタルカメラのフォーカス位置が固定、つまり、「人物の顔」に対してフォーカス調整(合焦)が行われる。   In this case, when the focus area is fixed on the extension of the lens optical axis, prior to the shooting operation, as shown in FIG. Align with the center of the lens, that is, the center of the shooting frame, and press the shutter key halfway in this state. Then, the focus position of the digital camera is fixed to the “person's face” reflected in the center of the monitor corresponding to the lens, that is, focus adjustment (focusing) is performed on the “person's face”.

次いで、シャッターキーを半押しした状態でカメラを希望する構図、つまり、ここでは左上方向にカメラを動かし、図3(b)の構図に合わせる。この状態では、フォーカスは先の合焦時の状態に固定されており、カメラのフォーカスは、人物の顔に合ったままである。この状態で、シャッターキーをさらに押し込む(全押しする)と、図3(b)に示すような写真を撮ることができる。なお、最初から図3(b)の構図でシャッターキーを全押しすると、背景の建物中央にフォーカスが合うことになり、人物の顔にはフォーカスが合わないので、人物の顔にピンボケが生じた写真になる。   Next, the desired composition of the camera with the shutter key pressed halfway, that is, here, the camera is moved in the upper left direction to match the composition of FIG. In this state, the focus is fixed to the state at the time of previous focusing, and the focus of the camera remains on the person's face. In this state, if the shutter key is further pressed (fully pressed), a photograph as shown in FIG. 3B can be taken. When the shutter key is fully pressed in the composition of FIG. 3B from the beginning, the center of the background building will be in focus, and the person's face will not be in focus, resulting in out of focus on the person's face. Become a photo.

そこで、フォーカス位置特定手段41では、以下に記載する方法で、撮影時の画像平面上でのフォーカス位置を特定するように構成されている。   Therefore, the focus position specifying means 41 is configured to specify the focus position on the image plane at the time of shooting by the method described below.

オートフォーカス・モード時に、シャッターキーが半押しされると、シャッターキーが半押しされたときのトリガー信号及び距離情報がCPU23に送られるとともに、CPU23を介して当該信号に基づきカラープロセス回路から出力される画像信号がDRAM24に入力されるようになっており、DRAM24では、入力された画像信号に基づき、画像平面上でのフォーカス位置を固定した画像(図3(a))が一時的に保存されるようになっている。次いで、デジタルカメラの方向を変えてシャッターキーが全押しされると、シャッターキーが全押しされたときのトリガー信号に基づく画像信号がCPU23に送られるとともに、CPU23を介して当該信号に基づきカラープロセス回路から出力される画像信号がDRAM24に入力されるようになっており、DRAM24では、入力された画像信号に基づき、シャッターキーが全押しされたときの画像(図3(b))が一時的に保存されるようになっている。   When the shutter key is half-pressed in the auto focus mode, the trigger signal and distance information when the shutter key is half-pressed are sent to the CPU 23 and are output from the color process circuit via the CPU 23 based on the signal. An image signal (FIG. 3A) with a fixed focus position on the image plane is temporarily stored in the DRAM 24 based on the input image signal. It has become so. Next, when the direction of the digital camera is changed and the shutter key is fully pressed, an image signal based on a trigger signal when the shutter key is fully pressed is sent to the CPU 23 and the color process is performed based on the signal via the CPU 23. An image signal output from the circuit is input to the DRAM 24. In the DRAM 24, an image (FIG. 3B) when the shutter key is fully pressed is temporarily based on the input image signal. To be saved.

そして、DRAM24にフォーカス位置を固定した画像(図3(a))とデジタルカメラの方向を変えてシャッターキーが全押しされたときの画像(図3(b))が保存されると、フォーカス位置特定手段41では、合焦時の画像としてフォーカス位置を固定した画像と、撮影時の画像としてシャッターキーが全押しされたときの画像との特徴点を抽出し、両画像における特徴点の位置を比較することで特徴点の移動を検出するように構成されている。図3では、合焦時と撮影時の画像において建物の角(a1)や窓(a2)、エントランス、屋根の境界(a3)などを特徴点として検出した例を示しているとともに、説明上、合焦時と撮影時の画像を隣接して配置させた場合に、合焦時から撮影時までの間に各特徴点(a1〜a3)が移動する際に描く軌跡がそれぞれ点線の矢印A1〜A3で示されている。図中、各特長点(a1〜a3)は、平行に移動していることから、フォーカス位置特定手段41は、各特徴点(a1〜a3)が並行に移動していることを検出するようになっている。   Then, when the image (FIG. 3A) in which the focus position is fixed in the DRAM 24 and the image when the shutter key is fully pressed by changing the direction of the digital camera (FIG. 3B) are stored, the focus position is saved. The specifying unit 41 extracts feature points between an image with a fixed focus position as an image at the time of focusing and an image when the shutter key is fully pressed as an image at the time of shooting, and the position of the feature point in both images is determined. The movement of the feature points is detected by comparison. FIG. 3 shows an example in which the corner (a1) of the building, the window (a2), the entrance, the roof boundary (a3), and the like are detected as feature points in the in-focus and shooting images. When the images at the time of focusing and at the time of shooting are arranged adjacent to each other, the trajectory drawn when each feature point (a1 to a3) moves from the time of focusing to the time of shooting is indicated by dotted arrows A1 to A1, respectively. This is indicated by A3. In the figure, since the feature points (a1 to a3) are moving in parallel, the focus position specifying means 41 detects that the feature points (a1 to a3) are moving in parallel. It has become.

また、フォーカス位置特定手段41は、平行移動を検出した後、矢印A1〜A3と平行で長さが等しい矢印Bを合焦時の画像(図3(a))のフォーカス位置(フォーカスを合わせた人物の顔、b)から撮影時の画像(図3(b))に対して引くと、矢印の終点(b´)が撮影時のフォーカス位置となり、撮影時における画像平面上でのフォーカス位置を特定するようになっている。なお、カメラを動かす量によっては、特徴点の対応がうまく取れないことも想定されるが、画像比較を例えばカメラスルー画像の縮小画像に対して逐次行う構成とすれば、合焦時と撮影時のフォーカス対象の移動検出は比較的容易である。また、縮小画像を用いることにより、演算量を減らすことも可能になる。   In addition, after detecting the parallel movement, the focus position specifying unit 41 moves the arrow B parallel to the arrows A1 to A3 and equal in length to the focus position (focused) of the focused image (FIG. 3A). When a person's face, b) is drawn with respect to the image at the time of shooting (FIG. 3B), the end point (b ′) of the arrow becomes the focus position at the time of shooting, and the focus position on the image plane at the time of shooting is changed. It has come to identify. Note that depending on the amount of movement of the camera, it may be assumed that the correspondence between the feature points cannot be obtained well. However, if the image comparison is performed sequentially on the reduced image of the camera-through image, for example, at the time of focusing and at the time of shooting The movement detection of the focus target is relatively easy. In addition, the amount of calculation can be reduced by using a reduced image.

次に、以上の構成からなるデジタルカメラにおける記録モードによる静止画撮影時の動作を説明する。   Next, the operation at the time of still image shooting in the recording mode in the digital camera having the above configuration will be described.

まず、デジタルカメラにフォーカスモードとして、合焦位置を自動制御するオートフォーカス・モードが事前に設定されている場合について説明する。図4は、その場合にCPU23が実行する本発明に係る処理内容を示すフローチャートである。   First, a case where an autofocus mode for automatically controlling a focus position is set in advance as a focus mode for a digital camera will be described. FIG. 4 is a flowchart showing the processing contents according to the present invention executed by the CPU 23 in that case.

フォーカスを合わせたい「人物の顔」がフレーム中央に設定されているフォーカスエリアに位置するようにカメラの向きが決められ、この状態でシャッターキーを半押しすると(ステップS1)、キー入力手段26及び距離センサ31からシャッターキーが半押しされたときのトリガー信号及び被写体の前記フォーカスエリアに対応した部分までの距離情報がCPU23に送られた後、TG21、CCD19、CDS/AD20、カラープロセス回路22を経て得られた画像信号がDRAM24に入力され、合焦時の画像(図3(a))が一時的に保存される(ステップS2)。   The direction of the camera is determined so that the “person's face” to be focused is located in the focus area set in the center of the frame, and when the shutter key is pressed halfway in this state (step S1), the key input means 26 and After the trigger signal when the shutter key is half-pressed from the distance sensor 31 and the distance information to the portion corresponding to the focus area of the subject are sent to the CPU 23, the TG 21, CCD 19, CDS / AD 20, and color process circuit 22 are sent. The image signal obtained through the process is input to the DRAM 24, and the focused image (FIG. 3A) is temporarily stored (step S2).

このとき、シャッターキーは半押しの状態になっており、この状態が維持されたままカメラの向きが希望の構図となるよう変更されてシャッターキーが全押しされると(ステップS3)、キー入力手段26からシャッターキーが全押しに送られたされたときのトリガー信号がCPU23に送られた後、TG21、CCD19、CDS/AD20、カラープロセス回路22を経て得られた画像信号がDRAM24に入力され、シャッターキーが全押しされたときの画像(図3(b))が一時的に保存される(ステップS4)。   At this time, the shutter key is in a half-pressed state, and when this state is maintained and the camera orientation is changed to a desired composition and the shutter key is fully pressed (step S3), key input is performed. After the trigger signal when the shutter key is fully pressed from the means 26 is sent to the CPU 23, the image signal obtained through the TG 21, CCD 19, CDS / AD 20, and color process circuit 22 is inputted to the DRAM 24. The image when the shutter key is fully pressed (FIG. 3B) is temporarily saved (step S4).

次いで、フォーカス位置特定手段41は、合焦時の画像と撮影時の画像の特徴点を抽出し、両画像における特徴点の位置を比較して各特徴点が並行に移動していることを検出する。   Next, the focus position specifying means 41 extracts the feature points of the image at the time of focusing and the image at the time of shooting, compares the positions of the feature points in both images, and detects that the feature points are moving in parallel. To do.

その後、フォーカス位置特定手段41は、合焦時の画像(図3(a))のフォーカス位置(フォーカスを合わせた人物の顔)から撮影時の画像(図3(b))に対して矢印A1〜A3と平行で長さが等しい矢印を引いて、矢印の終点となる位置を撮影時に被写体上でフォーカスが合っている位置として特定する(ステップS5)。   Thereafter, the focus position specifying means 41 uses the arrow A1 for the image (FIG. 3B) taken from the focus position (the face of the person in focus) of the focused image (FIG. 3A). An arrow parallel to .about.A3 and having the same length is drawn, and the position that becomes the end point of the arrow is specified as the focused position on the subject at the time of shooting (step S5).

その後、フォーカス位置特定手段41は、特定されたフォーカス位置を撮影時の画像(図3(b))と対応付け(ステップS6)、当該情報(フォーカス位置が対応付けられた撮影時の画像情報)を画像記憶部28に送る。画像記憶部28では、フォーカス位置が対応付けられた撮影時の画像情報を記憶する(ステップS7)。   Thereafter, the focus position specifying unit 41 associates the specified focus position with the image at the time of photographing (FIG. 3B) (step S6), and the information (image information at the time of photographing associated with the focus position). Is sent to the image storage unit 28. The image storage unit 28 stores image information at the time of shooting associated with the focus position (step S7).

そして、撮影された画像において、人物の顔にフォーカスが合っているか否か確認する際には、記録モードから再生モードに切り替える(ステップS8)。   Then, when confirming whether the person's face is in focus in the photographed image, the recording mode is switched to the reproduction mode (step S8).

キー入力手段26の操作に基づき再生モードに切り替えられると、画像表示手段25に撮影時の画像を表示される(ステップS9)。このとき、画像表示手段25では、図5(a)に示す画像が表示されている。画面端にいる人物の顔にフォーカスが合っているか否か確認する為、拡大表示キーを操作すると、図5(c)に示す画像が画像表示手段25に表示され、目的とする画像が得られたか否か確認することができる。   When the reproduction mode is switched based on the operation of the key input means 26, an image at the time of shooting is displayed on the image display means 25 (step S9). At this time, the image display means 25 displays the image shown in FIG. When the enlargement display key is operated to check whether or not the face of the person at the edge of the screen is in focus, the image shown in FIG. 5C is displayed on the image display means 25, and the target image is obtained. It can be confirmed whether or not.

以上のように、このデジタルカメラでは、オートフォーカス・モードでの静止画撮影時には、合焦時の画像及びその画像平面状でのフォーカス位置を記憶し、合焦時の画像と撮影時の画像とを比較することで撮影時のフォーカス位置を特定することができる。また、撮影時のフォーカス位置の検出に際し、特別な回路を追加させる必要がなく容易な構成で撮影時のフォーカス位置の特定をすることができる。   As described above, this digital camera stores the in-focus image and the focus position on the image plane when shooting a still image in the autofocus mode. The focus position at the time of shooting can be specified by comparing. In addition, when detecting the focus position at the time of shooting, it is not necessary to add a special circuit, and the focus position at the time of shooting can be specified with an easy configuration.

また、撮影時のフォーカス位置を撮影毎に記憶するので、複数枚撮影後にまとめて撮影時の画像を確認するような場合でも、各撮影毎に撮影時のフォーカス位置を特定することができる。   Further, since the focus position at the time of shooting is stored for each shooting, the focus position at the time of shooting can be specified for each shooting even when the images at the time of shooting are checked together after shooting a plurality of images.

また、フォーカスを合わせた位置での拡大表示画像(図5(c))を画像表示手段25に表示させることで撮影画像を確認する場合には、従来技術のように一旦撮影時のフォーカス位置での拡大画像(図5(b))を表示させてから、当該画像をフォーカスを合わせた位置までキー操作を行うというような手間をなくすことができるので、容易に撮影画像の適否を確認することができ、ユーザの使用勝手を向上させることができる。   Further, when the captured image is confirmed by displaying the enlarged display image (FIG. 5C) at the focused position on the image display means 25, the focus position at the time of shooting is once used as in the prior art. It is possible to eliminate the trouble of performing the key operation to the position where the focused image is displayed after displaying the enlarged image (FIG. 5B). Therefore, it is possible to easily confirm the suitability of the captured image. And user convenience can be improved.

なお、本実施形態においては、フォーカス位置特定手段41は合焦時と撮影時の画像を比較することでカメラの移動を検出したが、合焦時と撮影時のフォーカス位置を図6に示すように座標(X,Y)で表して検出する構成としてもよい。拡大表示をする前の元画像との対応を容易にする為、フォーカス位置を縦横の画素数に対する割合として記憶する構成としてもよい。   In the present embodiment, the focus position specifying means 41 detects the movement of the camera by comparing the images at the time of focusing and at the time of shooting, but the focus positions at the time of focusing and at the time of shooting are as shown in FIG. It is good also as a structure represented by a coordinate (X, Y). In order to facilitate the correspondence with the original image before the enlarged display, the focus position may be stored as a ratio to the number of vertical and horizontal pixels.

また、本実施形態においては、フォーカス位置特定手段41は、合焦時の画像と撮影時の画像の特徴点を抽出し、比較することでカメラの動作を検出したが、画像の複数の特徴点抽出と対応点を特定する処理を行うためには、CPUの処理能力が高めることが必要になる。一般に、撮影時にはノイズ除去や色補正などの画像処理が必要となる他、近年では連写性能が求められることが多く、前述したようなフォーカス位置を特定する処理を行うことが難しい場合がある。   In the present embodiment, the focus position specifying unit 41 detects the operation of the camera by extracting and comparing the feature points of the focused image and the captured image. In order to perform extraction and processing for specifying corresponding points, it is necessary to increase the processing capacity of the CPU. In general, image processing such as noise removal and color correction is required at the time of shooting, and continuous shooting performance is often required in recent years, and it may be difficult to perform the process of specifying the focus position as described above.

そこで、この問題を解決するためには、DRAM24に合焦時のフォーカス位置と画像及び撮影時の画像が入力された際に、合焦時のフォーカス位置と画像を、撮影時の画像に関連付けて記憶させるとともに、非撮影時に、フォーカス位置特定手段フォーカスに前述と同様の方法で撮影時のフォーカス位置を特定させ、特定されたフォーカス位置を撮影時の画像と対応付けさせる構成とすればよい。その後は前述したように、フォーカス位置が対応付けられた撮影時の画像情報を画像記憶部28に送り、画像記憶部28において、フォーカス位置が対応付けられた撮影時の画像情報を記憶する構成とすればよい。あるいは、特定されたフォーカス位置を撮影時の画像と対応付けた後、DRAM24内の合焦時の画像を消去してフォーカス位置情報を書き換える構成としてもよい。この場合、DRAM24に合焦時の画像が存在するか否かを確認することで、フォーカス位置情報が合焦時のものであるか、又は撮影時のものであるかを判断することができる構成とすることができる。   In order to solve this problem, when the focus position and image at the time of focusing and the image at the time of shooting are input to the DRAM 24, the focus position and image at the time of focusing are associated with the image at the time of shooting. In addition to storing the image, the focus position specifying unit may be configured to specify the focus position at the time of shooting in the same manner as described above and associate the specified focus position with the image at the time of shooting at the time of non-shooting. Thereafter, as described above, the image information at the time of photographing associated with the focus position is sent to the image storage unit 28, and the image storage unit 28 stores the image information at the time of photographing associated with the focus position. do it. Alternatively, the focus position information may be rewritten by deleting the focused image in the DRAM 24 after associating the identified focus position with the image at the time of shooting. In this case, it is possible to determine whether the focus position information is at the time of focusing or at the time of shooting by confirming whether or not the image at the time of focusing exists in the DRAM 24. It can be.

あるいは、フォーカス位置を特定する処理を行うことが難しい場合の他の解決手段としては、デジタルカメラから合焦時のフォーカス位置及び画像と撮影時の画像を関連付けた情報がパーソナルコンピュータ(PC)に転送された際に、PCを、転送された情報を基に前述と同様の方法で撮影時のフォーカス位置を特定させるためのフォーカス位置特定手段、及び、特定された撮影時のフォーカス位置に基づいてPC側の画像表示部にフォーカス位置における撮影画像を拡大表示させるための画像表示手段として機能させるためのプログラムを具備させる構成とすればよい。この場合、デジタルカメラ単体では、撮影画像のフォーカス位置を検出することはできないが、このプログラムではPCに対して合焦時と撮影時の画像におけるフォーカス位置を特定させることができるので、デジタルカメラの画像表示系統が故障した場合やPCのスライドショーの画面上で画像を確認したい場合などPC側で撮影画像をフォーカスを合わせた位置で拡大表示させて画像を確認することができる。また、PCでスライドショーを行う場合には、複数の撮影画像を各画像のフォーカス位置を中心として表示させて行うことができ、スライドショーの効果を高めることができる。   Alternatively, as another solution to the case where it is difficult to perform the process of specifying the focus position, information relating the focus position at the time of focusing and the image and the image at the time of shooting is transferred from the digital camera to the personal computer (PC). When the image capturing is performed, the PC is determined based on the focus position specifying means for specifying the focus position at the time of shooting by the same method as described above based on the transferred information, and the PC based on the specified focus position at the time of shooting. What is necessary is just to comprise the program for functioning as an image display means for carrying out enlarged display of the picked-up image in a focus position in the image display part of the side. In this case, the digital camera alone cannot detect the focus position of the photographed image, but this program allows the PC to specify the focus position in the image at the time of focusing and at the time of photographing. For example, when the image display system breaks down or when it is desired to check the image on the slide show screen of the PC, the captured image can be enlarged and displayed at the focused position on the PC side to check the image. Further, when a slide show is performed on a PC, a plurality of captured images can be displayed with the focus position of each image as the center, and the effect of the slide show can be enhanced.

また、本実施形態においては、フォーカス位置特定手段41として合焦時と撮影時の画像を比較することによりカメラの移動を検出して撮影時の画像平面上のフォーカス位置を特定したが、図7に示すようにフォーカス位置特定手段41としてデジタルカメラの動き(姿勢変化)を検出する角速度センサ43(方向センサ)を設ける構成としてもよい。   In the present embodiment, the focus position specifying unit 41 detects the movement of the camera by comparing the in-focus image and the image at the time of shooting, and specifies the focus position on the image plane at the time of shooting. As shown in FIG. 4, an angular velocity sensor 43 (direction sensor) for detecting the movement (posture change) of the digital camera may be provided as the focus position specifying means 41.

この場合、ユーザは図7(a)の状態でフォーカスを合わせる対象物(フォーカス対象)に対してフォーカスを合わせ、その後、図7(b)のようにカメラを回転させて希望の構図にする場合を考える。デジタルカメラに角速度センサ43を用いることでカメラの回転角θ(°)を計測することができる。カメラをθ(°)だけ回転させたときにフォーカス対象が実際の撮影画像に対してどの程度移動するかは、フォーカス対象と撮像素子との距離D及び撮像素子の大きさに依存する。回転角が同じ場合であっても、カメラに近接する物体は大きく動くが、物体がカメラから遠方になるほどカメラの回転量に依存した一定の値に収束する。カメラにおいては、レンズの設計によりフォーカスを調整した後の撮像素子とフォーカス対象との距離Dは一義的に決まるので、レンズのフォーカス距離と距離D及び撮像素子の大きさから撮像素子に結蔵した画像における移動距離が計算できる。この処理をカメラの仰角と俯角及び光軸に対して行えば撮影画像におけるフォーカス位置を特定することが可能になる。   In this case, the user focuses on the object to be focused on (focus target) in the state of FIG. 7A, and then rotates the camera as shown in FIG. 7B to obtain the desired composition. think of. By using the angular velocity sensor 43 in the digital camera, the rotation angle θ (°) of the camera can be measured. How much the focus target moves with respect to the actual captured image when the camera is rotated by θ (°) depends on the distance D between the focus target and the image sensor and the size of the image sensor. Even if the rotation angles are the same, the object close to the camera moves greatly, but converges to a certain value depending on the amount of rotation of the camera as the object is farther from the camera. In the camera, since the distance D between the image pickup element and the focus target after adjusting the focus by the lens design is uniquely determined, the lens is incorporated into the image pickup element from the focus distance and distance D of the lens and the size of the image pickup element. The moving distance in the image can be calculated. If this process is performed with respect to the elevation angle and depression angle of the camera and the optical axis, the focus position in the captured image can be specified.

厳密には、回転中心がどこになるかによって、フォーカス位置の特定は影響を受けるが、撮像素子が撮影対象に対して十分に小さい為、カメラの平行移動成分はほとんど無視することができ、通常の撮影においてはカメラの回転運動のみを検出すればよい。カメラ自体を撮像素子の表面と同一平面でカメラを回転させる(撮影画像自体が回転する)場合には、三次元での角度検出が必要になるが、通常の使用方法でカメラを使用する場合には、カメラ自体を撮像素子の表面と同一平面でカメラを回転させることは少なく、回転成分を伴わない移動となるので、カメラの俯角及び仰角を検出すればよい。   Strictly speaking, the focus position is affected by where the center of rotation is, but since the image sensor is sufficiently small relative to the subject, the camera's translational component can be almost ignored. In photographing, only the rotational movement of the camera needs to be detected. When the camera itself is rotated in the same plane as the surface of the image sensor (the captured image itself rotates), it is necessary to detect the angle in three dimensions, but when using the camera in the normal usage method The camera itself is rarely rotated in the same plane as the surface of the image sensor, and the movement is not accompanied by a rotation component. Therefore, it is only necessary to detect the depression angle and elevation angle of the camera.

このように、フォーカス位置の特定を角速度センサ43を用いて行うことにより、回転角を直接検出することができるので、画像処理を行うための演算能力を必要としない構成にすることができ、比較的処理能力の低いCPUを搭載したデジタルカメラにおいても、撮影後のフォーカス位置を特定することができる。   In this way, by specifying the focus position using the angular velocity sensor 43, it is possible to directly detect the rotation angle, so that a configuration that does not require calculation capability for performing image processing can be achieved. Even in a digital camera equipped with a CPU with low processing power, the focus position after shooting can be specified.

また、本実施形態においては、撮影時のフォーカス位置を撮影画像に関連付けて記憶するような構成にしており、画像記憶部28には様々な撮影情報をプロパティ情報として記憶させたが、このプロパティ情報に、撮影時のフォーカス位置情報を含める構成としてもよい。この場合、プロパティ情報に含まれる撮影情報としては、撮影画素数、フォーカス距離、デジタルカメラに適用されるフィルム感度など、シャッタースピード、絞りなどが一般的に含まれる。このように構成されることにより、前述と同様に合焦時の画像でのフォーカス位置を利用した付加機能を実現することが可能となる。
最後に、本実施形態においては、測距センサ31を用いてオートフォーカスを行っているが、レンズを移動させたときの画像取得手段によって取得された画像の所定のフォーカスエリアのコントラスト値に基づいて合焦を検出してオートフォーカスを行う方式を用いても良い。
In the present embodiment, the focus position at the time of shooting is configured to be stored in association with the shot image, and the image storage unit 28 stores various shooting information as property information. Further, it may be configured to include focus position information at the time of shooting. In this case, the shooting information included in the property information generally includes a shutter speed, an aperture, and the like such as the number of shooting pixels, a focus distance, and film sensitivity applied to a digital camera. With this configuration, it is possible to realize an additional function using the focus position in the image at the time of focusing, as described above.
Finally, in the present embodiment, autofocus is performed using the distance measuring sensor 31, but based on the contrast value of a predetermined focus area of the image acquired by the image acquisition means when the lens is moved. A method of detecting focus and performing autofocus may be used.

本発明に係るデジタルカメラの内部構成を示す図である。It is a figure which shows the internal structure of the digital camera which concerns on this invention. フォーカス位置を決めた後、カメラを移動させて撮影する撮影動作を説明する図である。It is a figure explaining the imaging | photography operation | movement which moves a camera after deciding a focus position and image | photographs. 図2の構図の写真を得る際のカメラの動きを示す様子を説明する為の図である。It is a figure for demonstrating a mode which shows the motion of the camera at the time of obtaining the photograph of the composition of FIG. 図1のデジタルカメラの動作の流れを示すフロー図である。It is a flowchart which shows the flow of operation | movement of the digital camera of FIG. 保存されている画像を表示画像部のサイズに合わせて拡大表示する様子を説明する為の図である。It is a figure for demonstrating a mode that the preserve | saved image is enlargedly displayed according to the size of a display image part. フォーカス位置を座標で表した表示画面の図である。It is a figure of the display screen which represented the focus position by the coordinate. フォーカス位置特定手段が角速度センサである場合にフォーカス位置を検出する様子を説明する為の図である。It is a figure for demonstrating a mode that a focus position is detected when a focus position specific | specification means is an angular velocity sensor.

符号の説明Explanation of symbols

1 レンズブロック
2 鏡筒
3 シャッター
4 絞り
5 ズームレンズ
6 フォーカスレンズ
9 ズームモータ
10フォーカスモータ
11 ズームレンズ位置検出センサ
12 フォーカスレンズ位置検出センサ
19 CCD
23 CPU
24 DRAM
26 キー入力手段
25 画像表示手段
28 記憶手段
29 レンズコントロールブロック
30 フラッシュメモリ
31 測距センサ
32 カラープロセス回路
41 フォーカス位置手段
43 角速度センサ
DESCRIPTION OF SYMBOLS 1 Lens block 2 Lens barrel 3 Shutter 4 Aperture 5 Zoom lens 6 Focus lens 9 Zoom motor 10 Focus motor 11 Zoom lens position detection sensor 12 Focus lens position detection sensor 19 CCD
23 CPU
24 DRAM
26 Key input means 25 Image display means 28 Storage means 29 Lens control block 30 Flash memory 31 Distance sensor 32 Color process circuit 41 Focus position means 43 Angular velocity sensor

Claims (11)

被写体の光学画像を電気信号に変換して画像を取得する画像取得手段と、前記画像を表示する画像表示手段とを備えたデジタルカメラにおいて、
合焦時の画像及び該画像平面中のフォーカス位置を記憶する記憶手段と、
前記合焦時の画像と撮影時の画像とを比較することで撮影時のフォーカス位置を特定するフォーカス位置特定手段とを備え、
前記記憶手段は、撮影毎に前記フォーカス位置特定手段により
特定された撮影時のフォーカス位置を記憶することを特徴とするデジタルカメラ。
In a digital camera including an image acquisition unit that acquires an image by converting an optical image of an object into an electrical signal, and an image display unit that displays the image.
Storage means for storing an image at the time of focusing and a focus position in the image plane;
A focus position specifying means for specifying a focus position at the time of shooting by comparing the image at the time of focusing and the image at the time of shooting;
The digital camera according to claim 1, wherein the storage unit stores a focus position at the time of shooting specified by the focus position specifying unit for each shooting.
前記フォーカス位置特定手段は、前記合焦時の画像と撮影時の画像とを比較することで撮影時のフォーカス位置を特定することを特徴とする請求項1に記載のデジタルカメラ。   The digital camera according to claim 1, wherein the focus position specifying unit specifies a focus position at the time of shooting by comparing the image at the time of focusing with an image at the time of shooting. 前記フォーカス位置特定手段は方向センサを備え、前記デジタルカメラの前記合焦時と撮影時との姿勢変化を比較することで撮影時のフォーカス位置を特定することを特徴とする請求項1に記載のデジタルカメラ。   2. The focus position specifying unit includes a direction sensor, and specifies a focus position at the time of shooting by comparing a change in posture of the digital camera at the time of focusing and at the time of shooting. Digital camera. 前記記憶手段は、前記合焦時の画像及びフォーカス位置を前記撮影時の画像に関連付けて記憶するとともに、
前記フォーカス位置特定手段は、非撮影時に前記記憶手段により記憶された撮影時の画像から撮影時のフォーカス位置を特定することを特徴とする請求項1に記載のデジタルカメラ。
The storage means stores the image at the time of focusing and the focus position in association with the image at the time of shooting,
The digital camera according to claim 1, wherein the focus position specifying unit specifies a focus position at the time of shooting from an image at the time of shooting stored by the storage unit at the time of non-shooting.
前記フォーカス位置特定手段は、前記合焦時の画像に対し特徴点及びフォーカス位置を検出し、撮影時の画像に対し、対応する特徴点を検出することで撮影時の画像のフォーカス位置を検出することを特徴とする請求項1又は請求項4に記載のデジタルカメラ。   The focus position specifying unit detects a feature point and a focus position with respect to the image at the time of focusing, and detects a focus position of the image at the time of shooting by detecting a corresponding feature point with respect to the image at the time of shooting. The digital camera according to claim 1, wherein the digital camera is a digital camera. 前記フォーカス位置特定手段は、角速度センサにより検出された回転角に基づき、撮影時の画像のフォーカス位置を検出することを特徴とする請求項1又は請求項4に記載のデジタルカメラ。   5. The digital camera according to claim 1, wherein the focus position specifying unit detects a focus position of an image at the time of photographing based on a rotation angle detected by an angular velocity sensor. キー入力手段を備えており、
前記画像表示手段は、前記キー入力手段の操作に基づき、撮影時の画像又は撮影時の画像のうち合焦された位置を中心とする拡大画像が選択されて表示されることを特徴とする請求項1〜請求項6のいずれか一項に記載のデジタルカメラ。
Key input means,
The image display means, based on an operation of the key input means, selects and displays an enlarged image centered on a focused position from an image at the time of shooting or an image at the time of shooting. The digital camera as described in any one of Claims 1-6.
前記キー入力手段は、拡大表示キーを有し、
前記画像表示手段は、前記拡大表示キーの入力により撮影時の画像のうち合焦された位置を中心とする拡大画像を表示させることを特徴とする請求項7に記載のデジタルカメラ。
The key input means has an enlarged display key,
8. The digital camera according to claim 7, wherein the image display means displays an enlarged image centered on a focused position among images at the time of photographing by inputting the enlarged display key.
前記記憶手段は、撮影毎に合焦時の画像のフォーカス位置をプロパティ情報として記憶することを特徴とする請求項1〜請求項8のいずれか一項に記載のデジタルカメラ。   The digital camera according to claim 1, wherein the storage unit stores, as property information, a focus position of an image at the time of focusing for each photographing. 請求項1に記載のデジタルカメラを用いて撮像画像上におけるフォーカス位置を特定するフォーカス位置特定方法であって、
前記記憶手段による合焦時の画像及び該画像平面中のフォーカス位置を記憶する記憶処理と、
前記フォーカス位置特定手段による前記合焦時の画像と撮影時の画像とを比較することで撮影時のフォーカス位置を特定するフォーカス位置特定処理と、を行い、
前記記憶処理では、撮影毎に前記フォーカス位置特定処理により
特定された撮影時のフォーカス位置を記憶する処理を行うことを特徴とするフォーカス位置特定方法。
A focus position specifying method for specifying a focus position on a captured image using the digital camera according to claim 1,
A storage process for storing an in-focus image by the storage unit and a focus position in the image plane;
A focus position specifying process for specifying the focus position at the time of shooting by comparing the image at the time of focusing and the image at the time of shooting by the focus position specifying means;
In the storage process, a process for storing a focus position at the time of shooting specified by the focus position specifying process for each shooting is performed.
請求項1に記載のデジタルカメラを、
前記合焦時の画像を前記撮影画像に関連つけて記憶させる記憶手段と、
コンピュータに対し、前記撮影画像を転送する転送手段として機能させるとともに、
前記コンピュータを、
前記転送された撮影画像から撮影時の焦点位置を特定する焦点位置特定手段と、
前記撮影時の画像を表示する画像表示手段ととして機能させるためのプログラム。
The digital camera according to claim 1,
Storage means for storing the image at the time of focusing in association with the captured image;
Let the computer function as transfer means for transferring the captured image,
The computer,
A focus position specifying means for specifying a focus position at the time of shooting from the transferred shot image;
A program for functioning as image display means for displaying an image at the time of shooting.
JP2006093326A 2006-03-30 2006-03-30 Digital camera, focus position specifying method, program Expired - Fee Related JP4923674B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006093326A JP4923674B2 (en) 2006-03-30 2006-03-30 Digital camera, focus position specifying method, program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006093326A JP4923674B2 (en) 2006-03-30 2006-03-30 Digital camera, focus position specifying method, program

Publications (2)

Publication Number Publication Date
JP2007267338A true JP2007267338A (en) 2007-10-11
JP4923674B2 JP4923674B2 (en) 2012-04-25

Family

ID=38639831

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006093326A Expired - Fee Related JP4923674B2 (en) 2006-03-30 2006-03-30 Digital camera, focus position specifying method, program

Country Status (1)

Country Link
JP (1) JP4923674B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008160427A (en) * 2006-12-22 2008-07-10 Canon Inc Display control device, imaging apparatus, and control method
JP2010200239A (en) * 2009-02-27 2010-09-09 Ricoh Co Ltd Imaging apparatus, image display device, imaging method and image display method, and focal-area frame position correction method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02190832A (en) * 1989-01-20 1990-07-26 Ricoh Co Ltd Photometric device for camera provided with automatic focusing function
JPH0372309A (en) * 1989-08-11 1991-03-27 Fuji Photo Film Co Ltd Primary object position information recorder for camera
JP2003224767A (en) * 2002-01-29 2003-08-08 Fuji Photo Film Co Ltd Imaging apparatus, method for determining main subject position and program
JP2006013677A (en) * 2004-06-23 2006-01-12 Casio Comput Co Ltd Information processing apparatus, imaging apparatus, image file generating method, and image display processing program
JP2006058431A (en) * 2004-08-18 2006-03-02 Fujinon Corp Autofocusing system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02190832A (en) * 1989-01-20 1990-07-26 Ricoh Co Ltd Photometric device for camera provided with automatic focusing function
JPH0372309A (en) * 1989-08-11 1991-03-27 Fuji Photo Film Co Ltd Primary object position information recorder for camera
JP2003224767A (en) * 2002-01-29 2003-08-08 Fuji Photo Film Co Ltd Imaging apparatus, method for determining main subject position and program
JP2006013677A (en) * 2004-06-23 2006-01-12 Casio Comput Co Ltd Information processing apparatus, imaging apparatus, image file generating method, and image display processing program
JP2006058431A (en) * 2004-08-18 2006-03-02 Fujinon Corp Autofocusing system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008160427A (en) * 2006-12-22 2008-07-10 Canon Inc Display control device, imaging apparatus, and control method
JP2010200239A (en) * 2009-02-27 2010-09-09 Ricoh Co Ltd Imaging apparatus, image display device, imaging method and image display method, and focal-area frame position correction method
US8823861B2 (en) 2009-02-27 2014-09-02 Ricoh Company, Ltd. Imaging apparatus, image display apparatus, imaging method, method of displaying image and method of correcting position of focusing-area frame

Also Published As

Publication number Publication date
JP4923674B2 (en) 2012-04-25

Similar Documents

Publication Publication Date Title
JP4761146B2 (en) Imaging apparatus and program thereof
US8823861B2 (en) Imaging apparatus, image display apparatus, imaging method, method of displaying image and method of correcting position of focusing-area frame
JP5054583B2 (en) Imaging device
TWI326553B (en) Imaging apparatus, data extraction method, and data extraction program
US7796177B2 (en) Digital camera and controlling method for digital camera
TWI514847B (en) Image processing device, image processing method, and recording medium
CN101373253B (en) Imaging device, and control method for imaging device
JP4654887B2 (en) Imaging device
TWI459126B (en) Image processing device capable of generating a wide-range image, image processing method and recording medium
CN101360190A (en) Imaging device, and control method for imaging device
JP2006025238A (en) Imaging device
JP2007201539A (en) Digital camera
JP2009225027A (en) Imaging apparatus, imaging control method, and program
US9300875B2 (en) Imaging device display controller
JP2006162991A (en) Stereoscopic image photographing apparatus
JP2011217103A (en) Compound eye photographing method and apparatus
JP2010026120A (en) Camera system and adapter
JP4977569B2 (en) Imaging control apparatus, imaging control method, imaging control program, and imaging apparatus
CN101359085B (en) Imaging device and control method of imaging device
JP2010035131A (en) Imaging apparatus and imaging method
JP4788172B2 (en) Imaging apparatus and program
JP2004032524A (en) Digital camera
JP4923674B2 (en) Digital camera, focus position specifying method, program
JP4888829B2 (en) Movie processing device, movie shooting device, and movie shooting program
JP6376753B2 (en) Imaging apparatus, display control apparatus control method, and recording apparatus control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090325

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100824

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100909

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20100909

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110510

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110711

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120110

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120123

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

Free format text: PAYMENT UNTIL: 20150217

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4923674

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees