JP2008263425A - Data recorder and data recording program - Google Patents
Data recorder and data recording program Download PDFInfo
- Publication number
- JP2008263425A JP2008263425A JP2007104884A JP2007104884A JP2008263425A JP 2008263425 A JP2008263425 A JP 2008263425A JP 2007104884 A JP2007104884 A JP 2007104884A JP 2007104884 A JP2007104884 A JP 2007104884A JP 2008263425 A JP2008263425 A JP 2008263425A
- Authority
- JP
- Japan
- Prior art keywords
- data
- priority
- file name
- specific data
- image
- 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
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Television Signal Processing For Recording (AREA)
- Management Or Editing Of Information On Record Carriers (AREA)
Abstract
Description
本発明は、データを記憶媒体に記録するためのデータ記録装置、およびデータ記録プログラムに関する。 The present invention relates to a data recording apparatus and a data recording program for recording data on a storage medium.
次のような画像データ複製方法が知られている。この画像データ複製方法では、画像データを複製するに当たって、各画像データのファイル名が指定された順番になるようにファイル名を変更する(例えば、特許文献1)。 The following image data duplication methods are known. In this image data duplication method, when duplicating image data, the file names are changed so that the file names of the image data are in the specified order (for example, Patent Document 1).
しかしながら、従来の方法によれば、データ出力用の優先順位を変更するために画像データのファイル名を変更する際には、画像データを複製する必要があるため、画像データの記録に要する容量が増えてしまうという問題があった。 However, according to the conventional method, when the file name of the image data is changed in order to change the priority for data output, the image data needs to be duplicated, so that the capacity required for recording the image data is increased. There was a problem of increasing.
本発明は、データ出力用の優先順位を示す優先順位情報がそれぞれに割り当てられている複数のデータを記憶媒体に記録するために、1つのデータを特定し、特定した特定データに、優先順位情報を割り当て、記憶媒体に記録されている特定データ以外のデータである非特定データにそれぞれ割り当てられている優先順位情報(記録優先順位情報)の中に、特定データの優先順位情報(割り当て優先順位情報)と重複する優先順位情報が含まれているか否かを判断し、重複する優先順位情報が含まれていると判断した場合に、非特定データのデータ出力用の優先順位を保持したまま、割り当て優先順位情報と記録優先順位情報とが重複しないように、重複する優先順位情報が割り当てられている非特定データの記録優先順位情報を更新することを特徴とする。
本発明では、データ出力用の優先順位は、データを格納したデータファイルのファイル名を構成する数字によって表され、優先順位に応じた数字を含むファイル名を優先順位情報として特定データに割り当てるようにしてもよい。
また、非特定データのファイル名の中に、特定データのファイル名と重複するファイル名があるか否かを判断し、重複するファイル名があると判断した場合には、重複する非特定データのファイル名を構成する数字に1を加算し、さらに1を加算した後の非特定データのファイル名が、他の非特定データのファイル名と重複する場合には、他の非特定データのファイル名を構成する数字に1を加算し、重複するファイル名がなくなるまでこれを繰り返すことが好ましい。
重複するファイル名がなくなるまで処理を繰り返した後、特定データおよび非特定データのファイル名を構成する数字が、優先順位が高いものから昇順に並ぶように、特定データおよび非特定データのファイル名を更新するようにしてもよい。
記憶媒体に記録されている複数のデータの中から、使用者によって指定された1つのデータを特定データとして特定し、特定データの優先順位が使用者によって指定された優先順位となるように、特定データに優先順位情報を割り当てるようにしてもよい。
被写体像を撮像して画像データを取得し、取得した画像データを特定データとして特定し、特定データの出力用の優先順位が使用者によって指定された優先順位となるように、特定データに優先順位情報を割り当てるようにしてもよい。
被写体像を撮像して画像データを取得し、取得した画像データのうち、使用者によってデータ出力用の優先順位を上げるように指定されたものを特定データとして特定し、特定データの出力用の優先順位が使用者によって指定された優先順位となるように、特定データに優先順位情報を割り当てるようにしてもよい。
このとき、取得した画像データのうち、使用者によってデータ出力用の優先順位を上げるように指定されていない画像データに対しては、データ出力用の優先順位が記憶媒体に記録されている複数のデータの中で最も低くなるように、優先順位情報を割り当てるようにしてもよい。
According to the present invention, in order to record a plurality of data, each of which is assigned priority information indicating a priority for data output, on a storage medium, one data is specified, and priority information is specified in the specified specific data. In the priority information (recording priority information) assigned to the non-specific data that is data other than the specific data recorded in the storage medium, the priority information (allocation priority information) of the specific data ) And whether or not priority information that overlaps is included. If it is determined that overlapping priority information is included, allocation is performed while maintaining the priority for data output of non-specific data. Update the recording priority information of the non-specific data to which the overlapping priority information is assigned so that the priority information and the recording priority information do not overlap. The features.
In the present invention, the priority for data output is represented by a number constituting the file name of the data file storing the data, and a file name including a number corresponding to the priority is assigned to specific data as priority information. May be.
Also, it is determined whether there is a file name that overlaps the file name of the specific data in the file name of the non-specific data. If it is determined that there is a duplicate file name, If the file name of the non-specific data after adding 1 to the number constituting the file name and further adding 1 overlaps with the file name of other non-specific data, the file name of the other non-specific data It is preferable to add 1 to the number that constitutes and repeat this until there are no duplicate file names.
After repeating the process until there are no duplicate file names, specify the file names of the specific data and non-specific data so that the numbers constituting the file names of the specific data and non-specific data are arranged in ascending order from the highest priority. You may make it update.
Specify one data specified by the user as specific data from multiple data recorded on the storage medium, and specify the priority of the specific data to be the priority specified by the user Priority information may be assigned to data.
Priority is given to specific data so that image data is acquired by capturing a subject image, the acquired image data is specified as specific data, and the priority for output of specific data is the priority specified by the user. Information may be assigned.
Image data is obtained by capturing a subject image, and among the acquired image data, those specified by the user to increase the priority for data output are specified as specific data, and priority for output of specific data is specified. The priority information may be assigned to the specific data so that the priority is the priority specified by the user.
At this time, among the acquired image data, for the image data not designated by the user to increase the priority for data output, a plurality of data output priorities recorded in the storage medium are stored. The priority order information may be assigned so as to be the lowest in the data.
本発明によれば、データの記録に要する容量を増やさずにデータ出力用の優先順位を変更することができる。 According to the present invention, the priority for data output can be changed without increasing the capacity required for data recording.
―第1の実施の形態―
図1は、第1の実施の形態におけるカメラ(撮影装置)の一実施の形態の構成を示すブロック図である。カメラ100は、操作部材101と、レンズ102と、撮像素子103と、制御装置104と、メモリカードスロット105と、モニタ106とを備えている。操作部材101は、使用者によって操作される種々の入力部材、例えば電源ボタン、レリーズスイッチ、ズームボタン、十字キー、決定ボタン、再生ボタン、削除ボタンなどを含んでいる。
-First embodiment-
FIG. 1 is a block diagram showing a configuration of an embodiment of a camera (imaging device) in the first embodiment. The
レンズ102は、複数の光学レンズ群から構成されるが、図1では代表して1枚のレンズで表している。撮像素子103は、例えばCCDやCMOSであり、レンズ102により結像した被写体像を撮像して画像を取得する。そして、取得した画像のデータ(画像データ)を制御装置104へ出力する。制御装置104は、撮像素子103で取得された画像データを所定の画像形式、例えばJpeg形式に圧縮し、Exif(Exchangeable Image File Format for Digital Still Camera)等の所定の形式の画像ファイルを生成してメモリカードスロット105へ出力する。
The
メモリカードスロット105は、記憶媒体としてのメモリカードを挿入するためのスロットであり、制御装置104から出力された画像ファイルをメモリカードに書き込んで記録する。また、制御装置104からの指示に基づいて、メモリカード内に記憶されている画像ファイルを読み込む。
The
モニタ106は、カメラ100の背面に搭載された液晶モニタ(背面モニタ)であり、当該モニタ106には、メモリカードに記憶されている画像やカメラ100を設定するための設定メニューなどが表示される。
The
制御装置104は、CPU、メモリ、およびその他の周辺回路により構成され、表示制御部104aと、優先順位変更部104bと、ファイル名更新部104cとを機能的に備えている。なお、制御装置104を構成するメモリには、バッファメモリとして使用されるROM、例えばフラッシュメモリや、RAM、例えばSDRAMを含む。
The
表示制御部104aは、使用者によって操作部材101、例えば再生ボタンが押下されると、メモリカードスロット105を介してメモリカード内に記憶されている画像を読み込み、モニタ106上に一覧表示する。一覧表示の方法としては、例えばサムネイル画像を一覧表示したり、画像のファイル名を一覧表示したりすることができる。
When the user presses the
本実施の形態では、メモリカードに記憶されている画像ファイルには、あらかじめ決められた命名規則に沿って一意に割り当てられたファイル名が付加されている。例えば、画像ファイルに所定の文字列と数字とを組み合わせたファイル名を付加する場合には、画像が撮影される度に数字に1を加算していき、ファイル名を構成する数字部分を連番にすることで、ファイル名の重複を避ける。このファイル名を構成する数字部分は、画像を出力する際の優先順位情報としても使用され、表示制御部104aは、ファイル名を構成する数字が若い順に(ファイル名の昇順に)画像をモニタ106に表示する。
In the present embodiment, a file name uniquely assigned according to a predetermined naming rule is added to the image file stored in the memory card. For example, when a file name combining a predetermined character string and a number is added to an image file, 1 is added to the number every time an image is photographed, and the number part constituting the file name is serialized. To avoid duplication of file names. The number part constituting the file name is also used as priority order information when outputting the image, and the
例えば、ファイル名が「DSCN」という文字列と4桁の数字とで構成される場合について説明する。この場合には、ファイル名は「DSCN0001」、「DSCN0002」のように表される。そして、上述したように、数字部分が画像出力時の優先順位を表しているため、上記2つのファイル名の画像ファイルがある場合には、ファイル名が「DSCN0001」の画像ファイルの方が優先順位(出力優先順位)が高く、こちらの画像ファイルの表示順が「DSCN0002」よりも先になる。 For example, a case where the file name is composed of a character string “DSCN” and a 4-digit number will be described. In this case, the file names are represented as “DSCN0001” and “DSCN0002”. As described above, since the numerical part represents the priority order when outputting the images, when there are image files with the two file names, the image file with the file name “DSCN0001” has the priority order. (Output priority) is high, and the display order of this image file is ahead of “DSCN0002”.
本実施の形態では、使用者は、このように画像のファイル名に基づいて決定される画像出力時の優先順位を、操作部材101を操作して変更することができる。例えば、使用者は、モニタ106にサムネイル一覧、またはファイル名一覧が優先順位順、すなわちファイル名の昇順に表示されている状態で、いずれか1つのサムネイル画像、またはファイル名を十字キーを操作して選択し、決定ボタンを押下することで画像の選択を確定する。その後、さらに十字キーを操作して、一覧内で選択を確定した画像を挿入したい位置を選択し、決定ボタンを押下することで、その画像についての変更後の優先順位を確定する。なお、使用者は上記処理を繰り返し行って、一度に複数の画像について優先順位の変更を指示することができ、指示が完了した場合には、決定ボタンを押下して指示を確定する。
In the present embodiment, the user can change the priority at the time of image output determined based on the file name of the image in this manner by operating the
優先順位変更部104bは、使用者による優先順位の変更が指示されると、メモリカードに記録されている画像ファイルのファイル名情報を取得する。例えば、優先順位変更部104bは、メモリカードのファイルシステム情報(FAT情報)を読み込んで、メモリカードに記録されている画像ファイルのファイル名一覧をファイル名情報として取得する。
The
そして、優先順位変更部104bは、使用者による優先順位の変更指示に基づいて、優先順位の変更が指示された画像のうち、1つの画像を特定し、その特定した画像(特定画像)の優先順位を、使用者によって変更された新たな優先順位に変更する。すなわち、RAM上で、特定画像のファイル名を新たな優先順位に応じたファイル名に変更する。なお、優先順位の変更が指示された画像のうち、どの画像を特定画像として特定するかについては、後述する。以下、後述するファイル名更新部104cがメモリカード内に記録されている画像ファイルのファイル名を更新するまでの間は、ファイル名の変更は全てRAM上で行われ、実際の画像ファイルのファイル名の書き換えは行わない。
Then, the priority
さらに、優先順位変更部104bは、特定画像の新たな優先順位に応じたファイル名が、メモリカード内に記憶されている他の画像ファイル、すなわち特定画像以外の非特定画像のファイル名と重複しないかをチェックする。その結果、ファイル名が重複すると判断した場合には、その重複するファイル名を、特定画像の新たなファイル名と重複しないように変更する。
Further, the priority
具体的には、優先順位変更部104bは、特定画像とファイル名が重複する非特定画像のファイル名の数字部分に1を加算することで、該当する非特定画像の優先順位を1つ下げてファイル名の重複を解消する。その結果、優先順位を変更した非特定画像のファイル名が、他の非特定画像のいずれかのファイル名と重複する可能性がある。この場合には、優先順位変更部104bは、ファイル名の重複を解消するために、他の非特定画像のファイル名の数字部分にも1を加算し、ファイル名の重複がなくなるまでRAM上でこれを繰り返していく。
Specifically, the
優先順位変更部104bは、1つの特定画像についての優先順位変更処理が完了したら、使用者によって優先順位の変更が指示された他の画像についても、各画像ごとに同様に処理して、優先順位を変更していく。これによって、使用者によって優先順位の変更が指示された画像のファイル名を、他の画像のファイル名との重複を回避しながら、使用者によって指定された優先順位に応じたファイル名に変更することができる。
When the priority order changing process for one specific image is completed, the priority
図2は、本実施の形態におけるファイル名変更処理の具体例を示す図である。まず、前提として、メモリカード内には図2(a)に示すようにファイル名が付加された14の画像ファイルが記憶されているものとし、この図2(a)に示すファイル名一覧がファイル名情報としてRAM上に読み込まれているものとする。そして、上述したように、表示制御部104aがこの14の画像ファイルを示す情報、例えばサムネイル画像やファイル名をモニタ106に一覧表示した結果、使用者によって矢印A、B、およびCに示すように優先順位の変更が指示されたものとする。
FIG. 2 is a diagram showing a specific example of the file name change process in the present embodiment. First, it is assumed that 14 image files with file names added are stored in the memory card as shown in FIG. 2A, and the file name list shown in FIG. It is assumed that the name information is read on the RAM. As described above, as a result of the
すなわち、使用者によって、「DSCN0005」の優先順位を「DSCN0001」の下位に変更する変更指示A、「DSCN0003」の優先順位を「DSCN0181」の下位に変更する変更指示B、および「DSCN0182」の優先順位を「DSCN0185」の下位に変更する変更指示Cがなされたものとする。 That is, the change instruction A for changing the priority order of “DSCN0005” to a lower order of “DSCN0001”, the change instruction B for changing the priority order of “DSCN0003” to a lower order of “DSCN0181”, and the priority of “DSCN0182”. It is assumed that a change instruction C for changing the rank to a lower order of “DSCN0185” is given.
このように、複数の画像ファイルを対象として優先順位の変更が指示された場合には、優先順位変更部104bは、まず、変更先の優先順位が下位となる変更指示から順番に変更処理を行う。すなわち、図2(a)に示す例では、変更指示C、変更指示B、変更指示Aの順に各変更指示に対する処理を行う。
As described above, when a priority change is instructed for a plurality of image files, the
優先順位変更部104bは、図2(b)に示すように、変更指示Cに従って「DSCN0182」を特定画像として特定し、当該特定画像の優先順位を「DSCN0185」の下位へ移動する。すなわち、RAM上で特定画像のファイル名をファイル名を「DSCN0182」から「DSCN0186」に変更する。その結果、非特定画像の中にすでに「DSCN0186」というファイル名の画像が存在するため、ファイル名の重複が生じる。よって、優先順位変更部104bは、図2(c)に示すように、ファイル名が重複する非特定画像のファイル名、すなわち「DSCN0186」の数字部分に1を加算して「DSCN0187」に変更する。
As shown in FIG. 2B, the priority
さらに、優先順位変更部104bは、すでに非特定画像の中に「DSCN0187」が存在していることから、ファイル名の重複を解消するために従来の「DSCN0187」を「DSCN0188」に変更し、従来の「DSCN0188」を「DSCN0189」に変更していく。これによって、図2(c)に示すように、ファイル名の重複を解消しつつ、変更指示Cに基づく優先順位の変更、すなわちファイル名の変更を行うことができる。
Furthermore, since “DSCN0187” already exists in the non-specific image, the
次に、優先順位変更部104bは、図2(d)に示すように、変更指示Bに従って「DSCN0003」を特定画像として特定し、当該特定画像の優先順位を「DSCN0181」の下位へ移動する。すなわち、RAM上で特定画像のファイル名をファイル名を「DSCN0003」から「DSCN0182」に変更する。この場合、当初あった「DSCN0182」というファイル名は、上述した変更指示Cに基づく処理によって存在しなくなっていることから、変更後の特定画像のファイル名と、非特定画像のファイル名との重複は発生しない。よって、優先順位変更部104bは、非特定画像のファイル名変更を行なわずに変更指示Bに基づく処理を終了する。これによって、図2(e)に示すように、変更指示Bに基づく優先順位の変更、すなわちファイル名の変更を行うことができる。
Next, as shown in FIG. 2D, the
次に、優先順位変更部104bは、図2(f)に示すように、変更指示Aに従って「DSCN0005」を特定画像として特定し、当該特定画像の優先順位を「DSCN0001」の下位へ移動する。すなわち、RAM上で特定画像のファイル名をファイル名を「DSCN0005」から「DSCN0002」に変更する。その結果、非特定画像の中にすでに「DSCN0002」というファイル名の画像が存在するため、ファイル名の重複が生じる。よって、優先順位変更部104bは、図2(g)に示すように、ファイル名が重複する非特定画像のファイル名、すなわち「DSCN0002」の数字部分に1を加算して「DSCN0003」に変更する。
Next, as shown in FIG. 2 (f), the
さらに、優先順位変更部104bは、非特定画像の中に「DSCN0003」というファイル名が存在するかをチェックする。ここでは、上述した変更指示Bに基づく処理によって「DSCN0003」は存在しなくなっているため、変更後の特定画像のファイル名と、非特定画像のファイル名との重複はこれ以上は発生しない。よって、優先順位変更部104bは、ここで変更指示Aに基づく処理を終了する。これによって、図2(g)に示すように、変更指示Aに基づく優先順位の変更、すなわちファイル名の変更を行うことができる。
Furthermore, the
上述したようなファイル名変更処理を行った場合には、ファイル名の重複を避けることはできるが、ファイル名を昇順(または降順)に並べた場合に、数字部分に空き番ができてしまう。例えば、図2(g)に示す例では、「DSCN0005」が空き番となり、さらに「DSCN0006」から「DSCN0181」まで番号が飛んでしまっている。このため、本実施の形態では、優先順位を変更した後のファイル名の数字部分が連番になるように一括して更新するための連番更新モードを備えており、使用者によって、カメラ100のモードが連番更新モードに設定されている場合には、優先順位変更部104bは、RAM上で、優先順位が高いものから順番にファイル名の数字部分が昇順に並ぶように、ファイル名を振り直す。
When the file name changing process as described above is performed, duplication of the file name can be avoided, but when the file names are arranged in ascending order (or descending order), an empty number is created in the numeric part. For example, in the example shown in FIG. 2G, “DSCN0005” is an empty number, and the numbers from “DSCN0006” to “DSCN0181” are skipped. For this reason, in this embodiment, there is provided a serial number update mode for updating in a batch so that the numerical parts of the file names after changing the priority order are serial numbers. Is set to the sequential number update mode, the priority
具体的には、図2(h)に示すように、優先順位が高いファイルから順番に「DSCN0001」〜「DSCN0014」となるように、「DSCN0005」以降のファイル名を振り直す。これによって、ファイル名に優先順位に応じた連番を含めることができ、画像の管理が容易になる。なお、カメラ100のモードが連番更新モードに設定されていない場合には、図2(g)に示す状態で優先順位変更後のファイル名を確定する。また、ここでは、連番更新モードに設定されている場合にファイル名を振り直す例について説明したが、これに限定されず、優先順位の変更が完了した時点で、ファイル名が連番となるように振り直すか否かを、使用者に問い合わせるようにしてもよい。
Specifically, as shown in FIG. 2H, the file names after “DSCN0005” are reassigned so that “DSCN0001” to “DSCN0014” are assigned in order from the file with the highest priority. As a result, serial numbers corresponding to the priority order can be included in the file name, and image management becomes easy. If the mode of the
ファイル名更新部104cは、メモリカードに記憶されている画像ファイルのファイル名を、RAMに記憶されているファイル名で更新して、上述した処理による優先順位の変更結果を実際のファイル名に反映する。これによって、各画像ファイルのファイル名を、使用者によって変更された優先順位を反映させたファイル名に更新することができる。
The file
その後、表示制御部104aは、モニタ106に表示するサムネイル一覧またはファイル名一覧を、変更後の優先順位に応じた出力順となるように、再表示する。
Thereafter, the
図3は、第1の実施の形態におけるカメラ100の処理を示すフローチャートである。図3に示す処理は、使用者によって優先順位の変更が指示されると起動するプログラムとして、制御装置104によって実行される。
FIG. 3 is a flowchart showing the processing of the
ステップS10において、優先順位変更部104bは、メモリカード内に記憶されている画像ファイルのファイル名情報をRAM上に読み込んで、ステップS20へ進む。ステップS20では、図2で上述したように、優先順位変更部104bは、未処理の変更指示のうち、変更後の優先順位が最も下位になる優先順位の変更指示を処理対象の変更指示として選択する。そして、変更指示に基づいて特定画像を特定して、ステップS30へ進む。
In step S10, the
ステップS30では、優先順位変更部104bは、図4で後述するファイル名変更処理を実行して、ステップS20で特定した特定画像の優先順位が、変更指示に基づく優先順位となるように、特定画像のファイル名を変更する。また、特定画像のファイル名を変更した結果、特定画像の新たなファイル名と非特定画像のファイル名が重複した場合には、ファイル名の重複がなくなるまで非特定画像のファイル名を変更していく。その後、ステップS40へ進む。
In step S30, the priority
ステップS40では、優先順位変更部104bは、全ての変更指示についてファイル名変更処理が完了したか否かを判断する。例えば、図2で上述した例では、変更指示A〜Cの全てについて処理が完了したか否かを判断する。否定判断した場合には、ステップS20へ戻って処理を繰り返す。これに対して、肯定判断した場合には、ステップS50へ進む。
In step S40, the priority
ステップS50では、優先順位変更部104bは、カメラ100のモードが上述した連番更新モードに設定されているか否かを判断する。否定判断した場合には、後述するステップS70へ進む。一方、肯定判断した場合には、ステップS60へ進み、優先順位変更部104bは、図2(h)に示したように、RAM上で優先順位が高いものから順番にファイル名の数字部分が昇順に並ぶように、ファイル名を振り直す。その後、ステップS70へ進む。
In step S50, the
ステップS70では、ファイル名更新部104cは、メモリカードに記憶されている画像ファイルのファイル名を、RAMに記憶されているファイル名で更新して、優先順位の変更結果を実際のファイル名に反映する。その後、ステップS80へ進み、表示制御部104aは、変更後の優先順位に応じた出力順となるように、モニタ106上にサムネイル一覧、またはファイル名一覧を再表示する。すなわち、モニタ106上にサムネイル一覧、またはファイル名一覧をファイル名の昇順で再表示する。その後、処理を終了する。
In step S70, the file
図4は、ステップS30で実行されるファイル名変更処理の流れを示すフローチャートである。ステップS31において、優先順位変更部104bは、図3のステップS20で選択した処理対象の変更指示に基づいて、RAM上で特定画像のファイル名を変更後の優先順位に応じたファイル名に変更する。
FIG. 4 is a flowchart showing the flow of the file name change process executed in step S30. In step S31, the priority
その後、ステップS32へ進み、優先順位変更部104bは、RAM上に読み込み済みのファイル名情報に基づいて、特定画像の変更後のファイル名と非特定画像のファイル名とが重複するか否かをチェックする。そして、重複すると判断した場合には、ステップS33へ進み、ファイル名が重複する非更新画像のファイル名の数字部分に1を加算して重複を回避し、ステップS32に戻る。
Thereafter, the process proceeds to step S32, and the priority
その後、ステップS32では、優先順位変更部104bは、再度、ファイル名を変更した非更新画像と、その他の非更新画像のファイル名が重複するか否かをチェックし、重複がなくなるまでステップS32およびステップS33を繰り返す。そして、ファイル名が重複しないと判断した場合には、図3で上述した処理に復帰する。
Thereafter, in step S32, the
以上説明した第1の実施の形態によれば、以下のような作用効果を得ることができる。
(1)優先順位変更部104bは、使用者による優先順位の変更指示に基づいて1つの画像を特定画像として特定し、特定画像に変更指示に基づく優先順位情報としてのファイル名を割り当てた。そして、メモリカードに記録されている特定画像以外の画像である非特定画像のファイル名の中に、特定画像に割り当てたファイル名をと重複するものが含まれているか否かを判断し、重複するものが含まれていると判断した場合に、非特定画像の優先順位を保持したまま特定画像のファイル名と非特定画像のファイル名とが重複しないように、非特定画像のファイル名を更新するようにした。これによって、ファイル名の重複を回避しつつ、特定画像のファイル名を、使用者による変更指示に基づく優先順位に応じたファイル名に変更することができる。
According to the first embodiment described above, the following operational effects can be obtained.
(1) The
(2)データ出力用の優先順位は、画像ファイルを構成する数字部分によって表すようにした。これによって、優先順位の変更は、数字部分の変更だけで済み、処理を簡略化できる。また、優先順位の高低を判定する際にも、数字の大小関係によって判定できるため、処理を簡略化することができる。 (2) The priority order for data output is expressed by the numerical part constituting the image file. As a result, the priority can be changed only by changing the numerical part, and the processing can be simplified. Also, when determining the level of priority, the determination can be made based on the magnitude relationship of the numbers, so that the processing can be simplified.
(3)優先順位変更部104bは、非特定画像のファイル名の中に、特定画像のファイル名と重複するものがあると判断した場合には、重複する非特定画像のファイル名を構成する数字部分に1を加算し、さらに1を加算した後の非特定画像のファイル名が、他の非特定画像のファイル名と重複する場合には、他の非特定画像のファイル名に1を加算し、重複するファイル名がなくなるまでこれを繰り返すようにした。これによって、確実にファイル名の重複を排除することができる。
(3) If the priority
(4)優先順位変更部104bは、カメラ100のモードが連番更新モードに設定されている場合には、重複するファイル名がなくなるまで処理を繰り返した後、特定画像および非特定画像のファイル名を構成する数字が、連番となり、かつ優先順位が高いものから昇順に並ぶように、特定画像および非特定画像のファイル名を更新するようにした。これによって、ファイル名として優先順位に応じた連番を付加することができ、画像の管理が容易になる。
(4) When the mode of the
(5)記憶媒体に記録されている複数の画像の中、すなわちサムネイル一覧またはファイル名一覧の中から使用者によって指定された画像のうち1つの画像を特定画像として特定し、特定画像の優先順位が使用者によって指定された優先順位となるように、特定画像に優先順位情報としてのファイル名を割り当てるようにした。これによって、使用者は優先順位を変更したい画像を任意に選択することができる。 (5) One of images specified by the user from a plurality of images recorded on the storage medium, that is, a thumbnail list or a file name list is specified as a specific image, and the priority order of the specific image A file name as priority information is assigned to a specific image so that is a priority specified by the user. As a result, the user can arbitrarily select an image whose priority is to be changed.
―第2の実施の形態―
第2の実施の形態では、撮影を行うたびに、使用者による優先順位の変更指示を受け付け、使用者によって優先順位の変更が指示された場合に、撮影して取得した画像(撮影画像)に対して優先順位が最も高くなるようにファイル名を付加する方法について説明する。なお、第2の実施の形態では、図1に示したカメラ100のブロック図、および図4に示したファイル名変更処理については、第1の実施の形態と同様のため、説明を省略する。
-Second embodiment-
In the second embodiment, every time shooting is performed, an instruction to change priority is received by the user, and when the priority is changed by the user, an image (captured image) obtained by shooting is acquired. A method for adding a file name so that the priority order is the highest will be described. In the second embodiment, the block diagram of the
図5は、本実施の形態におけるファイル名変更処理の具体例を示す図である。まず、前提として、メモリカード内には図5(a)に示すようにファイル名が付加された10の画像ファイルが記憶されているものとし、この図5(a)に示すファイル名一覧がファイル名情報としてRAM上に読み込まれているものとする。 FIG. 5 is a diagram showing a specific example of the file name change process in the present embodiment. First, it is assumed that 10 image files with file names added are stored in the memory card as shown in FIG. 5A, and the file name list shown in FIG. It is assumed that the name information is read on the RAM.
このとき、使用者によって画像の撮影が指示され、撮像素子103から画像データが入力されると、制御装置104は、上述したように画像ファイルを生成する。そして、優先順位変更部104bは、撮影を行ってから一定時間、例えばモニタ106に撮影した画像を確認表示している間、撮影画像に対する使用者からの優先順位変更指示(優先順位アップ指示)を受付ける。この間に使用者は、決定ボタンを長押しするなど、所定の操作を行うことによって、撮影画像に対する優先順位の変更を指示することができる。
At this time, when the user gives an instruction to capture an image and image data is input from the
使用者からの優先順位変更指示があった場合には、優先順位変更部104bは、撮影画像を特定画像として特定し、図5(b)に示すように、特定画像の優先順位をメモリカードに記憶されている画像の中で最も高く設定する。すなわち、優先順位変更部104bは、特定画像のファイル名を「DSCN0001」とし、RAM上に記録したファイル情報に書き込む。
When there is a priority change instruction from the user, the
その結果、図5(b)に示すように、特定画像と、ファイル名が「DSCN0001」である非特定画像とのファイル名が重複することから、優先順位変更部104bは、当該非特定画像のファイル名を、その数字部分に1を加算して「DSCN0002」に変更する。さらに変更後の非特定画像のファイル名と、今までファイル名が「DSCN0002」であった非特定画像のファイル名とが重複するので、この非特定画像のファイル名を「DSCN0003」に変更する。以降、図5(c)に示すように、優先順位変更部104bは、ファイル名の重複がなくなるまで順番に非特定画像のファイル名の数字部分に1を加算していき、各非特定画像の優先順位を1つずつ繰り下げていく。
As a result, as shown in FIG. 5B, since the file names of the specific image and the non-specific image whose file name is “DSCN0001” overlap, the
その後、図5(d)に示すように、さらに画像が撮影され、使用者からその画像に対する優先順位変更指示があった場合には、優先順位変更部104bは、その画像のファイル名を「DSCN0001」に設定する。そして、図5(e)に示すように、同様に非特定画像のファイル名の数字部分に1を加算していく。これによって、使用者によって優先順位をアップするように指定された画像の優先順位を最も高くすることができ、さらに各ファイルのファイル名が重複することを防ぐことができる。
After that, as shown in FIG. 5D, when a further image is taken and the user gives a priority change instruction for the image, the
一方、画像が撮影されたときに、使用者からの優先順位変更指示が無い場合には、優先順位変更部104bは、撮影画像の優先順位を最も低く設定する。すなわち、図5(f)に示すように、RAM上に記憶されているファイル名情報を参照して現在最も優先順位が低く設定されている画像のファイル名を特定し、そのファイル名の数字部分に1を加算したファイル名を撮影画像の画像ファイルに対して付加する。
On the other hand, when there is no priority order change instruction from the user when the image is taken, the priority
図6は、第2の実施の形態におけるカメラ100の処理を示すフローチャートである。図6に示す処理は、使用者によって撮影が指示されると起動するプログラムとして、制御装置104によって実行される。なお、図6においては、第1の実施の形態で上述した図3と処理内容が同様のステップには同じステップ番号を付与して説明を省略し、相違点を中心に説明する。
FIG. 6 is a flowchart illustrating processing of the
ステップS1において、制御装置104は、撮像素子103を制御して被写体像を撮像し、画像を取得する。その後、ステップS2へ進み、制御装置104は、撮像素子103から入力される画像データを画像処理して、上述したように画像ファイルを生成して、ステップS3へ進む。ステップS3では、表示制御部104aは、取得した画像を一定の時間モニタ106に出力して、モニタ106に確認画像を表示する。
In step S <b> 1, the
その後、ステップS10へ進み、優先順位変更部104bは、メモリカード内に記憶されている画像ファイルのファイル名情報をRAM上に読み込んで、ステップS11へ進む。ステップS11では、撮影画像を特定画像として特定して、ステップS12へ進む。ステップS12では、優先順位変更部104bは、確認画像の表示中に、使用者から撮影画像に対する優先順位変更指示があったか否かを判断する。
Thereafter, the process proceeds to step S10, and the priority
優先順位変更指示があったと判断した場合には、ステップS21へ進み、優先順位変更部104bは、特定画像の変更後の優先順位をメモリカードに記憶されている画像の中で最も高く設定して、ステップS30へ進む。一方、優先順位変更指示がないと判断した場合には、ステップS22へ進み、優先順位変更部104bは、特定画像の変更後の優先順位をメモリカードに記憶されている画像の中で最も低く設定して、ステップS23へ進む。ステップS23では、図5(f)に示したように、撮影画像に最も低い優先順位に応じたファイル名を付加して、ステップS71へ進む。
If it is determined that there has been a priority order change instruction, the process proceeds to step S21, and the priority
ステップS71では、ファイル名を付加した撮影画像の画像ファイルをメモリカードへ記録して、処理を終了する。 In step S71, the image file of the captured image to which the file name is added is recorded on the memory card, and the process ends.
以上説明した第2の実施の形態によれば、第1の実施の形態における作用効果に加えて、以下のような効果を得ることができる。
(1)撮影画像のうち、使用者によって優先順位を上げるように指示されたものを特定画像として特定し、使用者によって特定画像の出力用の優先順位を変更するように(上げるように)指示された場合には、特定画像の優先順位を最も高く設定してファイル名を付加するようにした。これによって、使用者は、好みの画像の優先順位を上げて、好みの画像が優先的に表示されるようにすることができる。
According to the second embodiment described above, the following effects can be obtained in addition to the functions and effects of the first embodiment.
(1) Among the captured images, an image instructed to increase the priority by the user is specified as a specific image, and an instruction to change (to increase) the priority for outputting the specific image by the user In such a case, the priority of the specific image is set to the highest priority and the file name is added. Thus, the user can increase the priority order of the favorite images so that the favorite images are preferentially displayed.
(2)使用者によって優先順位を上げるように指示されていない場合には、メモリカードに記録されている非特定画像の中で優先順位が最も低くなるように、特定画像に対してファイル名を付加するようにした。これによって、使用者は好みの画像以外は優先順位を下げて記録することができ、好みの画像以外が優先的に表示されるのを防ぐことができる。 (2) If the user is not instructed to increase the priority, a file name is assigned to the specific image so that the priority is the lowest among the non-specific images recorded on the memory card. Added. As a result, the user can record the images other than the favorite images at a lower priority, and can prevent the images other than the favorite images from being displayed preferentially.
―第3の実施の形態―
第3の実施の形態では、使用者は、あらかじめ撮影画像に対して設定したい優先順位を指定しておき、撮影が行われるたびに、撮影画像に対してあらかじめ指定されている優先順位に基づくファイル名を付加する方法について説明する。なお、第3の実施の形態では、図1に示したカメラ100のブロック図、および図4に示したファイル名変更処理については、第1の実施の形態と同様のため、説明を省略する。
-Third embodiment-
In the third embodiment, a user designates a priority order to be set for a captured image in advance, and a file based on a priority order specified in advance for the captured image every time shooting is performed. A method for adding a name will be described. In the third embodiment, the block diagram of the
図7は、本実施の形態におけるファイル名変更処理の具体例を示す図である。まず、前提として、メモリカード内には図7(a)に示すようにファイル名が付加された10の画像ファイルが記憶されているものとし、この図7(a)に示すファイル名一覧がファイル名情報としてRAM上に読み込まれているものとする。また、使用者によって、撮影画像の優先順位が常に5番になるようにあらかじめ設定されているものとする。すなわち、本実施の形態では、撮影画像の画像ファイルに対しては、常に「DSCN0005」というファイル名が付加されるものとする。 FIG. 7 is a diagram showing a specific example of the file name change process in the present embodiment. First, it is assumed that 10 image files with file names added are stored in the memory card as shown in FIG. 7A, and the file name list shown in FIG. It is assumed that the name information is read on the RAM. In addition, it is assumed that the priority is set in advance by the user so that the priority order of the captured image is always 5. That is, in the present embodiment, the file name “DSCN0005” is always added to the image file of the captured image.
なお、使用者は、操作部材101を操作することにより優先順位の設定をすることができる。操作部材101により入力された優先順位(例えば5番)は、制御装置104のRAMに記憶される。
The user can set priority by operating the
このとき、使用者によって画像の撮影が指示され、撮像素子103から画像データが入力されると、制御装置104は、上述したように画像ファイルを生成する。そして、優先順位変更部104bは、撮影画像を特定画像として特定し、図7(b)に示すように、特定画像のファイル名を「DSCN0005」として、RAM上に記録したファイル情報に書き込む。
At this time, when the user gives an instruction to capture an image and image data is input from the
その結果、図7(b)に示すように、特定画像と、ファイル名が「DSCN0005」である非特定画像とのファイル名が重複することから、優先順位変更部104bは、当該非特定画像のファイル名を、その数字部分に1を加算して「DSCN0006」に変更する。さらに変更後の非特定画像のファイル名と、今までファイル名が「DSCN0006」であった非特定画像のファイル名とが重複するので、この非特定画像のファイル名を「DSCN0007」に変更する。以降、図7(c)に示すように、優先順位変更部104bは、ファイル名の重複がなくなるまで順番に非特定画像のファイル名の数字部分に1を加算していき、各非特定画像の優先順位を1つずつ繰り下げていく。
As a result, as shown in FIG. 7B, since the file name of the specific image and the non-specific image whose file name is “DSCN0005” overlap, the
その後、図7(d)に示すように、さらに画像が撮影された場合には、優先順位変更部104bは、その画像のファイル名を「DSCN0005」に設定する。そして、図7(e)に示すように、同様にファイル名が「DSCN0005」以降の非特定画像のファイル名の数字部分に1を加算していく。これによって、撮影画像のファイル名を、使用者によってあらかじめ設定された優先順位に基づくファイル名にすることができ、さらに各ファイルのファイル名が重複することを防ぐことができる。
Thereafter, as shown in FIG. 7D, when a further image is taken, the
図8は、第3の実施の形態におけるカメラ100の処理を示すフローチャートである。図8に示す処理は、使用者によって撮影が指示されると起動するプログラムとして、制御装置104によって実行される。なお、図8においては、第1の実施の形態で上述した図3、および第2の実施の形態で上述した図6と処理内容が同様のステップには同じステップ番号を付与して説明を省略し、相違点を中心に説明する。
FIG. 8 is a flowchart illustrating processing of the
ステップS11では、撮影画像を特定画像として特定して、ステップS24へ進み、特定画像の変更後の優先順位をあらかじめ設定されている優先順位に設定して、ステップS30へ進む。 In step S11, the captured image is specified as a specific image, the process proceeds to step S24, the priority order after the change of the specific image is set to a preset priority order, and the process proceeds to step S30.
以上説明した第3の実施の形態によれば、第1の実施の形態における作用効果に加えて、以下のような効果を得ることができる。すなわち、撮影画像を特定画像として特定し、特定画像の出力用の優先順位が使用者によってあらかじめ指定された優先順位となるように、特定画像に優先順位情報としてのファイル名を付加するようにした。これによって、最新の撮影画像に対して、常に使用者が指定した優先順位に基づくファイル名を付加することができる。 According to the third embodiment described above, the following effects can be obtained in addition to the functions and effects of the first embodiment. That is, the photographed image is specified as the specific image, and the file name as priority information is added to the specific image so that the priority for output of the specific image is the priority specified in advance by the user. . This makes it possible to always add a file name based on the priority order designated by the user to the latest photographed image.
―変形例―
なお、上述した実施の形態のカメラは、以下のように変形することもできる。
(1)上述した第1〜第3の実施の形態では、画像ファイルの出力時の優先順位を表す優先順位情報としてファイル名を用いる例について説明した。すなわちファイル名を構成する数字部分の大小によりデータ出力時の優先順位を表すようにした。しかしながら、その他の情報を優先順位情報として用いてもよい。例えば、Exifデータ内に優先順位情報を格納できるようにし、ここに優先順位を表す数字やアルファベットを格納するようにしてもよい。
-Modification-
The camera according to the above-described embodiment can be modified as follows.
(1) In the above-described first to third embodiments, the example in which the file name is used as the priority information indicating the priority when the image file is output has been described. In other words, the priority at the time of data output is expressed by the size of the number part constituting the file name. However, other information may be used as priority information. For example, priority information may be stored in the Exif data, and a number or alphabet representing the priority may be stored here.
(2)第2の実施の形態では、撮影を行ったときに、使用者から優先順位変更指示があった場合には、撮影画像の優先順位を最も高く設定する例について説明した。しかしながら、2番目以降のいずれかの優先順位に設定するようにしてもよい。このとき、どの優先順位に設定するかは、あらかじめ指定されていてもよく、使用者が操作部材101を操作することによりその都度指定できるようにしてもよい。操作部材101により入力された優先順位(例えば5番)は、制御装置101のRAMに記録される。そして、優先順位変更部104bは、図6のステップS21において、特定画像の変更後の優先順位をRAMが記憶する優先順位として設定する。
(2) In the second embodiment, an example has been described in which when a user gives a priority order change instruction when shooting is performed, the highest priority order of the captured image is set. However, the priority may be set to any one of the second and subsequent priorities. At this time, which priority order is set may be specified in advance, or may be specified each time the user operates the
(3)上述した第1〜第3の実施の形態では、メモリカードに記録されている画像、または撮影画像を対象として優先順位を設定、または変更できる例について説明した。しかしながら、画像以外のデータの優先順位を設定、または変更できるようにしてもよい。例えば、カメラ100が動画撮影機能を備えている場合には、メモリカードに記録されている動画や撮影した動画データを対象として、動画再生時の優先順位を設定、または変更できるようにしてもよい。あるいは、カメラ100が音楽再生機能を備えている場合には、メモリカードに記録されている音楽データを対象として、音楽再生時の優先順位を設定、または変更できるようにしてもよい。
(3) In the above-described first to third embodiments, the example in which the priority order can be set or changed for an image recorded on a memory card or a captured image has been described. However, the priority order of data other than images may be set or changed. For example, when 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.
100 カメラ、101 操作部材、102 レンズ、103 撮像素子、104 制御装置、104a 表示制御部、104b 優先順位変更部、104c ファイル名更新部、105 メモリカードスロット、106 モニタ
DESCRIPTION OF
Claims (13)
1つのデータを特定するデータ特定手段と、
前記データ特定手段で特定した特定データに、前記優先順位情報を割り当てる割り当て手段と、
前記記憶媒体に記録されている前記特定データ以外のデータである非特定データにそれぞれ割り当てられている前記優先順位情報(記録優先順位情報)の中に、前記割り当て手段で割り当てた前記特定データの前記優先順位情報(割り当て優先順位情報)と重複する前記優先順位情報が含まれているか否かを判断する判断手段と、
重複する前記優先順位情報が含まれていると前記判断手段が判断した場合に、前記非特定データのデータ出力用の優先順位を保持したまま、前記割り当て優先順位情報と前記記録優先順位情報とが重複しないように、重複する前記優先順位情報が割り当てられている前記非特定データの前記記録優先順位情報を更新する更新手段とを備えることを特徴とするデータ記録装置。 A data recording apparatus for recording, on a storage medium, a plurality of data each assigned priority information indicating a priority for data output,
Data specifying means for specifying one data;
Assigning means for assigning the priority information to the specific data specified by the data specifying means;
In the priority information (recording priority information) allocated to non-specific data that is data other than the specific data recorded on the storage medium, the specific data allocated by the allocation means Determination means for determining whether or not the priority information overlapping with priority information (assignment priority information) is included;
When the determining means determines that the priority information that overlaps is included, the allocation priority information and the recording priority information are retained while maintaining the priority for data output of the non-specific data. A data recording apparatus comprising: an update unit configured to update the recording priority information of the non-specific data to which the overlapping priority information is assigned so as not to overlap.
前記データ出力用の優先順位は、前記データを格納したデータファイルのファイル名を構成する数字によって表され、
前記割り当て手段は、前記優先順位に応じた前記数字を含むファイル名を前記優先順位情報として前記特定データに割り当てることを特徴とするデータ記録装置。 The data recording apparatus according to claim 1, wherein
The priority for data output is represented by a number constituting a file name of a data file storing the data,
The allocating unit allocates a file name including the number corresponding to the priority order to the specific data as the priority order information.
前記判断手段は、前記非特定データのファイル名の中に、前記特定データのファイル名と重複するファイル名があるか否かを判断し、
前記更新手段は、前記判断手段が重複するファイル名があると判断した場合には、重複する前記非特定データのファイル名を構成する前記数字に1を加算し、さらに1を加算した後の前記非特定データのファイル名が、他の非特定データのファイル名と重複する場合には、前記他の非特定データのファイル名を構成する前記数字に1を加算し、重複するファイル名がなくなるまでこれを繰り返すことを特徴とするデータ記録装置。 The data recording apparatus according to claim 2, wherein
The determination means determines whether there is a file name that is duplicated with the file name of the specific data in the file name of the non-specific data,
When the determination unit determines that there is a duplicate file name, the update unit adds 1 to the number constituting the duplicate file name of the non-specific data, and further adds the 1 When the file name of non-specific data overlaps with the file name of other non-specific data, 1 is added to the number constituting the file name of the other non-specific data until there is no duplicate file name A data recording apparatus characterized by repeating this.
前記更新手段は、重複するファイル名がなくなるまで処理を繰り返した後、前記特定データおよび前記非特定データの前記ファイル名を構成する前記数字が、連番となり、かつ前記優先順位が高いものから昇順に並ぶように、前記特定データおよび前記非特定データのファイル名を更新することを特徴とするデータ記録装置。 The data recording apparatus according to claim 3, wherein
The update means repeats the process until there are no duplicate file names, and then the numbers constituting the file names of the specific data and the non-specific data are serial numbers and are in ascending order from the highest priority The data recording device is characterized in that file names of the specific data and the non-specific data are updated so as to line up with each other.
前記データ特定手段は、前記記憶媒体に記録されている前記複数のデータの中から、使用者によって指定された1つのデータを前記特定データとして特定し、
前記割り当て手段は、前記特定データの優先順位が使用者によって指定された優先順位となるように、前記特定データに前記優先順位情報を割り当てることを特徴とするデータ記録装置。 In the data recording device according to any one of claims 1 to 4,
The data specifying means specifies, as the specific data, one data designated by a user from the plurality of data recorded in the storage medium,
The data recording apparatus according to claim 1, wherein the assigning means assigns the priority information to the specific data so that the priority of the specific data becomes a priority specified by a user.
被写体像を撮像して画像データを取得する撮像手段をさらに備え、
前記データ特定手段は、前記撮像手段で取得した前記画像データを前記特定データとして特定し、
前記割り当て手段は、前記特定データの出力用の優先順位が使用者によって指定された優先順位となるように、前記特定データに前記優先順位情報を割り当てることを特徴とするデータ記録装置。 In the data recording device according to any one of claims 1 to 4,
It further comprises an imaging means for capturing a subject image and acquiring image data,
The data specifying means specifies the image data acquired by the imaging means as the specific data,
The data recording apparatus according to claim 1, wherein the assigning means assigns the priority information to the specific data so that a priority for outputting the specific data becomes a priority specified by a user.
被写体像を撮像して画像データを取得する撮像手段をさらに備え、
前記データ特定手段は、前記撮像手段で取得した前記画像データのうち、使用者によって前記データ出力用の優先順位を上げるように指定されたものを前記特定データとして特定し、
前記割り当て手段は、前記特定データの出力用の優先順位が使用者によって指定された優先順位となるように、前記特定データに前記優先順位情報を割り当てることを特徴とするデータ記録装置。 In the data recording device according to any one of claims 1 to 4,
It further comprises an imaging means for capturing a subject image and acquiring image data,
The data specifying means specifies, as the specific data, the image data acquired by the imaging means that is designated by the user to increase the priority for data output,
The data recording apparatus according to claim 1, wherein the assigning means assigns the priority information to the specific data so that a priority for outputting the specific data becomes a priority specified by a user.
前記割り当て手段は、前記撮像手段で取得した前記画像データのうち、使用者によって前記データ出力用の優先順位を上げるように指定されていない前記画像データに対しては、前記データ出力用の優先順位が前記記憶媒体に記録されている前記複数のデータの中で最も低くなるように、前記優先順位情報を割り当てることを特徴とするデータ記録装置。 The data recording device according to claim 7, wherein
The allocating means is the data output priority order for the image data that is not designated by the user to increase the data output priority order among the image data acquired by the imaging means. Is assigned to the priority order information so as to be the lowest among the plurality of data recorded in the storage medium.
コンピュータに、
1つのデータを特定するデータ特定手順と、
前記データ特定手順で特定した特定データに、前記優先順位情報を割り当てる割り当て手順と、
前記記憶媒体に記録されている前記特定データ以外のデータである非特定データにそれぞれ割り当てられている前記優先順位情報(記録優先順位情報)の中に、前記割り当て手順で割り当てた前記特定データの前記優先順位情報(割り当て優先順位情報)と重複する前記優先順位情報が含まれているか否かを判断する判断手順と、
前記判断手順において、重複する前記優先順位情報が含まれていると判断した場合に、前記非特定データのデータ出力用の優先順位を保持したまま、前記割り当て優先順位情報と前記記録優先順位情報とが重複しないように、重複する前記優先順位情報が割り当てられている前記非特定データの前記記録優先順位情報を更新する更新手順とを実行させるためのデータ記録プログラム。 In order to record a plurality of data, each of which is assigned priority information indicating a priority for data output, on a storage medium,
On the computer,
A data identification procedure for identifying one piece of data;
An assigning procedure for assigning the priority information to the specific data specified in the data specifying procedure;
In the priority information (recording priority information) allocated to non-specific data that is data other than the specific data recorded in the storage medium, the specific data allocated in the allocation procedure A determination procedure for determining whether or not the priority information that overlaps with priority information (assignment priority information) is included;
In the determination procedure, when it is determined that the priority information that overlaps is included, the allocation priority information and the recording priority information, while maintaining the priority for data output of the non-specific data, A data recording program for executing an update procedure for updating the recording priority information of the non-specific data to which the overlapping priority information is assigned so that the priority information does not overlap.
前記データ出力用の優先順位は、前記データを格納したデータファイルのファイル名を構成する数字によって表され、
前記割り当て手順は、前記優先順位に応じた前記数字を含むファイル名を前記優先順位情報として前記特定データに割り当てることを特徴とするデータ記録プログラム。 The data recording program according to claim 9, wherein
The priority for data output is represented by a number constituting a file name of a data file storing the data,
In the data recording program, the assigning step assigns a file name including the number corresponding to the priority order to the specific data as the priority order information.
前記判断手順は、前記非特定データのファイル名の中に、前記特定データのファイル名と重複するファイル名があるか否かを判断し、
前記更新手順は、前記判断手順で重複するファイル名があると判断した場合には、重複する前記非特定データのファイル名を構成する前記数字に1を加算し、さらに1を加算した後の前記非特定データのファイル名が、他の非特定データのファイル名と重複する場合には、前記他の非特定データのファイル名を構成する前記数字に1を加算し、重複するファイル名がなくなるまでこれを繰り返すことを特徴とするデータ記録プログラム。 The data recording program according to claim 10,
The determining step determines whether or not there is a file name that overlaps the file name of the specific data in the file name of the non-specific data,
In the update procedure, when it is determined that there is a duplicate file name in the decision procedure, 1 is added to the number constituting the duplicate file name of the non-specific data, and the 1 after adding 1 is added. When the file name of non-specific data overlaps with the file name of other non-specific data, 1 is added to the number constituting the file name of the other non-specific data until there is no duplicate file name A data recording program characterized by repeating this.
前記更新手順は、重複するファイル名がなくなるまで処理を繰り返した後、前記特定データおよび前記非特定データの前記ファイル名を構成する前記数字が、前記優先順位が高いものから昇順に並ぶように、前記特定データおよび前記非特定データのファイル名を更新することを特徴とするデータ記録プログラム。 The data recording program according to claim 11, wherein
The update procedure, after repeating the process until there are no duplicate file names, the numbers constituting the file names of the specific data and the non-specific data are arranged in ascending order from the highest priority A data recording program for updating file names of the specific data and the non-specific data.
前記データ特定手順は、前記記憶媒体に記録されている前記複数のデータの中から、使用者によって指定された1つのデータを前記特定データとして特定し、
前記割り当て手順は、前記特定データの優先順位が使用者によって指定された優先順位となるように、前記特定データに前記優先順位情報を割り当てることを特徴とするデータ記録プログラム。 In the data recording program as described in any one of Claims 9-12,
The data specifying procedure specifies, as the specific data, one data designated by a user from the plurality of data recorded in the storage medium,
The data recording program characterized in that the assigning step assigns the priority information to the specific data so that the priority of the specific data becomes a priority specified by a user.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007104884A JP2008263425A (en) | 2007-04-12 | 2007-04-12 | Data recorder and data recording program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007104884A JP2008263425A (en) | 2007-04-12 | 2007-04-12 | Data recorder and data recording program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008263425A true JP2008263425A (en) | 2008-10-30 |
Family
ID=39985590
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007104884A Pending JP2008263425A (en) | 2007-04-12 | 2007-04-12 | Data recorder and data recording program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2008263425A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013031241A1 (en) * | 2011-09-02 | 2013-03-07 | 株式会社ニコン | Electronic camera, image-processing apparatus, and image-processing program |
JP2013146082A (en) * | 2013-02-15 | 2013-07-25 | Canon Inc | Image processing device and control method therefor |
JP2016206761A (en) * | 2015-04-17 | 2016-12-08 | シャープ株式会社 | Information processing device and computer program |
JP2019169951A (en) * | 2019-04-24 | 2019-10-03 | キヤノン株式会社 | Information processing device and control method thereof, and program |
-
2007
- 2007-04-12 JP JP2007104884A patent/JP2008263425A/en active Pending
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013031241A1 (en) * | 2011-09-02 | 2013-03-07 | 株式会社ニコン | Electronic camera, image-processing apparatus, and image-processing program |
JP2013055455A (en) * | 2011-09-02 | 2013-03-21 | Nikon Corp | Electronic camera, image processing device, and image processing program |
US9792677B2 (en) | 2011-09-02 | 2017-10-17 | Nikon Corporation | Electronic camera, image processing device, and image processing program |
US10489898B2 (en) | 2011-09-02 | 2019-11-26 | Nikon Corporation | Electronic camera, image-processing device, and image-processing program |
JP2013146082A (en) * | 2013-02-15 | 2013-07-25 | Canon Inc | Image processing device and control method therefor |
JP2016206761A (en) * | 2015-04-17 | 2016-12-08 | シャープ株式会社 | Information processing device and computer program |
JP2019169951A (en) * | 2019-04-24 | 2019-10-03 | キヤノン株式会社 | Information processing device and control method thereof, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7358990B2 (en) | Image-taking apparatus capable of saving image data files in folder on recording medium | |
US7437681B2 (en) | Image display apparatus and method and image management program | |
US9148536B2 (en) | Display control apparatus and display control method | |
JP2001502511A (en) | System and method for correlating processed data with image data in a digital camera device | |
JP2009159081A (en) | Information processing apparatus and information processing method | |
JP2008263425A (en) | Data recorder and data recording program | |
JP2001249653A (en) | Picture display method and device, and electronic camera | |
JP5163264B2 (en) | camera | |
JP2011077654A (en) | Imaging apparatus, control method thereof and program | |
JP2006107144A (en) | Image reproduction device | |
JP4674728B2 (en) | Image selecting apparatus, image selecting apparatus control method, program, and recording medium | |
JP2009044728A (en) | Data recording device and camera | |
JP7256671B2 (en) | Communication device and its control method and program | |
JP2009302902A (en) | Camera | |
JP2011087221A (en) | Camera | |
JP3816401B2 (en) | Data recording device | |
JP2009212720A (en) | Catalog figure generation system, digital camera, catalog figure generation program, and method for generating catalog figure | |
JP3831472B2 (en) | Electronic still camera erasing operation control device | |
JP2009171395A (en) | Camera and electronic apparatus | |
JP5570325B2 (en) | Image processing apparatus and image file management method | |
JP2008177838A (en) | Digital camera and image processor, and image control program | |
JP2005086763A (en) | Image display control apparatus, digital camera and image display control program | |
JP2009217588A (en) | Filing system, electronic camera, file access method, and program | |
JP2008219425A (en) | Image processor and image processing method | |
JP5239635B2 (en) | Image file generation program and camera |