JP2011193111A - Image data processing apparatus - Google Patents

Image data processing apparatus Download PDF

Info

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
Application number
JP2010055985A
Other languages
Japanese (ja)
Inventor
Tomoyuki Ogawa
智之 小川
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.)
Nikon Corp
Original Assignee
Nikon Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nikon Corp filed Critical Nikon Corp
Priority to JP2010055985A priority Critical patent/JP2011193111A/en
Publication of JP2011193111A publication Critical patent/JP2011193111A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To add image data for monitor display to an image file and record it therein. <P>SOLUTION: A CPU 106 searches for image files not recording image data for monitor display in a memory card 109a, creates image data for monitor display from the main image data of the respective searched image files, adds the created image data for monitor display to the respective image files of a creating source, and records them in the memory card 109a. <P>COPYRIGHT: (C)2011,JPO&INPIT

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).

特開2009−267946号公報JP 2009-267946 A

しかしながら、従来の画像記録装置は、画像ファイルの画像を表示するときにしか表示用画像データを画像ファイルに追記することができなかった。   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.

カメラの一実施の形態の構成を示すブロック図である。It is a block diagram which shows the structure of one Embodiment of a camera. メモリカード挿入時に実行される画像ファイルへのモニタ表示用画像データ追加処理の流れを示すフローチャート図である。It is a flowchart figure which shows the flow of the monitor display image data addition process to the image file performed when a memory card is inserted. カード管理情報の具体例を模式的に示した図である。It is the figure which showed the specific example of card management information typically. モニタ表示用画像追加処理の流れを示すフローチャート図である。It is a flowchart figure which shows the flow of the monitor display image addition process. 画像再生処理の流れを示すフローチャート図である。It is a flowchart figure which shows the flow of an image reproduction process. モニタ表示用画像の削除処理の流れを示すフローチャート図である。It is a flowchart figure which shows the flow of the deletion process of the monitor display image. 使用者からの指示に基づく画像ファイルへのモニタ表示用画像データ追加処理の流れを示すフローチャート図である。It is a flowchart figure which shows the flow of the monitor display image data addition process to the image file based on the instruction | indication from a user.

図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 camera 100 includes a lens 101, an image sensor 102, an AFE (Analog Front End) 103, an ASIC 104, a flash memory 105, a CPU 106, an operation member 107, a RAM 108, a memory card I / F 109, and a display unit. 110.

レンズ101は、複数の光学レンズから構成されるが、図1では代表して1枚のレンズで表している。撮像素子102は、例えばCCDやCMOSなどのイメージセンサーであり、レンズ101により結像した被写体像を撮像する。そして、撮像によって得られた画像信号をAFE103へ出力する。AFE103は、撮像素子102から入力されるアナログ信号に対して種々の処理を施すとともに、アナログ信号をデジタル信号に変換してASIC104へ出力する。ASIC104は、入力されるデジタル信号に対して種々の画像処理、例えば補間処理、階調変換処理、輪郭強調処理、ホワイトバランス調整処理、画像圧縮処理、画像伸張処理等を施す。   The lens 101 is composed of a plurality of optical lenses, but is representatively represented by one lens in FIG. The image pickup element 102 is an image sensor such as a CCD or a CMOS, for example, and picks up a subject image formed by the lens 101. Then, the image signal obtained by imaging is output to the AFE 103. The AFE 103 performs various processes on the analog signal input from the image sensor 102, converts the analog signal into a digital signal, and outputs the digital signal to the ASIC 104. The ASIC 104 performs various image processing, such as interpolation processing, gradation conversion processing, contour enhancement processing, white balance adjustment processing, image compression processing, image expansion processing, etc., on the input digital signal.

フラッシュメモリ105は、不揮発性のメモリであって、CPU106が実行するプログラムのデータや、プログラム実行時に読み込まれる種々のパラメータなどが記録されている。CPU106は、カメラ100全体を制御する。操作部材107は、使用者によって操作される種々の入力部材、例えば電源ボタン、レリーズボタン、ズームボタン、十字キー、決定ボタン、再生ボタン、削除ボタンなどを含んでいる。操作部材107は、各種入力部材からの操作信号をCPU106へ出力し、CPU106は、入力される操作信号に従ってカメラ100を制御する。   The flash memory 105 is a non-volatile memory in which data of a program executed by the CPU 106, various parameters read when the program is executed, and the like are recorded. The CPU 106 controls the entire camera 100. The operation member 107 includes various input members operated by the user, such as a power button, a release button, a zoom button, a cross key, a determination button, a playback button, and a delete button. The operation member 107 outputs operation signals from various input members to the CPU 106, and the CPU 106 controls the camera 100 according to the input operation signals.

RAM108は、揮発性のメモリであって、CPUがプログラム実行時にプログラムを展開するためのワークメモリとして使用されたり、データを一時的に記録するためのバッファメモリとして使用される。メモリカードI/F109は、例えば、SDカード等のメモリカード109aを挿入するためのメモリカードスロットを備え、メモリカードスロットに挿入されたメモリカード109aからデータを読み出したり、メモリカード109aへデータを書き込んだりする。   The RAM 108 is a volatile memory, and is used as a work memory for the CPU to expand the program when the program is executed or as a buffer memory for temporarily recording data. The memory card I / F 109 has a memory card slot for inserting a memory card 109a such as an SD card, for example, and reads data from the memory card 109a inserted in the memory card slot or writes data to the memory card 109a. Sloppy.

表示部110は、例えば、カメラ100の背面に搭載された液晶モニタ(背面モニタ)であり、当該表示部110には、メモリカード109aに記憶されている画像やカメラ100を設定するための設定メニューなどが表示される。また、CPU106は、使用者によってカメラ100のモードが撮影モードに設定されると、撮像素子102から時系列で入力される画像の表示用画像データを表示部110に出力する。これによって表示部110にはスルー画が表示される。   The display unit 110 is, for example, a liquid crystal monitor (rear monitor) mounted on the back of the camera 100, and the display unit 110 has an image stored in the memory card 109 a and a setting menu for setting the camera 100. Etc. are displayed. Further, when the mode of the camera 100 is set to the shooting mode by the user, the CPU 106 outputs image data for display of images input in time series from the image sensor 102 to the display unit 110. As a result, a through image is displayed on the display unit 110.

本実施の形態では、CPU106は、ASIC104によって画像処理が施された後の画像データに基づいて所定の画像形式、例えばJPEG形式の本画像データ(JPEGデータ)を生成する。また、CPU106は、本画像データに基づいて、表示用の画像データ、例えば画像サイズが180×120画素のサムネイル画像データと画像サイズが600×400画素のViewサムネイル画像データとを生成する。CPU106は、生成した本画像データと、サムネイル画像データ、Viewサムネイル画像データとを含み、さらにヘッダ情報を付加した画像ファイル、例えばJPEGファイルを生成してメモリカードI/F109へ出力する。   In the present embodiment, the CPU 106 generates main image data (JPEG data) in a predetermined image format, for example, JPEG format, based on the image data that has been subjected to image processing by the ASIC 104. Further, the CPU 106 generates display image data based on the main image data, for example, thumbnail image data with an image size of 180 × 120 pixels and View thumbnail image data with an image size of 600 × 400 pixels. The CPU 106 generates an image file that includes the generated main image data, thumbnail image data, and view thumbnail image data, and further includes header information, for example, a JPEG file, and outputs the image file to the memory card I / F 109.

また、本実施の形態では、CPU106は、上述したJPEGファイル、すなわち1つの画像ファイル内に1つのJPEGデータが記録される画像ファイル以外に、1つの画像ファイル内に複数のJPEGデータが記録される画像ファイルも生成することができる。例えば、CPU106は、連写撮影が行われた場合、パノラマ撮影が行われた場合、またはインターバル撮影が行われた場合等、1回の撮影によって複数のJPEGデータが1組として生成される場合には、生成した複数のJPEGデータを1つの画像ファイルにまとめて記録することができる。   In the present embodiment, the CPU 106 records a plurality of JPEG data in one image file in addition to the above-described JPEG file, that is, an image file in which one JPEG data is recorded in one image file. An image file can also be generated. For example, when the continuous shooting is performed, the panorama shooting is performed, or the interval shooting is performed, the CPU 106 generates a set of a plurality of JPEG data by one shooting. Can collectively record a plurality of generated JPEG data in one image file.

また、CPU106は、上述したサムネイル画像データやViewサムネイル画像データとは異なる画素数のモニタ表示用画像データを生成して本画像データとともに記録することにより、1つの画像ファイル内に複数の画像データを記録することもできる。例えば、CPU106は、VGAサイズ(640×480画素)のモニタ表示用画像データやFull HDサイズ(1920×1080画素)のモニタ表示用画像データを生成して、画像ファイル内に含めることができる。   Further, the CPU 106 generates monitor display image data having a different number of pixels from the above-described thumbnail image data and view thumbnail image data, and records the generated image data together with the main image data, thereby storing a plurality of image data in one image file. It can also be recorded. For example, the CPU 106 can generate VGA size (640 × 480 pixels) monitor display image data or Full HD size (1920 × 1080 pixels) monitor display image data and include it in the image file.

なお、本実施の形態では、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 camera 100 according to the present embodiment has a function of newly generating monitor display image data for an image file in which monitor display image data is not recorded and additionally recording the image data in the image file. For example, a monitor display image can be additionally recorded with respect to an image file generated by a camera that does not have a function of recording monitor display image data in the image file.

図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 memory card 109a when the memory card 109a is inserted into the memory card I / F 109. The process shown in FIG. 2 is executed by the CPU 106 as a program that is activated when the user inserts the memory card 109a into the memory card I / F 109.

ステップS10において、CPU106は、挿入されたメモリカード109a内に記録されている画像ファイルを管理するためのカード管理情報をRAM108上に作成する。カード管理情報は、例えば、図3に示すように、メモリカード109a内に記録されている画像ファイルのファイル名3aごとに、各画像ファイル内にモニタ表示用画像データが記録されているか否かを示すフラグ3bと、後述するように、各画像ファイルに基づいて生成される子画像ファイルが存在する場合には、その子画像ファイルのパス情報3cと、その画像ファイルが子画像ファイルであるか否かを識別するための子フラグ3dとが記録された情報である。   In step S10, the CPU 106 creates on the RAM 108 card management information for managing image files recorded in the inserted memory card 109a. For example, as shown in FIG. 3, the card management information indicates whether or not monitor display image data is recorded in each image file for each file name 3a of the image file recorded in the memory card 109a. If there is a child image file generated based on the flag 3b and each image file as will be described later, the path information 3c of the child image file and whether or not the image file is a child image file. Is a recorded child flag 3d.

なお、図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 CPU 106 determines whether or not the monitor display image data automatic creation function is enabled. For example, in the camera 100 of the present embodiment, at the timing when the memory card 109a is inserted, the user searches the image file in the memory card 109a for an image file in which monitor display image data is not recorded, It is possible to set in advance whether or not to automatically generate and record a monitor display image for the searched image file. In step S20, the CPU 106 makes the above determination based on the setting contents.

ステップ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 CPU 106 substitutes the number of all image files recorded in the memory card 109a for the variable count, and proceeds to step S40. In step S40, the CPU 106 determines whether or not the value of the variable count is zero. If a positive determination is made in step S40, the process proceeds to step S140 described later. On the other hand, if a negative determination is made in step S40, the process proceeds to step S50.

ステップ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 CPU 106 selects one of the image files recorded in the memory card 109a as the target image file, and proceeds to step S60. In step S60, the CPU 106 confirms the free capacity of the memory card 109a and determines whether or not there is no free capacity in the memory card 109a. If an affirmative determination is made in step S60, the process proceeds to step S70. In this case, the CPU 106 has no free space in the memory card 109a and cannot add monitor display image data to the target image file. In step S140, in order to warn the user to that effect, the card FULL flag indicating that there is no free space in the memory card 109a is set to ON. Thereafter, the process proceeds to step S80, and the CPU 106 sets the variable count to 0, and returns to step S40.

一方、ステップ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 CPU 106 determines whether or not the target image file selected in step S50 is an image file created by a camera manufactured by another company. If an affirmative determination is made in step S90, the process proceeds to step S100, and the CPU 106 in this case may have a different file structure from the image file created by the camera manufactured in-house, and the target image file. Since image data for monitor display cannot be added to the file, a third-party file flag indicating that the target image file has been created by a third-party camera is used to warn the user in step S140 described later. Set to on. Then, it progresses to step S130 mentioned later.

これに対して、ステップ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 CPU 106 determines whether monitor display image data has already been recorded in the target image file. If a negative determination is made in step S110, the CPU 106 executes monitor display image addition processing, which will be described later with reference to FIG. 4, to generate monitor display image data based on the main image data in the target image file. After adding the image file, the process proceeds to step S130. On the other hand, if an affirmative determination is made in step S110, the process proceeds directly to step S130. In step S130, the CPU 106 subtracts 1 from the value of the variable count and returns to step S40.

次に、ステップS140以降の処理について説明する。ステップS140では、CPU106は、上述した警告フラグ、すなわちカードFULLフラグまたは他社ファイルフラグがオンに設定されているか否かを判断する。ステップS140で否定判断した場合には、処理を終了する。一方、ステップS140で肯定判断した場合には、ステップS150へ進む。ステップS150では、CPU106は、オンに設定されているフラグの種類に応じた警告メッセージを表示部110へ表示する。   Next, the process after step S140 is demonstrated. In step S140, the CPU 106 determines whether the above-described warning flag, that is, the card FULL flag or the other company's file flag is set to ON. If a negative determination is made in step S140, the process ends. On the other hand, if a positive determination is made in step S140, the process proceeds to step S150. In step S150, CPU 106 displays a warning message on display unit 110 according to the type of flag that is set to ON.

例えば、カードFULLフラグがオンに設定されている場合には、CPU106は、「メモリカードに空き容量がないためモニタ表示用画像データを追加できません」という警告メッセージを表示する。また、他社ファイルフラグがオンに設定されている場合には、CPU106は、「他社製のカメラで作成された画像ファイルのためモニタ表示用画像データを追加できません」という警告メッセージを表示する。また、カードFULLフラグと他社ファイルフラグとがともにオンに設定されている場合には、CPU106は、上記警告メッセージを両方とも表示する。その後、処理を終了する。   For example, when the card FULL flag is set to ON, the CPU 106 displays a warning message that “the monitor card image data cannot be added because there is no free space in the memory card”. If the other company's file flag is set to ON, the CPU 106 displays a warning message “Monitor display image data cannot be added because of an image file created by another company's camera”. When both the card FULL flag and the other company's file flag are set to ON, the CPU 106 displays both the warning messages. Thereafter, the process ends.

ここで、図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 CPU 106 determines whether or not an automatic creation prohibition flag that prohibits the automatic generation of monitor display image data is set to ON. For example, in order to prevent the monitor display image data from being automatically added to the image file after the user deletes the monitor display image data from the image file in the process of FIG. The automatic creation prohibition flag can be set in the header information of the image file. Therefore, in the present embodiment, the CPU 106 does not automatically add monitor display image data to an image file for which the header information automatic creation prohibition flag is set to ON. Only when the user explicitly instructs the addition of monitor display image data in the processing described later in the description, the monitor display image data is displayed for the image file whose header information automatic creation prohibition flag is set to ON. Try to add.

ステップ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 CPU 106 reads the main image data and header information from the target image file, and proceeds to step S230. In step S230, the CPU 106 resizes the read main image data to generate monitor display image data of VGA size or Full HD size. Thereafter, the process proceeds to step S240.

ステップS240では、CPU106は、対象画像ファイルに、対象画像ファイルの編集を禁止するプロテクトがかかっているか否かを判断する。ステップS240で肯定判断した場合には、対象画像ファイルにモニタ表示用画像を追加することができないため、CPU106は、対象画像ファイルをコピーして新たにMPFファイルを生成し、新たに生成したMPFファイル内にモニタ表示用画像データを記録する。その後、後述するステップS330へ進む。   In step S240, the CPU 106 determines whether the target image file is protected to prohibit editing of the target image file. If an affirmative determination is made in step S240, the monitor display image cannot be added to the target image file, so the CPU 106 creates a new MPF file by copying the target image file, and the newly generated MPF file. The monitor display image data is recorded inside. Then, it progresses to step S330 mentioned later.

これに対して、ステップ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 CPU 106 determines whether or not the image authenticity for confirming whether the target image file has not been processed after shooting is set to ON. If a positive determination is made in step S250, the process proceeds to step S260. In this case, if the monitor display image is added to the target image file, the authenticity of the image is lost. Therefore, the CPU 106 creates a new MPF file by copying the target image file, and stores the newly generated MPF file. The image data for monitor display is recorded in In step S260, the CPU 106 sets the image authenticity of the newly generated MPF file to OFF, and proceeds to step S330 described later.

一方、ステップ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 CPU 106 determines whether or not the View thumbnail image data recorded in the target image file is set to be deleted when the monitor display image data is added. When an affirmative determination is made in step S270, the process proceeds to step S280, and the CPU 106 deletes the View thumbnail image data from the target image, and the process proceeds to step S290. On the other hand, if a negative determination is made in step S270, the process proceeds to step S290.

ステップS290では、CPU106は、対象画像ファイルへのモニタ表示用画像データの保存方法が、「上書き」か「別ファイル」かを判断する。ステップS290で「上書き」と判断した場合には、ステップS300へ進み、CPU106は、対象画像ファイルをコピーしてコピー画像ファイルを生成する。その後、ステップS310へ進み、CPU106は、コピー画像ファイルにモニタ表示用画像データを追加して新たなMPFファイルを生成して、ステップS320へ進む。ステップS320では、CPU106は、コピー元の対象画像ファイルをメモリカード109aから削除して、後述するステップS350へ進む。   In step S290, the CPU 106 determines whether the method of saving the monitor display image data in the target image file is “overwrite” or “another file”. If “overwrite” is determined in step S290, the process advances to step S300, and the CPU 106 copies the target image file to generate a copy image file. Thereafter, the process proceeds to step S310, and the CPU 106 adds the monitor display image data to the copy image file to generate a new MPF file, and then proceeds to step S320. In step S320, the CPU 106 deletes the copy source target image file from the memory card 109a, and proceeds to step S350 described later.

これに対して、ステップS290で「別ファイル」と判断した場合には、CPU106は、対象画像ファイルをコピーして新たにMPFファイルを生成し、新たに生成したMPFファイル内にモニタ表示用画像データを記録した後、ステップS330へ進む。   On the other hand, if it is determined as “another file” in step S290, the CPU 106 copies the target image file to generate a new MPF file, and the monitor display image data in the newly generated MPF file. Is recorded, the process proceeds to step S330.

ステップS330では、CPU106は、対象画像ファイル(親画像ファイル)と新たに生成した画像ファイル(子画像ファイル)とを関連付けるための関連付け情報タグを子画像ファイルのヘッダ情報に記録する。例えば、CPU106は、親画像ファイルのパス情報と親画像ファイルの作成日時情報とを子画像ファイルのヘッダ情報に記録する。その後、ステップS340へ進み、CPU106は、新たに生成したMPFファイルをメモリカード109aに記録して、ステップS350へ進む。ステップS350では、CPU106は、上記処理で子画像ファイルを生成した場合には、生成内容に応じて上述したカード管理情報を更新して、図2に示す処理に復帰する。   In step S330, the CPU 106 records an association information tag for associating the target image file (parent image file) with the newly generated image file (child image file) in the header information of the child image file. For example, the CPU 106 records the parent image file path information and the parent image file creation date information in the header information of the child image file. Thereafter, the process proceeds to step S340, and the CPU 106 records the newly generated MPF file on the memory card 109a, and proceeds to step S350. In step S350, when the child image file is generated by the above process, the CPU 106 updates the above-described card management information according to the generated content, and returns to the process shown in FIG.

次に、図5を用いて、メモリカード109aに記録されている画像ファイルを対象とした画像の再生処理について説明する。図5に示す処理は、使用者によって再生対象の画像ファイルが選択され、画像の再生開始が指示されると起動するプログラムとして、CPU106によって実行される。   Next, with reference to FIG. 5, an image reproduction process for an image file recorded on the memory card 109a will be described. The processing shown in FIG. 5 is executed by the CPU 106 as a program that is activated when an image file to be reproduced is selected by the user and an instruction to start image reproduction is given.

ステップS410において、CPU106は、再生対象の画像ファイル内にモニタ表示用画像データが記録されているか否かを判断する。ステップS410で肯定判断した場合には、ステップS420へ進み、CPU106は、重複画像を表示しないようにするための重複画像非表示設定がされているか否かを判断する。すなわち、図4で上述した処理によって、子画像ファイルが生成された場合には、親画像ファイルと子画像ファイルとを再生すると同じ画像が重複して表示されることになる。この場合に、重複する画像をいずれも表示するか、いずれか一方のみを表示するかを使用者はあらかじめ設定することができる。   In step S410, the CPU 106 determines whether monitor display image data is recorded in the image file to be reproduced. If an affirmative determination is made in step S410, the process proceeds to step S420, and the CPU 106 determines whether or not the duplicate image non-display setting for preventing the duplicate image from being displayed is set. That is, when a child image file is generated by the process described above with reference to FIG. 4, when the parent image file and the child image file are reproduced, the same image is displayed in duplicate. In this case, the user can set in advance whether to display all overlapping images or only one of them.

ステップS420で肯定判断した場合には、ステップS430へ進み、CPU106は、上述したカード管理情報の子フラグ3dを参照して、再生対象の画像ファイルの子画像ファイルが存在するか否かを判断する。ステップS430で肯定判断した場合には、ステップS440へ進み、CPU106は、再生対象の画像ファイル、すなわち親画像ファイルのモニタ表示用画像データは再生せずに、使用者によって選択された次画像ファイルを再生対象の画像ファイルとして選択して、ステップS410へ戻る。   If the determination in step S420 is affirmative, the process proceeds to step S430, and the CPU 106 refers to the child flag 3d of the card management information described above to determine whether or not there is a child image file of the image file to be reproduced. . When an affirmative determination is made in step S430, the process proceeds to step S440, and the CPU 106 does not reproduce the image file to be reproduced, that is, the image data for monitor display of the parent image file, and reproduces the next image file selected by the user. Select the image file to be played back, and return to step S410.

このように、再生対象の画像ファイルの子画像ファイルが存在する場合には、親画像ファイルのモニタ表示用画像データは再生しないようにすることにより、子画像ファイルのモニタ表示用画像のみが再生されるため、同じ画像が重複して表示されるのを防ぐことができる。このとき、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 display unit 110 in a predetermined order, for example, in ascending order of the file names, the CPU 106 displays the child image file in the display order of the parent image file. When the monitor display image of the image file is displayed and in the display order of the child image file, the monitor display image of the child image file is not displayed, and the image file in the next display order, that is, the next file of the child image file The monitor display image of the image file to which the name is assigned is displayed.

一方、ステップ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, CPU 106 reads monitor display image data from the image file to be reproduced, and proceeds to step S460. In step S460, the CPU 106 outputs the monitor display image data read in step S450 to the display unit 110, reproduces the image, and ends the process.

次に、ステップ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 CPU 106 refers to the card management information to determine whether or not the child image file path information 3c is recorded for the image file to be reproduced. If a positive determination is made in step S470, the process proceeds to step S490 described later. On the other hand, if a negative determination is made in step S470, the process proceeds to step S480. In step S480, the child image file is specified based on the path information 3c of the card management information, and the file creation date and time of the image file to be reproduced, and the creation date and time of the parent image file recorded in the header information of the child image file, It is judged whether or not.

ステップ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 CPU 106 reads View thumbnail image data from the image file to be reproduced, and proceeds to step S500. In step S500, the CPU 106 outputs the View thumbnail read in step S490 to the display unit 110, reproduces the image, and then proceeds to step S510.

ステップS510では、CPU106は、再生対象の画像ファイル内にモニタ表示用画像データが記録されていない場合に、モニタ表示用画像データを自動的に作成するように設定されているか否かを判断する。ステップS510で肯定判断した場合には、ステップS520へ進み、CPU106は、図4で上述したモニタ表示用画像追加処理を実行した後、ステップS410へ戻る。これに対して、ステップS510で否定判断した場合には、処理を終了する。   In step S510, the CPU 106 determines whether or not the monitor display image data is set to be automatically created when the monitor display image data is not recorded in the image file to be reproduced. If the determination in step S510 is affirmative, the process proceeds to step S520, and the CPU 106 performs the monitor display image addition process described above with reference to FIG. 4, and then returns to step S410. On the other hand, if a negative determination is made in step S510, the process ends.

次に、図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 CPU 106 as a program that starts when an image is reproduced on the display unit 110.

ステップS610において、CPU106は、使用者によって操作部材107に含まれる削除ボタンが押下されたか否かを判断する。ステップS610で肯定判断した場合には、ステップS620へ進み、CPU106は、表示部110へ表示中の画像ファイルを削除対象として特定し、該削除対象の画像ファイルがプロテクトされた画像ファイルであるか否かを判断する。ステップS620で肯定判断した場合には、処理を終了する。これに対して、ステップS620で否定判断した場合には、ステップS630へ進む。   In step S610, the CPU 106 determines whether or not the user has pressed the delete button included in the operation member 107. When an affirmative determination is made in step S610, the process proceeds to step S620, in which the CPU 106 identifies the image file being displayed on the display unit 110 as a deletion target, and whether or not the deletion target image file is a protected image file. Determine whether. If an affirmative determination is made in step S620, the process ends. On the other hand, if a negative determination is made in step S620, the process proceeds to step S630.

ステップS630では、CPU106は、表示部110に削除メニューを表示する。この削除メニュー上で、使用者は、画像ファイル自体を削除するか、画像ファイル内のモニタ表示用画像データを削除するかを選択することができる。その後、ステップS640へ進み、CPU106は、使用者が削除メニュー上でモニタ表示用画像データの削除を選択したか否かを判断する。ステップS640で否定判断した場合には、ステップS641へ進み、CPU106は、メモリカード109aから削除対象の画像ファイルを削除して、処理を終了する。これに対して、ステップS640で肯定判断した場合には、ステップS650へ進む。   In step S630, CPU 106 displays a delete menu on display unit 110. On this deletion menu, the user can select whether to delete the image file itself or to delete the monitor display image data in the image file. Thereafter, the process proceeds to step S640, and the CPU 106 determines whether or not the user has selected to delete the monitor display image data on the deletion menu. If a negative determination is made in step S640, the process proceeds to step S641, and the CPU 106 deletes the image file to be deleted from the memory card 109a, and ends the process. On the other hand, if a positive determination is made in step S640, the process proceeds to step S650.

ステップS650では、CPU106は、削除対象の画像ファイル内から本画像データとヘッダ情報とを読み出して、ステップS660へ進む。ステップS660では、CPU106は、削除対象の画像ファイル内からモニタ表示用画像データを削除し、さらにヘッダ情報内の上述した関連付けタグ情報を削除する。その後、ステップS670へ進み、CPU106は、削除対象の画像ファイル内にViewサムネイル画像データがないか否かを判断する。ステップS670で肯定判断した場合には、ステップS680へ進み、CPU106は、ステップS650で読み出した本画像データをリサイズして、Viewサムネイル画像データを作成し、削除対象の画像ファイル内に追加する。その後、ステップS690へ進む。一方、ステップS670で否定判断した場合には、そのままステップS690へ進む。   In step S650, CPU 106 reads main image data and header information from the image file to be deleted, and proceeds to step S660. In step S660, the CPU 106 deletes the monitor display image data from the image file to be deleted, and further deletes the association tag information described above in the header information. Thereafter, the process proceeds to step S670, and the CPU 106 determines whether or not there is no View thumbnail image data in the image file to be deleted. If an affirmative determination is made in step S670, the process advances to step S680, and the CPU 106 resizes the main image data read in step S650, creates View thumbnail image data, and adds it to the image file to be deleted. Thereafter, the process proceeds to step S690. On the other hand, if a negative determination is made in step S670, the process proceeds directly to step S690.

ステップS690では、CPU106は、削除対象の画像ファイルを上書き保存して、ステップS700へ進む。ステップS700では、CPU106は、使用者の意思でモニタ表示用画像データが削除された画像ファイル内に、再度モニタ表示用画像データが自動生成されるのを防ぐために、削除対象の画像ファイルのヘッダ情報に自動作成禁止フラグを作成し、当該フラグをオンに設定する。その後、ステップS710へ進み、CPU106は、上記処理で親画像ファイルまたは子画像ファイルを削除した場合には、削除内容に応じて上述したカード管理情報を更新して、処理を修了する。   In step S690, CPU 106 overwrites and saves the image file to be deleted, and proceeds to step S700. In step S700, in order to prevent the monitor display image data from being automatically generated again in the image file from which the monitor display image data has been deleted by the user's intention, the CPU 106 performs header information of the image file to be deleted. An automatic creation prohibition flag is created in, and the flag is set to ON. Thereafter, the process proceeds to step S710, and when the parent image file or the child image file is deleted in the above process, the CPU 106 updates the above-described card management information according to the deleted content and completes the process.

次に、図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 CPU 106 as a program that starts when an image is reproduced on the display unit 110.

ステップS710において、CPU106は、使用者によって操作部材107に含まれる画像編集ボタンが押下されたか否かを判断する。ステップS710で肯定判断した場合には、ステップS720へ進み、CPU106は、表示部110へ表示中の画像ファイルを編集対象として特定し、該編集対象の画像ファイルに対して、どのような編集を行うかを使用者に指定させるためのメニュー画面を表示する。使用者は、このメニュー画面上で編集対象の画像ファイルにモニタ表示用画像データを追加するように指示することができる。   In step S <b> 710, the CPU 106 determines whether the user has pressed an image editing button included in the operation member 107. When an affirmative determination is made in step S710, the process proceeds to step S720, where the CPU 106 identifies the image file being displayed on the display unit 110 as an editing target, and what kind of editing is performed on the editing target image file. Displays a menu screen that allows the user to specify On this menu screen, the user can instruct to add monitor display image data to the image file to be edited.

その後、ステップS730へ進み、CPU106は、使用者がメニュー画面上でモニタ表示用画像作成を選択したか否かを判断する。ステップS730で否定判断した場合には、処理を終了する。これに対して、ステップS730で肯定判断した場合には、ステップS740へ進む。ステップS740では、CPU106は、編集対象の画像ファイルのヘッダ情報を読み出して、上述した自動作成禁止フラグがオンに設定されているか否かを判断する。ステップS740で否定判断した場合には、後述するステップS760へ進む。   Thereafter, the process proceeds to step S730, and the CPU 106 determines whether or not the user has selected creation of a monitor display image on the menu screen. If a negative determination is made in step S730, the process ends. On the other hand, if a positive determination is made in step S730, the process proceeds to step S740. In step S740, the CPU 106 reads the header information of the image file to be edited, and determines whether or not the automatic creation prohibition flag described above is set to ON. If a negative determination is made in step S740, the process proceeds to step S760 described later.

これに対して、ステップ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, CPU 106 changes the automatic creation prohibition flag of the image file to be edited to OFF, and proceeds to step S760. In step S760, the CPU 106 executes the monitor display image addition process described above with reference to FIG. 4 and ends the process.

以上説明した本実施の形態によれば、以下のような作用効果を得ることができる。
(1)CPU106は、メモリカード109aからモニタ表示用画像データが記録されていない画像ファイルを検索し、検索したそれぞれの画像ファイルの主画像データからモニタ表示用画像データを生成し、生成しモニタ表示用画像データを、生成元のそれぞれの画像ファイルに追加して、メモリカード109aに記録するようにした。これによって、CPU106は、メモリカード109aに記録されている画像ファイルに一括してモニタ表示用画像を追加することができる。
According to the present embodiment described above, the following operational effects can be obtained.
(1) The CPU 106 searches the memory card 109a for an image file in which monitor display image data is not recorded, generates monitor display image data from the main image data of each searched image file, generates and displays the monitor display The image data is added to each image file of the generation source and recorded on the memory card 109a. As a result, the CPU 106 can collectively add the monitor display image to the image file recorded on the memory card 109a.

(2)CPU106は、画像ファイルがプロテクトされていてモニタ表示用画像データを追加することができない場合には、その画像ファイルをコピーして新たな画像ファイルを生成し、新たな画像ファイルにモニタ表示用画像データを追加するようにした。これによって、画像ファイルがプロテクトされている場合でも、モニタ表示用画像データを追加した画像ファイルを生成することができる。 (2) If the image file is protected and image data for monitor display cannot be added, the CPU 106 creates a new image file by copying the image file, and displays the new image file on the monitor. Added image data. As a result, even when the image file is protected, an image file to which monitor display image data is added can be generated.

(3)CPU106は、子画像ファイルを生成した場合には、親画像ファイルと子画像ファイルとを関連付け、重複画像非表示設定がされている場合には、親画像ファイルのモニタ表示用画像と子画像ファイルのモニタ表示用画像とを重複して表示しないようにした。これによって、同じ画像が重複して表示されることを防ぐことができる。 (3) When the child image file is generated, the CPU 106 associates the parent image file with the child image file. When the duplicate image non-display setting is set, the monitor display image and the child image file of the parent image file are set. The image file for monitor display is not duplicated. This prevents the same image from being displayed repeatedly.

(4)CPU106は、親画像ファイルにモニタ表示用画像データが記録されていないときは、親画像ファイルのファイル作成日時と、子画像ファイルに記録されている親画像ファイルの作成日時とが一致する場合に、子画像ファイルのモニタ表示用画像データを表示するようにした。これによって、親画像ファイルにモニタ表示用画像データが記録されていない場合でも、代わりに子画像ファイルのモニタ表示用画像データを表示することができる。 (4) When monitor display image data is not recorded in the parent image file, the CPU 106 matches the file creation date and time of the parent image file with the creation date and time of the parent image file recorded in the child image file. In this case, the monitor display image data of the child image file is displayed. Thereby, even when the monitor display image data is not recorded in the parent image file, the monitor display image data of the child image file can be displayed instead.

(5)CPU106は、親画像ファイルにモニタ表示用画像データが記録されていないときは、親画像ファイルの表示順のときに子画像ファイルのモニタ表示用画像を表示し、子画像ファイルの表示順のときには、次の表示順の画像ファイルのモニタ表示用画像を表示するようにした。これによって、親画像ファイルにモニタ表示用画像データが記録されていない場合でも、親画像ファイルの表示順のときに子画像ファイルのモニタ表示用画像データを表示することができる。 (5) When the monitor display image data is not recorded in the parent image file, the CPU 106 displays the monitor display image of the child image file in the display order of the parent image file, and displays the child image file in the display order. In this case, the monitor display image of the image file in the next display order is displayed. Thereby, even when monitor display image data is not recorded in the parent image file, the monitor display image data of the child image file can be displayed in the display order of the parent image file.

(6)CPU106は、メモリカード109aの空き容量がない場合や、他社製のカメラで作成された画像ファイルである場合等、対象画像ファイルにモニタ表示用画像データを追加することができないと判定した場合には、その旨を警告するようにした。これによって、画像ファイルへのモニタ表示用画像データの追加ができないことを使用者に通知することができる。 (6) The CPU 106 determines that the monitor display image data cannot be added to the target image file, such as when there is no free space in the memory card 109a or the image file is created by a camera manufactured by another company. In some cases, a warning to that effect was made. As a result, the user can be notified that the monitor display image data cannot be added to the image file.

(7)CPU106は、図2および図7に示したように、メモリカードI/F109へメモリカード109aが挿入されたことを検出したとき、または使用者によって画像ファイルへのモニタ表示用画像データの追加が指示されたときに、画像ファイルへモニタ表示用画像データを追加するための処理を実行するようにした。これによって、メモリカード109aが挿入されたタイミングでメモリカード109a内の画像ファイルを対象として一括して処理を行うことができる。また、使用者は、任意のタイミングで処理の開始を指示することができる。 (7) As shown in FIG. 2 and FIG. 7, the CPU 106 detects that the memory card 109a has been inserted into the memory card I / F 109, or the image data for monitor display on the image file by the user. When the addition is instructed, a process for adding the monitor display image data to the image file is executed. Thus, it is possible to perform batch processing on image files in the memory card 109a at the timing when the memory card 109a is inserted. Further, the user can instruct the start of processing at an arbitrary timing.

(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 CPU 106 generates a copy image file by copying the target image file, and monitors the copy image file. After the display image data is added to generate a new MPF file, the copy source target image file is deleted from the memory card 109a. Thus, even when the power of the camera 100 is turned off or the memory card 109a is removed while adding monitor display image data to the target image file, the target image file can be prevented from being destroyed. .

(9)CPU106は、対象画像ファイル内にモニタ表示用画像データを追加したときに、対象画像ファイル内に記録されているViewサムネイル画像データを削除するように設定されている場合には、対象画像内からViewサムネイル画像データを削除するようにした。これによって、同じ表示用画像データとしての性質をもつモニタ表示用画像データとViewサムネイル画像データとが対象画像ファイル内に記録されて、無用に画像ファイルのサイズが大きくなることを防ぐことができる。 (9) When the CPU 106 is set to delete the View thumbnail image data recorded in the target image file when the monitor display image data is added to the target image file, the target image is displayed. The View thumbnail image data is deleted from the inside. Thereby, it is possible to prevent the monitor display image data having the same properties as the display image data and the view thumbnail image data from being recorded in the target image file and unnecessarily increasing the size of the image file.

(10)CPU106は、使用者からの削除指示に基づいて、画像ファイル内に記録されているモニタ表示用画像データを削除するようにした。これによって、使用者は、不要なモニタ表示用画像データを削除することができる。 (10) The CPU 106 deletes the monitor display image data recorded in the image file based on the deletion instruction from the user. As a result, the user can delete unnecessary monitor display image data.

―変形例―
なお、上述した実施の形態のカメラは、以下のように変形することもできる。
(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 CPU 106 resizes the main image data to generate the VGA size or the Full HD size monitor display image data in step S230 of FIG. 4 has been described. However, the CPU 106 may resize the main image data to generate both VGA size monitor display image data and Full HD size monitor display image data. Alternatively, the CPU 106 resizes the main image data to generate Full HD size monitor display image data, and then resizes the Full HD size monitor display image data to generate VGA size monitor display image data. You may do it.

(4)上述した実施の形態では、CPU106は、図4のステップS290で対象画像ファイルへのモニタ表示用画像データの保存方法が、「上書き」であると判断した場合には、ステップS300〜ステップS320の処理を行なうようにした。すなわち、CPU106は、対象画像ファイルをコピーしてコピー画像ファイルを生成し、コピー画像ファイルにモニタ表示用画像データを追加して新たなMPFファイルを生成した後に、コピー元の対象画像ファイルをメモリカード109aから削除するようにした。これに対して、CPU106は、対象画像ファイルにモニタ表示用画像データを追加して、そのまま上書き保存を行うようにしてもよい。 (4) In the embodiment described above, if the CPU 106 determines that the method of saving the monitor display image data in the target image file is “overwrite” in step S290 of FIG. The process of S320 is performed. In other words, the CPU 106 copies the target image file to generate a copy image file, adds monitor display image data to the copy image file to generate a new MPF file, and then stores the copy source target image file in the memory card. It was deleted from 109a. On the other hand, the CPU 106 may add the monitor display image data to the target image file and perform overwriting as it is.

なお、本発明の特徴的な機能を損なわない限り、本発明は、上述した実施の形態における構成に何ら限定されない。また、上述の実施の形態と複数の変形例を組み合わせた構成としてもよい。   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 SYMBOLS 100 Camera, 101 Lens, 102 Image pick-up element, 103 AFE, 104 ASIC, 105 Flash memory, 106 CPU, 107 Operation member, 108 RAM, 109 Memory card I / F, 109a Memory card, 110 Display part

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.
請求項1に記載の画像データ処理装置において、
前記記録手段は、前記検索手段によって検索された画像ファイルが前記モニタ表示用画像データを追加することができない画像ファイルである場合には、該画像ファイルをコピーして新たな画像ファイルを生成し、新たな画像ファイルに前記モニタ表示用画像データを追加することを特徴とする画像データ処理装置。
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.
請求項2に記載の画像データ処理装置において、
前記記録手段によって、前記新たな画像ファイルが生成された場合に、前記新たな画像ファイルと、コピー元となった元の画像ファイルとを関連付ける関連付け手段と、
前記関連付け手段によって関連付けられている画像ファイルの画像を前記表示装置へ表示する場合には、前記新たな画像ファイル内の前記モニタ表示用画像データの画像を表示し、前記元の画像ファイル内の画像データの画像の表示を禁止する表示制御手段とをさらに備えることを特徴とする画像データ処理装置。
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.
請求項3に記載の画像データ処理装置において、
前記複数の画像ファイルには、各画像ファイルの順番を示す順番情報が付与されており、
前記表示制御手段は、ユーザの操作に基づいて、前記モニタ表示用画像データの画像を前記順番情報に基づいて切り換えて表示し、前記元の画像ファイル内に前記モニタ表示用画像データが記録されていない場合には、前記元の画像ファイルの表示順のときに前記新たな画像ファイルの前記モニタ表示用画像データを表示し、前記新たな画像ファイルの表示順のときは、前記新たな画像ファイルの次の順番情報が付与された画像ファイルの前記モニタ表示用画像データを表示することを特徴とする画像データ処理装置。
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.
請求項1に記載の画像データ処理装置において、
前記記録手段は、前記検索手段によって検索された画像ファイルに前記モニタ表示用画像データを追加することができないと判定した場合には、その旨を警告することを特徴とする画像データ処理装置。
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.
請求項1に記載の画像データ処理装置において、
前記指示手段は、使用者による画像データ処理装置への前記記憶媒体の挿入を検出したとき、または使用者によって前記モニタ表示用画像データの追加が指示されたときに、前記生成処理、および前記モニタ表示用画像追加処理の開始を指示することを特徴とする画像データ処理装置。
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.
請求項1に記載の画像データ処理装置において、
前記記録手段は、前記検索手段によって検索された画像ファイルをコピーして新たな画像ファイルを生成し、前記新たな画像ファイルに前記モニタ表示用画像データを追加して前記記憶媒体へ記録し、その後、コピー元の画像ファイルを前記記憶媒体から削除することを特徴とする画像データ処理装置。
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.
請求項1に記載の画像データ処理装置において、
前記記録手段は、前記モニタ表示用画像データを追加した画像ファイルに、前記モニタ表示用画像データと異なる画素数の他の表示用画像データが記録されている場合には、前記他の表示用画像データを削除することを特徴とする画像データ処理装置。
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.
請求項1に記載の画像データ処理装置において、
画像ファイル内に記録されている前記モニタ表示用画像データを削除する削除手段をさらに備えることを特徴とする画像データ処理装置。
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.
JP2010055985A 2010-03-12 2010-03-12 Image data processing apparatus Pending JP2011193111A (en)

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)

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