JP2009213095A - Image file creating apparatus, image file creating method, and program - Google Patents
Image file creating apparatus, image file creating method, and program Download PDFInfo
- Publication number
- JP2009213095A JP2009213095A JP2008056872A JP2008056872A JP2009213095A JP 2009213095 A JP2009213095 A JP 2009213095A JP 2008056872 A JP2008056872 A JP 2008056872A JP 2008056872 A JP2008056872 A JP 2008056872A JP 2009213095 A JP2009213095 A JP 2009213095A
- Authority
- JP
- Japan
- Prior art keywords
- image data
- image
- index
- index image
- image file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Images
Landscapes
- Television Signal Processing For Recording (AREA)
- Studio Devices (AREA)
Abstract
Description
本発明は、マルチ画像ファイルを構成する画像データの全体を把握する操作に迅速かつ柔軟に対応できる画像ファイルの作成装置、方法及びプログラムに関する。 The present invention relates to an image file creation apparatus, method, and program capable of responding quickly and flexibly to an operation for grasping the entire image data constituting a multi-image file.
デジタル・スチル・カメラ(DSC)では、被写体を撮影して獲得した画像データは、撮影条件等の情報と共に画像ファイルに格納される。従来の規格では、得られた画像データ毎に画像ファイルが生成されていたため、カメラ内に多数の画像ファイルが存在する場合があった。 In a digital still camera (DSC), image data acquired by shooting a subject is stored in an image file together with information such as shooting conditions. In the conventional standard, since an image file is generated for each obtained image data, there are cases where a large number of image files exist in the camera.
そこで、画像ファイルの数を増やすことなく多数のフォーマットの画像データを記録できるファイル生成手段が提案されている(例えば、特許文献1参照)。
ところで、連写撮影、パノラマ撮影などで得られた複数の画像データを一つのファイルとしてまとめることができれば、データ管理上、並びに取扱い上有利である。以下、このようなファイルをマルチ画像ファイルという。
一方、これら一群の画像データは、当該グループを代表する画像データ(主画像)とそれ以外の画像データ(副画像)とに区分されるが、これらの画像データの取扱いが簡便なことが求められる。
By the way, it is advantageous in terms of data management and handling if a plurality of image data obtained by continuous shooting or panoramic shooting can be collected as one file. Hereinafter, such a file is referred to as a multi-image file.
On the other hand, these groups of image data are divided into image data representing the group (main image) and other image data (sub-images), but it is required that these image data be handled easily. .
例えば、複数の画像がある場合に、これらの画像データがどういったシーンの撮影画像の集まりなのかを把握したい場合、複数の画像を一画面に表示することになる。その際、一画面に表示できるサムネイル画像を算出して、続いてそれぞれの画像データである主画像、副画像のサムネイル画像を所定枚数読み込んで表示のために編集処理する必要がある。
しかしながら、例えば、連写撮影では一つのマルチ画像ファイルに百枚近くの画像データが格納されるケースもあるが、上述のサムネイル画像の編集に多大の時間を要することになる。
即ち、マルチ画像ファイルを構成する画像データの全体を把握する操作に迅速かつ柔軟に対応できることが必要である。
For example, in the case where there are a plurality of images, when it is desired to grasp what kind of scenes the captured images of these image data are, a plurality of images are displayed on one screen. At that time, it is necessary to calculate thumbnail images that can be displayed on one screen, and subsequently read a predetermined number of thumbnail images of main images and sub-images that are the respective image data, and edit them for display.
However, for example, in continuous shooting, there are cases where nearly one hundred image data is stored in one multi-image file, but it takes a long time to edit the above-described thumbnail image.
That is, it is necessary to be able to respond quickly and flexibly to an operation for grasping the entire image data constituting a multi-image file.
しかしながら、特許文献1に開示された技術には、この課題解決を図ることを示唆し或いは動機付ける記載はない。
However, the technique disclosed in
本発明は、このような事情に鑑みてなされたものであり、マルチ画像ファイルを構成する画像データの全体を把握する操作に迅速かつ柔軟に対応できる画像ファイルの作成装置、方法及びプログラムを提供することを目的とする。 The present invention has been made in view of such circumstances, and provides an image file creation apparatus, method, and program capable of responding quickly and flexibly to an operation for grasping the entire image data constituting a multi-image file. For the purpose.
上記課題を解決するための本発明は、複数の画像データ及び前記画像データのそれぞれを管理する画像データ管理情報を作成するマルチ画像ファイル作成部と、前記複数の画像データのインデックス画像データを所定数単位にまとめたマルチインデックス画像データを作成するマルチインデックス画像データ作成部と、前記マルチインデックス画像データへのアクセス情報を作成するアクセス情報作成部とを備え、前記作成された情報及びデータが1つの画像ファイルに格納される画像ファイル作成装置である。 In order to solve the above problems, the present invention provides a multi-image file creation unit that creates a plurality of image data and image data management information for managing each of the image data, and a predetermined number of index image data of the plurality of image data. A multi-index image data creation unit that creates multi-index image data grouped in units; and an access information creation unit that creates access information to the multi-index image data, wherein the created information and data are one image. An image file creation device stored in a file.
また本発明は、上記記載の発明である画像ファイル作成装置において、前記所定数は、前記インデックス画像を表示する表示装置の表示画素数または表示画面の大きさに対応し、前記マルチインデックス画像データは少なくとも1種類である。 In the image file creation device according to the present invention described above, the predetermined number corresponds to a display pixel number or a display screen size of the display device that displays the index image, and the multi-index image data is There is at least one type.
また本発明は、上記記載の発明である画像ファイル作成装置において、前記マルチインデックス画像データへのアクセス情報は、前記マルチインデックス画像データ相互のアクセスが可能な情報である。 According to the present invention, in the image file creation device according to the above-described invention, the access information to the multi-index image data is information that allows the multi-index image data to be accessed with each other.
また本発明は、複数の画像データ及び前記画像データのそれぞれを管理する画像データ管理情報を作成するステップと、前記複数の画像データのインデックス画像データを所定数単位にまとめたマルチインデックス画像データを作成するステップと、前記マルチインデックス画像データへのアクセス情報を作成するステップと、前記作成された情報及びデータを1つの画像ファイルとして生成するステップとを備えた画像ファイル作成方法である。 The present invention also includes a step of creating a plurality of image data and image data management information for managing each of the image data, and creating multi-index image data in which the index image data of the plurality of image data is collected in a predetermined number unit. A method of creating access information for the multi-index image data, and a step of creating the created information and data as one image file.
また本発明は、上記記載の発明である画像ファイル作成方法において、前記所定数は、前記インデックス画像を表示する表示装置の表示画素数または表示画面の大きさに対応し、前記マルチインデックス画像データは少なくとも1種類である。 In the image file creation method according to the present invention described above, the predetermined number corresponds to a display pixel number or a display screen size of a display device that displays the index image, and the multi-index image data is There is at least one type.
また本発明は、上記記載の発明である画像ファイル作成方法において、前記マルチインデックス画像データへのアクセス情報は、前記マルチインデックス画像データ相互のアクセスが可能な情報である。 In the image file creation method according to the present invention as described above, the access information to the multi-index image data is information that allows the multi-index image data to be mutually accessed.
また本発明は、複数の画像データ及び前記画像データのそれぞれを管理する画像データ管理情報を作成するステップと、前記複数の画像データのインデックス画像データを所定数単位にまとめたマルチインデックス画像データを作成するステップと、前記マルチインデックス画像データへのアクセス情報を作成するステップと、前記作成された情報及びデータを1つの画像ファイルとして生成するステップとをコンピュータに実行させるためのプログラムである。 The present invention also includes a step of creating a plurality of image data and image data management information for managing each of the image data, and creating multi-index image data in which the index image data of the plurality of image data is collected in a predetermined number unit. A program for causing a computer to execute a step of generating access information to the multi-index image data and a step of generating the generated information and data as one image file.
また本発明は、上記記載の発明であるプログラムにおいて、前記所定数は、前記インデックス画像を表示する表示装置の表示画素数または表示画面の大きさに対応し、前記マルチインデックス画像データは少なくとも1種類である。 According to the present invention, in the program according to the above-described invention, the predetermined number corresponds to a display pixel number or a display screen size of the display device that displays the index image, and the multi-index image data includes at least one kind. It is.
また本発明は、上記記載の発明であるプログラムにおいて、前記マルチインデックス画像データへのアクセス情報は、前記マルチインデックス画像データ相互のアクセスが可能な情報である。 According to the present invention, in the program according to the above-described invention, the access information to the multi-index image data is information capable of accessing the multi-index image data.
また本発明は、複数の画像データ、前記画像データのそれぞれを管理する画像データ管理情報、前記複数の画像データのインデックス画像データを所定数単位にまとめたマルチインデックス画像データ、及び前記マルチインデックス画像データへのアクセス情報を1つの画像ファイルとして作成する画像ファイル作成方法であって、画像ファイル化する画像データ数(M)を取得し、1つの前記画像ファイルの上限構成画像数(N)を取得し、前記マルチインデックス画像データを生成する単位となる所定数を少なくとも1種類取得し、1つの前記画像ファイルに含まれる画像データ数と、当該画像データ数を前記少なくとも1種類の前記所定数を単位としてまとめた際の前記マルチインデックス画像データ数との総和が、前記上限構成画像数(N)を越えないように前記画像ファイルを作成する画像ファイル作成方法である。 Further, the present invention provides a plurality of image data, image data management information for managing each of the image data, multi-index image data in which index image data of the plurality of image data is collected in a predetermined number unit, and the multi-index image data Is an image file creation method for creating access information as a single image file, obtaining the number of image data (M) to be converted into an image file, and obtaining the upper limit number of constituent images (N) of the one image file , Acquiring at least one predetermined number as a unit for generating the multi-index image data, and determining the number of image data included in one image file and the number of the image data as a unit of the at least one type of the predetermined number The sum total of the number of multi-index image data at the time of compilation is the upper limit constituent image An image file generation method of generating the image file so as not to exceed (N).
本発明によれば、マルチ画像ファイルを構成する画像データの全体を把握する操作に迅速かつ柔軟に対応できる画像ファイル作成装置、画像ファイル作成方法及びプログラムを提供することができる。 According to the present invention, it is possible to provide an image file creation apparatus, an image file creation method, and a program that can respond quickly and flexibly to an operation for grasping the entire image data constituting a multi-image file.
[第1の実施の形態]
図1は、第1の実施の形態のマルチ画像ファイルを備えたデジタル・スチル・カメラ(DSC)の構成を示す図である。
このカメラでは、CPU1がカメラ内の各部を統括して制御する。図1では、実線の矢印がデータの流れを表し、破線の矢印が制御の流れを表している。
[First Embodiment]
FIG. 1 is a diagram illustrating a configuration of a digital still camera (DSC) including a multi-image file according to the first embodiment.
In this camera, the
被写体からの光は、レンズ及び絞りからなる光学系2を介してレンズ背面に設置された撮像装置3で受光される。撮像装置3は、例えばCCD等の光電変換素子で構成され、被写体像をアナログの電気信号に変換する。変換されたアナログの電気信号は、アナログ増幅器(A−AMP)4によりゲイン調整された後、アナログデジタル変換器(ADC)5によってデジタルデータである画像データに変換される。そして、変換されたデジタルデータは、一旦DRAM6に保存される。
The light from the subject is received by the
続いて、画像処理ブロック7がDRAM6から画像データを読み出してJPEG等の圧縮処理を含む画像処理を施した後、生成したマルチ画像ファイルに記録用画像データとして格納する。そして、そのマルチ画像ファイルをDRAM6に書き戻す。またそのマルチ画像ファイルはFLASHメモリ8にも記録される。
Subsequently, after the
一方、ユーザが操作部9を介して撮影した画像の再生を指示したときは、画像処理ブロック7がDRAM6から記録用画像データを読み出し、伸張処理等を含む画像処理を行った後、表示用画像データとしてDRAM6に書き戻す。そして、ビデオエンコーダ10が表示用画像データを読み出してLCD/TV(液晶表示パネル)11に表示する。
なお、CPU1上で稼動するカメラの機能を制御する各プログラムは、プログラムメモリ12に格納されている。
On the other hand, when the user gives an instruction to reproduce the image taken via the operation unit 9, the
Each program for controlling the function of the camera operating on the
次に、本実施の形態のマルチ画像ファイルについて説明する。このマルチ画像ファイルの構成要素はJPEGファイルと類似の構成を備えている。 Next, the multi-image file of this embodiment will be described. The components of this multi-image file have a configuration similar to that of a JPEG file.
図2は、JPEGファイルの構成を示す図である。
JPEGファイルは、一般には、SOI(Start Of Image)からEOI(End Of Image)の間に、JPEGヘッダの領域と画像の本体部分となるJPEG画像データ領域とを備えている。
FIG. 2 is a diagram showing the structure of a JPEG file.
A JPEG file generally includes a JPEG header area and a JPEG image data area serving as a main part of an image between SOI (Start Of Image) and EOI (End Of Image).
JPEGヘッダには、例えば撮影時のカメラの設定情報、撮影条件、また撮影画像の縮小画像であるサムネイル等が記録されたExifデータが存在している。 The JPEG header includes Exif data in which, for example, camera setting information at the time of shooting, shooting conditions, and thumbnails that are reduced images of the shot images are recorded.
Exifデータは、アプリケーション層であるAPP1セグメントで規定されている。内部には、Exifヘッダ、TIFFヘッダ、0th IFD(Image File Directory)、Exif IFD、及び1st IFDが記録されている。
ExifヘッダはExif識別コードを備えている。0th IFDには、主画像に関する情報が記憶されている。Exif IFDには、カメラ撮影情報が格納されている。1st IFDにはサムネイルに関する情報が記録されている。そして、TIFFヘッダは、データの記録形式や0th IFDへのオフセット情報を記録している。
Exif data is defined in the APP1 segment which is an application layer. Inside, an Exif header, TIFF header, 0th IFD (Image File Directory), Exif IFD, and 1st IFD are recorded.
The Exif header includes an Exif identification code. The 0th IFD stores information related to the main image. Camera information is stored in the Exif IFD. Information about thumbnails is recorded in the 1st IFD. The TIFF header records a data recording format and offset information to 0th IFD.
マルチ画像ファイルは、複数の画像を一つのファイルとして扱うファイル構造(以下、マルチ画像構造という。)を備えている。
図3は、マルチ画像ファイルのマルチ画像構造とJPEG構造との比較を示す図である。マルチ画像構造では、複数の画像はそれぞれ通常のJPEG構造と同様にSOIからEOIまでのデータ構造を有している。即ち、単体としてもJPEG画像として成り立つ構造が一つのファイルとしてまとめられているものである。
The multi-image file has a file structure (hereinafter referred to as a multi-image structure) that handles a plurality of images as one file.
FIG. 3 is a diagram showing a comparison between a multi-image structure of a multi-image file and a JPEG structure. In the multi-image structure, each of the plurality of images has a data structure from SOI to EOI as in the normal JPEG structure. That is, the structure that is formed as a JPEG image as a single unit is collected as one file.
マルチ画像構造20では、先頭の画像(以下、主画像)に続き、関連する複数の画像(以下、副画像)が連続的に記録される。ここで、主画像が記録される領域を主画像領域20a、複数の副画像が記録される領域を副画像領域20bと呼ぶ。
In the
このように主画像領域20aが、通常のJPEG構造と同一の構成をしているため、マルチ画像ファイルをマルチ画像構造に対応していない表示システムに適用した場合であっても、主画像に関しては通常のJPEG画像として表示することが可能である。
Since the
図4は、主画像領域20aの主画像ヘッダ30の内容を示す図である。
FIG. 4 is a diagram showing the contents of the
主画像ヘッダ30内には、主画像データに関する情報が記録される主画像データ管理情報領域30aの他に、まとめられた副画像の相互関連性などの管理情報が記録された副画像関連情報領域30bが存在する。
In the
主画像データ管理情報領域30aでは、主画像特性31として、通常のExif情報や画像情報のほかに、副画像の有無を表す情報と、後述する副画像構成情報32へのポインタとが記録されている。したがって、主画像特性31を解析することで、この画像ファイルが副画像を備えているか否かを判断し、さらに副画像に対応するデータ領域へアクセスすることが可能となる。
In the main image data management information area 30a, as the
副画像関連情報領域30bには、副画像構成情報32として、副画像と主画像の関連情報が記録され、さらに副画像関連情報33として、個々の副画像の情報と副画像間でのアクセスのやり取りの情報とが記録されている。
In the sub-image
副画像構成情報32では、マルチ画像ファイルが保有する副画像の枚数や先頭の副画像関連情報33へのポインタを保持している。また、主画像の副画像に対する情報として後述する「種別情報」と「相関情報」が記録されている。
The
副画像関連情報33では、「種別情報」としてその副画像の属性が記録されている。例えば、パノラマ撮影或いは連写撮影をして得られた複数の画像をマルチ画像構造で保存した場合、副画像関連情報33の「種別情報」には、パノラマ撮影或いは連写撮影による副画像である事を示す情報が記録される。また、副画像領域20bに記録された対応する副画像へアクセスするための「副画像へのオフセット」、続く副画像関連情報33へのポインタである「次の副画像へのポインタ」も記録されている。このデータリンクに関しては、図5を用いて後述する。
In the sub-image
副画像領域20bの副画像データ管理情報領域たる副画像ヘッダ40には、通常のExif情報や画像情報のほかに、その副画像の「種別情報」と「相関情報」が記録されている。「種別情報」と「相関情報」に関しては、副画像関連情報領域30bと重複する場合があるが、画像分割を行った場合などでも、個々のヘッダ内にデータが残る仕組みとなっている。なお、「相関情報」とは、対応する副画像がマルチ画像全体で何枚目に撮られた画像か、又はどの位置にあるか等を表す情報である。
In the
図5は、主画像ヘッダ30のアプリケーション層におけるデータリンクを示す図である。
FIG. 5 is a diagram illustrating a data link in the application layer of the
主画像特性31では副画像構成情報32へのポインタを持ち、それにより副画像構成情報32へのアクセスが可能となる。
副画像構成情報32では副画像(1)へのポインタを持ち、それにより副画像(1)関連情報へのアクセスが可能となる。
The main image characteristic 31 has a pointer to the
The
副画像(1)関連情報33は、「次の副画像へのポインタ」、「副画像(1)へのオフセット」を有している。「次の副画像へのポインタ」により連続する副画像関連情報33へのアクセス、即ち、図5の例では、副画像(2)関連情報33へのアクセスが可能となる。「副画像(1)へのオフセット」により、副画像(1)関連情報33に対応する副画像領域20bの副画像(1)データへのアクセスが可能となる。
The sub-image (1)
副画像関連情報領域30bの最終端となる副画像(N)関連情報33では、「次の副画像へのポインタ」に”0”が入ることにより次に続く副画像が存在しない事を示している。
In the sub-image (N)
第1の実施の形態に係るマルチ画像ファイルは、以上説明したマルチ画像構造20を基本的な構造として採用し、更に主画像と同じ副画像を副画像領域20bに備えている点に特徴を備えている。
The multi-image file according to the first embodiment is characterized in that the
続いて、上述のマルチ画像ファイルにインデックス画像データを組み込んだ画像ファイル(以下、マルチインデックス画像ファイルという)を生成する方法について説明する。なお、以下の説明では、サムネイル画像をインデックス画像と称する。 Next, a method for generating an image file (hereinafter referred to as a multi-index image file) in which index image data is incorporated into the above-described multi-image file will be described. In the following description, the thumbnail image is referred to as an index image.
本実施の形態ではマルチインデックス画像ファイルを生成する方法として、カメラ内において、ユーザの操作に基づいて複数の単一の画像ファイルからマルチインデックス画像ファイルを生成する。
図6は、マルチインデックス画像ファイルの概略の生成方法を示す図である。
In the present embodiment, as a method of generating a multi-index image file, a multi-index image file is generated from a plurality of single image files based on a user operation in the camera.
FIG. 6 is a diagram illustrating a schematic generation method of a multi-index image file.
図6の上段には、単一の画像ファイルを示している。本実施の形態では50個の画像ファイルが存在している。
ユーザが操作部9よりインデックス画像を表示する再生機器の種類を指定して(詳細は後述する)、マルチインデックス画像ファイルの生成を指示すると、ステップS01において、CPU1はそれぞれの画像ファイルよりインデックス画像データを読み込む。即ち、本実施の形態では50個のインデックス画像データが抽出される。
The upper part of FIG. 6 shows a single image file. In the present embodiment, there are 50 image files.
When the user designates the type of playback device that displays the index image from the operation unit 9 (details will be described later) and instructs the generation of a multi-index image file, in step S01, the
ステップS02において、指定された再生機器の種類に対応して、マルチインデックス画像データが作成される。
本実施の形態では、例えば以下の条件の下でマルチインデックス画像ファイルを生成する。
対象となる単一の画像ファイル数:50、1つのマルチインデックス画像ファイル内の最大画像データ数:36、携帯電話表示用インデックスコマ数:4、カメラ表示用インデックスコマ数:9、TV表示用インデックスコマ数:25。
In step S02, multi-index image data is created corresponding to the designated type of playback device.
In the present embodiment, for example, a multi-index image file is generated under the following conditions.
Number of target single image files: 50, Maximum number of image data in one multi-index image file: 36, Number of index frames for mobile phone display: 4, Number of index frames for camera display: 9, Index for TV display Number of frames: 25.
この条件の下では、後述する処理により2つのマルチインデックス画像ファイルが生成され、それぞれのマルチインデックス画像ファイルには、25個のインデックス画像データに基づいてマルチインデックス画像データが再生機器毎に作成される。 Under these conditions, two multi-index image files are generated by the processing described later, and multi-index image data is created for each playback device based on 25 index image data in each multi-index image file. .
即ち、再生機器が携帯電話の場合は、一画面に4枚のインデックス画像をまとめて表示できるため、1つのマルチインデックス画像ファイルには、インデックス画像1〜25が7つのマルチインデックス画像データにまとめて生成される。
再生機器がカメラの場合は、一画面に9枚のインデックス画像をまとめて表示できるため、1つのマルチインデックス画像ファイルには、インデックス画像1〜25が3つのマルチインデックス画像データにまとめて生成される。
再生機器がテレビの場合は、一画面に25枚のインデックス画像をまとめて表示できるため、1つのマルチインデックス画像ファイルには、インデックス画像1〜25が1つのマルチインデックス画像データにまとめて生成される。
In other words, when the playback device is a mobile phone, four index images can be displayed together on one screen, so that one multi-index image file includes
When the playback device is a camera, nine index images can be displayed together on one screen, and therefore,
When the playback device is a television, 25 index images can be displayed together on one screen, and therefore,
他方のマルチインデックス画像ファイルには、インデックス画像26〜50が同様にまとめて生成される。
そして、このようにしてまとめられたマルチインデックス画像データに基づいて再生機器に応じた複数の形式のインデックス画像ファイルがそれぞれのマルチ画像ファイルに付加されてマルチインデックス画像ファイルが生成される。
Similarly,
Then, based on the multi-index image data collected in this way, index image files of a plurality of formats corresponding to the playback devices are added to the respective multi-image files to generate a multi-index image file.
図7は、生成されたマルチインデックス画像ファイルの構成を示す図である。
第1のマルチインデックス画像ファイル51は、画像ファイル1〜25を含む第1のマルチ画像ファイル51aと、11個のインデックス画像ファイルを含む第1のインデックスファイル51bとを含んでいる。
第2のマルチインデックス画像ファイル52は、画像ファイル25〜50を含む第2のマルチ画像ファイル52aと、11個のインデックス画像ファイル25〜50を含む第2のインデックスファイル52bとを含んでいる。
FIG. 7 is a diagram illustrating a configuration of the generated multi-index image file.
The first
The second
ここで、第1及び第2のインデックスファイル51b、52bには、再生機器に対応した複数のインデックス画像ファイルを備えているが、それぞれのインデックス画像ファイルは、マルチ画像ファイルの各画像ファイルと同様の構成である。
即ち、再生機器に対応した画像ファイルには、SOI、ヘッダデータ、画像データ、EOIの各ブロックが設けられている。
Here, the first and second index files 51b and 52b are provided with a plurality of index image files corresponding to playback devices. Each index image file is the same as each image file of the multi-image file. It is a configuration.
That is, the image file corresponding to the playback device is provided with SOI, header data, image data, and EOI blocks.
なお、マルチインデックス画像ファイル51、52を2つに分割したため、インデックス画像1〜25とインデックス画像26〜50とは別のマルチインデックス画像ファイルに属している。従って、インデックス画像ファイルにはこれらのインデックス画像の間のつながり、例えばマルチインデックス画像データのアドレスを示すリンク情報が設けられている。
Since the multi-index image files 51 and 52 are divided into two, the
図8は、カメラ用マルチインデックス画像データ同士のリンクを示す図である。
上述のように、第1のマルチインデックス画像ファイル51には3つのカメラ用マルチインデックス画像データ1〜3(インデックス画像枚数:9,9,7)、第2のマルチインデックス画像ファイル52には3つのカメラ用マルチインデックス画像データ4〜6(インデックス画像枚数:9,9,7)が設けられている。
FIG. 8 is a diagram showing links between camera multi-index image data.
As described above, the first
これらのカメラ用マルチインデックス画像データ間のリンク情報は、カメラ用インデックスヘッダデータのブロックに格納されている。そしてこのリンク情報により、カメラ用マルチインデックス画像データは相互に関連付けられている。即ち、このリンク情報によって、カメラ用マルチインデックス画像データは、1→2→3→4→5→6と昇順に辿って1にループすることができ、6→5→4→3→2→1と降順に辿って6にループすることができる。
図8では、矢印の形で昇順と降順のリンクが可能であることを表している。
Link information between these multi-index image data for cameras is stored in a block of camera index header data. The multi-index image data for cameras is associated with each other by this link information. That is, with this link information, the camera multi-index image data can be looped to 1 following the ascending order of 1 → 2 → 3 → 4 → 5 → 6, and 6 → 5 → 4 → 3 → 2 → 1. And descending order to loop to 6.
FIG. 8 shows that ascending and descending links are possible in the form of arrows.
図9は、カメラ用マルチインデックスヘッダデータのブロックの構成を示す図である。
このブロックには、カメラ用マルチインデックストータル数、前のリンク先についてのリンク情報、次のリンク先についてのリンク情報が含まれている。これらのリンク情報により、カメラ用マルチインデックス画像データが複数のマルチインデックス画像ファイルに分割されている場合であっても再生機器に対して迅速かつ柔軟にインデックス画像を表示することが可能となる。
FIG. 9 is a diagram illustrating a configuration of a block of camera multi-index header data.
This block includes the total number of camera multi-indexes, link information about the previous link destination, and link information about the next link destination. With this link information, even when the camera multi-index image data is divided into a plurality of multi-index image files, it is possible to display the index image quickly and flexibly on the playback device.
なお、カメラ用マルチインデックス画像データについてその構成と動作とを説明したが、携帯電話用マルチインデックス画像データ、TV用マルチインデックス画像データについても同様である。 The configuration and operation of the camera multi-index image data have been described, but the same applies to the mobile phone multi-index image data and the TV multi-index image data.
次に、再生機器の種類を指定する方法について説明する。
ユーザは、マルチインデックス画像ファイルの生成に先立ち、カメラの操作部9より、再生機器の種類を複数設定する。
図10は、設定画面を示す図である。
Next, a method for specifying the type of playback device will be described.
Prior to the generation of the multi-index image file, the user sets a plurality of types of playback devices from the operation unit 9 of the camera.
FIG. 10 shows a setting screen.
この設定画面からは3つの再生機器を指定することが可能である。ユーザはプルダウンメニューを操作して再生機器名を選択することができる。そうすると、選択された再生機器に対応してインデックス画像のコマ数が決定される、上述の例では、インデックス画像のコマ数は、携帯電話:4枚、カメラ:9枚、TV:25枚に設定されている。 Three playback devices can be designated from this setting screen. The user can select a playback device name by operating a pull-down menu. Then, the number of frames of the index image is determined corresponding to the selected playback device. In the above example, the number of frames of the index image is set to 4 mobile phones, 9 cameras, and 25 TVs. Has been.
なお、設定画面からは、再生機器の指定に限らず、インデックス画像のコマ数を直接指定しても良い。また、再生機器の解像度(QVGA、VGA、HDTVなど)をプルダウンメニューから選択しても良い。更に、再生機器の画面の大きさ(320×240、640×480、1920×1080など)をプルダウンメニューから選択しても良い。 From the setting screen, the number of frames of the index image may be directly specified without being limited to specifying the playback device. Further, the resolution (QVGA, VGA, HDTV, etc.) of the playback device may be selected from a pull-down menu. Furthermore, the screen size of the playback device (320 × 240, 640 × 480, 1920 × 1080, etc.) may be selected from a pull-down menu.
続いて、マルチインデックス画像ファイルを生成する処理手順について図11乃至図12を参照しつつ説明する。
この処理は、カメラのCPU1が各プログラムを起動することによって実行される。なお、この処理手順とともに、上述の実施例で使用した数値を用いた結果についても言及する。
Next, a processing procedure for generating a multi-index image file will be described with reference to FIGS.
This process is executed by the
ステップS10において、1つのマルチインデックス画像ファイルを構成する画像数の最大値(=N)を取得する。これはカメラ内でデフォルト値として定まった値であっても良く、例えば予めユーザが設定した値であっても良い。上述の実施例ではN=36となっている。 In step S10, the maximum value (= N) of the number of images constituting one multi-index image file is acquired. This may be a value determined as a default value in the camera, for example, a value set in advance by the user. In the above embodiment, N = 36.
ステップS11において、マルチインデックス画像ファイル化する画像データ数(=M)を取得する。対象とされる画像かどうかは、例えば連写あるいはパノラマ撮影で生成される画像ファイルに1つのグループであることを示す情報を付与しておくことで判定することができる。上述の実施例では、画像データ数M=50となっている。 In step S11, the number of image data (= M) to be converted into a multi-index image file is acquired. Whether the image is a target image can be determined by adding information indicating that it is one group to an image file generated by, for example, continuous shooting or panoramic shooting. In the above-described embodiment, the number of image data M is 50.
ステップS12において、各マルチインデックス画像データに含まれるインデックス画像の最大コマ数を取得する。図10に示す設定画面によって設定された情報より最大コマ数が得られる。上述の実施例では、最大コマ数は、携帯電話:4枚、カメラ:9枚、TV:25枚である。 In step S12, the maximum number of frames of index images included in each multi-index image data is acquired. The maximum number of frames can be obtained from the information set on the setting screen shown in FIG. In the above-described embodiment, the maximum number of frames is 4 mobile phones, 9 cameras, and 25 TVs.
続いてこの条件を充足する構成のマルチインデックス画像ファイルを求める。
ステップS13〜ステップS21の手順は、このための処理手続きを表している。
Subsequently, a multi-index image file having a configuration satisfying this condition is obtained.
The procedure from step S13 to step S21 represents a processing procedure for this purpose.
ステップS13において、初期値として、マルチ画像残処理変数Tに画像データ数M(=50)を代入する。またパラメータIに初期値として1を代入する。 In step S13, the number of image data M (= 50) is substituted into the multi-image remaining processing variable T as an initial value. Also, 1 is substituted into parameter I as an initial value.
ステップS15において、マルチ画像処理数配列X(1)にT(=50)を代入する。これは、第1のマルチインデックス画像ファイル51が50個のマルチ画像ファイルを備えると設定したことになる。
In step S15, T (= 50) is substituted into the multi-image processing number array X (1). This means that the first
ステップS16において、50個の画像ファイルに対応する各マルチインデックス画像データの個数を計算する。
ここで、携帯電話用のマルチインデックス画像データの個数をA(1)とし、携帯電話の最大コマ数をαとすると、式(1)が成立する。
Here, when the number of multi-index image data for a mobile phone is A (1) and the maximum number of frames of the mobile phone is α, Equation (1) is established.
ここで、右辺の記号は整数論で使用される切り上げを示す記号であり、その記号内の値を小数点以下切上げられた整数値に変換する関数である。 Here, the symbol on the right side is a symbol indicating rounding used in number theory, and is a function for converting a value in the symbol into an integer value rounded up after the decimal point.
同様にして、カメラ用のマルチインデックス画像データの個数をB(1)とし、カメラの最大コマ数をβとすると、式(2)が成立する。
また、TV用のマルチインデックス画像データの個数をC(1)とし、TVの最大コマ数をγとすると、式(3)が成立する。
ステップ17において、X(1)+A(1)+B(1)+C(1)≦Nが成立するかどうかを調べる。即ち、1つのマルチインデックス画像ファイルに含まれる画像数が最大値(=N)の条件を満たしているかどうかを調べる。 In step 17, it is checked whether X (1) + A (1) + B (1) + C (1) ≦ N is satisfied. That is, it is checked whether or not the number of images included in one multi-index image file satisfies the maximum value (= N) condition.
この場合は、条件を満たしていないため、ステップS17においてNOとなり、ステップS18において、マルチ画像処理数配列X(1)の数を1減じて49として、再度ステップS16を実行する。
このようにして、マルチ画像ファイルの数を減らしながら、ステップS17に示す最大値の条件を満たすマルチ画像ファイルの数を求める。
実施例では、X(1)=25、A(1)=7、B(1)=3、C(1)=1が具体的な数値として求められる。
In this case, since the condition is not satisfied, NO is determined in step S17, and in step S18, the number of multi-image processing number array X (1) is decreased by 1 to 49, and step S16 is executed again.
In this way, the number of multi-image files satisfying the maximum value condition shown in step S17 is obtained while reducing the number of multi-image files.
In the embodiment, X (1) = 25, A (1) = 7, B (1) = 3, and C (1) = 1 are obtained as specific numerical values.
ステップS17でYesの場合、即ち、上述の最大値の条件が満たされた場合は、その時のX(I)の値が、1つのマルチインデックス画像ファイルを構成する画像ファイルの数となる。このようにして、1つのマルチインデックス画像ファイル構成が決定される。 In the case of Yes in step S17, that is, when the above-described maximum value condition is satisfied, the value of X (I) at that time is the number of image files constituting one multi-index image file. In this way, one multi-index image file configuration is determined.
ステップS19でNOの場合、まだ全ての画像ファイルについてのマルチインデックス画像ファイルの構成が決定していない場合は、ステップS20において、未決定の画像ファイルの数を新たなマルチ画像残処理変数Tとする。ステップS21において、次のマルチインデックス画像ファイルの構成を決定するための初期状態を設定して、ステップS15からの処理を実行する。 If NO in step S19, if the structure of the multi-index image file for all the image files has not yet been determined, the number of undecided image files is set as a new multi-image remaining processing variable T in step S20. . In step S21, an initial state for determining the configuration of the next multi-index image file is set, and the processing from step S15 is executed.
そして、ステップS19でYESの場合、即ち、全ての画像ファイルについてマルチインデックス画像ファイルの構成が決定した場合は、図12のステップS25において、生成するマルチインデックス画像ファイルの数IをFsumに取り出す。実施例では、Fsum=2となる。 If YES in step S19, that is, if the structure of the multi-index image file is determined for all image files, the number I of multi-index image files to be generated is extracted in Fsum in step S25 of FIG. In the embodiment, Fsum = 2.
ステップS26において、各マルチインデックス画像データの総数を取得する。即ち、下記式(4)〜式(6)のAsum、Bsum、Csumを求める。
Asum = ΣA(k) ・・・式(4)
Bsum = ΣB(k) ・・・式(5)
Csum = ΣC(k) ・・・式(6)
ここでkは、1〜Iまでの値をとる。
In step S26, the total number of each multi-index image data is acquired. That is, Asum, Bsum, and Csum of the following formulas (4) to (6) are obtained.
Asum = ΣA (k) (4)
Bsum = ΣB (k) (5)
Csum = ΣC (k) (6)
Here, k takes a value from 1 to I.
ステップS27において、マルチインデックス画像ファイル作成処理(図13)を実行する。 In step S27, a multi-index image file creation process (FIG. 13) is executed.
図13のステップS30において、パラメータJを初期化する。そして、マルチインデックス画像ファイルごとに以下の処理を実行する。
ステップS31において、X(J)個の画像データからそれぞれのマルチインデックス画像データを生成する。即ち、携帯用マルチインデックス画像データはA(J)枚作成し、カメラ用マルチインデックス画像データはB(J)枚作成し、TV用マルチインデックス画像データはC(J)枚作成する。なお、作成時には、このマルチインデックス画像ファイルに割り当てられた画像データ数を考慮する。
In step S30 of FIG. 13, the parameter J is initialized. Then, the following processing is executed for each multi-index image file.
In step S31, multi-index image data is generated from X (J) pieces of image data. That is, A (J) portable multi-index image data is created, B (J) camera multi-index image data is created, and C (J) TV multi-index image data is created. At the time of creation, the number of image data assigned to the multi-index image file is considered.
ステップS32において、作成したマルチインデックス画像データのヘッダデータに、各マルチインデックス画像データの総数(Asum、Bsum、Csum)、前後のマルチインデックス画像データのリンク情報を書き込む。 In step S32, the total number (Asum, Bsum, Csum) of each multi-index image data and the link information of the preceding and following multi-index image data are written in the header data of the created multi-index image data.
ステップS33において、X(J)個の画像ファイル、インデックス画像ファイルから、マルチインデックス画像ファイルを作成する。
ステップS34において、全てのマルチインデックス画像ファイルを作成したかどうかを調べる。
ステップS34でNOの場合、即ち、まだ全てのマルチインデックス画像ファイルを作成していない場合は、ステップS35において、パラメータJを更新してステップS31〜ステップS34の処理を実行する。
ステップS34でYESの場合、即ち、全てのマルチインデックス画像ファイルを作成した場合は、この処理を終了する。
In step S33, a multi-index image file is created from X (J) image files and index image files.
In step S34, it is checked whether all multi-index image files have been created.
If NO in step S34, that is, if all the multi-index image files have not yet been created, the parameter J is updated in step S35, and the processes in steps S31 to S34 are executed.
If YES in step S34, that is, if all multi-index image files have been created, this process ends.
[実施の形態の効果]
以上説明した実施の形態によれば、種々の効果を奏する事ができる。
[Effect of the embodiment]
According to the embodiment described above, various effects can be achieved.
(1)本実施の形態では、複数枚の画像に対して設定枚数毎のインデックス画像を含むマルチインデックス画像データが作成され、マルチ画像ファイルと共に記録される。
従って、表示に際してマルチ画像ファイルを検索し編集する必要がなく、インデックス画像を表示することでマルチ画像ファイル全体の把握が容易にかつ迅速に行える。
(1) In this embodiment, multi-index image data including an index image for each set number of images is created for a plurality of images and recorded together with the multi-image file.
Therefore, it is not necessary to search and edit the multi-image file at the time of display, and the entire multi-image file can be easily and quickly grasped by displaying the index image.
(2)そして、作成したインデックス画像ファイルに、関連するインデックス画像ファイルのリンク情報を持たせている。
従って、表示を切替える場合の画像の検索を迅速に実行することができ、またこのリンク情報に基づいて、画面を順次切り替える表示、後戻りする表示、全画面をまとめた表示などが柔軟にかつ効率良く実行することができる。
(2) Then, the created index image file has link information of the related index image file.
Therefore, it is possible to quickly search for an image when switching the display, and based on this link information, a display that sequentially switches screens, a display that returns, a display that summarizes the entire screen, etc. is flexible and efficient. Can be executed.
(3)また、インデックス画像ファイルは、少なくとも1種類の再生機器に対応して設けられている。従って、異なる再生機器に対しても効率の良い表示を行うことができる。 (3) Also, the index image file is provided corresponding to at least one type of playback device. Therefore, efficient display can be performed for different playback devices.
なお、本実施の形態では、カメラ内において、マルチインデックス画像ファイルを生成したが、外部の情報処理装置、例えばパーソナルコンピュータ内において、マルチインデックス画像ファイルを生成しても良い。
また、本実施の形態では、単一の画像ファイルからマルチインデックス画像ファイルを生成したが、既に作成されているマルチ画像ファイルに基づいてマルチインデックス画像ファイルを生成しても良い。
In this embodiment, the multi-index image file is generated in the camera. However, the multi-index image file may be generated in an external information processing apparatus, for example, a personal computer.
In this embodiment, a multi-index image file is generated from a single image file. However, a multi-index image file may be generated based on a multi-image file that has already been created.
なお、マルチインデックス画像ファイルの構成は、本実施の形態で示すマルチ画像ファイルとインデックス画像ファイルのみでなく、この他に必要なデータ、ファイルを備えるものであっても良い。 The configuration of the multi-index image file is not limited to the multi-image file and index image file shown in the present embodiment, but may include other necessary data and files.
また、本実施の形態では、マルチ画像ファイルと複数のインデックス画像ファイルを備えたマルチインデックス画像ファイルについて説明したが、マルチインデックス画像ファイルをマルチ画像ファイルのバリエーションとしても良い。 In this embodiment, a multi-index image file including a multi-image file and a plurality of index image files has been described. However, the multi-index image file may be a variation of the multi-image file.
なお、本発明は、上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合せにより種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。更に、異なる実施形態に亘る構成要素を適宜組み合せてもよい。 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…CPU、2…光学系、3…撮像装置、4…アナログ増幅器、5…アナログデジタル変換器、6…DRAM、7…画像処理ブロック、8…FLASHメモリ、9…操作部、10…ビデオエンコーダ、11…TV、20…マルチ画像構造、20a…主画像領域、20b…副画像領域、20c…予備領域、30…主画像ヘッダ、30a…主画像データ管理情報領域、30b…副画像関連情報領域、31…主画像特性、32…副画像構成情報、33…副画像関連情報、40…副画像ヘッダ、51,52…マルチインデックス画像ファイル、51a、52a…マルチ画像ファイル、51b、52b…インデックスファイル。
DESCRIPTION OF
Claims (10)
前記複数の画像データのインデックス画像データを所定数単位にまとめたマルチインデックス画像データを作成するマルチインデックス画像データ作成部と、
前記マルチインデックス画像データへのアクセス情報を作成するアクセス情報作成部と、
を備え、
前記作成された情報及びデータが1つの画像ファイルに格納されることを特徴とする画像ファイル作成装置。 A multi-image file creation unit for creating a plurality of image data and image data management information for managing each of the image data;
A multi-index image data creating unit that creates multi-index image data in which index image data of the plurality of image data is collected in a predetermined number unit;
An access information creation unit for creating access information to the multi-index image data;
With
An image file creating apparatus, wherein the created information and data are stored in one image file.
前記複数の画像データのインデックス画像データを所定数単位にまとめたマルチインデックス画像データを作成するステップと、
前記マルチインデックス画像データへのアクセス情報を作成するステップと、
前記作成された情報及びデータを1つの画像ファイルとして生成するステップと
を備えたことを特徴とする画像ファイル作成方法。 Creating a plurality of image data and image data management information for managing each of the image data;
Creating multi-index image data in which index image data of the plurality of image data is collected in a predetermined number unit;
Creating access information to the multi-index image data;
And a step of generating the created information and data as a single image file.
前記複数の画像データのインデックス画像データを所定数単位にまとめたマルチインデックス画像データを作成するステップと、
前記マルチインデックス画像データへのアクセス情報を作成するステップと、
前記作成された情報及びデータを1つの画像ファイルとして生成するステップと
をコンピュータに実行させるためのプログラム。 Creating a plurality of image data and image data management information for managing each of the image data;
Creating multi-index image data in which index image data of the plurality of image data is collected in a predetermined number unit;
Creating access information to the multi-index image data;
A program for causing a computer to execute the step of generating the created information and data as one image file.
画像ファイル化する画像データ数(M)を取得し、
1つの前記画像ファイルの上限構成画像数(N)を取得し、
前記マルチインデックス画像データを生成する単位となる所定数を少なくとも1種類取得し、
1つの前記画像ファイルに含まれる画像データ数と、当該画像データ数を前記少なくとも1種類の前記所定数を単位としてまとめた際の前記マルチインデックス画像データ数との総和が、前記上限構成画像数(N)を越えないように前記画像ファイルを作成すること
を特徴とする画像ファイル作成方法。 A plurality of image data, image data management information for managing each of the image data, multi-index image data in which index image data of the plurality of image data is collected in a predetermined number unit, and access information to the multi-index image data An image file creation method for creating a single image file,
Obtain the number of image data (M) to be converted into an image file,
Obtain the upper limit number of constituent images (N) of one image file,
Obtaining at least one predetermined number as a unit for generating the multi-index image data;
The sum of the number of image data included in one image file and the number of multi-index image data when the number of image data is grouped in units of the at least one kind of the predetermined number is the upper limit number of images ( N) creating the image file so as not to exceed N).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008056872A JP2009213095A (en) | 2008-03-06 | 2008-03-06 | Image file creating apparatus, image file creating method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008056872A JP2009213095A (en) | 2008-03-06 | 2008-03-06 | Image file creating apparatus, image file creating method, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009213095A true JP2009213095A (en) | 2009-09-17 |
Family
ID=41185763
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008056872A Withdrawn JP2009213095A (en) | 2008-03-06 | 2008-03-06 | Image file creating apparatus, image file creating method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009213095A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013131976A (en) * | 2011-12-22 | 2013-07-04 | Sony Corp | Image processing system and program |
JP2017069973A (en) * | 2016-11-22 | 2017-04-06 | ソニー株式会社 | Image processing system and program |
-
2008
- 2008-03-06 JP JP2008056872A patent/JP2009213095A/en not_active Withdrawn
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013131976A (en) * | 2011-12-22 | 2013-07-04 | Sony Corp | Image processing system and program |
JP2017069973A (en) * | 2016-11-22 | 2017-04-06 | ソニー株式会社 | Image processing system and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8081252B2 (en) | Image displaying apparatus | |
US5933137A (en) | Method and system for acclerating a user interface of an image capture unit during play mode | |
US6020920A (en) | Method and system for speculative decompression of compressed image data in an image capture unit | |
US6215523B1 (en) | Method and system for accelerating a user interface of an image capture unit during review mode | |
US6847388B2 (en) | Method and system for accelerating a user interface of an image capture unit during play mode | |
US6278447B1 (en) | Method and system for accelerating a user interface of an image capture unit during play mode | |
JP4700164B2 (en) | Image recording apparatus and method | |
JPH104531A (en) | Information processor | |
WO2006129868A1 (en) | Imaging device, imaging result processing method, image processing device, program for imaging result processing method, recording medium having program for imaging result processing method recorded therein, and imaging result processing system | |
JP2011211696A (en) | Image data processing system, image data processing program, and image data processing apparatus | |
JP5352065B2 (en) | Image display device | |
JP2017139618A (en) | Image data generating apparatus, image data generating method, and program | |
JP2008242812A (en) | Image playback device and program | |
US8098296B2 (en) | Image display system | |
JP2014096654A (en) | Imaging apparatus and program | |
JP2009213095A (en) | Image file creating apparatus, image file creating method, and program | |
JP2007306243A (en) | Imaging apparatus | |
WO1998057294A1 (en) | A method and system for generating an enhanced image file in an image capture unit | |
JP2008054128A (en) | Image pickup device, image display apparatus, and its program | |
KR101480407B1 (en) | Digital image processing apparatus, method for controlling the same and medium of recording the method | |
JP2006287377A (en) | Image storage device, image storage method, and image storage program | |
JP4966680B2 (en) | Video playback device, video playback method, and imaging device | |
JP2006287588A (en) | Image processing apparatus and method, data file structure, computer program, and storage medium | |
JP2002330322A (en) | Electronic camera | |
JP4807446B2 (en) | Imaging apparatus, recording control method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20110510 |