JP2007072670A - Optical operation device - Google Patents

Optical operation device Download PDF

Info

Publication number
JP2007072670A
JP2007072670A JP2005257755A JP2005257755A JP2007072670A JP 2007072670 A JP2007072670 A JP 2007072670A JP 2005257755 A JP2005257755 A JP 2005257755A JP 2005257755 A JP2005257755 A JP 2005257755A JP 2007072670 A JP2007072670 A JP 2007072670A
Authority
JP
Japan
Prior art keywords
light
unit
light emission
finger
image data
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
JP2005257755A
Other languages
Japanese (ja)
Inventor
Tadashi Kozuki
忠司 上月
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.)
Fujifilm Corp
Original Assignee
Fujifilm 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 Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP2005257755A priority Critical patent/JP2007072670A/en
Publication of JP2007072670A publication Critical patent/JP2007072670A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Input (AREA)
  • Position Input By Displaying (AREA)
  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a technology for suppressing the useless light emission of a light emitting device as much as possible. <P>SOLUTION: In an S2, a light emission control part 20a compares two new and old received light quantity stored in an RAM 149, and judges whether or not the incident quantity of external rays of light has been increased or decreased to determine whether or not the finger F has been held over a hole 34. When the light emission control part 20a determines that the incident quantity of the external rays of light has been increased, the S2 is shifted to an S3, and in the S3, the light emission control part 20a transmits a command to stop light emission to a light emitting part 124-1. Thus, the detection of the presence/absence of the existence of the finger according to the increase/decrease in the incident quantity of the external rays of light makes it unnecessary to always detect the existence of the finger by emitting the rays of light just like a conventional manner, and possible to suppress power consumption due to useless light emission. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は光学式の操作装置に関する。   The present invention relates to an optical operation device.

従来、指の指紋などの特徴の動きに基づいて入力操作を受け付ける操作装置が開発されている。例えば特許文献1の携帯電話には、表示画面のハイライトバーの位置を制御するための運動検出装置が設けられている。この装置は、指を置く撮像面を含むプッシュボタンと該ボタンを取り囲むインジケータリングとを有する。内蔵の光源が撮像面を裏側から照明し、その反射像は光検出素子アレイに収束し、その出力値から運動センサがデジタルデータを生成する。ユーザが指を任意方向に擦るように動かすと、デジタルデータに基づいて指の指紋等の画像を追跡し、XY増分信号を生成し、これによりハイライトバーを表示画面で移動させる。プッシュボタンやインジケータリングが可視光を発することで、ユーザに所定の通知がなされる。   2. Description of the Related Art Conventionally, an operation device that accepts an input operation based on the movement of a feature such as a fingerprint of a finger has been developed. For example, the mobile phone of Patent Document 1 is provided with a motion detection device for controlling the position of the highlight bar on the display screen. The device includes a push button including an imaging surface on which a finger is placed and an indicator ring surrounding the button. The built-in light source illuminates the imaging surface from the back side, the reflected image converges on the photodetecting element array, and the motion sensor generates digital data from the output value. When the user moves his / her finger in any direction, an image such as a fingerprint of the finger is tracked based on the digital data, and an XY increment signal is generated, thereby moving the highlight bar on the display screen. The push button or the indicator ring emits visible light, thereby giving a predetermined notification to the user.

また、操作装置の発光手段からの無駄な発光を抑える技術も開発されている。例えば特許文献2によると、発光手段からの光の反射率を検出し、反射率が基準閾値以下である場合、指先などに光が当たっていないとして、発光量を小さくする。
特開2003−5903号公報 特開2002−62984号公報
In addition, a technique for suppressing unnecessary light emission from the light emitting means of the operating device has been developed. For example, according to Patent Document 2, the reflectance of light from the light emitting means is detected, and if the reflectance is equal to or less than a reference threshold, the amount of light emission is reduced assuming that no light is hitting the fingertip or the like.
JP 2003-5903 A JP 2002-62984 A

ところで、携帯電話やデジタルカメラなどの携帯機器での電力は限られているため、微弱な電力浪費であってもなるべく避けたい。この点、特許文献1の技術は、無制限に光源から光を発するため、問題である。また、特許文献2の技術も、反射率を検出するために常時微弱な発光を行わなければならず、無駄な発光防止には不十分である。本発明はこのような問題点に鑑みてなされたもので、光の反射による操作検出装置において、発光装置の無駄な発光をなるべく抑えることができる技術を提供することを目的とする。   By the way, since power in portable devices such as mobile phones and digital cameras is limited, it is desirable to avoid even a slight power waste. In this respect, the technique of Patent Document 1 is problematic because it emits light from a light source without limitation. Further, the technique of Patent Document 2 must always perform weak light emission in order to detect reflectance, and is insufficient for preventing unnecessary light emission. The present invention has been made in view of such a problem, and an object of the present invention is to provide a technique capable of suppressing wasteful light emission of a light emitting device as much as possible in an operation detection device by reflection of light.

上述の課題を解決するため、本発明に係る光学式操作装置は、形状的特徴を有する被写体へ発光する発光部と、発光部からの光が被写体に反射した反射光を受光して被写体の撮像信号を出力する撮像部と、撮像部の出力した撮像信号をデジタル画像データに変換する画像データ変換部と、画像データ変換部の変換した画像データから被写体の形状的特徴を検出する特徴検出部と、特徴検出部の検出した被写体の形状的特徴の移動、静止又は移動方向を検出する動き検出部と、動き検出部の検出した被写体の形状的特徴の移動、静止又は移動方向に従って上、下、左、右又は押下を指定する入力操作を認識する操作認識部と、を備えており、かつ、画像データに従って外光の受光量の増減を判断することで発光部の発光開始及び停止を制御する発光制御部を備える。   In order to solve the above-described problems, an optical operation device according to the present invention includes a light-emitting unit that emits light to a subject having a shape feature, and an image of the subject by receiving reflected light reflected from the light-emitting unit on the subject. An image pickup unit that outputs a signal, an image data conversion unit that converts an image pickup signal output from the image pickup unit into digital image data, and a feature detection unit that detects a shape feature of a subject from the image data converted by the image data conversion unit; , Movement detection unit for detecting the movement, rest or movement direction of the shape feature of the object detected by the feature detection unit, movement of the shape feature of the object detected by the movement detection unit, up, down, An operation recognizing unit that recognizes an input operation for designating left, right, or pressing, and controls the start and stop of light emission of the light emitting unit by determining increase / decrease in the amount of external light received according to image data A light control unit.

この発明によると、画像データに従って外光の受光量の増減を判断し、この判断の結果によって発光部の発光開始及び停止を制御する。具体的には、外光の受光量が増加したと判断すれば発光を停止、外光の受光量が減少したと判断すれば発光を開始する。   According to the present invention, the increase / decrease in the amount of external light received is determined according to the image data, and the start and stop of light emission of the light emitting unit are controlled based on the result of this determination. Specifically, light emission is stopped when it is determined that the amount of external light received has increased, and light emission is started when it is determined that the amount of external light received has decreased.

ユーザが入力操作を行う意図が全くない場合、受光部は外光をそのまま受光すると考えられる。このとき、発光を停止すれば、入力操作の検出に使用されない無駄な発光による電力消費を抑えることができる。   If the user has no intention to perform an input operation, it is considered that the light receiving unit receives external light as it is. At this time, if the light emission is stopped, it is possible to suppress power consumption due to useless light emission that is not used for detecting the input operation.

操作認識部は被写体の形状的特徴の静止時間の長さに従って短押し又は長押しを指定する入力操作を認識してもよい。   The operation recognition unit may recognize an input operation that designates a short press or a long press according to the length of the stationary time of the shape feature of the subject.

なお、被写体の形状的特徴とは、指の指紋の形状を含む。ただし、被写体は形状的特徴のある物体であれば何でもよく、例えば特定の形状を有するペンなどであってもよい。   The shape feature of the subject includes the shape of the fingerprint of the finger. However, the subject may be anything as long as it has a shape characteristic, for example, a pen having a specific shape.

この発明によると、画像データに従って外光の受光量の増減を判断し、この判断の結果によって発光部の発光開始及び停止を制御する。具体的には、外光の受光量が増加したと判断すれば発光を停止、外光の受光量が減少したと判断すれば発光を開始する。   According to the present invention, the increase / decrease in the amount of external light received is determined according to the image data, and the start and stop of light emission of the light emitting unit are controlled based on the result of this determination. Specifically, light emission is stopped when it is determined that the amount of external light received has increased, and light emission is started when it is determined that the amount of external light received has decreased.

ユーザが入力操作を行う意図が全くない場合、受光部は外光をそのまま受光すると考えられる。このとき、発光を停止すれば、入力操作の検出に使用されない無駄な発光による電力消費を抑えることができる。   If the user has no intention to perform an input operation, it is considered that the light receiving unit receives external light as it is. At this time, if the light emission is stopped, it is possible to suppress power consumption due to useless light emission that is not used for detecting the input operation.

以下、添付した図面を参照し本発明の好ましい実施の形態を説明する。   Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings.

図1は、本発明の好ましい実施形態に係るデジタルカメラ(以下カメラと略す)100の正面図である。   FIG. 1 is a front view of a digital camera (hereinafter abbreviated as a camera) 100 according to a preferred embodiment of the present invention.

カメラ100の正面に配備されたレンズ鏡胴60には、ズームレンズ101a及びフォーカスレンズ101bを含む撮影レンズ101が内蔵されており、ズームレンズ101aを光軸方向に移動させることで焦点距離調節が行なわれるとともに、フォーカスレンズ101bを光軸方向に移動させることによりピント調節が行なわれる。   A lens barrel 60 provided in front of the camera 100 includes a photographic lens 101 including a zoom lens 101a and a focus lens 101b, and the focal length is adjusted by moving the zoom lens 101a in the optical axis direction. In addition, focus adjustment is performed by moving the focus lens 101b in the optical axis direction.

レンズ鏡筒60は、カメラボディ180に沈胴した状態から、予め設定された最短焦点距離位置であるワイド端と最長焦点距離位置であるテレ端との間で進退することで、カメラボディ180から繰り出し、また収納される。この図では、レンズ鏡胴60がカメラボディ180に沈胴した状態が示されている。   The lens barrel 60 is advanced from the camera body 180 by retracting from the retracted state of the camera body 180 between a wide end that is a preset shortest focal length position and a tele end that is a longest focal length position. Also stored. In this figure, a state in which the lens barrel 60 is retracted into the camera body 180 is shown.

またカメラ100には、非撮影時には撮影レンズ101の前面を覆って撮像レンズ101と外界とを遮ることで撮像レンズ101を保護する状態をつくり出すとともに、撮像時には撮像レンズを外界に露出するレンズカバー61が設けられている。   Further, the camera 100 creates a state in which the imaging lens 101 is protected by covering the front surface of the photographing lens 101 and blocking the imaging lens 101 and the outside world when not photographing, and a lens cover 61 that exposes the imaging lens to the outside environment during imaging. Is provided.

レンズカバー61は開閉自在な機構で構成されており、開放状態で撮影レンズ101の前面を覆い、閉鎖状態で撮影レンズ101の前面を外界に露出する。レンズカバー61は電源スイッチ121のオン/オフに連動して開放/閉鎖される。この図ではレンズカバー61は開放状態となっている。   The lens cover 61 is configured by a mechanism that can be freely opened and closed. The lens cover 61 covers the front surface of the photographing lens 101 in an open state, and exposes the front surface of the photographing lens 101 to the outside in a closed state. The lens cover 61 is opened / closed in conjunction with the power switch 121 being turned on / off. In this figure, the lens cover 61 is open.

カメラ100の上面には、中央部分にレリーズスイッチ104の配備されたモードダイヤル123と電源スイッチ121とが配備されており、正面には、ストロボ105a、AF補助光ランプ105b、セルフタイマランプ105c等が配備されている。   On the upper surface of the camera 100, a mode dial 123 and a power switch 121 provided with a release switch 104 at the center are provided, and a strobe 105a, an AF auxiliary light lamp 105b, a self-timer lamp 105c, and the like are provided on the front. Has been deployed.

図2はカメラ100の背面図である。カメラ100の背面には、画像表示LCD102、光学式操作機器124が配備されている。光学式操作機器124は、表面積の広い親指を載せるためのガイド125を備え、ガイド125の中心付近には穴34が形成されている。光学式操作機器124は、右手親指を良好に載置できるように、カメラ背面右上に配備されている。光学式操作機器124は、穴34を介した光の発光/受光によってユーザの指などの動きを検出する。光学式操作機器124は、従来のカメラに配備されるズームスイッチ、切替レバー、十字キー、情報位置指定キー等の操作系の役割を果たす。   FIG. 2 is a rear view of the camera 100. On the back side of the camera 100, an image display LCD 102 and an optical operation device 124 are provided. The optical operation device 124 includes a guide 125 for placing a thumb having a large surface area, and a hole 34 is formed near the center of the guide 125. The optical operation device 124 is arranged on the upper right side of the back of the camera so that the right thumb can be satisfactorily placed. The optical operation device 124 detects the movement of the user's finger or the like by light emission / light reception through the hole 34. The optical operation device 124 plays a role of an operation system such as a zoom switch, a switching lever, a cross key, and an information position designation key provided in a conventional camera.

図3はカメラ100のブロック図である。カメラ100にはユーザがこのカメラ100を使用するときに種々の操作を行なうための操作部120が設けられている。この操作部120には、カメラ100を作動させるための電源投入用の電源スイッチ121、オート撮影やマニュアル撮影等を選択するためのモードダイヤル123、光学式操作機器124が備えられている。   FIG. 3 is a block diagram of the camera 100. The camera 100 is provided with an operation unit 120 for performing various operations when the user uses the camera 100. The operation unit 120 includes a power switch 121 for turning on the power for operating the camera 100, a mode dial 123 for selecting auto shooting, manual shooting, and the like, and an optical operation device 124.

また、カメラ100には、撮影画像や再生画像等を表示するための画像表示LCD102と、操作の手助けを行なうための操作LCD表示103が備えられている。   In addition, the camera 100 is provided with an image display LCD 102 for displaying captured images, reproduced images, and the like, and an operation LCD display 103 for assisting operations.

このカメラ100にはレリーズスイッチ104が配備されている。このレリーズスイッチ104によって撮影の開始指示がメインCPU20へと伝えられる。このカメラ100では光学式操作機器124によって撮影と再生との切り替えが自在になっていて、撮影を行なうときにはユーザによって光学式操作機器124が撮影側に切り替えられ、再生を行なうときには光学式操作機器124が再生側に切り替えられる。また、カメラ100には、閃光を発光する閃光発光管105aを有する閃光発光装置が配備されている。   The camera 100 is provided with a release switch 104. The release switch 104 transmits a shooting start instruction to the main CPU 20. In this camera 100, switching between photographing and reproduction is freely performed by the optical operation device 124. When photographing, the optical manipulation device 124 is switched to the photographing side by the user, and when reproducing, the optical manipulation device 124 is photographed. Is switched to the playback side. The camera 100 is provided with a flash light emitting device having a flash light emitting tube 105a that emits flash light.

また、カメラ100には、撮影レンズ101と、絞り131と、それら撮影レンズ101および絞り131を経由して結像された被写体像をアナログの画像信号に変換する撮像素子であるCCDセンサ132(以下CCD132と略記する)とが備えられている。CCD132は、詳細には、そのCCD132に照射された被写体光により発生した電荷を可変の電荷蓄積時間(露光期間)の間蓄積することにより画像信号を生成するものである。CCD132からは、CG部136から出力される垂直同期信号VDに同期したタイミングでフレーム毎の画像信号が順次出力される。   In addition, the camera 100 includes a photographing lens 101, a diaphragm 131, and a CCD sensor 132 (hereinafter referred to as an image sensor) that converts a subject image formed through the photographing lens 101 and the diaphragm 131 into an analog image signal. Abbreviated as CCD 132). Specifically, the CCD 132 generates an image signal by accumulating charges generated by subject light irradiated on the CCD 132 for a variable charge accumulation time (exposure period). The CCD 132 sequentially outputs image signals for each frame at a timing synchronized with the vertical synchronization signal VD output from the CG unit 136.

