JP2011193111A - Image data processing apparatus - Google Patents
Image data processing apparatus Download PDFInfo
- Publication number
- JP2011193111A JP2011193111A JP2010055985A JP2010055985A JP2011193111A JP 2011193111 A JP2011193111 A JP 2011193111A JP 2010055985 A JP2010055985 A JP 2010055985A JP 2010055985 A JP2010055985 A JP 2010055985A JP 2011193111 A JP2011193111 A JP 2011193111A
- Authority
- JP
- Japan
- Prior art keywords
- image data
- image
- image file
- monitor display
- 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.)
- Pending
Links
Images
Abstract
Description
本発明は、画像データ処理装置に関する。 The present invention relates to an image data processing apparatus.
次のような画像記録装置が知られている。この画像記録装置は、古いカメラで作成された画像ファイルの画像を表示する際に、その画像ファイル内に低解像度の表示用画像データが記録されていない場合には、表示用画像データを作成して画像ファイルに追記する(例えば、特許文献1)。 The following image recording apparatus is known. When displaying an image of an image file created with an old camera, this image recording device creates display image data if low-resolution display image data is not recorded in the image file. Are added to the image file (for example, Patent Document 1).
しかしながら、従来の画像記録装置は、画像ファイルの画像を表示するときにしか表示用画像データを画像ファイルに追記することができなかった。 However, the conventional image recording apparatus can only add the display image data to the image file when displaying the image of the image file.
本発明による画像データ処理装置は、不揮発性の記憶媒体に記録されている複数の画像ファイルを対象として、表示装置に表示するための所定画素数のモニタ表示用画像データを生成する生成処理、および複数の画像ファイルにモニタ表示用画像データを追加するモニタ表示用画像追加処理の開始を指示する指示手段と、指示手段の指示に応じて、記憶媒体からモニタ表示用画像データが記録されていない画像ファイルを検索する検索手段と、検索手段によって検索されたそれぞれの画像ファイルの画像データからモニタ表示用画像データを生成するモニタ表示用画像生成手段と、モニタ表示用画像生成手段により生成されたモニタ表示用画像データを、生成元のそれぞれの画像ファイルに追加して、記憶媒体に記録する記録手段とを備えることを特徴とする。
本発明では、記録手段は、検索手段によって検索された画像ファイルがモニタ表示用画像データを追加することができない画像ファイルである場合には、該画像ファイルをコピーして新たな画像ファイルを生成し、新たな画像ファイルにモニタ表示用画像データを追加するようにしてもよい。
画像データ処理装置は、記録手段によって、新たな画像ファイルが生成された場合に、新たな画像ファイルと、コピー元となった元の画像ファイルとを関連付ける関連付け手段と、関連付け手段によって関連付けられている画像ファイルの画像を表示装置へ表示する場合には、新たな画像ファイル内のモニタ表示用画像データの画像を表示し、元の画像ファイル内の画像データの画像の表示を禁止する表示制御手段とをさらに備えるようにしてもよい。
複数の画像ファイルには、各画像ファイルの順番を示す順番情報が付与されており、表示制御手段は、ユーザの操作に基づいて、モニタ表示用画像データの画像を順番情報に基づいて切り換えて表示し、元の画像ファイル内にモニタ表示用画像データが記録されていない場合には、元の画像ファイルの表示順のときに新たな画像ファイルのモニタ表示用画像データを表示し、新たな画像ファイルの表示順のときは、新たな画像ファイルの次の順番情報が付与された画像ファイルのモニタ表示用画像データを表示するようにしてもよい。
記録手段は、検索手段によって検索された画像ファイルにモニタ表示用画像データを追加することができないと判定した場合には、その旨を警告するようにしてもよい。
指示手段は、使用者による画像データ処理装置への記憶媒体の挿入を検出したとき、または使用者によってモニタ表示用画像データの追加が指示されたときに、生成処理、およびモニタ表示用画像追加処理の開始を指示するようにしてもよい。
記録手段は、検索手段によって検索された画像ファイルをコピーして新たな画像ファイルを生成し、新たな画像ファイルにモニタ表示用画像データを追加して記憶媒体へ記録し、その後、コピー元の画像ファイルを記憶媒体から削除するようにしてもよい。
記録手段は、モニタ表示用画像データを追加した画像ファイルに、モニタ表示用画像データと異なる画素数の他の表示用画像データが記録されている場合には、他の表示用画像データを削除するようにしてもよい。
画像データ処理装置は、画像ファイル内に記録されているモニタ表示用画像データを削除する削除手段をさらに備えるようにしてもよい。
An image data processing apparatus according to the present invention generates a monitor display image data having a predetermined number of pixels to be displayed on a display device for a plurality of image files recorded in a non-volatile storage medium, and An instruction means for instructing start of monitor display image addition processing for adding monitor display image data to a plurality of image files, and an image in which monitor display image data is not recorded from the storage medium in response to an instruction from the instruction means Search means for searching for a file, monitor display image generating means for generating monitor display image data from image data of each image file searched by the search means, and monitor display generated by the monitor display image generating means Recording means for adding image data to each image file of the generation source and recording the image data on a storage medium And wherein the door.
In the present invention, when the image file searched by the search means is an image file to which monitor display image data cannot be added, the recording means copies the image file to generate a new image file. The image data for monitor display may be added to the new image file.
When a new image file is generated by the recording unit, the image data processing apparatus associates the new image file with the original image file that is the copy source, and is associated with the association unit. A display control means for displaying the image of the monitor display image data in the new image file and prohibiting the display of the image of the image data in the original image file when displaying the image of the image file on the display device; May be further provided.
Order information indicating the order of each image file is given to the plurality of image files, and the display control means switches and displays the images of the monitor display image data based on the order information based on the user's operation. If monitor display image data is not recorded in the original image file, the monitor display image data of the new image file is displayed in the display order of the original image file, and the new image file is displayed. In the display order, the monitor display image data of the image file to which the next order information of the new image file is given may be displayed.
If it is determined that the monitor display image data cannot be added to the image file searched by the search means, the recording means may warn to that effect.
The instruction means generates and monitors display image addition processing when it is detected that the user has inserted the storage medium into the image data processing device or when the user instructs to add monitor display image data. May be instructed to start.
The recording means copies the image file searched by the searching means to generate a new image file, adds the monitor display image data to the new image file, records it on the storage medium, and then copies the original image The file may be deleted from the storage medium.
The recording means deletes the other display image data when other display image data having a different number of pixels from the monitor display image data is recorded in the image file to which the monitor display image data is added. You may do it.
The image data processing apparatus may further include a deleting unit that deletes the monitor display image data recorded in the image file.
本発明によれば、画像を表示する以外のタイミングでもモニタ表示用画像を画像ファイルに追加することができる。 According to the present invention, the monitor display image can be added to the image file at a timing other than displaying the image.
図1は、本実施の形態におけるカメラの一実施の形態の構成を示すブロック図である。カメラ100は、レンズ101と、撮像素子102と、AFE(Analog Front End)103と、ASIC104と、フラッシュメモリ105と、CPU106と、操作部材107と、RAM108と、メモリカードI/F109と、表示部110とを備えている。
FIG. 1 is a block diagram illustrating a configuration of an embodiment of a camera according to the present embodiment. The
レンズ101は、複数の光学レンズから構成されるが、図1では代表して1枚のレンズで表している。撮像素子102は、例えばCCDやCMOSなどのイメージセンサーであり、レンズ101により結像した被写体像を撮像する。そして、撮像によって得られた画像信号をAFE103へ出力する。AFE103は、撮像素子102から入力されるアナログ信号に対して種々の処理を施すとともに、アナログ信号をデジタル信号に変換してASIC104へ出力する。ASIC104は、入力されるデジタル信号に対して種々の画像処理、例えば補間処理、階調変換処理、輪郭強調処理、ホワイトバランス調整処理、画像圧縮処理、画像伸張処理等を施す。
The
フラッシュメモリ105は、不揮発性のメモリであって、CPU106が実行するプログラムのデータや、プログラム実行時に読み込まれる種々のパラメータなどが記録されている。CPU106は、カメラ100全体を制御する。操作部材107は、使用者によって操作される種々の入力部材、例えば電源ボタン、レリーズボタン、ズームボタン、十字キー、決定ボタン、再生ボタン、削除ボタンなどを含んでいる。操作部材107は、各種入力部材からの操作信号をCPU106へ出力し、CPU106は、入力される操作信号に従ってカメラ100を制御する。
The
RAM108は、揮発性のメモリであって、CPUがプログラム実行時にプログラムを展開するためのワークメモリとして使用されたり、データを一時的に記録するためのバッファメモリとして使用される。メモリカードI/F109は、例えば、SDカード等のメモリカード109aを挿入するためのメモリカードスロットを備え、メモリカードスロットに挿入されたメモリカード109aからデータを読み出したり、メモリカード109aへデータを書き込んだりする。
The
表示部110は、例えば、カメラ100の背面に搭載された液晶モニタ(背面モニタ)であり、当該表示部110には、メモリカード109aに記憶されている画像やカメラ100を設定するための設定メニューなどが表示される。また、CPU106は、使用者によってカメラ100のモードが撮影モードに設定されると、撮像素子102から時系列で入力される画像の表示用画像データを表示部110に出力する。これによって表示部110にはスルー画が表示される。
The
本実施の形態では、CPU106は、ASIC104によって画像処理が施された後の画像データに基づいて所定の画像形式、例えばJPEG形式の本画像データ(JPEGデータ)を生成する。また、CPU106は、本画像データに基づいて、表示用の画像データ、例えば画像サイズが180×120画素のサムネイル画像データと画像サイズが600×400画素のViewサムネイル画像データとを生成する。CPU106は、生成した本画像データと、サムネイル画像データ、Viewサムネイル画像データとを含み、さらにヘッダ情報を付加した画像ファイル、例えばJPEGファイルを生成してメモリカードI/F109へ出力する。
In the present embodiment, the
また、本実施の形態では、CPU106は、上述したJPEGファイル、すなわち1つの画像ファイル内に1つのJPEGデータが記録される画像ファイル以外に、1つの画像ファイル内に複数のJPEGデータが記録される画像ファイルも生成することができる。例えば、CPU106は、連写撮影が行われた場合、パノラマ撮影が行われた場合、またはインターバル撮影が行われた場合等、1回の撮影によって複数のJPEGデータが1組として生成される場合には、生成した複数のJPEGデータを1つの画像ファイルにまとめて記録することができる。
In the present embodiment, the
また、CPU106は、上述したサムネイル画像データやViewサムネイル画像データとは異なる画素数のモニタ表示用画像データを生成して本画像データとともに記録することにより、1つの画像ファイル内に複数の画像データを記録することもできる。例えば、CPU106は、VGAサイズ(640×480画素)のモニタ表示用画像データやFull HDサイズ(1920×1080画素)のモニタ表示用画像データを生成して、画像ファイル内に含めることができる。
Further, the
なお、本実施の形態では、1つの画像ファイル内に1つの本画像データを記録したJPEGファイルに対して、1つの画像ファイル内に複数の本画像データを記録した画像ファイルをMPFファイル(MultiPictureFormatファイル/複数画像ファイル)と呼ぶこととする。 In the present embodiment, for a JPEG file in which one main image data is recorded in one image file, an image file in which a plurality of main image data is recorded in one image file is converted into an MPF file (MultiPicture Format file). / Multiple image file).
本実施の形態におけるカメラ100は、モニタ表示用画像データが記録されていない画像ファイルに対して、新たにモニタ表示用画像データを生成して画像ファイル内に追加記録する機能を備えている。例えば、モニタ表示用画像データを画像ファイル内に記録する機能を備えていないカメラで生成された画像ファイルに対して、モニタ表示用画像を追加
記録することができる。
The
図2は、メモリカードI/F109にメモリカード109aが挿入されたときに、メモリカード109a内の画像ファイルにモニタ表示用画像データを自動追加するための処理の流れを示すフローチャートである。図2に示す処理は、使用者によってメモリカードI/F109にメモリカード109aが挿入されると起動するプログラムとして、CPU106によって実行される。
FIG. 2 is a flowchart showing a flow of processing for automatically adding monitor display image data to an image file in the
ステップS10において、CPU106は、挿入されたメモリカード109a内に記録されている画像ファイルを管理するためのカード管理情報をRAM108上に作成する。カード管理情報は、例えば、図3に示すように、メモリカード109a内に記録されている画像ファイルのファイル名3aごとに、各画像ファイル内にモニタ表示用画像データが記録されているか否かを示すフラグ3bと、後述するように、各画像ファイルに基づいて生成される子画像ファイルが存在する場合には、その子画像ファイルのパス情報3cと、その画像ファイルが子画像ファイルであるか否かを識別するための子フラグ3dとが記録された情報である。
In step S10, the
なお、図3に示す例では、DSC_0003.jpgとDSC_0004.jpgは、フラグ3bが1であることから、これらの画像ファイルはモニタ表示用画像データを含んでいることを示している。また、DSC_0004.jpgは、子フラグ3dが1であることから子画像ファイルであることがわかる。そして、DSC_0001.jpgのパス情報3cにDSC_0004.jpgのパス情報が記録されていることから、DSC_0004.jpgは、DSC_0001.jpgに基づいて生成された子画像ファイル、すなわちDSC_0004.jpgはDSC_0001.jpgの子画像ファイルであることがわかる。 In the example shown in FIG. jpg and DSC_0004. jpg indicates that these image files include monitor display image data because the flag 3b is 1. DSC_0004. It can be seen that jpg is a child image file because the child flag 3d is 1. DSC_0001. In the path information 3c of jpg, DSC_0004. Since the path information of jpg is recorded, DSC_0004. jpg is DSC_0001. child image file generated based on jpg, that is, DSC_0004. jpg is DSC_0001. It can be seen that it is a child image file of jpg.
その後、ステップS20へ進み、CPU106は、モニタ表示用画像データの自動作成機能が有効にされているか否かを判断する。例えば、本実施の形態のカメラ100では、使用者は、メモリカード109aを挿入したタイミングで、メモリカード109a内の画像ファイルを対象としてモニタ表示用画像データが記録されていない画像ファイルを検索し、検索した画像ファイルに対して自動的にモニタ表示用画像を生成して記録するか否かを事前に設定しておくことができる。ステップS20では、CPU106は、その設定内容に基づいて上記判定を行う。
Thereafter, the process proceeds to step S20, in which the
ステップS20で否定判断した場合には、後述するステップS140へ進む。これに対して、ステップS20で肯定判断した場合には、ステップS30へ進む。ステップS30では、CPU106は、メモリカード109a内に記録されている全画像ファイルの数を変数countに代入して、ステップS40へ進む。ステップS40では、CPU106は、変数countの値が0であるか否かを判断する。ステップS40で肯定判断した場合には、後述するステップS140へ進む。これに対して、ステップS40で否定判断した場合には、ステップS50へ進む。
If a negative determination is made in step S20, the process proceeds to step S140 described later. On the other hand, if a positive determination is made in step S20, the process proceeds to step S30. In step S30, the
ステップS50では、CPU106は、メモリカード109a内に記録されている画像ファイルのうちの1つを対象画像ファイルとして選択して、ステップS60へ進む。ステップS60では、CPU106は、メモリカード109aの空き容量を確認し、メモリカード109aに空き容量がないか否かを判断する。ステップS60で肯定判断した場合には、ステップS70へ進み、CPU106は、この場合には、メモリカード109aに空き容量がなく、対象画像ファイルにモニタ表示用画像データを追加することができないため、後述するステップS140でその旨を使用者に警告するために、メモリカード109aに空き容量がないことを示すカードFULLフラグをオンに設定する。その後、ステップS80へ進み、CPU106は、変数countを0に設定して、ステップS40へ戻る。
In step S50, the
一方、ステップS60で否定判断した場合には、ステップS90へ進む。ステップS90では、CPU106は、ステップS50で選択した対象画像ファイルが他社製のカメラで作成された画像ファイルであるか否かを判断する。ステップS90で肯定判断した場合には、ステップS100へ進み、CPU106は、この場合には、対象画像ファイルは、自社製のカメラで作成した画像ファイルとはファイル構造が異なる可能性があり、対象画像ファイルにモニタ表示用画像データを追加することができないため、後述するステップS140でその旨を使用者に警告するために、対象画像ファイルは他社製のカメラで作成されたことを示す他社ファイルフラグをオンに設定する。その後、後述するステップS130へ進む。
On the other hand, if a negative determination is made in step S60, the process proceeds to step S90. In step S90, the
これに対して、ステップS90で否定判断した場合には、ステップS110へ進む。ステップS110では、CPU106は、対象画像ファイル内に既にモニタ表示用画像データが記録されているか否かを判断する。ステップS110で否定判断した場合には、CPU106は、図4で後述するモニタ表示用画像追加処理を実行して、対象画像ファイル内の本画像データに基づいてモニタ表示用画像データを生成し、対象画像ファイル内に追加した後、ステップS130へ進む。これに対して、ステップS110で肯定判断した場合には、そのままステップS130へ進む。ステップS130では、CPU106は、変数countの値から1を減算してステップS40へ戻る。
On the other hand, if a negative determination is made in step S90, the process proceeds to step S110. In step S110, the
次に、ステップS140以降の処理について説明する。ステップS140では、CPU106は、上述した警告フラグ、すなわちカードFULLフラグまたは他社ファイルフラグがオンに設定されているか否かを判断する。ステップS140で否定判断した場合には、処理を終了する。一方、ステップS140で肯定判断した場合には、ステップS150へ進む。ステップS150では、CPU106は、オンに設定されているフラグの種類に応じた警告メッセージを表示部110へ表示する。
Next, the process after step S140 is demonstrated. In step S140, the
例えば、カードFULLフラグがオンに設定されている場合には、CPU106は、「メモリカードに空き容量がないためモニタ表示用画像データを追加できません」という警告メッセージを表示する。また、他社ファイルフラグがオンに設定されている場合には、CPU106は、「他社製のカメラで作成された画像ファイルのためモニタ表示用画像データを追加できません」という警告メッセージを表示する。また、カードFULLフラグと他社ファイルフラグとがともにオンに設定されている場合には、CPU106は、上記警告メッセージを両方とも表示する。その後、処理を終了する。
For example, when the card FULL flag is set to ON, the
ここで、図4を用いて、ステップS120で実行されるモニタ表示用画像追加処理について説明する。ステップS210において、CPU106は、モニタ表示用画像データを自動的に生成することを禁止する自動作成禁止フラグがオンに設定されているか否かを判断する。例えば、後述する図6の処理で使用者が画像ファイル内からモニタ表示用画像データを削除した場合に、その後、その画像ファイル内にモニタ表示用画像データが自動的に追加されるのを防ぐために、画像ファイルのヘッダ情報に自動作成禁止フラグを設定することができる。よって、本実施の形態では、CPU106は、ヘッダ情報の自動作成禁止フラグがオンに設定されている画像ファイルに対しては、自動的にモニタ表示用画像データの追加を行わないようにし、図7で後述する処理で使用者によって明示的にモニタ表示用画像データの追加が指示された場合のみ、ヘッダ情報の自動作成禁止フラグがオンに設定されている画像ファイルに対してモニタ表示用画像データを追加するようにする。
Here, the monitor display image addition processing executed in step S120 will be described with reference to FIG. In step S210, the
ステップS210で肯定判断した場合には、処理を終了する。これに対して、ステップS210で否定判断した場合には、ステップS220へ進む。ステップS220では、CPU106は、対象画像ファイル内から本画像データと、ヘッダ情報を読み出して、ステップS230へ進む。ステップS230では、CPU106は、読み出した本画像データをリサイズしてVGAサイズまたはFull HDサイズのモニタ表示用画像データを生成する。その後、ステップS240へ進む。
If an affirmative determination is made in step S210, the process ends. On the other hand, if a negative determination is made in step S210, the process proceeds to step S220. In step S220, the
ステップS240では、CPU106は、対象画像ファイルに、対象画像ファイルの編集を禁止するプロテクトがかかっているか否かを判断する。ステップS240で肯定判断した場合には、対象画像ファイルにモニタ表示用画像を追加することができないため、CPU106は、対象画像ファイルをコピーして新たにMPFファイルを生成し、新たに生成したMPFファイル内にモニタ表示用画像データを記録する。その後、後述するステップS330へ進む。
In step S240, the
これに対して、ステップS240で否定判断した場合には、ステップS250へ進む。ステップS250では、CPU106は、対象画像ファイルが撮影後に加工されていないかどうかを確認するための画像真正性がオンに設定されているか否かを判断する。ステップS250で肯定判断した場合には、ステップS260へ進む。この場合は、対象画像ファイルにモニタ表示用画像を追加すると画像真正性が損なわれてしまうため、CPU106は、対象画像ファイルをコピーして新たにMPFファイルを生成し、新たに生成したMPFファイル内にモニタ表示用画像データを記録する。そして、ステップS260において、CPU106は、新たに生成したMPFファイルの画像真正性をオフに設定して、後述するステップS330へ進む。
On the other hand, if a negative determination is made in step S240, the process proceeds to step S250. In step S250, the
一方、ステップS250で否定判断した場合には、ステップS270へ進む。ステップS270では、CPU106は、対象画像ファイル内に記録されているViewサムネイル画像データを、モニタ表示用画像データを追加する際に削除するように設定されているか否かを判断する。ステップS270で肯定判断した場合には、ステップS280へ進み、CPU106は、対象画像内からViewサムネイル画像データを削除して、ステップS290へ進む。これに対して、ステップS270で否定判断した場合には、ステップS290へ進む。
On the other hand, if a negative determination is made in step S250, the process proceeds to step S270. In step S270, the
ステップS290では、CPU106は、対象画像ファイルへのモニタ表示用画像データの保存方法が、「上書き」か「別ファイル」かを判断する。ステップS290で「上書き」と判断した場合には、ステップS300へ進み、CPU106は、対象画像ファイルをコピーしてコピー画像ファイルを生成する。その後、ステップS310へ進み、CPU106は、コピー画像ファイルにモニタ表示用画像データを追加して新たなMPFファイルを生成して、ステップS320へ進む。ステップS320では、CPU106は、コピー元の対象画像ファイルをメモリカード109aから削除して、後述するステップS350へ進む。
In step S290, the
これに対して、ステップS290で「別ファイル」と判断した場合には、CPU106は、対象画像ファイルをコピーして新たにMPFファイルを生成し、新たに生成したMPFファイル内にモニタ表示用画像データを記録した後、ステップS330へ進む。
On the other hand, if it is determined as “another file” in step S290, the
ステップS330では、CPU106は、対象画像ファイル(親画像ファイル)と新たに生成した画像ファイル(子画像ファイル)とを関連付けるための関連付け情報タグを子画像ファイルのヘッダ情報に記録する。例えば、CPU106は、親画像ファイルのパス情報と親画像ファイルの作成日時情報とを子画像ファイルのヘッダ情報に記録する。その後、ステップS340へ進み、CPU106は、新たに生成したMPFファイルをメモリカード109aに記録して、ステップS350へ進む。ステップS350では、CPU106は、上記処理で子画像ファイルを生成した場合には、生成内容に応じて上述したカード管理情報を更新して、図2に示す処理に復帰する。
In step S330, the
次に、図5を用いて、メモリカード109aに記録されている画像ファイルを対象とした画像の再生処理について説明する。図5に示す処理は、使用者によって再生対象の画像ファイルが選択され、画像の再生開始が指示されると起動するプログラムとして、CPU106によって実行される。
Next, with reference to FIG. 5, an image reproduction process for an image file recorded on the
ステップS410において、CPU106は、再生対象の画像ファイル内にモニタ表示用画像データが記録されているか否かを判断する。ステップS410で肯定判断した場合には、ステップS420へ進み、CPU106は、重複画像を表示しないようにするための重複画像非表示設定がされているか否かを判断する。すなわち、図4で上述した処理によって、子画像ファイルが生成された場合には、親画像ファイルと子画像ファイルとを再生すると同じ画像が重複して表示されることになる。この場合に、重複する画像をいずれも表示するか、いずれか一方のみを表示するかを使用者はあらかじめ設定することができる。
In step S410, the
ステップS420で肯定判断した場合には、ステップS430へ進み、CPU106は、上述したカード管理情報の子フラグ3dを参照して、再生対象の画像ファイルの子画像ファイルが存在するか否かを判断する。ステップS430で肯定判断した場合には、ステップS440へ進み、CPU106は、再生対象の画像ファイル、すなわち親画像ファイルのモニタ表示用画像データは再生せずに、使用者によって選択された次画像ファイルを再生対象の画像ファイルとして選択して、ステップS410へ戻る。
If the determination in step S420 is affirmative, the process proceeds to step S430, and the
このように、再生対象の画像ファイルの子画像ファイルが存在する場合には、親画像ファイルのモニタ表示用画像データは再生しないようにすることにより、子画像ファイルのモニタ表示用画像のみが再生されるため、同じ画像が重複して表示されるのを防ぐことができる。このとき、CPU106は、表示部110に複数の画像ファイルに対応するモニタ表示用画像を所定の順番、例えばファイル名の昇順で切り換えて表示する場合には、親画像ファイルの表示順のときに子画像ファイルのモニタ表示用画像を表示し、子画像ファイルの表示順のときには、子画像ファイルのモニタ表示用画像を表示せずに、次の表示順の画像ファイル、すなわち子画像ファイルの次のファイル名が付与されている画像ファイルのモニタ表示用画像を表示する。
In this way, when there is a child image file of the image file to be reproduced, only the monitor display image of the child image file is reproduced by not reproducing the monitor display image data of the parent image file. Therefore, it is possible to prevent the same image from being displayed repeatedly. At this time, when displaying the monitor display images corresponding to the plurality of image files on the
一方、ステップS420で否定判断した場合、およびステップS430で否定判断した場合には、いずれもステップS450へ進む。ステップS450では、CPU106は、再生対象の画像ファイル内からモニタ表示用画像データを読み出して、ステップS460へ進む。ステップS460では、CPU106は、ステップS450で読み出したモニタ表示用画像データを表示部110へ出力して、画像の再生を行った後、処理を終了する。
On the other hand, if a negative determination is made in step S420 and a negative determination is made in step S430, the process proceeds to step S450. In step S450,
次に、ステップS410で否定判断した場合の処理について説明する。この場合は、ステップS470へ進み、CPU106は、カード管理情報を参照して、再生対象の画像ファイルに対して子画像ファイルのパス情報3cが記録されていないか否かを判断する。ステップS470で肯定判断した場合には、後述するステップS490へ進む。これに対して、ステップS470で否定判断した場合には、ステップS480へ進む。ステップS480では、カード管理情報のパス情報3cに基づいて子画像ファイルを特定し、再生対象の画像ファイルのファイル作成日時と、子画像ファイルのヘッダ情報に記録されている親画像ファイルの作成日時とが一致するか否かを判断する。
Next, processing when a negative determination is made in step S410 will be described. In this case, the process advances to step S470, and the
ステップS480で肯定判断した場合には、上述したステップS450へ進む。これに対して、ステップS480で否定判断した場合には、ステップS490へ進む。ステップS490では、CPU106は、再生対象の画像ファイル内からViewサムネイル画像データを読み出して、ステップS500へ進む。ステップS500では、CPU106は、ステップS490で読み出したViewサムネイルを表示部110へ出力して、画像の再生を行った後、ステップS510へ進む。
If an affirmative determination is made in step S480, the process proceeds to step S450 described above. On the other hand, if a negative determination is made in step S480, the process proceeds to step S490. In step S490, the
ステップS510では、CPU106は、再生対象の画像ファイル内にモニタ表示用画像データが記録されていない場合に、モニタ表示用画像データを自動的に作成するように設定されているか否かを判断する。ステップS510で肯定判断した場合には、ステップS520へ進み、CPU106は、図4で上述したモニタ表示用画像追加処理を実行した後、ステップS410へ戻る。これに対して、ステップS510で否定判断した場合には、処理を終了する。
In step S510, the
次に、図6を用いてMPFファイル内からのモニタ表示用画像の削除処理について説明する。図6に示す処理は、表示部110に画像が再生されると起動するプログラムとして、CPU106によって実行される。
Next, the process for deleting the monitor display image from the MPF file will be described with reference to FIG. The process shown in FIG. 6 is executed by the
ステップS610において、CPU106は、使用者によって操作部材107に含まれる削除ボタンが押下されたか否かを判断する。ステップS610で肯定判断した場合には、ステップS620へ進み、CPU106は、表示部110へ表示中の画像ファイルを削除対象として特定し、該削除対象の画像ファイルがプロテクトされた画像ファイルであるか否かを判断する。ステップS620で肯定判断した場合には、処理を終了する。これに対して、ステップS620で否定判断した場合には、ステップS630へ進む。
In step S610, the
ステップS630では、CPU106は、表示部110に削除メニューを表示する。この削除メニュー上で、使用者は、画像ファイル自体を削除するか、画像ファイル内のモニタ表示用画像データを削除するかを選択することができる。その後、ステップS640へ進み、CPU106は、使用者が削除メニュー上でモニタ表示用画像データの削除を選択したか否かを判断する。ステップS640で否定判断した場合には、ステップS641へ進み、CPU106は、メモリカード109aから削除対象の画像ファイルを削除して、処理を終了する。これに対して、ステップS640で肯定判断した場合には、ステップS650へ進む。
In step S630,
ステップS650では、CPU106は、削除対象の画像ファイル内から本画像データとヘッダ情報とを読み出して、ステップS660へ進む。ステップS660では、CPU106は、削除対象の画像ファイル内からモニタ表示用画像データを削除し、さらにヘッダ情報内の上述した関連付けタグ情報を削除する。その後、ステップS670へ進み、CPU106は、削除対象の画像ファイル内にViewサムネイル画像データがないか否かを判断する。ステップS670で肯定判断した場合には、ステップS680へ進み、CPU106は、ステップS650で読み出した本画像データをリサイズして、Viewサムネイル画像データを作成し、削除対象の画像ファイル内に追加する。その後、ステップS690へ進む。一方、ステップS670で否定判断した場合には、そのままステップS690へ進む。
In step S650,
ステップS690では、CPU106は、削除対象の画像ファイルを上書き保存して、ステップS700へ進む。ステップS700では、CPU106は、使用者の意思でモニタ表示用画像データが削除された画像ファイル内に、再度モニタ表示用画像データが自動生成されるのを防ぐために、削除対象の画像ファイルのヘッダ情報に自動作成禁止フラグを作成し、当該フラグをオンに設定する。その後、ステップS710へ進み、CPU106は、上記処理で親画像ファイルまたは子画像ファイルを削除した場合には、削除内容に応じて上述したカード管理情報を更新して、処理を修了する。
In step S690,
次に、図7を用いて、使用者からの指示に基づいて、画像ファイルへモニタ表示用画像データを追加するための処理について説明する。図7に示す処理は、表示部110に画像が再生されると起動するプログラムとして、CPU106によって実行される。
Next, a process for adding monitor display image data to an image file based on an instruction from the user will be described with reference to FIG. The processing shown in FIG. 7 is executed by the
ステップS710において、CPU106は、使用者によって操作部材107に含まれる画像編集ボタンが押下されたか否かを判断する。ステップS710で肯定判断した場合には、ステップS720へ進み、CPU106は、表示部110へ表示中の画像ファイルを編集対象として特定し、該編集対象の画像ファイルに対して、どのような編集を行うかを使用者に指定させるためのメニュー画面を表示する。使用者は、このメニュー画面上で編集対象の画像ファイルにモニタ表示用画像データを追加するように指示することができる。
In step S <b> 710, the
その後、ステップS730へ進み、CPU106は、使用者がメニュー画面上でモニタ表示用画像作成を選択したか否かを判断する。ステップS730で否定判断した場合には、処理を終了する。これに対して、ステップS730で肯定判断した場合には、ステップS740へ進む。ステップS740では、CPU106は、編集対象の画像ファイルのヘッダ情報を読み出して、上述した自動作成禁止フラグがオンに設定されているか否かを判断する。ステップS740で否定判断した場合には、後述するステップS760へ進む。
Thereafter, the process proceeds to step S730, and the
これに対して、ステップS740で肯定判断した場合には、ステップS750へ進む。ステップS750では、CPU106は、編集対象の画像ファイルの自動作成禁止フラグをオフに変更して、ステップS760へ進む。ステップS760では、CPU106は、図4で上述したモニタ表示用画像追加処理を実行して、処理を終了する。
On the other hand, if a positive determination is made in step S740, the process proceeds to step S750. In step S750,
以上説明した本実施の形態によれば、以下のような作用効果を得ることができる。
(1)CPU106は、メモリカード109aからモニタ表示用画像データが記録されていない画像ファイルを検索し、検索したそれぞれの画像ファイルの主画像データからモニタ表示用画像データを生成し、生成しモニタ表示用画像データを、生成元のそれぞれの画像ファイルに追加して、メモリカード109aに記録するようにした。これによって、CPU106は、メモリカード109aに記録されている画像ファイルに一括してモニタ表示用画像を追加することができる。
According to the present embodiment described above, the following operational effects can be obtained.
(1) The
(2)CPU106は、画像ファイルがプロテクトされていてモニタ表示用画像データを追加することができない場合には、その画像ファイルをコピーして新たな画像ファイルを生成し、新たな画像ファイルにモニタ表示用画像データを追加するようにした。これによって、画像ファイルがプロテクトされている場合でも、モニタ表示用画像データを追加した画像ファイルを生成することができる。
(2) If the image file is protected and image data for monitor display cannot be added, the
(3)CPU106は、子画像ファイルを生成した場合には、親画像ファイルと子画像ファイルとを関連付け、重複画像非表示設定がされている場合には、親画像ファイルのモニタ表示用画像と子画像ファイルのモニタ表示用画像とを重複して表示しないようにした。これによって、同じ画像が重複して表示されることを防ぐことができる。
(3) When the child image file is generated, the
(4)CPU106は、親画像ファイルにモニタ表示用画像データが記録されていないときは、親画像ファイルのファイル作成日時と、子画像ファイルに記録されている親画像ファイルの作成日時とが一致する場合に、子画像ファイルのモニタ表示用画像データを表示するようにした。これによって、親画像ファイルにモニタ表示用画像データが記録されていない場合でも、代わりに子画像ファイルのモニタ表示用画像データを表示することができる。
(4) When monitor display image data is not recorded in the parent image file, the
(5)CPU106は、親画像ファイルにモニタ表示用画像データが記録されていないときは、親画像ファイルの表示順のときに子画像ファイルのモニタ表示用画像を表示し、子画像ファイルの表示順のときには、次の表示順の画像ファイルのモニタ表示用画像を表示するようにした。これによって、親画像ファイルにモニタ表示用画像データが記録されていない場合でも、親画像ファイルの表示順のときに子画像ファイルのモニタ表示用画像データを表示することができる。
(5) When the monitor display image data is not recorded in the parent image file, the
(6)CPU106は、メモリカード109aの空き容量がない場合や、他社製のカメラで作成された画像ファイルである場合等、対象画像ファイルにモニタ表示用画像データを追加することができないと判定した場合には、その旨を警告するようにした。これによって、画像ファイルへのモニタ表示用画像データの追加ができないことを使用者に通知することができる。
(6) The
(7)CPU106は、図2および図7に示したように、メモリカードI/F109へメモリカード109aが挿入されたことを検出したとき、または使用者によって画像ファイルへのモニタ表示用画像データの追加が指示されたときに、画像ファイルへモニタ表示用画像データを追加するための処理を実行するようにした。これによって、メモリカード109aが挿入されたタイミングでメモリカード109a内の画像ファイルを対象として一括して処理を行うことができる。また、使用者は、任意のタイミングで処理の開始を指示することができる。
(7) As shown in FIG. 2 and FIG. 7, the
(8)CPU106は、対象画像ファイルへのモニタ表示用画像データの保存方法として「上書き」が選択された場合には、対象画像ファイルをコピーしてコピー画像ファイルを生成し、コピー画像ファイルにモニタ表示用画像データを追加して新たなMPFファイルを生成した後に、コピー元の対象画像ファイルをメモリカード109aから削除するようにした。これによって、対象画像ファイルへのモニタ表示用画像データの追加中に、カメラ100の電源がオフされたり、メモリカード109aが抜かれたりした場合でも、対象画像ファイルが破壊されることを防ぐことができる。
(8) When “overwrite” is selected as the method for saving the monitor display image data in the target image file, the
(9)CPU106は、対象画像ファイル内にモニタ表示用画像データを追加したときに、対象画像ファイル内に記録されているViewサムネイル画像データを削除するように設定されている場合には、対象画像内からViewサムネイル画像データを削除するようにした。これによって、同じ表示用画像データとしての性質をもつモニタ表示用画像データとViewサムネイル画像データとが対象画像ファイル内に記録されて、無用に画像ファイルのサイズが大きくなることを防ぐことができる。
(9) When the
(10)CPU106は、使用者からの削除指示に基づいて、画像ファイル内に記録されているモニタ表示用画像データを削除するようにした。これによって、使用者は、不要なモニタ表示用画像データを削除することができる。
(10) The
―変形例―
なお、上述した実施の形態のカメラは、以下のように変形することもできる。
(1)上述した実施の形態では、本発明をカメラに適用する例について説明した。しかしながら、画像ファイルを読み込んで処理することができる他の機器、例えばパソコン等にも本発明は適用可能である。
-Modification-
The camera according to the above-described embodiment can be modified as follows.
(1) In the above-described embodiment, an example in which the present invention is applied to a camera has been described. However, the present invention is also applicable to other devices that can read and process image files, such as personal computers.
(2)上述した実施の形態では、自動作成禁止フラグがオンに設定されている画像ファイルに対しては、図7で上述したように、使用者がモニタ表示用画像データの追加を指示した場合に、自動作成禁止フラグをオフにして、画像ファイルへのモニタ表示用画像データの追加を許可するようにした。しかしながら、使用者は、各画像ファイルの自動作成禁止フラグのオンとオフを任意に変更できるようにしてもよい。 (2) In the above-described embodiment, for an image file in which the automatic creation prohibition flag is set to ON, as described above with reference to FIG. 7, the user instructs addition of monitor display image data. In addition, the automatic creation prohibition flag is turned off to allow addition of monitor display image data to the image file. However, the user may arbitrarily change ON / OFF of the automatic creation prohibition flag of each image file.
(3)上述した実施の形態では、図4のステップS230において、CPU106は、本画像データをリサイズしてVGAサイズまたはFull HDサイズのモニタ表示用画像データを生成する例について説明した。しかしながら、CPU106は、本画像データをリサイズしてVGAサイズのモニタ表示用画像データとFull HDサイズのモニタ表示用画像データとの両方を生成するようにしてもよい。あるいは、CPU106は、本画像データをリサイズしてFull HDサイズのモニタ表示用画像データを生成した後、Full HDサイズのモニタ表示用画像データをリサイズしてVGAサイズのモニタ表示用画像データを生成するようにしてもよい。
(3) In the above-described embodiment, the example in which the
(4)上述した実施の形態では、CPU106は、図4のステップS290で対象画像ファイルへのモニタ表示用画像データの保存方法が、「上書き」であると判断した場合には、ステップS300〜ステップS320の処理を行なうようにした。すなわち、CPU106は、対象画像ファイルをコピーしてコピー画像ファイルを生成し、コピー画像ファイルにモニタ表示用画像データを追加して新たなMPFファイルを生成した後に、コピー元の対象画像ファイルをメモリカード109aから削除するようにした。これに対して、CPU106は、対象画像ファイルにモニタ表示用画像データを追加して、そのまま上書き保存を行うようにしてもよい。
(4) In the embodiment described above, if the
なお、本発明の特徴的な機能を損なわない限り、本発明は、上述した実施の形態における構成に何ら限定されない。また、上述の実施の形態と複数の変形例を組み合わせた構成としてもよい。 Note that the present invention is not limited to the configurations in the above-described embodiments as long as the characteristic functions of the present invention are not impaired. Moreover, it is good also as a structure which combined the above-mentioned embodiment and a some modification.
100 カメラ、101 レンズ、102 撮像素子、103 AFE、104 ASIC、105 フラッシュメモリ、106 CPU、107 操作部材、108 RAM、109 メモリカードI/F、109a メモリカード、110 表示部
DESCRIPTION OF
Claims (9)
前記指示手段の指示に応じて、前記記憶媒体から前記モニタ表示用画像データが記録されていない画像ファイルを検索する検索手段と、
前記検索手段によって検索されたそれぞれの画像ファイルの画像データから前記モニタ表示用画像データを生成するモニタ表示用画像生成手段と、
前記モニタ表示用画像生成手段により生成された前記モニタ表示用画像データを、生成元のそれぞれの画像ファイルに追加して、前記記憶媒体に記録する記録手段とを備えることを特徴とする画像データ処理装置。 Generation processing for generating monitor display image data having a predetermined number of pixels for display on a display device for a plurality of image files recorded in a non-volatile storage medium, and the monitor display in the plurality of image files Instruction means for instructing start of monitor display image addition processing for adding image data;
In response to an instruction from the instruction unit, a search unit that searches the storage medium for an image file in which the monitor display image data is not recorded;
Monitor display image generation means for generating the monitor display image data from the image data of each image file searched by the search means;
Image data processing comprising: recording means for adding the monitor display image data generated by the monitor display image generation means to each image file of the generation source and recording the image data in the storage medium apparatus.
前記記録手段は、前記検索手段によって検索された画像ファイルが前記モニタ表示用画像データを追加することができない画像ファイルである場合には、該画像ファイルをコピーして新たな画像ファイルを生成し、新たな画像ファイルに前記モニタ表示用画像データを追加することを特徴とする画像データ処理装置。 The image data processing apparatus according to claim 1,
When the image file searched by the search means is an image file to which the monitor display image data cannot be added, the recording means copies the image file to generate a new image file, An image data processing apparatus, wherein the monitor display image data is added to a new image file.
前記記録手段によって、前記新たな画像ファイルが生成された場合に、前記新たな画像ファイルと、コピー元となった元の画像ファイルとを関連付ける関連付け手段と、
前記関連付け手段によって関連付けられている画像ファイルの画像を前記表示装置へ表示する場合には、前記新たな画像ファイル内の前記モニタ表示用画像データの画像を表示し、前記元の画像ファイル内の画像データの画像の表示を禁止する表示制御手段とをさらに備えることを特徴とする画像データ処理装置。 The image data processing apparatus according to claim 2,
An association means for associating the new image file with the original image file as a copy source when the recording means generates the new image file;
When displaying the image of the image file associated by the association unit on the display device, the image of the monitor display image data in the new image file is displayed, and the image in the original image file is displayed. An image data processing apparatus further comprising display control means for prohibiting display of an image of data.
前記複数の画像ファイルには、各画像ファイルの順番を示す順番情報が付与されており、
前記表示制御手段は、ユーザの操作に基づいて、前記モニタ表示用画像データの画像を前記順番情報に基づいて切り換えて表示し、前記元の画像ファイル内に前記モニタ表示用画像データが記録されていない場合には、前記元の画像ファイルの表示順のときに前記新たな画像ファイルの前記モニタ表示用画像データを表示し、前記新たな画像ファイルの表示順のときは、前記新たな画像ファイルの次の順番情報が付与された画像ファイルの前記モニタ表示用画像データを表示することを特徴とする画像データ処理装置。 The image data processing apparatus according to claim 3.
Order information indicating the order of each image file is given to the plurality of image files,
The display control means switches and displays the image of the monitor display image data based on the order information based on a user operation, and the monitor display image data is recorded in the original image file. If not, display the monitor display image data of the new image file in the display order of the original image file, and display the new image file in the display order of the new image file. An image data processing apparatus for displaying the monitor display image data of an image file to which next order information is assigned.
前記記録手段は、前記検索手段によって検索された画像ファイルに前記モニタ表示用画像データを追加することができないと判定した場合には、その旨を警告することを特徴とする画像データ処理装置。 The image data processing apparatus according to claim 1,
The image data processing apparatus, wherein if the recording unit determines that the monitor display image data cannot be added to the image file searched by the search unit, the recording unit warns that effect.
前記指示手段は、使用者による画像データ処理装置への前記記憶媒体の挿入を検出したとき、または使用者によって前記モニタ表示用画像データの追加が指示されたときに、前記生成処理、および前記モニタ表示用画像追加処理の開始を指示することを特徴とする画像データ処理装置。 The image data processing apparatus according to claim 1,
The instruction means detects the generation process and the monitor when detecting the insertion of the storage medium into the image data processing apparatus by the user or when the user instructs to add the monitor display image data. An image data processing apparatus that instructs to start display image addition processing.
前記記録手段は、前記検索手段によって検索された画像ファイルをコピーして新たな画像ファイルを生成し、前記新たな画像ファイルに前記モニタ表示用画像データを追加して前記記憶媒体へ記録し、その後、コピー元の画像ファイルを前記記憶媒体から削除することを特徴とする画像データ処理装置。 The image data processing apparatus according to claim 1,
The recording means creates a new image file by copying the image file searched by the search means, adds the monitor display image data to the new image file, records it on the storage medium, and then An image data processing apparatus, wherein a copy source image file is deleted from the storage medium.
前記記録手段は、前記モニタ表示用画像データを追加した画像ファイルに、前記モニタ表示用画像データと異なる画素数の他の表示用画像データが記録されている場合には、前記他の表示用画像データを削除することを特徴とする画像データ処理装置。 The image data processing apparatus according to claim 1,
In the case where other display image data having a different number of pixels from the monitor display image data is recorded in the image file to which the monitor display image data is added, the recording unit is configured to display the other display image. An image data processing apparatus characterized by deleting data.
画像ファイル内に記録されている前記モニタ表示用画像データを削除する削除手段をさらに備えることを特徴とする画像データ処理装置。 The image data processing apparatus according to claim 1,
An image data processing apparatus, further comprising: deletion means for deleting the monitor display image data recorded in an image file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010055985A JP2011193111A (en) | 2010-03-12 | 2010-03-12 | Image data processing apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010055985A JP2011193111A (en) | 2010-03-12 | 2010-03-12 | Image data processing apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2011193111A true JP2011193111A (en) | 2011-09-29 |
Family
ID=44797614
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010055985A Pending JP2011193111A (en) | 2010-03-12 | 2010-03-12 | Image data processing apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2011193111A (en) |
-
2010
- 2010-03-12 JP JP2010055985A patent/JP2011193111A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4416606B2 (en) | Display control apparatus, display control method, program, and storage medium | |
JP2004274500A (en) | Digital camera | |
US8913159B2 (en) | Recording apparatus for storing a data file of image data according to a predetermined file name | |
JP2004007435A (en) | Electronic camera, image recording apparatus, image recording method, and program | |
JP2009124591A (en) | Imaging apparatus, information recording device and information recording method | |
JP4826480B2 (en) | Imaging apparatus, image management method, and program | |
JP2011193111A (en) | Image data processing apparatus | |
JP2008182513A (en) | Imaging apparatus with information writing function | |
JP4860495B2 (en) | Imaging device | |
CN100416514C (en) | Image recording apparatus | |
JP2007081842A (en) | Image managing device | |
JP2004229021A (en) | Method for additionally writing metadata and information processing unit | |
JP4992597B2 (en) | Imaging apparatus and program | |
JP2008219425A (en) | Image processor and image processing method | |
JP2008177784A (en) | Recording and reproducing device and its control method, program and storage medium | |
JP2007219822A (en) | Imaging apparatus | |
JP2008011421A (en) | Camera device | |
JP5229413B2 (en) | IMAGING DEVICE, PROGRAM, AND DISPLAY CONTROL DEVICE | |
JP2010212965A (en) | Camera | |
JP2004274457A (en) | Digital camera | |
JP2012133708A (en) | File recording device, control method thereof, program and storage medium | |
JP2004248060A (en) | Digital camera | |
JP2010011416A (en) | Imaging apparatus | |
JP2002352508A (en) | Recording and reproducing device | |
JP2011188348A (en) | Camera, information processing apparatus, and information processing program |