JP2004117195A - Digital camera with speed measuring function - Google Patents

Digital camera with speed measuring function Download PDF

Info

Publication number
JP2004117195A
JP2004117195A JP2002281446A JP2002281446A JP2004117195A JP 2004117195 A JP2004117195 A JP 2004117195A JP 2002281446 A JP2002281446 A JP 2002281446A JP 2002281446 A JP2002281446 A JP 2002281446A JP 2004117195 A JP2004117195 A JP 2004117195A
Authority
JP
Japan
Prior art keywords
image
measurement
digital camera
speed
switch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2002281446A
Other languages
Japanese (ja)
Inventor
Shinobu Uesono
上園 忍
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.)
Pentax Corp
Original Assignee
Pentax 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 Pentax Corp filed Critical Pentax Corp
Priority to JP2002281446A priority Critical patent/JP2004117195A/en
Publication of JP2004117195A publication Critical patent/JP2004117195A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Length Measuring Devices By Optical Means (AREA)
  • Cameras In General (AREA)
  • Indication In Cameras, And Counting Of Exposures (AREA)
  • Automatic Focus Adjustment (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a novel digital camera consisting of a solid imaging element, having the function of measuring the speed of a moving subject. <P>SOLUTION: The digital camera uses a photographing optical system 14 for forming an optical subject image on the receiving face of a solid imaging element 32 at a predetermined photograph magnifying power for a preset charge accumulating time and photoelectrically converting it into one-frame pixel signals to generate a photographic image in accordance with the one-frame pixel signals. The digital camera has the speed measuring function for measuring the speed of the moving subject in accordance with the photograph magnifying power and the charge accumulating time when the photographic image is photographed as a measured image including the moving subject. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、固体撮像素子例えばCCD(charge−coupled device)撮像素子から成る所謂デジタルカメラに関する。
【0002】
【従来の技術】
近年、デジタルカメラの進歩は著しく、パーソナルコンピュータと共に広く普及されるに至った。その主な理由としては、デジタルカメラで撮影され画像をパーソナルコンピュータに取り込んで適宜処理して保存し得ると共に必要に応じてプリンタによってハードコピーとして記録し得ることが挙げられる。デジタルカメラが銀塩フィルムカメラと大きく異なる点は、前者では、撮影画像が一フレーム分の画素信号としてメモリに記録されるのに対して、後者では、撮影画像がフィルムに化学変化により記録されることにある。要するに、デジタルカメラの場合には、一フレーム分の画素信号をメモリから読み出して適宜加工処理を施し得るという利便性がある。が、銀塩フィルムには、そのような利便性は全くえられない。
【0003】
【発明が解決しようとする課題】
ところで、野球やサッカーなどのスポーツ観戦時の撮影等において、例えば、撮影画像中のサッカーボールや自動車の速度を知りたいといった要望がある。しかしながら、実際にに被写体の速度を計測するとなると、専用の速度測定装置を設置して、撮影時と同じタイミングで速度計測しなければならず、非現実的であり、手軽に被写体の速度を検出することができなかった。
【0004】
従って、本発明の目的は、、撮影画像の信号処理が可能であるというデジタルカメラの利便性を利用して、移動被写体の速度計測機能を持つ新規なデジタルカメラを提供することである。
【0005】
【課題を解決するための手段】
本発明によるデジタルカメラは、撮影光学系により所定の撮影倍率で固体撮像素子の受光面に結像する被写体像を、所定の電荷蓄積時間で光電変換して一フレーム分の画素信号として読み出し、この一フレーム分の画素信号に基づいて撮影画像を生成するように構成されるものであって、
該撮影画像が移動被写体を含む測定画像として撮影された際に上述の撮影倍率及び電荷蓄積時間に基づいて該移動被写体の速度を計測するための速度計測機能を具備する。
【0006】
本発明によるデジタルカメラにあっては、速度計測機能は、測定画像に含まれる移動被写体の像ブレ領域を該測定画像から抽出する抽出手段と、該像ブレ領域の幅及びその高さを算出する算出手段と、この算出手段によって検出された像ブレ領域の幅及びその高さと上述の撮影倍率及び前記電荷蓄積時間とに基づいて移動被写体の速度を演算する演算手段とから構成される。
【0007】
本発明によれば、好ましくは、抽出手段は、測定画像から前記移動被写体を除いたものに対応した背景画像であって上述の撮影倍率及び電荷蓄積時間で別途撮影したもので測定画像を差分処理することにより該測定画像からの移動被写体の像ブレ領域の抽出を行うように構成される。
【0008】
また、本発明によれば、抽出手段は背景画像及び測定画像のいずれか一方をその他方に空間的に一致させるべくその間の相対的角度変位量及び相対的平行移動量を検出する変位量検出手段を含み得る。
【0009】
本発明によるデジタルカメラでは、撮影光学系はズーム光学系として構成され得る。この場合、ズーム光学系の焦点距離を検出する焦点距離検出手段と、撮影光学系における合焦光学系の光軸方向における位置を検出する合焦光学系位置検出手段とが設けられる。
【0010】
本発明によるデジタルカメラの好適な実施形態にあっては、測定画像を表示するモニタ手段が設けられ、演算手段で演算された移動被写体の速度が該モニタ手段で表示された測定画像上にスーパーインポーズされる。
【0011】
【発明の実施の形態】
次に、添付図面を参照して、本発明によるデジタルカメラの実施形態について説明する。
【0012】
図1を参照すると、本発明によるデジタルカメラがブロック図として概略的に示される。本デジタルカメラにはその作動全般を制御するためのシステム制御回路10が設けられる。システム制御回路10はマイクロコンピュータから構成され、このマイクロコンピュータは中央処理ユニット(CPU)、種々のルーチンを実行するためのプログラム、定数等を格納する読出し専用メモリ(ROM)、データ等を一時的に格納する書込み/読出し自在なメモリ(RAM)、入出力インターフェース(I/O)を包含する。
【0013】
システム制御回路10はメインスイッチ(SW)12を備え、このメインスイッチ12がオフのとき、システム制御回路10はスリープモードにある。即ち、デジタルカメラにバッテリ(図示されない)が充填されると、システム制御回路10はスリープモード(最小消費電力状態)で動作して、メインスイッチ12がオンされたか否かをだけを所定の時間間隔で監視する。メインスイッチ12がオンされると、スリープモードから動作モードに移行し、システム制御回路10では、後述するようなスイッチ操作監視処理ルーチンが実行される。即ち、システム制御回路10は後述するような種々のスイッチがオンされたか否かを監視し、所定のスイッチがオンされると、そのスイッチに応じた処理がシステム制御回路10で実行される。
【0014】
本発明によるデジタルカメラには撮影光学系としてズーム光学系14が組み込まれ、このズーム光学14には、レンズ停止位置が予め決められているステップズーム方式が採用される。本実施形態では、例えば、所謂テレ端からワイド端までの間でステップズーム方式により5段階の焦点距離が段階的に選択されるようになっている。例えば、テレ端での焦点距離がf(最長)でワイド端での焦点距離がf(最短)であるとすると、その間で3つの焦点距離f、f及びfが設定されるようになっている(f>f>f>f>f)。撮影光学系14はズーム駆動機構16によって駆動され、ズーム駆動機構16にはシステム制御回路10の制御下で回転駆動されるようになった電動モータ例えばステッピングモータが内蔵される。このような駆動モータの回転駆動により撮影光学系14の焦点距離が上述した5つの焦点距離f、f、f、f及びfのうちの1つに設定される。
【0015】
ズーム駆動機構16の電動モータの回転駆動制御のために、システム制御回路10はテレ側スイッチ(SW)18及びワイド側スイッチ(SW)20を備える。テレ側スイッチ18がオンされる度毎に、ズーム駆動機構16の駆動モータは順方向に回転駆動させられ、これにより撮影光学系14の焦点距離はテレ端側に向かって段階的に移行させられる。例えば、撮影光学系14の焦点距離がfとして設定されているとすると、テレ側スイッチ18がオンされると、撮影光学系14の焦点距離はfからfに移行する。一方、ワイド側スイッチ20がオンされる度毎に、ズーム駆動機構16の駆動モータは逆方向に回転駆動させられ、これにより撮影光学系14の焦点距離はワイド端側に向かって段階的に移行させられる。例えば、撮影光学系14の焦点距離がfとして設定されているとすると、ワイド側スイッチ20がオンされると、撮影光学系14の焦点距離はfからfに移行する。
【0016】
図1に示すように、撮影光学系14にはズームエンコーダ22が組み込まれ、このズームエンコーダ22により撮影光学系14で設定された焦点距離データがシステム制御回路10に対して出力される。即ち、システム制御回路10は、ズームエンコーダ22から出力された焦点距離データを取り込むことにより、上述した5つの焦点距離f、f、f、f及びfのうちのいずれかが撮影光学系14で設定されたかを識別し得る。また、焦点距離データは、後述するように、システム制御回路10による撮影倍率Mの演算に利用される。
【0017】
また、本実施形態にあっては、撮影光学系14では自動合焦(オートフォーカス)方式が採用される。即ち、撮影光学系14に含まれる合焦レンズは合焦レンズ駆動機構24によって駆動させられ、これにより被写体像の合焦が自動的に行われる。即ち、ズーム駆動機構16の場合と同様に、合焦レンズ駆動機構24にもシステム制御回路10の制御下で回転駆動されるようになった電動モータ例えばステッピングモータが内蔵され、この電動モータを後述するような態様で回転駆動させることにより、撮影光学系14の合焦レンズが駆動させられて被写体像の合焦が自動的に成される。
【0018】
システム制御回路10は記録/再生スイッチ(R/P SW)26を備え、この記録/再生スイッチ26は記録側及び再生側の間で摺動自在となったスライドスイッチとして構成される。即ち、記録/再生スイッチ26が記録側にスライドさせられると、動作モードとして記録(撮影)モードが選択され、再生側にスライドさせられると、動作モードとして再生モードが選択される。なお、記録モード及び再生モードについては後で詳しく説明する。
【0019】
システム制御回路10は更に測光スイッチ(SW)28及びレリーズスイッチ(SW)20を備え、これらスイッチ28及び30の操作は記録/再生スイッチ26による記録モード選択時だけ有効であり、記録/再生スイッチ26による再生モード選択時には無効となる。測光スイッチ28及びレリーズスイッチ30は共通のレリーズ釦(図示されない)によって操作されるようになっている。即ち、レリーズ釦が半押しされると、測光スイッチ28がオンされ、レリーズ釦が全押しされると、レリーズスイッチ30がオンされるようになっている。なお、後述するように、測光スイッチ28がオンされると、測光処理が行われ、レリーズスイッチ30がオンされると、撮影処理が行われる。
【0020】
撮影光学系14は固体撮像素子例えばCCD(charge−coupled device)撮像素子32と組み合わされ、このCCD撮像素子32の受光面には光学的ローパスフィルタ34が設けられる。また、本デジタルカメラではフルカラー撮影が行えるようになっており、このためCCD撮像素子32の受光面と光学的ローパスフィルタ34との間にはカラーフィルタ(図示されない)が介在させられる。撮影光学系14で捉えられた被写体像は光学的ローパスフィルタ34を通してCCD撮像素子32の受光面に結像され、その光学的被写体像は一フレーム分のカラー画素信号に光電変換される。
【0021】
CCD撮像素子32からはカラー画素信号が順次読み出され、その読出しはCCD駆動回路36からCCD撮像素子32に対して出力される読出しクロックパルスに従って行われる。記録/再生スイッチ26による記録モード選択時でしかもレリーズスイッチ30のオフ時、CCD撮像素子32からのカラー画素信号の読出しは適宜間引かれる。即ち、CCD撮像素子32の実際の画素数よりも少ない画素数が一フレーム分のカラー画素信号として該CCD撮像素子32から読み出される。一方、記録/再生スイッチ26による記録モード選択時にレリーズスイッチ30がオンされた直後、一度だけCCD撮像素子32から一フレーム分のカラー画素信号が撮影記録用として間引きかれることなくすべて読み出される。
【0022】
このような読出しはCCD駆動回路36からの読出しクロックパルスの切替によって行われる。即ち、CCD駆動回路36はシステム制御回路10の制御下で動作させられ、通常は、CCD撮像素子32からカラー画素信号を間引いて読み出すための間引き用読出しクロックパルスが出力されるのに対して、レリーズスイッチ30がオンされた直後に撮影用読出しクロックパルスが出力される。撮影用読出しクロックパルスに従ってCCD撮像素子32から一フレーム分のカラー画素信号が間引きかれることなくすべて読み出されると、CCD駆動回路36から再び間引き用読出しクロックパルスが出力される。
【0023】
CCD撮像素子32から順次読み出されたカラー画素信号はノイズ低減回路即ち相関二重サンプリング回路(CDS)38を通して増幅器(AMP)40に入力され、そこで適当なゲインで増幅される。次いで、カラー画素信号はアナログ/デジタル(A/D)変換器42に入力され、そこでデジタルカラー画像信号に変換された後にシステム制御回路10に取り込まれる。
【0024】
本実施形態では、記録/再生スイッチ26による記録モード選択時、撮影光学系14で捉えた画像が動画としてモニタされるようになっており、この目的のために本デジタルカメラには、ビデオラム(VRAM)44、デジタル/アナログ(D/A)変換器46、ビデオエンコーダ48及び液晶表示(LCD)パネル50が設けられる。また、撮影光学系14で捉えた画像を動画としてモニタするために、CCD撮像素子32からの一フレーム分の間引き画素信号の読出しが所定時間毎に繰り返される。例えば、NTSC方式を採用する場合には、一フレーム分の間引き画素信号の読出しについては1秒間に30回繰り返される。
【0025】
システム制御回路10よってA/D変換器42から取り込まれた間引きデジタルカラー画素信号は適当な画像処理、例えばホワイトバランス処理、ガンマ補正処理等を受けた後に輝度信号と2つの色差信号とに変換され、これら輝度信号及び色差信号は一旦ダイナミックラム(DRAM)52に順次書き込まれる。DRAM52での輝度信号及び色差信号の書込みが一フレーム分に到達すると、一フレーム分の輝度信号及び色差信号はDRAM52から読み出されてVRAM44に書き込まれる。次いで、VRAM44から輝度信号及び色差信号が順次読み出されてD/A変換器46に入力され、そこでアナログ輝度信号及びアナログ色差信号に変換される。続いて、アナログ輝度信号及びアナログ色差信号はビデオエンコーダ48に入力され、そこで適当なビデオ信号に変換されて液晶表示(LCD)パネル50に入力される。かくして、撮影光学系14で捉えられた被写体像はビデオ信号に従ってLCDパネル50に動画として表示される。
【0026】
撮影光学系14で捉えられた被写体像をLCDパネル50に動画として表示する場合、CCD撮像素子32で各一フレーム分のカラー画素信号を得る際の電荷蓄積時間については一定時間として適当に設定されるが、LCDパネル50での動画表示の明るさを一定に維持するために増幅器40のゲインが調整される。即ち、各一フレーム分の間引きカラー画素信号から得られる一フレーム分の輝度信号の平均輝度値が参照値と比較され、その間の差が無くなるように増幅器40のゲインが調整され、これにより被写体像の明るさに関係なくLCDパネル50での動画表示の明るさが一定に維持され得ることになる。
【0027】
また、各一フレーム分の間引きカラー画素信号から得られる一フレーム分の輝度信号は、合焦レンズ駆動機構24の作動のためにも利用される。即ち、本実施形態では、撮影光学系14の自動合焦については、いわゆるコントラスト方式に基づいて制御される。すなわち、システム制御回路10は、CCD撮像素子32の受光面に結像された被写体像の少なくとも一部の領域で互いに隣接する画素間の輝度差を演算して該領域のコントラストが最大となるように合焦レンズ駆動機構24を駆動制御して、撮影光学系14の合焦レンズの合焦制御を行う。かくして、LCDパネル50での動画表示は常にピントが合った状態で行われる。またシステム制御回路10は、撮影光学系14の合焦レンズの現在位置を、撮影光学系14の合焦レンズが無限遠に合焦するレンズ位置からのレンズ繰り出し量として把握しており、このレンズ繰り出し量と前述の焦点距離データとから撮影倍率Mを演算する。なお、本実施形態においては、撮影倍率Mは、演算式M=f/D(ただし、fは焦点距離、Dは被写体距離)で求められ、被写体距離Dは、検出したレンズ繰り出し量から不図示のテーブルを参照して決定する。
【0028】
更に、各一フレーム分の間引きカラー画素信号から得られる一フレーム分の輝度信号は静止画像を撮影する際に最適露出を得るため測光値としても利用される。即ち、記録/再生スイッチ26による記録モード選択時に測光スイッチ28がオンされると、一フレーム分の輝度信号が被写体の輝度値(明るさ)として処理され、該被写体の撮影時でのCCD撮像素子32に対する電荷蓄積時間がその輝度値に基づいて演算され、これによりレリーズスイッチ30のオン時に該被写体は最適露出でCCD撮像素子32によって静止画像として撮影される。
【0029】
上述したように、レリーズスイッチ30がオンされた直後(即ち、電荷蓄積時間経過後)、CCD駆動回路36からの読出しクロックパルスの出力は間引き用読出しクロックパルスから撮影用読出しクロックパルスに切り替わり、これによりCCD撮像素子32から一フレーム分のカラー画素信号が間引かれることなくすべて読み出される。一フレーム分のカラー画素信号が間引かれて読み出される場合と同様に、この一フレーム分の間引き無しカラー画素信号も相関二重サンプリング回路(ノイズ低減回路)38を通して増幅器(AMP)40に入力され、そこで適当なゲインで増幅された後にアナログ/デジタル(A/D)変換器42によって一フレーム分の間引き無しデジタルカラー画像信号に変換されてシステム制御回路10に取り込まれる。
【0030】
また、間引きデジタルカラー画素信号の場合と同様に、間引き無しデジタルカラー画像信号もシステム制御回路10でホワイトバランス処理、ガンマ補正処理等の画像処理を受けた後に適当な記憶手段によって静止画データとして格納される。本実施形態では、静止画データの記憶のためにCFカードメモリ53(フラッシュメモリ)が用いられ、このCFカードメモリはCFカードドライバ54に着脱自在に装填される。図1に示すように、CFカードドライバ54はインタフェース(I/F)回路56を介してシステム制御回路10に接続される。要するに、静止画データはインタフェース(I/F)回路56及びCFカードドライバ54を介してCFカードメモリ53に書き込まれて格納される。
【0031】
記録/再生スイッチ26によって再生モードが選択されると、CFカードメモリ内に格納された静止画データに基づいて撮影画像をLCDパネル50で表示することができる。この場合には、所定の一フレーム分の静止画データがCFカードメモリから読み出されて適宜間引処理を行った後にVRAM44に書き込まれ、これにより撮影画像をLCDパネル50でモニタすることが可能である。
【0032】
システム制御回路10は更にメニュー表示スイッチ(SWMD)58、メニュー選択スイッチ(SW)60及びメニュー確定スイッチ(SW)62を備える。メニュー表示スイッチ58が操作されると、LCDパネル50の表示はメニュー表示画面に切り替わり、それらメニューのうちの1つが反転カーソルによって反転表示される。メニュー選択スイッチ60は十字スイッチとして構成され、この十字スイッチ60を操作することにより、反転カーソルが上下左右にシフトさせられ、これにより所望のメニューが選択される。メニュー選択スイッチ60の操作により、所望のメニューが選択された後にメニュー確定スイッチ62が操作されると、その選択メニューに応じた処理がシステムコントローラ10で実行されると共にLCDパネル50の表示もその処理に応じて切り替わる。
【0033】
なお、メニュー選択スイッチ60及びメニュー確定スイッチ62はメニュー表示スイッチ58の操作によりメニュー表示画面がLCDパネル50に表示されたときだけ使用されるのではなく、LCDパネル50の表示画面にメニューが表示されている場合にはそれらメニューの選択及び確定のために使用される。
【0034】
以上で述べたデジタルカメラには、移動被写体の速度を計測する機能が本発明に従って搭載され、このような速度計測の原理について以下に説明する。
【0035】
先ず、上述のデジタルカメラにより、移動被写体が通るべき特定の場所が背景画像として撮影され、その背景画像が図2に例示的に示される。背景画像としては、不動(静止)の被写体で後の画像処理で形状を抽出しやすいもの、例えば建物や壁等の構造物が選ばれ、無風状態であれば木々等であってもよい。図2に示すように、背景画像にはターゲットTGが写し込まれ、ターゲットTGは移動被写体の速度計測が終了するまで所定位置に設置された儘とされる。本実施形態では、ターゲットTGは漆黒に塗装された板状部材でから成り、その表面には2つの小円反射領域R及びRが形成される。例えば、小円反射領域(R、R)は適当な大きさのアルミニウム箔片をターゲットTGの表面に貼り付けることにより得られる。
【0036】
背景画像の撮影後にその背景画像と共に移動被写体が撮影され、移動被写体は例えば投球された野球用ボールであり得る。図3に例示的に示すように、そのような移動被写体即ち野球用ボールは高速なために像ブレ領域(斜線領域)BRとして撮影される。このような像ブレ領域BRの長さは野球用ボールの速度を表すものとなり、その速度は後述するようなアルゴリズムにより算出することができる。なお、以下の説明の便宜のために、背景画像と共に移動被写体を撮影した撮影画像については測定画像と呼ぶことにする。
【0037】
像ブレ領域BRの長さを算出するために、像ブレ領域BRが測定画像(図3)から抽出される。換言すれば、測定画像から像ブレ領域BRだけを残して背景画像が除去される。このような処理は図2の背景画像を成す個々の画素信号と図3の背景画像を成す個々の画素信号とを互いに対応させて比較し、双方の輝度値の差分がほぼ等しいとき、即ち所定の微小範囲内に含まれるとき、測定画像(図3)側の画素信号は像ブレ領域BRに含まれないものとして該測定画像から除去される。一方、双方輝度値の差分が大巾に異なるとき、即ち上述の所定の微小範囲外となるとき、測定画像(図3)側の画素信号は像ブレ領域BRに含まるものとして該測定画像に残される。要するに、測定画像を背景画像で差分処理することにより移動被写体の像ブレ領域が該測定画像から抽出されることになる。
【0038】
図2に示すように、背景画像上の個々の画素信号の位置を特定するために該背景画像の水平方向及び垂直方向の2方向に沿ってX−Y座標系が設定され、その座標原点0は背景画像の左下のコーナーに位置させられ、そのX軸及びY軸のそれぞれは背景画像の底辺及び左辺に沿って延びる。一方、図3に示すように、測定画像上の個々の画素信号の位置を特定するために該測定画像にも同様なX−Y座標系が設定される。本実施形態では、背景画像及び測定画像は共にデジタルカメラを手で持った状態で撮影されるので、先に撮影された背景画像に対して測定画像が傾くことがある。背景画像上の個々の画素信号と測定画像上の個々の画素信号とを互いに対応付けするためには、座標原点0を中心に背景画像及び測定画像のいずれか一方を他方に対して相対的に移動させて背景画像の位置と測定画像の位置とをX−Y座標系に対して一致させることが必要である。
【0039】
図4を参照すると、背景画像を測定画像に対して移動させて双方の位置をX−Y座標系に対して一致させた背景画像が示され、この背景画像については位置補正背景画像と呼ぶことにする。
【0040】
図4に示すような位置補正背景画像を得るために、背景画像(図2)のターゲットTG上の2つの小円反射領域R及びRのそれぞれの中心座標P(x, y)及びP(x, y)がラベリング処理等の画像処理によって求められ、また測定画像(図3)のターゲットTG上の2つの小円反射領域R及びRのそれぞれの中心座標Q(u, v)及びQ(u, v)がラベリング処理等の画像処理によって求められる。このとき背景画像(図2)と測定画像(図3)のそれぞれの方向ベクトル(x
)及び(u, v)は以下の式によって表せる。
【数1】

Figure 2004117195
【0041】
背景画像(図2)から位置補正背景画像(図4)を得るために、該背景画像をX−Y座標原点の回りで回転させる回転角度θ及びX−Y座標系に対して背景画像を平行移動させるための平行移動量(Δx,Δy)は以下のように表せる。
θ=sin−1(u − v
Δx=x − u
Δy=y − v
【0042】
即ち、位置補正背景画像(図4)の任意の画素信号の座標P(x, y)とされたとき、その座標P(x, y)に対応した元の背景画像(図2)の上の画素信号の座標Porg(xorg, yorg)は以下の式で表せる。
org=(x − u)cosθ − (y − v)sinθ + Δx
org=(x − u)sinθ + (y − v)cosθ + Δy
【0043】
位置補正背景画像(図4)上で座標P(x, y)で表された画素信号は測定画像(図3)上の画素信号に対応するものである。従って、座標P(x, y)で表される画素信号と背景画像(図2)上で座標Porg(xorg, yorg)で表せる画素信号とは互いに対応するので、その輝度値の差分がほぼ等しいとき、即ち所定の微小範囲内に含まれるとき、測定画像(図3)上で座標P(x, y)で表される画素信号は像ブレ領域BRに含まれないものとして該測定画像から除去される。一方、該双方輝度値の差分が大巾に異なるとき、即ち上述の所定の微小範囲外となるとき、測定画像(図3)側上で座標P(x, y)で表される画素信号は像ブレ領域BRに含まるものとして該測定画像に残される。
【0044】
このような処理を繰り返すことにより、測定画像(2)から背景画像が除去されて像ブレ領域BRだけが図5に示すように抽出される。次いで、図6に示すように、像ブレ領域BRの幅W及びその高さHが画像処理により求められる。その後、ボール速度Sが以下の式により演算される。
=(W − H)/MT
ここで、“M”は測定画像の撮影倍率であり、“T”は測定画像(図3)の電荷蓄積時間である。
【0045】
図7を参照すると、メインスイッチ(SW)12がオンされた直後にシステム制御回路10で一度だけ実行される初期化ルーチンのフローチャートが示される。
【0046】
ステップ701では、記録モード及び再生モードのいずれかが選択されているか否かが判断される。即ち、メインスイッチ12のオン時に、例えば記録/再生スイッチ(R/P SW)26が記録側にあれば、記録モードが選択され、このときステップ702に進み、そこで撮影処理ルーチンの実行開始が指令される。一方、メインスイッチ12のオン時に、記録/再生スイッチ(R/P SW)26が再生側にあれば、ステップ703に進み、そこで再生処理ルーチンの実行開始が指令される。なお、撮影処理ルーチンは本デジタルカメラを用いて被写体を撮影する際に実行されるものであり、再生処理ルーチンは撮影された画像をLCDパネル50でモニタする際に実行されるものであり、撮影処理ルーチンについては図10を参照して、再生処理ルーチンについては図11及び図12を参照して後で詳しく説明する。
【0047】
ステップ704では、フラグBFK及びSMFが“0”に初期化される。フラグBKFは記録モード時に被写体を速度計測の際に使用される背景画像(図2)として撮影する背景画像撮影モードが選択されているか否かを指示するためのフラグであり、BKF=1のとき、背景画像撮影モードが選択されていることが指示され、BKF=0のとき、背景画像撮影モードの選択が解除されていることが指示される。また、フラグSMFは再生モード時に速度計測モードが選択されているか否かを指示するためのフラグであり、SMF=1のとき、速度計測モードが選択されていることが指示され、SMF=0のとき、速度計測モードの選択が解除されていることが指示される。ステップ705では、その他の初期化処理が実行されるが、これら初期化化処理自体は本発明には特に直接関係しないものである。
【0048】
図8及び図9を参照すると、システム制御回路10で実行されるスイッチ操作監視ルーチンのフローチャートが示され、このスイッチ操作監視処理ルーチンの実行開始は図7の初期化ルーチンの実行完了後となる。
【0049】
ステップ801では、記録/再生スイッチ(R/P SW)26が操作されたか否かが監視され、記録/再生スイッチ26の操作が確認されると、ステップ802に進み、そこで記録モードが選択されたか否かが判断される。記録/再生スイッチ26の操作により記録モードが選択されたことが確認されると、ステップ803に進み、そこで再生処理ルーチンの実行停止が指令され、次いでステップ804に進み、そこで撮影処理ルーチンの実行開始が指令される。一方、ステップ802で再生モードが選択されたことが確認されると、ステップ805に進み、そこで撮影処理ルーチンの実行停止が指令され、次いでステップ806に進み、そこで再生処理ルーチンの実行開始が指令される。
【0050】
ステップ801で記録/再生スイッチ26の操作が確認されないとき、或いは撮影処理ルーチンの実行開始指令後(ステップ804)若しくは再生処理ルーチンの実行開始指令後(ステップ806)の実行後、ステップ807に進み、そこでメニュー表示スイッチ(SWMD)58が操作されたか否かが監視される。メニュー表示スイッチ58の操作が確認されると(即ち、LCDパネル50の表示がメニュー表示画面に切り替わると)、ステップ808に進み、そこで実行中の処理が中断される。即ち、例えば、撮影処理ルーチンが実行されていれば、その撮影処理ルーチンの実行が中断され、再生処理ルーチンが実行されていれば、その再生処理ルーチンの実行が中断される。
【0051】
ステップ809では、メニュー選択スイッチ(SW)60の操作に従ってメニュー表示処理が実行される。即ち、メニュー表示処理では、メニュー選択スイッチ(十字スイッチ)60を操作することにより、反転カーソルがシフトさせられる。ステップ810では、メニュー確定スイッチ(SW)62が操作されたか否かが監視される。要するに、メニュー確定スイッチ62の操作が確認されるまで、メニュー表示処理がメニュー選択スイッチ60の操作に従って続けられ、所望のメニュー選択が行われる。
【0052】
ステップ810でメニュー確定スイッチ62の操作が確認されると、即ち選択メニューが確定すると、ステップ811に進み、選択メニューが速度計測メニューであるか否かが判断される。もし速度計測メニューが選択されたならば、ステップ812に進み、フラグSMFに“1”が与えられ、これにより速度計測モードが選ばれたことが指示される。選択メニューが背景画像撮影メニューではないとき、ステップ811からステップ813に進み、そこで選択メニューが速度計測解除メニューであるか否かが判断される。もし速度計測解除メニューが選択されたならば、ステップ814に進み、そこでフラグSMFに“0”が与えられ、これにより速度計測モードの選択が解除されたことが指示される。
【0053】
選択メニューが速度計測メニューでも速度計測解除メニューでもないとき、ステップ813からステップ815に進み、そこで選択メニューが背景画像撮影メニューであるか否かが判断される。もし背景画像撮影メニューが選択されたならば、ステップ816に進み、フラグBKFに“1”が与えられ、これにより背景画像撮影モードが選ばれたことが指示される。選択メニューが背景画像撮影メニューではないとき、ステップ815からステップ817に進み、そこで選択メニューが背景画像撮影解除メニューであるか否かが判断される。もし解除メニューが選択されたならば、ステップ818に進み、そこでフラグBKFに“0”が与えられ、これにより背景画像撮影モードの選択が解除されたことが指示される。
【0054】
選択メニューが背景画像撮影メニューでも背景画像撮影解除メニューでもないとき、ステップ817からステップ819に進み、そこでメニュー確定スイッチ62の操作により確定されたその他のメニューに従う処理が実行される。なお、そのような選択メニュー自体は本発明とは直接関係するものではないので説明を省略する。
【0055】
その後、ステップ820に進み、そこで中断中の処理(808)が再開される。次いで、ステップ821でメインスイッチ12がオフされたか否かが判断され、もしメインスイッチ12がオン状態であれば、ステップ801に戻り、記録/再生スイッチ26及びメニュー表示スイッチ58の操作が監視される。一方、ステップ821でもしメインスイッチ12がオフであれば、ステップ822に進み、そこでスリープモードに移行して本ルーチンは終了する。
【0056】
図10を参照すると、撮影処理ルーチンのフローチャートが示され、この撮影処理ルーチンの実行開始指令は既に述べたように初期化ルーチン(図7)のステップ702或いはスイッチ操作監視処理ルーチン(図8及び図9)のステップ804で行われる。
【0057】
ステップ1001では、LCDパネル表示処理ルーチンが実行される。このようなLCDパネル表示処理ルーチン自体は従来のデジタルカメラでよく知られているものであり、その実行によりLCDパネル48には上述したような態様で被写体像が動画として表示される。即ち、CCD撮像素子32からは一フレーム分の間引きカラー画素信号が所定の時間間隔で順次読み出され、これら間引きカラー画素信号に基づいて被写体像がLCDパネル50に動画として表示される。なお、LCDパネル表示処理ルーチンの実行中、CCD撮像素子32から一フレーム分の間引きカラー画素信号が読み出される度毎に、合焦レンズ機構24が上述したようなコントラスト法に従って駆動させられ、これによりLCDパネル50での動画表示は常にピントが合った状態で行われる。
【0058】
ステップ1002では、ズーム処理ルーチンが実行される。このようなズーム処理ルーチン自体も従来のデジタルカメラでよく知られているものである。即ち、ズーム処理ルーチンでは、テレ側スイッチ(SW)18及びワイド側スイッチ(SW)20のいずれかの操作が監視され、この双方のスイッチの一方が操作されると、ズーム駆動機構16が駆動されて撮影光学系14の焦点距離はf、f、f、f及びfのうちの1つに設定される。
【0059】
ステップ1003では、レリーズスイッチ釦の半押しによって、測光スイッチ(SW)28がオンされたか否かが監視される。もし測光スイッチ28がオフであれば、ステップ1002に戻る。要するに、撮影光学系14で捉えられた被写体像をLCDパネル50に動画として表示しつつ、測光スイッチ28のオン操作がステップ1003で監視される。
【0060】
ステップ1003で測光スイッチ28のオン操作が確認されると、ステップ1004に進み、そこで測光処理が実行される。測光処理では、CCD撮像素子32から読み出された一フレーム分の間引きカラー画素信号から得られた一フレーム分の輝度信号の平均輝度値(測光値)に基づいて最適露出値が求められる。次いで、ステップ1005では、合焦レンズ機構24が上述したコントラスト法に従って駆動させられ、これにより撮影動作直前の合焦処理が実行される。
【0061】
ステップ1006では、ズームエンコーダ22から焦点距離データが取り込まれ、現時点で撮影光学系14で設定されている焦点距離(f、f、f、f、f)が焦点距離データによって認識される。次いで、ステップ1007では、焦点距離データに基づいて被写体距離が演算され、続いてステップ1008で撮影倍率Mが演算される。
【0062】
ステップ1009では、ステップ1004で得られた最適露出値に基づいて電荷蓄積時間Tが演算される。次いで、ステップ1010では、レリーズスイッチ釦の全押しにより、レリーズスイッチ(SW)30がオンされた否かが監視される。もしレリーズスイッチ30がオフであれば、ステップ1001に戻る。もし測光スイッチ28のオン状態が維持されていれば、ステップ1004ないし1009の撮影直前処理が繰り返される。
【0063】
ステップ1010でレリーズスイッチ30のオンが確認されると、ステップ1011に進み、そこでCCD撮像素子32から不要電荷が掃き出される。次いで、ステップ1012では、電荷蓄積時間Tの経過が監視される。電荷蓄積時間Tの経過が確認されると、ステップ1013に進み、そこでCCD撮像素子32から一フレーム分のカラー画素信号が間引きかれることなくすべて読み出され、この一フレーム分のカラー画素信号は相関二重サンプリング回路38、増幅器40及びA/D変換器42を経て一フレーム分のデジタルカラー画素信号としてシステム制御回路10に取り込まれる。
【0064】
そして、一フレーム分のデジタルカラー画素信号はホワイトバランス処理、ガンマ補正処理等の画像処理が施され、静止画データが生成される(ステップ1014)。次いで、ステップ1015では、速度計測モードが選択されているか否かが判断される。速度計測モードが選択されているとき(SMF=1)、ステップ1016に進み、そこで静止画データがインタフェース(I/F)回路56及びCFカードドライバ54を介してCFカードメモリ53の所定のメモリ領域に所定のフォーマットに従って書き込まれ、このとき撮影倍率データ(M)、電荷蓄積時間データ(T)及びフラグデータ(BKF)も該メモリ領域のヘッダに格納される。即ち、速度計測モードの選択時には、CFカードメモリ53には静止画像データと共に撮影倍率データ(M)、電荷蓄積時間データ(T)及びフラグデータ(BKF)が格納され、その静止画像データがフラグデータ(BKF)により背景画像データ(BFF=1)及び測定画像データ(BFF=0)のいずれであるかが判別され得るようにされる。
【0065】
ステップ1017では、FCカードメモリ53のヘッダ領域を検索し、フラグデータBFF=1の背景画像とフラグデータBKF=0の測定画像がそれぞれ1枚以上あるか否かが判断される。背景画像と測定画像の双方がある場合には、図11及び図12に示す再生処理ルーチンのステップ1102にジャップし、直ちに再生モード下での速度計測動作に移行する。なお、速度計測動作については図11及び図12を参照して後で詳しく説明する。速度計測を目的として撮影行う場合、速度計測に必要な一対の背景画像と計測画像は比較的近い時間間隔で撮影されるケースが多い。そして、計測画像と背景画像の一方を撮影した後、他方を撮影するケースも頻度が高い。また、背景画像は同じ背景で同じ背景で撮影された各測定画像に対しては共用できるため、計測したい画像を先に複数枚撮影した後、最後に背景画像を1枚撮影するケースも多い(シャッターチャンスの関係から、撮影の優先度が測定画像の方が高い)。従って、上記構成にしておけば、最後に背景画像が撮影されて、速度計測が可能な条件が満たされると、直ちに再生モード下における速度計測処理に移行するので、手動操作によって記録モードから再生モードに変更する煩わしさから解放される。
【0066】
一方、ステップ1015で速度計測モードが選択されていない場合(フラグSMF=0)、即ち通常の撮影が行われた場合には、ステップ1015からステップ1019に進み、そこで静止画像データがインタフェース(I/F)回路56及びCFカードドライバ54内を介してCFカードメモリ53の所定のメモリ領域に所定のフォーマットに従って書き込まれ、このときCFカードメモリ53のヘッダ領域には、撮影倍率データM及びフラグデータ(BKF)は記録されない。
【0067】
図11及び図12を参照すると、再生処理ルーチンのフローチャートが示され、この再生処理ルーチンの実行開始指令は既に述べたように初期化ルーチン(図7)のステップ703或いはスイッチ操作監視処理ルーチン(図8及び図9)のステップ806で行われる。
【0068】
ステップ1101では、フラグSMFが“1”であるか“0”であるかが判断される。SMF=0であるとき、即ち速度計測モードの選択が解除されているとき、ステップ1102に進み、そこで通常再生処理が実行される。この通常再生処理はCFカードメモリに格納された静止画像データに基づいて撮影画像を所定の手続きに従ってLCDパネル50でモニタするための処理であり、このような再生処理自体は従来のデジタルカメラで行われているものである。なお、LCDパネル50での撮影画像の再生画面には速度計測モードの選択メニューが表示され、速度計測モードをメニュー選択スイッチ(SW)60で選択した後にメニュー確定スイッチ(SW)62を操作すると、フラグSMFは“0”から“1”に書き換えられる。
【0069】
ステップ1101でSMF=1のとき、即ち速度計測モニタが選択されているとき、ステップ1103に進み、そこで背景画像(図2)の検索が行われる。即ち、CFカードメモリ内に格納された静止画像データの中でフラグデータ(BKF)に“1”が与えられている静止画像データが検索される。次いで、ステップ1104で背景画像の検索結果が判断される。即ち、背景画像がCFカードメモリ内に含まれているときには、ステップ1105に進み、そこで背景画像(図2)がLCDパネル50に表示される。即ち、BKF=1とされた静止画像データ即ち背景画像データがCFカードメモリから間引かれて読み出され、この間引き背景画像データから表示用ビデオ信号が作成され、このビデオ信号に基づいて背景画像がLCDパネル50に表示される。なお、背景画像が複数枚あるときには、その枚数をLCDパネル50に表示することが好ましい。
【0070】
ステップ1106では、メニュー選択スイッチ60の操作に従って背景画像の表示切替処理が行われ、次いでステップ1107でメニュー確定スイッチ62が操作されたか否かが判断される。メニュー確定スイッチ62の操作が確認されないときには、ステップ1106に戻る。要するに、メニュー確定スイッチ62が操作されるまでは、メニュー選択スイッチ60の操作に従って背景画像の表示が切り替わり、これにより背景画像の選択が行われる。ステップ1107でメニュー確定スイッチ62の操作が確認されると、即ち背景画像の選択が確定されると、ステップ1108に進み、そこで確定背景画像に対応した一フレーム分の静止画像データが間引かれることなくCFカードメモリからすべて読み出されてDRAM52に一旦格納される。
【0071】
ステップ1109では、測定画像(図3)の検索が行われる。即ち、CFカードメモリ内に格納された静止画像データの中でフラグデータ(BKF)に“0”が与えられている静止画像データが検索される。次いで、ステップ1110で測定画像の検索結果が判断される。即ち、測定画像がCFカードメモリ内に含まれているときには、ステップ1110に進み、そこで測定画像(図3)がLCDパネル50に表示される。即ち、BKF=0とされた静止画像データ即ち測定画像データがCFカードメモリから間引かれて読み出され、この間引き測定画像データから表示用ビデオ信号が作成され、このビデオ信号に基づいて背景画像がLCDパネル50に表示される。なお、測定画像が複数枚あるときには、その枚数をLCDパネル50に表示することが好ましい。
【0072】
ステップ1112では、メニュー選択スイッチ60の操作に従って測定画像の表示切替処理が行われ、次いでステップ1113でメニュー確定スイッチ62が操作されたか否かが判断される。メニュー確定スイッチ62の操作が確認されないときには、ステップ1112に戻る。要するに、メニュー確定スイッチ62が操作されるまでは、メニュー選択スイッチ60の操作に従って測定画像の表示が切り替わり、これにより測定画像の選択が行われる。ステップ1113でメニュー確定スイッチ62の操作が確認されると、即ち測定画像の選択が確定されると、ステップ1114に進み、そこで確定測定画像に対応した一フレーム分の静止画像データが間引かれることなくCFカードメモリからすべて読み出されてDRAM52に一旦格納される。
【0073】
ステップ1115では、確定背景画像(ステップ1108)の撮影倍率(M)と確定測定画像(ステップ1114)の撮影倍率(M)とが一致しているが否かが判断される。双方の画像の撮影倍率が不一致のときには、ステップ1116に進み、そこで撮影倍率の不一致のために速度計測が不能である旨の警告表示がLCDパネル50で行われ、次いでステップ1112に戻る。即ち、その他の測定画像の選択が促される。
【0074】
ステップ1115で確定背景画像と確定測定画像との撮影倍率(M)が一致していることが確認されたとき、ステップ1117に進み、そこで背景画像(図2)からターゲットTGの小円反射領域R及びRのそれぞれの中心座標P(x, y)及びP(x, y)がラベリング処理等の画像処理によって求められ、また測定画像(図3)からターゲットTGの2つの小円反射領域R及びRのそれぞれの中心座標Q(u, v)及びQ(u, v)がラベリング処理等の画像処理によって求められ、これら中心座標から背景画像と測定画像のそれぞれの方向ベクトル(x, y)及び(u, v)が以下の式に基づいて演算される。
【数2】
Figure 2004117195
【0075】
ステップ1118では、測定画像(図3)に対する背景画像(図2)の回転角度θが以下の演算により求められる。
θ← sin−1(u − v
【0076】
ステップ1119では、測定画像(図3)に対する背景画像(図2)の平行移動量(Δx,Δy)が以下の演算により求められる。
Δx ← x − u
Δy ← y − v
【0077】
ステップ1120では、上述の回転角度θ及び平行移動量(Δx,Δy)に基づいて位置補正背景画像(図4)が生成され、次いでステップ1121で測定画像(図2)を位置補正背景画像(図4)で差分処理することにより移動被写体の像ブレ領域BRが抽出される。続いて、ステップ1122で像ブレ領域BRの幅W及びその高さHが画像処理により求められ、ステップ1123で移動被写体の速度Sが以下の演算により求められる。
=(W − H)/MT
勿論、ここで、“M”は測定画像(或いは背景画像)の撮影倍率であり、“T”は測定画像の電荷蓄積時間である。
【0078】
ステップ1124では、上述のように演算された移動被写体の速度Sが図13に例示的に示すようにLCDパネル50に表示された測定画像上にスパーインポーズされる。即ち、同図の例では、移動被写体即ちボールの速度として、95kmが測定画像上にスパーインポーズされる。かくして、本デジタルカメラのユーザはLCDパネル50に表示された測定画像中の移動被写体の速度を認識することができる。
【0079】
ステップ1125では、メニュー選択スイッチ60の操作に従って測定画像のメニュー選択処理が実行され、次いでステップ1125でメニュー確定スイッチ62が操作されたか否かが判断される。メニュー確定スイッチ62の操作が確認されないときには、ステップ1112に戻る。要するに、メニュー確定スイッチ62が操作されるまでは、メニュー選択スイッチ60の操作に従って測定画像上のメニュー選択処理が実行される。詳述すると、図13に示すように、測定画面にはメニューとして“変更1”、“変更2”及び“終了”が表示され、図13に示す例では、“変更1”が反転カーソルによって反転表示される。反転カーソルはメニュー選択スイッチ60の操作により3つのメニュー、即ち“変更1”、“変更2”及び“終了”の間でシフトさせられ、反転表示のメニューが選択対象となる。
【0080】
なお、ここでは、“変更1”は測定画像の変更を意味し、“変更2”は背景画像の変更を意味し、“終了”は速度計測モード選択の解除を意味する。
【0081】
ステップ1126でメニュー確定スイッチ62が操作されると、ステップ1127に進み、そこで選択メニューが“変更1”であるか否かが判断される。即ち、測定画像の変更が選択されたか否かが判断される。測定画像の変更が選択されたときは、ステップ1112に戻り、測定画像の表示切替処理が行われ、新たな測定画像が選択されると(ステップ1113)、その新たな測定画像に写された移動被写体の速度演算が上述した態様で行われる。
【0082】
選択メニューが“変更1”即ち測定画像の変更でないとき、ステップ1127からステップ1128に進み、そこで選択メニューが“変更2”であるか否かが判断される。即ち、背景画像の変更が選択されたか否かが判断される。背景画像の変更が選択されたときは、ステップ1106に戻り、背景画像の表示切替処理が行われ、新たな背景画像が選択されると(ステップ1107)、その新たな背景画像に対する測定画像が適宜選択され(ステップ1112及び1113)、その後測定画像に写された移動被写体の速度演算が上述した態様で行われる。
【0083】
選択メニューが“変更1”でも “変更2”でもないとき、即ち“終了”が選択されたとき、ステップ1129に進み、そこでフラグSMFが“1”から“0”に書き替えられた後にステップ1101に戻り、通常再生処理(ステップ1102)が実行されることになる。
【0084】
上述の実施形態では、背景画像及び測定画像は共にデジタルカメラを手で持った状態で撮影することが前提とされているが、デジタルカメラを三脚上の固定して背景画像及び測定画像を撮影してもよく、この場合には背景画像を測定画像に一致させるための位置補正背景画像の生成処理については省くことができる。即ち、背景画像と測定画像とから直ちに移動被写体の像ブレ領域を抽出することができる。
【0085】
また、上述の実施形態では、背景画像及び測定画像をそれぞれCFカードメモリに格納した後の画像再生モード時に移動被写体の速度演算が行われているが、速度演算処理をリアルタイム処理を行うことも可能である。即ち、例えば、或る時点で撮影された画像を背景画像として指定し、その後の撮影で得られる画像を測定画像とし、個々の測定画像が撮影される度毎に移動被写体の速度計測を行うようにしてもよい。
【0086】
【発明の効果】
以上の記載から明らかなように、本発明によるデジタルカメラには撮影機能に加えて移動被写体の速度計測機能が与えられるので、その商品価値が高められるだけでなくデジタルカメラに対する新たな需要を喚起することができる。
【図面の簡単な説明】
【図1】本発明によるデジタルカメラの一実施形態を示す概略ブロック図である。
【図2】本発明による速度計測に用いられる背景画像を例示的に示す模式図である。
【図3】本発明による速度計測に用いられる測定画像を例示的に示す模式図である。
【図4】図2の背景画像を図3の測定画像に空間的に一致させるように位置補正された位置補正背景画像を示す模式図である。
【図5】図3の測定画像と図4の位置補正背景画像とから抽出された移動被写体の像ブレ領域を示す模式図である。
【図6】図5に示した移動被写体の像ブレ領域を拡大して示す拡大図であって、該移動被写体の速度計測に必要なディメンジョンを示す図である。
【図7】図1に示すシステム制御回路で実行される初期化ルーチンのフローチャートである。
【図8】図1に示すシステム制御回路で実行されるスイッチ操作監視処理ルーチンのフローチャートの一部である。
【図9】図8に示したスイッチ操作監視処理ルーチンのフローチャートの残りの部分である。
【図10】図1に示すシステム制御回路で実行される撮影処理ルーチンのフローチャートである。
【図11】図1に示すシステム制御回路で実行される再生処理ルーチンのフローチャートの一部である。
【図12】図8に示した再生処理ルーチンのフローチャートの残りの部分である。
【図13】速度計測モード時にLCDパネルに表示される測定画像を例示的に示す模式図である。
【符号の説明】
10 システム制御回路
12 メインスイッチ(SW
14 撮影光学系
16 ズーム駆動機構
18 テレ側スイッチ(SW
20 ワイド側スイッチ(SW
22 ズームエンコーダ
24 合焦レンズ駆動機構
26 記録/再生スイッチ(R/P SW)
28 測光スイッチ(SW
30 レリーズスイッチ(SW
32 CCD撮像素子
34 光学的ローパスフィルタ(LPF)
36 CCD駆動回路
38 相関二重サンプリング回路(CDS)
40 増幅器(AMP)
42 アナログ/デジタル(A/D)変換器
44 ビデオラム(VRAM)
46 デジタル/アナログ(D/A)変換器
48 ビデオエンコーダ
50 液晶表示(LCD)パネル
52 ダイナミックラム(DRAM)
54 CFカードドライバ
56 インタフェース(I/F)回路
58 メニュー表示スイッチ(SWMD
60 メニュー選択スイッチ(SW
62 メニュー確定スイッチ(SW)[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a so-called digital camera including a solid-state imaging device, for example, a CCD (charge-coupled device) imaging device.
[0002]
[Prior art]
In recent years, the progress of digital cameras has been remarkable, and they have become widely used together with personal computers. The main reason is that images taken by a digital camera can be taken into a personal computer, processed and stored as appropriate, and can be recorded as a hard copy by a printer if necessary. The major difference between a digital camera and a silver halide film camera is that in the former, a photographed image is recorded in a memory as a pixel signal for one frame, whereas in the latter, the photographed image is recorded on a film by a chemical change. It is in. In short, in the case of a digital camera, there is the convenience that pixel signals for one frame can be read out from the memory and appropriately processed. However, such convenience cannot be obtained at all with a silver halide film.
[0003]
[Problems to be solved by the invention]
By the way, in photographing during watching sports such as baseball and soccer, there is a demand to know, for example, the speed of a soccer ball or a car in a photographed image. However, when actually measuring the speed of the subject, it is necessary to install a dedicated speed measurement device and measure the speed at the same timing as when shooting, which is unrealistic and easily detects the speed of the subject I couldn't.
[0004]
Accordingly, it is an object of the present invention to provide a novel digital camera having a function of measuring the speed of a moving subject, utilizing the convenience of a digital camera that can perform signal processing of a captured image.
[0005]
[Means for Solving the Problems]
According to the digital camera of the present invention, a subject image formed on a light receiving surface of a solid-state image sensor at a predetermined photographing magnification by a photographing optical system is photoelectrically converted for a predetermined charge accumulation time and read out as a pixel signal for one frame. It is configured to generate a captured image based on pixel signals for one frame,
A speed measurement function is provided for measuring the speed of the moving subject based on the above-described shooting magnification and charge accumulation time when the shot image is captured as a measurement image including the moving subject.
[0006]
In the digital camera according to the present invention, the speed measurement function calculates an image blur area of the moving subject included in the measurement image from the measurement image, and calculates a width of the image blur area and a height thereof. The calculation unit includes a calculation unit that calculates the speed of the moving subject based on the width and height of the image blur area detected by the calculation unit, the above-described shooting magnification, and the charge accumulation time.
[0007]
According to the present invention, preferably, the extracting means performs the difference processing on the measurement image by using a background image corresponding to an image obtained by removing the moving subject from the measurement image, which is separately captured at the above-described imaging magnification and charge accumulation time. Thus, the image blur area of the moving subject is extracted from the measurement image.
[0008]
Further, according to the present invention, the extracting means detects the relative angular displacement and the relative translation between the background image and the measured image so as to spatially match one of the background image and the measured image with the other. May be included.
[0009]
In the digital camera according to the present invention, the photographing optical system can be configured as a zoom optical system. In this case, there are provided a focal length detecting means for detecting a focal length of the zoom optical system, and a focusing optical system position detecting means for detecting a position of the focusing optical system in the optical axis direction in the photographing optical system.
[0010]
In a preferred embodiment of the digital camera according to the present invention, monitor means for displaying a measurement image is provided, and the speed of the moving subject calculated by the calculation means is superimposed on the measurement image displayed by the monitor means. Paused.
[0011]
BEST MODE FOR CARRYING OUT THE INVENTION
Next, an embodiment of a digital camera according to the present invention will be described with reference to the accompanying drawings.
[0012]
Referring to FIG. 1, a digital camera according to the present invention is schematically illustrated as a block diagram. The digital camera is provided with a system control circuit 10 for controlling the overall operation. The system control circuit 10 is composed of a microcomputer. This microcomputer temporarily stores a central processing unit (CPU), a program for executing various routines, a read-only memory (ROM) for storing constants and the like, and data. It includes a writable / readable memory (RAM) for storing and an input / output interface (I / O).
[0013]
The system control circuit 10 has a main switch (SW)MWhen the main switch 12 is off, the system control circuit 10 is in the sleep mode. That is, when the digital camera is charged with a battery (not shown), the system control circuit 10 operates in the sleep mode (minimum power consumption state), and determines whether the main switch 12 is turned on only at a predetermined time interval. To monitor. When the main switch 12 is turned on, the mode shifts from the sleep mode to the operation mode, and the system control circuit 10 executes a switch operation monitoring processing routine as described later. That is, the system control circuit 10 monitors whether various switches described later are turned on, and when a predetermined switch is turned on, a process corresponding to the switch is executed by the system control circuit 10.
[0014]
The digital camera according to the present invention incorporates a zoom optical system 14 as a photographing optical system, and the zoom optical 14 employs a step zoom method in which a lens stop position is predetermined. In the present embodiment, for example, five steps of focal lengths are selected stepwise by a step zoom method from a so-called telephoto end to a wide end. For example, if the focal length at the telephoto end is f1(Longest) and the focal length at the wide end is f5(Shortest), three focal lengths f between them2, F3And f4Is set (f1> F2> F3> F4> F5). The photographing optical system 14 is driven by a zoom drive mechanism 16, and the zoom drive mechanism 16 incorporates an electric motor, for example, a stepping motor that is driven to rotate under the control of the system control circuit 10. By the rotational driving of such a drive motor, the focal length of the photographing optical system 14 is adjusted to the above-mentioned five focal lengths f.1, F2, F3, F4And f5Is set to one of
[0015]
For the rotation drive control of the electric motor of the zoom drive mechanism 16, the system control circuit 10 controls the tele side switch (SW).T) 18 and wide side switch (SWW) 20. Each time the tele-side switch 18 is turned on, the drive motor of the zoom drive mechanism 16 is driven to rotate in the forward direction, whereby the focal length of the photographing optical system 14 is shifted stepwise toward the tele-end side. . For example, if the focal length of the photographing optical system 14 is f4When the tele side switch 18 is turned on, the focal length of the photographing optical system 14 becomes f4To f3Move to On the other hand, each time the wide-side switch 20 is turned on, the drive motor of the zoom drive mechanism 16 is driven to rotate in the reverse direction, whereby the focal length of the photographing optical system 14 shifts stepwise toward the wide end. Let me do. For example, if the focal length of the photographing optical system 14 is f3When the wide-side switch 20 is turned on, the focal length of the photographing optical system 14 becomes f3To f4Move to
[0016]
As shown in FIG. 1, a zoom encoder 22 is incorporated in the photographing optical system 14, and focal length data set by the photographing optical system 14 is output to the system control circuit 10 by the zoom encoder 22. In other words, the system control circuit 10 captures the focal length data output from the zoom encoder 22 to obtain the five focal lengths f described above.1, F2, F3, F4And f5Can be identified as having been set by the photographing optical system 14. Further, the focal length data is used for calculating the photographing magnification M by the system control circuit 10 as described later.
[0017]
Further, in the present embodiment, the photographing optical system 14 employs an automatic focusing method. That is, the focusing lens included in the photographing optical system 14 is driven by the focusing lens driving mechanism 24, whereby the subject image is automatically focused. That is, similarly to the case of the zoom drive mechanism 16, the focusing lens drive mechanism 24 also incorporates an electric motor, such as a stepping motor, which is driven to rotate under the control of the system control circuit 10, and this electric motor will be described later. By rotating in such a manner as described above, the focusing lens of the photographing optical system 14 is driven to automatically focus the subject image.
[0018]
The system control circuit 10 includes a recording / reproducing switch (R / P @ SW) 26. The recording / reproducing switch 26 is configured as a slide switch that can slide between the recording side and the reproducing side. That is, when the recording / reproduction switch 26 is slid to the recording side, the recording (photographing) mode is selected as the operation mode, and when the recording / reproduction switch 26 is slid to the reproduction side, the reproduction mode is selected as the operation mode. The recording mode and the reproduction mode will be described later in detail.
[0019]
The system control circuit 10 further includes a photometric switch (SW).P) 28 and release switch (SWR) 20, the operation of these switches 28 and 30 is effective only when the recording mode is selected by the recording / reproduction switch 26, and is invalid when the reproduction mode is selected by the recording / reproduction switch 26. The photometric switch 28 and the release switch 30 are operated by a common release button (not shown). That is, when the release button is half-pressed, the photometric switch 28 is turned on, and when the release button is fully pressed, the release switch 30 is turned on. As will be described later, when the photometric switch 28 is turned on, a photometric process is performed, and when the release switch 30 is turned on, a photographing process is performed.
[0020]
The photographing optical system 14 is combined with a solid-state imaging device, for example, a CCD (charge-coupled device) imaging device 32, and an optical low-pass filter 34 is provided on a light receiving surface of the CCD imaging device 32. In addition, the digital camera is capable of performing full-color photographing. For this reason, a color filter (not shown) is interposed between the light receiving surface of the CCD image sensor 32 and the optical low-pass filter 34. A subject image captured by the photographing optical system 14 is formed on a light receiving surface of the CCD image pickup device 32 through an optical low-pass filter 34, and the optical subject image is photoelectrically converted into a color pixel signal for one frame.
[0021]
Color pixel signals are sequentially read from the CCD image sensor 32, and the reading is performed according to a read clock pulse output from the CCD drive circuit 36 to the CCD image sensor 32. When the recording mode is selected by the recording / reproducing switch 26 and the release switch 30 is turned off, the reading of the color pixel signals from the CCD image sensor 32 is appropriately thinned out. That is, the number of pixels smaller than the actual number of pixels of the CCD image sensor 32 is read out from the CCD image sensor 32 as a color pixel signal for one frame. On the other hand, immediately after the release switch 30 is turned on when the recording mode is selected by the recording / reproducing switch 26, all the color pixel signals for one frame are read out from the CCD image sensor 32 once without being thinned out for photographing and recording.
[0022]
Such reading is performed by switching the read clock pulse from the CCD drive circuit 36. That is, the CCD drive circuit 36 is operated under the control of the system control circuit 10, and normally, a thinning-out read clock pulse for thinning out and reading out color pixel signals from the CCD image pickup device 32 is output. Immediately after the release switch 30 is turned on, an imaging read clock pulse is output. When all the color pixel signals for one frame are read out from the CCD image pickup device 32 without being thinned out in accordance with the photographing readout clock pulse, the thinning-out readout clock pulse is output from the CCD drive circuit 36 again.
[0023]
The color pixel signals sequentially read from the CCD image sensor 32 are input to an amplifier (AMP) 40 through a noise reduction circuit, ie, a correlated double sampling circuit (CDS) 38, where they are amplified with an appropriate gain. Next, the color pixel signal is input to an analog / digital (A / D) converter 42, where it is converted into a digital color image signal and then taken into the system control circuit 10.
[0024]
In the present embodiment, when the recording mode is selected by the recording / reproducing switch 26, the image captured by the photographing optical system 14 is monitored as a moving image. A VRAM 44, a digital / analog (D / A) converter 46, a video encoder 48, and a liquid crystal display (LCD) panel 50 are provided. Further, in order to monitor the image captured by the imaging optical system 14 as a moving image, the reading of the thinned pixel signals for one frame from the CCD image sensor 32 is repeated every predetermined time. For example, when the NTSC method is adopted, the reading of the thinned pixel signals for one frame is repeated 30 times per second.
[0025]
The thinned-out digital color pixel signal received from the A / D converter 42 by the system control circuit 10 is subjected to appropriate image processing, for example, white balance processing, gamma correction processing, and the like, and then converted into a luminance signal and two color difference signals. The luminance signal and the color difference signal are temporarily written into a dynamic RAM (DRAM) 52 once. When the writing of the luminance signal and the color difference signal in the DRAM 52 reaches one frame, the luminance signal and the color difference signal for one frame are read from the DRAM 52 and written in the VRAM 44. Next, the luminance signal and the color difference signal are sequentially read from the VRAM 44 and input to the D / A converter 46, where they are converted into an analog luminance signal and an analog color difference signal. Subsequently, the analog luminance signal and the analog color difference signal are input to a video encoder 48, where they are converted into appropriate video signals and input to a liquid crystal display (LCD) panel 50. Thus, the subject image captured by the imaging optical system 14 is displayed as a moving image on the LCD panel 50 according to the video signal.
[0026]
When the subject image captured by the photographing optical system 14 is displayed as a moving image on the LCD panel 50, the charge accumulation time when the CCD image sensor 32 obtains one frame of color pixel signals is appropriately set as a fixed time. However, the gain of the amplifier 40 is adjusted in order to keep the brightness of the moving image display on the LCD panel 50 constant. That is, the average luminance value of the luminance signal for one frame obtained from the thinned color pixel signal for each frame is compared with the reference value, and the gain of the amplifier 40 is adjusted so that the difference between them is eliminated. Irrespective of the brightness of the moving image, the brightness of the moving image display on the LCD panel 50 can be kept constant.
[0027]
The luminance signal for one frame obtained from the thinned color pixel signals for each frame is also used for operating the focusing lens driving mechanism 24. That is, in the present embodiment, the automatic focusing of the photographing optical system 14 is controlled based on a so-called contrast method. That is, the system control circuit 10 calculates the luminance difference between the pixels adjacent to each other in at least a part of the subject image formed on the light receiving surface of the CCD image sensor 32 so that the contrast of the region becomes maximum. Then, the focusing lens driving mechanism 24 is driven and controlled to perform focusing control of the focusing lens of the photographing optical system 14. Thus, moving image display on the LCD panel 50 is always performed in focus. The system control circuit 10 also knows the current position of the focusing lens of the photographing optical system 14 as a lens extension from the lens position where the focusing lens of the photographing optical system 14 focuses on infinity. The photographing magnification M is calculated from the feeding amount and the above-mentioned focal length data. In the present embodiment, the shooting magnification M is obtained by an arithmetic expression M = f / D (where f is a focal length and D is a subject distance), and the subject distance D is not shown from the detected lens extension amount. Determined by referring to the table.
[0028]
Further, the luminance signal for one frame obtained from the thinned-out color pixel signals for each frame is also used as a photometric value to obtain an optimal exposure when a still image is taken. That is, when the photometric switch 28 is turned on when the recording mode is selected by the recording / reproducing switch 26, the luminance signal for one frame is processed as the luminance value (brightness) of the subject, and the CCD image pickup device at the time of photographing the subject The charge accumulation time for 32 is calculated based on the brightness value, so that when the release switch 30 is turned on, the subject is photographed as a still image by the CCD image sensor 32 with optimal exposure.
[0029]
As described above, immediately after the release switch 30 is turned on (that is, after the lapse of the charge accumulation time), the output of the read clock pulse from the CCD drive circuit 36 is switched from the thinning read clock pulse to the photographing read clock pulse. Thereby, all the color pixel signals for one frame are read from the CCD image pickup device 32 without being thinned out. Similarly to the case where the color pixel signals for one frame are thinned out and read, the color pixel signals without thinning for one frame are also input to the amplifier (AMP) 40 through the correlated double sampling circuit (noise reduction circuit) 38. Then, after being amplified with an appropriate gain, the analog / digital (A / D) converter 42 converts the image into a digital color image signal without decimation for one frame and takes it into the system control circuit 10.
[0030]
As in the case of the thinned digital color pixel signal, the digital color image signal without thinning is subjected to image processing such as white balance processing and gamma correction processing by the system control circuit 10 and then stored as still image data by an appropriate storage means. Is done. In the present embodiment, a CF card memory 53 (flash memory) is used for storing still image data, and this CF card memory is removably loaded in a CF card driver 54. As shown in FIG. 1, the CF card driver 54 is connected to the system control circuit 10 via an interface (I / F) circuit 56. In short, the still image data is written and stored in the CF card memory 53 via the interface (I / F) circuit 56 and the CF card driver 54.
[0031]
When the reproduction mode is selected by the recording / reproduction switch 26, a captured image can be displayed on the LCD panel 50 based on the still image data stored in the CF card memory. In this case, predetermined one frame of still image data is read out from the CF card memory, subjected to appropriate thinning processing, and then written into the VRAM 44, whereby the captured image can be monitored on the LCD panel 50. It is.
[0032]
The system control circuit 10 further includes a menu display switch (SWMD) 58, menu selection switch (SWS) 60 and menu confirmation switch (SWK) 62 is provided. When the menu display switch 58 is operated, the display on the LCD panel 50 is switched to a menu display screen, and one of the menus is highlighted by a highlight cursor. The menu selection switch 60 is configured as a cross switch, and by operating the cross switch 60, the reverse cursor is shifted up, down, left, and right, thereby selecting a desired menu. When the menu selection switch 62 is operated after the desired menu is selected by operating the menu selection switch 60, the processing corresponding to the selected menu is executed by the system controller 10 and the display on the LCD panel 50 is also executed. It switches according to.
[0033]
The menu selection switch 60 and the menu confirmation switch 62 are not only used when the menu display screen is displayed on the LCD panel 50 by operating the menu display switch 58, but the menu is displayed on the display screen of the LCD panel 50. Are used to select and confirm those menus.
[0034]
The digital camera described above has a function of measuring the speed of a moving subject according to the present invention, and the principle of such speed measurement will be described below.
[0035]
First, a specific place through which a moving subject should pass is photographed as a background image by the above digital camera, and the background image is exemplarily shown in FIG. As the background image, an image of an immovable (still) object whose shape is easily extracted in later image processing, for example, a structure such as a building or a wall is selected, and trees may be used if there is no wind. As shown in FIG. 2, a target TG is imprinted on the background image, and the target TG remains set at a predetermined position until the measurement of the speed of the moving subject ends. In the present embodiment, the target TG is formed of a plate-like member painted in jet black, and has two small circular reflection regions R on its surface.1And R2Is formed. For example, a small circular reflection region (R1, R2Is obtained by attaching an aluminum foil piece of an appropriate size to the surface of the target TG.
[0036]
After the background image is captured, the moving subject is photographed together with the background image, and the moving subject may be, for example, a thrown baseball. As exemplarily shown in FIG. 3, such a moving subject, that is, a baseball is photographed as an image blur area (shaded area) BR due to high speed. The length of the image blur area BR indicates the speed of the baseball, and the speed can be calculated by an algorithm described later. For the sake of convenience in the following description, a captured image obtained by capturing a moving subject together with a background image will be referred to as a measurement image.
[0037]
To calculate the length of the image blur region BR, the image blur region BR is extracted from the measurement image (FIG. 3). In other words, the background image is removed while leaving only the image blur region BR from the measurement image. In such processing, the individual pixel signals forming the background image in FIG. 2 and the individual pixel signals forming the background image in FIG. 3 are compared with each other in correspondence with each other. , The pixel signal on the measurement image (FIG. 3) side is removed from the measurement image as not included in the image blur region BR. On the other hand, when the difference between the two luminance values is significantly different, that is, when the difference is out of the above-mentioned predetermined minute range, the pixel signal on the measurement image (FIG. 3) side is included in the image blur region BR and included in the measurement image. Will be left. In short, the image blur area of the moving subject is extracted from the measurement image by performing the difference processing on the measurement image with the background image.
[0038]
As shown in FIG. 2, an XY coordinate system is set along two directions of a horizontal direction and a vertical direction of the background image in order to specify the position of each pixel signal on the background image. Is located at the lower left corner of the background image, and its X and Y axes respectively extend along the bottom and left sides of the background image. On the other hand, as shown in FIG. 3, a similar XY coordinate system is set for the measurement image in order to specify the position of each pixel signal on the measurement image. In this embodiment, since the background image and the measurement image are both taken with the digital camera held in hand, the measurement image may be inclined with respect to the background image taken earlier. In order to associate the individual pixel signals on the background image with the individual pixel signals on the measurement image, one of the background image and the measurement image is relatively centered on the coordinate origin 0 with respect to the other. It is necessary to make the position of the background image coincide with the position of the measurement image with respect to the XY coordinate system by moving.
[0039]
Referring to FIG. 4, there is shown a background image in which the background image is moved with respect to the measurement image so that both positions are coincident with the XY coordinate system, and this background image is referred to as a position-corrected background image. To
[0040]
In order to obtain a position-corrected background image as shown in FIG. 4, two small circular reflection areas R on the target TG of the background image (FIG. 2)1And R2Center coordinates P of1(X1, Y1) And P2(X2, Y2) Are obtained by image processing such as labeling processing, and two small circular reflection areas R on the target TG of the measurement image (FIG. 3).1And R2Center coordinates Q of1(U1, V1) And Q2(U2, V2Is obtained by image processing such as labeling processing. At this time, the direction vector (x) of each of the background image (FIG. 2) and the measurement image (FIG. 3)e,
ye) And (u)e, Ve) Can be expressed by the following equation.
(Equation 1)
Figure 2004117195
[0041]
In order to obtain a position-corrected background image (FIG. 4) from the background image (FIG. 2), the background image is parallel to a rotation angle θ and an XY coordinate system that rotate the background image around the XY coordinate origin. The translation amount (Δx, Δy) for the movement can be expressed as follows.
θ = sin-1(Ueye-Vexe)
Δx = x1-U1
Δy = y1-V1
[0042]
That is, the coordinates P of an arbitrary pixel signal of the position-corrected background image (FIG. 4)i(Xi, Yi), The coordinates Pi(Xi, Yi), The coordinates P of the pixel signal on the original background image (FIG. 2)org(Xorg, Yorg) Can be expressed by the following equation.
xorg= (Xi-Ui) Cos θ-(yi-Vi) Sin θ + Δx
yorg= (Xi-Ui) Sin θ + (yi-Vi) Cosθ + Δy
[0043]
The coordinates P on the position correction background image (FIG. 4)i(Xi, Yi) Correspond to the pixel signals on the measured image (FIG. 3). Therefore, the coordinates Pi(Xi, Yi) And the coordinates P on the background image (FIG. 2).org(Xorg, Yorg) Correspond to each other, so that when the difference between the brightness values is substantially equal, that is, when the difference is included in a predetermined minute range, the coordinates P on the measurement image (FIG. 3)i(Xi, Yi) Is removed from the measurement image as not included in the image blur region BR. On the other hand, when the difference between the two brightness values is significantly different, that is, when the difference is outside the above-described predetermined minute range, the coordinates P on the measurement image (FIG. 3) sidei(Xi, Yi) Is left in the measurement image as being included in the image blur region BR.
[0044]
By repeating such processing, the background image is removed from the measurement image (2), and only the image blur region BR is extracted as shown in FIG. Next, as shown in FIG. 6, the width W of the image blur region BRCAnd its height HCIs determined by image processing. Then, the ball speed SBIs calculated by the following equation.
SB= (WC-HC) / MTC
Here, “M” is the photographing magnification of the measured image, and “T”C"" Is the charge accumulation time of the measured image (FIG. 3).
[0045]
Referring to FIG. 7, the main switch (SW)M2) shows a flowchart of an initialization routine executed only once by the system control circuit 10 immediately after the switch 12 is turned on.
[0046]
In step 701, it is determined whether any of the recording mode and the reproduction mode has been selected. That is, when the main switch 12 is turned on, for example, if the recording / reproducing switch (R / P @ SW) 26 is on the recording side, the recording mode is selected. Is done. On the other hand, if the recording / reproduction switch (R / P @ SW) 26 is on the reproduction side when the main switch 12 is turned on, the process proceeds to step 703, where an instruction to start execution of the reproduction processing routine is issued. The photographing processing routine is executed when photographing a subject using the digital camera, and the reproduction processing routine is executed when monitoring a photographed image on the LCD panel 50. The processing routine will be described later in detail with reference to FIG. 10, and the reproduction processing routine will be described later in detail with reference to FIGS.
[0047]
In step 704, the flags BFK and SMF are initialized to "0". The flag BKF is a flag for indicating whether or not a background image photographing mode for photographing a subject as a background image (FIG. 2) used for speed measurement in the recording mode is selected. When BKF = 1 When BKF = 0, it is instructed that the selection of the background image shooting mode has been released. The flag SMF is a flag for instructing whether or not the speed measurement mode is selected in the reproduction mode. When SMF = 1, it is instructed that the speed measurement mode is selected. At this time, it is instructed that the selection of the speed measurement mode has been released. In step 705, other initialization processing is executed, but these initialization processing itself is not directly related to the present invention.
[0048]
8 and 9, there is shown a flowchart of a switch operation monitoring routine executed by the system control circuit 10. The execution of the switch operation monitoring processing routine is started after the execution of the initialization routine of FIG. 7 is completed.
[0049]
In step 801, it is monitored whether or not the recording / reproducing switch (R / P @ SW) 26 has been operated. If the operation of the recording / reproducing switch 26 has been confirmed, the process proceeds to step 802, where a recording mode has been selected. It is determined whether or not. When it is confirmed that the recording mode has been selected by operating the recording / reproducing switch 26, the process proceeds to step 803, where an instruction to stop execution of the reproducing process routine is issued, and then proceeds to step 804, where execution of the photographing process routine is started. Is commanded. On the other hand, if it is confirmed in step 802 that the reproduction mode has been selected, the process proceeds to step 805, where an instruction to stop the execution of the photographing process routine is issued, and then to step 806, where an instruction to start execution of the playback process routine is issued. You.
[0050]
When the operation of the recording / reproduction switch 26 is not confirmed in step 801, or after the execution start instruction of the photographing processing routine (step 804) or after the execution start instruction of the reproduction processing routine (step 806), the process proceeds to step 807. Then, the menu display switch (SWMD) 58 is monitored to see if it has been operated; When the operation of the menu display switch 58 is confirmed (that is, when the display on the LCD panel 50 is switched to the menu display screen), the process proceeds to step 808, where the processing being executed is interrupted. That is, for example, if the photographing processing routine is being executed, the execution of the photographing processing routine is interrupted, and if the reproducing processing routine is being executed, the execution of the reproducing processing routine is interrupted.
[0051]
At step 809, a menu selection switch (SWSThe menu display processing is executed in accordance with the operation 60). That is, in the menu display processing, the reverse cursor is shifted by operating the menu selection switch (cross switch) 60. At step 810, a menu confirmation switch (SWK) It is monitored whether 62 has been operated. In short, until the operation of the menu confirmation switch 62 is confirmed, the menu display process is continued according to the operation of the menu selection switch 60, and a desired menu is selected.
[0052]
When the operation of the menu confirmation switch 62 is confirmed in step 810, that is, when the selection menu is confirmed, the process proceeds to step 811 to determine whether the selection menu is the speed measurement menu. If the speed measurement menu has been selected, the process proceeds to step 812, where "1" is given to the flag SMF, thereby indicating that the speed measurement mode has been selected. If the selected menu is not the background image shooting menu, the process proceeds from step 811 to step 813, where it is determined whether or not the selected menu is the speed measurement release menu. If the speed measurement release menu is selected, the process proceeds to step 814, where "0" is given to the flag SMF, thereby indicating that the selection of the speed measurement mode has been released.
[0053]
If the selected menu is neither the speed measurement menu nor the speed measurement release menu, the process proceeds from step 813 to step 815, where it is determined whether the selected menu is a background image shooting menu. If the background image shooting menu is selected, the process proceeds to step 816, where "1" is given to the flag BKF, thereby indicating that the background image shooting mode has been selected. If the selected menu is not the background image shooting menu, the process proceeds from step 815 to step 817, where it is determined whether the selected menu is the background image shooting canceling menu. If the release menu has been selected, the process proceeds to step 818, where "0" is given to the flag BKF, thereby indicating that the selection of the background image shooting mode has been released.
[0054]
When the selection menu is neither the background image shooting menu nor the background image shooting cancel menu, the process proceeds from step 817 to step 819, where processing according to the other menu determined by operating the menu determination switch 62 is executed. It should be noted that such a selection menu itself is not directly related to the present invention, and a description thereof will be omitted.
[0055]
Thereafter, the process proceeds to step 820, where the interrupted process (808) is restarted. Next, in step 821, it is determined whether or not the main switch 12 is turned off. If the main switch 12 is on, the process returns to step 801 to monitor the operation of the recording / reproduction switch 26 and the menu display switch 58. . On the other hand, if the main switch 12 is off in step 821, the process proceeds to step 822, where the mode is shifted to the sleep mode, and the present routine ends.
[0056]
Referring to FIG. 10, there is shown a flowchart of the photographing processing routine, and the execution start command of the photographing processing routine is, as described above, the step 702 of the initialization routine (FIG. 7) or the switch operation monitoring processing routine (FIG. 8 and FIG. This is performed in step 804 of 9).
[0057]
In step 1001, an LCD panel display processing routine is executed. Such an LCD panel display processing routine itself is well known in a conventional digital camera, and by executing the LCD panel display processing routine, a subject image is displayed as a moving image on the LCD panel 48 in the manner described above. That is, thinned color pixel signals for one frame are sequentially read from the CCD image sensor 32 at predetermined time intervals, and a subject image is displayed as a moving image on the LCD panel 50 based on the thinned color pixel signals. During execution of the LCD panel display processing routine, the focusing lens mechanism 24 is driven in accordance with the above-described contrast method every time a thinned-out color pixel signal for one frame is read from the CCD image sensor 32. The moving image display on the LCD panel 50 is always performed in focus.
[0058]
In step 1002, a zoom processing routine is executed. Such a zoom processing routine itself is well known in a conventional digital camera. That is, in the zoom processing routine, the tele side switch (SWT) 18 and wide side switch (SWw20) is monitored, and when one of these two switches is operated, the zoom drive mechanism 16 is driven and the focal length of the photographing optical system 14 becomes f1, F2, F3, F4And f5Is set to one of
[0059]
In step 1003, the photometry switch (SW) is pressed by half-pressing the release switch button.P) 28 is turned on. If the photometry switch 28 is off, the process returns to step 1002. In short, while the subject image captured by the photographing optical system 14 is displayed as a moving image on the LCD panel 50, the on operation of the photometric switch 28 is monitored in step 1003.
[0060]
When the on operation of the photometric switch 28 is confirmed in step 1003, the process proceeds to step 1004, where a photometric process is executed. In the photometric processing, an optimal exposure value is obtained based on an average luminance value (photometric value) of a luminance signal for one frame obtained from a thinned color pixel signal for one frame read from the CCD image sensor 32. Next, in step 1005, the focusing lens mechanism 24 is driven in accordance with the above-described contrast method, whereby focusing processing immediately before the photographing operation is performed.
[0061]
In step 1006, the focal length data is fetched from the zoom encoder 22, and the focal length (f1, F2, F3, F4, F5) Is recognized by the focal length data. Next, in step 1007, the subject distance is calculated based on the focal length data, and subsequently, in step 1008, the shooting magnification M is calculated.
[0062]
In step 1009, based on the optimal exposure value obtained in step 1004, the charge accumulation time TCIs calculated. Next, in step 1010, the release switch (SW) is pressed by fully pressing the release switch button.RIt is monitored whether or not 30) is turned on. If the release switch 30 is off, the process returns to step 1001. If the ON state of the photometry switch 28 is maintained, the processing immediately before photographing in steps 1004 to 1009 is repeated.
[0063]
If it is confirmed in step 1010 that the release switch 30 is turned on, the process proceeds to step 1011, where unnecessary charges are swept out of the CCD image sensor 32. Next, in step 1012, the charge accumulation time TCIs monitored. Charge accumulation time TCWhen the progress is confirmed, the process proceeds to step 1013, where all the color pixel signals for one frame are read out from the CCD image pickup device 32 without being thinned out. The signal is taken into the system control circuit 10 as a digital color pixel signal for one frame via the amplifier 38, the amplifier 40 and the A / D converter 42.
[0064]
The digital color pixel signals for one frame are subjected to image processing such as white balance processing and gamma correction processing to generate still image data (step 1014). Next, at step 1015, it is determined whether or not the speed measurement mode is selected. When the speed measurement mode is selected (SMF = 1), the process proceeds to step 1016, where the still image data is transferred to the predetermined memory area of the CF card memory 53 via the interface (I / F) circuit 56 and the CF card driver 54. Is written according to a predetermined format. At this time, the photographing magnification data (M) and the charge accumulation time data (TC) And flag data (BKF) are also stored in the header of the memory area. That is, when the speed measurement mode is selected, the photographing magnification data (M) and the charge accumulation time data (T) are stored in the CF card memory 53 together with the still image data.C) And flag data (BKF) so that the still image data can be determined based on the flag data (BKF) as either background image data (BFF = 1) or measurement image data (BFF = 0). Is done.
[0065]
In step 1017, the header area of the FC card memory 53 is searched to determine whether there is at least one background image with the flag data BFF = 1 and one or more measurement images with the flag data BKF = 0. If there is both the background image and the measured image, the process jumps to step 1102 of the reproduction processing routine shown in FIGS. 11 and 12, and immediately shifts to the speed measurement operation in the reproduction mode. The speed measurement operation will be described later in detail with reference to FIGS. When photographing is performed for the purpose of speed measurement, a pair of background image and measurement image required for speed measurement are often photographed at relatively close time intervals. In addition, there is a high frequency of photographing one of the measurement image and the background image and then photographing the other. In addition, since the background image can be shared for each measurement image photographed on the same background with the same background, in many cases, a plurality of images to be measured are photographed first, and then one background image is photographed last ( The priority of the photographing is higher for the measurement image because of the photo opportunity.) Therefore, according to the above configuration, when the background image is captured at the end and the speed measurement condition is satisfied, the process immediately shifts to the speed measurement process in the playback mode. You will be free from the hassle of changing to.
[0066]
On the other hand, if the speed measurement mode has not been selected in step 1015 (flag SMF = 0), that is, if normal shooting has been performed, the process proceeds from step 1015 to step 1019, where the still image data is transferred to the interface (I / I / O). F) The data is written into a predetermined memory area of the CF card memory 53 via the circuit 56 and the CF card driver 54 according to a predetermined format. At this time, the photographing magnification data M and the flag data ( BKF) is not recorded.
[0067]
Referring to FIGS. 11 and 12, there is shown a flowchart of the reproduction processing routine. As described above, the execution start command of this reproduction processing routine is executed at step 703 of the initialization routine (FIG. 7) or the switch operation monitoring processing routine (FIG. 7). 8 and FIG. 9).
[0068]
In step 1101, it is determined whether the flag SMF is "1" or "0". When SMF = 0, that is, when the selection of the speed measurement mode is cancelled, the process proceeds to step 1102, where the normal reproduction process is executed. The normal reproduction process is a process for monitoring the captured image on the LCD panel 50 according to a predetermined procedure based on the still image data stored in the CF card memory. Such a reproduction process itself is performed by a conventional digital camera. It is what is being done. A selection menu of the speed measurement mode is displayed on the playback screen of the captured image on the LCD panel 50, and the speed measurement mode is set by a menu selection switch (SW).S) After selecting with 60, the menu confirmation switch (SWK) 62, the flag SMF is rewritten from "0" to "1".
[0069]
When SMF = 1 in step 1101, that is, when the speed measurement monitor is selected, the process proceeds to step 1103, where the background image (FIG. 2) is searched. That is, the still image data in which the flag data (BKF) is given “1” is searched from the still image data stored in the CF card memory. Next, in step 1104, the search result of the background image is determined. That is, when the background image is included in the CF card memory, the process proceeds to step 1105, where the background image (FIG. 2) is displayed on the LCD panel 50. That is, the still image data with BKF = 1, that is, the background image data is thinned out from the CF card memory and read out, a display video signal is created from the thinned background image data, and the background image is generated based on the video signal. Is displayed on the LCD panel 50. When there are a plurality of background images, it is preferable to display the number on the LCD panel 50.
[0070]
In step 1106, display switching processing of the background image is performed in accordance with the operation of the menu selection switch 60, and then in step 1107, it is determined whether or not the menu determination switch 62 has been operated. If the operation of the menu confirmation switch 62 is not confirmed, the process returns to step 1106. In short, until the menu determination switch 62 is operated, the display of the background image is switched according to the operation of the menu selection switch 60, whereby the background image is selected. When the operation of the menu confirmation switch 62 is confirmed in step 1107, that is, when the selection of the background image is confirmed, the process proceeds to step 1108, where one frame of still image data corresponding to the confirmed background image is thinned out. Without being read from the CF card memory and temporarily stored in the DRAM 52.
[0071]
In step 1109, a search for a measurement image (FIG. 3) is performed. That is, the still image data in which the flag data (BKF) is given “0” is searched from the still image data stored in the CF card memory. Next, in step 1110, a search result of the measurement image is determined. That is, when the measured image is included in the CF card memory, the process proceeds to step 1110, where the measured image (FIG. 3) is displayed on the LCD panel 50. That is, the still image data with BKF = 0, that is, the measured image data, is thinned out from the CF card memory and read out, a display video signal is created from the thinned measured image data, and the background image is generated based on the video signal. Is displayed on the LCD panel 50. When there are a plurality of measurement images, it is preferable to display the number on the LCD panel 50.
[0072]
In step 1112, display switching processing of the measurement image is performed in accordance with the operation of the menu selection switch 60, and then, in step 1113, it is determined whether the menu determination switch 62 has been operated. If the operation of the menu confirmation switch 62 is not confirmed, the process returns to step 1112. In short, until the menu confirmation switch 62 is operated, the display of the measurement image is switched according to the operation of the menu selection switch 60, whereby the measurement image is selected. When the operation of the menu confirmation switch 62 is confirmed in step 1113, that is, when the selection of the measurement image is confirmed, the process proceeds to step 1114, where one frame of still image data corresponding to the confirmed measurement image is thinned out. Without being read from the CF card memory and temporarily stored in the DRAM 52.
[0073]
In step 1115, it is determined whether or not the imaging magnification (M) of the confirmed background image (step 1108) matches the imaging magnification (M) of the confirmed measurement image (step 1114). If the photographing magnifications of both images do not match, the process proceeds to step 1116, where a warning display is displayed on the LCD panel 50 indicating that speed measurement is not possible due to the photographing magnification mismatch, and then the process returns to step 1112. That is, selection of another measurement image is prompted.
[0074]
When it is confirmed in step 1115 that the photographing magnification (M) of the confirmed background image and the confirmed measurement image match, the process proceeds to step 1117, where the small circular reflection area R of the target TG is extracted from the background image (FIG. 2).1And R2Center coordinates P of1(X1, Y1) And P2(X2, Y2) Are obtained by image processing such as labeling processing, and two small circular reflection areas R of the target TG are obtained from the measurement image (FIG. 3).1And R2Center coordinates Q of1(U1, V1) And Q2(U2, V2) Are obtained by image processing such as labeling processing, and the direction vectors (xe, Ye) And (u)e, Ve) Is calculated based on the following equation.
(Equation 2)
Figure 2004117195
[0075]
In step 1118, the rotation angle θ of the background image (FIG. 2) with respect to the measurement image (FIG. 3) is obtained by the following calculation.
θ ← sin-1(Ueye-Vexe)
[0076]
In step 1119, the translation amount (Δx, Δy) of the background image (FIG. 2) with respect to the measurement image (FIG. 3) is obtained by the following calculation.
Δx ← x1-U1
Δy ← y1-V1
[0077]
In step 1120, a position-corrected background image (FIG. 4) is generated based on the rotation angle θ and the translation amount (Δx, Δy), and then in step 1121, the measured image (FIG. The image blur area BR of the moving subject is extracted by performing the difference processing in 4). Subsequently, in step 1122, the width W of the image blur area BRCAnd its height HCIs obtained by image processing, and in step 1123, the speed S of the moving subjectBIs obtained by the following calculation.
SB= (WC-HC) / MTC
Of course, here, “M” is the photographing magnification of the measurement image (or background image), and “T”C"" Is the charge accumulation time of the measured image.
[0078]
In step 1124, the speed S of the moving subject calculated as described above is calculated.BIs spar-imposed on the measurement image displayed on the LCD panel 50 as exemplarily shown in FIG. That is, in the example shown in the figure, 95 km is spur imposed on the measurement image as the speed of the moving object, that is, the ball. Thus, the user of the digital camera can recognize the speed of the moving subject in the measurement image displayed on the LCD panel 50.
[0079]
In step 1125, the menu selection processing of the measurement image is executed in accordance with the operation of the menu selection switch 60. Next, in step 1125, it is determined whether the menu confirmation switch 62 has been operated. If the operation of the menu confirmation switch 62 is not confirmed, the process returns to step 1112. In short, until the menu confirmation switch 62 is operated, the menu selection process on the measurement image is executed according to the operation of the menu selection switch 60. More specifically, as shown in FIG. 13, “Change 1”, “Change 2”, and “End” are displayed as menus on the measurement screen. In the example shown in FIG. 13, “Change 1” is highlighted by a reverse cursor. Is displayed. The reverse cursor is shifted among three menus, that is, "change 1", "change 2", and "end" by operating the menu selection switch 60, and the menu of the reverse display is selected.
[0080]
Here, "change 1" means change of the measurement image, "change 2" means change of the background image, and "end" means release of the speed measurement mode selection.
[0081]
When the menu confirmation switch 62 is operated in step 1126, the process proceeds to step 1127, where it is determined whether or not the selected menu is "change 1". That is, it is determined whether or not the change of the measurement image is selected. When the change of the measurement image is selected, the process returns to step 1112, the display switching process of the measurement image is performed, and when a new measurement image is selected (step 1113), the movement transferred to the new measurement image is performed. The calculation of the speed of the subject is performed in the manner described above.
[0082]
When the selection menu is not "change 1", that is, when the measurement image is not changed, the process proceeds from step 1127 to step 1128, where it is determined whether or not the selection menu is "change 2". That is, it is determined whether the change of the background image has been selected. When the change of the background image is selected, the process returns to step 1106, the display switching process of the background image is performed, and when a new background image is selected (step 1107), the measurement image for the new background image is appropriately changed. The selected object is selected (steps 1112 and 1113), and thereafter, the speed calculation of the moving subject shown in the measurement image is performed in the above-described manner.
[0083]
If the selection menu is neither "change 1" nor "change 2", that is, if "end" is selected, the process proceeds to step 1129, where the flag SMF is rewritten from "1" to "0" and then step 1101 is performed. Then, the normal reproduction process (step 1102) is executed.
[0084]
In the above-described embodiment, it is assumed that the background image and the measurement image are both taken with the digital camera held in hand, but the background image and the measurement image are taken with the digital camera fixed on a tripod. In this case, the process of generating the position-corrected background image for matching the background image with the measurement image can be omitted. That is, the image blur area of the moving subject can be immediately extracted from the background image and the measurement image.
[0085]
In the above-described embodiment, the speed calculation of the moving subject is performed in the image playback mode after the background image and the measurement image are stored in the CF card memory. However, the speed calculation process may be performed in real time. It is. That is, for example, an image photographed at a certain point in time is designated as a background image, an image obtained in subsequent photographing is set as a measurement image, and the speed of the moving object is measured every time each measurement image is photographed. It may be.
[0086]
【The invention's effect】
As is apparent from the above description, the digital camera according to the present invention is provided with a function of measuring the speed of a moving subject in addition to a photographing function, so that not only the commercial value is enhanced, but also a new demand for the digital camera is generated. be able to.
[Brief description of the drawings]
FIG. 1 is a schematic block diagram showing an embodiment of a digital camera according to the present invention.
FIG. 2 is a schematic diagram exemplarily showing a background image used for speed measurement according to the present invention.
FIG. 3 is a schematic view exemplarily showing a measurement image used for speed measurement according to the present invention.
4 is a schematic diagram showing a position-corrected background image whose position has been corrected so that the background image of FIG. 2 spatially matches the measured image of FIG. 3;
5 is a schematic diagram illustrating an image blur area of a moving subject extracted from the measurement image of FIG. 3 and the position-corrected background image of FIG. 4;
6 is an enlarged view showing the image blur area of the moving subject shown in FIG. 5 in an enlarged manner, showing the dimensions required for measuring the speed of the moving subject.
FIG. 7 is a flowchart of an initialization routine executed by the system control circuit shown in FIG. 1;
FIG. 8 is a part of a flowchart of a switch operation monitoring processing routine executed by the system control circuit shown in FIG. 1;
FIG. 9 is the remaining part of the flowchart of the switch operation monitoring processing routine shown in FIG. 8;
FIG. 10 is a flowchart of a photographing processing routine executed by the system control circuit shown in FIG. 1;
FIG. 11 is a part of a flowchart of a reproduction processing routine executed by the system control circuit shown in FIG. 1;
FIG. 12 is a remaining part of the flowchart of the reproduction processing routine shown in FIG. 8;
FIG. 13 is a schematic view exemplarily showing a measurement image displayed on an LCD panel in a speed measurement mode.
[Explanation of symbols]
10 system control circuit
12 Main switch (SWM)
14 shooting optical system
16 zoom drive mechanism
18 Tele side switch (SWT)
20 wide side switch (SWW)
22 zoom encoder
24 ° focusing lens drive mechanism
26 record / playback switch (R / P SW)
28 ° photometric switch (SWP)
30mm release switch (SWR)
32mm CCD image sensor
34 ° optical low pass filter (LPF)
36 CCD drive circuit
38 correlated double sampling circuit (CDS)
40 amplifier (AMP)
42 analog / digital (A / D) converter
44 Video Ram (VRAM)
46 digital / analog (D / A) converter
48 video encoder
50mm liquid crystal display (LCD) panel
52 dynamic ram (DRAM)
54 CF card driver
56 interface (I / F) circuit
58 Menu display switch (SWMD)
60 menu selection switch (SWS)
62 Menu confirmation switch (SWK)

Claims (7)

撮影光学系により所定の撮影倍率で固体撮像素子の受光面に結像する被写体像を、所定の電荷蓄積時間で光電変換して一フレーム分の画素信号として読み出し、この一フレーム分の画素信号に基づいて撮影画像を生成するデジタルカメラであって、
前記撮影画像が移動被写体を含む測定画像として撮影された際に前記撮影倍率及び前記電荷蓄積時間に基づいて該移動被写体の速度を計測するための速度計測機能を具備して成るデジタルカメラ。
The subject image formed on the light receiving surface of the solid-state image sensor at a predetermined photographing magnification by the photographing optical system is photoelectrically converted for a predetermined charge accumulation time and read as one frame of pixel signal. A digital camera that generates a captured image based on the
A digital camera comprising a speed measurement function for measuring the speed of the moving subject based on the shooting magnification and the charge accumulation time when the shot image is shot as a measurement image including the moving subject.
請求項1に記載のデジタルカメラにおいて、前記速度計測機能が、
前記測定画像に含まれる前記移動被写体の像ブレ領域を該測定画像から抽出する抽出手段と、
前記像ブレ領域の幅及びその高さを算出する算出手段と、
前記算出手段によって検出された前記像ブレ領域の幅及びその高さと前記撮影倍率及び前記電荷蓄積時間とに基づいて前記移動被写体の速度を演算する演算手段と包含することを特徴とするデジタルカメラ。
The digital camera according to claim 1, wherein the speed measurement function is:
Extraction means for extracting an image blur area of the moving subject included in the measurement image from the measurement image,
Calculating means for calculating the width and the height of the image blur area;
A digital camera, comprising: calculation means for calculating the speed of the moving subject based on the width and height of the image blur area detected by the calculation means, the imaging magnification, and the charge accumulation time.
請求項2に記載のデジタルカメラにおいて、前記抽出手段が前記測定画像から前記移動被写体を除いたものに対応した背景画像であって前記撮影倍率及び前記電荷蓄積時間で別途撮影したもので前記測定画像を差分処理することにより該測定画像からの前記移動被写体の像ブレ領域の抽出を行うことを特徴とするデジタルカメラ。The digital camera according to claim 2, wherein the extraction unit is a background image corresponding to an image obtained by removing the moving subject from the measurement image, and is a separately captured image at the imaging magnification and the charge accumulation time, and the measurement image is used as the measurement image. A digital camera that extracts an image blur area of the moving subject from the measurement image by performing differential processing on the moving image. 請求項3に記載のデジタルカメラにおいて、前記抽出手段が前記背景画像及び前記測定画像のいずれか一方をその他方に空間的に一致させるべくその間の相対的角度変位量及び相対的平行移動量を検出する変位量検出手段を含むことを特徴とするデジタルカメラ。4. The digital camera according to claim 3, wherein the extraction unit detects a relative angular displacement and a relative translation between the background image and the measurement image so as to spatially match one of the background image and the measurement image with the other. A digital camera, comprising: 請求項1から4までのいずれか1項に記載のデジタルカメラにおいて、前記撮影光学系がズーム光学系として構成され、このズーム光学系の焦点距離を検出する焦点距離検出手段と、前記撮影光学系における合焦光学系の光軸方向における位置を検出する合焦光学系位置検出手段とが設けられることを特徴とするデジタルカメラ。5. The digital camera according to claim 1, wherein the photographing optical system is configured as a zoom optical system, a focal length detecting unit that detects a focal length of the zoom optical system, and the photographing optical system. 6. And a focusing optical system position detecting means for detecting a position of the focusing optical system in the optical axis direction. 請求項1から5までのいずれか1項に記載のデジタルカメラにおいて、前記測定画像を表示するモニタ手段が設けられ、前記演算手段で演算された前記移動被写体の速度が前記モニタ手段で表示された測定画像上にスーパーインポーズされることを特徴とするデジタルカメラ。6. The digital camera according to claim 1, further comprising a monitor for displaying the measured image, wherein the speed of the moving subject calculated by the calculator is displayed on the monitor. A digital camera characterized by being superimposed on a measurement image. 請求項1から5までのいずれか1項に記載のデジタルカメラにおいて、更に、速度計測モードを選択的に選択する速度計測モード選択手段と、この速度計測モード選択手段による速度計測モード選択時に測定画像及び背景画像がそれぞれ1枚以上撮影された際に上記速度計測処理を自動的に実行させるための制御手段とが設けられることを特徴とするデジタルカメラ。6. The digital camera according to claim 1, further comprising: a speed measurement mode selection unit for selectively selecting a speed measurement mode; and a measurement image when the speed measurement mode is selected by the speed measurement mode selection unit. And a control unit for automatically executing the speed measurement processing when one or more background images are captured.
JP2002281446A 2002-09-26 2002-09-26 Digital camera with speed measuring function Withdrawn JP2004117195A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002281446A JP2004117195A (en) 2002-09-26 2002-09-26 Digital camera with speed measuring function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002281446A JP2004117195A (en) 2002-09-26 2002-09-26 Digital camera with speed measuring function

Publications (1)

Publication Number Publication Date
JP2004117195A true JP2004117195A (en) 2004-04-15

Family

ID=32275886

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002281446A Withdrawn JP2004117195A (en) 2002-09-26 2002-09-26 Digital camera with speed measuring function

Country Status (1)

Country Link
JP (1) JP2004117195A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007195141A (en) * 2005-12-20 2007-08-02 Nissan Motor Co Ltd Device and method for computing image velocity
JP2008060982A (en) * 2006-08-31 2008-03-13 Casio Comput Co Ltd Imaging apparatus and program
JP2008058221A (en) * 2006-09-01 2008-03-13 Kobe Univ Velocity of high-speed moving body, estimation method of position, estimation program, and estimation system
JP2013515418A (en) * 2009-12-23 2013-05-02 ローベルト ボツシユ ゲゼルシヤフト ミツト ベシユレンクテル ハフツング Method for determining relative motion using HDR camera
JP2015169628A (en) * 2014-03-10 2015-09-28 サクサ株式会社 Image processor
JP2021093678A (en) * 2019-12-12 2021-06-17 Necソリューションイノベータ株式会社 Calculation method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007195141A (en) * 2005-12-20 2007-08-02 Nissan Motor Co Ltd Device and method for computing image velocity
JP2008060982A (en) * 2006-08-31 2008-03-13 Casio Comput Co Ltd Imaging apparatus and program
JP4743048B2 (en) * 2006-08-31 2011-08-10 カシオ計算機株式会社 Imaging apparatus and program
JP2008058221A (en) * 2006-09-01 2008-03-13 Kobe Univ Velocity of high-speed moving body, estimation method of position, estimation program, and estimation system
JP2013515418A (en) * 2009-12-23 2013-05-02 ローベルト ボツシユ ゲゼルシヤフト ミツト ベシユレンクテル ハフツング Method for determining relative motion using HDR camera
KR101753928B1 (en) 2009-12-23 2017-07-04 로베르트 보쉬 게엠베하 Method for determining relative motion by means of an hdr camera
JP2015169628A (en) * 2014-03-10 2015-09-28 サクサ株式会社 Image processor
JP2021093678A (en) * 2019-12-12 2021-06-17 Necソリューションイノベータ株式会社 Calculation method
JP7409637B2 (en) 2019-12-12 2024-01-09 Necソリューションイノベータ株式会社 Calculation method

Similar Documents

Publication Publication Date Title
JP4510713B2 (en) Digital camera
JP4957759B2 (en) Imaging apparatus and imaging method
US8619120B2 (en) Imaging apparatus, imaging method and recording medium with program recorded therein
JP2013013050A (en) Imaging apparatus and display method using imaging apparatus
JP2007306416A (en) Method for displaying face detection frame, method for displaying character information, and imaging apparatus
JP2009284394A (en) Imaging apparatus and imaging method
JP2008182485A (en) Photographing device and photographing method
WO2010073619A1 (en) Image capture device
JP2007201539A (en) Digital camera
US20170111574A1 (en) Imaging apparatus and imaging method
KR101690261B1 (en) Digital image processing apparatus and controlling method thereof
JP2009065582A (en) Camera having enlarged display function and camera control method
JP3646124B2 (en) Autofocus device
JP2009278432A (en) Imaging apparatus, and imaging method in imaging apparatus
JP2011035752A (en) Imaging apparatus
JP4807582B2 (en) Image processing apparatus, imaging apparatus, and program thereof
JP2004117195A (en) Digital camera with speed measuring function
JP2014011782A (en) Imaging apparatus, and imaging method and program therefor
JP2007116372A (en) Digital camera
JP4877186B2 (en) Image processing apparatus, image processing method, and program
JP2009088628A (en) Image processor
JP5021370B2 (en) Imaging apparatus, display method, and program
JP2009086036A (en) Imaging device and control method for imaging device
KR101630295B1 (en) A digital photographing apparatus, a method for controlling the same, and a computer-readable medium
JPH11224324A (en) Image signal processing method and device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050707

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080109

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080122

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20080312