撮像素子にCCD132を用いた場合には、色偽信号やモアレ縞等の発生を防止するために、入射光内の不要な高周波成分を除去する光学的ローパスフィルタ132aが配設されている。また、入射光内の赤外線を吸収若しくは反射して、長波長域で感度が高いCCDセンサ132固有の感度特性を補正する赤外カットフィルタ132bが配設されている。光学的ローパスフィルタ132a及び赤外カットフィルタ132bの具体的な配設の態様は特に限定されない。   When the CCD 132 is used as the image sensor, an optical low-pass filter 132a that removes unnecessary high-frequency components in the incident light is disposed in order to prevent the generation of color false signals and moire fringes. In addition, an infrared cut filter 132b that absorbs or reflects infrared light in incident light and corrects a sensitivity characteristic unique to the CCD sensor 132 having high sensitivity in a long wavelength region is provided. The specific arrangement of the optical low-pass filter 132a and the infrared cut filter 132b is not particularly limited.

また、カメラ100には、CCDセンサ132からのアナログ画像信号が表わす被写体像のホワイトバランスを合わせるとともにその被写体像の階調特性における直線の傾き(γ)を調整し、さらにアナログ画像信号を増幅する増幅率可変の増幅器を含む白バランス・γ処理部133が備えられている。   The camera 100 also adjusts the white balance of the subject image represented by the analog image signal from the CCD sensor 132, adjusts the slope (γ) of the straight line in the gradation characteristics of the subject image, and further amplifies the analog image signal. A white balance / γ processing unit 133 including an amplifier with a variable gain is provided.

さらに、カメラ100には、白バランス・γ処理部133からのアナログ信号をデジタルのR,G,B画像データにA/D変換するA/D部134と、そのA/D部134からのR,G,B画像データを格納するバッファメモリ135が備えられている。   Further, the camera 100 includes an A / D unit 134 for A / D converting an analog signal from the white balance / γ processing unit 133 into digital R, G, B image data, and an R / R from the A / D unit 134. , G, B image data is stored.

本実施形態では、A/D部134は、8ビットの量子化分解能を有し、白バランス・γ処理部133から出力されるアナログR,G,B撮像信号をレベル0〜255のR,G,Bデジタル画像データに変換して出力する。ただし、この量子化分解能はあくまで一例であって本発明に必須の値ではない。   In this embodiment, the A / D unit 134 has an 8-bit quantization resolution, and outputs analog R, G, B image signals output from the white balance / γ processing unit 133 to R, G of levels 0 to 255. , B are converted into digital image data and output. However, this quantization resolution is merely an example and is not an essential value for the present invention.

また、カメラ100には、CG(クロックジェネレータ)部136と、測光・測距用CPU137と、充電・発光制御部138と、通信制御部139と、YC処理部140と、電源電池68とが備えられている。   Further, the camera 100 includes a CG (clock generator) unit 136, a photometry / ranging CPU 137, a charge / light emission control unit 138, a communication control unit 139, a YC processing unit 140, and a power supply battery 68. It has been.

CG部136は、CCDセンサ132を駆動するための垂直同期信号VD,高速掃き出しパルスPを含む駆動信号、白バランス・γ処理部133,A/D部134を制御する制御信号、および通信制御部139を制御する制御信号を出力する。また、このCG部136には、測光・測距用CPU137からの制御信号が入力される。   The CG unit 136 includes a vertical synchronization signal VD for driving the CCD sensor 132, a drive signal including a high-speed sweep pulse P, a control signal for controlling the white balance / γ processing unit 133, the A / D unit 134, and a communication control unit. A control signal for controlling 139 is output. Further, a control signal from the photometry / ranging CPU 137 is input to the CG unit 136.

測光・測距用CPU137は、ズーム用モータ110、フォーカス用モータ111、絞り調整を行う絞り用モータ112を制御してズームレンズ101a、フォーカスレンズ101b、絞り131をそれぞれ駆動することにより測距を行ない、CG部136および充電・発光制御部138を制御する。ズーム用モータ110、フォーカス用モータ111、絞り用モータ112の駆動は、モータドライバ62によって制御され、モータドライバ62の制御コマンドは、測光・測距用CPU137あるいはメインCPU20から送られる。   The photometry / ranging CPU 137 measures the distance by controlling the zoom motor 110, the focus motor 111, and the aperture motor 112 for adjusting the aperture to drive the zoom lens 101a, the focus lens 101b, and the aperture 131, respectively. The CG unit 136 and the charge / light emission control unit 138 are controlled. Driving of the zoom motor 110, the focus motor 111, and the aperture motor 112 is controlled by the motor driver 62, and a control command for the motor driver 62 is sent from the photometry / ranging CPU 137 or the main CPU 20.

測光・測距用CPU137は、レリーズスイッチ104が半押し(S1オン)されると、CCD132によって周期的(1/30秒から1/60秒ごと)に得られる画像データに基づいて被写体の明るさの測光(EV値の算出)を行う。   The photometry / ranging CPU 137 determines the brightness of the subject based on the image data periodically (every 1/30 seconds to 1/60 seconds) obtained by the CCD 132 when the release switch 104 is half-pressed (S1 is turned on). Photometry (calculation of EV value).

即ち、AE演算部151は、A/D変換部134から出力されたR、G、Bの画像信号を積算し、その積算値を測光・測距用CPU137に提供する。測光・測距用CPU137は、AE演算部151から入力する積算値に基づいて被写体の平均的な明るさ(被写体輝度)を検出し、撮影に適した露出値(EV値)を算出する。   That is, the AE calculation unit 151 integrates the R, G, and B image signals output from the A / D conversion unit 134 and provides the integrated values to the photometry / ranging CPU 137. The photometry / ranging CPU 137 detects the average brightness (subject brightness) of the subject based on the integrated value input from the AE calculation unit 151, and calculates an exposure value (EV value) suitable for photographing.

そして、測光・測距用CPU137は、得られたEV値に基づいて絞り131の絞り値(F値)及びCCD132の電子シャッタ(シャッタスピード)を含む露出値を所定のプログラム線図にしたがって決定する(AE動作)。   Then, the photometry / ranging CPU 137 determines the exposure value including the aperture value (F value) of the aperture 131 and the electronic shutter (shutter speed) of the CCD 132 based on the obtained EV value according to a predetermined program diagram. (AE operation).

レリーズスイッチ104が全押し(S2オン)されると、測光・測距用CPU137は、その決定した絞り値に基づいて絞り131を駆動し、絞り131の開口径を制御するとともに、決定したシャッタスピードに基づき、CG136を介してCCD132での電荷蓄積時間を制御する。   When the release switch 104 is fully pressed (S2 is turned on), the photometry / ranging CPU 137 drives the aperture 131 based on the determined aperture value, controls the aperture diameter of the aperture 131, and determines the determined shutter speed. Based on the above, the charge accumulation time in the CCD 132 is controlled via the CG 136.

AE動作は、絞り優先AE,シャッタ速度優先AE,プログラムAEなどがあるが、いずれにおいても、被写体輝度を測定し、この被写体輝度の測光値に基づいて決められた露出値、すなわち絞り値とシャッタスピードとの組み合わせで撮影を行うことにより、適正な露光量で撮像されるように制御しており、面倒な露出決定の手間を省くことができる。   The AE operation includes an aperture priority AE, a shutter speed priority AE, a program AE, etc. In any case, the subject brightness is measured, and an exposure value determined based on the photometric value of the subject brightness, that is, an aperture value and a shutter. By taking a picture in combination with the speed, control is performed so that an image is taken with an appropriate exposure amount, and it is possible to save troublesome determination of exposure.

AF検出部150は、測光・測距CPU137により選定された検出範囲に対応する画像データをA/D変換部134から抽出する。焦点位置を検出する方法は、合焦位置で画像データの高周波成分が最大振幅になるという特徴を利用して行う。AF検出部150は、抽出された画像データの高周波成分を1フィールド期間積分することにより、振幅値を算出する。AF検出部150は、測光・測距CPU137がフォーカス用モータ110を駆動制御してフォーカスレンズ101aを可動範囲内、即ち無限遠側の端点(INF点)から至近側の端点(NEAR点)の間で移動させている間に順次振幅値の計算を実行し、最大振幅を検出した時に検出値を測光・測距CPU137に送信する。   The AF detection unit 150 extracts image data corresponding to the detection range selected by the photometry / ranging CPU 137 from the A / D conversion unit 134. The method of detecting the focal position is performed using the feature that the high frequency component of the image data has the maximum amplitude at the in-focus position. The AF detection unit 150 calculates an amplitude value by integrating the high-frequency component of the extracted image data for one field period. The AF detector 150 is configured such that the photometry / ranging CPU 137 drives and controls the focus motor 110 to move the focus lens 101a within the movable range, that is, between the end point on the infinity side (INF point) and the end point on the near side (NEAR point). When the maximum amplitude is detected, the detection value is transmitted to the photometry / ranging CPU 137 when the maximum amplitude is detected.

測光・測距CPU137は、この検出値を取得して対応する合焦位置に、フォーカスレンズ101bを移動させるようにフォーカス用モータ111に指令を出す。フォーカス用モータ111は、測光・測距CPU137の指令に応じてフォーカスレンズ101bを合焦位置に移動させる(AF動作)。   The photometry / ranging CPU 137 obtains this detection value and issues a command to the focus motor 111 to move the focus lens 101b to the corresponding in-focus position. The focus motor 111 moves the focus lens 101b to the in-focus position in accordance with a command from the photometry / ranging CPU 137 (AF operation).

測光・測距用CPU137は、メインCPU20とのCPU間通信によってレリーズスイッチ104と接続されており、ユーザによりレリーズスイッチ104が半押しされた時に、この合焦位置の検出が行われる。また、測光・測距用CPU137には、ズーム用モータ111が接続されており、メインCPU20が、ズームスイッチ127によってユーザからのTELE方向又はWIDE方向へのズームの指令を取得した場合に、ズーム用モータ110を駆動させることにより、ズームレンズ101aをWIDE端とTELE端との間で移動させる。   The photometry / ranging CPU 137 is connected to the release switch 104 through inter-CPU communication with the main CPU 20, and the in-focus position is detected when the release switch 104 is half-pressed by the user. Further, a zoom motor 111 is connected to the photometry / ranging CPU 137, and when the main CPU 20 obtains a zoom command in the TELE direction or WIDE direction from the user by the zoom switch 127, the zoom motor 111 is used. By driving the motor 110, the zoom lens 101a is moved between the WIDE end and the TELE end.

充電・発光制御部138は,閃光発光管105aを発光させるために電源電池68からの電力の供給を受けて図示しない閃光発光用のコンデンサを充電したり、その閃光発光管105aの発光を制御する。   The charge / light emission control unit 138 is supplied with power from the power supply battery 68 to emit light from the flash light emission tube 105a, charges a flash light emission capacitor (not shown), and controls light emission from the flash light emission tube 105a. .

充電・発光制御部138は,電源電池68の充電開始、レリーズスイッチ104の半押し・全押し操作信号等の各種の信号や、発光量、発光タイミングを示す信号をメインCPU20や測光・測距CPU137から取り込んだことに応じ、セルフタイマランプ105cやAF補助光105bへの電流供給制御を行い、所望の発光量が所望のタイミングで得られるように制御する。   The charging / light emission control unit 138 sends various signals such as charging start of the power supply battery 68, a half-press / full-press operation signal of the release switch 104, and signals indicating the light emission amount and the light emission timing to the main CPU 20 and the photometry / ranging CPU 137. Is supplied to the self-timer lamp 105c and the AF auxiliary light 105b, and control is performed so that a desired light emission amount can be obtained at a desired timing.

具体的には、メインCPU20あるいは測光・測距CPU137から充電・発光制御部138へハイ(H)レベルの信号が入力されると、セルフタイマランプ105cは通電状態となり点灯する。一方、充電・発光制御部138へロー(L)レベルの信号が入力されると、セルフタイマランプ105cは非通電状態となり消灯する。   Specifically, when a high (H) level signal is input from the main CPU 20 or the photometry / ranging CPU 137 to the charge / light emission control unit 138, the self-timer lamp 105c is energized and lights up. On the other hand, when a low (L) level signal is input to the charge / light emission control unit 138, the self-timer lamp 105c enters a non-energized state and turns off.

メインCPU20あるいは測光・測距CPU137は、H・Lレベル信号の出力時間の比率(デューティ比)を変化させて設定することでセルフタイマランプ105cの輝度(明るさ)を変化させる。   The main CPU 20 or the photometry / ranging CPU 137 changes the luminance (brightness) of the self-timer lamp 105c by changing and setting the ratio (duty ratio) of the output time of the H / L level signal.

なお、セルフタイマランプ105cはLEDで構成してもよく、AF補助光ランプ105bを構成するLEDと共通にしてもよい。   Note that the self-timer lamp 105c may be constituted by an LED, or may be made common with the LED constituting the AF auxiliary light lamp 105b.

メインCPU20には、セルフタイマ回路83が接続されている。メインCPU20は、セルフ撮影モードが設定されている場合、レリーズスイッチ104の全押し信号に基づいて計時を行なう。この計時中に、メインCPU20は測光・測距CPU137を介し、残り時間に合わせて点滅速度をだんだんと早めながら、セルフタイマランプ105cを点滅させる。セルフタイマ回路83は、計時完了後に計時完了信号をメインCPU20に入力する。メインCPU20は、計時完了信号に基づいて、CCD132にシャッタ動作を実施させる。   A self-timer circuit 83 is connected to the main CPU 20. When the self-photographing mode is set, the main CPU 20 measures time based on the full-press signal of the release switch 104. During this timing, the main CPU 20 causes the self-timer lamp 105c to blink while gradually increasing the blinking speed in accordance with the remaining time via the photometry / ranging CPU 137. The self-timer circuit 83 inputs a timing completion signal to the main CPU 20 after timing is completed. The main CPU 20 causes the CCD 132 to perform a shutter operation based on the timing completion signal.

通信制御部139には、通信ポート107が備えられており、この通信制御部139は、カメラ100により撮影された被写体の画像信号をUSB端子が備えられたパーソナルコンピュータ等の外部装置に出力し、およびこのような外部装置からカメラ100に画像信号を入力することにより、その外部装置との間のデータ通信を担うものである。また、このカメラ100は、ロール状の写真フイルムに写真撮影を行なう通常のカメラが有するISO感度100,200,400,1600等に切り替える機能を模擬した機能を有し、ISO感度400以上に切り替えられた場合、白バランス・γ処理部133の増幅器の増幅率が所定の増幅率を越えた高増幅率に設定された高感度モードとなる。通信制御部139は、高感度モードでの撮影中は、外部装置との通信を停止する。   The communication control unit 139 includes a communication port 107. The communication control unit 139 outputs an image signal of a subject photographed by the camera 100 to an external device such as a personal computer equipped with a USB terminal. In addition, by inputting an image signal from such an external device to the camera 100, data communication with the external device is performed. The camera 100 has a function that simulates a function of switching to ISO sensitivity 100, 200, 400, 1600, etc. of a normal camera that takes a photograph in a roll-shaped photographic film, and can be switched to ISO sensitivity 400 or more. In this case, a high sensitivity mode is set in which the amplification factor of the amplifier of the white balance / γ processing unit 133 is set to a high amplification factor exceeding a predetermined amplification factor. The communication control unit 139 stops communication with the external device during shooting in the high sensitivity mode.

また、カメラ100には、圧縮・伸長&ID抽出部143と、I/F部144が備えられている。圧縮・伸長&ID抽出部143は、バッファメモリ135に格納された画像データを、バスライン142を介して読み出して圧縮し、I/F部144を経由してメモリカード200に格納する。また、圧縮・伸長&ID抽出部143は、メモリカード200に格納された画像データの読み出しにあたり、メモリカード200固有の識別番号(ID)を抽出し、そのメモリカード200に格納された画像データを読み出して伸長し、バッファメモリ135に格納する。   The camera 100 also includes a compression / decompression & ID extraction unit 143 and an I / F unit 144. The compression / decompression & ID extraction unit 143 reads and compresses the image data stored in the buffer memory 135 via the bus line 142 and stores the image data in the memory card 200 via the I / F unit 144. In addition, the compression / decompression & ID extraction unit 143 extracts an identification number (ID) unique to the memory card 200 and reads the image data stored in the memory card 200 when reading the image data stored in the memory card 200. Are decompressed and stored in the buffer memory 135.

バッファメモリ135に格納されたY/C信号は、圧縮・伸長&ID抽出部143によって所定のフォーマットに従って圧縮された後、I/F144を介してメモリカード200のようなリムーバブルメディアないしハードディスク(HDD)75のような内蔵型大容量記憶媒体に所定の形式(例えばExif(Exchangeable Image File Format)ファイル)で記録される。ハードディスク(HDD)75へのデータ記録またはハードディスク(HDD)75からのデータの読込みは、メインCPU20の指令に応じてハードディスクコントローラ74によって制御される。   The Y / C signal stored in the buffer memory 135 is compressed in accordance with a predetermined format by the compression / decompression & ID extraction unit 143, and then the removable medium such as the memory card 200 or the hard disk (HDD) 75 via the I / F 144. Are recorded in a predetermined format (for example, an Exif (Exchangeable Image File Format) file). Data recording to the hard disk (HDD) 75 or reading of data from the hard disk (HDD) 75 is controlled by the hard disk controller 74 in accordance with a command from the main CPU 20.

また、カメラ100には、メインCPU20と、EEPROM146と、YC/RGB変換部147と、表示用のドライバ148とが備えられている。メインCPU20は、このカメラ100全体の制御を行なう。EEPROM146には、このカメラ100固有の固体データやプログラム等が格納されている。YC/RGB変換部147は、YC処理部140で生成されたカラー映像信号YCを3色のRGB信号に変換して表示用のドライバ148を経由して画像表示LCD102に出力する。   The camera 100 includes a main CPU 20, an EEPROM 146, a YC / RGB conversion unit 147, and a display driver 148. The main CPU 20 controls the entire camera 100. The EEPROM 146 stores solid data and programs unique to the camera 100. The YC / RGB conversion unit 147 converts the color video signal YC generated by the YC processing unit 140 into RGB signals of three colors, and outputs them to the image display LCD 102 via the display driver 148.

CPU20は、ドライバ148に内蔵されたOSD信号発生回路148aに対し、シャッタ速度や絞り値、撮影可能枚数、撮影日時、警告メッセージ、グラフィカルユーザインターフェイス(GUI)等の文字及び記号情報を表示するための信号を発生させるコマンドを送る。OSD信号発生回路148aはこのコマンドに従って映像情報を出力する。OSD信号発生回路148aから出力される信号は、必要に応じてYC/RGB変換部147からの画像信号に混合されて、液晶パネル71に供給される。これにより、スルー画像や再生画像に文字等が合成された合成画像が表示される。   The CPU 20 displays character and symbol information such as a shutter speed, an aperture value, the number of images that can be shot, a shooting date and time, a warning message, and a graphical user interface (GUI) on an OSD signal generation circuit 148a built in the driver 148. Send a command to generate a signal. The OSD signal generation circuit 148a outputs video information according to this command. The signal output from the OSD signal generation circuit 148 a is mixed with the image signal from the YC / RGB conversion unit 147 as necessary and supplied to the liquid crystal panel 71. As a result, a combined image in which characters and the like are combined with the through image and the reproduced image is displayed.

また、カメラ100は、AC電源から電力を得るためのACアダプタ48と電源電池68とが着脱可能な構成となっている。電源電池68は充電可能な二次電池、例えばニカド電池、ニッケル水素電池、リチウムイオン電池で構成される。電源電池68は使い切り型の一次電池、例えばリチウム電池、アルカリ電池で構成してもよい。電源電池68は図示しない電池収納室に装填することにより、カメラ100の各回路と電気的に接続される。   In addition, the camera 100 has a configuration in which an AC adapter 48 for obtaining power from an AC power supply and a power supply battery 68 are detachable. The power supply battery 68 is composed of a rechargeable secondary battery such as a nickel-cadmium battery, a nickel metal hydride battery, or a lithium ion battery. The power supply battery 68 may be a single-use primary battery such as a lithium battery or an alkaline battery. The power supply battery 68 is electrically connected to each circuit of the camera 100 by being loaded into a battery storage chamber (not shown).

ACアダプタ48がカメラ100に装填されAC電源からACアダプタ48を介してカメラ100に電力が供給される場合には、電源電池68が電池収納室に装填されている場合であっても、優先的に当該ACアダプタ48から出力された電力がカメラ100の各部に駆動用の電力として供給される。また、ACアダプタ48が装填されておらず、かつ電源電池68が電池収納室に装填されている場合には、当該電源電池68から出力された電力がカメラ100の各部に駆動用の電力として供給される。   When the AC adapter 48 is loaded in the camera 100 and power is supplied from the AC power source to the camera 100 via the AC adapter 48, the power supply battery 68 is preferential even if it is loaded in the battery storage chamber. The power output from the AC adapter 48 is supplied to each part of the camera 100 as driving power. If the AC adapter 48 is not loaded and the power battery 68 is loaded in the battery storage chamber, the power output from the power battery 68 is supplied to each part of the camera 100 as driving power. Is done.

なお、図示しないが、カメラ100には、電池収納室内に収納される電源電池68とは別にバックアップ電池が設けられている。内蔵バックアップ電池には例えば専用の二次電池が用いられ、電源電池68によって充電される。バックアップ電池は、電源電池68の交換や取り外し等、電源電池68が電池収納室に装填されていない場合、カメラ100の基本機能に給電する。   Although not shown, the camera 100 is provided with a backup battery separately from the power supply battery 68 housed in the battery housing chamber. For example, a dedicated secondary battery is used as the built-in backup battery and is charged by the power supply battery 68. The backup battery supplies power to the basic functions of the camera 100 when the power battery 68 is not loaded in the battery storage chamber, such as when the power battery 68 is replaced or removed.

即ち、電源電池68又はACアダプタ48からの電源供給が停止すると、バックアップ電池がスイッチング回路(図示せず)によってRTC15等に接続され、これらの回路に給電する。これにより、バックアップ電池29が寿命に達しない限り、RTC15等の基本機能には、電源供給が間断なく継続する。   That is, when the power supply from the power supply battery 68 or the AC adapter 48 is stopped, the backup battery is connected to the RTC 15 or the like by a switching circuit (not shown) and supplies power to these circuits. As a result, as long as the backup battery 29 does not reach the end of its life, power supply continues to the basic functions such as the RTC 15 without interruption.

RTC(Real Time Clock)15は計時専用のチップであり、電源電池68やACアダプタ48からの給電がオフされていてもバックアップ電池から電源供給を受けて継続的に動作する。   An RTC (Real Time Clock) 15 is a chip dedicated to timekeeping, and continuously operates by receiving power supply from the backup battery even when power supply from the power supply battery 68 or the AC adapter 48 is turned off.

画像表示LCD102には透過型又は半透過型の液晶パネル71を背面側から照明するバックライト70が配設されており、省電力モードの場合には、メインCPU20によりそのバックライト70の明るさ(輝度)がバックライトドライバ72を介して制御され、バックライト70の消費電力が低減されるようになっている。また、省電力モードは、光学式操作機器124を操作して画像表示LCD102にメニュー画面を表示させ、そのメニュー画面で所定の操作を行うことによってオン/オフを設定することができるようになっている。   The image display LCD 102 is provided with a backlight 70 that illuminates the transmissive or transflective liquid crystal panel 71 from the back side. In the power saving mode, the main CPU 20 determines the brightness of the backlight 70 ( Brightness) is controlled through the backlight driver 72, and the power consumption of the backlight 70 is reduced. Further, in the power saving mode, the optical operation device 124 is operated to display a menu screen on the image display LCD 102, and a predetermined operation can be performed on the menu screen so that on / off can be set. Yes.

図4は本発明に係る光学式操作機器124周辺の要部構成を示す。光学式操作機器124は、光を発光するLEDならびに電源電池68からLEDへの供給電流量の制御、LEDのオンオフのタイミング制御、LEDの発光量の制御を行うLEDドライバで構成された発光部124−1、発光部124−1の発光した光が指Fで反射して穴34から入射する反射光によって指Fその他の物体を被写体として撮影するCCDやCMOS等の撮像素子で構成された受光部124−2を備えている。以下、受光部124−2の被写体は指Fであるものとして説明するが、形状的特徴を有するその他の物体(ペンなど)であってもよい。   FIG. 4 shows a main part configuration around the optical operating device 124 according to the present invention. The optical operation device 124 is a light emitting unit 124 configured by an LED that emits light and an LED driver that controls the amount of current supplied from the power supply battery 68 to the LED, the on / off timing control of the LED, and the light emission amount of the LED. -1, a light receiving unit constituted by an image sensor such as a CCD or a CMOS that captures an image of the finger F or other object as a subject by the reflected light incident from the hole 34 after the light emitted from the light emitting unit 124-1 is reflected by the finger F 124-2. Hereinafter, although it is described that the subject of the light receiving unit 124-2 is the finger F, other objects (such as a pen) having a shape feature may be used.

受光部124−2は、CG136から周期的に発生されるパルスの発生タイミングごと(例えば1/60秒ごと)に反射光を撮像信号に光電変換して白バランス・γ処理部133−2に出力する。白バランス・γ処理部133−2は撮像信号にホワイトバランス・γ調整を施してA/D変換部134−2に出力する。A/D変換部134−2は、白バランス・γ処理部133−2からの撮像信号をデジタル画像データに変換してバッファメモリ135−2とAF検出部150−2に出力する。A/D変換部134−2から出力された画像データを指画像データと呼ぶ。指画像データは、受光部124−2から撮像信号が出力されるごとに、バッファメモリ135−2の2つの領域に交互に記憶される。これにより、撮影時刻の異なる2つの指画像データが同時に記憶され、撮像信号が出力されるごとに古い時刻の画像データが新しいものに書き換えられる。なお、3つ以上の指画像データを同時に記憶してもよい。   The light receiving unit 124-2 photoelectrically converts the reflected light into an imaging signal at every generation timing (for example, every 1/60 seconds) of pulses periodically generated from the CG 136, and outputs it to the white balance / γ processing unit 133-2. To do. The white balance / γ processing unit 133-2 performs white balance / γ adjustment on the imaging signal and outputs the result to the A / D conversion unit 134-2. The A / D conversion unit 134-2 converts the imaging signal from the white balance / γ processing unit 133-2 into digital image data, and outputs the digital image data to the buffer memory 135-2 and the AF detection unit 150-2. The image data output from the A / D conversion unit 134-2 is referred to as finger image data. The finger image data is alternately stored in two areas of the buffer memory 135-2 each time an imaging signal is output from the light receiving unit 124-2. As a result, two finger image data having different shooting times are stored simultaneously, and image data at an old time is rewritten to a new one each time an imaging signal is output. Note that three or more finger image data may be stored simultaneously.

AF検出部150−2は、指画像データを1画面の所定の分割エリア毎にかつ同じ色成分毎に積算平均し、さらにフレームごとに、全エリアのR,G,Bの色ごとの積算平均値Ir,Ig,Ibを算出する。この積算平均値Ir,Ig,Ibは受光量としてRAM149に記憶される。RAM149の受光量は、受光部124−2から撮像信号が出力されるごとに、RAM149の2つの領域に交互に記憶される。これにより、算出時刻の異なる2つの受光量が同時に記憶され、撮像信号が出力されるごとに古い時刻の受光量が新しいものに書き換えられる。なお、3つ以上の受光量を同時に記憶してもよい。   The AF detection unit 150-2 averages the finger image data for each predetermined divided area of one screen and for each same color component, and further, for each frame, calculates the average of the R, G, and B colors for all areas. Values Ir, Ig, and Ib are calculated. The integrated average values Ir, Ig, and Ib are stored in the RAM 149 as received light amounts. The amount of light received by the RAM 149 is alternately stored in two areas of the RAM 149 every time an imaging signal is output from the light receiving unit 124-2. As a result, two received light amounts having different calculation times are stored simultaneously, and the received light amount at the old time is rewritten to a new one each time an imaging signal is output. Note that three or more received light amounts may be stored simultaneously.

CPU20は、発光部124−1の発光量や発光開始・終了タイミングを制御するモジュールである発光制御部20a、ガイド125と略平行な2次元平面(XY平面)における指Fの移動方向を、指画像データに基づいて認識するモジュールである方向認識部20b、指Fの移動方向または静止時間に応じて入力操作を認識するモジュールである操作認識部20c、指Fが略静止している時間を指画像データとRTC15から出力される現在時刻データとに基づいて計算するモジュールである計時部20dを実行する。発光制御部20a、方向認識部20b、操作認識部20c、計時部20dはCPU20によって実行されるプログラムであり、EEPROM146に記憶されている。   The CPU 20 determines the movement direction of the finger F on a two-dimensional plane (XY plane) substantially parallel to the light emission control unit 20a, which is a module for controlling the light emission amount and light emission start / end timing of the light emission unit 124-1, and the guide 125. The direction recognizing unit 20b that is a module that recognizes based on image data, the operation recognizing unit 20c that is a module that recognizes an input operation according to the moving direction or stationary time of the finger F, and the time when the finger F is substantially stationary The timer 20d, which is a module that calculates based on the image data and the current time data output from the RTC 15, is executed. The light emission control unit 20a, the direction recognition unit 20b, the operation recognition unit 20c, and the time measurement unit 20d are programs executed by the CPU 20, and are stored in the EEPROM 146.

図5は指画像データのイメージ図であり、図5(a)はある時刻t1における指画像データD1、図5(b)は時刻t1以降のある時刻t2における指画像データD2である。指画像データD1、D2は、バッファメモリ135−2の2つの領域にそれぞれ別個に記憶されている。   FIG. 5 is an image diagram of finger image data. FIG. 5A shows finger image data D1 at a certain time t1, and FIG. 5B shows finger image data D2 at a certain time t2 after the time t1. The finger image data D1 and D2 are stored separately in two areas of the buffer memory 135-2.

この図に示すように、指画像データD1、D2は、指Fの特徴量の1つである指紋の形状をデータとして含んでいる。方向認識部20bは、指画像データD1とD2を比較することにより、時刻t1〜t2の間でのXY平面における指紋の移動方向を指Fの移動方向として認識する。方向認識部20bは、所定時間t1〜t2内における指Fの指紋の移動量を指Fの移動量として認識する機能も有している。   As shown in this figure, the finger image data D1 and D2 include a fingerprint shape as one of the feature amounts of the finger F as data. The direction recognition unit 20b compares the finger image data D1 and D2 to recognize the movement direction of the fingerprint on the XY plane between the times t1 and t2 as the movement direction of the finger F. The direction recognition unit 20b also has a function of recognizing the movement amount of the finger F as the movement amount of the finger F within the predetermined time t1 to t2.

計時部20dは、方向認識部20bの認識した指Fの移動量が実質的に0になったか否かによって、指Fが静止しているか否かを判断する。指Fが静止していると判断すると、指Fの静止時間の計時を開始する。計時部20dは、これと並行して、指Fが静止している状態から再び移動を開始したか否かを判断し、指Fが再び移動を開始したと判断すると、直ちに指Fの静止時間の計時を停止し、計時開始から停止までの時間を指Fの静止時間として確定する。   The timing unit 20d determines whether or not the finger F is stationary depending on whether or not the movement amount of the finger F recognized by the direction recognition unit 20b is substantially zero. When it is determined that the finger F is stationary, the measurement of the stationary time of the finger F is started. In parallel with this, the time measuring unit 20d determines whether or not the finger F has started moving again from the state where the finger F is stationary, and immediately determines that the finger F has started moving again when the finger F has started moving again. Is stopped, and the time from the start to the stop is determined as the rest time of the finger F.

発光制御部20aは、RAM149の2つの受光量を比較することで外光の入射量の増減を判断する。外光の入射量が減少していると判断すれば、発光制御部20aは指Fがガイド125上に存在していると判断して発光を開始するよう発光部124−1に指令する。一方、外光の入射量が増加したと判断すれば、発光制御部20aは指Fがガイド125上に存在しないと判断して発光を停止するよう発光部124−1に指令する。これにより、指Fがガイド125に存在しないときの発光による無駄な電力消費を抑えることができる。   The light emission control unit 20a compares the two received light amounts of the RAM 149 to determine increase / decrease in the amount of incident external light. If it is determined that the amount of incident external light has decreased, the light emission control unit 20a determines that the finger F is on the guide 125 and instructs the light emitting unit 124-1 to start light emission. On the other hand, if it is determined that the amount of incident external light has increased, the light emission control unit 20a determines that the finger F is not present on the guide 125 and instructs the light emitting unit 124-1 to stop light emission. Thereby, useless power consumption due to light emission when the finger F is not present on the guide 125 can be suppressed.

操作認識部20cは、方向認識部20bの認識した指Fの静止、移動ないし移動方向から、上下左右または押下のいずれか1つの入力操作があったことを認識し、認識した入力操作に応じた動作制御をカメラ100の各ブロックに指令する。   The operation recognizing unit 20c recognizes that one of the input operation of up / down / left / right or pressing is performed from the stationary, moving or moving direction of the finger F recognized by the direction recognizing unit 20b, and responds to the recognized input operation. Command the operation control to each block of the camera 100.

以下、図6のフローチャートを参照し、本発明に係る光学式入力操作認識動作の流れを説明する。   Hereinafter, the flow of the optical input operation recognition operation according to the present invention will be described with reference to the flowchart of FIG.

S1では、デジタルカメラ100の電源スイッチ121がオンされると、AF検出部150−2は、受光量の算出を開始する。受光量をRAM149に記憶する動作を繰り返すことで、RAM149には2つの異なる時刻の受光量が記憶される。   In S1, when the power switch 121 of the digital camera 100 is turned on, the AF detection unit 150-2 starts calculating the amount of received light. By repeating the operation of storing the received light amount in the RAM 149, the received light amount at two different times is stored in the RAM 149.

S2では、発光制御部20aは、RAM149に記憶された新旧2つの受光量を比較し、外光の入射量が増加したかまたは減少したかを判断することで、穴34に指Fがかざされたか否かを判断する。増加したと判断した場合はS3、減少したと判断した場合はS4に移行する。   In S2, the light emission control unit 20a compares the new and old received light amounts stored in the RAM 149, and determines whether the incident amount of external light has increased or decreased, so that the finger F is held over the hole 34. It is determined whether or not. If it is determined that the number has increased, the process proceeds to S3. If it is determined that the number has decreased, the process proceeds to S4.

なお、単に外光の入射量が増加すればそのままS3に移行するのでなく、さらに、増加量が所定の閾値以上であるか否かを判断し、この増加量が所定の閾値以上であればS3に移行するようにしてもよい。同様に、単に外光の入射量が減少すればそのままS4に移行するのでなく、さらに、減少量が所定の閾値以上であるか否かを判断し、この減少量が所定の閾値以上であればS4に移行するようにしてもよい。こうすると、急激な入射量の変化に限って指が穴34にかざされたあるいはかざされていないと判断することになり、指Fをかざす動作と関係ない微小な入射量の変化から誤って指がかざされたと判断することを防げる。   If the incident amount of external light simply increases, the process does not proceed to S3 as it is, but further determines whether or not the increase amount is equal to or greater than a predetermined threshold value. You may make it transfer to. Similarly, if the incident amount of external light simply decreases, the process does not proceed to S4 as it is, but further determines whether or not the decrease amount is equal to or greater than a predetermined threshold value, and if this decrease amount is equal to or greater than the predetermined threshold value. You may make it transfer to S4. In this way, it is determined that the finger is held over the hole 34 only for a sudden change in the incident amount, or it is determined that the finger is erroneously detected from a minute change in the incident amount not related to the operation of holding the finger F. It is possible to prevent it from being judged as being held.

S3では、発光制御部20aは、発光部124−1に発光を停止する指令を送る。発光部124−1は、この指令を受け取ると、LEDなどの発光手段の発光を停止する。   In S3, the light emission control unit 20a sends a command to stop the light emission to the light emitting unit 124-1. When the light emitting unit 124-1 receives this command, the light emitting unit 124-1 stops the light emission of the light emitting means such as the LED.

S4では、発光制御部20aは、発光部124−1に発光を開始する指令を送る。発光部124−1は、この指令を受け取ると、LEDなどの発光手段を所定の発光量、所定の発光タイミングで発光させる。発光手段の発光は、発光制御部20aから発光を停止する指令が送られる(S3)限り継続する。   In S4, the light emission control unit 20a sends a command to start light emission to the light emitting unit 124-1. Upon receiving this command, the light emitting unit 124-1 causes a light emitting unit such as an LED to emit light at a predetermined light emission amount and at a predetermined light emission timing. The light emission of the light emitting means continues as long as a command to stop the light emission is sent from the light emission control unit 20a (S3).

S5では、発光制御部20aは、バッファメモリ135−2の2つの領域にそれぞれ記憶された2つの指画像データを比較することで、指Fの移動の有無および移動方向を判断する。指が静止していると判断した場合はS6、指の移動と移動方向を判断できた場合はS8に移行する。   In S <b> 5, the light emission control unit 20 a compares the two finger image data respectively stored in the two areas of the buffer memory 135-2 to determine the presence / absence and movement direction of the finger F. If it is determined that the finger is stationary, the process proceeds to S6, and if it is possible to determine the movement and moving direction of the finger, the process proceeds to S8.

S6では、計時部20dは、指の静止時間を計時する。   In S6, the time measuring unit 20d measures the rest time of the finger.

S7では、操作認識部20cは、計時部20dが計時している指Fの静止時間に応じて、押下を指定する入力操作があったと認識し、この入力操作に応じた制御を行う。   In S7, the operation recognizing unit 20c recognizes that there is an input operation for designating the press according to the stationary time of the finger F being timed by the time measuring unit 20d, and performs control according to this input operation.

S8では、認識した指Fの上、下、左、右の移動方向に応じて、それぞれ上、下、左、右を指定する入力操作があったと認識し、各入力操作に応じた制御を行う。   In S8, it is recognized that there has been an input operation for designating up, down, left, and right according to the upward, downward, left, and right movement directions of the recognized finger F, and control is performed according to each input operation. .

S7、S8の具体的な制御内容は、例えば次のようになる。   The specific control contents of S7 and S8 are as follows, for example.

移動方向がXの正または負の方向であれば、CPU20は、十字キーの右または左ボタンが押下されたときと同様の制御、例えば、グラフィカルユーザインターフェースのカーソルの右または左方向への移動表示を行う指令をOSD信号発生回路148aに送る。あるいは、CPU20は、テレ方向またはワイド方向へのレンズ鏡筒60の繰り出しを行う指令をモータドライバ62に送る。   If the movement direction is a positive or negative direction of X, the CPU 20 performs the same control as when the right or left button of the cross key is pressed, for example, the movement display of the cursor of the graphical user interface in the right or left direction. Is sent to the OSD signal generation circuit 148a. Alternatively, the CPU 20 sends a command to the motor driver 62 for extending the lens barrel 60 in the tele direction or the wide direction.

移動方向がYの正または負の方向であれば、CPU20は、十字キーの上または下ボタンが押下されたときと同様の制御、例えば、グラフィカルユーザインターフェースのカーソルの上または下方向への移動表示を行う指令をOSD信号発生回路148aに送る。   If the movement direction is a positive or negative direction of Y, the CPU 20 performs the same control as when the up or down button of the cross key is pressed, for example, moving up or down the cursor of the graphical user interface. Is sent to the OSD signal generation circuit 148a.

ここで、図7に示すように、指Fの移動方向が一旦検出されると(S8)、所定時間N(例えば3秒間)が経過するまでは移動方向の検出を行わないようにする。これは、指Fの上下左右の移動動作の繰り返しには、必ず逆方向の揺り戻しを伴うからであり、先に検出された移動方向と後に検出された移動方向が相殺されて入力操作が無意味になってしまうからである。   Here, as shown in FIG. 7, once the moving direction of the finger F is detected (S8), the moving direction is not detected until a predetermined time N (for example, 3 seconds) elapses. This is because repetition of the upward / downward / left / right movement of the finger F always involves reverse swinging, and the previously detected movement direction and the later-detected movement direction are offset and no input operation is performed. Because it makes sense.

また、S7においては、静止時間の長短に応じて異なる押下入力操作を認識することもできる。図7では、静止時間が所定の時間M(例えば1秒間)だけ持続すると、「短押し」の入力操作があったと認識してそれに応じた動作制御(例えばメニュー選択や撮影の開始)を行う。静止時間が所定の時間Mに加えて、所定の時間T(例えば1秒間)だけさらに持続すると、「長押し」の入力操作があったと認識してそれに応じた動作制御(例えば撮影モードなど特定のモードへの移行)を行う。   In S7, different pressing input operations can be recognized according to the length of the stationary time. In FIG. 7, when the stationary time lasts for a predetermined time M (for example, 1 second), it is recognized that the “short press” input operation has been performed, and operation control (for example, menu selection or start of photographing) is performed accordingly. When the stationary time is further continued for a predetermined time T (for example, 1 second) in addition to the predetermined time M, it is recognized that there has been an input operation of “long press” and a corresponding operation control (for example, a specific mode such as a shooting mode) is performed. Mode).

静止時間が所定の時間M+Tを超えてしまった場合は、操作が全くなされないものとみなし、「無効操作」として扱い、特別な動作制御は行わない。   When the stationary time exceeds the predetermined time M + T, it is regarded that the operation is not performed at all, and is treated as an “invalid operation”, and no special operation control is performed.

以上説明した通り、発光制御部20aは、RAM149に記憶された新旧2つの受光量を比較し、外光の入射量が増加したかまたは減少したかを判断することで、穴34に指Fがかざされたか否かを判断する。増加したと判断した場合は発光部124−1の発光を停止し、減少したと判断した場合は発光部124−1の発光を開始する。このように、外光の入射量の増減によって指の存在の有無を検知すれば、従来のように、常に光を発して指の存在を検知しなくて済み、無駄な発光による電力消費を抑えることができる。   As described above, the light emission control unit 20a compares the new and old received light amounts stored in the RAM 149, and determines whether the incident amount of external light has increased or decreased. It is determined whether or not it is held over. When it is determined that the light has increased, the light emission of the light emitting unit 124-1 is stopped, and when it is determined that the light has decreased, the light emission of the light emitting unit 124-1 is started. In this way, if the presence / absence of the finger is detected by increasing / decreasing the amount of incident external light, it is not necessary to always detect the presence of the finger by emitting light as in the prior art, thereby suppressing power consumption due to unnecessary light emission. be able to.

デジタルカメラの正面図Front view of digital camera デジタルカメラの背面図Rear view of digital camera デジタルカメラのブロック構成図Block diagram of digital camera 光学式操作機器周辺の要部構成図Main part configuration diagram around optical operation equipment 指画像データのイメージ図Image of finger image data 光学式入力操作認識動作の流れを示すフローチャートFlow chart showing flow of optical input operation recognition operation 操作時間と入力操作の関係を例示する図A diagram illustrating the relationship between operation time and input operation

符号の説明Explanation of symbols

20a:発光制御部、20b:方向認識部、20c:操作認識部、20d:計時部、124−1:発光部、124−2:受光部 20a: light emission control unit, 20b: direction recognition unit, 20c: operation recognition unit, 20d: timing unit, 124-1: light emission unit, 124-2: light reception unit

Claims (3)

形状的特徴を有する被写体へ発光する発光部と、前記発光部からの光が前記被写体に反射した反射光を受光して前記被写体の撮像信号を出力する撮像部と、前記撮像部の出力した撮像信号をデジタル画像データに変換する画像データ変換部と、前記画像データ変換部の変換した画像データから前記被写体の形状的特徴を検出する特徴検出部と、前記特徴検出部の検出した前記被写体の形状的特徴の移動、静止又は移動方向を検出する動き検出部と、前記動き検出部の検出した前記被写体の形状的特徴の移動、静止又は移動方向に従って上、下、左、右又は押下を指定する入力操作を認識する操作認識部と、を備える光学式操作装置において、
前記画像データに従って外光の受光量の増減を判断することで前記発光部の発光開始及び停止を制御する発光制御部を備える光学式操作装置。
A light emitting unit that emits light to a subject having a shape feature, an imaging unit that receives reflected light reflected by the light from the light emitting unit and outputs an imaging signal of the subject, and an image output from the imaging unit An image data conversion unit for converting a signal into digital image data, a feature detection unit for detecting a geometric feature of the subject from the image data converted by the image data conversion unit, and a shape of the subject detected by the feature detection unit A motion detection unit that detects movement, stillness, or direction of movement of the target feature, and designates up, down, left, right, or press according to the movement, stillness, or direction of movement of the subject detected by the motion detection unit In an optical operation device comprising an operation recognition unit that recognizes an input operation,
An optical operation device including a light emission control unit that controls start and stop of light emission of the light emitting unit by determining increase / decrease in the amount of external light received according to the image data.
前記操作認識部は前記被写体の形状的特徴の静止時間の長さに従って短押し又は長押しを指定する入力操作を認識する請求項1に記載の光学式操作装置。   The optical operation device according to claim 1, wherein the operation recognizing unit recognizes an input operation that designates a short press or a long press according to a length of a stationary time of a shape feature of the subject. 前記被写体の形状的特徴は指の指紋の形状を含む請求項1又は2に記載の光学式操作装置。   The optical operation device according to claim 1, wherein the shape feature of the subject includes a fingerprint shape of a finger.
JP2005257755A 2005-09-06 2005-09-06 Optical operation device Pending JP2007072670A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005257755A JP2007072670A (en) 2005-09-06 2005-09-06 Optical operation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005257755A JP2007072670A (en) 2005-09-06 2005-09-06 Optical operation device

Publications (1)

Publication Number Publication Date
JP2007072670A true JP2007072670A (en) 2007-03-22

Family

ID=37934062

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005257755A Pending JP2007072670A (en) 2005-09-06 2005-09-06 Optical operation device

Country Status (1)

Country Link
JP (1) JP2007072670A (en)

Similar Documents

Publication Publication Date Title
JP4654974B2 (en) Imaging apparatus and imaging method
JP4626425B2 (en) Imaging apparatus, imaging method, and imaging program
JP4943769B2 (en) Imaging apparatus and in-focus position search method
JP4661413B2 (en) Imaging apparatus, number of shots management method and number of shots management program
JP4683339B2 (en) Image trimming device
JP2007019936A (en) Visible light communication system, imaging apparatus, and visible light communication preparation method and program
JP2005184508A (en) Imaging device and control method therefor
JP4683228B2 (en) Image display device, photographing device, image display method and program
JP2008131094A (en) Imaging apparatus and method
JP4623299B2 (en) Imaging apparatus and imaging method
JP2006025257A (en) Image pickup device
JP2007104108A (en) Imaging apparatus, emission luminance control method and program
US20070268397A1 (en) Image pickup apparatus and image pickup control method
JP2007072669A (en) Optical operation device
JP2008022280A (en) Imaging apparatus, method, and program
JP4534253B2 (en) Imaging device
JP2007274598A (en) Imaging apparatus and photographing condition display method
JP4697604B2 (en) Imaging apparatus and imaging control method
JP5134116B2 (en) Imaging apparatus and in-focus position search method
JP2008129082A (en) Image taking device and light emission control method
JP2005292740A (en) Electronic camera
JP2008083373A (en) Photographing apparatus
JP2007110220A (en) Imaging apparatus
JP2007178453A (en) Imaging apparatus and imaging method
JP2007072670A (en) Optical operation device

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20070117