JP4276920B2 - Information processing program, storage medium, information processing apparatus, and information processing method - Google Patents

Information processing program, storage medium, information processing apparatus, and information processing method Download PDF

Info

Publication number
JP4276920B2
JP4276920B2 JP2003348644A JP2003348644A JP4276920B2 JP 4276920 B2 JP4276920 B2 JP 4276920B2 JP 2003348644 A JP2003348644 A JP 2003348644A JP 2003348644 A JP2003348644 A JP 2003348644A JP 4276920 B2 JP4276920 B2 JP 4276920B2
Authority
JP
Japan
Prior art keywords
time
date
image
clock
terminal device
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
JP2003348644A
Other languages
Japanese (ja)
Other versions
JP2005117338A (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.)
Olympus Corp
Original Assignee
Olympus 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 Olympus Corp filed Critical Olympus Corp
Priority to JP2003348644A priority Critical patent/JP4276920B2/en
Publication of JP2005117338A publication Critical patent/JP2005117338A/en
Application granted granted Critical
Publication of JP4276920B2 publication Critical patent/JP4276920B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

本発明は情報処理技術に関し、特に、端末装置内の時計に誤差が生じている場合に、デジタル画像ファイル内の撮影日時を正確な日時に修正する技術に関する。   The present invention relates to an information processing technique, and more particularly to a technique for correcting a shooting date and time in a digital image file to an accurate date and time when an error occurs in a clock in a terminal device.

従来、デジタルカメラで撮影された画像ファイルには、撮影された日時が記録できるようになっている。しかし、デジタルカメラ内蔵の時計に誤差が生じていた場合には、各画像ファイル毎にEXIFエディタなどを用いて手作業で日時情報を修正しなければならなかった。   Conventionally, the date and time of shooting can be recorded in an image file shot with a digital camera. However, if there is an error in the clock built in the digital camera, the date / time information must be corrected manually using an EXIF editor or the like for each image file.

このため、画像ファイルを保存するパーソナルコンピュータ(PC)の時計の時刻とデジタルカメラの時計の時刻に差がある場合には、デジタルカメラから取り込む画像の撮影時刻を、その差に相当する時間だけ補正する技術が提案されている(例えば、特許文献1参照)。
特開2002−44596号公報
For this reason, if there is a difference between the clock time of the personal computer (PC) that stores the image file and the clock time of the digital camera, the shooting time of the image captured from the digital camera is corrected by the time corresponding to the difference. The technique which performs is proposed (for example, refer patent document 1).
JP 2002-44596 A

しかし、特許文献1に記載の技術は、外部機器からファイル保存装置に画像を取り込む時に、画像を撮影した外部装置が示す現在の日時と、ファイル保存装置の現在の日時が異なった場合、取り込んだ画像ファイルの撮影日時情報を修正するファイル保存装置を開示している。このファイル保存装置では、現在の時刻差に相当する時間だけ補正するため、外部装置であるデジタルカメラの時計が刻む時間間隔が不正確で、時刻が進むことあるいは遅れることによる過去の時刻の補正には対応していない。また、デジタルカメラの時計が電池交換などでリセットされた場合の補正にも対応していない。   However, the technique described in Patent Document 1 captures an image from an external device when the current date and time indicated by the external device that captured the image is different from the current date and time of the file storage device when the image is captured to the file storage device. A file storage device for correcting shooting date / time information of an image file is disclosed. Since this file storage device corrects only the time corresponding to the current time difference, the time interval of the digital camera clock as an external device is inaccurate, and correction of past time due to advance or delay of time is possible. Is not supported. It also does not support correction when the digital camera's watch is reset due to battery replacement.

さらに、特許文献1に記載の技術はファイル保存装置に取り込む際に時刻を修正するため、既にファイル保存装置に取り込まれている画像ファイルの時刻を修正することはできない。   Furthermore, since the technique described in Patent Document 1 corrects the time when the file is stored in the file storage device, it cannot correct the time of the image file already stored in the file storage device.

本発明は、かかる事情に鑑みてなされたものであって、端末装置の時計の進み/遅れに対応して撮影日時を修正することができ、また既に保存されている画像ファイルに対しても撮影日時を修正することができる情報処理プログラム、記憶媒体、情報処理装置、情報処理方法を提供することを目的とする。   The present invention has been made in view of such circumstances, and can correct the shooting date and time in accordance with the advance / delay of the clock of the terminal device, and can also capture an image file that has already been saved. An object is to provide an information processing program, a storage medium, an information processing apparatus, and an information processing method capable of correcting the date and time.

本発明に係る請求項1に記載のプログラムは、情報処理装置の情報処理プログラムであって、前記情報処理装置に接続する端末装置の時計の計時情報を取得する計時情報取得手順と、現在の正しい日時である第1の現在日時と、前記計時情報取得手順で取得した端末装置の時計が計時する第2の現在日時とを取得する現在日時取得手順と、取得した第1の現在日時で前記端末装置の時計の日時を修正する時計修正手順と、前記時計修正手順において修正に用いた前記第1の現在日時および前記第2の現在日時を時計修正履歴として記憶する時計修正履歴記憶手順と、前記情報処理装置に接続された前記端末装置から撮影画像を取得する画像取得手順と、前記画像取得手順で取得した画像に付与されている撮影日時と、前記時計修正履歴記憶手順で記憶された前記端末装置の最後の時計修正日時と比較して、前記画像が前記端末装置のリセット後に撮影されたか否かを判定するリセット判定手順と、前記リセット判定手順により、前記画像が前記端末装置のリセット前に撮影されたと判断された場合は、第1の補正式により前記画像の撮影日時を補正し、前記画像が前記端末装置のリセット後に撮影されたと判断された場合は、第1の補正式とは異なる第2の補正式により前記画像の撮影日時を補正する撮影日時補正手順と、を前記情報処理装置に実行させる。 The program according to claim 1 of the present invention is an information processing program for an information processing device, and includes a time information acquisition procedure for acquiring time information of a clock of a terminal device connected to the information processing device, and a current correct information A current date and time acquisition procedure for acquiring a first current date and time as a date and a second current date and time measured by the clock of the terminal device acquired in the timing information acquisition procedure; and the terminal at the acquired first current date and time A clock correction procedure for correcting the clock date and time of the device, a clock correction history storage procedure for storing the first current date and time and the second current date and time used for correction in the clock correction procedure as clock correction history, An image acquisition procedure for acquiring a captured image from the terminal device connected to the information processing device, a shooting date and time given to the image acquired in the image acquisition procedure, and the clock correction history storage Compared with the last clock correction date and time of the terminal device stored in step 3, the reset determination procedure for determining whether or not the image was taken after the reset of the terminal device, and the reset determination procedure, the image is When it is determined that the image was taken before the terminal device was reset, the shooting date and time of the image was corrected by the first correction formula, and when it was determined that the image was taken after the terminal device was reset, the first The information processing apparatus is caused to execute a shooting date / time correction procedure for correcting the shooting date / time of the image using a second correction formula different from the correction formula.

また、本発明に係る請求項2に記載のプログラムは、上記記載の発明であるプログラムにおいて、前記第1の補正式は、実際のリセット日時T、端末装置の時計のリセット日時t、最終時刻調整時点の実際の日時T、最終時刻調整時点の端末装置の日時t、最終の1つ前の時計時刻調整時点の実際の日時Tn−1、最終の1つ前の時計時刻調整時点の端末装置の日時tn−1、実際の現在の日時T、現在の端末装置の日時t用いて、リセット以前に撮影された画像の撮影日時tと補正された新たな撮影日時Tとの間に、
=T+(t−t)×(T−Tn−1)/(t−tn−1
なる関係を定め、前記第2の補正式は、リセット以後に撮影された画像の撮影日時tと補正された新たな撮影日時Tとの間に、
=T (t−t)×(T−Tn−1)/(t−tn−1
なる関係を定める。
The program according to claim 2 of the present invention is a program which is the invention of the above, wherein the first correcting equation, the actual reset time T 0, the reset time t 0 of the clock of the terminal device, the final The actual date and time T n at the time adjustment time, the date and time t n of the terminal device at the final time adjustment time, the actual date and time T n−1 at the last previous clock time adjustment time, and the last previous clock time adjustment time t n-1 time point of the terminal device, the actual current time T p, with time t p of the current terminal device, a new shot is corrected as shooting date t a of the image taken previously reset time between the T a,
T A = T n + (t A −t n ) × (T n −T n−1 ) / (t n −t n−1 )
And the second correction formula is calculated between the shooting date / time t B of the image shot after the reset and the corrected new shooting date / time T B.
T B = T P - (t P -t B) × (T n -T n-1) / (t n -t n-1)
To establish a relationship.

また本発明に係る請求項3に記載のプログラムは、上記記載の発明であるプログラムにおいて、前記端末装置は、デジタルカメラ、撮像装置、デジタルカメラ付き携帯端末、撮像装置付き携帯端末の少なくともいずれかである。 A program according to a third aspect of the present invention is the program according to the above invention, wherein the terminal device is at least one of a digital camera, an imaging device, a mobile terminal with a digital camera, and a mobile terminal with an imaging device. is there.

また、本発明に係る請求項4に記載の記憶媒体は、情報処理装置の情報処理プログラムを記憶した記憶媒体であって、前記情報処理装置に接続する端末装置の時計の計時情報を取得する計時情報取得ステップと、現在の正しい日時である第1の現在日時と、前記計時情報取得手順で取得した端末装置の時計が計時する第2の現在日時とを取得する現在日時取得ステップと、取得した第1の現在日時で前記端末装置の時計の日時を修正する時計修正ステップと、前記時計修正ステップにおいて修正に用いた前記第1の現在日時および前記第2の現在日時を時計修正履歴として記憶する時計修正履歴記憶ステップと、前記情報処理装置に接続された前記端末装置から撮影画像を取得する画像取得ステップと、前記画像取得ステップで取得した画像に付与されている撮影日時と、前記時計修正履歴記憶ステップで記憶された前記端末装置の最後の時計修正日時と比較して、前記画像が前記端末装置のリセット後に撮影されたか否かを判定するリセット判定ステップと、前記リセット判定ステップにより、前記画像が前記端末装置のリセット前に撮影されたと判断された場合は、第1の補正式により前記画像の撮影日時を補正し、前記画像が前記端末装置のリセット後に撮影されたと判断された場合は、第1の補正式とは異なる第2の補正式により前記画像の撮影日時を補正する撮影日時補正ステップと、を前記情報処理装置に実行させるためのプログラムを記憶した。 The storage medium of claim 4 according to the present invention is a storage medium storing the information processing program of the information processing apparatus, obtains the time information of the clock of the terminal device connected to the information processing apparatus counting An information acquisition step, a current date acquisition step of acquiring a first current date and time that is the current correct date and time, and a second current date and time measured by the clock of the terminal device acquired in the timekeeping information acquisition procedure; A clock correction step for correcting the clock date and time of the terminal device with the first current date and time, and the first current date and time and the second current date and time used for correction in the clock correction step are stored as a clock correction history. A clock correction history storage step, an image acquisition step of acquiring a captured image from the terminal device connected to the information processing device, and an image acquired in the image acquisition step Reset to determine whether the image was taken after reset of the terminal device by comparing the given shooting date and time with the last clock correction date and time of the terminal device stored in the clock correction history storage step When it is determined by the determination step and the reset determination step that the image is captured before the terminal device is reset, the shooting date and time of the image is corrected by a first correction formula, and the image is the terminal device. A shooting date correction step of correcting the shooting date and time of the image with a second correction formula different from the first correction formula when the information processing device is determined to have been shot after resetting I remembered the program.

また、本発明に係る請求項5に記載の記憶媒体は、上記記載の発明である記憶媒体において、前記第1の補正式は、実際のリセット日時T、端末装置の時計のリセット日時t、最終時刻調整時点の実際の日時T、最終時刻調整時点の端末装置の日時t、最終の1つ前の時計時刻調整時点の実際の日時Tn−1、最終の1つ前の時計時刻調整時点の端末装置の日時tn−1、実際の現在の日時T、現在の端末装置の日時t用いて、リセット以前に撮影された画像の撮影日時tと補正された新たな撮影日時Tとの間に、
=T+(t−t)×(T−Tn−1)/(t−tn−1
なる関係を定め、前記第2の補正式は、リセット以後に撮影された画像の撮影日時tと補正された新たな撮影日時Tとの間に、
=T (t−t)×(T−Tn−1)/(t−tn−1
なる関係を定めるプログラムを記憶した。
The storage medium according to claim 5 of the present invention is the storage medium according to the above-described invention, wherein the first correction formula is an actual reset date / time T 0 , a reset time / date t 0 of the clock of the terminal device. , The actual date and time T n at the final time adjustment time, the date and time t n of the terminal device at the final time adjustment time, the actual date and time T n−1 at the last previous clock time adjustment time, and the last previous clock time t n-1 of the time adjustment time of the terminal device, the actual current time T p, with time t p of the current terminal device, a new corrected as shooting date t a of the image taken previously reset between the shooting date and time T a,
T A = T n + (t A −t n ) × (T n −T n−1 ) / (t n −t n−1 )
And the second correction formula is calculated between the shooting date / time t B of the image shot after the reset and the corrected new shooting date / time T B.
T B = T P - (t P -t B) × (T n -T n-1) / (t n -t n-1)
I remembered the program that defined the relationship.

また本発明に係る請求項6に記載の情報処理装置は、前記情報処理装置に接続する端末装置の時計の計時情報を取得する計時情報取得手段と、現在の正しい日時である第1の現在日時と、前記計時情報取得手段で取得した端末装置の時計が計時する第2の現在日時とを取得する現在日時取得手段と、取得した第1の現在日時で前記端末装置の時計の日時を修正する時計修正手段と、前記時計修正手段において修正に用いた前記第1の現在日時および前記第2の現在日時を時計修正履歴として記憶する時計修正履歴記憶手段と、前記情報処理装置に接続された前記端末装置から撮影画像を取得する画像取得手段と、前記画像取得手段で取得した画像に付与されている撮影日時と、前記時計修正履歴記憶手段に記憶された前記端末装置の最後の時計修正日時と比較して、前記画像が前記端末装置のリセット後に撮影されたか否かを判定するリセット判定手段と、前記リセット判定手段により、前記画像が前記端末装置のリセット前に撮影されたと判断された場合は、第1の補正式により前記画像の撮影日時を補正し、前記画像が前記端末装置のリセット後に撮影されたと判断された場合は、第1の補正式とは異なる第2の補正式により前記画像の撮影日時を修正する撮影日時修正手段とを備えた。 According to a sixth aspect of the present invention, there is provided the information processing apparatus according to the sixth aspect , wherein a time information acquisition unit that acquires time information of a clock of a terminal device connected to the information processing apparatus, and a first current date and time that is a current correct date and time. Current date and time acquisition means for acquiring the second current date and time measured by the clock of the terminal device acquired by the timing information acquisition means, and corrects the date and time of the clock of the terminal device by the acquired first current date and time. Clock correction means, clock correction history storage means for storing the first current date and time and second current date and time used for correction in the clock correction means as clock correction history, and the information processor connected to the information processing apparatus Image acquisition means for acquiring a photographed image from the terminal device, photographing date and time given to the image acquired by the image acquisition means, and the last time of the terminal device stored in the clock correction history storage means Compared with the correction date and time, a reset determination unit that determines whether or not the image is captured after the terminal device is reset, and the reset determination unit determines that the image is captured before the terminal device is reset. If it is determined that the image was captured using the first correction formula and the image was taken after the terminal device was reset, a second correction formula different from the first correction formula is used. And a photographing date and time correcting means for correcting the photographing date and time of the image.

また本発明に係る請求項7に記載の情報処理装置は、上記記載の発明である情報処理装置において、前記第1の補正式は、実際のリセット日時T、端末装置の時計のリセット日時t、最終時刻調整時点の実際の日時T、最終時刻調整時点の端末装置の日時t、最終の1つ前の時計時刻調整時点の実際の日時Tn−1、最終の1つ前の時計時刻調整時点の端末装置の日時tn−1、実際の現在の日時T、現在の端末装置の日時t用いて、リセット以前に撮影された画像の撮影日時tと補正された新たな撮影日時Tとの間に、
=T+(t−t)×(T−Tn−1)/(t−tn−1
なる関係を定め、前記第2の補正式は、リセット以後に撮影された画像の撮影日時tと補正された新たな撮影日時Tとの間に、
=T (t−t)×(T−Tn−1)/(t−tn−1
なる関係を定める。
The information processing apparatus according to claim 7 of the present invention is the information processing apparatus according to the above-described invention, wherein the first correction formula is an actual reset date / time T 0 , a reset date / time t of a clock of the terminal device. 0, the actual date and time T n of the last time adjustment time, date t n of last time adjustment time of the terminal device, the actual of the previous time the clock time adjustment of last time T n-1, the last of the previous time t n-1 of the clock time regulation time of the terminal device, the actual current time T p, with time t p of the current terminal device newly corrected and shooting date t a of the image taken previously reset between the Do shooting date and time T a,
T A = T n + (t A −t n ) × (T n −T n−1 ) / (t n −t n−1 )
And the second correction formula is calculated between the shooting date / time t B of the image shot after the reset and the corrected new shooting date / time T B.
T B = T P - (t P -t B) × (T n -T n-1) / (t n -t n-1)
To establish a relationship.

また本発明に係る請求項8に記載の情報処理方法は、情報処理装置の情報処理方法であって、前記情報処理装置に接続する端末装置の時計の計時情報を取得する計時情報取得ステップと、現在の正しい日時である第1の現在日時と、前記計時情報取得手順で取得した端末装置の時計が計時する第2の現在日時とを取得する現在日時取得ステップと、取得した第1の現在日時で前記端末装置の時計の日時を修正する時計修正ステップと、前記時計修正ステップにおいて修正に用いた前記第1の現在日時および前記第2の現在日時を時計修正履歴として記憶する時計修正履歴記憶ステップと、前記情報処理装置に接続された前記端末装置から撮影画像を取得する画像取得ステップと、前記画像取得ステップで取得した画像に付与されている撮影日時と、前記時計修正履歴記憶ステップで記憶された前記端末装置の最後の時計修正日時と比較して、前記画像が前記端末装置のリセット後に撮影されたか否かを判定するリセット判定ステップと、前記リセット判定ステップにより、前記画像が前記端末装置のリセット前に撮影されたと判断された場合は、第1の補正式により前記画像の撮影日時を補正し、前記画像が前記端末装置のリセット後に撮影されたと判断された場合は、第1の補正式とは異なる第2の補正式により前記画像の撮影日時を補正する撮影日時補正ステップと、を有する。 The information processing method according to claim 8 of the present invention is an information processing method for an information processing apparatus, a time information acquisition step of acquiring time information of the clock of the terminal device connected to the information processing apparatus, A current date acquisition step for acquiring a first current date and time that is the current correct date and a second current date and time measured by the clock of the terminal device acquired in the timing information acquisition procedure, and an acquired first current date and time The clock correction step of correcting the clock date and time of the terminal device, and the clock correction history storage step of storing the first current date and the second current date and time used for correction in the clock correction step as clock correction history An image acquisition step of acquiring a captured image from the terminal device connected to the information processing device, and a shooting date assigned to the image acquired in the image acquisition step And a reset determination step for determining whether or not the image has been taken after resetting the terminal device, in comparison with the last clock correction date and time of the terminal device stored in the clock correction history storage step, and the reset If it is determined in the determination step that the image was taken before the terminal device is reset, the shooting date and time of the image is corrected by a first correction formula, and the image is taken after the terminal device is reset. If it is determined, a shooting date and time correction step of correcting the shooting date and time of the image by a second correction formula different from the first correction formula is provided.

また本発明に係る請求項9に記載の情報処理方法は、上記記載の発明である情報処理方法において、前記第1の補正式は、実際のリセット日時T、端末装置の時計のリセット日時t、最終時刻調整時点の実際の日時T、最終時刻調整時点の端末装置の日時t、最終の1つ前の時計時刻調整時点の実際の日時Tn−1、最終の1つ前の時計時刻調整時点の端末装置の日時tn−1、実際の現在の日時T、現在の端末装置の日時t用いて、リセット以前に撮影された画像の撮影日時tと補正された新たな撮影日時Tとの間に、
=T+(t−t)×(T−Tn−1)/(t−tn−1
なる関係を定め、前記第2の補正式は、リセット以後に撮影された画像の撮影日時tと補正された新たな撮影日時Tとの間に、
=T (t−t)×(T−Tn−1)/(t−tn−1
なる関係を定める。
The information processing method according to claim 9 of the present invention is the information processing method according to the above-described invention, wherein the first correction formula is an actual reset date and time T 0 , a reset time and date t of the clock of the terminal device. 0, the actual date and time T n of the last time adjustment time, date t n of last time adjustment time of the terminal device, the actual of the previous time the clock time adjustment of last time T n-1, the last of the previous time t n-1 of the clock time regulation time of the terminal device, the actual current time T p, with time t p of the current terminal device newly corrected and shooting date t a of the image taken previously reset between the Do shooting date and time T a,
T A = T n + (t A −t n ) × (T n −T n−1 ) / (t n −t n−1 )
And the second correction formula is calculated between the shooting date / time t B of the image shot after the reset and the corrected new shooting date / time T B.
T B = T P - (t P -t B) × (T n -T n-1) / (t n -t n-1)
To establish a relationship.

本発明の情報処理プログラムによれば、端末装置の時計の進み/遅れに対応して撮影日時を修正することができ、また既に保存されている画像ファイルに対しても撮影日時を修正することができる。   According to the information processing program of the present invention, the shooting date / time can be corrected in accordance with the advance / delay of the clock of the terminal device, and the shooting date / time can also be corrected for an already stored image file. it can.

[第1の実施の形態]
図1は、本発明に係る第1の実施の形態の情報処理プログラムが適用される情報処理システムの構成を示す図である。
[First Embodiment]
FIG. 1 is a diagram showing a configuration of an information processing system to which the information processing program according to the first embodiment of the present invention is applied.

情報処理システムは、情報処理装置1、カメラ2及びそれらを接続する通信ライン3で構成されている。ここで、情報処理装置1は、本発明に係る第1の実施の形態の情報処理プログラムを組み込み、カメラ2で撮影した画像ファイルを通信ライン3を介して受取り、保存すると共にその撮影日時を修正する。   The information processing system includes an information processing apparatus 1, a camera 2, and a communication line 3 that connects them. Here, the information processing apparatus 1 incorporates the information processing program according to the first embodiment of the present invention, receives the image file photographed by the camera 2 through the communication line 3, stores it, and corrects the photographing date and time. To do.

情報処理装置1は、通信インターフェース10、処理部11、画像メモリ12、画像管理DB13、カメラ管理DB14、プログラムメモリ15、時計部16、表示部17及び操作入力部18で構成されている。   The information processing apparatus 1 includes a communication interface 10, a processing unit 11, an image memory 12, an image management DB 13, a camera management DB 14, a program memory 15, a clock unit 16, a display unit 17, and an operation input unit 18.

通信インターフェース10は、カメラ2との間で各種情報交換を行うためのインターフェースである。処理部11は、撮影日時の修正に関する処理を行うとともに情報処理装置1を統括的に制御する。画像メモリ12は、カメラ2から受取った画像ファイルを記憶する。画像管理DB13は、画像メモリ12に保存されている画像に関する種々の管理情報を記憶する。カメラ管理DB14は、情報処理装置1に画像ファイルを送信したカメラ2の時刻調整履歴を記憶する。プログラムメモリ15は、情報処理装置1が実行する各種ソフトウエアファイルを記憶する。時計部16は、情報処理装置1の時刻を計時する。表示部17は、情報処理装置1内に記憶されている情報等を表示する。操作入力部18は、利用者からの操作指示入力を受取って処理部11に出力する。   The communication interface 10 is an interface for exchanging various information with the camera 2. The processing unit 11 performs processing related to the correction of the shooting date and time and comprehensively controls the information processing apparatus 1. The image memory 12 stores the image file received from the camera 2. The image management DB 13 stores various management information related to images stored in the image memory 12. The camera management DB 14 stores the time adjustment history of the camera 2 that has transmitted the image file to the information processing apparatus 1. The program memory 15 stores various software files executed by the information processing apparatus 1. The clock unit 16 measures the time of the information processing apparatus 1. The display unit 17 displays information stored in the information processing apparatus 1. The operation input unit 18 receives an operation instruction input from the user and outputs it to the processing unit 11.

カメラ2は、通信インターフェース20、撮像部21、処理部22、画像メモリ23、プログラムメモリ24、時計部25、表示部26及び操作入力部27で構成されている。   The camera 2 includes a communication interface 20, an imaging unit 21, a processing unit 22, an image memory 23, a program memory 24, a clock unit 25, a display unit 26, and an operation input unit 27.

通信インターフェース20は、情報処理装置1との間で各種情報交換を行うためのインターフェースである。撮像部21は、被写体の光像を取得して画像データに変換する。処理部22は、画像データから画像ファイルを作成するとともにカメラ2を統括的に制御する。画像メモリ23は、処理部22で処理した画像ファイルを記憶する。プログラムメモリ24は、カメラ2が実行する各種ソフトウエアファイルや各種データを記憶する。時計部25は、カメラ2の時刻を計時する。表示部26は、カメラ2内に記憶されている情報等を表示する。操作入力部27は、利用者からの操作指示入力を受取って処理部22に出力する。   The communication interface 20 is an interface for exchanging various types of information with the information processing apparatus 1. The imaging unit 21 acquires a light image of the subject and converts it into image data. The processing unit 22 creates an image file from the image data and comprehensively controls the camera 2. The image memory 23 stores the image file processed by the processing unit 22. The program memory 24 stores various software files executed by the camera 2 and various data. The clock unit 25 measures the time of the camera 2. The display unit 26 displays information stored in the camera 2. The operation input unit 27 receives an operation instruction input from the user and outputs it to the processing unit 22.

通信ライン3は広く情報の送受信に用いられる経路のことで、導電線、光ファイバなどの有線を用いた通信に限られず、光、音波、電波などを用いた無線通信も含まれる。   The communication line 3 is a path widely used for transmitting and receiving information, and is not limited to communication using a wire such as a conductive wire or an optical fiber, but also includes wireless communication using light, sound waves, radio waves, and the like.

続いて、第1の実施の形態に係る撮影日時修正動作について説明する。この第1の実施の形態では、カメラ2の時計の進み/遅れに対応して撮影日時を修正する。   Next, the photographing date / time correcting operation according to the first embodiment will be described. In the first embodiment, the shooting date / time is corrected in accordance with the advance / delay of the clock of the camera 2.

図2は、第1の実施の形態に係る撮影日時修正処理全体の手続を示すフロー図である。   FIG. 2 is a flowchart showing a procedure of the entire photographing date / time correction process according to the first embodiment.

カメラ2が情報処理装置1に接続されたときは、処理部11は通信インターフェース10を介して接続を検出し(S01)、撮影日時を補正する必要があるかどうかを判定する(S02)。   When the camera 2 is connected to the information processing apparatus 1, the processing unit 11 detects the connection via the communication interface 10 (S01), and determines whether the shooting date / time needs to be corrected (S02).

図3、図4は、撮影日時の補正要否を判定する手順を示すフロー図である。   3 and 4 are flowcharts showing a procedure for determining whether or not the photographing date / time needs to be corrected.

図3において、情報処理装置1の処理部11は、先ずカメラ2からカメラ情報を取得する(T01)。即ち、図4において、情報処理装置1の処理部11は、カメラ2に対してカメラ情報の要求を送信する(R01)。   In FIG. 3, the processing unit 11 of the information processing apparatus 1 first acquires camera information from the camera 2 (T01). That is, in FIG. 4, the processing unit 11 of the information processing apparatus 1 transmits a request for camera information to the camera 2 (R01).

このカメラ情報要求を受信すると(Q01)、カメラ2の処理部22は、カメラ2を特定するための情報であるカメラID情報をプログラムメモリ24から読み出す(Q02)。カメラID情報としては例えば、シリアルNO.などがある。続いて、処理部22は、時計部25から現在の日時情報を読み出し(Q03)、カメラID情報と現在の日時情報をカメラ情報として情報処理装置1に送信する(Q04)。   When this camera information request is received (Q01), the processing unit 22 of the camera 2 reads camera ID information, which is information for specifying the camera 2, from the program memory 24 (Q02). As camera ID information, for example, serial NO. and so on. Subsequently, the processing unit 22 reads the current date and time information from the clock unit 25 (Q03), and transmits the camera ID information and the current date and time information as camera information to the information processing apparatus 1 (Q04).

情報処理装置1の処理部11は、送信されたカメラ情報を受信して(R02)、図3の処理に戻る。   The processing unit 11 of the information processing apparatus 1 receives the transmitted camera information (R02), and returns to the processing of FIG.

図3に戻り、情報処理装置1の処理部11は、受信したカメラ情報からカメラIDを抽出し、このカメラIDがカメラ管理DB14に登録されているかどうかを調べる(T02)。   Returning to FIG. 3, the processing unit 11 of the information processing apparatus 1 extracts a camera ID from the received camera information, and checks whether or not this camera ID is registered in the camera management DB 14 (T02).

図5は、カメラ管理DB14の構成を示す図である。カメラ管理DB14には、カメラID毎にカメラ2の時計時刻を調整した日時の情報が履歴として記録されている。   FIG. 5 is a diagram showing the configuration of the camera management DB 14. In the camera management DB 14, information on the date and time when the clock time of the camera 2 is adjusted for each camera ID is recorded as a history.

カメラIDがカメラ管理DB14に登録されている場合(T02 Yes)は、そのカメラIDに対応して記憶されている調整日時情報のうち、最終の時刻調整日時、即ち、図5においては、N回目の時刻調整日時を取り出す(T03)。   When the camera ID is registered in the camera management DB 14 (T02 Yes), the last time adjustment date / time among the adjustment date / time information stored corresponding to the camera ID, that is, the Nth time in FIG. The time adjustment date and time is taken out (T03).

そして、この最終の時刻調整日時と、カメラ2から送信されたカメラの時計の現在日時との差を調べる(T04)。この日時の差が所定の値よりも小さい場合(T04 No)は、前回カメラ2の時刻を調整してからまだ時間が経っていないためカメラ2の時計の誤差は大きくないとして撮影日時の補正は不要とする(T05)。この日時の差が所定の値よりも大きい場合(T04 Yes)は、前回カメラ2の時刻を調整してから充分な日数が経過しているためカメラ2の時計には修正を要する誤差が生じているものとして撮影日時の補正が必要とする(T06)。   Then, the difference between this final time adjustment date and time and the current date and time of the camera clock transmitted from the camera 2 is checked (T04). When the difference between the dates and times is smaller than a predetermined value (T04 No), since the time has not yet passed since the time of the previous camera 2 was adjusted, the correction of the shooting date and time is corrected because the clock error of the camera 2 is not large. Not required (T05). If the difference between the dates and times is greater than a predetermined value (T04 Yes), a sufficient number of days have passed since the time of the previous camera 2 was adjusted, and the camera 2 clock has an error that requires correction. It is necessary to correct the shooting date and time (T06).

一方、カメラIDがカメラ管理DB14に登録されていない場合(T02 No)は、後述する撮影日時の補正に必要な情報であるカメラ2の最終時刻調整日時が不明のため、撮影日時の補正はカメラ2が情報処理装置1に接続される次回以降に実施することとし、今回はそのための準備を実施する。そこで、処理部11は、カメラ管理DB14にカメラIDを新たに登録する(T10)。そして、処理部11は、現在日時の獲得処理を実行する(T11)。   On the other hand, when the camera ID is not registered in the camera management DB 14 (T02 No), since the final time adjustment date and time of the camera 2 which is information necessary for correcting the shooting date and time described later is unknown, the correction of the shooting date and time is performed by the camera. 2 is to be implemented after the next time when it is connected to the information processing apparatus 1, and preparation for that is performed this time. Therefore, the processing unit 11 newly registers a camera ID in the camera management DB 14 (T10). Then, the processing unit 11 executes current date acquisition processing (T11).

図6は、現在の日時の獲得手順を示すフロー図である。   FIG. 6 is a flowchart showing a procedure for acquiring the current date and time.

処理部11は、情報処理装置1の時計部16が計時する日付と時間を、仮に「現在の日時」とし(R05)、その「現在の日時」を表示エリアに表示するとともに、利用者に対して現在日時を入力するように促すメッセージと現在日時入力用ダイアローグを表示部17に表示する(R06)。   The processing unit 11 temporarily sets the date and time counted by the clock unit 16 of the information processing apparatus 1 as “current date and time” (R05), displays the “current date and time” in the display area, and also displays the date and time to the user. A message prompting the user to input the current date and time and a dialog for inputting the current date and time are displayed on the display unit 17 (R06).

利用者は、表示された「現在の日時」を確認して、その「現在の日時」を修正する場合は、入力ダイアローグに現在日時を入力して操作を完了する。その「現在の日時」を修正する必要がない場合は、利用者は入力ダイアローグに何も入力せずにそのまま操作を完了する。   When the user confirms the displayed “current date and time” and corrects the “current date and time”, the user inputs the current date and time in the input dialog and completes the operation. If it is not necessary to correct the “current date and time”, the user completes the operation without inputting anything in the input dialog.

処理部11は、完了操作があったことを検出すると(R07)、利用者による現在日時の入力があったかどうかを調べる(R08)。利用者による現在日時の入力があった場合(R08 Yes)は、利用者が入力した現在日時を「現在の日時」とする(R09)。利用者による現在日時の入力がなかった場合(R08 No)は、情報処理装置1の日時を「現在の日時」とする。   When detecting that the completion operation has been performed (R07), the processing unit 11 checks whether or not the user has input the current date and time (R08). When the current date and time is input by the user (R08 Yes), the current date and time input by the user is set as “current date and time” (R09). When there is no input of the current date and time by the user (R08 No), the date and time of the information processing apparatus 1 is set as “current date and time”.

図3に戻り、「現在の日時」を獲得した処理部11は、その「現在の日時」でカメラ2の時計を補正する(T12)。   Returning to FIG. 3, the processing unit 11 that has acquired the “current date and time” corrects the clock of the camera 2 with the “current date and time” (T12).

図7は、カメラ2の時計を補正する手順を示すフロー図である。   FIG. 7 is a flowchart showing a procedure for correcting the clock of the camera 2.

処理部11は、カメラ2に対して「現在の日時」を含む時計修正命令を送信する(R15)。   The processing unit 11 transmits a clock correction command including “current date and time” to the camera 2 (R15).

この時計修正命令を受信したカメラ2の処理部22は、時計修正命令に含まれる「現在の日時」を抽出し、その「現在の日時」に時計部25の現在日時を合わせる(Q10、Q11)。そして、修正した時に時計部25が示していた時刻情報を含む時計修正完了確認を情報処理装置1に送信する(Q12)。   Receiving this clock correction command, the processing unit 22 of the camera 2 extracts the “current date and time” included in the clock correction command, and matches the current date and time of the clock unit 25 to the “current date and time” (Q10, Q11). . Then, a clock correction completion confirmation including the time information indicated by the clock unit 25 at the time of correction is transmitted to the information processing apparatus 1 (Q12).

カメラ2から、時計修正完了確認を受信した情報処理装置1の処理部11は、「現在の日時」を最終時刻調整日時として、修正した時にカメラの時計部25が示していた日時と共にカメラIDと関連付けてカメラ管理DB14に登録する(R16、R17)。   The processing unit 11 of the information processing apparatus 1 that has received the clock correction completion confirmation from the camera 2 sets the “current date and time” as the final time adjustment date and time, the camera ID and the date and time indicated by the camera clock unit 25 at the time of correction. The associated information is registered in the camera management DB 14 (R16, R17).

図3に戻り、以上の処理によって、カメラ2の時刻調整とカメラ管理DBへのカメラID等の登録が行われたため、処理部11は、「今後、撮影日時の補正が可能になる」ことを表示部に表示して利用者に提示する(T13)。そして、撮影日時の補正が不要とする(T14)。   Returning to FIG. 3, the time adjustment of the camera 2 and the registration of the camera ID and the like in the camera management DB are performed by the above processing, so that the processing unit 11 states that “the shooting date and time can be corrected in the future”. It is displayed on the display unit and presented to the user (T13). Then, it is unnecessary to correct the shooting date (T14).

図2に戻り、ステップS02の結果で、撮影日時の補正が不要と判断されたとき(S03 No)は、本処理を終了する。撮影日時の補正が必要と判断されたとき(S03 Yes)は、「現在の日時」を獲得し(S04)、その獲得した「現在の日時」でカメラ2の時計を補正する(S05)。ステップS04及びS05の処理は、図3に示すステップT11及びT12と同じ内容であるためその詳細の説明は省略する。   Returning to FIG. 2, when it is determined that the correction of the shooting date / time is unnecessary as a result of step S02 (No in S03), this process is terminated. When it is determined that the shooting date / time needs to be corrected (S03 Yes), “current date” is acquired (S04), and the clock of the camera 2 is corrected with the acquired “current date” (S05). Since the processes in steps S04 and S05 are the same as those in steps T11 and T12 shown in FIG. 3, detailed description thereof is omitted.

続いて、処理部11は、カメラ2から画像ファイルの取得処理を実行する(S06)。   Subsequently, the processing unit 11 executes an image file acquisition process from the camera 2 (S06).

図8は、カメラ2から画像ファイルを取得する処理手続を示すフロー図である。   FIG. 8 is a flowchart showing a processing procedure for acquiring an image file from the camera 2.

この処理手続では、カメラ2から画像ファイルを1枚づつ獲得する。処理部11は、カメラ2に対して画像要求を送信する(T21)。   In this processing procedure, image files are obtained one by one from the camera 2. The processing unit 11 transmits an image request to the camera 2 (T21).

画像要求を受信したカメラ2の処理部22は、全ての撮影した画像ファイルを情報処理装置1に送信したどうかを調べる(Q21、Q22)。全ての撮影した画像ファイルを情報処理装置1に送信した場合(Q22 Yes)は、全ての撮影した画像ファイルを送信したことを通知する送信完了情報を生成して、その送信完了情報を情報処理装置1に送信する(Q23、Q25)。全ての撮影した画像ファイルを情報処理装置1に送信していない場合(Q22 No)は、画像メモリ23から次の撮影した画像ファイルを読み出して、その画像ファイルを情報処理装置1に送信する(Q24、Q25)。   The processing unit 22 of the camera 2 that has received the image request checks whether or not all captured image files have been transmitted to the information processing apparatus 1 (Q21, Q22). When all captured image files are transmitted to the information processing apparatus 1 (Q22 Yes), transmission completion information for notifying that all captured image files have been transmitted is generated, and the transmission completion information is transmitted to the information processing apparatus. 1 (Q23, Q25). When all the captured image files have not been transmitted to the information processing apparatus 1 (No in Q22), the next captured image file is read from the image memory 23 and the image file is transmitted to the information processing apparatus 1 (Q24). Q25).

撮影画像ファイル又は送信完了情報を受信した処理部11は、その情報から全ての画像ファイルを取得したかどうかを判断する(T22、T23)。全ての画像ファイルを取得した場合(T23 Yes)は、本画像ファイル取得処理を終了して図3に戻る。   The processing unit 11 that has received the captured image file or the transmission completion information determines whether or not all the image files have been acquired from the information (T22, T23). When all the image files have been acquired (T23 Yes), this image file acquisition process is terminated and the process returns to FIG.

まだ全ての画像ファイルを取得していない場合(T23 No)は、送信された画像ファイルについての画像IDを作成する(T24)。この画像IDは、送信された画像を画像メモリ12に登録する際の識別番号である。カメラ2から送信される画像ファイルには、カメラ2が独自に生成した識別番号が付与されているが、情報処理装置1内においてこの識別番号にダブりが発生することがある。そのため、情報処理装置1内においてユニークな画像IDを作成する。   If all the image files have not been acquired yet (T23 No), an image ID for the transmitted image file is created (T24). This image ID is an identification number for registering the transmitted image in the image memory 12. The image file transmitted from the camera 2 is given an identification number uniquely generated by the camera 2, but the identification number may be doubled in the information processing apparatus 1. Therefore, a unique image ID is created in the information processing apparatus 1.

次に、送信された画像ファイルに含まれる情報から撮影日時情報を抽出し(T25)、画像ファイルを画像メモリ12に保存する(T26)。そして、画像ID、カメラID、撮影日時情報等の情報を、図9に示す構成の画像管理DB13に格納した(T27)後、ステップT21に戻ってカメラ2に対して次の画像ファイルの送信を要求する。   Next, the shooting date / time information is extracted from the information included in the transmitted image file (T25), and the image file is stored in the image memory 12 (T26). Information such as the image ID, camera ID, and shooting date / time information is stored in the image management DB 13 having the configuration shown in FIG. 9 (T27), and the process returns to step T21 to transmit the next image file to the camera 2. Request.

なお、デジタルカメラで生成される業界標準のファイル形式であるEXIF形式では、画像と共に撮影日時の情報が含まれているので、ステップT25では、この情報を抽出する。   Note that in the EXIF format, which is an industry standard file format generated by a digital camera, information on the shooting date and time is included together with the image, so this information is extracted in step T25.

この画像取得処理に続き、図2に戻り、処理部11は、保存された画像ファイルの修正処理を行う(S07)。この修正処理では、カメラ2の時計の進み/遅れに対応して撮影日時を修正する。図10は、撮影日時の修正方法を説明する図である。   Following this image acquisition process, returning to FIG. 2, the processing unit 11 performs a correction process on the stored image file (S07). In this correction process, the shooting date and time are corrected in accordance with the advance / delay of the clock of the camera 2. FIG. 10 is a diagram for explaining a method of correcting the shooting date and time.

図10の座標の横軸は、正しい時間(X)を示し、縦軸は、カメラ2の時計での時間(Y)を示している。ここで、T:最後にカメラ2の時計を正しい時刻に調整したときの時間(最終時刻調整日時)、T:現在の正しい時間、S:カメラ2の時計での現在の時間、R:画像に記録されている撮影時刻、P:正しい撮影時刻である。 The horizontal axis of the coordinates in FIG. 10 indicates the correct time (X), and the vertical axis indicates the time (Y) in the clock of the camera 2. Here, T 1 : Time when the clock of the camera 2 was last adjusted to the correct time (final time adjustment date and time), T 2 : Current correct time, S: Current time on the camera 2 clock, R: Shooting time recorded in the image, P: correct shooting time.

カメラ2の時計に進み/遅れがない場合は、XとYは直線Aで示される関係を有する。即ち、直線Aは、カメラ2の時計が正しい時間経過を示す場合の関係を示している。しかし、カメラ2の時計に進みが発生している場合は、XとYは直線Bで示される関係を有する。即ち、直線Bは、カメラ2の時計が実際より早く進む場合の関係を示している。   When there is no advance / delay in the clock of the camera 2, X and Y have a relationship indicated by a straight line A. That is, the straight line A shows the relationship when the clock of the camera 2 shows the correct time. However, when advance is occurring in the clock of the camera 2, X and Y have a relationship indicated by a straight line B. That is, the straight line B shows the relationship when the clock of the camera 2 advances faster than the actual time.

そうすると、画像の記録されている撮影時刻Rを正しい撮影時刻Pに変換する式は直線Bの関係を利用して、以下の式(1)で求められる。   Then, the formula for converting the shooting time R at which the image is recorded into the correct shooting time P is obtained by the following formula (1) using the relationship of the straight line B.

P=(T−T)・(R−T)/(S−T) + T …式(1)
図11は、撮影日時を修正する処理手順を示す図である。
P = (T 2 −T 1 ) · (R−T 1 ) / (S−T 1 ) + T 1 (1)
FIG. 11 is a diagram illustrating a processing procedure for correcting the shooting date and time.

処理部11は、図5に示すカメラ管理DB14より、カメラ2の最終時刻調整日時を抽出する(T31)。次に、画像管理DB13より、同一のカメラIDをもつ画像ファイルより撮影日時を修正する画像ファイルを選別する(T32)。即ち、既に撮影日時が修正されている場合は以下処理は行わず、まだ撮影日時の修正が行われていない画像ファイルを修正対象として選定する。   The processing unit 11 extracts the last time adjustment date and time of the camera 2 from the camera management DB 14 shown in FIG. 5 (T31). Next, the image management DB 13 selects an image file whose shooting date / time is corrected from image files having the same camera ID (T32). That is, when the shooting date / time has already been corrected, the following processing is not performed, and an image file whose shooting date / time has not been corrected is selected as a correction target.

次に、最初の画像ファイルを選択して撮影日時情報を抽出し(T33)、式(1)を用いて撮影日時の修正日時を算出する(T34)。そして、選択している画像ファイルの撮影日時を修正日時で書き換える(T35)とともに、画像管理DB13に記憶されている、選択されている画像IDの撮影年月日、撮影時刻等を修正日時で置き換える(T36)。   Next, the first image file is selected to extract shooting date / time information (T33), and the correction date / time of the shooting date / time is calculated using equation (1) (T34). Then, the shooting date / time of the selected image file is rewritten with the correction date / time (T35), and the shooting date / time, shooting time, etc. of the selected image ID stored in the image management DB 13 are replaced with the correction date / time. (T36).

選別された全ての画像ファイルの撮影日時の修正が完了していない場合(T37 No)は、次の撮影画像ファイルを選択して(T38)、ステップT34〜T37の処理を繰り返す。   If the correction of the shooting date and time of all the selected image files has not been completed (No in T37), the next shooting image file is selected (T38), and the processes in steps T34 to T37 are repeated.

選別された全ての画像ファイルの撮影日時の修正が完了した場合(T37 Yes)は、図2に戻り、第1の実施の形態に係る撮影日時修正処理を終了する。   When the correction of the shooting date / time of all the selected image files is completed (T37 Yes), the process returns to FIG. 2, and the shooting date / time correction processing according to the first embodiment is ended.

なお、カメラの時計の修正(S05)を、保存画像の撮影時間の修正処理(S07)の後に実行してもよい。この場合、カメラ画像の取得(S06)や保存画像の撮影時間の修正処理(S07)の途中で処理が中断された場合、カメラの時計の補正が行われないので、再度カメラ画像の取得(S06)の処理から実行することにより、画像の撮影日時の修正が行える。   Note that the correction of the camera clock (S05) may be executed after the correction process (S07) of the shooting time of the stored image. In this case, if the processing is interrupted during the acquisition of the camera image (S06) or the correction processing of the shooting time of the stored image (S07), the camera clock is not corrected, so that the acquisition of the camera image is again performed (S06). ), The shooting date and time of the image can be corrected.

本第1の実施の形態によれば、カメラの時計に進み/遅れが有る場合にも撮影日時を修正することができる。また、既に撮影済みの画像ファイルに対しても撮影日時を修正することができる。   According to the first embodiment, it is possible to correct the shooting date and time even when the camera clock is advanced / delayed. In addition, the shooting date and time can be corrected for an image file that has already been shot.

[第2の実施の形態]
第2の実施の形態の情報処理プログラムが適用される情報処理システムの構成は、第1の実施の形態の構成と同一である。従って、第1の実施の形態と同一部分には同一の符号を付して参照し、その詳細の説明は省略する。第2の実施の形態では、カメラの時計が例えば、電池切れなどによってリセットされた場合にも撮影日時の修正が可能である点で第1の実施の形態と異なっている。
[Second Embodiment]
The configuration of the information processing system to which the information processing program of the second embodiment is applied is the same as the configuration of the first embodiment. Accordingly, the same parts as those in the first embodiment are referred to with the same reference numerals, and detailed description thereof is omitted. The second embodiment is different from the first embodiment in that the shooting date and time can be corrected even when the camera clock is reset due to, for example, battery exhaustion.

図12は、第2の実施の形態に係る撮影日時修正処理全体の手続を示すフロー図である。   FIG. 12 is a flowchart showing a procedure of the entire photographing date / time correction process according to the second embodiment.

カメラ2が情報処理装置1に接続されたときは、処理部11は通信インターフェース10を介して接続を検出し(S11)、撮影日時を補正する必要があるかどうかを判定する(S12)。   When the camera 2 is connected to the information processing apparatus 1, the processing unit 11 detects the connection via the communication interface 10 (S11), and determines whether it is necessary to correct the shooting date and time (S12).

図13、図14は、撮影日時の補正要否を判定する手順を示すフロー図である。   FIG. 13 and FIG. 14 are flowcharts showing a procedure for determining whether or not the photographing date / time needs to be corrected.

図13において、情報処理装置1の処理部11は、先ずカメラ2からカメラ情報を取得する処理を実行する(T41)。即ち、図14において、情報処理装置1の処理部11は、カメラ2に対してカメラ情報要求を送信する(R21)。   In FIG. 13, the processing unit 11 of the information processing apparatus 1 first executes a process of acquiring camera information from the camera 2 (T41). That is, in FIG. 14, the processing unit 11 of the information processing apparatus 1 transmits a camera information request to the camera 2 (R21).

このカメラ情報要求を受信すると(Q31)、カメラ2の処理部22は、カメラ2を特定するための情報であるカメラID情報をプログラムメモリ24から読み出す(Q32)。カメラID情報としては例えば、シリアルNO.などがある。続いて、処理部22は、時計部25から現在の日時情報を読み出し(Q33)、更に画像メモリ23中の画像の画像IDと撮影日時情報を抽出する(Q34)。そしてカメラID情報、画像ID及び撮影日時情報をカメラ情報として情報処理装置1に送信する(Q35)。   When this camera information request is received (Q31), the processing unit 22 of the camera 2 reads camera ID information, which is information for specifying the camera 2, from the program memory 24 (Q32). As camera ID information, for example, serial NO. and so on. Subsequently, the processing unit 22 reads the current date / time information from the clock unit 25 (Q33), and further extracts the image ID and the shooting date / time information of the image in the image memory 23 (Q34). Then, the camera ID information, the image ID, and the shooting date / time information are transmitted to the information processing apparatus 1 as camera information (Q35).

情報処理装置1の処理部11は、送信されたカメラ情報を受信して(R22)、図13の処理に戻る。   The processing unit 11 of the information processing apparatus 1 receives the transmitted camera information (R22), and returns to the processing of FIG.

図13に戻り、情報処理装置1の処理部11は、受信したカメラ情報からカメラIDを抽出し、このカメラIDが図5に示すカメラ管理DB14に登録されているかどうかを調べる(T42)。   Returning to FIG. 13, the processing unit 11 of the information processing apparatus 1 extracts the camera ID from the received camera information, and checks whether or not this camera ID is registered in the camera management DB 14 shown in FIG. 5 (T42).

カメラIDがカメラ管理DB14に登録されている場合(T42 Yes)は、そのカメラIDに対応して記憶されている調整日時情報のうち、最終の時刻調整日時、即ち、図5の、N回目の時刻調整日時を取り出す(T43)。   When the camera ID is registered in the camera management DB 14 (T42 Yes), among the adjustment date information stored corresponding to the camera ID, the last time adjustment date, that is, the Nth time in FIG. The time adjustment date is taken out (T43).

そして、この最終の時刻調整日時よりも前の撮影日時をもつカメラ画像が存在するかどうかを調べる(T44)。リセットされたカメラ2の日付は例えば、1900年1月1日と遠い過去の日付として認識される。従って、最終の時刻調整日時よりも前の撮影日時かどうかを判断することで、リセットの有無を判断することが可能となる。   Then, it is checked whether or not there is a camera image having a shooting date and time before the final time adjustment date and time (T44). The date of the camera 2 that has been reset is recognized as a date in the past that is far from January 1, 1900, for example. Therefore, it is possible to determine whether or not there is a reset by determining whether or not the photographing date and time is earlier than the final time adjustment date and time.

最終の時刻調整日時よりも前の撮影日時をもつカメラ画像が存在しない場合(T44 No)は、第1の実施の形態と同様の処理を実施する。即ち、最終の時刻調整日時と、カメラ2から送信されたカメラの時計の現在日時との差を調べる(T45)。この日時の差が所定の値よりも小さい場合(T45 No)は、前回カメラ2の時刻を調整してからまだ時間が経っていないためカメラ2の時計の誤差は大きくないとして撮影日時の補正は不要とする(T46)。この日時の差が所定の値よりも大きい場合(T45 Yes)は、前回カメラ2の時刻を調整してから充分な日数が経過しているためカメラ2の時計には修正を要する誤差が生じているものとして撮影日時の補正が必要とする(T47)。   When there is no camera image having a shooting date and time prior to the last time adjustment date and time (No in T44), the same processing as in the first embodiment is performed. That is, the difference between the last time adjustment date and time and the current date and time of the camera clock transmitted from the camera 2 is checked (T45). When the difference between the dates and times is smaller than a predetermined value (T45 No), since the time has not passed yet since the time of the camera 2 was adjusted last time, the clock date and time of the camera 2 is not so large and the shooting date and time are corrected. It is unnecessary (T46). If the difference between the dates and times is larger than a predetermined value (T45 Yes), a sufficient number of days have passed since the time of the previous camera 2 was adjusted, and the camera 2 clock has an error that requires correction. It is necessary to correct the shooting date and time (T47).

最終の時刻調整日時よりも過去の撮影日時をもつカメラ画像が存在する場合(T44 Yes)は、そのカメラ画像は、最終の時刻調整日時以降において、カメラ2の日付がリセットされた後に撮影された画像であると判断される。次に、カメラ管理DB14に、2回以上の時計調整履歴が記憶されているかどうかを調べる(T48)。   If there is a camera image having a shooting date and time earlier than the last time adjustment date and time (T44 Yes), the camera image was taken after the date of the camera 2 was reset after the last time adjustment date and time. It is determined to be an image. Next, it is checked whether or not the clock adjustment history is stored twice or more in the camera management DB 14 (T48).

カメラ管理DB14に、2回以上の時計調整履歴が記憶されている場合(T48 Yes)は、後述するリセット後の撮影日時の補正が可能であるため、撮影日時の補正が必要とする(T47)。カメラ管理DB14に、2回以上の時計調整履歴が記憶されていない場合(T48 No)は、後述するリセット後の撮影日時の補正が不可能であるため、撮影日時の補正ができないことを表示部17に表示して(T49)、撮影日時の補正は不要とする(T46)。   When two or more clock adjustment histories are stored in the camera management DB 14 (T48 Yes), it is possible to correct the shooting date and time after reset, which will be described later, and thus it is necessary to correct the shooting date and time (T47). . If the camera management DB 14 does not store the clock adjustment history more than once (No in T48), it is impossible to correct the shooting date after reset, which will be described later. 17 (T49), it is unnecessary to correct the shooting date and time (T46).

一方、カメラIDがカメラ管理DB14に登録されていない場合(T42 No)は、後述する撮影日時の補正に必要な情報であるカメラ2の最終時刻調整日時が不明のため、撮影日時の補正はカメラ2が情報処理装置1に接続される次回以降に実施することとし、今回はそのための準備を実施する。そこで、処理部11は、カメラ管理DB14にカメラIDを新たに登録する(T53)。そして、処理部11は、現在の日時を獲得して、その日時でカメラ2の時計を補正する(T54、T55)。   On the other hand, when the camera ID is not registered in the camera management DB 14 (T42 No), since the final time adjustment date and time of the camera 2, which is information necessary for correcting the shooting date and time described later, is unknown, the correction of the shooting date and time is performed by the camera. 2 is to be implemented after the next time when it is connected to the information processing apparatus 1, and preparation for that is performed this time. Therefore, the processing unit 11 newly registers a camera ID in the camera management DB 14 (T53). Then, the processing unit 11 acquires the current date and time, and corrects the clock of the camera 2 with the date and time (T54 and T55).

なお、現在の日時の獲得処理及びカメラの時計の補正処理は、それぞれ図6及び図7の処理と同じであるため詳細の説明を省略する。   Note that the current date acquisition processing and camera clock correction processing are the same as the processing in FIGS.

以上の処理によって、カメラ2の時刻調整とカメラ管理DB14へのカメラID等の登録が行われたため、処理部11は、「今後、撮影日時の補正が可能になる」ことを表示部17に表示して利用者に提示する(T56)。そして、撮影日時の補正が不要とする(T57)。   Through the above processing, the time adjustment of the camera 2 and the registration of the camera ID and the like in the camera management DB 14 are performed, so that the processing unit 11 displays on the display unit 17 that “the photographing date and time can be corrected in the future”. To the user (T56). Then, it is unnecessary to correct the shooting date and time (T57).

図12に戻り、ステップS12の結果で、撮影日時の補正が不要と判断されたとき(S13 No)は、本処理を終了する。撮影日時の補正が必要と判断されたとき(S13 Yes)は、「現在の日時」を獲得し(S14)、その獲得した「現在の日時」でカメラ2の時計を補正する(S15)。ステップS14及びS15の処理は、それぞれ図6及び図7の処理と同じであるためその詳細の説明は省略する。   Returning to FIG. 12, when it is determined that the correction of the shooting date / time is unnecessary as a result of step S12 (No in S13), this process is terminated. When it is determined that the shooting date / time needs to be corrected (S13 Yes), the “current date / time” is acquired (S14), and the clock of the camera 2 is corrected with the acquired “current date / time” (S15). Since the processes in steps S14 and S15 are the same as the processes in FIGS. 6 and 7, respectively, detailed description thereof is omitted.

続いて、処理部11は、カメラ2から画像ファイルを取得する処理を実行する(S16)。   Subsequently, the processing unit 11 executes processing for acquiring an image file from the camera 2 (S16).

図15は、カメラ2から画像ファイルを取得する処理手続を示すフロー図である。   FIG. 15 is a flowchart showing a processing procedure for acquiring an image file from the camera 2.

この処理手続では、カメラ2から獲得する画像ファイルを、日付リセット前の画像のグループ(グループA)と日付リセット後の画像のグループ(グループB)とに分類する。そこで、準備処理としてグループAとグループBの領域を生成し(T61)、カメラ管理DB14よりカメラ2の最終時刻調整日時を抽出する(T62)。そして、処理部11は、カメラ2に対して画像要求を送信する(T63)。   In this processing procedure, image files acquired from the camera 2 are classified into an image group before date reset (group A) and an image group after date reset (group B). Therefore, the areas of group A and group B are generated as preparation processing (T61), and the last time adjustment date and time of the camera 2 is extracted from the camera management DB 14 (T62). Then, the processing unit 11 transmits an image request to the camera 2 (T63).

画像要求を受信したカメラ2の処理部22は、全ての撮影した画像ファイルを情報処理装置1に送信したどうかを調べる(Q41、Q42)。全ての撮影した画像ファイルを情報処理装置1に送信した場合(Q42 Yes)は、全ての撮影した画像ファイルを送信したことを通知する情報を生成して、その送信完了情報を情報処理装置1に送信する(Q43、Q45)。全ての撮影した画像ファイルを情報処理装置1に送信していない場合(Q42 No)は、画像メモリ23から次に撮影した画像ファイルを読み出して、その画像ファイルを情報処理装置1に送信する(Q44、Q45)。   The processing unit 22 of the camera 2 that has received the image request checks whether or not all captured image files have been transmitted to the information processing apparatus 1 (Q41, Q42). When all the captured image files are transmitted to the information processing apparatus 1 (Q42 Yes), information for notifying that all captured image files have been transmitted is generated, and the transmission completion information is transmitted to the information processing apparatus 1. Transmit (Q43, Q45). When not all the captured image files have been transmitted to the information processing apparatus 1 (No in Q42), the next captured image file is read from the image memory 23, and the image file is transmitted to the information processing apparatus 1 (Q44). Q45).

撮影画像ファイル又は送信完了情報を受信した処理部11は、その情報から全ての画像ファイルを取得したかどうかを判断する(T64、T65)。全ての画像ファイルを取得した場合(T65 Yes)は、本画像ファイル取得処理を終了して図12に戻る。   The processing unit 11 that has received the captured image file or the transmission completion information determines whether or not all the image files have been acquired from the information (T64, T65). When all the image files have been acquired (T65 Yes), this image file acquisition process ends and the process returns to FIG.

まだ全ての画像ファイルを取得していない場合(T65 No)は、送信された画像ファイルについての画像IDを作成する(T66)。この画像IDは、送信された画像を画像メモリ12に登録する際の識別番号である。カメラ2から送信される画像ファイルには、カメラ2が独自に生成した識別番号が付与されているが、情報処理装置1内においてこの識別番号にダブりが発生することがある。そのため、情報処理装置1内においてユニークな画像IDを作成する。   If all the image files have not been acquired yet (T65 No), an image ID for the transmitted image file is created (T66). This image ID is an identification number for registering the transmitted image in the image memory 12. The image file transmitted from the camera 2 is given an identification number uniquely generated by the camera 2, but the identification number may be doubled in the information processing apparatus 1. Therefore, a unique image ID is created in the information processing apparatus 1.

次に、送信された画像ファイルに含まれる撮影日時情報を抽出し(T67)、画像ファイルを画像メモリ12に保存する(T68)。そして、画像ID、カメラID、撮影日時情報等の情報を、図9に示す構成の画像管理DB13に格納して(T69)、画像ファイルをグループに分類する。即ち、撮影日時が最終時刻調整日以降の場合は、その画像ファイルをグループAに登録し(T70 Yes、T71)、撮影日時が最終時刻調整日以前の場合は、その画像ファイルをグループBに登録し(T70 No、T71)。ステップT21に戻ってカメラ2に対して次の画像ファイルの送信を要求する。   Next, the shooting date / time information included in the transmitted image file is extracted (T67), and the image file is stored in the image memory 12 (T68). Information such as the image ID, camera ID, and shooting date / time information is stored in the image management DB 13 having the configuration shown in FIG. 9 (T69), and the image files are classified into groups. That is, if the shooting date is after the last time adjustment date, the image file is registered in group A (T70 Yes, T71). If the shooting date is before the last time adjustment date, the image file is registered in group B. (T70 No, T71). Returning to step T21, the camera 2 is requested to transmit the next image file.

この画像取得処理に続き、図12に戻り、処理部11は、保存された画像ファイルの修正処理を行う(S17)。この修正処理では、カメラ2の時計のリセットの前後に対応して撮影日時を修正する。   Following this image acquisition process, returning to FIG. 12, the processing unit 11 performs a correction process on the stored image file (S17). In this correction process, the shooting date and time are corrected before and after the clock of the camera 2 is reset.

図16に、撮影日時の修正方法を説明する図を示す。 FIG. 16 illustrates a method for correcting the shooting date and time.

図16の座標の横軸は、実際の日時(X)を示し、縦軸は、カメラ2の時計での日時(Y)を示している。直線Cはカメラ2の時計がリセットされる前の状態を表わし、直線Dは、カメラ2の時計がリセットされた後の状態を表わしている。従って、この2つの直線C、Dの傾きは等しいとして取り扱うことができる。   The horizontal axis of the coordinates in FIG. 16 indicates the actual date and time (X), and the vertical axis indicates the date and time (Y) in the clock of the camera 2. A straight line C represents a state before the clock of the camera 2 is reset, and a straight line D represents a state after the clock of the camera 2 is reset. Accordingly, the two straight lines C and D can be treated as having the same inclination.

なお、直線Cと直線Bとが実際の時間で間が空いているのは、電池切れによりカメラの時計が停止し、新しい電池に入れ換えたときに時計がリセットされたことを表している。   Note that the gap between the straight line C and the straight line B at the actual time indicates that the clock of the camera was stopped due to battery exhaustion and the clock was reset when the battery was replaced with a new battery.

ここで、T:実際のリセット日時、t:カメラ2のリセット日時、T:最終時刻調整時点の実際の日時、t:最終時刻調整時点のカメラ2の日時、Tn−1:最終の1つ前の時計時刻調整時点の実際の日時、tn−1:最終の1つ前の時計時刻調整時点のカメラの日時、T:実際の現在の日時、t:現在のカメラ2の日時、T:画像の実際の撮影日時、t:カメラ2の撮影日時、T:画像の実際の撮影日時、t:カメラ2の撮影日時とする。なお、tn−1=Tn−1である。 Here, T 0 : actual reset date / time, t 0 : camera 2 reset date / time, T n : actual date / time at the final time adjustment time, t n : date / time of the camera 2 at the final time adjustment time, T n−1 : Actual date and time at the last clock time adjustment time, t n-1 : Camera date and time at the last previous clock time adjustment time, T p : Actual current date and time, t p : Current camera 2, T A : actual shooting date / time of image, t A : shooting date / time of camera 2, T B : actual shooting date / time of image, t B : shooting date / time of camera 2. Note that t n-1 = T n-1 .

図16に示すように、実際の日時でT〜Tの間に撮影された画像ファイルがグループAに登録され、実際の日時でT〜Tの間に撮影された画像ファイルがグループBに登録されている。 As shown in FIG. 16, an image file shot between T n and T 0 at the actual date and time is registered in the group A, and an image file shot between T 0 and T p at the actual date and time is stored in the group. Registered in B.

そうすると、直線Cの傾きの逆数を表わす補正係数αは式(2)で表わされ、直線Dの傾きの逆数を表わす補正係数βは式(3)で表わされる。   Then, the correction coefficient α representing the reciprocal of the slope of the straight line C is represented by the equation (2), and the correction coefficient β representing the reciprocal of the straight line D is represented by the equation (3).

α=(T−Tn−1)/(t n−1) …式(2)
β=(T−T)/(t−t) …式(3)
式(3)を変形してTについて求めると、式(4)を得る。
α = (T n −T n−1 ) / (t n −t n−1 ) (2)
β = (T p −T 0 ) / (t p −t 0 ) (3)
When formula (3) is modified to obtain T 0 , formula (4) is obtained.

=T−(t−t)×β …式(4)
上述のように、直線Cと直線Dの傾きは等しい(α=β)と考えられるため、式(5)が成立する。
T 0 = T p - (t p -t 0) × β ... formula (4)
As described above, since the slopes of the straight line C and the straight line D are considered to be equal (α = β), Expression (5) is established.

=T−(t−t)×α …式(5)
以上の準備の下で、グループAに属する画像の実際の撮影日時Tは、式(6)で求められる。
T 0 = T p − (t p −t 0 ) × α (5)
Under the above preparatory, the actual shooting date T A of the image belonging to the group A, given by equation (6).

=T+(t−t)×α …式(6)
また、グループBに属する画像の実際の撮影日時TBは、式(7)で求められる。
T A = T n + (t A −t n ) × α (6)
Further, the actual shooting date and time TB of the images belonging to the group B can be obtained by Expression (7).

=T−(t−t )×α …式(7)
図17は、撮影日時を修正する処理手順を示す図である。
T B = T p − (t p −t B ) × α (7)
FIG. 17 is a diagram illustrating a processing procedure for correcting the shooting date and time.

処理部11は、グループA又はグループBに属する画像ファイルを選別する(T81)。そして、最も撮影日時の古い画像ファイルを選択し(T82)、その選択された画像がグループA又はグループBのいずれに属するかを調べる(T83)。   The processing unit 11 selects image files belonging to the group A or the group B (T81). Then, the image file with the oldest shooting date and time is selected (T82), and it is checked whether the selected image belongs to group A or group B (T83).

選択された画像がグループAに属する場合は、式(6)により撮影日時の修正日時を算出する(T83 Yes、T84)。選択された画像がグループBに属する場合は、式(7)により撮影日時の修正日時を算出する(T83 No、T85)。   When the selected image belongs to the group A, the correction date / time of the shooting date / time is calculated by the equation (6) (T83 Yes, T84). When the selected image belongs to the group B, the correction date / time of the shooting date / time is calculated by the equation (7) (T83 No, T85).

そして、選択している画像ファイルの撮影日時を修正日時で書き換える(T86)とともに、画像管理DB13に記憶されている、選択されている画像IDの撮影年月日、撮影時刻等を修正日時で置き換える(T87)。   Then, the shooting date / time of the selected image file is rewritten with the correction date / time (T86), and the shooting date / time, shooting time, etc. of the selected image ID stored in the image management DB 13 is replaced with the correction date / time. (T87).

グループA及びグループBに属する全ての画像ファイルの撮影日時の修正が完了していない場合(T88 No)は、次の撮影画像ファイルを選択して(T89)、ステップT83〜T88の処理を繰り返す。   If the correction of the shooting date and time of all the image files belonging to group A and group B has not been completed (No in T88), the next shot image file is selected (T89), and the processes of steps T83 to T88 are repeated.

選別された全ての画像ファイルの撮影日時の修正が完了した場合(T87 Yes)は、図12に戻り、第2の実施の形態に係る撮影日時修正処理を終了する。   When the correction of the shooting date / time of all the selected image files is completed (T87 Yes), the process returns to FIG. 12, and the shooting date / time correction processing according to the second embodiment is ended.

本第2の実施の形態によれば、カメラの時計がリセットされてカメラの時刻と実際の時刻に誤差が生じている場合にも撮影日時を修正することができる。   According to the second embodiment, even when the camera clock is reset and an error occurs between the camera time and the actual time, the shooting date and time can be corrected.

なお、上述の各実施の形態ではカメラからの画像ファイルの日時を修正したが、本発明はこの形態に限定されず、撮像機能を備えた端末装置との間で撮影日時の修正処理を行うことができる。従って、本発明はデジタルカメラ、撮像装置、デジタルカメラ付き携帯端末、撮像装置付き携帯端末等に広く適用することが可能である。   In each of the above-described embodiments, the date and time of the image file from the camera is corrected. However, the present invention is not limited to this mode, and the correction processing of the shooting date and time is performed with a terminal device having an imaging function. Can do. Therefore, the present invention can be widely applied to a digital camera, an imaging device, a portable terminal with a digital camera, a portable terminal with an imaging device, and the like.

なお、上述の各実施の形態で説明した機能は、ハードウエアを用いて構成するに留まらず、ソフトウエアを用いて各機能を記載したプログラムをコンピュータに読み込ませて実現することもできる。また、各機能は、適宜ソフトウエア、ハードウエアのいずれかを選択して構成するものであっても良い。   It should be noted that the functions described in the above embodiments are not limited to being configured using hardware, but can be realized by causing a computer to read a program describing each function using software. Each function may be configured by appropriately selecting either software or hardware.

更に、各機能は図示しない記憶媒体に格納したプログラムをコンピュータに読み込ませることで実現させることもできる。ここで本実施の形態における記憶媒体は、プログラムを記憶でき、かつコンピュータが読み取り可能な記憶媒体であれば、その記憶形式は何れの形態であってもよい。   Furthermore, each function can be realized by causing a computer to read a program stored in a storage medium (not shown). Here, as long as the storage medium in this embodiment can store a program and can be read by a computer, the storage format may be any form.

なお、この発明は、上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合せにより種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。更に、異なる実施形態に亘る構成要素を適宜組み合せてもよい。   Note that the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. Further, various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, you may combine suitably the component covering different embodiment.

本発明に係る第1の実施の形態の情報処理プログラムが適用される情報処理システムの構成を示す図。The figure which shows the structure of the information processing system to which the information processing program of 1st Embodiment which concerns on this invention is applied. 第1の実施の形態に係る撮影日時修正処理全体の手続を示すフロー図。The flowchart which shows the procedure of the whole imaging | photography date correction process which concerns on 1st Embodiment. 撮影日時の補正要否を判定する手順を示すフロー図。The flowchart which shows the procedure which determines the correction | amendment necessity of imaging | photography date / time. 撮影日時の補正要否を判定する手順を示すフロー図。The flowchart which shows the procedure which determines the correction | amendment necessity of imaging | photography date / time. カメラ管理DBの構成を示す図。The figure which shows the structure of camera management DB. 現在の日時の獲得手順を示すフロー図。The flowchart which shows the acquisition procedure of the present date. カメラの時計を補正する手順を示すフロー図。The flowchart which shows the procedure which correct | amends the clock of a camera. カメラから画像ファイルを取得する処理手続を示すフロー図。The flowchart which shows the process procedure which acquires an image file from a camera. 画像管理DBの構成を示す図。The figure which shows the structure of image management DB. 撮影日時の修正方法を説明する図。The figure explaining the correction method of imaging | photography date. 撮影日時を修正する処理手順を示す図。The figure which shows the process sequence which corrects imaging | photography date. 第2の実施の形態に係る撮影日時修正処理全体の手続を示すフロー図。The flowchart which shows the procedure of the whole imaging | photography date correction process which concerns on 2nd Embodiment. 撮影日時の補正要否を判定する手順を示すフロー図。The flowchart which shows the procedure which determines the correction | amendment necessity of imaging | photography date / time. 撮影日時の補正要否を判定する手順を示すフロー図。The flowchart which shows the procedure which determines the correction | amendment necessity of imaging | photography date / time. カメラから画像ファイルを取得する処理手続を示すフロー図。The flowchart which shows the process procedure which acquires an image file from a camera. 撮影日時の修正方法を説明する図。The figure explaining the correction method of imaging | photography date. 撮影日時を修正する処理手順を示す図。The figure which shows the process sequence which corrects imaging | photography date.

符号の説明Explanation of symbols

1…情報処理装置、2…カメラ、3…通信ライン、11…処理部、12…画像メモリ、13…画像管理DB、14…カメラ管理DB、16…時計部、17…表示部、18…操作入力部、21…撮像部、22…処理部、25…時計部、26…表示部、27…操作入力部。   DESCRIPTION OF SYMBOLS 1 ... Information processing apparatus, 2 ... Camera, 3 ... Communication line, 11 ... Processing part, 12 ... Image memory, 13 ... Image management DB, 14 ... Camera management DB, 16 ... Clock part, 17 ... Display part, 18 ... Operation Input unit, 21 ... imaging unit, 22 ... processing unit, 25 ... clock unit, 26 ... display unit, 27 ... operation input unit.

Claims (9)

情報処理装置の情報処理プログラムであって
前記情報処理装置に接続する端末装置の時計の計時情報を取得する計時情報取得手順と、
現在の正しい日時である第1の現在日時と、前記計時情報取得手順で取得した端末装置の時計が計時する第2の現在日時とを取得する現在日時取得手順と、
取得した第1の現在日時で前記端末装置の時計の日時を修正する時計修正手順と、
前記時計修正手順において修正に用いた前記第1の現在日時および前記第2の現在日時を時計修正履歴として記憶する時計修正履歴記憶手順と、
前記情報処理装置に接続された前記端末装置から撮影画像を取得する画像取得手順と、
前記画像取得手順で取得した画像に付与されている撮影日時と、前記時計修正履歴記憶手順で記憶された前記端末装置の最後の時計修正日時と比較して、前記画像が前記端末装置のリセット後に撮影されたか否かを判定するリセット判定手順と、
前記リセット判定手順により、前記画像が前記端末装置のリセット前に撮影されたと判断された場合は、第1の補正式により前記画像の撮影日時を補正し、前記画像が前記端末装置のリセット後に撮影されたと判断された場合は、第1の補正式とは異なる第2の補正式により前記画像の撮影日時を補正する撮影日時補正手順と、
を前記情報処理装置に実行させるためのプログラム。
An information processing program for an information processing apparatus,
A time information acquisition procedure for acquiring time information of a clock of a terminal device connected to the information processing device;
A current date acquisition procedure for acquiring a first current date and time that is the current correct date and a second current date and time measured by the clock of the terminal device acquired in the timing information acquisition procedure;
A clock correction procedure for correcting the date and time of the clock of the terminal device with the acquired first current date and time;
A clock correction history storage procedure for storing the first current date and time and the second current date and time used for correction in the clock correction procedure as a clock correction history;
An image acquisition procedure for acquiring a captured image from the terminal device connected to the information processing device;
Compared with the shooting date and time given to the image acquired in the image acquisition procedure and the last clock correction date and time of the terminal device stored in the clock correction history storage procedure, after the image is reset A reset determination procedure for determining whether or not the image has been shot;
When it is determined by the reset determination procedure that the image was taken before the terminal device is reset, the shooting date and time of the image is corrected by a first correction formula, and the image is taken after the terminal device is reset. A shooting date and time correction procedure for correcting the shooting date and time of the image by a second correction formula different from the first correction formula;
For causing the information processing apparatus to execute the program.
前記第1の補正式は、実際のリセット日時T、端末装置の時計のリセット日時t、最終時刻調整時点の実際の日時T、最終時刻調整時点の端末装置の日時t、最終の1つ前の時計時刻調整時点の実際の日時Tn−1、最終の1つ前の時計時刻調整時点の端末装置の日時tn−1、実際の現在の日時T、現在の端末装置の日時t用いて、リセット以前に撮影された画像の撮影日時tと補正された新たな撮影日時Tとの間に、
=T+(t−t)×(T−Tn−1)/(t−tn−1
なる関係を定め、
前記第2の補正式は、リセット以後に撮影された画像の撮影日時tと補正された新たな撮影日時Tとの間に、
=T (t−t)×(T−Tn−1)/(t−tn−1
なる関係を定めることを特徴とする請求項1に記載のプログラム。
The first correction formula includes an actual reset date and time T 0 , a terminal device clock reset date and time t 0 , an actual date and time T n at the final time adjustment time, a terminal device date and time t n at the final time adjustment time, and the final The actual date and time T n-1 of the previous clock time adjustment time, the date and time t n-1 of the terminal device at the last previous clock time adjustment time, the actual current date and time T p , and the current terminal device with time t p, between the new shooting date T a which is corrected with the shooting date t a of the image taken previously reset,
T A = T n + (t A −t n ) × (T n −T n−1 ) / (t n −t n−1 )
To establish a relationship
The second correction equation is calculated between the shooting date / time t B of the image shot after the reset and the corrected new shooting date / time T B.
T B = T P - (t P -t B) × (T n -T n-1) / (t n -t n-1)
The program according to claim 1, wherein the relationship is defined as follows.
前記端末装置は、デジタルカメラ、撮像装置、デジタルカメラ付き携帯端末、撮像装置付き携帯端末の少なくともいずれかであることを特徴とする請求項1または2に記載のプログラム。   The program according to claim 1 or 2, wherein the terminal device is at least one of a digital camera, an imaging device, a portable terminal with a digital camera, and a portable terminal with an imaging device. 情報処理装置の情報処理プログラムを記憶した記憶媒体であって
前記情報処理装置に接続する端末装置の時計の計時情報を取得する計時情報取得ステップと、
現在の正しい日時である第1の現在日時と、前記計時情報取得手順で取得した端末装置の時計が計時する第2の現在日時とを取得する現在日時取得ステップと、
取得した第1の現在日時で前記端末装置の時計の日時を修正する時計修正ステップと、
前記時計修正ステップにおいて修正に用いた前記第1の現在日時および前記第2の現在日時を時計修正履歴として記憶する時計修正履歴記憶ステップと、
前記情報処理装置に接続された前記端末装置から撮影画像を取得する画像取得ステップと、
前記画像取得ステップで取得した画像に付与されている撮影日時と、前記時計修正履歴記憶ステップで記憶された前記端末装置の最後の時計修正日時と比較して、前記画像が前記端末装置のリセット後に撮影されたか否かを判定するリセット判定ステップと、
前記リセット判定ステップにより、前記画像が前記端末装置のリセット前に撮影されたと判断された場合は、第1の補正式により前記画像の撮影日時を補正し、前記画像が前記端末装置のリセット後に撮影されたと判断された場合は、第1の補正式とは異なる第2の補正式により前記画像の撮影日時を補正する撮影日時補正ステップと、
を前記情報処理装置に実行させるためのプログラムを記憶した記憶媒体。
A storage medium storing an information processing program of the information processing apparatus,
A time information acquisition step of acquiring time information of a clock of a terminal device connected to the information processing device;
A current date and time acquisition step of acquiring a first current date and time that is the current correct date and time and a second current date and time measured by the clock of the terminal device acquired in the timing information acquisition procedure;
A clock correction step of correcting the date and time of the clock of the terminal device with the acquired first current date and time;
A clock correction history storage step for storing the first current date and time and the second current date and time used for correction in the clock correction step as a clock correction history;
An image acquisition step of acquiring a captured image from the terminal device connected to the information processing apparatus;
Compare the shooting date and time given to the image acquired in the image acquisition step with the last clock correction date and time of the terminal device stored in the clock correction history storage step, and after the image is reset A reset determination step for determining whether or not the image has been shot;
If it is determined in the reset determination step that the image was taken before the terminal device is reset, the shooting date and time of the image is corrected by a first correction formula, and the image is taken after the terminal device is reset. A shooting date and time correction step of correcting the shooting date and time of the image by a second correction formula different from the first correction formula;
A storage medium storing a program for causing the information processing apparatus to execute the program.
前記第1の補正式は、実際のリセット日時T、端末装置の時計のリセット日時t、最終時刻調整時点の実際の日時T、最終時刻調整時点の端末装置の日時t、最終の1つ前の時計時刻調整時点の実際の日時Tn−1、最終の1つ前の時計時刻調整時点の端末装置の日時tn−1、実際の現在の日時T、現在の端末装置の日時t用いて、リセット以前に撮影された画像の撮影日時tと補正された新たな撮影日時Tとの間に、
=T+(t−t)×(T−Tn−1)/(t−tn−1
なる関係を定め、
前記第2の補正式は、リセット以後に撮影された画像の撮影日時tと補正された新たな撮影日時Tとの間に、
=T (t−t)×(T−Tn−1)/(t−tn−1
なる関係を定めることを特徴とする請求項4に記載のプログラムを記憶した記憶媒体。
The first correction formula includes an actual reset date and time T 0 , a terminal device clock reset date and time t 0 , an actual date and time T n at the final time adjustment time, a terminal device date and time t n at the final time adjustment time, and the final The actual date and time T n-1 of the previous clock time adjustment time, the date and time t n-1 of the terminal device at the last previous clock time adjustment time, the actual current date and time T p , and the current terminal device with time t p, between the new shooting date T a which is corrected with the shooting date t a of the image taken previously reset,
T A = T n + (t A −t n ) × (T n −T n−1 ) / (t n −t n−1 )
To establish a relationship
The second correction equation is calculated between the shooting date / time t B of the image shot after the reset and the corrected new shooting date / time T B.
T B = T P - (t P -t B) × (T n -T n-1) / (t n -t n-1)
The storage medium storing the program according to claim 4, wherein:
情報処理装置であって
前記情報処理装置に接続する端末装置の時計の計時情報を取得する計時情報取得手段と、
現在の正しい日時である第1の現在日時と、前記計時情報取得手段で取得した端末装置の時計が計時する第2の現在日時とを取得する現在日時取得手段と、
取得した第1の現在日時で前記端末装置の時計の日時を修正する時計修正手段と、
前記時計修正手段において修正に用いた前記第1の現在日時および前記第2の現在日時を時計修正履歴として記憶する時計修正履歴記憶手段と、
前記情報処理装置に接続された前記端末装置から撮影画像を取得する画像取得手段と、
前記画像取得手段で取得した画像に付与されている撮影日時と、前記時計修正履歴記憶手段に記憶された前記端末装置の最後の時計修正日時と比較して、前記画像が前記端末装置のリセット後に撮影されたか否かを判定するリセット判定手段と、
前記リセット判定手段により、前記画像が前記端末装置のリセット前に撮影されたと判断された場合は、第1の補正式により前記画像の撮影日時を補正し、前記画像が前記端末装置のリセット後に撮影されたと判断された場合は、第1の補正式とは異なる第2の補正式により前記画像の撮影日時を修正する撮影日時修正手段と
を備えたことを特徴とする情報処理装置。
An information processing apparatus,
Time information acquisition means for acquiring time information of a clock of a terminal device connected to the information processing device;
Current date and time acquisition means for acquiring a first current date and time that is the current correct date and time, and a second current date and time measured by the clock of the terminal device acquired by the timing information acquisition means;
Clock correcting means for correcting the date and time of the clock of the terminal device with the acquired first current date and time;
Clock correction history storage means for storing the first current date and time and the second current date and time used for correction in the clock correction means as clock correction history;
Image acquisition means for acquiring a captured image from the terminal device connected to the information processing apparatus;
Compared with the shooting date and time given to the image acquired by the image acquisition means and the last clock correction date and time of the terminal device stored in the clock correction history storage means, after the image is reset Reset determination means for determining whether or not the image has been shot;
When the reset determination means determines that the image was taken before the terminal device is reset, the shooting date and time of the image is corrected by a first correction formula, and the image is taken after the terminal device is reset. An information processing apparatus comprising: a photographing date and time correcting unit that corrects the photographing date and time of the image by a second correction formula different from the first correction formula when it is determined.
前記第1の補正式は、実際のリセット日時T、端末装置の時計のリセット日時t、最終時刻調整時点の実際の日時T、最終時刻調整時点の端末装置の日時t、最終の1つ前の時計時刻調整時点の実際の日時Tn−1、最終の1つ前の時計時刻調整時点の端末装置の日時tn−1、実際の現在の日時T、現在の端末装置の日時t用いて、リセット以前に撮影された画像の撮影日時tと補正された新たな撮影日時Tとの間に、
=T+(t−t)×(T−Tn−1)/(t−tn−1
なる関係を定め、
前記第2の補正式は、リセット以後に撮影された画像の撮影日時tと補正された新たな撮影日時Tとの間に、
=T (t−t)×(T−Tn−1)/(t−tn−1
なる関係を定めることを特徴とする請求項6に記載の情報処理装置。
The first correction formula includes an actual reset date and time T 0 , a terminal device clock reset date and time t 0 , an actual date and time T n at the final time adjustment time, a terminal device date and time t n at the final time adjustment time, and the final The actual date and time T n-1 of the previous clock time adjustment time, the date and time t n-1 of the terminal device at the last previous clock time adjustment time, the actual current date and time T p , and the current terminal device with time t p, between the new shooting date T a which is corrected with the shooting date t a of the image taken previously reset,
T A = T n + (t A −t n ) × (T n −T n−1 ) / (t n −t n−1 )
To establish a relationship
The second correction equation is calculated between the shooting date / time t B of the image shot after the reset and the corrected new shooting date / time T B.
T B = T P - (t P -t B) × (T n -T n-1) / (t n -t n-1)
The information processing apparatus according to claim 6, wherein:
情報処理装置の情報処理方法であって
前記情報処理装置に接続する端末装置の時計の計時情報を取得する計時情報取得ステップと、
現在の正しい日時である第1の現在日時と、前記計時情報取得手順で取得した端末装置の時計が計時する第2の現在日時とを取得する現在日時取得ステップと、
取得した第1の現在日時で前記端末装置の時計の日時を修正する時計修正ステップと、
前記時計修正ステップにおいて修正に用いた前記第1の現在日時および前記第2の現在日時を時計修正履歴として記憶する時計修正履歴記憶ステップと、
前記情報処理装置に接続された前記端末装置から撮影画像を取得する画像取得ステップと、
前記画像取得ステップで取得した画像に付与されている撮影日時と、前記時計修正履歴記憶ステップで記憶された前記端末装置の最後の時計修正日時と比較して、前記画像が前記端末装置のリセット後に撮影されたか否かを判定するリセット判定ステップと、
前記リセット判定ステップにより、前記画像が前記端末装置のリセット前に撮影されたと判断された場合は、第1の補正式により前記画像の撮影日時を補正し、前記画像が前記端末装置のリセット後に撮影されたと判断された場合は、第1の補正式とは異なる第2の補正式により前記画像の撮影日時を補正する撮影日時補正ステップと、
を有することを特徴とする情報処理方法。
An information processing method for an information processing apparatus,
A time information acquisition step of acquiring time information of a clock of a terminal device connected to the information processing device;
A current date and time acquisition step of acquiring a first current date and time that is the current correct date and time and a second current date and time measured by the clock of the terminal device acquired in the timing information acquisition procedure;
A clock correction step of correcting the date and time of the clock of the terminal device with the acquired first current date and time;
A clock correction history storage step for storing the first current date and time and the second current date and time used for correction in the clock correction step as a clock correction history;
An image acquisition step of acquiring a captured image from the terminal device connected to the information processing apparatus;
Compare the shooting date and time given to the image acquired in the image acquisition step with the last clock correction date and time of the terminal device stored in the clock correction history storage step, and after the image is reset A reset determination step for determining whether or not the image has been shot;
If it is determined in the reset determination step that the image was taken before the terminal device is reset, the shooting date and time of the image is corrected by a first correction formula, and the image is taken after the terminal device is reset. A shooting date and time correction step of correcting the shooting date and time of the image by a second correction formula different from the first correction formula;
An information processing method characterized by comprising:
前記第1の補正式は、実際のリセット日時T、端末装置の時計のリセット日時t、最終時刻調整時点の実際の日時T、最終時刻調整時点の端末装置の日時t、最終の1つ前の時計時刻調整時点の実際の日時Tn−1、最終の1つ前の時計時刻調整時点の端末装置の日時tn−1、実際の現在の日時T、現在の端末装置の日時t用いて、リセット以前に撮影された画像の撮影日時tと補正された新たな撮影日時Tとの間に、
=T+(t−t)×(T−Tn−1)/(t−tn−1
なる関係を定め、
前記第2の補正式は、リセット以後に撮影された画像の撮影日時tと補正された新たな撮影日時Tとの間に、
=T (t−t)×(T−Tn−1)/(t−tn−1
なる関係を定めることを特徴とする請求項8に記載の情報処理方法。
The first correction formula includes an actual reset date and time T 0 , a terminal device clock reset date and time t 0 , an actual date and time T n at the final time adjustment time, a terminal device date and time t n at the final time adjustment time, and the final The actual date and time T n-1 of the previous clock time adjustment time, the date and time t n-1 of the terminal device at the last previous clock time adjustment time, the actual current date and time T p , and the current terminal device with time t p, between the new shooting date T a which is corrected with the shooting date t a of the image taken previously reset,
T A = T n + (t A −t n ) × (T n −T n−1 ) / (t n −t n−1 )
To establish a relationship
The second correction equation is calculated between the shooting date / time t B of the image shot after the reset and the corrected new shooting date / time T B.
T B = T P - (t P -t B) × (T n -T n-1) / (t n -t n-1)
The information processing method according to claim 8, wherein:
JP2003348644A 2003-10-07 2003-10-07 Information processing program, storage medium, information processing apparatus, and information processing method Expired - Fee Related JP4276920B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003348644A JP4276920B2 (en) 2003-10-07 2003-10-07 Information processing program, storage medium, information processing apparatus, and information processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003348644A JP4276920B2 (en) 2003-10-07 2003-10-07 Information processing program, storage medium, information processing apparatus, and information processing method

Publications (2)

Publication Number Publication Date
JP2005117338A JP2005117338A (en) 2005-04-28
JP4276920B2 true JP4276920B2 (en) 2009-06-10

Family

ID=34540780

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003348644A Expired - Fee Related JP4276920B2 (en) 2003-10-07 2003-10-07 Information processing program, storage medium, information processing apparatus, and information processing method

Country Status (1)

Country Link
JP (1) JP4276920B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4591252B2 (en) * 2005-07-26 2010-12-01 ソニー株式会社 Information processing apparatus and method, and program
JP2009004969A (en) * 2007-06-20 2009-01-08 Canon Inc Network control apparatus, network control method, and program
JP5535183B2 (en) * 2011-12-02 2014-07-02 キヤノン株式会社 COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM
JP6508894B2 (en) 2014-07-28 2019-05-08 キヤノン株式会社 Server apparatus, control method of server apparatus and program
JP6602177B2 (en) 2015-11-27 2019-11-06 キヤノン株式会社 Information processing apparatus, control method therefor, system, and program
WO2022259379A1 (en) * 2021-06-08 2022-12-15 三菱電機株式会社 Programmable logic controller, moving image management device, moving image management system, moving image management method, and program

Also Published As

Publication number Publication date
JP2005117338A (en) 2005-04-28

Similar Documents

Publication Publication Date Title
US8615111B2 (en) Method and apparatus for image detection with undesired object removal
CN110800282B (en) Holder adjusting method, holder adjusting device, mobile platform and medium
US8412031B2 (en) Camera with a function of automatically setting shooting conditions and shooting method
CN103988123B (en) Picture pick-up device and control method thereof
US20170004652A1 (en) Display control method and information processing apparatus
US11159714B2 (en) Imaging device and image processing method
CN110809781A (en) Image processing method, control terminal and storage medium
JP4276920B2 (en) Information processing program, storage medium, information processing apparatus, and information processing method
JP2014027326A (en) Image processor, control method thereof, program
US11037327B2 (en) Camera control method, camera control device, and non-transitory computer-readable storage medium
US10321038B2 (en) Imaging apparatus and image recording method having modes to store position information for image data
CN112771577A (en) Camera parameter determination method, device and readable storage medium
JP2002354327A (en) Image-photographing device, operation device and image- photographing system thereof
US20120249840A1 (en) Electronic camera
JP5889690B2 (en) Imaging system and imaging management server
CN109191530A (en) Panorama camera scaling method, system, computer equipment and storage medium
WO2020170904A1 (en) Shake correction device, image-capturing device, monitoring system, and program
JP5882753B2 (en) Positioning information processing apparatus and control method thereof
US11399145B2 (en) Image processing device, imaging apparatus, image processing method, and program
JP2014120815A (en) Information processing apparatus, imaging device, information processing method, program, and storage medium
JP5332497B2 (en) Imaging apparatus and image transfer method
JP5666007B2 (en) Position correction method and apparatus
WO2020042090A1 (en) Image display method and apparatus, and image processing device
US20180227474A1 (en) Transmission control device and transmission control method
CN113329170B (en) Image shake correction method, image shake correction apparatus, computer device, and readable storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060627

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080827

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080902

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081030

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081125

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090123

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090217

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090309

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

Free format text: PAYMENT UNTIL: 20120313

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120313

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130313

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20140313

Year of fee payment: 5

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees