JP2008245126A - Imaging apparatus - Google Patents

Imaging apparatus Download PDF

Info

Publication number
JP2008245126A
JP2008245126A JP2007085607A JP2007085607A JP2008245126A JP 2008245126 A JP2008245126 A JP 2008245126A JP 2007085607 A JP2007085607 A JP 2007085607A JP 2007085607 A JP2007085607 A JP 2007085607A JP 2008245126 A JP2008245126 A JP 2008245126A
Authority
JP
Japan
Prior art keywords
imaging
time
hand
unit
image data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2007085607A
Other languages
Japanese (ja)
Inventor
Kenji Hoshino
謙治 星野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Corp
Original Assignee
Fujifilm Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP2007085607A priority Critical patent/JP2008245126A/en
Publication of JP2008245126A publication Critical patent/JP2008245126A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Camera Data Copying Or Recording (AREA)
  • Studio Devices (AREA)
  • Exposure Control For Cameras (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To obtain an imaging apparatus capable of performing accurate time setting for the unit of a second. <P>SOLUTION: During a time setting mode, an image is picked up as a through-image and when the image can be recognized as a clock, that clock is stored in a memory as first image data. In such a case that the photographed clock is a triple-hand clock comprising the second hand, second image data are then photographed after the lapse of one second or more from photographing of the first image data, and the first image data are compared with the second image data to discriminate the second hand from moving hands. Since the second hand can be discriminated, accurate time information can be acquired for the unit of a second while being distinguished from the minute hand, and the time can be corrected. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、時刻設定機能を有する撮像装置に関する。   The present invention relates to an imaging apparatus having a time setting function.

デジタルカメラ等の撮像装置では、時計を内蔵しており、撮影画像を画像データに変換してメモリに記録する際に、撮影情報の一つとして、撮影したときの年月日や時刻などを日時情報として記録するように構成されている。このような撮像装置においては、予め時刻を設定しておく必要がある。また、撮像装置が、テレビやラジオ等の内容を録画や録音できるようになった場合には、タイマ設定のために、秒単位までの正確な時刻設定が必要となる。   An imaging device such as a digital camera has a built-in clock, and when converting the captured image into image data and recording it in the memory, the date, time, etc. at the time of shooting is recorded as one of the shooting information. It is configured to record as information. In such an imaging apparatus, it is necessary to set the time in advance. In addition, when the imaging apparatus can record or record the contents of a television, radio, etc., it is necessary to set an accurate time in units of seconds for setting the timer.

正確な時刻設定の方法として、特許文献1には、電波時計が内蔵されている外部機器に接続することで秒単位まで正確に時刻設定する技術が開示されている。   As an accurate time setting method, Patent Document 1 discloses a technique for accurately setting a time to the second unit by connecting to an external device having a built-in radio timepiece.

しかしながら、特許文献1では、電波時計を利用することにより正確な時刻設定ができるが、電波時計の時刻を設定するための標準電波を受信できない場所、例えば建物の中等があることや、海外では現地時刻に設定できない場合等がある。   However, in Patent Document 1, accurate time setting can be performed by using a radio timepiece, but there are places where a standard radio wave for setting the time of the radio timepiece cannot be received, for example, in a building, etc. There are cases where the time cannot be set.

そこで、特許文献2には、正確な時刻が設定されている時計を撮像装置で撮影することにより、撮影した時計の時刻情報を取得し、取得した時刻情報で撮像装置内の時刻を設定する技術が開示されている。
特開2003−202979公報 特開2000−75394公報
Therefore, Patent Document 2 discloses a technique in which time information of a photographed clock is acquired by photographing a clock with an accurate time set by the imaging apparatus, and the time in the imaging apparatus is set using the acquired time information. Is disclosed.
JP 2003-202979 A JP 2000-75394 A

しかしながら、特許文献2では、撮影した時刻を秒単位で認識せず、撮影した時刻を設定しており、秒単位で正確な時刻設定をすることができなかった。仮に、秒単位で時刻を設定すべく三針時計を撮影したとしても、秒針と分針との間には、時針と分針との間のような大きな差異がなく、判別が困難である。   However, in Patent Document 2, the time of shooting is not recognized in units of seconds, and the time of shooting is set, and accurate time setting cannot be performed in units of seconds. Even if a three-hand timepiece is photographed to set the time in seconds, there is no large difference between the second hand and the minute hand between the hour hand and the minute hand, and it is difficult to determine.

本発明は上記事実を考慮し、撮像機能を用いて、自動的に秒単位で正確な時刻設定をすることができる撮像装置を得ることを目的としている。   In view of the above facts, an object of the present invention is to obtain an imaging apparatus capable of automatically setting an accurate time in seconds using an imaging function.

本発明は、被写体を撮像することにより当該被写体の画像データを取得する撮像手段と、前記撮像手段により取得された前記画像データの内の予め定められた領域内をパターンマッチングして三針時計と認識する三針時計認識手段と、前記三針時計認識手段により三針時計と認識するまでの時間を含み、少なくとも1秒以上経過後に少なくとも前記領域を含む画像を再撮像するように制御する撮像制御手段と、時間差をもって撮像された2種の画像データに基づき、三針をそれぞれ時針、分針、秒針として特定する針種特定手段と、前記針種特定手段で取得した前記画像データに基づいて、時刻情報を取得する時刻情報取得手段と、を有している。   The present invention provides an imaging means for acquiring image data of a subject by imaging the subject, and a three-hand clock by pattern matching in a predetermined area of the image data acquired by the imaging means. An imaging control for controlling to re-image an image including at least the area after at least one second has elapsed, including a time for recognizing a three-hand clock by the three-hand clock recognition means And a needle type specifying means for specifying three hands as an hour hand, a minute hand and a second hand based on two types of image data captured with a time difference, and a time based on the image data acquired by the needle type specifying means. Time information acquisition means for acquiring information.

本発明によれば、時計を撮像する時間を1秒以上ずらすことにより、秒針がある時計では、秒針が移動している2種の画像データを得ることができる。この2種の画像データより、秒針と分針とを区別することができ、秒単位の正確な時刻情報を取得することができる。   According to the present invention, by shifting the time at which the timepiece is imaged by 1 second or more, in a timepiece having a second hand, two types of image data in which the second hand is moving can be obtained. From these two types of image data, the second hand and the minute hand can be distinguished, and accurate time information in units of seconds can be acquired.

また、上記発明において、被写体を撮像することにより当該被写体の画像データを取得する撮像手段と、三針時計の三針を特定することを前提として、前記撮像手段による撮像を実行する場合に、前記撮像手段の感度に基づいて、長時間露光撮影又は多重露光撮影のいずれかを選択して撮影するように前記撮像手段を制御する撮像制御手段と、前記撮像制御手段の制御によって撮影された画像データに基づき、三針を時針、分針、秒針として特定する針種特定手段と、前記針種特定手段で取得した前記画像データに基づいて、時刻情報を取得する時刻情報取得手段と、を有している。   Further, in the above invention, when performing imaging by the imaging unit on the premise that the imaging unit that acquires the image data of the subject by imaging the subject and the three hands of the three-hand clock are specified, Based on the sensitivity of the imaging means, the imaging control means for controlling the imaging means so as to select and shoot either long exposure photography or multiple exposure photography, and image data taken by the control of the imaging control means A needle type specifying unit that specifies three hands as an hour hand, a minute hand, and a second hand, and a time information acquisition unit that acquires time information based on the image data acquired by the needle type specifying unit. Yes.

秒針を判定するために、感度に基づいて、長時間露光撮影又は多重露光撮影を選択する。長時間露光で撮影すると、秒針の移動が扇形状の軌跡として撮像される。また、多重露光撮影すると、シャッター制御された回数と同数の秒針が撮像される。これらの撮像された画像データから秒針を判定することができ、正確な時刻情報を取得することができる。   In order to determine the second hand, long exposure shooting or multiple exposure shooting is selected based on the sensitivity. When shooting with long exposure, the movement of the second hand is imaged as a fan-shaped locus. In addition, when multiple exposure shooting is performed, the same number of second hands as the number of times of shutter control is imaged. The second hand can be determined from these captured image data, and accurate time information can be acquired.

また、上記発明において、前記時刻情報取得手段に基づいて、現在設定されている時刻を補正する補正手段を更に有することを特徴としている。   In the above-mentioned invention, it is further characterized by further comprising correction means for correcting the currently set time based on the time information acquisition means.

秒単位の正確な時刻情報を取得することができるため、その時刻を用いて、現在設定されている時刻を補正することができる。   Since accurate time information in units of seconds can be acquired, the currently set time can be corrected using the time.

さらに、上記発明において、前記撮像制御手段は、前記針種特定手段により針種が特定されるまで、前記領域の撮像を繰り返すことを特徴としている。   Furthermore, in the above invention, the imaging control means repeats imaging of the area until the needle type is specified by the needle type specifying means.

時刻情報を取得するために、2種の画像データが時、分の区切りに撮像された場合には、1秒経過後に時針や分針が移動することがある。そのため、2種の画像データを比べて2本以上の針が移動している場合は、再度、1秒以上の間隔をおいて時計の撮像を繰り返して、三針を特定することができる。これにより、正確な時刻情報を取得することができる。   In order to acquire time information, when two types of image data are captured at the hour and minute intervals, the hour hand and the minute hand may move after one second has elapsed. For this reason, when two or more hands are moving in comparison with the two types of image data, it is possible to specify the three hands by repeating the imaging of the clock again at intervals of one second or more. Thereby, accurate time information can be acquired.

また、上記発明において、前記針種特定手段は、2本以上の針の回転軸が同軸上に有ることを特定対象条件として三針を特定することを特徴としている。   In the above invention, the needle type specifying means specifies three needles on the condition that the rotation axes of two or more needles are coaxial.

パターンマッチングで時計と認識するだけでなく、2本以上の針の回転軸が同軸上にある場合には、その回転軸を有している針によって時刻情報を取得する。これにより、文字盤上に、日付情報や曜日情報が表示されている時計でも、時刻情報を正確に取得することができる。   Not only is it recognized as a clock by pattern matching, but when the rotation axes of two or more hands are on the same axis, time information is acquired by the hands having the rotation axes. Thereby, time information can be accurately acquired even in a clock whose date information and day information are displayed on the dial.

また、上記発明において、前記針種特定手段は、同軸上の回転軸から徐々に半径が拡大された同心円上と針との交差の有無により、最も短い長さの時針を検出することを特徴としている。   In the above invention, the needle type specifying means detects the hour hand having the shortest length based on whether or not the needle intersects a concentric circle whose radius is gradually enlarged from a coaxial rotation axis. Yes.

同軸上の回転軸からの半径を拡大しながら同心円上に時針を検出することにより、時針と、分針、秒針とを区別することができ、時刻情報を正確に取得することができる。   By detecting the hour hand on a concentric circle while enlarging the radius from the rotation axis on the same axis, the hour hand, the minute hand, and the second hand can be distinguished, and time information can be accurately acquired.

さらに、上記発明において、前記補正手段による時刻の補正後に、前記針種特定手段で適用した画像データを削除することを特徴としている。   Further, in the above invention, the image data applied by the needle type specifying unit is deleted after the time is corrected by the correcting unit.

時刻を補正した後に、時刻情報を取得するために撮像した画像データを削除することにより、不要なデータをメモリに残さず、メモリ容量を有効に利用することができる。   After correcting the time, by deleting the image data captured to acquire the time information, it is possible to effectively use the memory capacity without leaving unnecessary data in the memory.

また、上記発明において、前記補正手段は、時刻のずれの履歴に基づいて補正時にさらに時刻を調整することを特徴としている。   In the above invention, the correction means further adjusts the time at the time of correction based on a history of time deviation.

時計固有の時刻のずれを算出し、時刻を補正するときにそのずれを調整することで、補正後は、時刻がずれることなく、正確な時刻を表示することができる。   By calculating the time lag inherent in the timepiece and adjusting the time lag when correcting the time, the correct time can be displayed without time lag after the correction.

また、上記発明において、前記撮像手段が撮像している前記被写体を表示する表示部を更に有し、前記表示部に前記被写体である時計を撮影するために、少なくとも、前記表示部内の所定の点を中心とする回転角方向の指標を表示することを特徴としている。   Further, in the above invention, the display unit further includes a display unit that displays the subject being imaged by the imaging unit, and at least a predetermined point in the display unit in order to photograph the watch that is the subject on the display unit. An index in the direction of the rotation angle centered on is displayed.

時計を撮像するときに、撮像装置の表示部に時計を撮影するための指標を表示することにより、撮像がしやすくなる。また、文字盤に数字が表示されていない時計を撮影しても、指標を基に時刻情報を正確に取得することができる。   When the timepiece is imaged, an index for photographing the timepiece is displayed on the display unit of the imaging device, thereby making it easier to capture the image. Further, even when a clock whose number is not displayed on the dial is photographed, time information can be obtained accurately based on the index.

以上説明した如く本発明では、撮像機能を用いて、自動的に秒単位で正確な時刻設定をすることができる撮像装置を得ることができる。   As described above, according to the present invention, it is possible to obtain an imaging apparatus capable of automatically setting an accurate time in seconds using the imaging function.

(第1の実施の形態)
図1には、第1の実施の形態に係るデジタルカメラ10の外観上の構成を示している。
(First embodiment)
FIG. 1 shows an external configuration of the digital camera 10 according to the first embodiment.

図1(A)は、デジタルカメラ10の正面図を示している。   FIG. 1A shows a front view of the digital camera 10.

デジタルカメラ10の正面には、ファインダ12、レンズ14、ストロボ16が備えられている。   A finder 12, a lens 14, and a strobe 16 are provided in front of the digital camera 10.

ファインダ12は、撮影する被写体の構図を決定するために用いられる。   The viewfinder 12 is used to determine the composition of the subject to be photographed.

レンズ14は、複数枚のレンズを有し、図示しないレンズ駆動機構により、焦点距離の変更(変倍)が可能なズームレンズとして構成され、被写体像を結像させる。   The lens 14 has a plurality of lenses and is configured as a zoom lens that can change (magnify) the focal length by a lens driving mechanism (not shown), and forms a subject image.

ストロボ16は、撮影時に必要に応じて被写体に照射する光を発光する。   The strobe 16 emits light to irradiate the subject as necessary during shooting.

図1(B)に、デジタルカメラ10の背面図を示す。   FIG. 1B shows a rear view of the digital camera 10.

デジタルカメラ10の背面には、前述のファインダ12の接眼部、液晶ディスプレイ(以下、「LCD」という。)18、モード切替スイッチ20、十字カーソルボタン22、強制発光スイッチ24、が備えられている。   On the rear surface of the digital camera 10, the eyepiece of the finder 12, a liquid crystal display (hereinafter referred to as “LCD”) 18, a mode switch 20, a cross cursor button 22, and a forced light emission switch 24 are provided. .

LCD18は、撮影によって得られたデジタル画像データに基づいた画像や各種メニュー画面、メッセージ等を表示する。   The LCD 18 displays an image based on digital image data obtained by photographing, various menu screens, a message, and the like.

モード切替スイッチ20は、撮影を行うモードである撮影モード及び、撮影によって得られたデジタル画像データに基づいた画像をLCD18に表示(再生)するモードである再生モードの何れかのモードに設定するために操作される。   The mode changeover switch 20 is set to any one of a shooting mode that is a mode for performing shooting and a playback mode that is a mode for displaying (reproducing) an image based on digital image data obtained by shooting on the LCD 18. To be operated.

十字カーソルボタン22は、LCD18の表示領域における上下左右の4方向の移動方向を示す4つの矢印キー及び当該4つの矢印キーの中央部に位置された決定キーの合計5つのキーを含んで構成される。   The cross cursor button 22 includes a total of five keys including four arrow keys indicating four directions of movement in the upper, lower, left, and right directions in the display area of the LCD 18 and an enter key positioned at the center of the four arrow keys. The

強制発光スイッチ24は、以後の撮影時にストロボ16を強制的に発光させるモードである強制発光モードを設定する際に操作される。   The forced light emission switch 24 is operated when setting a forced light emission mode, which is a mode in which the strobe 16 is forced to emit light during subsequent photographing.

図1(C)に、デジタルカメラ10の上面図を示す。   A top view of the digital camera 10 is shown in FIG.

デジタルカメラ10の上面には、電源スイッチ26、レリーズボタン(所謂シャッターボタン)28、が備えられている。レリーズボタン28は、撮影を実行する際にユーザによって押圧操作される。   A power switch 26 and a release button (so-called shutter button) 28 are provided on the upper surface of the digital camera 10. The release button 28 is pressed by the user when shooting.

第1の実施の形態に係るレリーズボタン28は、中間位置まで押下される状態(以下、「半押し状態」という。)と、当該中間位置を超えた最終押下位置まで押下される状態(以下、「全押し状態」という。)と、の2段階の押圧操作が検出可能に構成されている。そして、第1の実施の形態に係るデジタルカメラ10では、レリーズボタン28を半押し状態にすることによりAE(Automatic Exposure、自動露出)機能が働いて露出状態(シャッタースピード、絞りの状態)が設定された後、AF(Automatic Focus、自動合焦)機能が働いて合焦制御され、その後、引き続き全押し状態にすると露光され被写体の撮影が行なわれる。なお、撮影者は、AE機能及びAF機能を用いずに、手動で、露出及び焦点を調整することもできる。   The release button 28 according to the first embodiment is pressed to an intermediate position (hereinafter referred to as “half-pressed state”) and pressed to a final pressed position exceeding the intermediate position (hereinafter, referred to as “half-pressed state”). It is configured to be able to detect a two-stage pressing operation of “fully pressed state”. In the digital camera 10 according to the first embodiment, when the release button 28 is half-pressed, an AE (Automatic Exposure) function is activated to set the exposure state (shutter speed, aperture state). After that, the AF (Automatic Focus) function is activated and the focus is controlled. After that, when the button is fully pressed, it is exposed and the subject is photographed. The photographer can manually adjust the exposure and focus without using the AE function and the AF function.

次に、図2には、第1の実施の形態に係るデジタルカメラ10の電気系の構成を示している。   Next, FIG. 2 shows the configuration of the electrical system of the digital camera 10 according to the first embodiment.

デジタルカメラ10には、撮像デバイスとしてCCD(Charge Coupled Device)32が設けられており、このCCD32に被写体を結像させるレンズ14等を含んで形成される光学ユニット30を備えている。   The digital camera 10 is provided with a CCD (Charge Coupled Device) 32 as an imaging device, and includes an optical unit 30 formed including a lens 14 and the like for imaging a subject on the CCD 32.

CCD32は、二次元配列された図示しない多数の光電変換素子を備えており、光学ユニット30を介してCCD32に結像される被写体像に応じて、個々の光電変換素子に蓄積された電荷に応じた電気信号を出力する。   The CCD 32 includes a large number of photoelectric conversion elements (not shown) that are two-dimensionally arranged. Depending on the subject image formed on the CCD 32 via the optical unit 30, the CCD 32 corresponds to the charges accumulated in the individual photoelectric conversion elements. Output electrical signals.

また、デジタルカメラ10では、このCCD32から出力される電気信号に基づいて、被写体像のデジタル画像データが生成される。   In the digital camera 10, digital image data of the subject image is generated based on the electrical signal output from the CCD 32.

さらに、デジタルカメラ10には、信号処理部(白バランスγ処理)34、A/Dコンバータ(A/D)36、バッファメモリ38及びタイミングジェネレータ(TG)40が設けられている。このTG40は、CCD32に設けられている図示しない垂直・水平ドライバが所定タイミングで駆動することにより、CCD32から各画素毎の電気信号を出力させると共に、信号処理部34及びA/D36の動作タイミングを制御する。   Further, the digital camera 10 is provided with a signal processing unit (white balance γ processing) 34, an A / D converter (A / D) 36, a buffer memory 38, and a timing generator (TG) 40. The TG 40 outputs an electrical signal for each pixel from the CCD 32 when a vertical / horizontal driver (not shown) provided in the CCD 32 is driven at a predetermined timing, and sets the operation timing of the signal processing unit 34 and the A / D 36. Control.

これにより、CCD32から出力される電気信号は、信号処理部34で、相関二重サンプリング処理が施されることによりノイズ除去が図られると共に、CCD32におけるR(赤)、G(緑)、B(青)の各色の感度調整、光源種に応じたデジタルゲインをかけることによるホワイトバランス調整、ガンマ処理及びシャープネス処理が施された後、各画素毎のR、G、Bの各色の信号として、A/D36に入力される。   As a result, the electrical signal output from the CCD 32 is subjected to correlated double sampling processing by the signal processing unit 34 to remove noise, and R (red), G (green), and B (in the CCD 32). After blue color sensitivity adjustment, white balance adjustment by applying digital gain according to the light source type, gamma processing and sharpness processing, A, R, G, B color signals for each pixel are / D36 is input.

そして、A/D36は、各画素毎のR、G、Bの各色の信号をデジタル信号に変換して出力する。これにより、被写体像に応じたデジタル画像データがバッファメモリ38に記憶される。   The A / D 36 converts the R, G, and B color signals for each pixel into a digital signal and outputs the digital signal. As a result, digital image data corresponding to the subject image is stored in the buffer memory 38.

また、デジタルカメラ10には、測光、焦点距離を調整する測光・測距CPU42が設けられている。測光・測距CPU42は、CCD32によって撮影された被写体像(バッファメモリ38に記憶されたデジタル画像データ)に基づいて設定される露光時間、絞り値等に応じて、図示しないドライバを介して光学ユニット30に含まれるシャッター及び絞りを駆動させる図示しないシャッタ・アイリスモータドライバを制御する。   Further, the digital camera 10 is provided with a photometry / ranging CPU 42 for adjusting photometry and focal length. The photometry / ranging CPU 42 is connected to the optical unit via a driver (not shown) according to the exposure time, aperture value, and the like set based on the subject image (digital image data stored in the buffer memory 38) photographed by the CCD 32. 30 controls a shutter / iris motor driver (not shown) that drives a shutter and an aperture included in the shutter 30.

なお、測光・測距CPU42には、充電・発光制御部44を介してストロボ46が接続されており、CCD32に結像される被写体像を撮影するときのストロボ46の発光も制御している。   Note that a strobe 46 is connected to the photometry / ranging CPU 42 via a charging / light emission control unit 44 and controls the light emission of the strobe 46 when a subject image formed on the CCD 32 is photographed.

さらに、デジタルカメラ10には、メインCPU48、YC処理部50及び各種パラメータやプログラムを記憶しているEEPROM52が設けられて、これらがバッファメモリ38及び測光・測距CPU42と共にバス54に接続している。各制御デバイスは、電源74から電源が供給され、動作可能となっている。   Further, the digital camera 10 is provided with a main CPU 48, a YC processing unit 50, and an EEPROM 52 for storing various parameters and programs, and these are connected to the bus 54 together with the buffer memory 38 and the photometry / ranging CPU 42. . Each control device is supplied with power from a power source 74 and is operable.

さらに、図1に示すように、モード切替スイッチ20、十字カーソルボタン22、及び強制発光スイッチ24、電源スイッチ26(同図では、「操作部56」と総称。)はメインCPU48に接続されており、メインCPU48は、これらの操作部56に対する操作状態を常時把握できる。   Further, as shown in FIG. 1, the mode switch 20, the cross cursor button 22, the forced light emission switch 24, and the power switch 26 (generically referred to as “operation unit 56” in FIG. 1) are connected to the main CPU 48. The main CPU 48 can always grasp the operation state of the operation unit 56.

メインCPU48は、LEDドライバ70に接続している。LEDドライバ70は、メインCPU48からの指示に応じて補助光装置72を点消灯させる。   The main CPU 48 is connected to the LED driver 70. The LED driver 70 turns on and off the auxiliary light device 72 in accordance with an instruction from the main CPU 48.

YC処理部50は、バッファメモリ38に記憶されたデジタル画像データを読み出して、このデジタル画像データに対して所定の画像処理を施す。このとき、YC処理部50では、デジタル画像データに対してYC信号処理を施すことにより、輝度信号Yとクロマ信号Cr、Cbを生成し(以下、「YC信号」という。)、このYC信号を、図示しないVRAM(Video RAM)に記憶する。   The YC processing unit 50 reads the digital image data stored in the buffer memory 38 and performs predetermined image processing on the digital image data. At this time, the YC processing unit 50 performs YC signal processing on the digital image data to generate a luminance signal Y and chroma signals Cr and Cb (hereinafter referred to as “YC signal”). And stored in a VRAM (Video RAM) (not shown).

信号変換部58は、YC処理部50で生成されたYC信号等を、LCD18での画像表示用のRGB信号に変換する。これにより、ドライバ60を介してLCD18には、デジタル画像データに応じた画像や各種の情報が表示される。   The signal conversion unit 58 converts the YC signal generated by the YC processing unit 50 into an RGB signal for image display on the LCD 18. As a result, an image corresponding to the digital image data and various types of information are displayed on the LCD 18 via the driver 60.

デジタルカメラ10には、圧縮・伸張部64が設けられており、バス54、インタフェース(I/F)66に接続している。圧縮・伸張部64は、I/F66を介して可搬式の記憶メディアであるメモリカード68が記憶手段として装着されるようになっている。   The digital camera 10 is provided with a compression / decompression unit 64 and is connected to a bus 54 and an interface (I / F) 66. The compression / decompression unit 64 is configured such that a memory card 68 that is a portable storage medium is mounted as a storage unit via the I / F 66.

なお、撮像に関するレンズ14等を含む光学ユニット30、CCD32、信号処理部34、A/D36、バッファメモリ38、TG40、測光・測距CPU42、充電・発光制御部44、ストロボ46、YC処理50を撮像部80とする。   The optical unit 30 including the lens 14 related to imaging, the CCD 32, the signal processing unit 34, the A / D 36, the buffer memory 38, the TG 40, the photometry / ranging CPU 42, the charging / emission control unit 44, the strobe 46, and the YC processing 50 are provided. The imaging unit 80 is assumed.

第1の実施の形態に係るデジタルカメラ10には、時刻を設定するための時刻設定モードが予め用意されている。   In the digital camera 10 according to the first embodiment, a time setting mode for setting the time is prepared in advance.

図3は、第1の実施の形態に係る時刻設定撮影モードが選択されたときのメインCPU48での動作を示す機能ブロック図である。   FIG. 3 is a functional block diagram showing an operation in the main CPU 48 when the time setting photographing mode according to the first embodiment is selected.

撮像部80は、バス54とインタフェース(I/F)82とを介して、画像解析部84に接続している。撮像部80は、被写体を撮像し、撮像した画像データを画像解析部84へ送出する。   The imaging unit 80 is connected to the image analysis unit 84 via the bus 54 and an interface (I / F) 82. The imaging unit 80 images a subject and sends the captured image data to the image analysis unit 84.

画像解析部84は、時計認識部86と内部メモリ98とに接続している。画像解析部84は、撮像部80から送出される画像データを解析し、解析した結果を時計認識部86へ送出する。また、解析した画像データを内部メモリ98に記憶する。   The image analysis unit 84 is connected to the clock recognition unit 86 and the internal memory 98. The image analysis unit 84 analyzes the image data sent from the imaging unit 80 and sends the analysis result to the clock recognition unit 86. The analyzed image data is stored in the internal memory 98.

時計認識部86は、撮像制御部88と時間差撮影指示部90とに接続している。時計認識部86は、画像解析部84から送出される解析結果から時計を認識すると撮像制御部88へは1回目の撮像(第1の画像データ)を指示する信号を送出し、時間差撮影指示部90へは時間差で2回目の撮影(第2の画像データ)を指示する信号を送出する。   The clock recognition unit 86 is connected to the imaging control unit 88 and the time difference imaging instruction unit 90. When the clock recognition unit 86 recognizes the clock from the analysis result transmitted from the image analysis unit 84, the clock recognition unit 86 transmits a signal instructing the first imaging (first image data) to the imaging control unit 88, and the time difference imaging instruction unit. To 90, a signal instructing the second photographing (second image data) is transmitted with a time difference.

時間差撮影指示部90は、タイマ91と撮像制御部88とに接続している。時間差撮影指示部90は、時計認識部86からの撮影を指示する信号を受信すると、タイマ91で1秒以上経過するのを計って、撮像制御部88へ撮像を指示する信号を送出する。   The time difference imaging instruction unit 90 is connected to the timer 91 and the imaging control unit 88. When the time difference photographing instructing unit 90 receives a signal instructing photographing from the clock recognizing unit 86, the time difference photographing instructing unit 90 measures the passage of one second or more by the timer 91 and sends a signal instructing photographing to the image capturing control unit 88.

撮像制御部88は、I/F82に接続している。撮像制御部88は、I/F82を介して、撮像部80へ撮像を指示する信号を送出する。   The imaging control unit 88 is connected to the I / F 82. The imaging control unit 88 sends a signal for instructing imaging to the imaging unit 80 via the I / F 82.

針種特定部92は、内部メモリ98と時刻取得部94とに接続している。針種特定部92は、内部メモリ98に記憶されている第1の画像データと第2の画像データとを基に、時針、分針、秒針を特定し、針種特定データを時刻取得部94へ送出する。   The needle type identification unit 92 is connected to the internal memory 98 and the time acquisition unit 94. The needle type specifying unit 92 specifies the hour hand, the minute hand, and the second hand based on the first image data and the second image data stored in the internal memory 98, and sends the needle type specifying data to the time acquisition unit 94. Send it out.

時刻取得部94は、補正実行部96に接続している。時刻取得部94は、針種特定部92から送出される針種特定データを基に時刻を取得し、取得した時刻データを補正実行部96へ送出する。   The time acquisition unit 94 is connected to the correction execution unit 96. The time acquisition unit 94 acquires time based on the needle type specifying data sent from the needle type specifying unit 92, and sends the acquired time data to the correction execution unit 96.

補正実行部96は、時刻取得部94で取得された時刻データを基に設定されている時刻を補正する。   The correction execution unit 96 corrects the set time based on the time data acquired by the time acquisition unit 94.

以下に第1の実施の形態の作用を説明する。   The operation of the first embodiment will be described below.

図4は、時刻設定モードが選択され、時計を撮影することで時刻を設定する処理の流れを示したフローチャートである。   FIG. 4 is a flowchart showing a flow of processing for setting the time by selecting the time setting mode and photographing the clock.

ステップ100では、撮像部80が被写体をスルー画像で撮像する。撮影したスルー画像を画像解析部84で解析し、時計認識部86でパターンマッチングして時計か否かを判定する。時計を認識できない否定判定の場合は、ステップ100を繰り返し、時計を認識できた肯定判定の場合は、ステップ102へ移行する。   In step 100, the imaging unit 80 captures the subject with a through image. The photographed through image is analyzed by the image analysis unit 84, and the clock recognition unit 86 performs pattern matching to determine whether or not it is a clock. In the case of negative determination that the clock cannot be recognized, step 100 is repeated, and in the case of positive determination that the clock can be recognized, the process proceeds to step 102.

ステップ102では、撮像者にLCD18に時刻を設定するためデジタルカメラ10を静止するように表示し、デジタルカメラ10が静止したか否かを判定する。デジタルカメラ10が静止していないと否定判定された場合は、ステップ100へ移行し、再度、被写体をスルー画像で撮像する。デジタルカメラ10が静止したと肯定判定された場合は、ステップ104へ移行する。   In step 102, the digital camera 10 is displayed as a still image for setting the time on the LCD 18 to the photographer, and it is determined whether or not the digital camera 10 is stationary. If the negative determination is made that the digital camera 10 is not stationary, the process proceeds to step 100, and the subject is captured again as a through image. When it is affirmed that the digital camera 10 is stationary, the process proceeds to step 104.

ステップ104では、撮像部80によって時計を自動撮影(第1の画像データ)し、ステップ106へ移行する。   In step 104, the clock is automatically captured (first image data) by the imaging unit 80, and the process proceeds to step 106.

ステップ106では、撮影した画像データを内部メモリ98に記憶し、ステップ108へ移行する。   In step 106, the captured image data is stored in the internal memory 98, and the process proceeds to step 108.

ステップ108では、撮影した時計から、3本の針(時針、分針、秒針)のある三針時計か否かを時計認識部86で判定する。三針時計でないと否定判定されると、ステップ116へ移行する。三針時計であると肯定判定されると、ステップ110へ移行する。   In step 108, the timepiece recognition unit 86 determines whether or not it is a three-hand timepiece having three hands (hour hand, minute hand, second hand) from the photographed timepiece. If a negative determination is made that it is not a three-hand clock, the routine proceeds to step 116. If an affirmative determination is made that the timepiece is a three-hand timepiece, the routine proceeds to step 110.

ステップ110では、秒針を判定するためにタイマ91を用いて1秒以上経過後の時計を、撮像制御部88が撮像部80を制御して撮影(第2の画像データ)し、ステップ112へ移行する。   In step 110, the imaging control unit 88 controls the imaging unit 80 to capture the second clock after the second or more has elapsed using the timer 91 to determine the second hand (second image data), and the process proceeds to step 112. To do.

ステップ112では、撮影した画像データを内部メモリ98に記憶し、ステップ114へ移行する。   In step 112, the captured image data is stored in the internal memory 98, and the process proceeds to step 114.

ステップ114では、針種特定部92で秒針以外の2本以上の針(時針、分針)も動いたか否かが判定される。時、分の区切りで撮像した場合、例え1秒後の撮影でも秒針以外の針も動くことがある(x時y分59秒の次は、x時y+1分00秒)。2本以上の針が動き、秒針以外の針も動いたと肯定判定されると、ステップ110へ移動し、再度、撮像部80が1秒以上経過後の時計を撮影(第2の画像データ)する。2本以上の針が動いていない、つまり、秒針のみが動いたと否定判定されると、ステップ116へ移行する。   In step 114, it is determined whether or not two or more hands (hour hand, minute hand) other than the second hand have moved in the needle type specifying unit 92. When images are taken at an interval of hours and minutes, even when shooting after 1 second, hands other than the second hand may move (next to x hour y minute 59 second is x hour y + 1 minute 00 second). If an affirmative determination is made that two or more hands have moved and that a hand other than the second hand has also moved, the process moves to step 110, and the imaging unit 80 again captures the clock after the lapse of one second (second image data). . If it is determined that two or more hands have not moved, that is, only the second hand has moved, the process proceeds to step 116.

ステップ116では、時刻情報取得部90で画像データから時刻情報を取得できるか判定する。時刻情報が取得できないと否定判定されると、ステップ100へ移行する。時刻情報が取得できると肯定判定されると、ステップ118へ移行する。   In step 116, it is determined whether the time information acquisition unit 90 can acquire time information from the image data. If it is determined that the time information cannot be acquired, the process proceeds to step 100. If it is determined that the time information can be acquired, the process proceeds to step 118.

ステップ118では、取得した時刻情報で正しいかLCD18に表示し、撮影者に確認する。撮影者が表示した時刻を正しくないと否定判定すると、ステップ100へ移行し、再度、時計を撮影して時刻の確認を行う。撮影者が表示した時刻を正しいと肯定判定すると、ステップ120へ移行する。   In step 118, whether the acquired time information is correct is displayed on the LCD 18, and the photographer is confirmed. If it is determined that the time displayed by the photographer is not correct, the process proceeds to step 100, and the time is again confirmed by photographing the clock. If it is determined that the time displayed by the photographer is correct, the process proceeds to step 120.

ステップ120では、LCD18に午前、または午後を選択できる画面を表示して撮影者に設定させ、ステップ122へ移行する。   In step 120, a screen for selecting morning or afternoon is displayed on the LCD 18 to allow the photographer to set, and the process proceeds to step 122.

ステップ122では、ステップ118で確認した時刻情報と、ステップ120で設定された午前又は午後の情報とを基に、三針時計の場合はステップ110で第2の画像を撮影してからステップ120までの時間、三針時計以外の時計の場合はステップ104で第1の画像データを撮影してからステップ120までの時間を加算して時刻を補正し、ステップ124へ移行する。   In step 122, based on the time information confirmed in step 118 and the morning or afternoon information set in step 120, in the case of a triple hand clock, the second image is captured in step 110 and then to step 120. In the case of a time other than the three-hand clock, the time is corrected by adding the time from the first image data shooting in step 104 to step 120, and the process proceeds to step 124.

ステップ124では、時刻設定のために内部メモリ98に記憶した画像データ(第1の画像データ、第2の画像データ)を破棄し、このルーチンは終了する。   In step 124, the image data (first image data, second image data) stored in the internal memory 98 for setting the time is discarded, and this routine ends.

第1の実施の形態では、時計の第1の画像データと、1秒以上経過後に撮影した第2の画像データとを比較することにより、秒針を判定することができる。また、時、分の区切りで、秒針だけでなく時針や分針も移動するような場合は、再度、1秒以上経過後に時計を撮影し、比較することで時間を正確に認識して設定することができる。   In the first embodiment, the second hand can be determined by comparing the first image data of the clock with the second image data taken after the elapse of one second or more. In addition, when the hour hand and minute hand move as well as the second hand at the hour and minute breaks, the time should be accurately recognized and set again by taking a picture of the clock after one second or more. Can do.

(第2の実施の形態)
以下に本発明の第2の実施の形態について説明する。なお、この第2の実施の形態において、前記第1の実施の形態と同一構成部分について、同一の符号を付してその構成の説明を省略する。
(Second Embodiment)
The second embodiment of the present invention will be described below. In the second embodiment, the same components as those in the first embodiment are denoted by the same reference numerals and description of the configuration is omitted.

第2の実施の形態の特徴は、第1の実施の形態で、三針時計と判定されると所定時間経過後に再度時計を撮像して秒針を判定したのに対し、感度に基づいて、長時間露光又は、多重露光で時計を撮影することにより秒針を判定していることである。   The feature of the second embodiment is that in the first embodiment, when it is determined that the timepiece is a three-hand clock, the timepiece is imaged again after a predetermined time and the second hand is determined. That is, the second hand is determined by photographing a clock with time exposure or multiple exposure.

図5は、時刻設定モードが選択され、感度に基づいて長時間露光、又は多重露光で時計を撮影することで時刻を設定する処理の流れを示したフローチャートである。   FIG. 5 is a flowchart showing a flow of processing for setting the time by selecting the time setting mode and photographing the clock by long exposure or multiple exposure based on the sensitivity.

ステップ200では、スルー画像から、3本の針(時針、分針、秒針)のある三針時計か否かを時計認識部86が判定する。三針時計でないと否定判定されると、ステップ206へ移行し、三針時計と肯定判定されると、ステップ202へ移行する。   In step 200, the timepiece recognition unit 86 determines whether or not it is a three-hand timepiece having three hands (hour hand, minute hand, second hand) from the through image. If a negative determination is made that it is not a three-hand timepiece, the routine proceeds to step 206, and if an affirmative determination is made as a three-hand clock, the routine proceeds to step 202.

ステップ202では、1秒以上の長時間露光で撮影するための適正な露出を算出するために測光し、ステップ204へ移行する。   In step 202, photometry is performed to calculate an appropriate exposure for shooting with a long exposure of 1 second or longer, and the process proceeds to step 204.

ステップ204では、ステップ202で測光した結果、感度が所定以上であるか否かを判定する。感度が所定以上であると肯定判定されるとステップ208へ移行し、所定以上ではないと否定判定されるとステップ210へ移行する。   In step 204, it is determined whether or not the sensitivity is greater than or equal to a predetermined value as a result of the photometry in step 202. If an affirmative determination is made that the sensitivity is greater than or equal to a predetermined value, the process proceeds to step 208, and if a negative determination is not made that the sensitivity is not greater than the predetermined value, the process proceeds to step 210.

ステップ206では、三針時計ではないと判定された時計を撮像部80が撮像し、ステップ212へ移行する。   In step 206, the imaging unit 80 images a clock that is determined not to be a three-hand clock, and the process proceeds to step 212.

ステップ208では、1秒以上の長時間露光で時計を撮影したときに、露出がオーバーしないように、撮像制御部88メカニカルシャッターを制御して多重露光で1秒以上撮影をする。メカニカルシャッターを制御して多重露光撮影をすることにより、メカニカルシャッターが操作された回数と同数の同一の長さの針が撮像部80によって撮影される。これにより、秒針を判定することができる。多重露光で撮影し、ステップ212へ移行する。   In step 208, when the watch is photographed with a long exposure of 1 second or longer, the imaging control unit 88 mechanical shutter is controlled so that the exposure is over 1 second or longer so that the exposure is not overexposed. By performing the multiple exposure shooting by controlling the mechanical shutter, the imaging unit 80 captures the same number of needles as the number of times the mechanical shutter has been operated. Thereby, the second hand can be determined. The image is shot with multiple exposure, and the process proceeds to step 212.

ステップ210では、撮像制御部88が撮像部80を制御して1秒以上の長時間露光で時計を撮影する。長時間露光で時計を撮影すると、1本の針が扇形状に記録され、秒針と判定することができる。1秒以上の長時間露光で時計を撮影し、ステップ212へ移行する。   In step 210, the imaging control unit 88 controls the imaging unit 80 to capture a clock with a long exposure of 1 second or longer. When a watch is photographed with long exposure, one hand is recorded in a fan shape and can be determined as a second hand. The watch is photographed with a long exposure of 1 second or longer, and the process proceeds to step 212.

ステップ212では、撮影した画像データを内部メモリ98へ記憶する。   In step 212, the captured image data is stored in the internal memory 98.

第2の実施の形態では、1秒以上の長時間露光で撮影することで、秒針の軌跡を撮影することができ、秒針を判定することができる。また、長時間露光で撮影すると露出オーバーしてしまう場合には、メカニカルシャッターを制御して撮影する。メカニカルシャッターを制御した回数と同数だけ秒針が撮影され、秒針を判定することができる。   In the second embodiment, by shooting with a long exposure of 1 second or longer, the locus of the second hand can be taken and the second hand can be determined. In addition, if the image is overexposed when the image is taken with long exposure, the image is taken by controlling the mechanical shutter. The second hand is photographed as many times as the number of times the mechanical shutter is controlled, and the second hand can be determined.

なお、第2の実施の形態では、長時間露光での撮影、又は多重露光での撮影のため、適宜、手振れ補正を行う。   In the second embodiment, camera shake correction is performed as appropriate for shooting with long exposure or shooting with multiple exposure.

(第3の実施の形態)
以下に本発明の第3の実施の形態について説明する。なお、この第3の実施の形態において、前記第1の実施の形態、前記第2の実施の形態と同一構成部分について、同一の符号を付してその構成の説明を省略する。
(Third embodiment)
The third embodiment of the present invention will be described below. In the third embodiment, the same components as those in the first embodiment and the second embodiment are denoted by the same reference numerals, and description of the configuration is omitted.

第3の実施の形態の特徴は、図6のように、文字盤上に時刻以外の日付や曜日の表示がある場合でも時計と認識することができることである。   A feature of the third embodiment is that it can be recognized as a clock even when a date or day of the week other than the time is displayed on the dial as shown in FIG.

図7は、時刻以外の表示がある時計を撮影した場合の時刻を設定する処理の流れを示したフローチャートである。   FIG. 7 is a flowchart showing a flow of processing for setting a time when a clock with a display other than the time is photographed.

ステップ300では、時計認識部82が、2本以上の針の回転軸が同軸上に有るか否かを判定する。2本以上の針が、同軸上に回転軸がある場合、その針が時刻を表わしている針と判定する。肯定判定されるとステップ106へ移行し、否定判定されるとステップ302へ移行する。   In step 300, the timepiece recognition unit 82 determines whether or not the rotation axes of two or more hands are coaxial. When two or more hands have a rotation axis on the same axis, the hands are determined to be hands representing time. If a positive determination is made, the process proceeds to step 106, and if a negative determination is made, the process proceeds to step 302.

ステップ302では、2本以上の針の回転軸が同軸上にないと判定されたため、再度時計を撮影するか否かをLCD18に表示し、撮像者に確認する。再撮影すると肯定判定されるとステップ100へ移行する。再撮影しないと否定判定されるとステップ304へ移行する。   In step 302, since it is determined that the rotation axes of two or more hands are not coaxial, whether or not to take a watch again is displayed on the LCD 18 to confirm with the photographer. If an affirmative determination is made when re-photographing, the process proceeds to step 100. If a negative determination is made not to shoot again, the routine proceeds to step 304.

ステップ304では、撮像者に手動で時刻設定するための手動時刻設定画面をLCD18に表示しこのルーチンは終了する。このルーチン終了後、手動時刻設定を実行し、時刻の設定を行う。   In step 304, a manual time setting screen for manually setting the time for the photographer is displayed on the LCD 18, and this routine ends. After this routine ends, manual time setting is executed to set the time.

時刻以外の針がある時計の場合、針だけで時間を認識することができない。そこで、第3の実施の形態では、2本以上の針が、同軸上に回転軸があるか否かを判定することにより、時刻を表示する針を判定し、時刻を正確に判定することができる。   In the case of a watch with hands other than the time, the time cannot be recognized only with the hands. Therefore, in the third embodiment, it is possible to determine whether or not two or more hands have a rotation axis on the same axis, thereby determining a hand for displaying time and accurately determining time. it can.

(第4の実施の形態)
以下に本発明の第4の実施の形態について説明する。なお、この第4の実施の形態において、前記第1の実施の形態〜第3の実施の形態と同一構成部分について、同一の符号を付してその構成の説明を省略する。
(Fourth embodiment)
The fourth embodiment of the present invention will be described below. In the fourth embodiment, the same components as those in the first to third embodiments are denoted by the same reference numerals, and description of the configuration is omitted.

第4の実施の形態の特徴は、時針と分針とを正確に判定することである。前記第1の実施の形態〜第3の実施の形態では、撮影した時計の画像データをパターンマッチングすることにより、時刻情報を取得していた。第4の実施の形態では、図8に示すように、2本以上の針の回転軸が同軸上にあることを検出し、その回転軸を中心に同心円上に徐々に半径を拡大しながら針との交差を検出し、最も短い長さの時針を検出している。   The feature of the fourth embodiment is to accurately determine the hour hand and the minute hand. In the first to third embodiments, the time information is obtained by pattern matching of the captured clock image data. In the fourth embodiment, as shown in FIG. 8, it is detected that the rotation axes of two or more needles are coaxial, and the needles are gradually enlarged in a concentric circle around the rotation axes. The hour hand with the shortest length is detected.

図9は、正確に時針を検出するための処理の流れを示すフローチャートである。   FIG. 9 is a flowchart showing a flow of processing for accurately detecting the hour hand.

ステップ400では、時計認識部82が、2本以上の針の回転軸が同軸上に有るか否かを判定する。2本以上の針が、同軸上に回転軸がある場合、その針が時刻を表わしている針と判定する。肯定判定されるとステップ402へ移行し、否定判定されるとステップ116へ移行する。   In step 400, the timepiece recognition unit 82 determines whether or not the rotation axes of two or more hands are coaxial. When two or more hands have a rotation axis on the same axis, the hands are determined to be hands representing time. If an affirmative determination is made, the process proceeds to step 402, and if a negative determination is made, the process proceeds to step 116.

ステップ402では、回転軸を中心として、時計認識部86が徐々に半径を拡大しながら同心円上と針との交差の有無を検出して、時針を検出し、ステップ116へ移行する。   In step 402, the watch recognizing unit 86 detects the presence or absence of the intersection of the concentric circle and the hand while gradually increasing the radius around the rotation axis, detects the hour hand, and proceeds to step 116.

第4の実施の形態では、2本以上の針の同軸上の回転軸を中心に、半径を拡大しながら時針を検出する。これにより、時刻情報を正確に取得することができる。   In the fourth embodiment, the hour hand is detected while increasing the radius around the coaxial rotation axis of two or more hands. Thereby, time information can be acquired correctly.

(第5の実施の形態)
以下に本発明の第5の実施の形態について説明する。なお、この第5の実施の形態において、前記第1の実施の形態〜第4の実施の形態と同一構成部分について、同一の符号を付してその構成の説明を省略する。
(Fifth embodiment)
The fifth embodiment of the present invention will be described below. In the fifth embodiment, the same components as those in the first to fourth embodiments are denoted by the same reference numerals, and description of the configuration is omitted.

第5の実施の形態の特徴は、撮像装置に内蔵されている時計の時刻のずれを算出し、撮像装置に内蔵されている時計に調整することである。時計は水晶発振器固有の周波数の影響により、時計固有で時間の遅れや進みが発生する。この時計固有のずれを算出し、時刻補正を行った後にずれを調整することにより、時刻設定を行った後で時間が進んだり、遅れたりすることを防ぐことができる。   A feature of the fifth embodiment is that a time lag of a clock built in the imaging apparatus is calculated and adjusted to the clock built in the imaging apparatus. A time delay or advance occurs in the timepiece due to the frequency inherent in the crystal oscillator. By calculating the time-specific deviation and adjusting the time after correcting the time, it is possible to prevent the time from being advanced or delayed after the time is set.

図10は、ずれを算出し、時計に調整するための処理の流れを示すフローチャートである。このフローチャートは、時刻設定後(第1の実施の形態のステップ122の後)に実行される。   FIG. 10 is a flowchart showing a flow of processing for calculating the deviation and adjusting the timepiece. This flowchart is executed after time setting (after step 122 of the first embodiment).

ステップ500では、時刻のずれを調整するか否かを判定する。ずれを調整しないと否定判定の場合はこのルーチンは終了する。ずれを補正すると肯定判定の場合はステップ502へ移行する。   In step 500, it is determined whether or not to adjust the time lag. If the deviation is not adjusted, the routine ends if a negative determination is made. If the deviation is corrected and the determination is affirmative, the routine proceeds to step 502.

ステップ502では、前回時刻設定を行った設定日時情報が有るか否かを判定する。前回の設定日時情報がない否定判定の場合は、このルーチンは終了する。前回の設定日時情報が有る肯定判定の場合は、ステップ504へ移行する。   In step 502, it is determined whether or not there is set date and time information for which the previous time was set. If the determination is negative with no previous set date and time information, this routine ends. If the determination is affirmative with the previous set date and time information, the process proceeds to step 504.

ステップ504では、今回時刻設定を行った設定日時と、前回時刻設定を行った設定日時との差から、時刻設定後の経過時間を算出し、ステップ506へ移行する。   In step 504, the elapsed time after the time setting is calculated from the difference between the setting date and time when the current time setting is performed and the setting date and time when the previous time setting is performed, and the process proceeds to step 506.

ステップ506では、時刻設定前の時間と、時刻設定後の時間の差から今回の時刻補正での補正量を算出し、ステップ508へ移行する。   In step 506, the correction amount in the current time correction is calculated from the difference between the time before the time setting and the time after the time setting, and the process proceeds to step 508.

ステップ508では、ステップ506で算出した補正量と、ステップ504で算出した時刻設定を行った経過時間とから、秒単位でのずれを算出し、ステップ510へ移行する。   In step 508, a shift in seconds is calculated from the correction amount calculated in step 506 and the elapsed time for which the time setting calculated in step 504 was performed, and the process proceeds to step 510.

ステップ510では、補正実行部96が秒単位のずれをデジタルカメラ10に内蔵されている時計に調整し、このルーチンは終了する。   In step 510, the correction execution unit 96 adjusts the time difference in seconds to the clock built in the digital camera 10, and this routine ends.

第5の実施の形態では、前回時刻合わせを実行してから、今回設定した時刻から、撮像装置に内蔵されている時計固有の時刻のずれを算出することができる。この算出したずれを基に、撮像装置に内蔵されている時計固有のずれを調整することができる。   In the fifth embodiment, it is possible to calculate the time lag unique to the timepiece built in the imaging apparatus from the time set this time after executing the previous time adjustment. Based on this calculated deviation, it is possible to adjust the deviation inherent in the timepiece built in the imaging apparatus.

(第6の実施の形態)
以下に本発明の第6の実施の形態について説明する。なお、この第6の実施の形態において、前記第1の実施の形態〜第5の実施の形態と同一構成部分について、同一の符号を付してその構成の説明を省略する。
(Sixth embodiment)
The sixth embodiment of the present invention will be described below. In the sixth embodiment, the same components as those in the first to fifth embodiments are denoted by the same reference numerals, and description of the configuration is omitted.

第6の実施の形態の特徴は、時刻設定をする場合に、図11に示すような時計を撮影するための指標を表示することで、撮影を容易にして、時刻を正確に設定することである。   The feature of the sixth embodiment is that when the time is set, an index for shooting a clock as shown in FIG. 11 is displayed to facilitate shooting and set the time accurately. is there.

この図11に示すような指標は、時刻設定モードを選択した場合に表示するほか、時刻設定モードを選択していなくても、デジタルカメラを購入直後などの時刻設定を行っていない場合に表示することで、時刻設定を促すこともできる。   The index as shown in FIG. 11 is displayed when the time setting mode is selected, or when the time setting is not performed, such as immediately after purchase, even if the time setting mode is not selected. Thus, it is possible to prompt the user to set the time.

図12は、時刻設定を促す処理の流れを示したフローチャートである。このフローチャートは、第1の実施の形態の時刻設定モードの処理の前に実行される。   FIG. 12 is a flowchart showing a flow of processing for prompting time setting. This flowchart is executed before the processing of the time setting mode according to the first embodiment.

ステップ600では、被写体をスルー画像で撮影し、ステップ602へ移行する。   In step 600, the subject is photographed as a through image, and the process proceeds to step 602.

ステップ602では、画角の所定範囲以上に時計が表示されているか否かを判定する。所定範囲以上に時計が表示されているか判定することにより、故意に時計を撮影しようとしているか否かが判定できる。所定範囲以上に時計が表示されていないと否定判定された場合は、このステップ604へ移行する。所定範囲以上に時計が表示されていると肯定判定された場合は、ステップ606へ移行する。   In step 602, it is determined whether or not the clock is displayed over a predetermined range of the angle of view. By determining whether or not the clock is displayed over a predetermined range, it can be determined whether or not the clock is being intentionally photographed. If a negative determination is made that the clock is not displayed above the predetermined range, the process proceeds to step 604. If an affirmative determination is made that the clock is displayed above the predetermined range, the process proceeds to step 606.

ステップ604では、通常の撮影モードでの撮影処理を実行する。   In step 604, shooting processing in the normal shooting mode is executed.

ステップ606では、時計合わせのための指標を表示し、ステップ608に移行する。   In step 606, an index for clock adjustment is displayed, and the process proceeds to step 608.

ステップ608では、時計設定モードのルーチンに移行し、このルーチンは終了する。   In step 608, the routine proceeds to a routine for the clock setting mode, and this routine ends.

第6の実施の形態では、LCD18に時計を撮像するための指標を表示することにより、撮影者が時計を撮影しやすくなる。また、文字盤に数字が表示されていない時計を指標に合わせて撮影することで、時刻を正確に認識することができる。また、一度時刻補正を行うと、時計を故意に撮像しようとしても、予め定められた所定時間は時刻補正を行う時刻設定モードに移行しない等の設定を行ってもよい。   In the sixth embodiment, by displaying an index for capturing a clock on the LCD 18, it is easy for the photographer to capture the clock. In addition, the time can be accurately recognized by photographing a clock whose number is not displayed on the dial according to the index. Further, once the time is corrected, a setting may be made such that, even if an intention is to capture an image of the clock, a predetermined time is not shifted to a time setting mode in which the time is corrected.

なお、上記第1〜第6の実施の形態は、各々実施するだけでなく、組み合わせて実施することも可能である。   The first to sixth embodiments can be implemented not only individually but also in combination.

また、時刻設定の開始から終了までは、メッセージの表示や音等で撮像者に適宜知らせるようにして時刻設定を実行するようにする。   Also, from the start to the end of the time setting, the time setting is executed by appropriately notifying the photographer with a message display or sound.

さらに、秒単位の正確な時刻を設定するために、秒針のある三針時計を用いて時刻を認識し、時刻設定を行ったがこれに限るものではない。秒針のない時計であったとしても、時計を長時間撮影することにより、時針、分針の動きから、時、分の区切りを検出することで正確な時刻情報を取得することも可能である。   Furthermore, in order to set an accurate time in seconds, the time is recognized and set using a three-hand clock with a second hand, but the present invention is not limited to this. Even if the timepiece has no second hand, it is possible to acquire accurate time information by detecting the hour and minute breaks from the movement of the hour hand and minute hand by photographing the clock for a long time.

第1の実施の形態に係る(A)はデジタルカメラの正面、(B)はデジタルカメラの背面、(C)はデジタルカメラの上面、を示す概観図である。(A) concerning a 1st embodiment is an outline figure showing the front of a digital camera, (B) is the back of a digital camera, and (C) is the upper surface of a digital camera. 第1の実施の形態に係るデジタルカメラの電気系の要部構成を示すブロック図である。It is a block diagram which shows the principal part structure of the electric system of the digital camera which concerns on 1st Embodiment. 第1の実施の形態に係る機能ブロック図である。It is a functional block diagram concerning a 1st embodiment. 第1の実施の形態に係る時刻設定の処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process of the time setting which concerns on 1st Embodiment. 第2の実施の形態に係る時刻設定の処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process of the time setting which concerns on 2nd Embodiment. 第3の実施の形態に係る文字盤上に時刻以外の日付や曜日の表示がある時計を示す概略図である。It is the schematic which shows the timepiece which has the display of the date other than time, and a day of the week on the dial concerning a 3rd embodiment. 第3の実施の形態に係る時刻設定の処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process of the time setting which concerns on 3rd Embodiment. 第4の実施の形態に係る時針を検出する処理を示す概略図である。It is the schematic which shows the process which detects the hour hand which concerns on 4th Embodiment. 第4の実施の形態に係る時刻設定の処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process of the time setting which concerns on 4th Embodiment. 第5の実施の形態に係る時刻のずれ量を補正する処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process which correct | amends the deviation | shift amount of the time which concerns on 5th Embodiment. 時計を撮影するための指標を示す概略図である。It is the schematic which shows the parameter | index for image | photographing a timepiece. 時刻設定を促す処理の流れを示したフローチャートである。It is the flowchart which showed the flow of the process which prompts time setting.

符号の説明Explanation of symbols

10 デジタルカメラ
18 LCD(表示部)
80 撮像部(撮像手段)
86 時計認識部(三針時計認識手段)
88 撮像制御部(撮像制御手段)
90 時間差撮影指示部(撮像制御手段)
91 タイマ(撮像制御手段)
92 秒針判定部(秒針判定手段)
94 時刻取得部(時刻情報取得手段)
96 補正実行部(補正手段)
10 Digital Camera 18 LCD (Display Unit)
80 Imaging unit (imaging means)
86 Clock recognition unit (three-hand clock recognition means)
88 Imaging control unit (imaging control means)
90 time difference photographing instruction section (imaging control means)
91 timer (imaging control means)
92 Second hand determination unit (second hand determination means)
94 Time acquisition unit (time information acquisition means)
96 Correction execution part (correction means)

Claims (9)

被写体を撮像することにより当該被写体の画像データを取得する撮像手段と、
前記撮像手段により取得された前記画像データの内の予め定められた領域内をパターンマッチングして三針時計と認識する三針時計認識手段と、
前記三針時計認識手段により三針時計と認識するまでの時間を含み、少なくとも1秒以上経過後に少なくとも前記領域を含む画像を再撮像するように制御する撮像制御手段と、
時間差をもって撮像された2種の画像データに基づき、三針をそれぞれ時針、分針、秒針として特定する針種特定手段と、
前記針種特定手段で取得した前記画像データに基づいて、時刻情報を取得する時刻情報取得手段と、
を有する撮像装置。
Imaging means for acquiring image data of the subject by imaging the subject;
A three-hand clock recognition means for recognizing a three-hand clock by pattern matching within a predetermined area of the image data acquired by the imaging means;
An imaging control means for controlling to re-image an image including at least the region after elapse of at least 1 second, including a time until the three-hand clock recognition means recognizes it as a three-hand clock;
Needle type specifying means for specifying three hands as an hour hand, a minute hand and a second hand, respectively, based on two types of image data imaged with a time difference;
Time information acquisition means for acquiring time information based on the image data acquired by the needle type specifying means;
An imaging apparatus having
被写体を撮像することにより当該被写体の画像データを取得する撮像手段と、
三針時計の三針を特定することを前提として、前記撮像手段による撮像を実行する場合に、前記撮像手段の感度に基づいて、長時間露光撮影又は多重露光撮影のいずれかを選択して撮影するように前記撮像手段を制御する撮像制御手段と、
前記撮像制御手段の制御によって撮影された画像データに基づき、三針を時針、分針、秒針として特定する針種特定手段と、
前記針種特定手段で取得した前記画像データに基づいて、時刻情報を取得する時刻情報取得手段と、
を有する撮像装置。
Imaging means for acquiring image data of the subject by imaging the subject;
On the premise that the three hands of the three-hand clock are specified, when imaging by the imaging unit is executed, either long exposure shooting or multiple exposure shooting is selected based on the sensitivity of the imaging unit. Imaging control means for controlling the imaging means to
Based on the image data captured by the control of the imaging control means, needle type specifying means for specifying three hands as an hour hand, a minute hand, and a second hand,
Time information acquisition means for acquiring time information based on the image data acquired by the needle type specifying means;
An imaging apparatus having
前記時刻情報取得手段に基づいて、現在設定されている時刻を補正する補正手段を更に有することを特徴とする請求項1又は請求項2記載の撮像装置。   The imaging apparatus according to claim 1, further comprising a correction unit that corrects a currently set time based on the time information acquisition unit. 前記撮像制御手段は、前記針種特定手段により針種が特定されるまで、前記領域の撮像を繰り返すことを特徴とする前記請求項1〜請求項3の何れか1項記載の撮像装置。   The imaging apparatus according to any one of claims 1 to 3, wherein the imaging control unit repeats imaging of the region until a needle type is specified by the needle type specifying unit. 前記針種特定手段は、2本以上の針の回転軸が同軸上に有ることを特定対象条件として三針を特定することを特徴とする請求項1〜請求項4の何れか1項記載の撮像装置。   5. The needle type specifying means specifies three needles on the condition that the rotation target axes of two or more needles are on the same axis as a specific target condition. 6. Imaging device. 前記針種特定手段は、同軸上の回転軸から徐々に半径が拡大された同心円上と針との交差の有無により、最も短い長さの時針を検出することを特徴とする請求項5記載の撮像装置。   The needle type specifying means detects the hour hand having the shortest length based on the presence or absence of an intersection between a concentric circle whose radius is gradually enlarged from a coaxial rotation axis and the needle. Imaging device. 前記補正手段による時刻の補正後に、前記針種特定手段で適用した画像データを削除することを特徴とする請求項3〜請求項6の何れか1項記載の撮像装置。   The image pickup apparatus according to any one of claims 3 to 6, wherein the image data applied by the needle type specifying unit is deleted after the time is corrected by the correcting unit. 前記補正手段は、時刻のずれの履歴に基づいて補正時にさらに時刻を調整することを特徴とする請求項3〜請求項7の何れか1項記載の撮像装置。   The imaging apparatus according to claim 3, wherein the correction unit further adjusts the time during correction based on a history of time shift. 前記撮像手段が撮像している前記被写体を表示する表示部を更に有し、前記表示部に前記被写体である時計を撮影するために、少なくとも、前記表示部内の所定の点を中心とする回転角方向の指標を表示することを特徴とする請求項1〜請求項8の何れか1項記載の撮像装置。   The display device further includes a display unit that displays the subject being imaged by the imaging unit, and at least a rotation angle centered on a predetermined point in the display unit in order to photograph the watch that is the subject on the display unit. The imaging apparatus according to any one of claims 1 to 8, wherein a direction index is displayed.
JP2007085607A 2007-03-28 2007-03-28 Imaging apparatus Pending JP2008245126A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007085607A JP2008245126A (en) 2007-03-28 2007-03-28 Imaging apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007085607A JP2008245126A (en) 2007-03-28 2007-03-28 Imaging apparatus

Publications (1)

Publication Number Publication Date
JP2008245126A true JP2008245126A (en) 2008-10-09

Family

ID=39915867

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007085607A Pending JP2008245126A (en) 2007-03-28 2007-03-28 Imaging apparatus

Country Status (1)

Country Link
JP (1) JP2008245126A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017183232A1 (en) * 2016-04-19 2017-10-26 日本電気株式会社 Control device, control system, control method, and program
CN113824902A (en) * 2021-09-30 2021-12-21 杭州海康汽车软件有限公司 Method, device, system, equipment and medium for determining time delay of infrared camera system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017183232A1 (en) * 2016-04-19 2017-10-26 日本電気株式会社 Control device, control system, control method, and program
CN113824902A (en) * 2021-09-30 2021-12-21 杭州海康汽车软件有限公司 Method, device, system, equipment and medium for determining time delay of infrared camera system

Similar Documents

Publication Publication Date Title
US8284264B2 (en) Imaging apparatus, method, and program
US8330850B2 (en) Apparatus and method for shooting a moving image and a still image simultaneously
EP2215831B1 (en) Image capturing apparatus and control method therefor
US10542216B2 (en) Apparatus and method for storing moving image portions
KR101700357B1 (en) Apparatus and method for capturing a jump image
EP2051506A1 (en) Imaging device and imaging control method
JP5931464B2 (en) Imaging device
TWI459126B (en) Image processing device capable of generating a wide-range image, image processing method and recording medium
JP2013013050A (en) Imaging apparatus and display method using imaging apparatus
KR100739585B1 (en) Image pickup apparatus and control method thereof
JP2008054177A (en) Imaging apparatus
JP5533053B2 (en) Camera, camera control program, and shooting teaching method
JP2010054730A (en) Focusing position detecting device, imaging apparatus, and focusing position detecting method
JP4565549B2 (en) Imaging apparatus and focus control method thereof
JP5429588B2 (en) Imaging apparatus and imaging method
JP4407379B2 (en) Electronic camera and image processing system
JP5629456B2 (en) Imaging apparatus and control method thereof
JP4173459B2 (en) Digital camera
JP2008245126A (en) Imaging apparatus
JP2008199443A (en) Imaging apparatus and control method therefor
JP2004145022A (en) Digital camera
JP2003319246A (en) Digital camera
JP2002258344A (en) Camera
JP3997746B2 (en) Digital still camera
JP4356585B2 (en) Digital camera