JP2012178823A - Imaging apparatus, control method of the same and computer program - Google Patents

Imaging apparatus, control method of the same and computer program Download PDF

Info

Publication number
JP2012178823A
JP2012178823A JP2012017270A JP2012017270A JP2012178823A JP 2012178823 A JP2012178823 A JP 2012178823A JP 2012017270 A JP2012017270 A JP 2012017270A JP 2012017270 A JP2012017270 A JP 2012017270A JP 2012178823 A JP2012178823 A JP 2012178823A
Authority
JP
Japan
Prior art keywords
log file
information
position information
imaging
recording medium
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.)
Granted
Application number
JP2012017270A
Other languages
Japanese (ja)
Other versions
JP2012178823A5 (en
JP5950589B2 (en
Inventor
Yuichi Nakase
雄一 中瀬
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2012017270A priority Critical patent/JP5950589B2/en
Publication of JP2012178823A publication Critical patent/JP2012178823A/en
Publication of JP2012178823A5 publication Critical patent/JP2012178823A5/ja
Application granted granted Critical
Publication of JP5950589B2 publication Critical patent/JP5950589B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Studio Devices (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)

Abstract

PROBLEM TO BE SOLVED: To deal with a series of position information which are logged based on relevance with prescribed attribute information, to give the attribute information given to an image to a log file and to facilitate association of the image and the log file.SOLUTION: A recording medium holds image data by adding the attribute information on an apparatus generating the image data so as to hold data, and holds the log file including the attribute information and the position information acquired by the apparatus generating the image data. An imaging apparatus adds new position information in the log file when the log file generated at the same date as an acquisition date of the new position information is held in the recording medium and when the attribute information of the imaging apparatus is matched with the attribute information included in the log file.

Description

本発明は、撮像装置、撮像装置の制御方法及びコンピュータプログラムに関する。   The present invention relates to an imaging apparatus, an imaging apparatus control method, and a computer program.

撮像装置等において、GPS等の位置検出部から位置情報を取得しファイルとして記録媒体に分割記録するものが提案されている(特許文献1を参照)。   There has been proposed an imaging apparatus or the like that acquires position information from a position detection unit such as a GPS and divides and records it as a file on a recording medium (see Patent Document 1).

特開2007-020078号公報JP 2007-020078

特許文献1では、ログファイルの肥大化を防ぐ目的として位置情報を列記するログファイルが一定容量に達した場合、あるいはGPS等の位置検出部からの位置情報が取得できなくなった場合にログファイルを分断し圧縮する。しかしながら、係る分断・圧縮処理では、ログファイルと、撮像装置の設定値や被写体情報といった属性情報との関連性は考慮されない。従ってログファイルに列記される位置情報と属性情報との間に関連性がある場合、複数の異なる属性情報に関連する位置情報が単一のログファイルに混在することとなり取扱いが不便となる。   In Patent Document 1, when the log file listing the position information reaches a certain capacity for the purpose of preventing the log file from becoming enlarged, or when the position information from the position detection unit such as GPS cannot be acquired, the log file is recorded. Divide and compress. However, in such division / compression processing, the relevance between the log file and attribute information such as setting values of the imaging apparatus and subject information is not considered. Therefore, when there is a relationship between the position information listed in the log file and the attribute information, the position information related to a plurality of different attribute information is mixed in a single log file, which is inconvenient to handle.

そこで本発明は、ロギングされた一連の位置情報を所定の属性情報との関連性に基づいて扱うことを可能にすることを目的とする。   Therefore, an object of the present invention is to make it possible to handle a series of logged position information based on relevance with predetermined attribute information.

上記課題を解決するための本発明は、
被写体を撮像して画像データを生成する撮像手段と、
自装置の位置情報を取得する位置検出手段と、
位置検出手段が検出した前記位置情報に基づき、記録媒体に保持させるログファイルの生成及び更新を定期的に制御する制御手段と
を備える撮像装置であって、
前記記録媒体は、画像データを該画像データを生成した装置の属性情報を付加して保持すると共に、前記属性情報と前記画像データを生成した装置で取得された位置情報とを含むログファイルを保持することが可能であって、
前記制御手段は、
前記位置検出手段が取得した新規の位置情報の取得日と同日に生成されたログファイルを前記記録媒体が保持する場合に、前記撮像装置の属性情報と、該ログファイルに含まれる属性情報とが一致するか否かを判定し、一致する場合に該ログファイルに前記新規の位置情報を追記し、
前記属性情報が一致しない場合、または、前記同日に生成されたログファイルを前記記録媒体が保持しない場合に、前記新規の位置情報を含む新規のログファイルを生成することを特徴とする。
The present invention for solving the above problems is as follows.
Imaging means for imaging a subject and generating image data;
Position detecting means for acquiring position information of the own device;
An image pickup apparatus comprising: control means for periodically controlling generation and update of a log file to be held in a recording medium based on the position information detected by the position detection means;
The recording medium holds image data with the attribute information of the device that generated the image data added, and also holds a log file that includes the attribute information and position information acquired by the device that generated the image data It is possible to
The control means includes
When the recording medium holds a log file generated on the same day as the acquisition date of the new position information acquired by the position detection means, attribute information of the imaging device and attribute information included in the log file are It is determined whether or not they match, and if they match, the new location information is added to the log file,
When the attribute information does not match or when the recording medium does not hold the log file generated on the same day, a new log file including the new position information is generated.

本発明によれば、ロギングされた一連の位置情報を所定の属性情報との関連性に基づいて扱うことができる。   According to the present invention, it is possible to handle a series of logged position information based on relevance with predetermined attribute information.

第1の実施形態に対応する撮像装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the imaging device corresponding to 1st Embodiment. 第1の実施形態における処理の一例を示すフローチャートである。It is a flowchart which shows an example of the process in 1st Embodiment. 第1の実施形態に対応する撮像装置が生成するファイル構成例を示す図である。It is a figure which shows the example of a file structure which the imaging device corresponding to 1st Embodiment produces | generates. 第1の実施形態に対応する撮像装置が生成するログファイルのデータ構造の一例を示す図である。It is a figure which shows an example of the data structure of the log file which the imaging device corresponding to 1st Embodiment produces | generates. 第1の実施形態に対応する撮像装置が生成する画像ファイルのデータ構造の一例を示す図である。It is a figure which shows an example of the data structure of the image file which the imaging device corresponding to 1st Embodiment produces | generates. 第2の実施形態における処理の一例を示すフローチャートである。It is a flowchart which shows an example of the process in 2nd Embodiment. 第2の実施形態における処理の一例を示すフローチャートである。It is a flowchart which shows an example of the process in 2nd Embodiment. 第2の実施形態における処理の一例を示すフローチャートである。It is a flowchart which shows an example of the process in 2nd Embodiment.

以下、発明の実施の形態について図を参照して説明するが、この発明は以下の実施の形態そのものには限定されない。また、発明の実施形態は発明を説明するための一例を示すものであって、発明の範囲を限定する意図で記載されるものではない。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. However, the present invention is not limited to the following embodiments. The embodiments of the present invention are merely examples for explaining the invention, and are not intended to limit the scope of the invention.

<第1の実施形態>
本実施形態では、発明を適用可能な装置として、動画及び静止画を記録できる撮像装置であるデジタルカメラを取り上げて説明する。本撮像装置は、GPS等の位置検出部を有し、取得した位置情報を各ファイルに記録することが可能な構成を有する。なお本発明が適用可能な装置はデジタルカメラに限らず、上述の機能を有する装置であればよい。たとえば携帯電話、スマートフォン、ノートパソコン、PDA等の装置であってもよい。
<First Embodiment>
In the present embodiment, a digital camera which is an imaging apparatus capable of recording moving images and still images will be described as an apparatus to which the invention can be applied. This imaging apparatus has a position detection unit such as a GPS, and has a configuration capable of recording the acquired position information in each file. An apparatus to which the present invention can be applied is not limited to a digital camera, and any apparatus having the above-described functions may be used. For example, it may be a device such as a mobile phone, a smartphone, a notebook computer, or a PDA.

以下、図1を参照して、発明の実施形態に対応する撮像装置100の主要な構成を説明する。図1において、制御部101は、例えば、CPU(MPU)、内部メモリ(DRAM、SRAM)などからなり、各種処理(プログラム)を実行して撮像装置100の各ブロックを制御したり、各ブロック間でのデータ転送を制御したりする。また、制御部101は、ユーザからの操作を受け付ける操作部102からの操作信号に応じて、撮像装置100の各ブロックを制御する。また、制御部101は、後述の画像処理部111によって得られた画像を解析し、その解析結果に応じて、撮像装置100の各ブロックを制御する。なお、制御部101は、図2乃至図4Aを参照して説明するように、ログファイルの生成及び更新に関する処理を実行するために、各ブロックを制御する。   Hereinafter, with reference to FIG. 1, a main configuration of the imaging apparatus 100 corresponding to the embodiment of the invention will be described. In FIG. 1, the control unit 101 includes, for example, a CPU (MPU), an internal memory (DRAM, SRAM), and the like, and executes various processes (programs) to control each block of the imaging apparatus 100 or between blocks. To control data transfer in the network. Further, the control unit 101 controls each block of the imaging apparatus 100 in accordance with an operation signal from the operation unit 102 that receives an operation from the user. Further, the control unit 101 analyzes an image obtained by an image processing unit 111 described later, and controls each block of the imaging device 100 according to the analysis result. Note that, as described with reference to FIGS. 2 to 4A, the control unit 101 controls each block in order to execute processing relating to generation and update of log files.

操作部102は、例えば、電源ボタン、静止画記録ボタン、動画記録開始ボタン、ズーム調整ボタン、オートフォーカスボタンなどの撮影に関連する各種操作を入力するスイッチ類からなる。また、メニュー表示ボタン、決定ボタン、その他カーソルキー、ポインティングデバイス、タッチパネル等からなり、ユーザによりこれらのキーやボタンが操作されると制御部101に操作信号を送信する。   The operation unit 102 includes switches for inputting various operations related to shooting such as a power button, a still image recording button, a moving image recording start button, a zoom adjustment button, and an autofocus button. Further, it includes a menu display button, a determination button, other cursor keys, a pointing device, a touch panel, and the like. When these keys and buttons are operated by the user, an operation signal is transmitted to the control unit 101.

また、バス103は、各種データ、制御信号、指示信号などを撮像装置100の各ブロックに送るための汎用バスである。撮像部110は、レンズにより取り込まれた被写体の光学像を、絞りにより光量を制御して、CCDセンサやCMOSセンサ等の撮像素子により画像信号に変換し、アナログデジタル変換をして、画像処理部111に送信する。画像処理部111は、入力されたデジタル画像信号に、設定値に基づいてホワイトバランスや色、明るさなどを調整する画質調整処理を行う。そして、画像処理部111で処理された画像信号は、制御部101により、メモリ104や後述の映像出力部150や表示制御部131に送信される。   The bus 103 is a general-purpose bus for sending various data, control signals, instruction signals, and the like to each block of the imaging apparatus 100. The imaging unit 110 controls the light amount of the optical image of the subject captured by the lens using an aperture, converts the optical image into an image signal using an imaging element such as a CCD sensor or a CMOS sensor, performs analog-digital conversion, and performs an image processing unit. 111. The image processing unit 111 performs image quality adjustment processing for adjusting white balance, color, brightness, and the like on the input digital image signal based on setting values. The image signal processed by the image processing unit 111 is transmitted by the control unit 101 to the memory 104, the video output unit 150, which will be described later, and the display control unit 131.

本実施形態においては、例えば、撮像部110は、「光学ズーム」機能、「光学防振」機能を有し、画像処理部111は、「電子ズーム」機能、「電子防振」機能を有している。ここで、「光学ズーム」機能、「電子ズーム」機能は、ユーザの操作に応じて、得られる画像を拡大する機能である。また、「光学防振」機能、「電子防振」機能は、撮像装置100本体の振動による画像の揺れを防止する機能である。そして、これらの機能は、制御部101の制御の元、同時に使用されたり交互に使用されたり、単独で使用されたりする。   In the present embodiment, for example, the imaging unit 110 has an “optical zoom” function and an “optical image stabilization” function, and the image processing unit 111 has an “electronic zoom” function and an “electronic image stabilization” function. ing. Here, the “optical zoom” function and the “electronic zoom” function are functions for enlarging an obtained image in accordance with a user operation. In addition, the “optical image stabilization” function and the “electronic image stabilization” function are functions that prevent image shake due to vibration of the imaging apparatus 100 main body. These functions are used simultaneously, alternately, or independently under the control of the control unit 101.

ここで、「光学ズーム」機能とは、ユーザにより操作部102のズームキーが操作されたことに応じて、撮像部110のレンズを移動させ、取り込まれる被写体の光学像を拡大/縮小する機能である。また、「電子ズーム」機能とは、ユーザにより操作部102のズームキーが操作されたことに応じて、画像処理部111が、撮像部110により生成された画像のうち一部を切り出した画像を拡大した画像信号を生成する処理である。また、「光学防振」機能とは、不図示の振動検出部からの加速度信号の値に基づいて、レンズの移動量を算出し、レンズを移動させることで、取得される画像の揺れを防止する機能である。また、「電子防振」機能とは、不図示の振動検出部からの加速度信号の値に基づいて、撮像部110により取得された画像信号の位置を調整することにより、画像の揺れを防止する機能である。また、「電子防振」機能は、不図示の振動検出部からの加速度信号の値に基づいて、撮像部110の撮像素子における読み出し位置をずらすことによっても実現できる。これらの機能は公知の技術であるため、詳細な説明は省略する。   Here, the “optical zoom” function is a function for enlarging / reducing the optical image of the captured subject by moving the lens of the imaging unit 110 in response to the user operating the zoom key of the operation unit 102. . In addition, the “electronic zoom” function refers to an enlargement of an image obtained by cutting out a part of the image generated by the imaging unit 110 by the image processing unit 111 in response to the user operating the zoom key of the operation unit 102. This is a process for generating the processed image signal. The “optical image stabilization” function calculates the amount of lens movement based on the value of an acceleration signal from a vibration detection unit (not shown), and prevents the image from being shaken by moving the lens. It is a function to do. Further, the “electronic image stabilization” function prevents image shaking by adjusting the position of the image signal acquired by the imaging unit 110 based on the value of an acceleration signal from a vibration detection unit (not shown). It is a function. The “electronic image stabilization” function can also be realized by shifting the readout position of the image sensor of the imaging unit 110 based on the value of an acceleration signal from a vibration detection unit (not shown). Since these functions are well-known techniques, detailed description is omitted.

また、音声入力部120は、例えば、内蔵された無指向性のマイクまたは音声入力端子を介して接続された外部マイク等により、撮像装置100の周囲の音声を集音(収音)し、アナログデジタル変換をして音声処理部121に送信する。音声処理部121は、入力されたデジタル音声信号のレベルの適正化処理等の音声に関する処理を行う。そして、音声処理部121で処理された音声信号は、制御部101によりメモリ104に送信される。   The audio input unit 120 collects (collects) audio around the imaging apparatus 100 using, for example, a built-in omnidirectional microphone or an external microphone connected via an audio input terminal, and analog It performs digital conversion and transmits it to the audio processing unit 121. The sound processing unit 121 performs sound-related processing such as level optimization processing of the input digital sound signal. The audio signal processed by the audio processing unit 121 is transmitted to the memory 104 by the control unit 101.

メモリ104は、画像処理部111、音声処理部121により得られた画像信号及び音声信号を一時的に記憶する。また、制御部101のワークエリアとして利用されてもよい。その場合には、制御部101が作成、更新するログファイルを一時的に記憶してもよい。画像処理部111及び音声処理部121は、メモリ104に一時的に記憶された画像信号や音声信号を読み出して画像信号の符号化、音声信号の符号化などを行い、圧縮画像信号、圧縮音声信号等を生成する。制御部101は、これらの圧縮画像信号、圧縮音声信号を、記録再生部140に送信する。   The memory 104 temporarily stores the image signal and the audio signal obtained by the image processing unit 111 and the audio processing unit 121. Further, it may be used as a work area of the control unit 101. In that case, a log file created and updated by the control unit 101 may be temporarily stored. The image processing unit 111 and the audio processing unit 121 read out the image signal and the audio signal temporarily stored in the memory 104 and perform the encoding of the image signal, the encoding of the audio signal, and the like, and the compressed image signal and the compressed audio signal And so on. The control unit 101 transmits the compressed image signal and the compressed audio signal to the recording / reproducing unit 140.

記録再生部140は、記録媒体141に対して画像処理部111及び音声処理部121で生成された圧縮画像信号、圧縮音声信号、その他撮影に関する制御データ等を記録する。また、音声信号を圧縮符号化しない場合には、制御部101は、音声処理部121により生成された音声信号と画像処理部111により生成された圧縮画像信号とを、記録再生部140に送信し記録媒体141に記録させる。   The recording / reproducing unit 140 records the compressed image signal generated by the image processing unit 111 and the audio processing unit 121, the compressed audio signal, and other control data related to shooting on the recording medium 141. When the audio signal is not compression-encoded, the control unit 101 transmits the audio signal generated by the audio processing unit 121 and the compressed image signal generated by the image processing unit 111 to the recording / reproducing unit 140. Recording is performed on the recording medium 141.

制御部101は、ログファイルに関する処理を行う場合には記録再生部140を介して記録媒体141から該当するログファイルを取得する。また、新規作成、あるいは更新したログファイルを記録再生部140へ送信して、記録媒体141に格納されている内容を更新する。ここで、記録媒体141は、撮像装置に内蔵された記録媒体でも、着脱可能な記録媒体でもよく、撮像装置100で生成した圧縮画像信号、圧縮音声信号、音声信号、各種データなどを記録することができればよい。例えば、記録媒体141は、ハードディスク、光ディスク、光磁気ディスク、CD−R、DVD−R、磁気テープ、不揮発性の半導体メモリ、フラッシュメモリ、などのあらゆる方式の記録媒体を含む。   The control unit 101 acquires a corresponding log file from the recording medium 141 via the recording / playback unit 140 when performing processing related to the log file. Also, the newly created or updated log file is transmitted to the recording / playback unit 140 to update the contents stored in the recording medium 141. Here, the recording medium 141 may be a recording medium built in the imaging apparatus or a detachable recording medium, and records a compressed image signal, a compressed audio signal, an audio signal, various data, etc. generated by the imaging apparatus 100. If you can. For example, the recording medium 141 includes all types of recording media such as a hard disk, an optical disk, a magneto-optical disk, a CD-R, a DVD-R, a magnetic tape, a nonvolatile semiconductor memory, and a flash memory.

また、記録再生部140は、記録媒体141に記録された圧縮画像信号、圧縮音声信号、音声信号、ログファイル、各種データ、プログラムを読み出す(再生する)。読み出した圧縮画像信号、圧縮音声信号を、制御部101は画像処理部111及び音声処理部121に送信する。画像処理部111及び音声処理部121は、圧縮画像信号、圧縮音声信号を一時的にメモリ104に記憶させ、所定の手順で復号し、復号した音声信号を音声出力部151へ、復号した画像信号を映像出力部150や表示制御部131に送信する。また、音声信号が記録媒体141に非圧縮記録されている場合には、制御部101は、音声信号を直接音声出力部151に送信する。   The recording / reproducing unit 140 reads (reproduces) the compressed image signal, the compressed audio signal, the audio signal, the log file, various data, and the program recorded on the recording medium 141. The control unit 101 transmits the read compressed image signal and compressed audio signal to the image processing unit 111 and the audio processing unit 121. The image processing unit 111 and the audio processing unit 121 temporarily store the compressed image signal and the compressed audio signal in the memory 104, decode them in a predetermined procedure, and decode the decoded audio signal to the audio output unit 151. Is transmitted to the video output unit 150 and the display control unit 131. When the audio signal is recorded in the recording medium 141 in a non-compressed manner, the control unit 101 transmits the audio signal directly to the audio output unit 151.

音声出力部151は、例えば音声出力端子からなり、接続されたイヤホンやスピーカなどから音声を出力させるために音声信号を送信する。また、音声出力部151は、撮像装置100に内蔵され、音声信号にかかる音声を出力するスピーカであってもよい。映像出力部150は、例えば映像出力端子からなり、接続された外部ディスプレイ等に映像を表示させるために画像信号を送信する。また、音声出力部151、映像出力部150は、統合された1つの端子、例えばHDMI(High-Definition Multimedia Interface)(登録商標)端子のような端子であってもよい。   The audio output unit 151 includes an audio output terminal, for example, and transmits an audio signal in order to output audio from a connected earphone or speaker. In addition, the audio output unit 151 may be a speaker that is built in the imaging apparatus 100 and outputs audio related to an audio signal. The video output unit 150 includes, for example, a video output terminal, and transmits an image signal to display a video on a connected external display or the like. In addition, the audio output unit 151 and the video output unit 150 may be a single integrated terminal such as a high-definition multimedia interface (HDMI) (registered trademark) terminal.

また、表示制御部131は、画像処理部111から送信された画像信号による映像や、撮像装置100の操作をするための操作画面(メニュー画面)等を表示部130に表示させる。表示部130は、例えば、液晶ディスプレイ、有機ELディスプレイ、電子ペーパー等の表示デバイスであれば何でもよい。   In addition, the display control unit 131 causes the display unit 130 to display a video based on the image signal transmitted from the image processing unit 111, an operation screen (menu screen) for operating the imaging apparatus 100, and the like. The display unit 130 may be any display device such as a liquid crystal display, an organic EL display, and electronic paper.

通信部152は、撮像装置100と外部装置との間で通信を行うもので、例えば、音声信号、画像信号、圧縮音声信号、圧縮画像信号などのデータを送信したり受信したりする。また、撮影開始や終了コマンド等の、撮影にかかる制御信号や、その他の情報を送信したり受信したりする。通信部152は、例えば、赤外線通信モジュール、Bluetooth(登録商標)通信モジュール、無線LAN通信モジュール、WirelessUSB等の無線通信モジュールであってもよい。なお、通信部152は1つのハードウェアの中に複数規格のの通信プログラムを有していてもよいし、規格ごとに異なるハードウェアを用いてもよい。例えば、無線LAN通信を行うハードウェアと後述するGPS信号を受信するハードウェアは異なるものであっても構わない。また、通信部152は撮像装置100に内蔵されていてもよいし、撮像装置に着脱可能な装置として構成されてもよい。   The communication unit 152 performs communication between the imaging device 100 and an external device. For example, the communication unit 152 transmits or receives data such as an audio signal, an image signal, a compressed audio signal, and a compressed image signal. Also, it transmits and receives control signals related to shooting, such as shooting start and end commands, and other information. The communication unit 152 may be, for example, an infrared communication module, a Bluetooth (registered trademark) communication module, a wireless LAN communication module, or a wireless communication module such as WirelessUSB. Note that the communication unit 152 may have a communication program of a plurality of standards in one piece of hardware, or may use different hardware for each standard. For example, hardware that performs wireless LAN communication may be different from hardware that receives a GPS signal described later. Further, the communication unit 152 may be built in the imaging device 100 or may be configured as a device that can be attached to and detached from the imaging device.

また本実施形態では、通信部152は特に位置検出部153を含む。位置検出部153は、たとえばGPS信号受信モジュールであって、撮像装置100の現在位置に関する緯度、経度、高度等からなる位置情報を取得する。また、GPSから取得した時間情報等を含んでもよい。取得された緯度、経度、高度等からなる位置情報は一旦メモリ104に保持された後、記録再生部140を通して記録媒体141に所定単位ごとのログファイルに追記されていく。なお、位置情報は、必ずしもGPS信号に限定されるものではない。たとえば、撮像装置100が無線通信機能を有する場合、近傍の無線基地局やホットスポットから当該機器に与えられた位置情報を取得することも可能である。そして、これを撮像装置100の現在地の位置情報を特定するために用いてもよい。   In the present embodiment, the communication unit 152 particularly includes a position detection unit 153. The position detection unit 153 is, for example, a GPS signal reception module, and acquires position information including latitude, longitude, altitude, and the like related to the current position of the imaging device 100. Moreover, the time information etc. which were acquired from GPS may be included. The acquired position information including latitude, longitude, altitude and the like is once stored in the memory 104 and then added to a log file for each predetermined unit on the recording medium 141 through the recording / playback unit 140. The position information is not necessarily limited to the GPS signal. For example, when the imaging apparatus 100 has a wireless communication function, it is also possible to acquire position information given to the device from a nearby wireless base station or hot spot. And you may use this in order to pinpoint the positional information on the present location of the imaging device 100. FIG.

次に本実施形態の撮像装置100の通常の動作について説明する。本実施形態の撮像装置100は、ユーザが操作部102の電源ボタンを操作すると、操作部102から制御部101に起動の指示が出される。この指示を受けて、制御部101は、不図示の電源供給部を制御して、撮像装置100の各ブロックに対して電源を供給させる。   Next, a normal operation of the imaging apparatus 100 according to the present embodiment will be described. In the imaging apparatus 100 according to the present embodiment, when the user operates the power button of the operation unit 102, a start instruction is issued from the operation unit 102 to the control unit 101. Upon receiving this instruction, the control unit 101 controls a power supply unit (not shown) to supply power to each block of the imaging apparatus 100.

電源が供給されると、制御部101は、例えば、操作部102のモード切り換えスイッチが、例えば、静止画撮影モード、動画撮影モード、再生モード、ロギングモード等のうち、どのモードであるかを操作部102からの指示信号により確認する。   When the power is supplied, the control unit 101 operates, for example, which mode the mode selector switch of the operation unit 102 is in, for example, a still image shooting mode, a moving image shooting mode, a playback mode, a logging mode, or the like. This is confirmed by an instruction signal from the unit 102.

静止画撮影モードでは、撮像装置100は撮影待機状態でユーザが操作部102の静止画記録ボタンを操作することで撮影を行い、圧縮画像信号が記録媒体141に記録される。そして再び撮影待機状態になる。   In the still image shooting mode, the imaging apparatus 100 captures an image when the user operates a still image recording button of the operation unit 102 in a shooting standby state, and a compressed image signal is recorded on the recording medium 141. And it will be in a photography standby state again.

動画撮影モードでは、撮像装置100は撮影待機状態でユーザが操作部102の動画記録開始ボタンを操作することで撮影を開始し、その間、圧縮画像信号と圧縮音声信号または音声信号が記録媒体141に記録される。そしてユーザが操作部102の動画記録終了ボタンを操作することで撮影を終了し、再び撮影待機状態になる。   In the moving image shooting mode, the imaging apparatus 100 starts shooting when the user operates the moving image recording start button of the operation unit 102 in a shooting standby state. During that time, the compressed image signal and the compressed audio signal or audio signal are transferred to the recording medium 141. To be recorded. Then, when the user operates the moving image recording end button of the operation unit 102, the photographing is finished, and the photographing standby state is entered again.

再生モードでは、ユーザが選択したファイルに関する圧縮画像信号や圧縮音声信号または音声信号を記録媒体141から再生して、音声出力部151から音声信号を出力し、表示部130に映像を表示させる。また、ユーザは操作部102を操作することにより撮像装置設定の変更メニューに入ることができ、項目選択操作、選択された項目に対する設定値変更操作が可能である。これはたとえば撮像装置100の保持する日時情報、時差情報、エリア設定、使用者情報、撮影モード、画像フォーマット等が挙げられる。   In the reproduction mode, a compressed image signal, a compressed audio signal, or an audio signal related to a file selected by the user is reproduced from the recording medium 141, an audio signal is output from the audio output unit 151, and an image is displayed on the display unit 130. In addition, the user can enter the imaging device setting change menu by operating the operation unit 102, and can perform an item selection operation and a setting value change operation for the selected item. This includes, for example, date and time information, time difference information, area setting, user information, shooting mode, image format, and the like held by the imaging apparatus 100.

まず、静止画撮影モードについて説明する。操作部102により静止画撮影モードが設定されると前述のようにまず、制御部101は、撮像装置100の各ブロックを撮影待機状態に設定させる。撮影待機状態では、画像処理部111は、画像信号を表示制御部131に送信し表示部130に画像信号に関する映像を表示させる。ユーザはこの様にして表示された画面を見ながら撮影の準備を行う。撮影待機状態で、ユーザが操作部102の静止画記録ボタンを操作することにより撮影指示信号が送信されると、制御部101は撮影制御信号を撮像装置100の各ブロックに送信し、以下のような動作をさせるように制御する。   First, the still image shooting mode will be described. When the still image shooting mode is set by the operation unit 102, first, as described above, the control unit 101 sets each block of the imaging device 100 to the shooting standby state. In the shooting standby state, the image processing unit 111 transmits an image signal to the display control unit 131 and causes the display unit 130 to display a video related to the image signal. The user prepares for shooting while viewing the screen displayed in this way. When the shooting instruction signal is transmitted by the user operating the still image recording button of the operation unit 102 in the shooting standby state, the control unit 101 transmits the shooting control signal to each block of the imaging apparatus 100, as follows. To control the operation.

撮像部110は、レンズにより取り込まれた被写体の光学像を撮像素子により画像信号に変換し、A/D変換し、画像処理部111に送信する。画像処理部111は、入力されたデジタル画像信号の被写体情報の解析を行うとともに画質調整処理(ホワイトバランスや色、明るさなど)を設定値および被写体情報に基づいて処理する。ここで、被写体情報とは被写体の明るさの分布、顔の分布、距離の分布等が挙げられる。そして、画像処理部111で処理された画像信号は、制御部101により表示制御部131、映像出力部150及びメモリ104に送信される。ここで、表示部130に表示された映像を見ることで、ユーザは撮影した静止画を確認することができる。   The imaging unit 110 converts the optical image of the subject captured by the lens into an image signal by the imaging element, performs A / D conversion, and transmits the image signal to the image processing unit 111. The image processing unit 111 analyzes subject information of the input digital image signal and performs image quality adjustment processing (white balance, color, brightness, etc.) based on the set value and subject information. Here, the subject information includes subject brightness distribution, face distribution, distance distribution, and the like. The image signal processed by the image processing unit 111 is transmitted to the display control unit 131, the video output unit 150, and the memory 104 by the control unit 101. Here, by viewing the video displayed on the display unit 130, the user can check the captured still image.

そして、画像処理部111は、メモリ104に一時的に記憶された画像信号を読み出して所定の符号化を行い、圧縮画像信号を生成し、記録再生部140に出力する。記録再生部140は、UDF、FAT等のファイルシステム管理のもとに、圧縮画像信号を静止画ファイルとして属性情報とともに記録媒体141に書き込んでいく。ここでの属性情報には、撮像装置に関する情報の他、測地系、時差情報、通信部152から取得した外部情報(位置情報、MACアドレス等)等の他、撮像装置100の設定情報が含まれる。ここで生成される静止画ファイルのデータ構造の一例は後述の図4Bに示す通りである。   Then, the image processing unit 111 reads the image signal temporarily stored in the memory 104, performs predetermined encoding, generates a compressed image signal, and outputs the compressed image signal to the recording / reproducing unit 140. The recording / playback unit 140 writes the compressed image signal to the recording medium 141 together with the attribute information as a still image file under file system management such as UDF or FAT. The attribute information here includes setting information of the imaging apparatus 100 in addition to information related to the imaging apparatus, geodetic system, time difference information, external information (position information, MAC address, etc.) acquired from the communication unit 152, and the like. . An example of the data structure of the still image file generated here is as shown in FIG. 4B described later.

なお、制御部101は、画像処理部111による符号化の動作が終了すると、撮影待機状態に移行させるように制御信号を撮像装置100の各ブロックに送信して、撮影待機状態に戻る。   When the encoding operation by the image processing unit 111 ends, the control unit 101 transmits a control signal to each block of the imaging apparatus 100 so as to shift to the shooting standby state, and returns to the shooting standby state.

次に、動画撮影モードについて説明する。操作部102により動画撮影モードが設定されると前述のようにまず、制御部101は、撮像装置100の各ブロックを撮影待機状態に設定させる。撮影待機状態では、画像処理部111は、画像信号を表示制御部131に送信し表示部130に画像信号に関する映像を表示させる。ユーザはこの様にして表示された画面を見ながら撮影の準備を行う。撮影待機状態で、ユーザが操作部102の動画記録開始ボタンを操作することにより撮影開始の指示信号が送信されると、制御部101は撮影開始の制御信号を撮像装置100の各ブロックに送信し、以下のような動作をさせるように制御する。   Next, the moving image shooting mode will be described. When the moving image shooting mode is set by the operation unit 102, the control unit 101 first sets each block of the imaging apparatus 100 to the shooting standby state as described above. In the shooting standby state, the image processing unit 111 transmits an image signal to the display control unit 131 and causes the display unit 130 to display a video related to the image signal. The user prepares for shooting while viewing the screen displayed in this way. When a shooting start instruction signal is transmitted by the user operating the moving image recording start button of the operation unit 102 in the shooting standby state, the control unit 101 transmits a shooting start control signal to each block of the imaging apparatus 100. Then, control is performed so as to perform the following operation.

撮像部110は、レンズにより取り込まれた被写体の光学像を撮像素子により画像信号に変換し、A/D変換し、画像処理部111に送信する。画像処理部111は、入力されたデジタル画像信号の画質調整処理(ホワイトバランスや色、明るさなど)を設定値に基づいて処理する。そして、画像処理部111で処理された画像信号は、制御部101により表示制御部131、映像出力部150、メモリ104に送信される。表示制御部131は、受信した画像信号に関する映像を表示部130に表示させる。一方、音声入力部120は、マイクにより得られたアナログ音声信号をデジタル変換し、得られたデジタル音声信号を音声処理部121に送信する。音声処理部121は、入力されたデジタル音声信号のレベルの適正化処理等をして音声信号を出力する。制御部101は、音声処理部121により処理された音声信号をメモリ104に送信する。   The imaging unit 110 converts the optical image of the subject captured by the lens into an image signal by the imaging element, performs A / D conversion, and transmits the image signal to the image processing unit 111. The image processing unit 111 performs image quality adjustment processing (white balance, color, brightness, etc.) of the input digital image signal based on the set value. The image signal processed by the image processing unit 111 is transmitted to the display control unit 131, the video output unit 150, and the memory 104 by the control unit 101. The display control unit 131 causes the display unit 130 to display a video related to the received image signal. On the other hand, the audio input unit 120 digitally converts an analog audio signal obtained by the microphone, and transmits the obtained digital audio signal to the audio processing unit 121. The sound processing unit 121 performs a process for optimizing the level of the input digital sound signal and outputs a sound signal. The control unit 101 transmits the audio signal processed by the audio processing unit 121 to the memory 104.

そして、画像処理部111及び音声処理部121は、メモリ104に一時的に記憶された画像信号や音声信号を読み出して所定の符号化を行い、圧縮画像信号、圧縮音声信号等を生成する。そして、制御部101は、これらの圧縮画像信号、圧縮音声信号を合成し、データストリームを形成し、記録再生部140に出力する。記録再生部140は、UDF、FAT等のファイルシステム管理のもとに、データストリームを一つの動画ファイルとして記録媒体141に書き込んでいく。また、音声を圧縮しない場合には、制御部101は、音声処理部121で生成した音声信号を画像処理部111で生成された圧縮画像信号とともに、記録再生部140に出力する。そして、記録再生部140は、前述したように、UDF、FAT等のファイルシステム管理のもとに、データストリームを一つの動画ファイルとして属性情報と共に記録媒体141に書き込む。ここでの属性情報には、撮像装置に関する情報の他、測地系、時差情報、通信部152から取得した外部情報(位置情報、MACアドレス等)等の他、撮像装置100の設定情報が含まれる。なお、動画ファイルのここで生成される動画ファイルのデータ構造の一例は後述の図4Bに示す通りである。   Then, the image processing unit 111 and the audio processing unit 121 read out the image signal and the audio signal temporarily stored in the memory 104, perform predetermined encoding, and generate a compressed image signal, a compressed audio signal, and the like. Then, the control unit 101 synthesizes the compressed image signal and the compressed audio signal to form a data stream, and outputs the data stream to the recording / reproducing unit 140. The recording / playback unit 140 writes the data stream to the recording medium 141 as one moving image file under file system management such as UDF or FAT. When the audio is not compressed, the control unit 101 outputs the audio signal generated by the audio processing unit 121 to the recording / reproducing unit 140 together with the compressed image signal generated by the image processing unit 111. Then, as described above, the recording / playback unit 140 writes the data stream to the recording medium 141 together with the attribute information as one moving image file under the file system management such as UDF or FAT. The attribute information here includes setting information of the imaging apparatus 100 in addition to information related to the imaging apparatus, geodetic system, time difference information, external information (position information, MAC address, etc.) acquired from the communication unit 152, and the like. . An example of the data structure of the moving image file generated here is as shown in FIG. 4B described later.

以上の動作を撮影中は継続する。また、撮影の間、ユーザによる操作部102の操作に応じて、または画像処理部111により生成された画像信号の解析結果に応じて、制御部101は、撮像部110や画像処理部111、音声処理部121などに各種制御信号を送信している。例えば、レンズの移動や絞り調整などをさせるための制御信号を撮像部110に送信するとともに、画像や音声を調整するための制御信号を画像処理部111、音声処理部121に送信する。   The above operation is continued during shooting. In addition, during the shooting, the control unit 101 performs the imaging unit 110, the image processing unit 111, and the sound according to the operation of the operation unit 102 by the user or the analysis result of the image signal generated by the image processing unit 111. Various control signals are transmitted to the processing unit 121 and the like. For example, a control signal for adjusting the lens movement or aperture adjustment is transmitted to the imaging unit 110, and a control signal for adjusting an image or sound is transmitted to the image processing unit 111 and the sound processing unit 121.

また、同様に撮影の間、ユーザにより操作部102のズームキーを操作することで、制御部101により、撮像部110の「光学ズーム」機能や、画像処理部111の「電子ズーム」機能を動作させることができる。また、不図示の振動検出部により検出された加速度信号に基づいて、制御部101により、撮像部110の「光学防振」機能や、画像処理部111の「電子防振」機能が動作している。   Similarly, during shooting, the user operates the zoom key of the operation unit 102 to cause the control unit 101 to operate the “optical zoom” function of the imaging unit 110 and the “electronic zoom” function of the image processing unit 111. be able to. Further, based on an acceleration signal detected by a vibration detection unit (not shown), the control unit 101 operates the “optical image stabilization” function of the imaging unit 110 and the “electronic image stabilization” function of the image processing unit 111. Yes.

そして、ユーザが操作部102の動画記録終了ボタンを操作することにより撮影終了の指示信号が制御部101に送信されると、制御部101は、撮影終了の制御信号を撮像装置100の各ブロックに送信し、以下のような動作をさせるように制御する。画像処理部111、音声処理部121は、それぞれ画像信号、音声信号のメモリ104への送信を停止する。そして、メモリ104に記憶されている残りの画像信号と音声信号とを読み出して所定の符号化を行い、圧縮画像信号、圧縮音声信号等を生成する。制御部101は、これらの最後の圧縮画像信号、圧縮音声信号を合成し、データストリームを形成し、記録再生部140に出力する。音声を圧縮しない場合には、制御部101は、音声処理部121により生成された音声信号と、圧縮画像信号とを記録再生部140に出力する。   Then, when a shooting end instruction signal is transmitted to the control unit 101 by a user operating the moving image recording end button of the operation unit 102, the control unit 101 sends a shooting end control signal to each block of the imaging apparatus 100. Transmit and control to operate as follows. The image processing unit 111 and the audio processing unit 121 stop transmitting the image signal and the audio signal to the memory 104, respectively. Then, the remaining image signal and audio signal stored in the memory 104 are read out and subjected to predetermined encoding to generate a compressed image signal, a compressed audio signal, and the like. The control unit 101 synthesizes these last compressed image signal and compressed audio signal to form a data stream and outputs it to the recording / reproducing unit 140. When the audio is not compressed, the control unit 101 outputs the audio signal generated by the audio processing unit 121 and the compressed image signal to the recording / reproducing unit 140.

記録再生部140は、UDF、FAT等のファイルシステム管理のもとに、データストリームを一つの動画ファイルとして記録媒体141に書き込んでいく。そして、データストリームの供給が停止したら、制御部101はサムネイルを生成するために以下のような動作をさせるように制御する。記録再生部140は記録媒体141に記録した動画ファイルの先頭フレームの圧縮画像信号を読み出し、画像処理部111に送信する。画像処理部111は、圧縮画像信号を一時的にメモリ104に記憶させ、所定の手順で復号する。   The recording / playback unit 140 writes the data stream to the recording medium 141 as one moving image file under file system management such as UDF or FAT. When the supply of the data stream is stopped, the control unit 101 performs control so as to perform the following operation in order to generate a thumbnail. The recording / playback unit 140 reads the compressed image signal of the first frame of the moving image file recorded on the recording medium 141 and transmits the compressed image signal to the image processing unit 111. The image processing unit 111 temporarily stores the compressed image signal in the memory 104 and decodes it according to a predetermined procedure.

次に画像処理部111は得られた画像信号に対してサムネイル用の所定の符号化を行い、サムネイル用圧縮画像信号を生成する。そして、制御部101はサムネイル用圧縮画像信号を記録再生部140に出力する。記録再生部140は、UDF、FAT等のファイルシステム管理のもとに、サムネイル用圧縮画像を、基となる動画ファイルに結合させるように記録媒体141に前出の属性情報とともに書き込み、動画ファイルを完成させるとともに記録動作を停止する。制御部101は、記録動作が停止すると、撮影待機状態に移行させるように制御信号を撮像装置100の各ブロックに送信して、撮影待機状態に戻る。   Next, the image processing unit 111 performs predetermined encoding for thumbnails on the obtained image signal to generate a compressed image signal for thumbnail. Then, the control unit 101 outputs the thumbnail compressed image signal to the recording / reproducing unit 140. The recording / playback unit 140 writes the thumbnail compressed image together with the attribute information described above to the recording medium 141 so that the thumbnail compressed image is combined with the underlying moving image file under management of a file system such as UDF or FAT. Complete and stop the recording operation. When the recording operation stops, the control unit 101 transmits a control signal to each block of the imaging apparatus 100 so as to shift to the shooting standby state, and returns to the shooting standby state.

次に、再生モードについて説明する。操作部102により再生モードが設定されると、制御部101は、再生状態に移行させるように制御信号を撮像装置100の各ブロックに送信し、以下のような動作をさせる。記録再生部140は、記録媒体141に記録された圧縮画像信号からなる静止画ファイル、または圧縮画像信号と圧縮音声信号または音声信号とからなる動画ファイルを読み出す。制御部101は読み出された圧縮画像信号、圧縮音声信号を、画像処理部111及び音声処理部121に送る。圧縮されていない音声信号であれば、制御部101は、音声出力部151に音声信号を送信する。   Next, the playback mode will be described. When the reproduction mode is set by the operation unit 102, the control unit 101 transmits a control signal to each block of the imaging apparatus 100 so as to shift to the reproduction state, and performs the following operation. The recording / playback unit 140 reads a still image file composed of a compressed image signal recorded on the recording medium 141 or a moving image file composed of a compressed image signal and a compressed audio signal or audio signal. The control unit 101 sends the read compressed image signal and compressed audio signal to the image processing unit 111 and the audio processing unit 121. If the audio signal is not compressed, the control unit 101 transmits the audio signal to the audio output unit 151.

画像処理部111及び音声処理部121は、圧縮画像信号、圧縮音声を一時的にメモリ104に記憶させ、所定の手順で復号する。そして制御部101は、復号した音声信号を音声出力部151へ、復号した画像信号を映像出力部150や表示制御部131に送信する。表示制御部131は、入力された画像信号にかかる映像を表示部130に表示させ、音声出力部151は、入力された音声信号にかかる音声を内蔵されたスピーカや、接続されたイヤホンやスピーカから出力する。   The image processing unit 111 and the sound processing unit 121 temporarily store the compressed image signal and the compressed sound in the memory 104 and decode them according to a predetermined procedure. Then, the control unit 101 transmits the decoded audio signal to the audio output unit 151, and transmits the decoded image signal to the video output unit 150 and the display control unit 131. The display control unit 131 displays the video related to the input image signal on the display unit 130, and the audio output unit 151 from the built-in speaker or the connected earphone or speaker. Output.

次にロギングモードついて説明する。まず、ロギングモードとは、撮像装置100の位置情報を時系列に記録するモードのことである。操作部102によりこのロギングモードが設定されると、制御部101は、ロギング状態に移行させるように制御信号を撮像装置100の各ブロックに送信し、以下のような動作をさせる。通信部152に含まれる位置検出部153は定期的に撮像装置100の位置情報を取得する。取得された緯度、経度、高度等からなる位置情報は一旦メモリ104に保持された後、記録再生部140を通して記録媒体141に所定単位ごとのログファイルに追記されていく。   Next, the logging mode will be described. First, the logging mode is a mode for recording position information of the imaging apparatus 100 in time series. When the logging mode is set by the operation unit 102, the control unit 101 transmits a control signal to each block of the imaging apparatus 100 so as to shift to the logging state, and performs the following operation. A position detection unit 153 included in the communication unit 152 periodically acquires position information of the imaging device 100. The acquired position information including latitude, longitude, altitude and the like is once stored in the memory 104 and then added to a log file for each predetermined unit on the recording medium 141 through the recording / playback unit 140.

本実施形態の撮像装置は以上のように、静止画、動画の記録再生、ログファイルの記録を行う。   As described above, the imaging apparatus according to the present embodiment records and reproduces still images and moving images, and records log files.

以下、図2、図3及び図4Aを参照して、発明の実施形態に対応するロギングモード時の動作を説明する。図2はロギングモード時のログファイルを作成する処理のフローチャートである。図3は記録媒体141内のファイル構成例を示す。また、図4Aはログファイルと画像ファイルのデータ構造の一例を示す。   The operation in the logging mode corresponding to the embodiment of the invention will be described below with reference to FIGS. FIG. 2 is a flowchart of processing for creating a log file in the logging mode. FIG. 3 shows an example of the file structure in the recording medium 141. FIG. 4A shows an example of the data structure of the log file and the image file.

操作部102によりロギングモードが設定されると、制御部101は、ロギング状態に移行させるために制御信号を撮像装置100の各ブロックに送信し、図2に示す処理が開始される。図2に対応するフローチャートは、制御部101を構成するCPU(MPU)が内部メモリ(DRAM、SRAM)やメモリ104に格納された対応プログラムを実行することにより実現される。   When the logging mode is set by the operation unit 102, the control unit 101 transmits a control signal to each block of the imaging apparatus 100 in order to shift to the logging state, and the process illustrated in FIG. 2 is started. The flowchart corresponding to FIG. 2 is realized by the CPU (MPU) configuring the control unit 101 executing a corresponding program stored in the internal memory (DRAM, SRAM) or the memory 104.

まず、制御部101はS201でタイマーを初期化する。このタイマーは一定間隔で位置情報を取得するための間隔を設定するタイマーであって、制御部101が内部クロックなどを利用してカウント処理を行う。続くS202にて、制御部101はタイマーが所定時間に達したか、即ちタイムアップしたか否かを判定する。もしタイムアップしていない、すなわち次のロギングを行うタイミングにまだ達していないと判断されたならば(S202で「NO」)、S218へ進む。S218では、制御部101がロギングモードを終了するか否かを判定し、終了と判定される場合(S218で「YES」)本処理を終了する。一方、終了と判定されなければ(S218で「NO」)、S201に戻って処理を継続する。S218で終了と判定される場合には、ユーザーの操作部102による再生モード、撮影モードへの移行、電源ボタンの押下等が含まれる。また、S202でタイムアップと判定されると(S202で「YES」)、S203へ進み位置情報の取得を行う。   First, the control unit 101 initializes a timer in S201. This timer is a timer for setting an interval for acquiring position information at regular intervals, and the control unit 101 performs a counting process using an internal clock or the like. In subsequent S202, the control unit 101 determines whether the timer has reached a predetermined time, that is, whether the time has expired. If it is determined that the time is not up, that is, the timing for performing the next logging has not yet been reached (“NO” in S202), the process proceeds to S218. In S218, the control unit 101 determines whether or not to end the logging mode. If it is determined that the logging mode is to be ended (“YES” in S218), the process ends. On the other hand, if it is not determined to end (“NO” in S218), the process returns to S201 and continues. If it is determined in step S218 that the process is to be ended, a playback mode, a transition to a shooting mode, a press of a power button, and the like by the user operation unit 102 are included. If it is determined in S202 that the time is up ("YES" in S202), the process proceeds to S203 to acquire position information.

S203では通信部152に含まれる位置検出部153が位置情報を取得し、S204へ進む。S204では制御部101が、内部メモリに格納された情報に基づいて、位置情報が取得できたかを判定する。位置情報が取得できていなかった場合(S204で「NO」)、S201に戻って処理を継続する。ここで位置情報が取得できない場合とは、位置検出部153が位置情報を決定するのに十分な信号を受信できないこと等が起因する。S204で位置情報の取得に成功したと判定されれば(S204で「YES」)、S205へ進む。S205では制御部101が、位置情報の取得日と同一の日付のログファイルがあるか確認する。本実施形態では日付の特定が可能なファイル名をログファイルに設定することとしているため、記録媒体141内に同一日付を示すログファイル名を持つファイルの有無を判定する。具体的に、制御部101は、記録媒体141から記録再生部140を介して、ログファイルのファイル名の情報を内部メモリへ読み出し、読み出したログファイルのファイル名がその時点における日付と同一の日付を表しているかを判定する。   In S203, the position detection unit 153 included in the communication unit 152 acquires position information, and the process proceeds to S204. In S204, the control unit 101 determines whether or not the position information has been acquired based on the information stored in the internal memory. If the position information has not been acquired (“NO” in S204), the process returns to S201 and continues. Here, the case where the position information cannot be acquired is because the position detection unit 153 cannot receive a signal sufficient to determine the position information. If it is determined in S204 that the position information has been successfully acquired ("YES" in S204), the process proceeds to S205. In S205, the control unit 101 confirms whether there is a log file having the same date as the acquisition date of the position information. In the present embodiment, since a file name that can specify the date is set in the log file, the presence / absence of a file having a log file name indicating the same date in the recording medium 141 is determined. Specifically, the control unit 101 reads the file name information of the log file from the recording medium 141 via the recording / playback unit 140 to the internal memory, and the file name of the read log file is the same date as the current date. Is determined.

ここで、ログファイル名について図3を参照してより詳細に説明する。図3においてディレクトリ301は、デジタルカメラで一般的に使用されるDCF(Design rule for Camera File System)規格にて規定されているDCFルートディレクトリである。ディレクトリ302及び303は、同様にDCF規格に従って作成されたDCFディレクトリである。また、ファイル305から307は同様にDCF規格に従って作成された静止画ファイルである。ファイル308は、同様にDCF規格に従って作成された動画ファイルである。また、ディレクトリ304は、撮像装置固有のファイルを保存するためのディレクトリである。ディレクトリ309は、ログファイルを保存するためのディレクトリである。ファイル310から312はログファイルである。ログファイルは7文字のファイル名”YYMMDDN”と拡張子”LOG”を持っている。ログファイル名はログファイルの日付と連番を表しており、YY:西暦下二けた、MM:月、DD:日、N:連番を表す。よってファイル310は、2010年10月25日の0番目のファイルであることを示している。   Here, the log file name will be described in more detail with reference to FIG. In FIG. 3, a directory 301 is a DCF root directory defined by a DCF (Design rule for Camera File System) standard generally used in digital cameras. Similarly, the directories 302 and 303 are DCF directories created according to the DCF standard. Similarly, files 305 to 307 are still image files created in accordance with the DCF standard. Similarly, the file 308 is a moving image file created in accordance with the DCF standard. The directory 304 is a directory for storing files specific to the imaging apparatus. The directory 309 is a directory for storing log files. Files 310 to 312 are log files. The log file has a seven-character file name “YYMMMDDN” and an extension “LOG”. The log file name represents the date and serial number of the log file, and represents YY: last two digits, MM: month, DD: day, N: serial number. Therefore, the file 310 indicates that it is the 0th file on October 25, 2010.

S205にて日付が同一のログファイルがあると判定された場合(S205で「YES」)、S206へ進み、同日のログファイルの最大連番を特定する。図3の場合、例えば2010年10月25日のログファイル310と311のうち、ファイル名最下位の文字それぞれ“0”、“1”を比較し“1”が特定されることになる。次にS207で制御部101は、該当するログファイルを記録媒体141からメモリ104に読出し、以降のS208からS210までのログファイルの記載内容の解析処理を行う。   If it is determined in S205 that there is a log file having the same date ("YES" in S205), the process proceeds to S206, and the maximum serial number of the log file on the same day is specified. In the case of FIG. 3, for example, among the log files 310 and 311 of October 25, 2010, “0” and “1” are compared with the lowest characters of the file name to identify “1”. Next, in step S207, the control unit 101 reads out the corresponding log file from the recording medium 141 to the memory 104, and performs analysis processing on the description content of the log file in subsequent steps S208 to S210.

ここでログファイルの記載内容を図4Aを参照して説明する。図4Aは位置情報を含むログファイルの構成を示す。ヘッダ部401はログファイルのヘッダ部であってログファイルの属性が記載される。メーカー名402はこのログファイルを記録した撮像装置のメーカー名を示す。モデル名403はこのログファイルを記録した撮像装置のモデル名を示す。機器固有ID404は、このログファイルを記録した撮像装置にを一意に識別するための識別情報(シリアル番号等)を示す。測地系405は、このログファイルに記録された位置情報の測地系を示す。時差情報406はこのログファイルを記録した撮像装置の時差設定を示す。なお、時差設定とは、協定世界時(UTC:Universal Time, Coordinated)からの時間差を示す。その他407は、このログファイルを記録した撮像装置のその他の設定、たとえば使用者情報等を示す。また、撮像装置100で撮像された画像の被写体情報と、該画像を撮像した撮像時刻の情報を含むことができる。位置情報408は位置情報記憶エリアであって、位置検出部153で定期的に取得された位置情報が順に408−1から408−nのように追加されていく。   Here, the description content of the log file will be described with reference to FIG. 4A. FIG. 4A shows the structure of a log file including position information. A header portion 401 is a header portion of the log file and describes the attributes of the log file. A manufacturer name 402 indicates the name of the manufacturer of the imaging apparatus that recorded the log file. A model name 403 indicates the model name of the imaging apparatus that records this log file. The device unique ID 404 indicates identification information (such as a serial number) for uniquely identifying the imaging apparatus that has recorded the log file. A geodetic system 405 indicates a geodetic system of position information recorded in the log file. The time difference information 406 indicates the time difference setting of the imaging apparatus that has recorded this log file. The time difference setting indicates a time difference from Coordinated Universal Time (UTC: Universal Time, Coordinated). Other 407 indicates other settings of the imaging apparatus that records the log file, such as user information. Further, it can include subject information of an image captured by the image capturing apparatus 100 and information of an image capturing time when the image is captured. The position information 408 is a position information storage area, and the position information periodically acquired by the position detection unit 153 is sequentially added as 408-1 to 408-n.

図2に戻ると、S208では制御部101が、S207で取得したログファイルのヘッダ部401に含まれる機器固有ID404の値が、撮像装置100に与えられている値と一致するかを判定する。これは、同一の記録媒体141を複数撮像装置で共有する場合を想定したものである。本実施形態における撮像装置はユーザの混乱を防ぐため、異なる撮像装置で測位された位置情報は、異なるログファイルに記述されることとした。したがって、機器固有ID4040には、必ず1つのIDのみが記述されることになる。もし、同一の場合(S208で「YES」)はS209へ進み、同一でなければ(S208で「NO」)S213へ進む。   Returning to FIG. 2, in S <b> 208, the control unit 101 determines whether the value of the device unique ID 404 included in the header portion 401 of the log file acquired in S <b> 207 matches the value given to the imaging apparatus 100. This assumes a case where the same recording medium 141 is shared by a plurality of imaging devices. In order to prevent confusion of the user in the imaging apparatus according to the present embodiment, position information measured by different imaging apparatuses is described in different log files. Therefore, only one ID is always described in the device unique ID 4040. If they are the same (“YES” in S208), the process proceeds to S209, and if they are not the same (“NO” in S208), the process proceeds to S213.

S209では、制御部101が、ログファイルの時差情報406における時差設定が、撮像装置100に設定されている時差設定と同一か否かを判定する。時差設定について判定するのは、装置を使う場所が異なる場合であっても時差のために同日となってしまう場合を想定したものである。また、時差設定を変更した場合、ローカルタイムの遡りが発生することがありこれを同一ログファイルに記録するのは時間と移動経路の関係が崩れるためである。もし同一であれば(S209で「YES」)S210へ進み、同一でなければ(S209で「NO」)S213へ進む。   In step S <b> 209, the control unit 101 determines whether the time difference setting in the log file time difference information 406 is the same as the time difference setting set in the imaging apparatus 100. The determination of the time difference setting is based on the assumption that even if the place where the apparatus is used is different, the same day occurs due to the time difference. Further, when the time difference setting is changed, the local time may be traced back, and this is recorded in the same log file because the relationship between the time and the movement route is broken. If they are the same (“YES” in S209), the process proceeds to S210, and if they are not the same (“NO” in S209), the process proceeds to S213.

続くS210では、制御部101が、他の判定条件を満たしているかが判定される。他の判定条件にはその他407に含まれる使用者情報、測地系等の情報が一致するか否かの他、ログファイルが所定サイズ未満か、ログファイルが壊れてないか等がある。   In subsequent S210, the control unit 101 determines whether other determination conditions are satisfied. Other determination conditions include whether or not the user information and geodetic system information included in other 407 match, whether the log file is smaller than a predetermined size, whether the log file is broken, or the like.

以上のS208からS210までの全条件について肯定的と判定されればS211へ進む。S211では、制御部101はログファイルへの追記判定を行い、S211へ進み制御部101がS203で取得した位置情報を内部メモリに読み出したログファイルに追記する。なお、制御部101が追記したログファイルにより、定期的に記録媒体141に格納されている元のログファイルが更新される。   If it is determined that all the above conditions from S208 to S210 are positive, the process proceeds to S211. In S211, the control unit 101 determines whether to add to the log file, and proceeds to S211 to add the position information acquired in S203 by the control unit 101 to the log file read into the internal memory. The original log file stored in the recording medium 141 is periodically updated with the log file added by the control unit 101.

なお、S205にて日付が同一のログファイルが無いと判定された場合(S205で「NO」)ならばS217へ進む。S217では、制御部101は現在の日付と一致するファイル名を有するログファイルを新規に作成する。この場合、新規作成であるので図4Aで示したように、撮像装置100の設定値に基づいてヘッダ部401を作成する。その後、S212に移行して、新規作成したログファイルの位置情報408にS203で取得した位置情報を書き込む。このようにして生成された新規ログファイルは記録媒体141において、図3のGPSディレクトリ309の下に新たに書き込まれる。   If it is determined in S205 that there is no log file having the same date ("NO" in S205), the process proceeds to S217. In step S217, the control unit 101 newly creates a log file having a file name that matches the current date. In this case, since it is newly created, as shown in FIG. 4A, the header portion 401 is created based on the setting value of the imaging device 100. Thereafter, the process proceeds to S212, and the position information acquired in S203 is written in the position information 408 of the newly created log file. The new log file generated in this way is newly written in the recording medium 141 under the GPS directory 309 in FIG.

また、S208からS210までで否定判定を受けた場合、S213では制御部101が、S207で取得したログファイルの連番が記録媒体141上の同一日付のログファイルのうち最小の連番であるかを判定する。もし、最小で無い場合、すなわちまだ解析していない同一日付のログファイルがある場合(S213で「NO」)、S214に移行する。S214では、制御部101が取得すべきログファイルを特定するための連番を1つ繰り下げ、S207に戻って該当するログファイルを取得する。即ち、連番が“1”のログファイルを処理していた場合には、連番“0”のログファイルを取得する。   If a negative determination is received from S208 to S210, in S213, the control unit 101 determines whether the serial number of the log file acquired in S207 is the smallest serial number among log files of the same date on the recording medium 141. Determine. If it is not the minimum, that is, if there is a log file with the same date that has not been analyzed yet ("NO" in S213), the process proceeds to S214. In S214, the serial number for specifying the log file to be acquired by the control unit 101 is decremented by one, and the process returns to S207 to acquire the corresponding log file. That is, when the log file with the serial number “1” is processed, the log file with the serial number “0” is acquired.

S213で連番が最小である場合、すなわち日付が同一のログファイルは全て検査されている場合(S213で「YES」)、S215へ移行する。S215では、制御部101が同一日付で連番の空きがあるか否かを判定する。なお、連番として利用可能な数字を0から9とした場合、これらが全て使用されている場合には、空きがないと判定される。ただし、連番として利用可能な数字の数はこれに限られず、任意に設定可能である。もし空きがないと判定されたならば(S215で「NO」)位置情報の書き出しを行わずS201へ戻る。S215で連番に空きがあると判定されたならば(S215で「YES」)S216へ進む。S216では、制御部101が新規連番でログファイルを作成する。新規連番とは、例えば日付が同一のログファイルの最大連番に1加算したものである。また、S212へ進みS203で取得した位置情報を位置情報408に書き込む。ここで生成された新規ログファイルは記録媒体141において、図3のGPSディレクトリ309の下に新たに書き込まれる。   If the serial number is the smallest in S213, that is, if all log files with the same date have been inspected (“YES” in S213), the process proceeds to S215. In S215, the control unit 101 determines whether there is a serial number available on the same date. In addition, when the numbers that can be used as serial numbers are changed from 0 to 9, when all of these numbers are used, it is determined that there is no space. However, the number of numbers that can be used as serial numbers is not limited to this, and can be arbitrarily set. If it is determined that there is no space (“NO” in S215), the process returns to S201 without writing position information. If it is determined in S215 that there is an empty serial number (“YES” in S215), the process proceeds to S216. In S216, the control unit 101 creates a log file with a new serial number. The new serial number is, for example, one added to the maximum serial number of log files with the same date. In step S212, the position information acquired in step S203 is written in the position information 408. The new log file generated here is newly written in the recording medium 141 under the GPS directory 309 in FIG.

以上のように本実施形態では、ログファイルの命名、新規作成を、追記を行うことによりで属性情報毎に完結したログファイルを作成することが可能となる。なお、以上の処理では、S208からS210までの全ての条件を満たす場合にログファイルの追記を行う旨を記載した。しかしながら、各ステップにおける判定条件は上記の内容に限定されるものではない。たとえば、S209における時差設定の判定の代わりに、その他407にエリア設定の情報が含まれる場合には、その値に基づいて判定を行ってもよい。   As described above, in this embodiment, it is possible to create a complete log file for each piece of attribute information by adding a log file naming and new creation. In the above processing, it is described that a log file is added when all the conditions from S208 to S210 are satisfied. However, the determination conditions in each step are not limited to the above contents. For example, instead of the determination of the time difference setting in S209, when other area 407 includes area setting information, the determination may be performed based on the value.

また、S210における処理をスキップしたり、あるいは、S210における判定条件を上記の内容から変更してもよい。例えば、図4Aのその他407に被写体情報と、該被写体情報を取得した画像の撮像時刻情報とが含まれる場合、S203で位置情報を取得した時刻と当該撮影時間との時間差が所定時間以内であるかを判定してもよい。この場合、撮像時刻から所定時間以内に取得された位置情報は1つのログファイルで管理される。所定時間については任意に設定が可能であり、例えば、1時間とすることができる。なお、被写体情報に基づくログファイルの管理では、S208及びS209における判定処理をスキップしてもよい。   Further, the process in S210 may be skipped, or the determination condition in S210 may be changed from the above contents. For example, when the subject information and the imaging time information of the image from which the subject information is acquired are included in the other 407 in FIG. 4A, the time difference between the time at which the position information is acquired in S203 and the imaging time is within a predetermined time. It may be determined. In this case, the position information acquired within a predetermined time from the imaging time is managed by one log file. The predetermined time can be arbitrarily set, for example, 1 hour. In the log file management based on the subject information, the determination processing in S208 and S209 may be skipped.

次に、図4Bを参照して、上記のようにして生成されたログファイルと、撮像装置100が撮影して得られた画像データとの関連づけについて説明する。図4Bは、発明の実施形態に対応する撮像装置100の撮影モードで撮影される画像のデータ構造の一例を示している。画像データは、静止画と動画のいずれであってもよい。   Next, with reference to FIG. 4B, the association between the log file generated as described above and image data obtained by imaging by the imaging apparatus 100 will be described. FIG. 4B shows an example of the data structure of an image shot in the shooting mode of the imaging apparatus 100 corresponding to the embodiment of the invention. The image data may be either a still image or a moving image.

ヘッダ411は、画像の属性情報を記載するヘッダ部である。メーカー名412は画像を記録した撮像装置のメーカー名を示す。モデル名413はこの画像を記録した撮像装置のモデル名を示す。機器固有ID414は、この画像を記録した撮像装置に固有に与えられているID(シリアル番号等)を示す。測地系415はこの画像に記載された位置情報の測地系を示す。時差情報416はこの画像を記録した撮像装置の時差設定を示す。位置情報417はこの画像を記録した時の撮像装置の位置情報を示す。その他418は、その他の設定情報を含む。ここには、使用者情報、日時情報(撮像日時)、エリア設定、撮影モード、画像フォーマット、被写体情報等を含めることができる。圧縮画像データ419は画像データ本体を示す。圧縮画像データは、静止画データと、動画データとのいずれでもよい。   The header 411 is a header portion that describes image attribute information. A manufacturer name 412 indicates the name of the manufacturer of the imaging apparatus that recorded the image. A model name 413 indicates the model name of the imaging apparatus that records this image. The device unique ID 414 indicates an ID (such as a serial number) that is uniquely given to the imaging apparatus that has recorded the image. A geodetic system 415 indicates a geodetic system of position information described in this image. The time difference information 416 indicates the time difference setting of the imaging apparatus that records this image. The position information 417 indicates the position information of the imaging device when this image is recorded. Other 418 includes other setting information. This can include user information, date / time information (imaging date / time), area setting, shooting mode, image format, subject information, and the like. The compressed image data 419 indicates the image data body. The compressed image data may be either still image data or moving image data.

以上のように発明の実施形態によれば、ログファイルと撮影画像に同一の属性情報を付与することで、所定の属性情報毎にロギングされた一連の位置情報を取り扱うことが容易となる。また、属性情報を撮影画像およびログファイルに付加するので同一の属性情報を持つ画像とログファイルの関連付けが容易となる。   As described above, according to the embodiment of the present invention, it is easy to handle a series of position information logged for each predetermined attribute information by giving the same attribute information to the log file and the captured image. Further, since attribute information is added to the captured image and the log file, it becomes easy to associate an image having the same attribute information with the log file.

<第2の実施形態>
図4〜7を用いて、ロギングモード時の動作のもう一つの実施形態を説明する。本実施形態では、ログファイルを一旦メモリ104に記憶し、特定のタイミングで記録媒体141に書き込む。なお、第1の実施形態と共通する部分は説明を省略し、本実施形態に特有の部分を中心に説明する。
<Second Embodiment>
Another embodiment of the operation in the logging mode will be described with reference to FIGS. In this embodiment, the log file is temporarily stored in the memory 104 and written to the recording medium 141 at a specific timing. Note that description of parts common to the first embodiment will be omitted, and description will be made centering on parts unique to the present embodiment.

図5はロギングモード時の位置情報を記憶する処理のフローチャートである。図6は図5により記憶された位置情報をログファイルとして書き出す処理を示すフローチャートである。図7は図6より呼びだされるログファイル書き込み処理の詳細を示すフローチャートである。   FIG. 5 is a flowchart of processing for storing position information in the logging mode. FIG. 6 is a flowchart showing a process of writing the position information stored in FIG. 5 as a log file. FIG. 7 is a flowchart showing details of the log file writing process called from FIG.

S241〜S244の処理は図2のS201〜S204と同様の処理を行うため、ここでは説明を省略する。S245で制御部101は、取得された位置情報を一旦保持するための空き容量がメモリ104にあるか確認する。空き容量がないと判断した場合はロギングモードを抜け、処理を終了する。空き容量があると判断した場合はS246へ進む。   Since the processing of S241 to S244 is the same as S201 to S204 of FIG. 2, the description thereof is omitted here. In step S245, the control unit 101 confirms whether the memory 104 has a free capacity for temporarily storing the acquired position information. If it is determined that there is no free space, the logging mode is exited and the process is terminated. If it is determined that there is free space, the process proceeds to S246.

S246で制御部101は、取得された位置情報をメモリ104内の位置情報バッファに書き込み、S241へ戻る。ここで位置情報は緯度経度の他、高度、GPSから取得した時間情報等が含まれる。以上のように、図5に示す処理では位置情報をメモリ104に確保する。 In step S246, the control unit 101 writes the acquired position information in the position information buffer in the memory 104, and the process returns to step S241. Here, position information includes altitude, time information acquired from GPS, and the like in addition to latitude and longitude. As described above, the position information is secured in the memory 104 in the process shown in FIG.

図6は、メモリ104に確保したログファイルを記録媒体141に書き込む処理を示すフローチャートである。まず、S271にて制御部101は、ログファイルの書き込み要求があるか判定する。要求がないと判定すれば処理を終了する。ここでログファイルの書き込み要求とは、メモリ104に確保したログファイルを記録媒体141に書き込む処理を要求するものである。これは、例えば撮像装置100の電源ボタンが押下されて電源オンになったり、電源ボタンが押下されて電源オフになったりした場合に行われる。また、ログファイルの書き出し単位が撮像装置100に設定された時差を加味したローカル時間毎であるような場合、撮像装置100の時差設定の変更、あるいはその可能性が高いタイミングで書き込み要求が行われる。また、ローカル時間の算出をカメラに設定された時刻を基準に行う場合、カメラの時計設定の変更、あるいはその可能性が高いタイミングで書き込み要求が行われる。   FIG. 6 is a flowchart showing a process of writing the log file secured in the memory 104 to the recording medium 141. First, in S271, the control unit 101 determines whether there is a log file write request. If it is determined that there is no request, the process is terminated. Here, the log file write request is a request to write the log file secured in the memory 104 to the recording medium 141. This is performed, for example, when the power button of the imaging apparatus 100 is pressed to turn on the power, or when the power button is pressed to turn off the power. In addition, when the log file write-out unit is every local time taking into account the time difference set in the imaging apparatus 100, a write request is made when the time difference setting of the imaging apparatus 100 is changed or when the possibility is high. . Further, when the local time is calculated based on the time set in the camera, a write request is made at a timing when the camera clock setting is changed or the possibility is high.

S271で書き込み要求があると判断された場合(S271で「YES」)、S272へ進む。書き込み要求が無ければ(S271で「NO」)処理を終了する。S272で制御部101は、位置情報バッファに位置情報が記憶されているか判定する。位置情報が記憶されていないと判断した場合(S272で「NO」)は処理を終了する。位置情報が記憶されていると判断した場合(S272で「YES」)はS273へ進む。   If it is determined in S271 that there is a write request (“YES” in S271), the process proceeds to S272. If there is no write request (“NO” in S271), the process is terminated. In step S272, the control unit 101 determines whether position information is stored in the position information buffer. If it is determined that the position information is not stored (“NO” in S272), the process ends. If it is determined that the position information is stored (“YES” in S272), the process proceeds to S273.

S273で制御部101は、メモリ104内に確保された書き込み用バッファをクリアし、S274に進む。   In step S273, the control unit 101 clears the write buffer secured in the memory 104 and proceeds to step S274.

次にS274で制御部101は、位置情報バッファから位置情報を古いものから取り出す。そしてS275で、制御部101は取りだした位置情報に含まれるGPSの時間情報に、撮像装置100の時差設定を加算する。   In step S274, the control unit 101 extracts position information from the oldest one from the position information buffer. In step S275, the control unit 101 adds the time difference setting of the imaging apparatus 100 to the GPS time information included in the extracted position information.

S276において制御部101は、日付の変化があるか判定する。これは、直前のGPS時間情報と、S275で算出した時間情報が別の日のデータであるか否かの判定である。日付の変化があると判断した場合(S276で「YES」)はS277に進む。日付の変化がないと判定すると(S276で「NO」)S280へ進み、抽出した位置情報と時差加算した時刻情報を書き込みバッファに記憶する。   In step S276, the control unit 101 determines whether there is a date change. This is a determination as to whether or not the previous GPS time information and the time information calculated in S275 are data of another day. If it is determined that there is a date change (“YES” in S276), the process proceeds to S277. If it is determined that the date has not changed (“NO” in S276), the process proceeds to S280, and the extracted position information and time information obtained by adding the time difference are stored in the write buffer.

続くS281で制御部101は、抽出した位置情報が位置情報バッファの最後のデータであるか判断する。最後のデータであると判断した場合(S281で「YES」)はS282へ進み、書き込み処理を行った後処理を終了する。一方、まだ位置情報バッファに位置情報があると判断されたならば(S281で「NO」)S274に戻る。   In subsequent S281, the control unit 101 determines whether the extracted position information is the last data in the position information buffer. If it is determined that the data is the last data (“YES” in S281), the process proceeds to S282, where the writing process is performed and the process is terminated. On the other hand, if it is determined that there is still position information in the position information buffer (“NO” in S281), the process returns to S274.

S276で日付の変化があると判断された後、S277で制御部101は、書き込みバッファにデータがあるか判断する。データがないと判断した場合(S277で「NO」)は前述のS280へ進む。データがあると判断した場合(S277で「YES」)は、S278に進む。   After determining that there is a date change in S276, the control unit 101 determines whether there is data in the write buffer in S277. When it is determined that there is no data (“NO” in S277), the process proceeds to S280 described above. If it is determined that there is data (“YES” in S277), the process proceeds to S278.

S278に進んだ場合、バッファ上のデータが同一日であると判断したことになる。そこで、S278へ進み同一日のデータをまとめて記録媒体141に書き込む。そしてS279へ進み、制御部101は書き込みバッファをクリアし、S280へ進む。 When the process proceeds to S278, it is determined that the data on the buffer is the same day. Accordingly, the process proceeds to S278, and the data for the same day are collectively written in the recording medium 141. In step S279, the control unit 101 clears the write buffer, and then advances to step S280.

次に図7を参照してS278における書き込み処理の詳細を説明する。S255において、制御部101は、記録媒体141に書き込む位置情報の日付に対応する日付のログファイルがあるか確認する。本実施形態では、同日のログファイルがあるかを確認する。なお、本実施形態では日付の特定が可能なファイル名をログファイルに設定することとする。したがって、S255では記録媒体141内に対応日を示すログファイル名を持つファイルの有無を判定する。S255にて対応する日付のログファイルがあると判定された場合、S256へ進む。対応する日付のログファイルがあると判定された場合、S267に進む。   Next, details of the writing process in S278 will be described with reference to FIG. In step S <b> 255, the control unit 101 confirms whether there is a log file with a date corresponding to the date of the position information written to the recording medium 141. In this embodiment, it is confirmed whether there is a log file of the same day. In the present embodiment, a file name that can specify the date is set in the log file. Therefore, in S255, it is determined whether or not there is a file having a log file name indicating the corresponding date in the recording medium 141. If it is determined in S255 that there is a log file with the corresponding date, the process proceeds to S256. If it is determined that there is a log file with the corresponding date, the process proceeds to S267.

S256からS267の処理については、図2のS206からS217と同様の処理であるため、説明を省略する。   The processing from S256 to S267 is the same as S206 to S217 in FIG.

以上説明したように、本実施形態では一旦メモリ104に位置情報を確保し、所定のタイミングで記録媒体141に書き込む構成とした。このようにしたのは以下の理由による。例えば、撮影モードの間に位置情報を記録媒体141に書き込むことを可能とした場合、撮影により得られた画像データを記録媒体141に書き込む処理と、位置情報を記録媒体141に書き込む処理と競合してしまう可能性がある。そこで本実施形態では、所定のタイミングまで位置情報をメモリ104に待機させておくこととした。上記の理由から、所定のタイミングは撮影のタイミングと競合しないタイミングが望ましい。例えば、本実施形態でも説明したように電源ボタンが押下されたタイミングや、撮影モードを離脱したタイミング、再生モードに移行したタイミングなどが考えられる。また、ユーザ操作により書き込み処理を指示できるようにしてもよい。この場合は書き込みが完了するまで撮影などの操作を禁止するようにしてもよい。   As described above, in this embodiment, the position information is once secured in the memory 104 and written to the recording medium 141 at a predetermined timing. The reason for this is as follows. For example, when it is possible to write the position information to the recording medium 141 during the shooting mode, there is a conflict between the process of writing the image data obtained by shooting to the recording medium 141 and the process of writing the position information to the recording medium 141. There is a possibility that. Therefore, in the present embodiment, position information is kept in the memory 104 until a predetermined timing. For the above reason, it is desirable that the predetermined timing does not conflict with the shooting timing. For example, as described in the present embodiment, the timing when the power button is pressed, the timing when the shooting mode is exited, the timing when the mode is changed to the playback mode, and the like can be considered. In addition, the writing process may be instructed by a user operation. In this case, operations such as photographing may be prohibited until writing is completed.

<その他の実施形態>
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。
<Other embodiments>
The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, or the like) of the system or apparatus reads the program. It is a process to be executed.

Claims (6)

被写体を撮像して画像データを生成する撮像手段と、
自装置の位置情報を取得する位置検出手段と、
位置検出手段が検出した前記位置情報に基づき、記録媒体に保持させるログファイルの生成及び更新を定期的に制御する制御手段と
を備える撮像装置であって、
前記記録媒体は、画像データを該画像データを生成した装置の属性情報を付加して保持すると共に、前記属性情報と前記画像データを生成した装置で取得された位置情報とを含むログファイルを保持することが可能であって、
前記制御手段は、
前記位置検出手段が取得した新規の位置情報の取得日と同日に生成されたログファイルを前記記録媒体が保持する場合に、前記撮像装置の属性情報と、該ログファイルに含まれる属性情報とが一致するか否かを判定し、一致する場合に該ログファイルに前記新規の位置情報を追記し、
前記属性情報が一致しない場合、または、前記同日に生成されたログファイルを前記記録媒体が保持しない場合に、前記新規の位置情報を含む新規のログファイルを生成する
ことを特徴とする撮像装置。
Imaging means for imaging a subject and generating image data;
Position detecting means for acquiring position information of the own device;
An image pickup apparatus comprising: control means for periodically controlling generation and update of a log file to be held in a recording medium based on the position information detected by the position detection means;
The recording medium holds image data with the attribute information of the device that generated the image data added, and also holds a log file that includes the attribute information and position information acquired by the device that generated the image data It is possible to
The control means includes
When the recording medium holds a log file generated on the same day as the acquisition date of the new position information acquired by the position detection means, attribute information of the imaging device and attribute information included in the log file are It is determined whether or not they match, and if they match, the new location information is added to the log file,
An image pickup apparatus that generates a new log file including the new position information when the attribute information does not match or when the recording medium does not hold the log file generated on the same day.
前記属性情報には、前記画像データを生成した装置を一意に識別するための識別情報と、該装置における時差設定またはエリア設定が含まれることを特徴とする請求項1に記載の撮像装置。   The imaging apparatus according to claim 1, wherein the attribute information includes identification information for uniquely identifying the apparatus that generated the image data, and time difference setting or area setting in the apparatus. 前記属性情報には、前記画像データを生成した装置の使用者を識別するための情報、または、測地系に関する情報が更に含まれることを特徴とする請求項2に記載の撮像装置。   The imaging apparatus according to claim 2, wherein the attribute information further includes information for identifying a user of the apparatus that generated the image data, or information related to a geodetic system. 前記属性情報に、画像データを解析して得られた被写体情報と、該画像データの撮像時刻の情報とが含まれる場合に、
前記制御手段は更に、
前記新規の位置情報を前記位置検出手段が取得した時刻との時間差が、所定時間以内である撮像時刻の情報を含むログファイルを前記記録媒体が保持する場合に、該ログファイルに前記新規の位置情報を追記し、
前記時間差が所定時間以内の撮像時刻の情報を含むログファイルを前記記録媒体が保持しない場合に、前記新規の位置情報を含む新規のログファイルを生成する
ことを特徴とする請求項1乃至3のいずれか1項に記載の撮像装置。
In the case where the attribute information includes subject information obtained by analyzing image data and imaging time information of the image data,
The control means further includes
When the recording medium holds a log file that includes information on an imaging time whose time difference from the time at which the position detection unit acquires the new position information is within a predetermined time, the new position is stored in the log file. Add information,
The new log file including the new position information is generated when the recording medium does not hold the log file including the imaging time information within the predetermined time difference. The imaging device according to any one of the above.
被写体を撮像して画像データを生成する撮像手段と、
自装置の位置情報を取得する位置検出手段と、
位置検出手段が検出した前記位置情報に基づき、記録媒体に保持させるログファイルの生成及び更新を定期的に制御する制御手段と
を備える撮像装置の制御方法であって、
前記記録媒体は、画像データを該画像データを生成した装置の属性情報を付加して保持すると共に、前記属性情報と前記画像データを生成した装置で取得された位置情報とを含むログファイルを保持することが可能であって、
前記位置検出手段が、新規の位置情報を取得する工程と、
前記制御手段が、前記新規の位置情報の取得日と同日に生成されたログファイルを前記記録媒体が保持する場合に、前記撮像装置の属性情報と、該ログファイルに含まれる属性情報とが一致するか否かを判定する工程と、
前記制御手段が、前記属性情報が一致する場合に該ログファイルに前記新規の位置情報を追記する工程と、
前記制御手段が、前記属性情報が一致しない場合、または、前記同日に生成されたログファイルを前記記録媒体が保持しない場合に、前記新規の位置情報を含む新規のログファイルを生成する工程と
を備えることを特徴とする撮像装置の制御方法。
Imaging means for imaging a subject and generating image data;
Position detecting means for acquiring position information of the own device;
A control method for an imaging apparatus comprising: control means for periodically controlling generation and update of a log file to be held in a recording medium based on the position information detected by the position detection means,
The recording medium holds image data with the attribute information of the device that generated the image data added, and also holds a log file that includes the attribute information and position information acquired by the device that generated the image data It is possible to
The position detecting means acquiring new position information;
When the control unit holds the log file generated on the same day as the acquisition date of the new position information, the attribute information of the imaging device matches the attribute information included in the log file. Determining whether or not to do;
The control means adding the new position information to the log file when the attribute information matches; and
The control means generating a new log file including the new location information when the attribute information does not match or the recording medium does not hold the log file generated on the same day; An image pickup apparatus control method comprising:
被写体を撮像して画像データを生成する撮像手段と、
自装置の位置情報を取得する位置検出手段と、
位置検出手段が検出した前記位置情報に基づき、記録媒体に保持させるログファイルの生成及び更新を定期的に制御する制御手段と
を備えるコンピュータにおいて
前記制御手段を、前記請求項1乃至4のいずれか1項に記載の制御手段として機能させるためのプログラム。
Imaging means for imaging a subject and generating image data;
Position detecting means for acquiring position information of the own device;
5. The computer according to claim 1, further comprising: a control unit that periodically controls generation and update of a log file to be held in a recording medium based on the position information detected by the position detection unit. A program for functioning as the control means according to item 1.
JP2012017270A 2011-02-04 2012-01-30 IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND COMPUTER PROGRAM Expired - Fee Related JP5950589B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012017270A JP5950589B2 (en) 2011-02-04 2012-01-30 IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND COMPUTER PROGRAM

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2011023246 2011-02-04
JP2011023246 2011-02-04
JP2012017270A JP5950589B2 (en) 2011-02-04 2012-01-30 IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND COMPUTER PROGRAM

Publications (3)

Publication Number Publication Date
JP2012178823A true JP2012178823A (en) 2012-09-13
JP2012178823A5 JP2012178823A5 (en) 2015-03-19
JP5950589B2 JP5950589B2 (en) 2016-07-13

Family

ID=46980347

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012017270A Expired - Fee Related JP5950589B2 (en) 2011-02-04 2012-01-30 IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND COMPUTER PROGRAM

Country Status (1)

Country Link
JP (1) JP5950589B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015109550A (en) * 2013-12-04 2015-06-11 キヤノン株式会社 Imaging device, control method of imaging device, program
TWI633929B (en) * 2013-12-27 2018-09-01 新東工業股份有限公司 Dispersing device, dispersing processing system and dispersing method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006042052A (en) * 2004-07-28 2006-02-09 Olympus Corp Digital camera and method for recording image data
JP2007158887A (en) * 2005-12-07 2007-06-21 Sony Corp Imaging apparatus, data recording method, data display control method and computer program
JP2008271325A (en) * 2007-04-23 2008-11-06 Olympus Imaging Corp Digital camera

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006042052A (en) * 2004-07-28 2006-02-09 Olympus Corp Digital camera and method for recording image data
JP2007158887A (en) * 2005-12-07 2007-06-21 Sony Corp Imaging apparatus, data recording method, data display control method and computer program
JP2008271325A (en) * 2007-04-23 2008-11-06 Olympus Imaging Corp Digital camera

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015109550A (en) * 2013-12-04 2015-06-11 キヤノン株式会社 Imaging device, control method of imaging device, program
TWI633929B (en) * 2013-12-27 2018-09-01 新東工業股份有限公司 Dispersing device, dispersing processing system and dispersing method

Also Published As

Publication number Publication date
JP5950589B2 (en) 2016-07-13

Similar Documents

Publication Publication Date Title
RU2468528C2 (en) Information recording device, image filming device, information recording method and software
US20080266421A1 (en) Image capture device and image processing device
JP5952670B2 (en) Electronic device and control method thereof
JP6223534B2 (en) Imaging device, imaging method, and imaging control program
JP5950589B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND COMPUTER PROGRAM
JP5990055B2 (en) Imaging apparatus and control method thereof
JP2012084052A (en) Imaging apparatus, control method and program
JP2012253421A (en) Image display device, imaging apparatus, and image display program
US9307113B2 (en) Display control apparatus and control method thereof
JP2012089928A (en) Image processing device and image processing method
JP2017112455A (en) Information processing unit
JP5704945B2 (en) Imaging apparatus, control method therefor, and program
JP6147108B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM
JP4102933B2 (en) Captured image management apparatus, captured image management method, and captured image management program
JP5721617B2 (en) Image processing apparatus and control method thereof
WO2021039057A1 (en) Information processing device, information processing method, and program
JP5812848B2 (en) Image processing apparatus and control method thereof
US20110242362A1 (en) Terminal device
JP5479010B2 (en) Information processing apparatus, imaging apparatus, information processing apparatus control method, and program
JP2023009680A (en) Communication apparatus, control method, and program
JP2014075123A (en) Recorder, method for controlling recorder, and program
JP2015033001A (en) Imaging apparatus and control method for imaging apparatus
JP2014171147A (en) Imaging device
JP2011030103A (en) Moving image reproducing apparatus and processing method therefor
KR20080064328A (en) Photographing apparatus of providing location related information and method thereof

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150129

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150129

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20151112

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160107

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160302

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: 20160509

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160607

R151 Written notification of patent or utility model registration

Ref document number: 5950589

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees