JP5626825B2 - Time display device, time display method, and time display program - Google Patents

Time display device, time display method, and time display program Download PDF

Info

Publication number
JP5626825B2
JP5626825B2 JP2009092388A JP2009092388A JP5626825B2 JP 5626825 B2 JP5626825 B2 JP 5626825B2 JP 2009092388 A JP2009092388 A JP 2009092388A JP 2009092388 A JP2009092388 A JP 2009092388A JP 5626825 B2 JP5626825 B2 JP 5626825B2
Authority
JP
Japan
Prior art keywords
image
time
hand
needle
minute hand
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.)
Expired - Fee Related
Application number
JP2009092388A
Other languages
Japanese (ja)
Other versions
JP2010243334A (en
Inventor
大聖 笠原
大聖 笠原
忠裕 杉山
忠裕 杉山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2009092388A priority Critical patent/JP5626825B2/en
Publication of JP2010243334A publication Critical patent/JP2010243334A/en
Application granted granted Critical
Publication of JP5626825B2 publication Critical patent/JP5626825B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electric Clocks (AREA)

Description

本発明は、時刻表示装置、時刻表示方法、時刻表示プログラムに関する。   The present invention relates to a time display device, a time display method, and a time display program.

従来、アナログ時計を撮影することにより、撮影したアナログ時計の時針・分針の位置から撮影したときの時刻を読み取り、これにデジタルカメラ本体に設定される現在時刻を合わせるものが存在している。   2. Description of the Related Art Conventionally, there has been a method of photographing an analog clock to read the time when the image was taken from the position of the hour hand / minute hand of the photographed analog clock and to match the current time set in the digital camera body with this.

このようなデジタルカメラとして、例えば、時間差をもって撮影したアナログ時計の2つの撮影画像に基づき、該アナログ時計を構成する時針、分針、秒針を特定し、特定した時針、分針、秒針の撮影画像を用いて時刻情報を取得するものが知られている(特許文献1を参照)。このデジタルカメラの場合、ユーザーはアナログ時計を撮影するだけで、デジタルカメラの時刻を正確に補正することができ、時刻を補正する手間を省くことができる。   As such a digital camera, for example, the hour hand, the minute hand, and the second hand constituting the analog clock are identified based on two photographed images of the analog clock photographed with a time difference, and the photographed images of the identified hour hand, minute hand, and second hand are used. A device that acquires time information is known (see Patent Document 1). In the case of this digital camera, the user can correct the time of the digital camera accurately only by photographing an analog clock, and can save time and effort for correcting the time.

特開2008−245126号公報JP 2008-245126 A

しかし、かかるデジタルカメラにあっては、デジタルカメラに内蔵されている時刻機能を正確に合わせることができるものの、デジタルカメラの液晶表示部などにデジタル表示する時刻を補正するに過ぎなかった。すなわち、時針や分針、又はアナログ時計の文字盤などの撮影画像そのものを活用して時刻を表示することはできず興趣に欠けていた。   However, in such a digital camera, although the time function built in the digital camera can be accurately adjusted, the time for digital display on the liquid crystal display unit of the digital camera is only corrected. In other words, the time cannot be displayed using the captured images themselves such as the hour hand, the minute hand, or the dial face of the analog clock, which is not interesting.

本発明は、上述の従来の課題に鑑みてなされたものであり、アナログ時計の時針や分針などの画像を有効に活用して時刻を表示することにより興趣を高めることができる時刻表示装置、時刻表示方法、時刻表示プログラムを提供することを目的とする。   The present invention has been made in view of the above-described conventional problems, and is a time display device that can enhance interest by displaying the time by effectively utilizing images such as the hour hand and minute hand of an analog timepiece, and the time An object is to provide a display method and a time display program.

請求項1に記載の発明に係る時刻表示装置は、分針と時針及び文字盤を含む画像を取得する第1取得手段と、前記第1取得手段によって取得した前記画像から前記分針と前記時針とを含む針部分を抽出した針抽出画像と、前記針部分の画像を除去した針除去画像とを取得する第2取得手段と、時刻を計時する計時手段と、前記計時手段によって計時した時刻を示すように、該計時手段により計時される時刻が所定時間経過する毎に、前記第2取得手段によって取得した前記針除去画像上に前記針抽出画像に含まれる前記分針と前記時針を重ね合わせて該計時された時刻に応じて回転するように合成する合成手段と、前記合成手段によって合成された画像を前記計時手段により計時される時刻が所定時間経過する毎に、表示部に表示する表示手段と、を備えたことを特徴とする。 The time display device according to the first aspect of the invention includes a first acquisition unit that acquires an image including a minute hand, an hour hand, and a dial, and the minute hand and the hour hand from the image acquired by the first acquisition unit. A second acquisition means for acquiring a needle extraction image obtained by extracting a needle part including the needle part image and a needle removal image obtained by removing the needle part image; a time measurement means for measuring time; and a time measured by the time measurement means. In addition, every time when the time measured by the time measuring unit elapses a predetermined time, the minute hand and the hour hand included in the needle extraction image are overlapped on the needle removal image acquired by the second acquisition unit, and the time counting is performed. And a display unit for displaying the image combined by the combining unit on the display unit every time a predetermined time elapses. Characterized by comprising a and.

請求項2に記載の発明に係る時刻表示装置は、前記計時手段によって計時した時刻を表示する時刻表示モードを含む複数のモードの中から現在のモードを選択するモード選択手段を備え、前記モード選択手段によって前記時刻表示モードが選択されている間は、前記計時手段による計時の処理、前記合成手段による合成の処理、及び前記表示手段による表示の処理を順次繰り返し行うことを特徴とする。   The time display device according to claim 2 comprises mode selection means for selecting the current mode from a plurality of modes including a time display mode for displaying the time measured by the time measuring means, and the mode selection While the time display mode is selected by the means, the timekeeping process by the timekeeping means, the composition process by the composition means, and the display process by the display means are sequentially repeated.

請求項3に記載の発明に係る時刻表示装置は、前記第1取得手段は、異なる時刻において、前記画像を複数取得し、前記第2取得手段は、前記第1取得手段によって取得した複数の前記画像から、前記針抽出画像と前記針除去画像とをそれぞれ前記異なる時刻ごとに取得し、前記合成手段は、前記第2取得手段によって取得された前記複数の針除去画像を合成して1つの針除去画像を生成する生成手段を備え、前記合成手段は、前記計時手段によって計時した時刻を示すように、前記生成手段によって生成した前記1つの針除去画像と前記第2取得手段によって取得した前記分針と前記時針を抽出した針抽出画像とを合成することを特徴とする。
請求項4に記載の発明に係る時刻表示装置は、前記第1取得手段は、異なる時刻において、前記画像を複数取得し、前記第2取得手段は、前記第1取得手段によって取得した複数の前記画像の変化に基づき、前記分針と前記時針を特定することを特徴とする。
In the time display device according to claim 3, the first acquisition unit acquires a plurality of the images at different times, and the second acquisition unit acquires the plurality of the images acquired by the first acquisition unit. From the image, the needle extraction image and the needle removal image are acquired at each different time, and the synthesis unit synthesizes the plurality of needle removal images acquired by the second acquisition unit to obtain one needle. Generating means for generating a removal image, wherein the synthesizing means indicates the time taken by the timing means and the minute hand acquired by the one needle removal image generated by the generating means and the second acquisition means And a hand-extracted image obtained by extracting the hour hand.
In the time display device according to claim 4, the first acquisition unit acquires a plurality of the images at different times, and the second acquisition unit acquires the plurality of the images acquired by the first acquisition unit. The minute hand and the hour hand are specified based on a change in the image.

請求項に記載の発明に係る時刻表示装置は、前記第1取得手段は、撮像手段による撮像によって前記分針と時針及び文字盤を含む画像を取得することを特徴とする。 The time display device according to a fifth aspect of the invention is characterized in that the first acquisition unit acquires an image including the minute hand, the hour hand, and the dial face by imaging by the imaging unit.

請求項に記載の発明に係る時刻表示装置は、前記針除去画像は、前記第1取得手段によって取得した前記画像から針部分を除去された文字盤部分を抽出した文字盤抽出画像であることを特徴とする。
請求項7に記載の発明に係る時刻表示装置は、前記画像は時計を表す画像であって、前記時計の中心及び大きさを調整するための撮影画像枠を表示する枠表示手段を更に備え、前記第1取得手段は、前記枠表示手段により表示される撮影画像枠に基づき前記画像を取得することを特徴とする請求項1から請求項6までの何れかに記載の時刻表示装置。
In the time display device according to the sixth aspect of the present invention, the hand removal image is a face extraction image obtained by extracting a face portion from which the hand portion has been removed from the image acquired by the first acquisition means. It is characterized by.
The time display device according to the invention of claim 7 is further provided with frame display means for displaying a photographed image frame for adjusting the center and size of the clock, wherein the image is an image representing a clock. The time display device according to claim 1, wherein the first acquisition unit acquires the image based on a captured image frame displayed by the frame display unit.

請求項8に記載の発明に係る時刻表示方法は、分針と時針及び文字盤を含む画像を取得する第1取得ステップと、前記第1取得ステップによって取得した前記画像を前記分針と前記時針とを含む針部分を抽出した針抽出画像と、前記針部分の画像を除去した針除去画像とを取得する第2取得ステップと、時刻を計時する計時ステップと、前記計時ステップによって計時した時刻を示すように、該計時ステップにより計時される時刻が所定時間経過する毎に、前記第2取得ステップによって取得した前記針除去画像上に前記針抽出画像に含まれる前記分針と前記時針を重ね合わせて該計時された時刻に応じて回転するように合成する合成ステップと、前記合成ステップによって合成された画像を前記計時ステップにより計時される時刻が所定時間経過する毎に、表示部に表示する表示ステップと、を備えたことを特徴とする。 According to an eighth aspect of the present invention, there is provided a time display method comprising: a first acquisition step of acquiring an image including a minute hand, an hour hand and a dial; and the image acquired by the first acquisition step using the minute hand and the hour hand. A second acquisition step of acquiring a needle extraction image obtained by extracting a needle portion including the needle portion image and a needle removal image obtained by removing an image of the needle portion; a time measurement step for measuring time; and a time measured by the time measurement step. In addition, every time when the time counted by the timing step elapses a predetermined time, the minute hand and the hour hand included in the needle extraction image are superimposed on the needle removal image acquired by the second acquisition step, and the time measurement is performed . A synthesis step of synthesizing the images so as to rotate according to the set time, and a time measured by the timing step for the image synthesized by the synthesis step is a predetermined time. Each time elapses, characterized by comprising a display step of displaying on the display unit.

請求項9に記載の発明に係る時刻表示プログラムは、時刻表示装置を備えるコンピュータを、分針と時針及び文字盤を含む画像を取得する第1取得手段、前記第1取得手段によって取得した前記画像を前記分針と前記時針とを含む針部分を抽出した針抽出画像と、前記針部分の画像を除去した針除去画像とを取得する第2取得手段、時刻を計時する計時手段、前記計時手段によって計時した時刻を示すように、該計時手段により計時される時刻が所定時間経過する毎に、前記第2取得手段によって取得した前記針除去画像上に前記針抽出画像に含まれる前記分針と前記時針を重ね合わせて該計時された時刻に応じて回転するように合成する合成手段、前記合成手段によって合成された画像を前記計時手段により計時される時刻が所定時間経過する毎に、表示部に表示する表示手段として機能させることを特徴とする。 According to a ninth aspect of the present invention, there is provided a time display program, comprising: a first acquisition unit that acquires an image including a minute hand, an hour hand, and a dial; and the image acquired by the first acquisition unit. Second acquisition means for acquiring a needle extraction image obtained by extracting a needle portion including the minute hand and the hour hand, and a needle removal image obtained by removing the image of the needle portion, time measurement means for measuring time, and time measurement by the time measurement means When the time measured by the time measuring means passes a predetermined time, the minute hand and the hour hand included in the needle extraction image are placed on the needle removal image acquired by the second acquisition means. superposing synthesized synthesizing means so as to rotate in response to the regimen at by time, the combining unit time measured the predetermined time by the image combining said timing means has elapsed by Each that, characterized in that to function as a display means for displaying on the display unit.

本発明によれば、アナログ時計の時針や分針などの画像を有効に活用して時刻を表示することにより興趣を高めることができる。   According to the present invention, it is possible to enhance the interest by displaying the time by effectively utilizing images such as the hour hand and minute hand of an analog timepiece.

本発明の実施形態に係る時刻表示装置を備えるデジタルカメラの機能構成図である。It is a functional block diagram of a digital camera provided with the time display apparatus which concerns on embodiment of this invention. 図1のデジタルカメラのアナログ時計撮像処理を示すフローチャートである。2 is a flowchart showing an analog clock imaging process of the digital camera of FIG. 1. 図1のデジタルカメラのアナログ時計撮像処理におけるアナログ時計の分針や時針の検出前の状態を説明するための図である。It is a figure for demonstrating the state before the detection of the minute hand and hour hand of an analog timepiece in the analog timepiece imaging process of the digital camera of FIG. 図1のデジタルカメラのアナログ時計撮像処理におけるアナログ時計の分針や時針の検出中の状態を説明するための図である。It is a figure for demonstrating the state during the detection of the minute hand and hour hand of an analog timepiece in the analog timepiece imaging process of the digital camera of FIG. 図1のデジタルカメラの時刻表示処理を示すフローチャートである。It is a flowchart which shows the time display process of the digital camera of FIG. 図1のデジタルカメラの時刻表示処理で合成した画像の表示例を示す図である。It is a figure which shows the example of a display of the image synthesize | combined by the time display process of the digital camera of FIG.

以下、図1〜図6を参照して、本発明の実施の形態に係る時刻表示装置として機能するデジタルカメラ10について説明する。   A digital camera 10 that functions as a time display device according to an embodiment of the present invention will be described below with reference to FIGS.

[機能構成図]
図1は、本発明の実施の形態に係る時刻表示装置として機能するデジタルカメラ10の機能構成図である。このデジタルカメラ10は、基本となる動作モードとして、撮影モードと、時刻表示モードとを有している。
撮影モードでは、ユーザーの操作に応じて、分針や時針及び文字盤を含むアナログ時計を被写体として撮影し、撮影したアナログ時計の画像を分針や時針を含む画像と文字盤を含む画像とに分割して記録するアナログ時計撮像処理を行う。時刻表示モードでは、撮影モードで撮影したアナログ時計の画像から分割した文字盤の画像に、現在の時刻にあわせて、同じく撮影モードで撮影したアナログ時計の画像から分割した分針や時針の画像を合成し、こうして合成した画像を表示する。
[Function configuration diagram]
FIG. 1 is a functional configuration diagram of a digital camera 10 that functions as a time display device according to an embodiment of the present invention. The digital camera 10 has a photographing mode and a time display mode as basic operation modes.
In the shooting mode, an analog clock including the minute hand, hour hand, and dial is photographed as a subject according to the user's operation, and the captured analog clock image is divided into an image including the minute hand and hour hand and an image including the dial. Analog clock imaging processing is performed. In the time display mode, the image of the dial divided from the analog clock image taken in shooting mode is combined with the image of the minute hand and hour hand divided from the analog clock image shot in the same shooting mode according to the current time. Then, the synthesized image is displayed.

本実施の形態のデジタルカメラ10は、CPU20、CPU20がデジタルカメラ10の各種機能を実現するためのプログラムなどを記憶したプログラムROM25、撮像素子30、画像RAM40、入力部50、分割画像RAM80、計時部85、画像合成部90、及び、液晶表示部100を備える。また、CPU20は、時針・分針検出部60、及び、画像取得部70を備える。尚、時針・分針検出部60、及び、画像取得部70は、プログラムROM25に記憶されたプログラムを実行することによりCPU20で機能するものとする。また、入力部50は、ユーザーの操作を検出することにより本発明に関連するモード選択手段として機能する他、画像の記録指示を検出するためのシャッターキーや、後述する時刻表示モードへのモード遷移を検出するためのキーを含む。分割画像RAM80は、抽出した時針・分針画像を記憶する時針・分針画像メモリ801と、背景(文字盤・ベゼル)画像を記憶する背景(文字盤・ベゼル)画像メモリ802とが含まれる。   The digital camera 10 according to the present embodiment includes a CPU 20, a program ROM 25 that stores programs for the CPU 20 to realize various functions of the digital camera 10, an image sensor 30, an image RAM 40, an input unit 50, a divided image RAM 80, and a time measuring unit. 85, an image composition unit 90, and a liquid crystal display unit 100. In addition, the CPU 20 includes an hour / minute hand detection unit 60 and an image acquisition unit 70. It is assumed that the hour / minute hand detection unit 60 and the image acquisition unit 70 function in the CPU 20 by executing a program stored in the program ROM 25. The input unit 50 functions as a mode selection unit related to the present invention by detecting a user operation, and also uses a shutter key for detecting an image recording instruction and a mode transition to a time display mode described later. Includes a key to detect. The divided image RAM 80 includes an hour / minute hand image memory 801 for storing the extracted hour / minute hand image, and a background (clock / bezel) image memory 802 for storing a background (clock / bezel) image.

撮像素子30は、CPU20からの命令に基づき、撮像範囲にある被写体の画像を取り込む。撮像素子30は、アナログ時計が撮像範囲にある場合、撮影モードにおいて、ユーザーの操作に応じて、分針、時針及び文字盤を含むアナログ時計を被写体像として撮像する。撮像素子30は、CCD又はCMOS等により形成され、被写体画像(イメージ)を結像し、RGBの各色の光の強さを、電流値に変換して画像データを生成する。
画像RAM40は、撮像素子30により撮像されて取得された画像データを記憶する。この画像データには、撮像素子30が撮影モードにて撮像した、分針と時針及び分針、時針の背後に存在する文字盤を含むアナログ時計の画像データを含む。時針・分針検出部60は、CPU20が撮像した画像データから時針・分針などを検出する際に照合する時針・分針検出用データを含む、本実施の形態のデジタルカメラ10が必要な機能を実現するための必要なデータを記憶している。
CPU20は、プログラムROM25に記憶されたプログラムを実行して、単独で、又は他の構成部と協働して様々な処理を行い、デジタルカメラ10の各種手段、各種構成部及び各種機能を実現する。
The image sensor 30 captures an image of a subject in the imaging range based on a command from the CPU 20. When the analog clock is within the imaging range, the image sensor 30 captures an analog clock including a minute hand, hour hand, and dial as a subject image according to a user operation in the shooting mode. The image sensor 30 is formed by a CCD or a CMOS, forms a subject image (image), converts the intensity of light of each color of RGB into a current value, and generates image data.
The image RAM 40 stores image data acquired by being imaged by the image sensor 30. The image data includes image data of an analog timepiece including a minute hand, an hour hand and a minute hand, and a dial existing behind the hour hand, which is imaged by the image pickup device 30 in a photographing mode. The hour hand / minute hand detection unit 60 realizes functions necessary for the digital camera 10 of the present embodiment, including hour hand / minute hand detection data to be collated when detecting the hour hand / minute hand from the image data captured by the CPU 20. Necessary data for memorizing is stored.
The CPU 20 executes a program stored in the program ROM 25 and performs various processes independently or in cooperation with other components, thereby realizing various means, various components, and various functions of the digital camera 10. .

入力部50は、デジタルカメラ10の外方に、ユーザーが必要に応じて自由に操作できるように形成されており、ユーザーの操作により入力されるユーザーからの命令をCPU20に指示するユーザ・インタフェースである。具体的には、入力部50は、ユーザーの操作に応じて、CPU20が計時部85で計時した時刻を表示する時刻表示モード、アナログ時計を撮影してアナログ時計の文字盤と分針や時針の画像を抽出するアナログ時計撮影処理などを行う撮影モードなどモードの選択、又はモードの終了をCPU20に指示する。入力部50は、例えば、ボタン、ダイヤルなどであってもよく、ユーザーからのモード選択以外の指示を入力してもよい。本実施の形態では、特に断らない限り、ユーザーからの指示は入力部50を介して入力される。   The input unit 50 is formed on the outside of the digital camera 10 so that the user can freely operate as necessary. The input unit 50 is a user interface that instructs the CPU 20 to input a command from the user input by the user's operation. is there. Specifically, the input unit 50 displays a time display mode for displaying the time measured by the time measuring unit 85 by the CPU 20 according to the user's operation, images of the analog clock, and images of the dial of the analog clock, the minute hand, and the hour hand. The CPU 20 is instructed to select a mode such as a photographing mode for performing analog clock photographing processing for extracting the image or to end the mode. The input unit 50 may be, for example, a button or a dial, and may input an instruction other than mode selection from the user. In the present embodiment, unless otherwise specified, an instruction from the user is input via the input unit 50.

時針・分針検出部60は、CPU20が画像RAM40から取得した画像データの中から、画像RAM40に記憶した時針・分針検出用データを参照して時針及び分針の画像部分の検出を行う。
画像取得部70は、CPU20により取得されて時針・分針検出部60により検出が行われた画像を、分針と時針とを含む針部分の画像と、針部分の画像を除去した文字盤の画像とに分割させて取得する。
分割画像RAM80は、画像取得部70により取得された分針と時針とを含む針部分の画像を時針・分針画像メモリ801に記憶し、一方、針部分の画像を除去した文字盤の画像を背景画像として背景(文字盤・ベゼル)画像メモリ802に記憶する。また、分割に限らず、針部分の画像と針部分の画像を除去した文字盤の画像とを抽出した画像であってもよい。
The hour / minute hand detection unit 60 refers to the hour / minute hand detection data stored in the image RAM 40 from the image data acquired by the CPU 20 from the image RAM 40 and detects the image portion of the hour and minute hands.
The image acquisition unit 70 acquires the image acquired by the CPU 20 and detected by the hour hand / minute hand detection unit 60 from the image of the hand portion including the minute hand and the hour hand, and the image of the dial face from which the image of the hand portion is removed. Get divided into two.
The divided image RAM 80 stores an image of the hand portion including the minute hand and the hour hand acquired by the image acquisition unit 70 in the hour / minute hand image memory 801, while an image of the dial face from which the image of the hand portion is removed is a background image. As a background (clock face / bezel) image memory 802. Further, the image is not limited to division, and may be an image obtained by extracting a needle part image and a dial image obtained by removing the needle part image.

計時手段として機能する計時部85は、CPU20の指示に応じて現在の時刻を計時する。
合成手段として機能する画像合成部90は、入力部50が操作されて時刻表示モードが選択されると、CPU20からの指示に応じて、分割画像RAM80に記憶されている画像取得部70によって分割された文字盤の画像上に、計時部85によって計時した時刻を示すように、分割画像RAM80に記憶されている分割された分針と時針とを含む針部分の画像を合成する。
表示手段として機能するCPU20は、画像合成部90によって合成された画像を、表示部としての液晶表示部100に表示する。
The clock unit 85 that functions as a clock unit counts the current time according to an instruction from the CPU 20.
When the input unit 50 is operated and the time display mode is selected, the image synthesizing unit 90 functioning as a synthesizing unit is divided by the image acquisition unit 70 stored in the divided image RAM 80 in accordance with an instruction from the CPU 20. The image of the hand portion including the divided minute hand and the hour hand stored in the divided image RAM 80 is synthesized so as to indicate the time measured by the time measuring unit 85 on the image of the dial.
The CPU 20 functioning as a display unit displays the image synthesized by the image synthesis unit 90 on the liquid crystal display unit 100 as a display unit.

また、画像合成部90は、画像取得部70によって異なる時刻ごとに分割した複数の文字盤画像を合成して1つの文字盤画像を合成する生成手段であり、画像生成部としても機能する。
また、画像合成部90は、文字盤画像を生成した後、生成した文字盤の画像に、分割画像RAM80に記憶している針部分の画像、すなわち、分針と時針の画像を合成してCPU20が計時する時刻を示すアナログ時計の画像を生成する。この時、時針、分針を撮影されたアナログ時計の中心を軸に実際の時刻に応じて回転するように合成していく。これによって、時刻に応じて針が動く時計の写真を再生することが可能となる。
The image synthesizing unit 90 is a generating unit that combines a plurality of dial images divided at different times by the image acquiring unit 70 to synthesize one dial image, and also functions as an image generating unit.
Further, after generating the dial image, the image synthesizing unit 90 synthesizes the image of the needle portion stored in the divided image RAM 80 with the generated dial image, that is, the image of the minute hand and the hour hand, and the CPU 20 An analog clock image indicating the time to be measured is generated. At this time, the hour hand and the minute hand are synthesized so as to rotate according to the actual time around the center of the analog clock taken. As a result, it is possible to reproduce a picture of a clock whose hands move according to time.

また、入力部50の操作により時刻表示モードが選択されている間、時刻表示モードの終了指示があるまで、計時部85による現在時刻の計時の処理、画像合成部90による文字盤画像と時針、分針の画像との合成により現在時刻を示す時計の画像を生成する処理、及びCPU20による生成した現在時刻を示す時計の画像を液晶表示部100に表示する処理が順次行われる。   Further, while the time display mode is selected by the operation of the input unit 50, the timekeeping unit 85 processes the current time until the time display mode is instructed, the dial image and the hour hand by the image synthesizing unit 90, A process of generating a clock image indicating the current time by combining with the image of the minute hand and a process of displaying the clock image indicating the current time generated by the CPU 20 on the liquid crystal display unit 100 are sequentially performed.

[アナログ時計撮像処理]
図2は、デジタルカメラ10が撮影モードで実行する、分針や時針及び文字盤を含むアナログ時計を被写体として撮影し、撮影した時計の画像を分針や時針を含む画像と文字盤を含む画像とに分割して記憶するアナログ時計撮影処理を示すフローチャートである。図3は、アナログ時計撮像処理におけるアナログ時計の分針や時針の検出前の状態を示す図である。図4は、撮影モードで行われるアナログ時計撮像処理におけるアナログ時計の分針や時針の検出中の状態を示す図である。
[Analog clock imaging processing]
FIG. 2 shows an analog clock including a minute hand, hour hand, and dial, which is executed by the digital camera 10 in a shooting mode, as a subject, and the captured clock image is converted into an image including the minute hand and hour hand and an image including a dial. It is a flowchart which shows the analog timepiece imaging | photography process divided | stored and memorize | stored. FIG. 3 is a diagram illustrating a state before detection of the minute hand and hour hand of the analog timepiece in the analog timepiece imaging process. FIG. 4 is a diagram illustrating a state in which the minute hand and hour hand of the analog clock are being detected in the analog clock imaging process performed in the shooting mode.

入力部50が操作されて撮影モードが選択され、アナログ時計撮像処理が指示されると、CPU20は、図2に示すフローチャートの処理を実行するためのプログラムをプログラムROM25から読み出す。CPU20は、このプログラムに従って、図2に示すフローチャートにおける各種処理を実行する。   When the photographing unit is selected by operating the input unit 50 and an analog clock imaging process is instructed, the CPU 20 reads a program for executing the process of the flowchart shown in FIG. The CPU 20 executes various processes in the flowchart shown in FIG. 2 according to this program.

まず、図2を参照して、CPU20の制御による撮影モードで実行される撮像処理について説明する。   First, with reference to FIG. 2, the imaging process executed in the imaging mode controlled by the CPU 20 will be described.

はじめに、CPU20は、アナログ時計撮像処理を行う(ステップS11)。アナログ時計撮像処理では、撮像素子30の前に置かれたアナログ時計の撮像を行い、アナログ時計を構成する分針3と時針4及び文字盤5を含む画像の取得を行う。また、ここで文字盤5とは、当該アナログ時計のケース部分、または、そのケース部分の外側に取り付けられるベゼルなどの金属製の装飾部材を含んでもよい。   First, the CPU 20 performs an analog clock imaging process (step S11). In the analog clock imaging process, an analog clock placed in front of the image sensor 30 is imaged, and an image including the minute hand 3, hour hand 4 and dial 5 constituting the analog clock is acquired. Here, the dial 5 may include a case part of the analog timepiece or a metallic decorative member such as a bezel attached to the outside of the case part.

この場合、被写体の対象となるアナログ時計は、必ずしも動いている本物のアナログ時計である必要はなく、分針、時針及び文字盤を有する時計であればよい。すなわち、アナログ時計を撮影した写真やカタログ、又は玩具の時計であってもよい。アナログ時計画像処理において取得された画像は、画像RAM40において記憶される。   In this case, the analog clock that is the subject of the subject need not necessarily be a real analog clock that is moving, and may be a clock that has a minute hand, an hour hand, and a dial. That is, it may be a photo or catalog of an analog clock or a toy clock. The image acquired in the analog clock image processing is stored in the image RAM 40.

尚、アナログ時計撮像処理において、アナログ時計を構成する分針3と時針4及び文字盤5を含む画像の取得は異なる時刻において少なくとも2回、望ましくは複数回行うことが好ましい。すなわち、分針3と時針4の存在により、その背後にある文字盤5に記載されている時刻を表示する数文字8や、文字盤5の模様が隠れてしまうことがあるため、分針3と時針4とにより隠れる文字盤5の位置が異なる時刻で、少なくとも2回アナログ時計撮像処理により撮像を行い、こうして撮像した少なくとも2枚の画像を画像RAM40に記憶する。
また、少なくとも2回のアナログ時計撮像処理を必要とする場合、1回目のアナログ時計撮像処理の後、もう一度異なる時刻において2回目のアナログ時計撮像処理を行う必要がある旨のメッセージをユーザーに対し、音や液晶表示又はメールなどで報知するようにしてもよい。
In the analog clock imaging process, it is preferable to acquire images including the minute hand 3, hour hand 4, and dial 5 constituting the analog clock at least twice, preferably a plurality of times at different times. In other words, the presence of the minute hand 3 and the hour hand 4 may obscure several characters 8 for displaying the time described on the dial 5 behind it and the pattern of the dial 5, so the minute hand 3 and the hour hand At the time when the position of the dial 5 to be hidden differs from that at 4, the image is taken at least twice by the analog clock imaging process, and at least two images thus taken are stored in the image RAM 40.
In addition, when the analog clock imaging process is required at least twice, a message that the second analog clock imaging process needs to be performed again at a different time after the first analog clock imaging process is sent to the user. You may make it alert | report by a sound, a liquid crystal display, or an email.

また、2回のアナログ時計撮影処理を必要とする場合であっても、ユーザーの選択により、1回のアナログ時計撮影処理だけで終了させることもできる。この場合には、予め用意された複数の文字盤の中からユーザーが好みの文字盤を選択して使用するようにしてもよい。   Further, even when two analog clock photographing processes are required, it can be ended only by one analog clock photographing process by the user's selection. In this case, the user may select and use a favorite dial from a plurality of dials prepared in advance.

次に、画像取得部70は、CPU20の命令により撮像した画像から、アナログ時計の文字盤5の部分と、分針3と時針4とにより構成される針部分を分割させた画像の生成を行う(ステップS12)。本実施の形態では、画像取得部70は、画像RAM40において記憶された画像を、アナログ時計の分針3と時針4とにより構成される針部分の画像と、分針3と時針4とにより構成される針部分の画像を除去した文字盤5の部分の画像と、に分割する処理を行う。   Next, the image acquisition unit 70 generates an image obtained by dividing the portion of the dial 5 of the analog timepiece and the hands composed of the minute hand 3 and the hour hand 4 from the image captured by the instruction of the CPU 20 ( Step S12). In the present embodiment, the image acquisition unit 70 includes an image stored in the image RAM 40, an image of a hand portion constituted by the minute hand 3 and the hour hand 4 of the analog clock, and a minute hand 3 and the hour hand 4. The image is divided into the image of the portion of the dial 5 from which the image of the needle portion is removed.

また、CPU20は、画像RAM40に記憶した時針・分針検出用データと照合して分針3と時針4の画像を全て抽出できたか否かを判別するようにしてもよい。ここで、ステップS11で、分針3と時針4と文字盤5との何れかが重なって撮像されたと判別された場合には、もう一度異なる時刻において再度アナログ時計撮像処理を行う必要がある旨のメッセージをユーザーに対し、音や液晶表示又はメールなどで報知するようにしてもよい。そして、ユーザーがこの報知に従わずに、再度アナログ時計撮影処理を行わなかった場合には、予め用意された複数の分針及び時針の中からユーザーが好みの分針及び時針を選択して取得された分針又は時針として使用することもできる。   Further, the CPU 20 may determine whether or not all the images of the minute hand 3 and the hour hand 4 have been extracted by collating with the hour / minute hand detection data stored in the image RAM 40. Here, if it is determined in step S11 that any one of the minute hand 3, hour hand 4, and dial 5 has been captured, a message indicating that it is necessary to perform analog clock imaging processing again at a different time. May be notified to the user by sound, liquid crystal display or e-mail. And when the user did not follow this notification and did not perform the analog clock photographing process again, the user selected and acquired the favorite minute hand and hour hand from the plurality of minute hands and hour hands prepared in advance. It can also be used as a minute or hour hand.

この際、1回目のアナログ時計撮像処理において、CPU20により文字盤5の色が単一色や単一柄であると判別された場合には複数回の撮影を行わないようにしてもよい。分針3や時針4が除去されていたとしても、例えば、分針3や時針4の背後にある文字盤5の色や柄を、周りの色や柄に基づいて補完処理を行って埋めることによって、針3や時針4、文字盤5の画像を生成するようにしてもよい。   At this time, in the first analog clock imaging process, if the CPU 20 determines that the color of the dial 5 is a single color or a single pattern, it may not be performed a plurality of times. Even if the minute hand 3 and hour hand 4 have been removed, for example, by filling the color and pattern of the dial 5 behind the minute hand 3 and hour hand 4 by performing complementary processing based on the surrounding color and pattern, Images of the hand 3, hour hand 4, and dial 5 may be generated.

また、撮影処理の対象となるアナログ時計を、分針、時針及び文字盤を有する時計として説明したがこれに限定されない。すなわち、分針だけ、時針だけ、又は文字盤だけを有する時計、あるいはその他カタログの画像であってもよい。また、取得した画像に分針や時針又は文字盤の画像がない場合には、ユーザーは、代替画像として、予め用意された分針や時針又は文字盤の画像から所望する画像を選択して、分針、時針又は文字盤の画像とするようにしてもよい。   In addition, although the analog timepiece to be imaged is described as a timepiece having a minute hand, an hour hand, and a dial, it is not limited to this. That is, it may be a clock having only the minute hand, only the hour hand, or only the dial, or other catalog images. In addition, when there is no image of the minute hand, hour hand or dial in the acquired image, the user selects a desired image from the image of the minute hand, hour hand or dial prepared in advance as an alternative image, An image of an hour hand or a dial may be used.

次に、CPU20は、こうして分割によって抽出した文字盤画像と針画像とを対応付けて分割画像RAM80に記憶する(ステップS13)。文字盤画像とは、分割した画像のうち、アナログ時計の文字盤を含む画像であり、針画像とは、分割した画像のうちアナログ時計の分針や時針を含む画像である。この処理が終了すると、撮像処理を終了する。   Next, the CPU 20 stores the dial face image and the hand image thus extracted in association with each other in the divided image RAM 80 (step S13). The dial image is an image including the dial of an analog clock among the divided images, and the hand image is an image including the minute hand and the hour hand of the analog clock among the divided images. When this process ends, the imaging process ends.

この撮像処理において、液晶表示部100に表示される表示例を図3及び図4に示す。
ステップS11で、撮像処理におけるアナログ時計撮像処理が開始されると、CPU20は、図3に示すように、液晶表示部100に撮像処理の対象となる被写体、すなわち、対象となるアナログ時計1の中心、大きさを調整するための撮影画面枠2を表示する。
この状態で、アナログ時計1を撮影画面枠2に収めると、図4に示すように、アナログ時計1の分針3を検出するための分針検出枠6、及び時針4を検出するための時針検出枠7が表示される。ステップS12に進み、CPU20は、時計・分針検出部60が、画像RAM40に記憶された時針・分針検出用データを照合して、分針検出枠6及び時針検出枠7に収められた分針3及び時針4の検出を行う。
In this imaging process, display examples displayed on the liquid crystal display unit 100 are shown in FIGS.
When the analog clock imaging process in the imaging process is started in step S11, the CPU 20 causes the liquid crystal display unit 100 to display the subject of the imaging process, that is, the center of the target analog clock 1 as shown in FIG. The photographing screen frame 2 for adjusting the size is displayed.
In this state, when the analog timepiece 1 is placed in the photographing screen frame 2, as shown in FIG. 4, the minute hand detection frame 6 for detecting the minute hand 3 of the analog timepiece 1 and the hour hand detection frame for detecting the hour hand 4. 7 is displayed. In step S12, the CPU 20 compares the hour hand / minute hand detection data stored in the image RAM 40 with the clock / minute hand detector 60, and the minute hand 3 and hour hand stored in the minute hand detection frame 6 and hour hand detection frame 7. 4 is detected.

ここで、CPU20は、分針3及び時針4を、例えば、画像認識処理によって検出してもよい。例えば、CPU20は、撮像した画像データに基づいて撮像した被写体の特徴データ(被写体の輪郭や特徴点の認識、及び、それらの位置関係等も認識して、それらを数値化した数値データ)を算出し、時針・分針検出用データに予め登録されている各種類の時針・分針の特徴データと比較照合することにより、該撮像された被写体の画像データから時針・分針の部分を特定する。このとき、撮像した画像データから、時針・分針検出用データに登録されている各種類の時針・分針の特徴データに対して、最も一致度の高い部分を時針・分針の画像データとして検出するようにしてもよい。また、同じアナログ時計を異なる時刻で複数回撮影し、それらの画像を比較照合し、変化が大きい領域から時針・分針を検出するようにしてもよい。   Here, the CPU 20 may detect the minute hand 3 and the hour hand 4 by, for example, image recognition processing. For example, the CPU 20 calculates the feature data of the photographed subject (recognition of the contour and feature points of the subject and their positional relationship etc., and numerical values obtained by digitizing them) based on the captured image data. Then, by comparing with the characteristic data of each type of hour hand / minute hand registered in advance in the hour / minute hand detection data, the hour / minute hand portion is specified from the image data of the imaged subject. At this time, from the captured image data, the portion with the highest degree of coincidence is detected as the image data of the hour hand / minute hand with respect to the characteristic data of each type of hour hand / minute hand registered in the hour / minute hand detection data. It may be. Alternatively, the same analog clock may be photographed a plurality of times at different times, the images may be compared and collated, and the hour / minute hands may be detected from an area where the change is large.

[時刻表示処理]
図5は、デジタルカメラ10が時刻表示モードで実行する時刻表示処理を示すフローチャートである。図6は、時刻表示処理で合成した画像の表示例を示す図である。
[Time display processing]
FIG. 5 is a flowchart showing time display processing executed by the digital camera 10 in the time display mode. FIG. 6 is a diagram illustrating a display example of an image synthesized by the time display process.

ユーザーにより入力部50が操作されて時刻表示モードが選択されると、CPU20は、図5に示すフローチャートの処理を実行するためのプログラムをプログラムROM25から読み出す。CPU20は、このプログラムに従って、図5に示すフローチャートにおける各種処理を実行する。   When the user operates the input unit 50 to select the time display mode, the CPU 20 reads a program for executing the processing of the flowchart shown in FIG. The CPU 20 executes various processes in the flowchart shown in FIG. 5 according to this program.

まず、図5を参照して、CPU20の制御による時刻表示モードで実行される時刻表示処理について説明する。   First, with reference to FIG. 5, the time display process performed in the time display mode by control of CPU20 is demonstrated.

はじめに、CPU20は、ユーザーの指示に応じて、時計画像(元画像)を選択する(ステップS21)。この処理では、CPU20は、分割画像RAM80に対応づけて記憶されている一又は複数の分割した文字盤画像と針画像を液晶表示部100に表示し、ユーザーが指定した文字盤画像と針画像とを選択する。
尚、文字盤画像と針画像は、分割画像RAM80に記憶された同一のアナログ時計の画像から抽出された画像を選択するようにしてもよいが、本発明はこれに限定されない。例えば、文字盤画像と針画像をそれぞれ別々のアナログ時計の画像から選択できるようにしてもよい。
First, the CPU 20 selects a clock image (original image) according to a user instruction (step S21). In this process, the CPU 20 displays one or a plurality of divided dial images and needle images stored in association with the divided image RAM 80 on the liquid crystal display unit 100, and the dial image and the needle image designated by the user. Select.
Note that the dial image and the hand image may be selected from images extracted from the same analog clock image stored in the divided image RAM 80, but the present invention is not limited to this. For example, the dial image and the hand image may be selected from images of different analog clocks.

次に、CPU20は、計時部85にて計時した時刻を現在時刻として取得する(ステップS22)。
次に、画像合成部90は、CPU20の命令により、取得した現在時刻を示すアナログ時計の画像となるように対応する文字盤画像と針画像とを合成して合成画像を作成する(ステップS23)。この処理では、ステップS21で選択した文字盤の画像上に、CPU20によって計時した現在の時刻を示すように、ステップS21で選択した分針と時針の画像を重ね合わせる処理を行う。この時、時針、分針を画面の中心、つまり、撮影されたアナログ時計の中心を軸に実際の時刻に応じて回転するように合成していく。
Next, the CPU 20 acquires the time measured by the time measuring unit 85 as the current time (step S22).
Next, the image synthesizing unit 90 creates a synthesized image by synthesizing the corresponding dial face image and the hand image so as to become an image of the analog clock indicating the acquired current time in accordance with an instruction of the CPU 20 (step S23). . In this process, the image of the minute hand selected in step S21 and the image of the hour hand are superimposed on the dial image selected in step S21 so that the current time measured by the CPU 20 is indicated. At this time, the hour hand and the minute hand are synthesized so as to rotate according to the actual time around the center of the screen, that is, the center of the analog clock taken.

次に、CPU20は、こうして作成した合成画像を液晶表示部100に表示させる(ステップS24)。   Next, the CPU 20 displays the composite image thus created on the liquid crystal display unit 100 (step S24).

次に、CPU20は、表示終了指示があるか否かを判別する(ステップS25)。すなわちこの処理では、ユーザーにより、入力部50が操作されて撮影モードなどの時刻表示モード以外のモードが選択されるなどして、時刻表示の終了指示が出たか否かを判別する。CPU20は、表示終了指示がないと判別したときには、ステップS22の処理に戻る一方で、表示終了指示があると判別したときには、時刻表示処理を終了する。
したがって、ユーザーにより時刻表示モードが選択されている間は、ステップS22〜ステップS24の処理が順次繰り返し行われ、液晶表示部100において、現在の時刻を表示するように、現在の時刻を取得する処理、画像を合成して合成画像を作成する処理、及び合成画像を表示する処理、が順次繰り返し行われる。また、プログラムROMに記憶するプログラムには、ステップS23、S24で、撮影時に検出された時針、分針を画面の中心、つまり、撮影されたアナログ時計の中心を軸に実際の時刻に応じて回転するようにプログラムを組んでおく。これによって、時刻に応じて針が動く時計の写真を再生することが可能となる。
Next, the CPU 20 determines whether or not there is a display end instruction (step S25). That is, in this process, it is determined whether or not a time display end instruction has been issued by the user operating the input unit 50 to select a mode other than the time display mode such as the shooting mode. When it is determined that there is no display end instruction, the CPU 20 returns to the process of step S22, whereas when it is determined that there is a display end instruction, the time display process is ended.
Therefore, while the time display mode is selected by the user, the processes in steps S22 to S24 are sequentially repeated, and the liquid crystal display unit 100 acquires the current time so as to display the current time. Then, a process of synthesizing images to create a composite image and a process of displaying the composite image are sequentially repeated. The program stored in the program ROM is rotated in accordance with the actual time around the center of the screen, that is, the center of the imaged analog clock, with the hour hand and minute hand detected at the time of photographing in steps S23 and S24. Make a program like this. As a result, it is possible to reproduce a picture of a clock whose hands move according to time.

この時刻表示処理において、現在の時刻が11時30分である場合の液晶表示部100に表示される表示例を図6に示す。
図6に示すように、時刻表示処理における合成画像の表示が行われると、液晶表示部100には、アナログ時計1aを構成する合成された文字盤5aの画像と、文字盤5aの画像上において、選択された分針3a及び時針4aが表示される。
文字盤5aには、現在の時刻を表示する数文字8aが表示されている。この数文字8aは、元のアナログ時計1において、数文字8aを備えていない場合には原則として表示されないが、数文字8aが存在しない文字盤の場合には、予め用意された数文字8aの中から、ユーザーが所望する数文字8aを選択して、文字盤5aの画像上において合成できるようにしてもよい。
そして、ユーザーにより時刻表示モードが選択されている間は、液晶表示部100において現在の時刻を表示するように分針3a及び時針4aの表示が行われる。
In this time display process, FIG. 6 shows a display example displayed on the liquid crystal display unit 100 when the current time is 11:30.
As shown in FIG. 6, when the composite image is displayed in the time display process, the liquid crystal display unit 100 displays an image of the synthesized dial 5a constituting the analog clock 1a and an image of the dial 5a. The selected minute hand 3a and hour hand 4a are displayed.
On the dial 5a, several characters 8a for displaying the current time are displayed. This number character 8a is not displayed in principle when the original analog timepiece 1 does not have the number character 8a. However, in the case of a dial having no number character 8a, the number character 8a prepared in advance is not displayed. The user may select several desired characters 8a and synthesize them on the image of the dial 5a.
While the time display mode is selected by the user, the minute hand 3a and the hour hand 4a are displayed on the liquid crystal display unit 100 so as to display the current time.

以上説明したように、本発明の実施の形態おいては、分針3と時針4及び文字盤5を含む画像を取得し、取得された画像を分針3と時針4とを含む針部分の画像と、針部分の画像を除去した文字盤5の画像とに分割し、分割された文字盤5の画像上に、現在の時刻を示すように画像取得部70によって分割された分針3と時針4の画像を合成して合成画像を作成し、この合成画像を液晶表示部100において表示する。
このため、取得されたアナログ時計の文字盤の画像上に現在の時刻を示すように分針や時針を表示することができることから、ユーザーがお気に入りのアナログ時計の画像をデジタルカメラなどで撮像して取得するだけで、そのアナログ時計をいかにも実際に動いているかごとく表示することができる。
したがって、例え興味はあるが値段が高いなどの理由から所持していないアナログ時計であっても、そのアナログ時計の時針や分針及び文字盤などの画像を有効に活用して現在の時刻を表示することによりユーザーの興趣を高めることができる。
As described above, in the embodiment of the present invention, an image including the minute hand 3, the hour hand 4 and the dial 5 is acquired, and the acquired image is an image of a hand portion including the minute hand 3 and the hour hand 4. The image of the dial 5 is divided into the image of the dial 5 from which the image of the hand portion has been removed, and the minute hand 3 and the hour hand 4 divided by the image acquisition unit 70 to indicate the current time on the image of the divided dial 5. The images are combined to create a combined image, and this combined image is displayed on the liquid crystal display unit 100.
For this reason, the minute hand and hour hand can be displayed on the acquired analog clock face image to indicate the current time, so the user can capture and acquire an image of their favorite analog clock with a digital camera. You can display the analog clock as if it were actually moving.
Therefore, even if you are interested in an analog watch that you are not interested in because of its high price, the current time is displayed by effectively using images such as the hour hand, minute hand, and dial of the analog watch. This can enhance the interest of the user.

また、取得する分針と時針及び文字盤の画像は、実際に動いている実物のアナログ時計のみならず、カタログに掲載されているアナログ時計の写真、又は、玩具の時計でもあってもよい。
これにより、例えば、今はもう動かなくなったアンティークの時計や、その写真又は絵画などであっても、その分針と時針及び文字盤を活用して、いかにも実際に動いているかのごとく表示することができる。
したがって、従来では、7セグメントディスプレイにおいて表示されるようなデジタル表示、又は単にプログラムで作成されたあじけない単純な柄や模様により形成されているアナログ様表示の時計に代えて、実際の分針、時針又は文字盤を活用して現在の時刻を表示することで、ユーザーの興趣を高めることができる。
Further, the images of the minute hand, the hour hand, and the dial face to be acquired may be not only a real analog clock that is actually moving, but also a photograph of an analog clock listed in a catalog or a toy clock.
As a result, for example, even an antique clock that is no longer moving, or a photo or picture of it, it can be displayed as if it is actually moving by utilizing the minute hand, hour hand and dial. it can.
Therefore, in the past, instead of a digital display such as that displayed on a 7-segment display, or an analog-like display clock formed simply by a simple pattern or pattern created by a program, an actual minute hand, hour hand Alternatively, the user's interest can be enhanced by using the dial to display the current time.

また、本実施の形態においては、入力部50が操作されて時刻表示モードが選択される間は、CPU20による時刻の計時の処理、画像合成部90による合成の処理、及びCPU20による液晶表示部100への表示の処理が順次行われる。
このため、ユーザーが入力部50を操作することにより、時刻表示モードを終了させない限り、継続して液晶表示部100において現在の時刻を表示し続ける。したがって、ユーザーは時刻表示モードを選択することにより、実際のアナログ時計と同様に現在の時刻を刻々と表示し続けるアナログ時計として使用することができる。
Further, in the present embodiment, while the input unit 50 is operated and the time display mode is selected, the time measurement process by the CPU 20, the composition process by the image composition unit 90, and the liquid crystal display unit 100 by the CPU 20. The display process is sequentially performed.
Therefore, the current time is continuously displayed on the liquid crystal display unit 100 unless the time display mode is ended by the user operating the input unit 50. Therefore, the user can select the time display mode and use it as an analog clock that keeps displaying the current time every moment, like an actual analog clock.

また、本実施の形態においては、異なる時刻において、分針3と時針4及び文字盤5を含む画像を複数取得し、取得された複数の画像を、分針3と時針4とを含む針部分の画像と、針部分の画像を除去した文字盤5の画像とにそれぞれ異なる時刻ごとに分割し、異なる時刻ごとに分割された文字盤の画像から1つの文字盤を生成し、この生成された文字盤の画像上に、現在の時刻を示すように画像取得部70によって分割された分針3と時針4の画像を合成して合成画像を作成し、この合成画像を液晶表示部100において表示する。   In the present embodiment, a plurality of images including the minute hand 3, the hour hand 4, and the dial 5 are acquired at different times, and the acquired plurality of images are images of a hand portion including the minute hand 3 and the hour hand 4. And the image of the dial 5 from which the image of the hand portion has been removed, respectively, and one dial is generated from the dial images divided at different times, and the generated dial An image of the minute hand 3 and the hour hand 4 divided by the image acquisition unit 70 so as to indicate the current time is synthesized on the image of, to create a synthesized image, and this synthesized image is displayed on the liquid crystal display unit 100.

このため、1回目の画像の取得時において、分針3と時針4の存在により、その背後にある文字盤5の模様が隠れてしまった場合であっても、2回目以降の画像の取得時において文字盤5の模様を取得することができる。これにより、1回目と2回目以降に取得された文字盤の画像を合成することにより、文字盤の模様が隠れてしまっている箇所を互いに補完して1つの完全な模様の文字盤の画像を生成することができる。このため、ユーザーは、元のアナログ時計と同じ模様や柄を有する文字盤上に現在の時刻を示すように分針や時針を表示することができる。したがって、元のアナログ時計の模様を略完全に復元して現在の時刻を表示することによりユーザーの興趣を高めることができる。   For this reason, even when the pattern of the dial 5 behind it is hidden by the presence of the minute hand 3 and the hour hand 4 at the time of acquiring the first image, at the time of acquiring the second and subsequent images. The pattern of the dial 5 can be acquired. As a result, by synthesizing the dial images acquired at the first time and the second and subsequent times, the parts where the dial pattern is hidden are complemented to each other, and one complete pattern dial image is obtained. Can be generated. For this reason, the user can display the minute hand and the hour hand so as to indicate the current time on the dial having the same pattern or pattern as the original analog timepiece. Therefore, it is possible to enhance the interest of the user by restoring the original analog clock pattern almost completely and displaying the current time.

以上、様々な実施の形態の時刻表示装置について説明した。本発明の時刻表示装置は、液晶表示部100を備えたデジタルカメラ10として説明したがこれに限られない。例えば、液晶表示部100を備えたフォトフレームであってもよい。この場合、フォトフレームとは別体のデジタルカメラ等により撮影されたアナログ時計の画像を入力する入力手段を備え、この入力手段を介して分針と時針及び文字盤を含むアナログ時計の画像を取得するようにしてもよい。入力手段としては、コンパクトフラッシュ(登録商標)、メモリースティック(登録商標)、SDカード(登録商標)等の各種メモリーカード等と接続できる外部メモリーI/Fを備え、外部メモリーI/Fを介して分針と時針及び文字盤を含むアナログ時計の画像を取得するようにしてもよい。また、入力手段として、USBコネクター用スロット、Bluetooth(登録商標)ポート、WirelessUSBポート、赤外線ポート、無線LANポート(IEEE802.11シリーズ)等の外部接続用I/Fを備え、外部接続用I/Fを介して、分針と時針及び文字盤を含むアナログ時計の画像を取得するようにしてもよい。   In the above, the time display apparatus of various embodiment was demonstrated. The time display device of the present invention has been described as the digital camera 10 including the liquid crystal display unit 100, but is not limited thereto. For example, a photo frame including the liquid crystal display unit 100 may be used. In this case, input means for inputting an image of an analog clock photographed by a digital camera or the like separate from the photo frame is provided, and an image of the analog clock including the minute hand, the hour hand, and the dial is acquired via the input means. You may do it. As input means, it has an external memory I / F that can be connected to various memory cards such as CompactFlash (registered trademark), Memory Stick (registered trademark), SD card (registered trademark), etc., and minute hand via the external memory I / F An analog clock image including the hour hand and dial may be acquired. In addition, as an input means, an external connection I / F such as a USB connector slot, Bluetooth (registered trademark) port, Wireless USB port, infrared port, wireless LAN port (IEEE802.11 series) is provided. An analog clock image including the minute hand, the hour hand, and the dial may be acquired via the.

また、本発明の時刻表示装置は、液晶表示部100を備えた一般的なコンピュータを上述した各手段として機能させる時刻表示プログラムによって動作させることができる。時刻表示プログラムは、通信回線を介して配布することも可能であるし、CD−ROMなどの記録媒体に書き込んで配布することも可能である。   In addition, the time display device of the present invention can be operated by a time display program that causes a general computer including the liquid crystal display unit 100 to function as the above-described units. The time display program can be distributed via a communication line, or can be distributed by writing in a recording medium such as a CD-ROM.

1 アナログ時計
3 分針
4 時針
5 文字盤
10 デジタルカメラ
20 CPU
25 プログラムROM
30 撮像素子
40 画像RAM
50 入力部
60 時計・分針検出部
70 画像取得部
80 分割画像RAM
85 計時部
90 画像合成部
100 液晶表示部
1 Analog clock 3 Minute hand 4 Hour hand 5 Dial 10 Digital camera 20 CPU
25 Program ROM
30 Image sensor 40 Image RAM
50 Input unit 60 Clock / minute hand detection unit 70 Image acquisition unit 80 Split image RAM
85 Timing unit 90 Image composition unit 100 Liquid crystal display unit

Claims (9)

分針と時針及び文字盤を含む画像を取得する第1取得手段と、
前記第1取得手段によって取得した前記画像から前記分針と前記時針とを含む針部分を抽出した針抽出画像と、前記針部分の画像を除去した針除去画像とを取得する第2取得手段と、
時刻を計時する計時手段と、
前記計時手段によって計時した時刻を示すように、該計時手段により計時される時刻が所定時間経過する毎に、前記第2取得手段によって取得した前記針除去画像上に前記針抽出画像に含まれる前記分針と前記時針を重ね合わせて該計時された時刻に応じて回転するように合成する合成手段と、
前記合成手段によって合成された画像を前記計時手段により計時される時刻が所定時間経過する毎に、表示部に表示する表示手段と、
を備えたことを特徴とする時刻表示装置。
First acquisition means for acquiring an image including a minute hand, an hour hand, and a dial;
Second acquisition means for acquiring a needle extraction image obtained by extracting a needle portion including the minute hand and the hour hand from the image acquired by the first acquisition means; and a needle removal image obtained by removing the image of the needle portion;
A time measuring means for measuring time;
As indicated by the time measured by the time measuring means, each time the time measured by the time measuring means elapses a predetermined time , the needle extraction image included in the needle removal image acquired by the second acquisition means A synthesizing means for superimposing the minute hand and the hour hand so as to rotate in accordance with the time measured;
Display means for displaying an image synthesized by the synthesizing means on the display unit every time a time measured by the timing means elapses;
A time display device comprising:
前記計時手段によって計時した時刻を表示する時刻表示モードを含む複数のモードの中から現在のモードを選択するモード選択手段を備え、
前記モード選択手段によって前記時刻表示モードが選択されている間は、前記計時手段による計時の処理、前記合成手段による合成の処理、及び前記表示手段による表示の処理を順次繰り返し行うことを特徴とする請求項1に記載の時刻表示装置。
Comprising mode selection means for selecting the current mode from a plurality of modes including a time display mode for displaying the time measured by the time measuring means;
While the time display mode is selected by the mode selection means, the timekeeping processing by the timekeeping means, the composition processing by the composition means, and the display processing by the display means are sequentially repeated. The time display device according to claim 1.
前記第1取得手段は、異なる時刻において、前記画像を複数取得し、
前記第2取得手段は、前記第1取得手段によって取得した複数の前記画像から、前記針抽出画像と前記針除去画像とをそれぞれ前記異なる時刻ごとに取得し、
前記合成手段は、前記第2取得手段によって取得された前記複数の針除去画像を合成して1つの針除去画像を生成する生成手段を備え、
前記合成手段は、前記計時手段によって計時した時刻を示すように、前記生成手段によって生成した前記1つの針除去画像と前記第2取得手段によって取得した前記分針と前記時針を抽出した針抽出画像とを合成することを特徴とする請求項1又は請求項2に記載の時刻表示装置。
The first acquisition means acquires a plurality of the images at different times,
The second acquisition unit acquires the needle extraction image and the needle removal image from the plurality of images acquired by the first acquisition unit at different times, respectively.
The synthesizing unit includes a generating unit that synthesizes the plurality of needle removal images acquired by the second acquisition unit to generate one needle removal image,
The synthesizing unit is configured to indicate the time counted by the timing unit, the one hand removal image generated by the generation unit, the minute hand acquired by the second acquisition unit, and a needle extraction image obtained by extracting the hour hand, The time display device according to claim 1, wherein the time display device is synthesized.
前記第1取得手段は、異なる時刻において、前記画像を複数取得し、
前記第2取得手段は、前記第1取得手段によって取得した複数の前記画像の変化に基づき、前記分針と前記時針を特定することを特徴とする請求項1から請求項3までの何れか1項に記載の時刻表示装置。
The first acquisition means acquires a plurality of the images at different times,
The said 2nd acquisition means specifies the said minute hand and the said hour hand based on the change of the said some image acquired by the said 1st acquisition means, The any one of Claim 1 to 3 characterized by the above-mentioned. The time display device described in 1.
前記第1取得手段は、撮像手段による撮像によって前記分針と時針及び文字盤を含む画像を取得することを特徴とする請求項1から請求項4までの何れか1項に記載の時刻表示装置。   5. The time display device according to claim 1, wherein the first acquisition unit acquires an image including the minute hand, an hour hand, and a dial face by imaging by the imaging unit. 前記針除去画像は、前記第1取得手段によって取得した前記画像から針部分を除去された文字盤部分を抽出した文字盤抽出画像であることを特徴とする請求項1から請求項5までの何れか1項に記載の時刻表示装置。   6. The dial-extracted image obtained by extracting the dial part from which the needle part has been removed from the image acquired by the first acquisition unit. The time display device according to claim 1. 前記画像は時計を表す画像であって、
前記時計の中心及び大きさを調整するための撮影画像枠を表示する枠表示手段を更に備え、
前記第1取得手段は、前記枠表示手段により表示される撮影画像枠に基づき前記画像を取得することを特徴とする請求項1から請求項6までの何れか1項に記載の時刻表示装置。
The image is an image representing a clock,
Frame display means for displaying a photographed image frame for adjusting the center and size of the clock;
The time display device according to any one of claims 1 to 6, wherein the first acquisition unit acquires the image based on a captured image frame displayed by the frame display unit.
分針と時針及び文字盤を含む画像を取得する第1取得ステップと、
前記第1取得ステップによって取得した前記画像を前記分針と前記時針とを含む針部分を抽出した針抽出画像と、前記針部分の画像を除去した針除去画像とを取得する第2取得ステップと、
時刻を計時する計時ステップと、
前記計時ステップによって計時した時刻を示すように、該計時ステップにより計時される時刻が所定時間経過する毎に、前記第2取得ステップによって取得した前記針除去画像上に前記針抽出画像に含まれる前記分針と前記時針を重ね合わせて該計時された時刻に応じて回転するように合成する合成ステップと、
前記合成ステップによって合成された画像を前記計時ステップにより計時される時刻が所定時間経過する毎に、表示部に表示する表示ステップと、
を備えたことを特徴とする時刻表示方法。
A first acquisition step of acquiring an image including a minute hand, an hour hand and a dial;
A second acquisition step of acquiring a needle extraction image obtained by extracting a needle portion including the minute hand and the hour hand from the image acquired by the first acquisition step, and a needle removal image obtained by removing the image of the needle portion;
A time measuring step for measuring time;
The needle extraction image is included in the needle extraction image on the needle removal image acquired by the second acquisition step every time when the time measured by the time measurement step elapses a predetermined time so as to indicate the time measured by the time measurement step. A synthesis step of superimposing the minute hand and the hour hand so as to rotate according to the time measured,
A display step of displaying on the display unit every time when the time measured by the timing step elapses a predetermined time, the image synthesized by the synthesis step;
A time display method characterized by comprising:
時刻表示装置を備えるコンピュータを、
分針と時針及び文字盤を含む画像を取得する第1取得手段、
前記第1取得手段によって取得した前記画像を前記分針と前記時針とを含む針部分を抽出した針抽出画像と、前記針部分の画像を除去した針除去画像とを取得する第2取得手段、
時刻を計時する計時手段、
前記計時手段によって計時した時刻を示すように、該計時手段により計時される時刻が所定時間経過する毎に、前記第2取得手段によって取得した前記針除去画像上に前記針抽出画像に含まれる前記分針と前記時針を重ね合わせて該計時された時刻に応じて回転するように合成する合成手段、
前記合成手段によって合成された画像を前記計時手段により計時される時刻が所定時間経過する毎に、表示部に表示する表示手段
として機能させることを特徴とする時刻表示プログラム。
A computer including a time display device;
First acquisition means for acquiring an image including a minute hand, an hour hand and a dial;
Second acquisition means for acquiring a needle extraction image obtained by extracting a needle portion including the minute hand and the hour hand from the image acquired by the first acquisition means, and a needle removal image obtained by removing the image of the needle portion;
Time keeping means for keeping time,
As indicated by the time measured by the time measuring means, each time the time measured by the time measuring means elapses a predetermined time , the needle extraction image included in the needle removal image acquired by the second acquisition means Combining means for combining the minute hand and the hour hand so as to rotate according to the time measured,
A time display program for causing an image synthesized by the synthesizing means to function as a display means for displaying on a display unit every time a time measured by the time measuring means elapses.
JP2009092388A 2009-04-06 2009-04-06 Time display device, time display method, and time display program Expired - Fee Related JP5626825B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009092388A JP5626825B2 (en) 2009-04-06 2009-04-06 Time display device, time display method, and time display program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009092388A JP5626825B2 (en) 2009-04-06 2009-04-06 Time display device, time display method, and time display program

Publications (2)

Publication Number Publication Date
JP2010243334A JP2010243334A (en) 2010-10-28
JP5626825B2 true JP5626825B2 (en) 2014-11-19

Family

ID=43096500

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009092388A Expired - Fee Related JP5626825B2 (en) 2009-04-06 2009-04-06 Time display device, time display method, and time display program

Country Status (1)

Country Link
JP (1) JP5626825B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6311216B2 (en) * 2013-03-13 2018-04-18 カシオ計算機株式会社 Wrist terminal device and program
JP6335711B2 (en) * 2014-08-05 2018-05-30 セイコーエプソン株式会社 Tape printer
CN104820360B (en) * 2015-04-29 2018-11-09 惠州市德赛西威汽车电子股份有限公司 Simulate clock display method
CH713124B1 (en) * 2016-11-15 2021-01-15 Dubois Yann Method for the digital display of information on a timepiece.
CN108228122B (en) 2016-12-22 2020-12-25 华为技术有限公司 Dial plate presenting method and device and intelligent watch
CN116256966A (en) * 2023-03-14 2023-06-13 格兰菲智能科技有限公司 Clock display method, clock display device, computer equipment and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05260352A (en) * 1992-03-11 1993-10-08 Sony Corp Video camera
JPH0922045A (en) * 1995-07-07 1997-01-21 Victor Co Of Japan Ltd View finder
JPH11326563A (en) * 1998-05-13 1999-11-26 Sharp Corp Time information-registering device
JP2002202389A (en) * 2000-10-31 2002-07-19 Sony Corp Clock information distribution processing system, information distribution device, information distribution system, portable terminal device, information recording medium and information processing method
JP4251141B2 (en) * 2005-02-23 2009-04-08 株式会社デンソー Meters and instrument pointer display methods
JP3799408B1 (en) * 2005-10-18 2006-07-19 国立大学法人山口大学 Image processing apparatus and image processing method

Also Published As

Publication number Publication date
JP2010243334A (en) 2010-10-28

Similar Documents

Publication Publication Date Title
JP5626825B2 (en) Time display device, time display method, and time display program
JP2010183317A (en) Imaging device, image composition and display device, image composition and display method, and program
JP2006203600A (en) Imaging apparatus, image processor, image processing system, and image processing method and program
JP6417797B2 (en) Information terminal device, information processing method, system, and program
JP2012109898A (en) Imaging device, imaging method, and program
CN103475807B (en) The control method and computer storage medium of imaging device, imaging device
JP6723512B2 (en) Image processing apparatus, image processing method and program
CN101510958A (en) Image processing apparatus, image processing method and imaging apparatus
CN107710731B (en) Image pickup apparatus and image processing method
JP2018085575A (en) Image processing apparatus, analysis system, image processing method, and program
JP5501194B2 (en) Image measuring apparatus, image measuring method, and computer program
JP2006262134A (en) Photographing data processor, and photographing device and program
JP6497030B2 (en) Imaging system, information processing apparatus, imaging method, program, storage medium
JP2011150392A (en) Picturesque image display device and picturesque image display method
JP2001045355A (en) Photographing device and group photographic image forming method
JP2012093270A (en) Time display device, time display method, and program
JP2022546222A (en) METHOD AND SYSTEM TO ASSIST SETTING OF MECHANICAL WATCH
JP4878396B2 (en) Image recognition program, image recognition apparatus, image recognition system, and image recognition method
JP5470688B2 (en) Image capturing apparatus, program thereof, and image display apparatus.
JP6703361B2 (en) Imaging device and image processing method
JP2018085574A (en) Image processing apparatus, analysis system, image processing method, and program
JP2011193170A (en) Imaged image display device, imaged image display method, and electronic map output by the same
JP2013214880A (en) Electronic camera
JP2011197999A (en) Image processing apparatus and image processing method
JP6897215B2 (en) Image processing equipment, image processing methods and programs

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120213

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121031

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121113

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121213

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20130514

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130802

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20130809

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20131018

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140925

R150 Certificate of patent or registration of utility model

Ref document number: 5626825

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees