JP5318177B2 - Image processing apparatus, image processing apparatus control method, and computer program - Google Patents

Image processing apparatus, image processing apparatus control method, and computer program Download PDF

Info

Publication number
JP5318177B2
JP5318177B2 JP2011240616A JP2011240616A JP5318177B2 JP 5318177 B2 JP5318177 B2 JP 5318177B2 JP 2011240616 A JP2011240616 A JP 2011240616A JP 2011240616 A JP2011240616 A JP 2011240616A JP 5318177 B2 JP5318177 B2 JP 5318177B2
Authority
JP
Japan
Prior art keywords
image data
attribute
data file
file
recording medium
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2011240616A
Other languages
Japanese (ja)
Other versions
JP2012074050A (en
Inventor
拓也 新谷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2011240616A priority Critical patent/JP5318177B2/en
Publication of JP2012074050A publication Critical patent/JP2012074050A/en
Application granted granted Critical
Publication of JP5318177B2 publication Critical patent/JP5318177B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Storing Facsimile Image Data (AREA)
  • Studio Devices (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To prevent an image data file in an external recording medium under file system management from being destroyed from a connection device and to easily perform access control in accordance with an attribute. <P>SOLUTION: The present invention relates to an image processing apparatus including: generation means for generating an image data file; first attribute setting means which sets first attribute information for determining whether to prohibit the alteration of the image data file; second attribute setting means which sets second attribute information for determining whether to prohibit the alteration of the image data file, the information being recorded in a recording region different from that of the first attribute information; and recording means for recording, on an external recording medium, the image data file generated by the generation means. <P>COPYRIGHT: (C)2012,JPO&amp;INPIT

Description

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

従来の一般的な画像撮影再生装置には、撮影した画像を記録し、また記録された画像を再生するため、外部記録媒体へのデータの書き込み、及び、外部記録媒体からデータの読み出しを行う、いわゆる入出力装置が具備されている。また外部記録媒体内で多数の画像データを画像データファイルとして管理するためにファイルシステムを備える。どのような画像データファイルが外部記録媒体内に存在するかなどのアクセスはファイルシステムを通じて実行される。このファイルシステムはプログラムからのアクセス要求に対して、ファイルの利用を管理したり、制限したりするため、ファイルに属性を付与することが可能とされている(特許文献1を参照。)。このようなファイルシステム管理下でのファイル属性を、本願ではファイルシステム・ファイル属性と称することにする。   In a conventional general image capturing / playback apparatus, a captured image is recorded, and data is written to an external recording medium and data is read from the external recording medium in order to reproduce the recorded image. A so-called input / output device is provided. A file system is provided for managing a large number of image data as image data files in the external recording medium. Access such as what kind of image data file exists in the external recording medium is executed through the file system. Since this file system manages and restricts the use of a file in response to an access request from a program, it is possible to give an attribute to the file (see Patent Document 1). Such file attributes under file system management are referred to as file system file attributes in the present application.

外部記録媒体は、入出力装置を備えた他の機器に接続される可能性もある。
PCのような入出力装置を備えた機器が、外部記録媒体内のファイルシステムのファイル管理を解釈し、アクセスを行う際も、ファイルシステム・ファイル属性は画像データファイルの利用を管理したり、制限したりするために使用されている。例えば、外部記録媒体内に記録した画像データファイルのファイルシステム・ファイル属性を画像撮影再生装置で標準属性から読み取り専用属性にすると、その画像データファイルがPCでアクセスされた際のファイルシステム・ファイル属性も読み取り専用属性として認識される。また、逆に外部記録媒体内の画像データファイルのファイルシステム・ファイル属性を読み取り専用属から標準属性にすると、その画像データファイルがパーソナルコンピュータでアクセスされた際のファイルシステム・ファイル属性も標準属性として認識される。
There is a possibility that the external recording medium is connected to another device having an input / output device.
Even when a device equipped with an input / output device such as a PC interprets and accesses the file management of the file system in the external recording medium, the file system / file attribute controls or restricts the use of the image data file. It is used to do. For example, if the file system / file attribute of the image data file recorded in the external recording medium is changed from the standard attribute to the read-only attribute by the image capturing / playback apparatus, the file system / file attribute when the image data file is accessed by the PC Is also recognized as a read-only attribute. Conversely, if the file system file attribute of the image data file in the external recording medium is changed from the read-only attribute to the standard attribute, the file system file attribute when the image data file is accessed by a personal computer is also set as the standard attribute. Be recognized.

このように外部記録媒体に存在する画像データファイルのファイルシステム・ファイル属性は接続する機器に依存せず、ファイルシステム管理下において、画像データファイルに付与することが可能とされている。   As described above, the file system file attribute of the image data file existing on the external recording medium does not depend on the connected device, and can be assigned to the image data file under the file system management.

また、対象とするファイルの属性の情報を例えば別のファイルに保存し、この保存した属性の情報にしたがってファイルを利用するようにしたものもある。
特開平5−334164号公報
In addition, there is a type in which attribute information of a target file is stored in, for example, another file, and the file is used according to the stored attribute information.
JP-A-5-334164

しかしながら、画像撮影再生装置で撮影された外部記録媒体に存在する画像データファイルは、接続する機器の違いにより解釈の仕方が異なる。例えば画像撮影再生装置から外部記録媒体に記録された画像データファイルをパーソナルコンピュータからのプログラムでアクセスした際、画像データファイルの解釈の違いから、画像データファイルの構造を壊してしまう虞がある。   However, the interpretation of image data files existing on an external recording medium photographed by the image photographing / reproducing apparatus differs depending on the connected devices. For example, when an image data file recorded on an external recording medium is accessed from an image photographing / playback apparatus by a program from a personal computer, the structure of the image data file may be destroyed due to a difference in interpretation of the image data file.

そこで、画像撮影再生装置から外部記録媒体に記録を行った後、ファイルシステム・ファイル属性を読み取り専用属性にして、他の接続機器に接続された際の画像データファイルの破壊を防ぐ方法が考えられる。しかし、画像データファイルを壊す虞のない画像撮影再生装置で画像データファイルにアクセスを行う際にも、読み取り専用属性の画像データファイルとして扱われる。よって、画像データファイルの削除、編集などの書き込みアクセス作業を行う前に、ユーザが手動で読み取り専用属性を解除しなければならないといった不便がある。   Therefore, after recording from an image capturing / playback apparatus to an external recording medium, a method of setting the file system / file attribute as a read-only attribute to prevent destruction of the image data file when connected to another connected device can be considered. . However, even when the image data file is accessed by an image capturing / playback apparatus that does not have the possibility of destroying the image data file, it is handled as an image data file having a read-only attribute. Therefore, there is an inconvenience that the user must manually cancel the read-only attribute before performing a write access operation such as deletion or editing of the image data file.

本発明では、上記問題点を鑑みてなされたものであり、ファイルシステム管理下にある外部記録媒体内の画像データファイルの接続機器からの破壊を防ぎ、かつ属性によるアクセス制御を容易に行えるようにすることを目的とする。   The present invention has been made in view of the above-described problems, and prevents destruction of the image data file in the external recording medium under the file system management from the connected device, and facilitates access control by attributes. The purpose is to do.

上記課題を解決するための本発明は、画像処理装置であって、
画像データファイルを生成する生成手段と、
前記画像データファイルの変更を禁止するか否かを定める第1の属性情報を設定する第1の属性設定手段と、
前記第1の属性情報とは異なる記録領域に記録される情報であって、前記画像データファイルの変更を禁止するか否かを定める第2の属性情報を設定する第2の属性設定手段と、
前記生成手段が生成した前記画像データファイルを外部記録媒体に記録する記録手段と
を備え、
前記第1の属性情報は、前記外部記録媒体内に記録されている前記画像データファイル内に格納され、
前記第2の属性情報は、前記画像データファイルが記録されている前記外部記録媒体内におけるファイルシステムが扱う記録領域であって、前記外部記録媒体が記録している画像データファイルを管理する領域に格納され、
前記記録手段は、前記生成手段が生成した前記画像データファイルを記録する場合に、第1の属性情報には前記画像データファイルの変更を禁止しない属性を記録するとともに、前記第2の属性情報には、前記画像データファイルの変更を禁止する属性を記録することを特徴とする。
The present invention for solving the above problems is an image processing apparatus,
Generating means for generating an image data file;
First attribute setting means for setting first attribute information for determining whether or not to change the image data file;
Second attribute setting means for setting second attribute information that is recorded in a recording area different from the first attribute information and that determines whether or not to change the image data file;
Recording means for recording the image data file generated by the generating means on an external recording medium,
The first attribute information is stored in the image data file recorded in the external recording medium,
The second attribute information is a recording area handled by a file system in the external recording medium in which the image data file is recorded, and an area for managing the image data file recorded in the external recording medium. Stored,
When recording the image data file generated by the generating unit, the recording unit records an attribute that does not prohibit the change of the image data file in the first attribute information, and the second attribute information. Is characterized in that it records an attribute prohibiting modification of the image data file .

本発明によれば、ファイルシステム管理下にある外部記録媒体内の画像データファイルの画像データファイル構造の破壊を防ぎ、かつ画像データファイル属性によるファイル利用の管理やアクセス制御を容易に行うことができる。   According to the present invention, it is possible to prevent the destruction of the image data file structure of the image data file in the external recording medium under the file system management, and to easily manage the file usage and access control by the image data file attribute. .

本発明の実施形態に対応する画像処理装置の構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of the image processing apparatus corresponding to embodiment of this invention. 本発明の実施形態に対応する画像データファイルとファイルシステムの関係を説明するための図である。It is a figure for demonstrating the relationship between the image data file and file system corresponding to embodiment of this invention. 本発明の実施形態における撮影シーケンスを説明するフローチャートである。It is a flowchart explaining the imaging | photography sequence in embodiment of this invention. 本発明の実施形態に対応する再生表示シーケンスを説明するフローチャートである。It is a flowchart explaining the reproduction | regeneration display sequence corresponding to embodiment of this invention. 本発明の実施形態に対応する編集シーケンスを説明するフローチャートである。It is a flowchart explaining the edit sequence corresponding to embodiment of this invention. 本発明の実施形態に対応する削除シーケンスを説明するフローチャートである。It is a flowchart explaining the deletion sequence corresponding to embodiment of this invention. 本発明の実施形態に対応する読み取り専用属性変更シーケンスを説明するフローチャートである。It is a flowchart explaining the read-only attribute change sequence corresponding to the embodiment of the present invention. 本発明の実施形態に対応する画像データファイル記録処理シーケンスを説明するフローチャートである。It is a flowchart explaining the image data file recording process sequence corresponding to embodiment of this invention. 本発明の実施形態に対応する画像データファイル再生処理シーケンスを説明するフローチャートである。It is a flowchart explaining the image data file reproduction | regeneration processing sequence corresponding to embodiment of this invention. 本発明の実施形態に対応する画像データファイル編集処理シーケンスを説明するフローチャートである。It is a flowchart explaining the image data file edit process sequence corresponding to embodiment of this invention. 本発明の実施形態に対応する画像データファイル削除処理シーケンスを説明するフローチャートである。It is a flowchart explaining the image data file deletion process sequence corresponding to embodiment of this invention. 本発明の実施形態に対応する画像データファイル読み取り専用属性変更処理シーケンスを説明するフローチャートである。It is a flowchart explaining the image data file read-only attribute change processing sequence corresponding to the embodiment of the present invention. 本発明の実施形態に対応する再生表示時の表示例である。It is a display example at the time of reproduction display corresponding to the embodiment of the present invention. 本発明の実施形態に対応する編集表示時の表示例である。It is an example of a display at the time of edit display corresponding to the embodiment of the present invention. 本発明の実施形態に対応する削除表示時の表示例である。It is a display example at the time of deletion display corresponding to the embodiment of the present invention. 本発明の実施形態に対応する読み取り専用属性変更表示時の表示例である。It is a display example at the time of read-only attribute change display corresponding to the embodiment of the present invention. 本発明の実施形態に対応する読み取り専用属性変更表示時の他の表示例である。It is another display example at the time of the read-only attribute change display corresponding to the embodiment of the present invention. 本発明の実施形態に対応するメニュー画面の表示例である。It is a display example of the menu screen corresponding to the embodiment of the present invention. 本発明の本実施形態に対応する画像データファイル203の構造の一例を示す図である。It is a figure which shows an example of the structure of the image data file 203 corresponding to this embodiment of this invention. 本発明の第2の実施形態に対応する画像処理装置の構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of the image processing apparatus corresponding to the 2nd Embodiment of this invention. 本発明の第2の実施形態に対応する画像データファイルとファイルシステムの関係を説明するための図である。It is a figure for demonstrating the relationship between the image data file and file system corresponding to the 2nd Embodiment of this invention. 本発明の第2の実施形態に対応する撮影シーケンスを説明するフローチャートである。It is a flowchart explaining the imaging | photography sequence corresponding to the 2nd Embodiment of this invention. 本発明の第2の実施形態に対応するコピーシーケンスを説明するフローチャートである。It is a flowchart explaining the copy sequence corresponding to the 2nd Embodiment of this invention. 本発明の第2の実施形態に対応するファイルシステム判断処理シーケンスを説明するフローチャートである。It is a flowchart explaining the file system determination processing sequence corresponding to the 2nd Embodiment of this invention. 本発明の第2の実施形態に対応する記録先媒体選択処理シーケンスを説明するフローチャートである。It is a flowchart explaining the recording destination medium selection processing sequence corresponding to the 2nd Embodiment of this invention. 本発明の第2の実施形態に対応する画像データファイル選択記録処理シーケンスを説明するフローチャートである。It is a flowchart explaining the image data file selection recording process sequence corresponding to the 2nd Embodiment of this invention. 本発明の第2の実施形態に対応する再生元媒体選択処理シーケンスを説明するフローチャートである。It is a flowchart explaining the reproduction | regeneration source medium selection processing sequence corresponding to the 2nd Embodiment of this invention. 本発明の第2の実施形態に対応する画像データファイル選択再生処理シーケンスを説明するフローチャートである。It is a flowchart explaining the image data file selection reproduction | regeneration processing sequence corresponding to the 2nd Embodiment of this invention. 本発明の第2の実施形態に対応する画像データファイルコピー処理シーケンスを説明するフローチャートである。It is a flowchart explaining the image data file copy processing sequence corresponding to the 2nd Embodiment of this invention. 本発明の第2の実施形態に対応する画像データファイルコピー処理シーケンスの他の一例を説明するフローチャートである。It is a flowchart explaining another example of the image data file copy processing sequence corresponding to the 2nd Embodiment of this invention. 本発明の第3の実施形態に対応する画像処理装置の構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of the image processing apparatus corresponding to the 3rd Embodiment of this invention. 本発明の第3の実施形態に対応する画像データファイルとファイルシステムの関係を説明するための図である。It is a figure for demonstrating the relationship between the image data file and file system corresponding to the 3rd Embodiment of this invention. 本発明の第3の実施形態に対応する画像データファイル送信処理シーケンスを説明するフローチャートである。It is a flowchart explaining the image data file transmission process sequence corresponding to the 3rd Embodiment of this invention. 本発明の第3の実施形態に対応する画像データファイル受信処理シーケンスを説明するフローチャートである。It is a flowchart explaining the image data file reception process sequence corresponding to the 3rd Embodiment of this invention. 本発明の第3の実施形態に対応する転送判断フラグ設定処理シーケンスを説明するフローチャートである。It is a flowchart explaining the transfer determination flag setting process sequence corresponding to the 3rd Embodiment of this invention. 本発明の第3の実施形態に対応する画像データ送信処理シーケンスを説明するフローチャートである。It is a flowchart explaining the image data transmission process sequence corresponding to the 3rd Embodiment of this invention. 本発明の第3の実施形態に対応する画像データ受信記録処理シーケンスを説明するフローチャートである。It is a flowchart explaining the image data reception recording process sequence corresponding to the 3rd Embodiment of this invention.

以下、添付図面を参照して本発明を実施するための最良の形態を詳細に説明する。   The best mode for carrying out the present invention will be described below in detail with reference to the accompanying drawings.

[第1の実施形態]
まず、本発明の第1の実施形態における画像処理装置の構成を図1を参照して説明する。
[First Embodiment]
First, the configuration of the image processing apparatus according to the first embodiment of the present invention will be described with reference to FIG.

図1において、100は本実施の形態における画像処理装置である。画像処理装置100は、デジタルカメラ、デジタルビデオカメラ、カメラ付き携帯端末(カメラ付き携帯電話を含む)の何れであってもよい。実施の形態では、画像処理装置100がデジタルカメラである場合を説明する。   In FIG. 1, reference numeral 100 denotes an image processing apparatus according to the present embodiment. The image processing apparatus 100 may be any of a digital camera, a digital video camera, and a camera-equipped mobile terminal (including a camera-equipped mobile phone). In the embodiment, a case where the image processing apparatus 100 is a digital camera will be described.

画像処理装置100内において、10は撮像レンズ、11は絞り、12はシャッター、14は光学像を電気信号に変換する撮像素子、16は撮像素子14のアナログ信号出力をディジタル信号に変換するA/D変換器である。   In the image processing apparatus 100, 10 is an imaging lens, 11 is a stop, 12 is a shutter, 14 is an image sensor that converts an optical image into an electrical signal, and 16 is an A / A that converts an analog signal output of the image sensor 14 into a digital signal. D converter.

18は撮像素子14、A/D変換器16、表示制御部26にそれぞれクロック信号や制御信号を供給するタイミング発生回路であり、メモリ制御部22及びシステム制御部50により制御される。   A timing generation circuit 18 supplies a clock signal and a control signal to the image sensor 14, the A / D converter 16, and the display control unit 26, respectively, and is controlled by the memory control unit 22 and the system control unit 50.

20は画像処理部であり、A/D変換器16からの画像データ或いはメモリ制御部22からの画像データに対して、画像データに付加されている処理データに基づき、所定の画素補間処理や色変換処理を行う。また、画像処理部20は、A/D変換器16から出力される画像データを用いて所定の演算処理を行い、得られた演算結果に基づいてシステム制御部50がシャッター制御部34、絞り制御部40及び測距制御部42に対して、TTL(スルー・ザ・レンズ)方式のオートフォーカス(AF)処理、自動露出(AE)処理、ストロボプリ発光(EF)処理を行っている。さらに、画像処理部20は、A/D変換器16から出力される画像データを用いて所定の演算処理を行い、得られた演算結果に基づいてTTL方式のオートホワイトバランス(AWB)処理も行っている。   Reference numeral 20 denotes an image processing unit which performs predetermined pixel interpolation processing and color processing on image data from the A / D converter 16 or image data from the memory control unit 22 based on processing data added to the image data. Perform the conversion process. The image processing unit 20 performs predetermined calculation processing using the image data output from the A / D converter 16, and the system control unit 50 controls the shutter control unit 34 and aperture control based on the obtained calculation result. The TTL (through-the-lens) type autofocus (AF) process, automatic exposure (AE) process, and strobe pre-flash (EF) process are performed on the unit 40 and the distance measurement control unit 42. Further, the image processing unit 20 performs predetermined calculation processing using the image data output from the A / D converter 16, and also performs TTL auto white balance (AWB) processing based on the obtained calculation result. ing.

22はメモリ制御部であり、A/D変換器16、タイミング発生回路18、画像処理部20、画像表示メモリ24、表示制御部26、メモリ30、圧縮伸長部32を制御する。A/D変換器16から出力される画像データは、画像処理部20、メモリ制御部22を介して、或いはメモリ制御部22のみを介して、画像表示メモリ24或いはメモリ30に書き込まれる。   A memory control unit 22 controls the A / D converter 16, the timing generation circuit 18, the image processing unit 20, the image display memory 24, the display control unit 26, the memory 30, and the compression / decompression unit 32. The image data output from the A / D converter 16 is written into the image display memory 24 or the memory 30 via the image processing unit 20, the memory control unit 22, or only through the memory control unit 22.

24は画像表示メモリ、26は表示制御部、28はTFT LCD(Liquid Crystal Display)等を有する画像表示部である。画像表示メモリ24に書き込まれた表示用の画像データは表示制御部26を介して画像表示部28に表示される。   Reference numeral 24 denotes an image display memory, 26 denotes a display control unit, and 28 denotes an image display unit having a TFT LCD (Liquid Crystal Display). The display image data written in the image display memory 24 is displayed on the image display unit 28 via the display control unit 26.

画像表示部28を用いて撮像した画像データを逐次表示すれば、電子ファインダ機能を実現することが可能である。なお、画像表示部28は、システム制御部50の指示により表示のON又はOFFが可能である。画像表示部28の表示をOFFにした場合、画像処理装置100の電力消費を大幅に低減することができる。また、画像表示部28は、合焦、手振れ、シャッタースピード、絞り値、露出補正等に関する情報をシステム制御部50からの指示に従って表示する。   If the image data captured using the image display unit 28 is sequentially displayed, the electronic viewfinder function can be realized. The image display unit 28 can be turned on or off according to an instruction from the system control unit 50. When the display of the image display unit 28 is turned off, the power consumption of the image processing apparatus 100 can be greatly reduced. Further, the image display unit 28 displays information related to focusing, camera shake, shutter speed, aperture value, exposure correction, and the like in accordance with instructions from the system control unit 50.

30は撮影した静止画像や動画像を格納するためのメモリであり、所定枚数の静止画像や所定時間の動画像を格納するのに充分な記憶容量を備えている。これにより、複数枚の静止画像を連続して撮影する連写やパノラマ撮影の場合にも、高速かつ大量の画像をメモリ30に書き込むことができる。また、メモリ30はシステム制御部50の作業領域としても使用することが可能である。更に、後述する記録媒体から画像データをメモリ30に読み出し、画像処理部20やメモリ制御部22を介して画像表示メモリ24に画像データを書き込む処理をし、表示制御部26により画像表示部28に表示する場合にも使用される。   Reference numeral 30 denotes a memory for storing captured still images and moving images, and has a storage capacity sufficient to store a predetermined number of still images and a predetermined time of moving images. Thereby, even in the case of continuous shooting or panoramic shooting in which a plurality of still images are continuously shot, a large amount of images can be written in the memory 30 at high speed. The memory 30 can also be used as a work area for the system control unit 50. Further, the image data is read from the recording medium, which will be described later, into the memory 30, and the image data is written into the image display memory 24 via the image processing unit 20 and the memory control unit 22. Also used when displaying.

32は圧縮伸長部であり、メモリ30から読み出した画像データを所定の画像圧縮方法(例えば、適応離散コサイン変換(ADCT)等)に従って、例えばJPEGデータに画像圧縮することができる。また、画像圧縮された画像データをメモリ30に書き込む機能及びメモリ30から読み出した画像データを伸長し、伸長した画像データをメモリ30に書き込む機能を有する。   A compression / decompression unit 32 can compress the image data read from the memory 30 into, for example, JPEG data according to a predetermined image compression method (for example, adaptive discrete cosine transform (ADCT)). In addition, it has a function of writing image data that has been compressed into the memory 30 and a function of expanding the image data read from the memory 30 and writing the expanded image data into the memory 30.

34はシャッター12を制御するシャッター制御部、40は絞り11を制御する絞り制御部である。42は撮像レンズ10のフォーカシングを制御する測距制御部、46はストロボ、48はストロボ46の発光を制御するストロボ制御部である。50は画像処理装置100全体を制御するシステム制御部である。   Reference numeral 34 denotes a shutter control unit that controls the shutter 12, and reference numeral 40 denotes an aperture control unit that controls the aperture 11. Reference numeral 42 denotes a distance measurement control unit that controls focusing of the imaging lens 10, 46 denotes a strobe, and 48 denotes a strobe control unit that controls light emission of the strobe 46. A system control unit 50 controls the entire image processing apparatus 100.

52はシステム制御部50の動作用の定数、変数、プログラム等を記憶するROMなどのメモリである。メモリ52には撮像処理を行うプログラム、画像処理を行うプログラム、作成した画像ファイルデータを記録媒体に記録するプログラム、画像ファイルデータを記録媒体から読み出すプログラムが記録される。また、後述する図3乃至12、図22乃至30のフローで示した各種プログラムと、上記プログラムのマルチタスク構成を実現し実行するOSなどの各種プログラムなども記録される。各プログラムにはメッセージキューが作成され、メッセージキューにメッセージがFIFO(First In First Out)的に積まれている。各プログラム間でメッセージのやり取りを行うことで各プログラムが連携して制御され、上記各機能の制御が行われている。   Reference numeral 52 denotes a memory such as a ROM for storing constants, variables, programs and the like for operation of the system control unit 50. The memory 52 stores a program for performing an imaging process, a program for performing an image process, a program for recording the created image file data on a recording medium, and a program for reading the image file data from the recording medium. Also recorded are various programs shown in the flowcharts of FIGS. 3 to 12 and FIGS. 22 to 30 described later, and various programs such as an OS that implements and executes a multitask configuration of the programs. A message queue is created for each program, and messages are loaded into the message queue in a FIFO (First In First Out) manner. By exchanging messages between the programs, the programs are controlled in cooperation with each other, and the above functions are controlled.

60、62、64、66、67,68,69は、システム制御部50の各種の動作指示を入力するための操作手段であり、スイッチやダイアル、タッチパネル、視線検知によるポインティング、音声認識装置等の単数或いは複数の組み合わせで構成される。   Reference numerals 60, 62, 64, 66, 67, 68, 69 denote operation means for inputting various operation instructions of the system control unit 50, such as switches, dials, touch panels, pointing by line-of-sight detection, voice recognition devices, and the like. Consists of a single or a plurality of combinations.

ここで、これらの操作手段の具体的な説明を行う。   Here, a specific description of these operating means will be given.

60はモードダイアルスイッチであり、各機能モードを切り替え設定することができる。機能モードには、電源ON/OFF、再生モード、自動撮影モード、プログラム撮影モード、シャッター速度優先撮影モード、絞り優先撮影モード、マニュアル撮影モード、ポートレート撮影モード、風景撮影モード、接写撮影モード、スポーツ撮影モード、夜景撮影モード、再生モード、マルチ画面再生・消去モード、編集モード、ファイル読み取り専用属性変更モード、PC接続モード等が含まれる。   Reference numeral 60 denotes a mode dial switch, which can switch and set each function mode. Function modes include power ON / OFF, playback mode, automatic shooting mode, program shooting mode, shutter speed priority shooting mode, aperture priority shooting mode, manual shooting mode, portrait shooting mode, landscape shooting mode, close-up shooting mode, sports A shooting mode, night scene shooting mode, playback mode, multi-screen playback / erase mode, edit mode, file read-only attribute change mode, PC connection mode, and the like are included.

62はレリーズスイッチSW1で、不図示のレリーズボタンの操作途中でONとなり、AF(オートフォーカス)処理、AE(自動露出)処理、AWB(オートホワイトバランス)処理、EF(ストロボプリ発光)処理等の動作開始を指示する。   Reference numeral 62 denotes a release switch SW1, which is turned on during the operation of a release button (not shown), and performs AF (auto focus) processing, AE (auto exposure) processing, AWB (auto white balance) processing, EF (strobe pre-flash) processing, and the like. Instruct to start operation.

64はレリーズスイッチSW2で、不図示のレリーズボタンの操作完了でONとなり、露光処理、現像処理及び記録処理の一連の処理の動作開始を指示する。ここで、露光処理は、撮像素子14から読み出した信号をA/D変換器16、メモリ制御部22を介してメモリ30に画像データを書き込む処理である。また、現像処理は、画像処理部20やメモリ制御部22での演算を用いた処理である。更に、記録処理は、メモリ30から画像データを読み出し、圧縮伸長部32で画像圧縮を行い、記録媒体101に画像データを書き込む処理である。   Reference numeral 64 denotes a release switch SW2, which is turned on when a release button (not shown) has been operated, and instructs the start of a series of exposure processing, development processing, and recording processing. Here, the exposure process is a process of writing image data to the memory 30 via the A / D converter 16 and the memory control unit 22 from the signal read from the image sensor 14. Further, the development process is a process using computations in the image processing unit 20 and the memory control unit 22. Further, the recording process is a process of reading the image data from the memory 30, compressing the image by the compression / decompression unit 32, and writing the image data to the recording medium 101.

66は、メニュー操作スイッチであり、不図示のメニューキー、セットキー、十字キー等の組み合わせで構成され、カメラの撮影条件や現像条件などの各種設定の変更を画像表示部28を見ながら行うことができる。   Reference numeral 66 denotes a menu operation switch, which is composed of a combination of a menu key (not shown), a set key, a cross key, and the like, and changes various settings such as camera shooting conditions and development conditions while looking at the image display unit 28. Can do.

67は、編集操作スイッチであり、不図示の編集キー、セットキー、十字キーなどの組み合わせで構成され、画像データファイルの編集を画像表示部28を見ながらおこなうことができる。   Reference numeral 67 denotes an editing operation switch, which includes a combination of an editing key (not shown), a set key, a cross key, and the like, and can edit an image data file while viewing the image display unit 28.

68は、消去操作スイッチであり、不図示の消去キー、十字キーなどの組み合わせで構成され、画像データファイルの消去を画像表示部28を見ながら行うことができる。   Reference numeral 68 denotes an erasing operation switch, which is composed of a combination of an erasing key (not shown), a cross key, and the like, and can erase an image data file while viewing the image display unit 28.

69は、読み取り専用属性変更操作スイッチであり、不図示のセットキー、十字キーなどの組み合わせで構成され、画像データファイルの読み取り専用属性の変更を画像表示部28を見ながら行うことができる。   Reference numeral 69 denotes a read-only attribute change operation switch, which is configured by a combination of a set key (not shown), a cross key, and the like, and can change the read-only attribute of the image data file while viewing the image display unit 28.

80は電源制御部で、電池検出回路、DC−DCコンバータ、通電するブロックを切り替えるスイッチ回路等により構成される。また、電池の装着の有無、電池の種類、電池残量の検出を行い、検出結果及びシステム制御部50の指示に基づいてDC−DCコンバータを制御し、必要な電圧を必要な期間、記録媒体を含む各部へ供給する。   A power control unit 80 includes a battery detection circuit, a DC-DC converter, a switch circuit that switches blocks to be energized, and the like. Further, the presence / absence of a battery, the type of battery, and the remaining battery level are detected, and the DC-DC converter is controlled based on the detection result and the instruction of the system control unit 50, and the necessary voltage is recorded for a necessary period. To each part including

90はメモリカードやハードディスク等の記録媒体とのインタフェース、92はメモリカードやハードディスク等の記録媒体と接続を行うコネクタである。   Reference numeral 90 denotes an interface with a recording medium such as a memory card or hard disk, and reference numeral 92 denotes a connector for connecting to a recording medium such as a memory card or hard disk.

なお、本実施の形態では記録媒体を取り付けるインタフェース及びコネクタを1系統持つものとして説明している。勿論、記録媒体を取り付けるインタフェース及びコネクタは、単数或いは複数、いずれの系統数を備える構成としても構わない。また、異なる規格のインタフェース及びコネクタを組み合わせて備える構成としてもよい。   In the present embodiment, it is assumed that there is one interface and connector for attaching a recording medium. Of course, the interface and the connector for attaching the recording medium may have a single or a plurality of systems and any number of systems. Moreover, it is good also as a structure provided with combining the interface and connector of a different standard.

インタフェース及びコネクタとしては、PCMCIAカードやコンパクトフラッシュ(登録商標)カード等の規格に準拠したものを用いて構成することが可能である。この場合、インタフェース90及びコネクタ92には、各種通信カードを接続して、他のコンピュータやプリンタ等の周辺機器との間で画像データや画像データに付属した管理情報を転送し合うことができる。各種通信カードには、LANカードやモデムカード、USBカード、IEEE1394カード、P1284カード、SCSIカード、PHS等の通信カード等が含まれる。   The interface and connector can be configured using a PCMCIA card, a compact flash (registered trademark) card, or the like that conforms to a standard. In this case, various communication cards can be connected to the interface 90 and the connector 92 so that image data and management information attached to the image data can be transferred to and from other computers and peripheral devices such as a printer. Various communication cards include LAN cards, modem cards, USB cards, IEEE 1394 cards, P1284 cards, SCSI cards, communication cards such as PHS, and the like.

101はメモリカードやハードディスク等の記録媒体である。記録媒体101は、半導体メモリや磁気ディスク等から構成される記録部102と、画像処理装置100とのインタフェース104と、画像処理装置100と接続を行うコネクタ106とを備えている。   Reference numeral 101 denotes a recording medium such as a memory card or a hard disk. The recording medium 101 includes a recording unit 102 composed of a semiconductor memory, a magnetic disk, or the like, an interface 104 with the image processing apparatus 100, and a connector 106 that connects to the image processing apparatus 100.

次に図2に撮影処理により作成されたメモリ30にある画像データを、画像データファイルとして記録媒体101に記録する際のファイル構造とファイルシステムとの関係を示す。   Next, FIG. 2 shows the relationship between the file structure and the file system when image data in the memory 30 created by the photographing process is recorded on the recording medium 101 as an image data file.

本実施形態では画像データファイル203はファイルシステム201管理下で記録媒体101に記録される。このファイルシステム201は、画像データファイル203の記録媒体101への書き込み(記録)、読み出しを管理するもので、メモリ52に格納されたプログラムを取得し、実行することでシステム制御部50により実現される。また、ファイルシステム201の管理下では、画像データファイル203のファイル属性は記録媒体101の管理領域上に設けられたテーブル上で管理される。以下における本実施形態の説明では、このファイル属性を、ファイルシステム・ファイル属性202という。   In this embodiment, the image data file 203 is recorded on the recording medium 101 under the management of the file system 201. The file system 201 manages writing (recording) and reading of the image data file 203 to and from the recording medium 101, and is realized by the system control unit 50 by acquiring and executing a program stored in the memory 52. The Further, under the management of the file system 201, the file attribute of the image data file 203 is managed on a table provided on the management area of the recording medium 101. In the following description of the present embodiment, this file attribute is referred to as a file system file attribute 202.

また、記録媒体101に記録される画像データファイル203は、ヘッダ部203a、画像データ部203bに分かれており、内部データ・ファイル属性203cはヘッダ部203aにその領域を有している。この内部データ・ファイル属性203cには、一般的に用いられるようなファイル属性を識別することができるデータが含まれる。具体的に、標準属性、アーカイブ属性、隠しファイル属性、読み取り専用属性、システム属性、読み出し可否属性、書き込み可否属性、実行可否属性などがある。   The image data file 203 recorded on the recording medium 101 is divided into a header part 203a and an image data part 203b, and the internal data / file attribute 203c has the area in the header part 203a. The internal data file attribute 203c includes data that can identify a file attribute that is generally used. Specifically, there are a standard attribute, an archive attribute, a hidden file attribute, a read-only attribute, a system attribute, a read enable / disable attribute, a write enable / disable attribute, an executable enable / disable attribute, and the like.

ここで、標準属性とは、ファイルシステムにおいて標準的に与えられる属性であって、少なくとも当該属性が付されるデータの変更は禁止されない。アーカイブ属性とは、当該ファイルに何らかのアクセスがあったことを示す属性である。隠しファイル属性とは、当該属性が与えられた画像データファイルが隠しファイルとして扱われる属性である。読み取り専用属性とは、当該属性が与えられた画像データファイルの編集・消去を含めた変更が禁止される属性である。システム属性とは、システムファイルに対して与えられる属性である。読み出し可否属性とは、画像データファイルを記録媒体101より読み出すことが可能か否かを設定するための属性である。書き込み可否属性とは、画像データファイルへの書き込みが可能か否かを設定するための属性である。実行可否属性とは、当該ファイルを実行することができるか否かを設定するための属性である。   Here, the standard attribute is an attribute that is given as standard in the file system, and at least modification of data to which the attribute is attached is not prohibited. The archive attribute is an attribute indicating that the file has been accessed in some way. The hidden file attribute is an attribute in which an image data file to which the attribute is given is treated as a hidden file. The read-only attribute is an attribute that prohibits changes including editing / erasing of the image data file to which the attribute is assigned. The system attribute is an attribute given to the system file. The readability attribute is an attribute for setting whether or not an image data file can be read from the recording medium 101. The writability attribute is an attribute for setting whether or not writing to the image data file is possible. The executable attribute is an attribute for setting whether or not the file can be executed.

なお、本実施形態に対応する画像データファイル203の構造の詳細は、例えば図19に示すようになる。図19は、本実施形態に対応する画像データファイル203のデータ構造の一例を示す図である。   Details of the structure of the image data file 203 corresponding to the present embodiment are as shown in FIG. 19, for example. FIG. 19 is a diagram showing an example of the data structure of the image data file 203 corresponding to this embodiment.

本実施形態では、画像データファイル203はデジタルカメラにおいて汎用的に使用されているDCF(Design rule for Camera File system)ファイルの形式とする。即ち、大きくDCFヘッダ部203a、サムネイル画像部1904、JPEG画像部1905、RAWヘッダ部1906、RAWデータ部1908、及び、JPEGデータの最後を示すマーカ(EOIマーカ)1909の各領域からなる。ここで、RAWデータとは、撮像素子からの出力を劣化させずに出力した画像データのことを言う。図2との対応に関しては、図2のヘッダ部203aと図19のDCFヘッダ部203aが対応し、図2の画像データ部203bは、図19のサムネイル画像部1904乃至EOIマーカ1909までの構成に対応する。   In the present embodiment, the image data file 203 is in the format of a DCF (Design Rule for Camera File system) file that is widely used in digital cameras. In other words, it mainly comprises DCF header portion 203a, thumbnail image portion 1904, JPEG image portion 1905, RAW header portion 1906, RAW data portion 1908, and marker (EOI marker) 1909 indicating the end of JPEG data. Here, the RAW data refers to image data output without deteriorating the output from the image sensor. 2 corresponds to the header section 203a in FIG. 2 and the DCF header section 203a in FIG. 19, and the image data section 203b in FIG. 2 has a configuration from the thumbnail image section 1904 to the EOI marker 1909 in FIG. Correspond.

ここで、DCFヘッダ部203aは、DCFヘッダ情報を格納する領域であって、予め所定のデータサイズが与えられている。DCFヘッダ情報には、上記の内部データ・ファイル属性203cが格納される。また、JPEG画像部1905に格納される画像データに関連する撮影情報やパラメータ等のメタデータが含まれる。更に、JPEG画像までのオフセット値A(1901)、RAWヘッダ部1906までのオフセット値B(1902)及びサムネイル画像までのオフセット値D(1903)も含まれる。このオフセット値A、B及びDにより各画像データやヘッダ部の開始位置、即ち各データやヘッダ部の区切りが特定されることとなる。サムネイル画像部1904は、画像表示部28に複数枚(インデックス)表示を行う際などに利用するために、JPEG画像部1905に格納されているJPEG画像等を間引いてリサイズしたサムネイル画像を格納する領域である。JPEG画像部1905は、RAWデータを画像処理部20で処理した後、圧縮して得られたJPEG画像データを格納する領域である。   Here, the DCF header section 203a is an area for storing DCF header information, and is given a predetermined data size in advance. The internal data file attribute 203c is stored in the DCF header information. Also, metadata such as shooting information and parameters related to the image data stored in the JPEG image portion 1905 is included. Further, an offset value A (1901) to the JPEG image, an offset value B (1902) to the RAW header portion 1906, and an offset value D (1903) to the thumbnail image are also included. The offset values A, B, and D specify the start positions of the image data and the header part, that is, the delimiters of the data and the header part. The thumbnail image portion 1904 is an area for storing thumbnail images that have been resized by thinning out JPEG images stored in the JPEG image portion 1905 for use when displaying a plurality of (index) images on the image display portion 28. It is. The JPEG image portion 1905 is an area for storing JPEG image data obtained by processing the RAW data with the image processing portion 20 and then compressing the RAW data.

RAWヘッダ部1906はRAWヘッダ情報を格納する領域であって、予め所定のデータサイズが与えられている。RAWヘッダ情報には、RAWデータの撮影情報やパラメータ等のメタデータが含まれると共に、RAWデータまでのオフセット値C(1907)が含まれる。オフセット値Bとオフセット値Cとにより、画像データファイル203内におけるRAWデータの位置を特定することが可能となる。RAWデータ部1908は、撮像素子14から読み出された現像・圧縮前の容量の大きい画像データであるRAWデータを格納する領域である。なお、RAWデータの後ろにはJPEGデータの最後を示すマーカ(EOIマーカ)1909があるため、DCFフォーマットとしての正当性が保たれることになる。また、RAWデータの有無乃至はRAWデータの位置を示すRAWヘッダ部1908の情報は、DCFヘッダ部203a内に格納されても良い。その場合には、オフセット値Bは、RAWデータまでのオフセットを表す値となる。   The RAW header portion 1906 is an area for storing RAW header information, and a predetermined data size is given in advance. The RAW header information includes shooting information of RAW data, metadata such as parameters, and an offset value C (1907) to the RAW data. The position of the RAW data in the image data file 203 can be specified by the offset value B and the offset value C. The RAW data unit 1908 is an area for storing RAW data, which is image data read from the image sensor 14 and having a large capacity before development / compression. Since the RAW data has a marker (EOI marker) 1909 indicating the end of the JPEG data, the validity as the DCF format is maintained. Information on the presence or absence of RAW data or information on the RAW header 1908 indicating the position of the RAW data may be stored in the DCF header 203a. In that case, the offset value B is a value representing an offset to the RAW data.

なお、以上では、画像データファイル203をRAWデータを含むDCFファイルとして生成する場合について説明した。しかし、画像データファイル203に含まれるデータはRAWデータに限定されるものではない。例えばRAWデータを画像処理した結果を圧縮せずビットマップデータとして含むように、画像データファイル203を生成した場合であっても有効であることは言うまでもない。   In the above description, the case where the image data file 203 is generated as a DCF file including RAW data has been described. However, the data included in the image data file 203 is not limited to RAW data. For example, it goes without saying that it is effective even when the image data file 203 is generated so that the result of image processing of RAW data is included as bitmap data without being compressed.

更に、DCFヘッダ情報に含まれるオフセット値A、B及びDにより各画像データやヘッダ部の開始位置が特定される。例えば、RAW(あるいはビットマップ)ヘッダ部203a及びRAW(あるいはビットマップ)データ部1908は、DCFヘッダ部203aあるいはサムネイル画像部1904の直後にあっても良い。   Furthermore, the start position of each image data and header part is specified by the offset values A, B, and D included in the DCF header information. For example, the RAW (or bitmap) header portion 203a and the RAW (or bitmap) data portion 1908 may be immediately after the DCF header portion 203a or the thumbnail image portion 1904.

次に、撮影から記録媒体101への画像データファイル記録までの一連のシーケンスを図3を参照して説明する。図3は、当該処理の一例に対応するフローチャートである。   Next, a series of sequences from shooting to recording of an image data file on the recording medium 101 will be described with reference to FIG. FIG. 3 is a flowchart corresponding to an example of the process.

図3において、ステップS301では、先に図1の説明で述べたように不図示のレリーズスイッチを構成するSW1(62)、SW2(64)の操作に応答し、AF処理、AE処理、露光処理までの一連の撮影処理が行われる。そして、撮影して得られた画像データが図2で説明した画像データファイル203の形式でメモリ30に一時保存される。そして、ステップS302において、画像データファイル書き込み処理に移行する。この画像データファイル書き込み処理では、画像データファイルの記録媒体101への書き込みが行われるが、その詳細については図8を参照して後述する。以上により、一連の撮影動作が実行される。   In FIG. 3, in step S301, as described in the description of FIG. 1, the AF process, the AE process, and the exposure process are performed in response to the operation of SW1 (62) and SW2 (64) constituting the release switch (not shown). A series of imaging processes up to are performed. The image data obtained by shooting is temporarily stored in the memory 30 in the format of the image data file 203 described with reference to FIG. In step S302, the process proceeds to image data file writing processing. In this image data file writing process, the image data file is written to the recording medium 101, and details thereof will be described later with reference to FIG. As described above, a series of photographing operations are executed.

次に、記録媒体101から画像データファイルを読み出し、画像表示部28に表示するまでの一連のシーケンスを図4を参照して説明する。図4は係る処理の一例に対応するフローチャートである。   Next, a series of sequences from reading an image data file from the recording medium 101 to displaying it on the image display unit 28 will be described with reference to FIG. FIG. 4 is a flowchart corresponding to an example of such processing.

図4において、ステップS401では、モードダイアル60が再生モードに設定されたか否かを判定する。もし、再生モードに設定されたと判定された場合には(ステップS401において「YES」)、ステップS402における画像データファイル再生処理に移行する。この画像データファイル再生処理では記録媒体101から画像データファイルをメモリ30に読み出す処理が行われるが、詳細については図9を参照して後述する。   In FIG. 4, in step S401, it is determined whether or not the mode dial 60 is set to the reproduction mode. If it is determined that the playback mode is set (“YES” in step S401), the process proceeds to the image data file playback process in step S402. In this image data file reproduction process, a process of reading an image data file from the recording medium 101 to the memory 30 is performed, and details will be described later with reference to FIG.

次に、記録媒体101から画像データファイルを読み出し、画像表示部28に表示し、画像データファイルを編集するまでの一連のシーケンスを図5を参照して説明する。図5は、係る処理の一例に対応するフローチャートである。   Next, a series of sequences from reading an image data file from the recording medium 101, displaying it on the image display unit 28, and editing the image data file will be described with reference to FIG. FIG. 5 is a flowchart corresponding to an example of such processing.

図5において、ステップS501では、モードダイアル60が編集モードに設定されたか否かを判定する。もし、編集モードに設定されたと判定された場合には(ステップS501において「YES」)、ステップS502に移行し、図9を参照して後述する画像データファイル再生処理を行う。次にステップS503の画像データファイル編集処理では、ステップS502でメモリ30に読み出された画像データファイルの編集・保存処理が行われるが、詳細については図10を参照して後述する。   In FIG. 5, in step S501, it is determined whether or not the mode dial 60 is set to the edit mode. If it is determined that the edit mode is set (“YES” in step S501), the process proceeds to step S502, and an image data file reproduction process described later with reference to FIG. 9 is performed. Next, in the image data file editing process in step S503, the image data file read and stored in the memory 30 in step S502 is edited / saved, which will be described in detail later with reference to FIG.

更に、記録媒体101から画像データファイルを読み出し、画像表示部28に表示し、画像データファイルを消去するまでの一連のシーケンスを図6を参照して説明する。図6は係る処理に対応するフローチャートである。   Furthermore, a series of sequences from reading out an image data file from the recording medium 101, displaying it on the image display unit 28, and erasing the image data file will be described with reference to FIG. FIG. 6 is a flowchart corresponding to such processing.

図6において、ステップS601では、モードダイアル60が消去モードに設定されたか否かを判定する。もし、消去モードに設定されたと判定された場合には、ステップS602に移行し、図9を参照して後述する画像データファイル再生処理を行う。次にステップS603の画像データファイル消去処理では、ステップS602で読み出された画像データファイルを、記録媒体101から消去する処理が行われるが、詳細については図11を参照して後述する。   In FIG. 6, in step S601, it is determined whether or not the mode dial 60 is set to the erase mode. If it is determined that the erasure mode is set, the process proceeds to step S602, and an image data file reproduction process described later with reference to FIG. 9 is performed. Next, in the image data file erasing process in step S603, the image data file read in step S602 is erased from the recording medium 101. Details will be described later with reference to FIG.

更に、記録媒体101から画像データファイルを読み出し、画像表示部28に表示し、画像データファイルの読み取り専用属性を変更するまでの一連のシーケンスを図7を参照して説明する。図7は係る処理に対応するフローチャートである。   Furthermore, a series of sequences from reading an image data file from the recording medium 101 to displaying it on the image display unit 28 and changing the read-only attribute of the image data file will be described with reference to FIG. FIG. 7 is a flowchart corresponding to such processing.

図7において、ステップS701では、モードダイアル60がファイル読み取り専用属性変更モードに設定されたか否かを判定する。もし、ファイル読み取り専用属性変更モードに設定されたと判定された場合には(ステップS701において「YES」)、ステップS702に移行し、図9を参照して後述する画像データファイル再生処理を行う。次にステップS703のファイル読み取り専用属性変更処理では、ステップS702でメモリ30に読み出された画像データファイルの読み取り専用属性変更を行う処理が行われるが、詳細については図12を参照して後述する。   In FIG. 7, in step S701, it is determined whether or not the mode dial 60 is set to the file read-only attribute change mode. If it is determined that the file read-only attribute change mode is set (“YES” in step S701), the process proceeds to step S702, and an image data file reproduction process described later with reference to FIG. 9 is performed. Next, in the file read-only attribute change process in step S703, a process for changing the read-only attribute of the image data file read to the memory 30 in step S702 is performed. Details will be described later with reference to FIG. .

次に図8のフローチャートを参照して、図3のステップS302で行われる画像データファイル203を記録媒体101に記録するための、画像データファイル記録処理について説明する。   Next, an image data file recording process for recording the image data file 203 performed in step S302 of FIG. 3 on the recording medium 101 will be described with reference to the flowchart of FIG.

まず、ステップS801ではメモリ30に一時保存してある画像データファイル203内の内部データ・ファイル属性203cを標準属性に設定する。次に、ステップS802に移行し、記録媒体101に画像データファイル203を書き込む。ステップS803では、書き込んだ画像データファイル203のファイルシステム・ファイル属性202を読み取り専用属性に設定し、終了する。   In step S801, the internal data / file attribute 203c in the image data file 203 temporarily stored in the memory 30 is set as a standard attribute. Next, the process proceeds to step S802, and the image data file 203 is written in the recording medium 101. In step S803, the file system file attribute 202 of the written image data file 203 is set to a read-only attribute, and the process ends.

このように記録媒体101に記録する際には内部データ・ファイル属性203cを標準属性に、ファイルシステム・ファイル属性202を読み取り専用属性にする。これにより、記録媒体101が他の機器、例えばパーソナルコンピュータからのプログラムで画像データファイルを読み出された際には、ファイルシステム・ファイル属性202が機能して読み取り専用属性のファイルとして読み出される。よって、パーソナルコンピュータのプログラムでは、画像データファイル203に対して、編集処理等を行うことができないので、画像データファイル構造の解釈の違いによるファイル破壊を防ぐことが可能となる。   Thus, when recording on the recording medium 101, the internal data file attribute 203c is set as a standard attribute, and the file system file attribute 202 is set as a read-only attribute. Thus, when the image data file is read from the recording medium 101 by a program from another device, for example, a personal computer, the file system file attribute 202 functions and is read as a read-only attribute file. Therefore, the personal computer program cannot perform editing processing or the like on the image data file 203, so that it is possible to prevent file destruction due to a difference in interpretation of the image data file structure.

ここで、画像データファイル構造の解釈の違いによるファイル破壊は、画像データファイル内の一部に、パーソナルコンピュータのプログラムに解釈できない領域が存在した場合に発生する。具体的に、その領域に対して解釈できないまま、アクセスを行ってしまうことで、そのファイル構造を壊してしまうこととなる。   Here, the file destruction due to the difference in interpretation of the image data file structure occurs when an area that cannot be interpreted by the program of the personal computer exists in a part of the image data file. Specifically, accessing the area without interpreting the area destroys the file structure.

次に図9のフローチャートを参照して、図4のステップS402で行われる画像データファイル203を記録媒体101から読み出して、再生する画像データファイル再生処理について説明する。   Next, an image data file reproduction process in which the image data file 203 performed in step S402 in FIG. 4 is read from the recording medium 101 and reproduced will be described with reference to the flowchart in FIG.

まず、ステップS901では記録媒体101から画像データファイル203をメモリ30に読み出す。次にステップS902では、メモリ30に読み出した画像データファイル203に内部データ・ファイル属性203cが存在するか否かを判定する。もし、内部データ・ファイル属性203cが存在すると判定された場合には(ステップS902において「YES」)、ステップS903に移行し、内部データ・ファイル属性203cを取得する。一方、内部データ・ファイル属性203cが存在しないと判定された場合には(ステップS902において「NO」)、ステップS904において画像データファイル203のファイルシステム・ファイル属性202を取得する。   First, in step S <b> 901, the image data file 203 is read from the recording medium 101 to the memory 30. In step S902, it is determined whether the image data file 203 read into the memory 30 has the internal data file attribute 203c. If it is determined that the internal data / file attribute 203c exists (“YES” in step S902), the process proceeds to step S903 to acquire the internal data / file attribute 203c. On the other hand, if it is determined that the internal data file attribute 203c does not exist (“NO” in step S902), the file system file attribute 202 of the image data file 203 is acquired in step S904.

次に、ステップS905では、ステップS903もしくはステップS904で取得したファイル属性を画像データファイル203の属性としてメモリ30に一時記憶する。ステップS906では、ステップS905でメモリ30に一時記憶した画像データファイル属性の内容を判定する。もし、画像データファイル属性が読み取り専用属性でないと判定された場合には(ステップS906において「NO」)、ステップS907に移行し、表示処理を行う。ここでの表示処理に関しては公知なので特に記述はしないが、メモリ30に読み出された画像データファイル203を、表示制御部26により画像表示部28に表示する処理を行う。   In step S905, the file attribute acquired in step S903 or S904 is temporarily stored in the memory 30 as the attribute of the image data file 203. In step S906, the contents of the image data file attribute temporarily stored in the memory 30 in step S905 are determined. If it is determined that the image data file attribute is not a read-only attribute (“NO” in step S906), the process proceeds to step S907 to perform display processing. The display process here is well known and will not be described in particular, but the display control unit 26 displays the image data file 203 read on the memory 30 on the image display unit 28.

一方、画像データファイル属性が読み取り専用属性であると判定された場合には「ステップS906においてYES」、ステップS908に移行する。ステップS908では、読み取り専用画像である警告を表示制御部26により画像表示部28に行い、ステップS906で表示処理を行い、終了する。   On the other hand, if it is determined that the image data file attribute is a read-only attribute, “YES in step S906”, the process proceeds to step S908. In step S908, a warning that is a read-only image is given to the image display unit 28 by the display control unit 26, display processing is performed in step S906, and the process ends.

ここで、警告を伴った表示形態の一例を図13に示す。図13において、1301はモードダイアル60が再生モードに設定されていることを示す表示である。1302は、ステップS905でメモリ30に一時記憶された画像データファイルの属性を示す表示である。このような表示によれば、画像データファイル203が読み取り専用属性であることを示すことができる。なお、読み取り専用属性でなければ、表示1302を表示しなくてよい。   Here, an example of a display form accompanied by a warning is shown in FIG. In FIG. 13, reference numeral 1301 denotes a display indicating that the mode dial 60 is set to the reproduction mode. Reference numeral 1302 denotes a display indicating the attributes of the image data file temporarily stored in the memory 30 in step S905. Such a display can indicate that the image data file 203 has a read-only attribute. If it is not a read-only attribute, the display 1302 may not be displayed.

以上のように画像データファイル203を再生することで、ファイルシステム・ファイル属性202が読み取り専用属性であっても、内部データ・ファイル属性203cの内容に基づいて、読み取り専用画像でないように表示することができる。また、内部データ・ファイル属性203cを含まない画像データファイル203については、ファイルシステム・ファイル属性202を利用した表示を行うことができる。   By reproducing the image data file 203 as described above, even if the file system file attribute 202 is a read-only attribute, it is displayed based on the contents of the internal data file attribute 203c so that it is not a read-only image. Can do. For the image data file 203 that does not include the internal data / file attribute 203c, display using the file system / file attribute 202 can be performed.

次に図10のフローチャートを参照して、図5のステップS503における画像データファイル編集処理について説明する。   Next, the image data file editing process in step S503 in FIG. 5 will be described with reference to the flowchart in FIG.

まず、ステップS1001ではステップS502で決定された画像データファイル203の属性を判定する。もし、画像データファイル203の属性が読み取り専用と判定された場合には(ステップS1001において「YES」)、ステップS1002で読み取り専用画像である警告を表示制御部26により画像表示部28に行い、処理を終了する。   First, in step S1001, the attribute of the image data file 203 determined in step S502 is determined. If it is determined that the attribute of the image data file 203 is read-only (“YES” in step S1001), a warning that is a read-only image is given to the image display unit 28 by the display control unit 26 in step S1002, and the processing is performed. Exit.

ここで、当該警告を伴う表示の一例を図14に示す。図14において、1401はモードダイアル60が編集モードに設定されていることを示す表示である。1402は、画像データファイル203が読み取り専用画像であることを示す表示である。1403は、当該画像ファイルデータ203の編集が不可能である旨を警告する表示である。   Here, an example of the display accompanied with the warning is shown in FIG. In FIG. 14, reference numeral 1401 denotes a display indicating that the mode dial 60 is set to the edit mode. A display 1402 indicates that the image data file 203 is a read-only image. A display 1403 warns that the image file data 203 cannot be edited.

一方、画像データファイル203の属性が読み取り専用でないと判定された場合には(ステップS1001において「NO」)、ステップS1003に移行し、画像データファイル203のファイルシステム・ファイル属性202を取得する。   On the other hand, if it is determined that the attribute of the image data file 203 is not read-only (“NO” in step S1001), the process proceeds to step S1003, and the file system / file attribute 202 of the image data file 203 is acquired.

次にステップS1004では、ファイルシステム・ファイル属性202の内容を判定する。ここで、ファイルシステム・ファイル属性202の内容が読み取り専用であると判定された場合には(ステップS1004において「YES」)、ステップS1005に移行する。ステップS1005では、記録媒体101の管理領域内のテーブルにおいて管理されているファイルシステム・ファイル属性202を標準属性に変更することにより、読み取り専用属性を解除し、ステップS1006に進む。このように読み取り専用属性の解除を行うのは、ファイルシステム・ファイル属性202が読み取り専用属性のままでは、ステップS1006において画像データファイル203の編集し、その結果を記録媒体101に保存できないためである。一方、読み取り専用属性でないと判定された場合には(ステップS1004において「NO」)、そのままステップS1006に進む。   In step S1004, the contents of the file system file attribute 202 are determined. If it is determined that the content of the file system file attribute 202 is read-only (“YES” in step S1004), the process proceeds to step S1005. In step S1005, the read-only attribute is canceled by changing the file system / file attribute 202 managed in the table in the management area of the recording medium 101 to the standard attribute, and the process advances to step S1006. The reason for canceling the read-only attribute in this way is that if the file system / file attribute 202 remains the read-only attribute, the image data file 203 is edited in step S1006 and the result cannot be stored in the recording medium 101. . On the other hand, if it is determined that the attribute is not a read-only attribute (“NO” in step S1004), the process directly proceeds to step S1006.

ステップS1006では、画像データファイル203の編集処理を行う。画像データファイルの編集については公知のため、その方法などは省略するが、図1の操作部67の編集操作スイッチの操作に基づいて、メモリ30の画像データファイルの編集を行い、編集結果を記録媒体101に保存する。   In step S1006, the image data file 203 is edited. Since the editing of the image data file is publicly known, the method is omitted, but the image data file in the memory 30 is edited based on the operation of the editing operation switch of the operation unit 67 in FIG. 1, and the editing result is recorded. Save to the medium 101.

次にステップS1007では、メモリ30に読み出した画像データファイル203に内部データ・ファイル属性203cが存在するか否かを判定する。もし、内部データ・ファイル属性203cが存在すると判定された場合には、(ステップS1007において「YES」)、ステップS1008に移行し、ファイルシステム・ファイル属性202を読み取り専用属性に変更し、終了する。このようにファイルシステム・ファイル属性202を読み取り専用属性に変更することで、他の装置で読み出された際に、編集後の画像データファイル203が画像データファイル構造の解釈の違いにより破壊されることがなくなる。それと同時に、本実施形態に対応する画像生成装置にでは、内部データ・ファイル属性203cに従って編集処理を行うことができる。一方、内部データ・ファイル属性203cが存在しないと判定された場合には(ステップS1007において「NO」)、そのまま処理を終了する。   In step S1007, it is determined whether the image data file 203 read into the memory 30 has the internal data file attribute 203c. If it is determined that the internal data / file attribute 203c exists (“YES” in step S1007), the process proceeds to step S1008, the file system / file attribute 202 is changed to a read-only attribute, and the process ends. By changing the file system file attribute 202 to the read-only attribute in this way, the edited image data file 203 is destroyed due to a difference in interpretation of the image data file structure when read by another apparatus. Nothing will happen. At the same time, the image generation apparatus corresponding to the present embodiment can perform editing processing according to the internal data / file attribute 203c. On the other hand, if it is determined that the internal data / file attribute 203c does not exist (“NO” in step S1007), the processing is ended as it is.

このように画像データファイル203の編集処理では、ファイルシステム・ファイル属性202が読み取り専用属性でも、内部データ・ファイル属性203cの内容に基づき、画像データファイル203の編集の可否を判定し、編集処理を実行できる。また、内部データ・ファイル属性203cを含まない画像データファイル203については、ファイルシステム・ファイル属性202の内容が読み取り専用属性であるか否かに基づいて、編集の可否を判定し、編集処理を実行することができる。   As described above, in the editing process of the image data file 203, even if the file system / file attribute 202 is the read-only attribute, it is determined whether or not the image data file 203 can be edited based on the contents of the internal data / file attribute 203c. Can be executed. For an image data file 203 that does not include the internal data / file attribute 203c, whether or not editing is possible is determined based on whether or not the content of the file system / file attribute 202 is a read-only attribute, and an editing process is executed. can do.

次に図11のフローチャートを参照して、図6のステップS603で行われる画像データファイルを記録媒体101から消去する、画像データファイル消去処理について説明する。   Next, an image data file erasing process for erasing the image data file performed in step S603 of FIG. 6 from the recording medium 101 will be described with reference to the flowchart of FIG.

まず、ステップS1101ではステップS602で決定された画像データファイル203の属性を判定する。もし、画像データファイル203の属性が読み取り専用と判定された場合には(ステップS1101において「YES」)、ステップS1102において、読み取り専用画像である旨の警告を表示制御部26により画像表示部28に行い、処理を終了する。   First, in step S1101, the attribute of the image data file 203 determined in step S602 is determined. If it is determined that the attribute of the image data file 203 is read-only (“YES” in step S1101), a warning that the image is a read-only image is displayed on the image display unit 28 by the display control unit 26 in step S1102. To end the process.

ここで、当該警告を伴う表示の一例を図15に示す。図15において、1501はモードダイアル60が消去モードに設定されている旨を示す表示である。1502は、画像データファイルの属性を示す表示であり、画像データファイルが読み取り専用画像であることを示している。1503は、表示されている画像データファイル203が消去不可能である旨を警告する表示である。   Here, an example of the display accompanied with the warning is shown in FIG. In FIG. 15, reference numeral 1501 denotes a display indicating that the mode dial 60 is set to the erase mode. Reference numeral 1502 denotes a display indicating the attribute of the image data file, which indicates that the image data file is a read-only image. Reference numeral 1503 denotes a display for warning that the displayed image data file 203 cannot be deleted.

ステップS1101において、画像データファイル属性が読み取り専用でないと判定された場合には(ステップS1101において「NO」)、ステップS1103に移行する。ステップS1103では、画像データファイル203のファイルシステム・ファイル属性202を取得する。次に、ステップS1104において、ファイルシステム・ファイル属性202の内容を判定し、もし、読み取り専用と判定された場合には(ステップS1104において「YES」)、ステップS1105に移行する。ステップS1105では、記録媒体101の管理領域内のテーブルにおいて管理されているファイルシステム・ファイル属性202を標準属性に変更することにより、読み取り専用属性を解除し、ステップS1106に進む。このように読み取り専用属性の解除を行うのは、ファイルシステム・ファイル属性202が読み取り専用属性のままでは、ステップS1106において画像データファイル203を記録媒体101から消去することができないためである。一方、読み取り専用属性でないと判定された場合には(ステップS1104において「NO」)、そのままステップS1106に進む。   If it is determined in step S1101 that the image data file attribute is not read-only (“NO” in step S1101), the process proceeds to step S1103. In step S1103, the file system file attribute 202 of the image data file 203 is acquired. In step S1104, the contents of the file system / file attribute 202 are determined. If it is determined to be read-only (“YES” in step S1104), the process proceeds to step S1105. In step S1105, the read-only attribute is canceled by changing the file system / file attribute 202 managed in the table in the management area of the recording medium 101 to the standard attribute, and the process advances to step S1106. The reason for canceling the read-only attribute in this way is that the image data file 203 cannot be erased from the recording medium 101 in step S1106 if the file system / file attribute 202 remains the read-only attribute. On the other hand, if it is determined that the attribute is not a read-only attribute (“NO” in step S1104), the process directly proceeds to step S1106.

ステップS1106では、記録媒体101から画像データファイル203の消去を行う。記録媒体101からの画像データファイル203の消去については公知のため、その方法の詳細な説明は省略するが、図1の操作部68の消去操作スイッチを用いて、画像データファイルの消去の実行を受け付けたか否かを判定し、消去を行うことができる。   In step S1106, the image data file 203 is erased from the recording medium 101. Since the erasure of the image data file 203 from the recording medium 101 is publicly known, detailed description of the method is omitted, but the erasure of the image data file is executed using the erasure operation switch of the operation unit 68 of FIG. It is possible to determine whether or not it has been accepted and to perform erasure.

以上のように画像データファイル消去処理を行うことで、ファイルシステム・ファイル属性202が読み取り専用属性でも、内部データ・ファイル属性203cの内容に基づいて、記録媒体101から画像データファイル203を消去できる。また、内部データ・ファイル属性203cを含まない画像データファイル203については、ファイルシステム・ファイル属性202の内容が読み取り専用属性であるか否かを判定し、消去の可否を判断し、消去処理を実行することができる。   By performing the image data file deletion process as described above, the image data file 203 can be deleted from the recording medium 101 based on the contents of the internal data file attribute 203c even if the file system file attribute 202 is a read-only attribute. For the image data file 203 that does not include the internal data file attribute 203c, it is determined whether or not the content of the file system file attribute 202 is a read-only attribute, determines whether or not it can be deleted, and executes the deletion process. can do.

次に図12のフローチャートを参照して、図7のステップS703における、画像データファイル読み取り専用属性変更処理について説明する。   Next, the image data file read-only attribute change process in step S703 of FIG. 7 will be described with reference to the flowchart of FIG.

まず、ステップS1201ではステップS702で決定された画像データファイル203の属性を判定する。もし、画像データファイル203の属性が読み取り専用と判定された場合には(ステップS1201においてYES)、画像データファイル203の読み取り専用属性を解除するためにステップS1208に移行する。ステップS1208では、画像データファイル203に内部データ・ファイル属性203cが存在するか否かを判定する。   First, in step S1201, the attribute of the image data file 203 determined in step S702 is determined. If it is determined that the attribute of the image data file 203 is read-only (YES in step S1201), the process proceeds to step S1208 to cancel the read-only attribute of the image data file 203. In step S1208, it is determined whether or not the internal data / file attribute 203c exists in the image data file 203.

ここで、内部データ・ファイル属性203cが存在しないと判定された場合には(ステップS1208において「NO」)、ステップS1209に移行してファイルシステム・ファイル属性202を標準属性に変更して処理を終了する。一方、内部データ・ファイル属性が存在すると判定された場合には(ステップS1208において「YES」)、ステップS1210に移行してファイルシステム・ファイル属性202が読み取り専用属性であるか否かを判定する。もし、読み取り専用属性であると判定されれば(ステップS1210において「YES」)、ステップS1213に移行して読み取り専用属性を解除し、ステップS1211へ移行する。一方、読み取り専用属性でないと判定されれば(ステップS1210において「NO」)、そのままステップS1211に移行する。   If it is determined that the internal data / file attribute 203c does not exist (“NO” in step S1208), the process proceeds to step S1209 to change the file system / file attribute 202 to the standard attribute and terminate the process. To do. On the other hand, if it is determined that the internal data / file attribute exists (“YES” in step S1208), the process proceeds to step S1210 to determine whether the file system / file attribute 202 is a read-only attribute. If it is determined that the attribute is a read-only attribute (“YES” in step S1210), the process proceeds to step S1213, the read-only attribute is canceled, and the process proceeds to step S1211. On the other hand, if it is determined that the attribute is not a read-only attribute (“NO” in step S1210), the process proceeds to step S1211.

ステップS1211では、内部データ・ファイル属性203cを標準属性に設定し、ステップS1212に移行する。ステップS1212では、ファイルシステム・ファイル属性202を読み取り専用属性に設定し、処理を終了する。   In step S1211, the internal data / file attribute 203c is set as a standard attribute, and the process proceeds to step S1212. In step S1212, the file system / file attribute 202 is set to a read-only attribute, and the process ends.

ここで、一連の読み取り専用属性解除の際の表示例を図16に示す。図16において、1601はモードダイアル60がファイル読み取り専用属性変更モードに設定されていることを示す表示である。1602は、画像データファイルの読み取り専用属性が解除されたことを示す表示である。   Here, FIG. 16 shows a display example when a series of read-only attribute cancellation. In FIG. 16, reference numeral 1601 denotes a display indicating that the mode dial 60 is set to the file read-only attribute change mode. Reference numeral 1602 denotes a display indicating that the read-only attribute of the image data file has been canceled.

図12に戻って、ステップS1201において画像データファイル属性が読み取り専用属性でないと判定された場合には(ステップS1201において「NO」)、ステップS1202に移行する。ステップS1202では、画像データファイル203に読み取り専用属性を設定するために、画像データファイル203に内部データ・ファイル属性203cが存在するか否かを判定する。もし、内部データ・ファイル属性が存在しないと判定されれば(ステップS1202において「NO」)、ステップS1203に移行してファイルシステム・ファイル属性202を読み取り専用属性に変更して、処理を終了する。   Returning to FIG. 12, if it is determined in step S1201 that the image data file attribute is not a read-only attribute (“NO” in step S1201), the process proceeds to step S1202. In step S1202, in order to set a read-only attribute in the image data file 203, it is determined whether or not the internal data file attribute 203c exists in the image data file 203. If it is determined that the internal data / file attribute does not exist (“NO” in step S1202), the process proceeds to step S1203, the file system / file attribute 202 is changed to a read-only attribute, and the process ends.

一方、内部データ・ファイル属性203cが存在すると判定されれば(ステップS1202において「YES」)、ステップS1204において、ファイルシステム・ファイル属性202が読み取り専用属性であるか否かを判定する。もし、読み取り専用属性であると判定されれば(ステップS1204において「YES」)、ステップS1207に移行する。ステップS1207では、記録媒体101の管理領域内のテーブルにおいて管理されているファイルシステム・ファイル属性202を標準属性に変更することにより、当該読み取り専用属性を解除し、ステップS1205に移行する。このように読み取り専用属性の解除を行うのは、ファイルシステム・ファイル属性202が読み取り専用属性のままでは、ステップS1205において画像データファイル203の内部データ・ファイル属性203cの設定を変更できないためである。一方、読み取り専用属性でないと判定されれば(ステップS1204において「NO」)、そのままステップS1205に移行する。ステップS1205では、内部データ・ファイル属性203cを読み取り専用属性に設定し、ステップS1206に移行する。ステップS1206では、ファイルシステム・ファイル属性202を読み取り専用属性に設定し、処理を終了する。   On the other hand, if it is determined that the internal data / file attribute 203c exists (“YES” in step S1202), it is determined in step S1204 whether the file system / file attribute 202 is a read-only attribute. If it is determined that the attribute is a read-only attribute (“YES” in step S1204), the process proceeds to step S1207. In step S1207, the read-only attribute is canceled by changing the file system / file attribute 202 managed in the table in the management area of the recording medium 101 to the standard attribute, and the process proceeds to step S1205. The reason for canceling the read-only attribute in this way is that the setting of the internal data / file attribute 203c of the image data file 203 cannot be changed in step S1205 if the file system / file attribute 202 remains the read-only attribute. On the other hand, if it is determined that the attribute is not a read-only attribute (“NO” in step S1204), the process proceeds to step S1205 as it is. In step S1205, the internal data file attribute 203c is set to a read-only attribute, and the process proceeds to step S1206. In step S1206, the file system / file attribute 202 is set to a read-only attribute, and the process ends.

一連の読み取り専用属性設定の際の表示例を図17に示す。1701は、モードダイアル60がファイル読み取り専用属性変更モードに設定されていることを示す表示である。1702及び1703は、画像データファイル203が読み取り専用属性に設定されたことを示す表示である。   FIG. 17 shows a display example when setting a series of read-only attributes. A display 1701 indicates that the mode dial 60 is set to the file read-only attribute change mode. Reference numerals 1702 and 1703 denote displays indicating that the image data file 203 is set to the read-only attribute.

以上のように画像データファイル読み取り専用属性変更処理を行うことにより、内部データ・ファイル属性203cの読み取り専用属性を変更し、ファイルシステム・ファイル属性202を常に読み取り専用属性にすることができる。これにより、他の機器(例えばパーソナルコンピュータ)によって、記録媒体101から画像データファイル203が読み出された際に、読み取り専用属性のファイルとして読み出されることとなる。   By performing the image data file read-only attribute changing process as described above, the read-only attribute of the internal data file attribute 203c can be changed, and the file system file attribute 202 can always be set to the read-only attribute. Thus, when the image data file 203 is read from the recording medium 101 by another device (for example, a personal computer), it is read as a file having a read-only attribute.

また、内部データ・ファイル属性203cを含まない画像データファイル203については、ファイルシステム・ファイル属性202により、読み取り専用画像の設定を行うことができる。従って、この場合でも他の機器から画像データファイル203が読み出される際に、読み取り専用属性のファイルとして読み出されることとなる。   For the image data file 203 that does not include the internal data / file attribute 203c, a read-only image can be set by the file system / file attribute 202. Therefore, even in this case, when the image data file 203 is read from another device, it is read as a file having a read-only attribute.

図18に、メニュー操作スイッチ66の操作により、画像表示部28に表示されるメニュー画面の一例を示す。画像の表示、画像の編集、画像の消去、画像の読み取り専用属性の設定変更など、画像データファイルの各種操作・設定をモードダイアル60から行うことは、すでに説明した。但し、図18に示すようなメニュー画面からも、メニュー操作スイッチ66の操作により、同様の処理を行うことが可能である。   FIG. 18 shows an example of a menu screen displayed on the image display unit 28 by operating the menu operation switch 66. As described above, various operations and settings of the image data file such as image display, image editing, image deletion, and image read-only attribute setting change are performed from the mode dial 60. However, the same processing can be performed from the menu screen as shown in FIG. 18 by operating the menu operation switch 66.

図18において、1800は、メニュー画面を示す表示で、その項目がリストとして表示される。1801は、メニュー項目の1つで「画像の再生」、1802が「画像の編集」、1803が「画像の消去」、1804が「画像のプロテクト設定」を示す。それぞれの項目はモードダイアル60にあるモードに対応している。もちろん、モードダイアル60にあるモード以外のものをメニュー画面に加えてもよい。1805は、選択された項目を指し示す表示であり、メニュー操作スイッチ66の操作に対応して、画面内を移動でき、任意の項目の選択が可能となる。   In FIG. 18, 1800 is a display showing a menu screen, and the items are displayed as a list. One of the menu items 1801 indicates “image playback”, 1802 indicates “image editing”, 1803 indicates “image deletion”, and 1804 indicates “image protection setting”. Each item corresponds to a mode in the mode dial 60. Of course, modes other than those in the mode dial 60 may be added to the menu screen. Reference numeral 1805 denotes a display indicating the selected item, which can be moved within the screen in accordance with the operation of the menu operation switch 66, and an arbitrary item can be selected.

これにより、モードダイアル60からだけでなく、メニュー操作スイッチ66の操作によってメニュー画面から簡便に画像データファイルの各種操作、設定を行うことができる。   Thus, various operations and settings of the image data file can be easily performed from the menu screen by operating the menu operation switch 66 as well as the mode dial 60.

以上、説明したように、本実施形態によれば内部データ・ファイル属性203cとファイルシステム・ファイル属性202の設定を制御する。これにより、ファイルシステム・ファイル属性202が読み取り専用属性でも、内部データ・ファイル属性203cの設定内容に基づいて標準属性としてファイルを扱うことができる。その上で、他の機器で画像データファイル203にアクセスしようとする場合には、ファイルシステム・ファイル属性202が機能するので、読み取り専用属性のファイルとして扱われることになる。   As described above, according to the present embodiment, the setting of the internal data file attribute 203c and the file system file attribute 202 is controlled. Thus, even if the file system file attribute 202 is a read-only attribute, the file can be handled as a standard attribute based on the setting contents of the internal data file attribute 203c. In addition, when trying to access the image data file 203 with another device, the file system file attribute 202 functions, and therefore, it is handled as a file with a read-only attribute.

これにより、画像データファイル203の編集、消去などを目的としたアクセスを行う際に、ファイルシステム・ファイル属性202の読み取り専用属性を手動で解除するといった面倒な作業をユーザに強いることがなくなる。同時に、他の機器により画像データファイル203にアクセスが行われる場合でも、画像データファイル構造の解釈の違いによる画像データファイル203の破壊を、未然に防止することが可能となる。   As a result, when accessing the image data file 203 for the purpose of editing, erasing, etc., the user is not forced to perform a troublesome task of manually canceling the read-only attribute of the file system / file attribute 202. At the same time, even when the image data file 203 is accessed by another device, it is possible to prevent the image data file 203 from being destroyed due to a difference in interpretation of the image data file structure.

なお、上記実施の形態では、入出力装置として記録媒体を用いたが、入出力装置に通信機能を持たせ、遠隔大容量記録媒体への入出力を行う際にも有効である。   In the above embodiment, the recording medium is used as the input / output device. However, it is also effective when the input / output device has a communication function and inputs / outputs to a remote large-capacity recording medium.

[第2の実施形態]
本発明の第2の実施形態における画像処理装置の構成を図20を参照して説明する。本発明の第2の実施形態によるデジタルカメラの要部構成は、図1と基本的には同じであり、その説明は、同じ構成部分は省略し、異なる構成部分だけを掻い摘んで説明する。
[Second Embodiment]
The configuration of the image processing apparatus according to the second embodiment of the present invention will be described with reference to FIG. The configuration of the main part of the digital camera according to the second embodiment of the present invention is basically the same as that in FIG. 1, and the description will be made by omitting the same components and scratching only the different components.

図20において、図1の構成に追加する形で異なる部分の20090はメモリカードやハードディスク等の記録媒体とのインタフェース、20092はメモリカードやハードディスク等の記録媒体と接続を行うコネクタである。第1の実施形態で、「記録媒体を取り付けるインタフェース及びコネクタは、単数或いは複数、いずれの系統数を備える構成として構わない。また、異なる規格のインタフェース及びコネクタを組み合わせて備える構成としてもよい」と説明した。しかし、第二の実施形態では複数の記録媒体を取り付けることで、特にその特徴が現れるため、記録媒体を取り付けるインタフェース及びコネクタを2系統持つものとして、説明している。   In FIG. 20, a different part 20090 added to the configuration of FIG. 1 is an interface with a recording medium such as a memory card or a hard disk, and 20092 is a connector for connecting with a recording medium such as a memory card or a hard disk. In the first embodiment, “a single interface or a plurality of interfaces and connectors for attaching a recording medium may be provided, and a configuration including any number of systems and connectors may be provided in combination with different standards”. explained. However, in the second embodiment, the characteristics appear particularly when a plurality of recording media are attached. Therefore, it is assumed that the interface and the connector for attaching the recording media have two systems.

インタフェース及びコネクタとしては、第1の実施形態と同様、PCMCIAカードやコンパクトフラッシュ(登録商標)カード等の規格に準拠したものを用いて構成することが可能である。この場合、インタフェース20090及び20092に各種通信カードを接続することにより、他のコンピュータやプリンタ等の周辺機器との間で画像データや画像データに付属した管理情報を転送し合うことができる。各種通信カードには、LANカードやモデムカード、USBカード、IEEE1394カード、P1284カード、SCSIカード、PHS等の通信カード等が含まれる。   As in the first embodiment, the interface and the connector can be configured using a PCMCIA card, a compact flash (registered trademark) card, or the like that conforms to the standard. In this case, by connecting various communication cards to the interfaces 20090 and 20009, image data and management information attached to the image data can be transferred to and from other computers and peripheral devices such as a printer. Various communication cards include LAN cards, modem cards, USB cards, IEEE 1394 cards, P1284 cards, SCSI cards, communication cards such as PHS, and the like.

20101はメモリカードやハードディスク等の記録媒体である。記録媒体20101は半導体メモリや磁気ディスク等から構成される記録部20102と画像処理装置100とのインタフェース20104と画像処理装置100と接続を行うコネクタ20106とを備えている。   Reference numeral 20101 denotes a recording medium such as a memory card or a hard disk. The recording medium 20101 includes a recording unit 20102 composed of a semiconductor memory, a magnetic disk, and the like, an interface 20104 between the image processing apparatus 100, and a connector 20106 that connects the image processing apparatus 100.

また、メモリ52に記録されている、作成した画像ファイルデータを記録媒体に記録するプログラム、画像ファイルデータを記録媒体から読み出すプログラムなどは、複数の異なるファイルシステムを解釈できるようにプログラムされている。この切り替え、選択は記録媒体ごとに、システム制御部50が作業領域として使用するメモリ30にファイルシステム(FS)選択フラグとして保持される。   A program for recording the created image file data on the recording medium, a program for reading the image file data from the recording medium, and the like recorded in the memory 52 are programmed so that a plurality of different file systems can be interpreted. This switching and selection is held as a file system (FS) selection flag in the memory 30 used as a work area by the system control unit 50 for each recording medium.

さらに、図1の構成に追加する形で異なる部分の20001は記録媒体選択スイッチであり、不図示のセットキー、十字キー等の組み合わせで構成され、撮影した画像データの記録先や再生する画像データが記録されている記録媒体を選択できる。その切り替え、選択は、システム制御部50が作業領域として使用するメモリ30に各々の記録媒体について「記録フラグ」や「再生選択フラグ」として保持される。   Further, a different part 20001 in addition to the configuration shown in FIG. 1 is a recording medium selection switch, which is composed of a combination of a set key, a cross key (not shown), and the like. Can be selected. The switching and selection are held as “recording flag” and “reproduction selection flag” for each recording medium in the memory 30 used as a work area by the system control unit 50.

さらに、図1の構成に追加する形で異なる部分の20002はコピー操作スイッチである。これは、不図示のセットキー、十字キーなどの組み合わせで構成され、記録媒体101から記録媒体20101へ、もしくは記録媒体20101から101へ画像データのコピーを画像表示部28を見ながら行うことができる。コピー自体はコピー元となる記録媒体の画像データをメモリ30に読み出したあと、画像表示部28で表示し、セットキー、十字キーなどの組み合わせでコピー先となる記録媒体に書き込むことが可能である。   Further, a portion 20002 which is different from the configuration shown in FIG. 1 is a copy operation switch. This is composed of a combination of a set key and a cross key (not shown), and image data can be copied from the recording medium 101 to the recording medium 20101, or from the recording medium 20101 to 101 while viewing the image display unit 28. . Copying can be performed by reading image data of a recording medium serving as a copy source into the memory 30, displaying the data on the image display unit 28, and writing to the recording medium serving as a copy destination using a combination of a set key, a cross key, and the like. .

次に図21を参照して、撮影処理により作成されたメモリ30にある画像データを画像データファイルとして記録媒体101、および記録媒体20101に記録する際のファイル構造とファイルシステムとの関係を説明する。   Next, with reference to FIG. 21, a description will be given of the relationship between the file system and the file system when image data in the memory 30 created by the photographing process is recorded on the recording medium 101 and the recording medium 20101 as an image data file. .

本実施形態では、画像データファイル2103はファイルシステムA(2101)管理下で記録媒体101に記録される。このファイルシステムA(2101)は画像データファイル2103の記録媒体への書き込み(記録)、読み出しを管理するもので、メモリ52に格納されたプログラムを取得し、実行することでシステム制御部50により実現される。装着された記録媒体101がファイルシステムAであるかどうかの判断も、メモリ52に格納されたプログラムを取得し、実行することでシステム制御部50により実現される。   In this embodiment, the image data file 2103 is recorded on the recording medium 101 under the management of the file system A (2101). This file system A (2101) manages the writing (recording) and reading of the image data file 2103 to and from the recording medium, and is realized by the system control unit 50 by acquiring and executing the program stored in the memory 52. Is done. The determination as to whether or not the mounted recording medium 101 is the file system A is also realized by the system control unit 50 by acquiring and executing a program stored in the memory 52.

また、ファイルシステムA(2101)の管理下では画像データファイル2103のファイル属性は記録媒体101の管理領域上に設けられたテーブル上で管理される。以下における本実施形態の説明では、このファイル属性を、ファイルシステム・ファイル属性2102という。   Further, under the management of the file system A (2101), the file attributes of the image data file 2103 are managed on a table provided in the management area of the recording medium 101. In the following description of the present embodiment, this file attribute is referred to as a file system / file attribute 2102.

一方、本実施形態では、記録媒体を取り付けるインタフェース及びコネクタを2系統持ち、かつ複数のファイルシステムを解釈できるので、画像データファイル2103はFileSystemB(2104)の管理下で記録媒体20101にも記録可能である。このFileSystemB(2104)は画像データファイル2103の記録媒体への書き込み(記録)、読み出しを管理するもので、メモリ52に格納されたプログラムを取得し、実行することでシステム制御部50により実現される。装着された記録媒体20101がFileSystemBであるかどうかの判断も、メモリ52に格納されたプログラムを取得し、実行することでシステム制御部50により実現される。   On the other hand, in this embodiment, since there are two interfaces and connectors for attaching the recording medium and a plurality of file systems can be interpreted, the image data file 2103 can be recorded on the recording medium 20101 under the control of FileSystem B (2104). is there. This File System B (2104) manages writing (recording) and reading of the image data file 2103 to and from the recording medium, and is realized by the system control unit 50 by acquiring and executing a program stored in the memory 52. . The determination as to whether the mounted recording medium 20101 is FileSystemB is also realized by the system control unit 50 by acquiring and executing a program stored in the memory 52.

また、FileSystemB(2104)の管理下では画像データファイル2103のファイル属性は記録媒体20101の管理領域上に設けられたテーブル上で管理される。以下における本実施形態の説明では、このファイル属性を、FileSystem・File属性2105という。   Also, under the management of FileSystemB (2104), the file attributes of the image data file 2103 are managed on a table provided in the management area of the recording medium 20101. In the following description of the present embodiment, this file attribute is referred to as a FileSystem / File attribute 2105.

ファイルシステムAとFileSystemBとは異なるファイルシステムであり、それぞれ解釈の方法が違っていてよい。即ち、ファイル属性にお互い似たものがあって当然だが、根本的にはファイルシステムが異なるのであるから、それぞれのファイル属性自体も異なるものである。本実施形態では異なるファイルシステムにおけるファイル属性をそれぞれ区別するため、ファイルシステムAのファイル属性は標準、読み取り専用、隠しファイルなど日本語で表記する。また、FileSystemBのファイル属性をNormal、Protect、Hiddenなどアルファベットで表記するものとする。   File system A and FileSystemB are different file systems, and their interpretation methods may be different. That is, there are file attributes that are similar to each other. Of course, since the file systems are fundamentally different, the file attributes themselves are also different. In this embodiment, in order to distinguish file attributes in different file systems, the file attributes of the file system A are written in Japanese, such as standard, read-only, and hidden files. In addition, file attributes of FileSystemB are expressed in alphabets such as Normal, Protect, and Hidden.

記録媒体101、20101に記録される画像データ2103の構成はそれぞれヘッダ部2103a、画像データ部2103bに分かれており、ヘッダ部2103aは、内部データ・ファイル属性2103cを格納するための領域を有している。このように、画像データファイル構成はファイルシステムが異なっても同様である。   The configuration of the image data 2103 recorded on the recording media 101 and 20101 is divided into a header part 2103a and an image data part 2103b, respectively. The header part 2103a has an area for storing the internal data / file attribute 2103c. Yes. Thus, the image data file structure is the same even if the file systems are different.

また、この内部データ・ファイル属性2103cには、一般的に用いられるようなファイル属性を識別することができるデータが含まれる。具体的には、標準属性、アーカイブ属性、隠しファイル属性、読み取り専用属性、システム属性、読み出し可否属性、書き込み可否属性、実行可否属性などがある。これらのファイル属性を識別することができるデータはファイルシステムA、FileSystemBに関係なく、同じデータである。なお属性についての説明は、第1の実施形態において図2と関連して説明した内容と同様なので省略する。また、画像データファイルの構造についても、同様なので省略する。   The internal data file attribute 2103c includes data that can identify a file attribute that is generally used. Specifically, there are a standard attribute, an archive attribute, a hidden file attribute, a read-only attribute, a system attribute, a read enable / disable attribute, a write enable / disable attribute, an executable enable / disable attribute, and the like. The data that can identify these file attributes is the same data regardless of the file systems A and FileSystemB. The description of the attribute is the same as the content described in connection with FIG. Also, the structure of the image data file is the same, and is omitted.

なお、図21では、記録媒体101がファイルシステムAであって、記録媒体20101がFileSystemBの場合を記載するが、記録媒体とファイルシステムの対応関係が逆であっても良い。そこで、以下では、各記録媒体が両方のファイルシステムに対応する場合をそれぞれ想定して説明する。   In FIG. 21, the case where the recording medium 101 is the file system A and the recording medium 20101 is the FileSystem B is described, but the correspondence relationship between the recording medium and the file system may be reversed. Therefore, the following description will be made assuming that each recording medium corresponds to both file systems.

次に、撮影から記録媒体101、20101への画像データファイル記録までの一連のシーケンスを図22を参照して説明する。図22は当該処理の一例に対応するフローチャートである。   Next, a series of sequences from shooting to image data file recording on the recording media 101 and 2010 will be described with reference to FIG. FIG. 22 is a flowchart corresponding to an example of the process.

図22において、ステップS2201では記録媒体101と記録媒体20101を制御しているファイルシステムを判断する。このファイルシステムの判断については図24を参照して後述する。次にステップS2202では記録媒体選択スイッチ20001により設定された、記録する記録媒体を選択する処理が行われるが、その詳細については図25を参照して後述する。   In FIG. 22, in step S2201, the recording medium 101 and the file system that controls the recording medium 20101 are determined. This determination of the file system will be described later with reference to FIG. Next, in step S2202, processing for selecting a recording medium to be recorded, which is set by the recording medium selection switch 20001, is performed. Details thereof will be described later with reference to FIG.

次にステップS2203では先に図1の説明で述べたように不図示のレリーズスイッチを構成するSW1(62)、SW2(64)の操作に応答し、AF処理、AE処理、露光処理までの一連の撮影処理が行われる。そして、撮影して得られた画像データが図21で説明した画像データ2103の形式でメモリ30に一時保存される。続くステップS2204では、画像データファイル選択記録処理に移行する。この画像データファイル選択記録処理では画像データファイルの記録媒体101、および記録媒体20101への記録が行われるが、その詳細については図26を参照して後述する。以上により、一連の撮影動作が実行される。   Next, in step S2203, as described in the description of FIG. 1, a series of processes from AF processing, AE processing, and exposure processing in response to the operation of SW1 (62) and SW2 (64) constituting a release switch (not shown). The shooting process is performed. Then, the image data obtained by photographing is temporarily stored in the memory 30 in the format of the image data 2103 described with reference to FIG. In a succeeding step S2204, the process proceeds to image data file selection recording processing. In this image data file selection recording process, the image data file is recorded on the recording medium 101 and the recording medium 20101, and details thereof will be described later with reference to FIG. As described above, a series of photographing operations are executed.

次に記録媒体101、および記録媒体20101から画像データファイルを読み出し、画像表示部28に表示し、読み出した画像データファイルを記録媒体101、および記録媒体20101にコピーする一連のシーケンスを図23を参照して説明する。図23は係る処理の一例に対応するフローチャートである。   Next, a series of sequences for reading the image data file from the recording medium 101 and the recording medium 20101, displaying the image data file on the image display unit 28, and copying the read image data file to the recording medium 101 and the recording medium 20101, see FIG. To explain. FIG. 23 is a flowchart corresponding to an example of such processing.

図23において、ステップS2301では記録媒体101と記録媒体20101を制御しているファイルシステムを判断する。このファイルシステムの判断については図24を参照して後述する。次にステップS2302では、コピー操作スイッチ20002における不図示のコピー操作モードが設定された否かを判定する。もし、コピー操作モードに設定されたと判定された場合には(ステップS2302において「YES」)、ステップS2303における再生元となる記録媒体を選択する処理に移行する。この再生元媒体選択処理では、画像データファイルを読み出す記録媒体を選択、決定するが、その詳細については図27を参照して後述する。   In FIG. 23, in step S2301, the recording medium 101 and the file system that controls the recording medium 20101 are determined. This determination of the file system will be described later with reference to FIG. In step S2302, it is determined whether a copy operation mode (not shown) in the copy operation switch 20002 is set. If it is determined that the copy operation mode is set (“YES” in step S2302), the process proceeds to processing for selecting a recording medium to be a reproduction source in step S2303. In this reproduction source medium selection processing, a recording medium from which an image data file is read is selected and determined. Details thereof will be described later with reference to FIG.

次に、ステップS2304における画像データファイル選択再生処理に移行し、ステップS2303で選択された記録媒体から画像データファイルを読み出して、再生処理を行うが、その処理についての詳細は図28を参照して後述する。次にステップS2305に移行し、読み出された画像データファイルを記録する(コピーする)記録媒体を選択する記録先媒体選択処理が行われるが、その詳細については図25を参照して後述する。次にステップS2306に移行し、ステップS2303で選択された記録媒体に画像データを記録する(コピーする)画像データファイルコピー処理が行われるが、その詳細については図29を参照して後述する。   Next, the process proceeds to image data file selection / playback processing in step S2304, and the image data file is read from the recording medium selected in step S2303 and playback processing is performed. Details of this processing are shown in FIG. It will be described later. Next, the process proceeds to step S2305, and a recording destination medium selection process for selecting a recording medium for recording (copying) the read image data file is performed. Details thereof will be described later with reference to FIG. Next, the process proceeds to step S2306, and image data file copy processing for recording (copying) image data on the recording medium selected in step S2303 is performed. Details thereof will be described later with reference to FIG.

次に図24のフローチャートを参照して、図22のステップS2201、および図23のステップS2301で行われる、記録媒体を制御するためのファイルシステムを判断するファイルシステム判断処理について説明する。   Next, a file system determination process for determining a file system for controlling a recording medium performed in step S2201 in FIG. 22 and step S2301 in FIG. 23 will be described with reference to the flowchart in FIG.

まず、ステップS2401では記録媒体101を制御するためのファイルシステムがファイルシステムA(2101)であるか否かの判定をする。その判断の方法は公知なので、特に記述しないが、I/F106を介して、記録部102の一部にアクセスすることで判定を行う。もし、ファイルシステムA(2101)と判定された場合には(ステップS2401における「YES」)、ステップS2402に移行する。ステップS2402では、システム制御部50が作業領域として使用するメモリ30の記録媒体101のファイルシステム選択フラグを「ファイルシステムA」にし、ステップS2405に移行する。   First, in step S2401, it is determined whether the file system for controlling the recording medium 101 is the file system A (2101). Since the determination method is publicly known, it is not particularly described, but the determination is performed by accessing a part of the recording unit 102 via the I / F 106. If it is determined that the file system is A (2101) (“YES” in step S2401), the process proceeds to step S2402. In step S2402, the system control unit 50 sets the file system selection flag of the recording medium 101 of the memory 30 used as a work area to “file system A”, and the process proceeds to step S2405.

ファイルシステムA(2101)と判定されない場合には、ステップS2403に移行する。ステップS2403では記録媒体101を制御するためのファイルシステムがFileSystemB(2104)であるか否かの判定をする。もし、FileSystemBと判定された場合には(ステップS2403における「YES」)、ステップS2404に移行する。ステップS2404では、システム制御部50が作業領域として使用するメモリ30の記録媒体101のファイルシステム選択フラグを「FileSystemB」にし、ステップS2405に移行する。   If it is not determined that the file system is A (2101), the process proceeds to step S2403. In step S2403, it is determined whether the file system for controlling the recording medium 101 is FileSystemB (2104). If it is determined that the file system is B (“YES” in step S2403), the process proceeds to step S2404. In step S2404, the file system selection flag of the recording medium 101 of the memory 30 used as the work area by the system control unit 50 is set to “FileSystemB”, and the process proceeds to step S2405.

次にステップS2405では記録媒体20101を制御するためのファイルシステムがファイルシステムA(2101)であるか否かの判定をする。その判断の方法は公知なので、特に記述しないが、I/F20106を介して、記録部20102の一部にアクセスすることで判定を行う。もし、ファイルシステムA(2101)と判定された場合には(ステップS2405における「YES」)、ステップS2406に移行する。ステップS2406では、システム制御部50が作業領域として使用するメモリ30の記録媒体20101のファイルシステム選択フラグを「ファイルシステムA」にし、終了する。   In step S2405, it is determined whether the file system for controlling the recording medium 20101 is the file system A (2101). Since the determination method is publicly known, it is not described in particular, but the determination is performed by accessing a part of the recording unit 20102 via the I / F 20106. If it is determined that the file system is A (2101) (“YES” in step S2405), the process proceeds to step S2406. In step S2406, the system control unit 50 sets the file system selection flag of the recording medium 20101 of the memory 30 used as a work area to “file system A”, and the process ends.

ファイルシステムA(2101)と判定されない場合には、ステップS2407に移行する。ステップS2407では記録媒体20101を制御するためのファイルシステムがFileSystemB(2104)であるか否かの判定をする。もし、FileSystemB(2104)と判定された場合には(ステップS2407における「YES」)、ステップS2408に移行する。ステップS2408では、システム制御部50が作業領域として使用するメモリ30の記録媒体20101のファイルシステム選択フラグを「FileSystemB」にし、終了する。このようにして、それぞれの記録媒体を制御するためのファイルシステムを判断する。   If it is not determined that the file system is A (2101), the process proceeds to step S2407. In step S2407, it is determined whether the file system for controlling the recording medium 20101 is FileSystemB (2104). If it is determined that FileSystemB (2104) is determined ("YES" in step S2407), the process proceeds to step S2408. In step S2408, the system control unit 50 sets the file system selection flag of the recording medium 20101 of the memory 30 used as a work area to “FileSystemB”, and the process ends. In this way, the file system for controlling each recording medium is determined.

次に図25のフローチャートを参照して、図22のステップS2202、および図23のステップS2305で行われる、記録する記録媒体を選択、決定する記録先媒体選択処理について説明する。   Next, a recording destination medium selection process for selecting and determining a recording medium to be recorded, which is performed in step S2202 in FIG. 22 and step S2305 in FIG. 23, will be described with reference to the flowchart in FIG.

まず、ステップS2501では記録媒体選択スイッチ20001の設定において、記録先の記録媒体に記録媒体101が設定されているかどうかを判定する。もし、設定されていると判定された場合には(ステップS2501における「YES」)システム制御部50が作業領域として使用するメモリ30の記録媒体101の記録フラグを「記録する」にし、ステップS2503に移行する。一方、設定されていないと判定された場合には(ステップS2501における「NO」)、ステップS2503に移行する。   First, in step S2501, it is determined whether or not the recording medium 101 is set as the recording medium of the recording destination in the setting of the recording medium selection switch 20001. If it is determined that it is set (“YES” in step S2501), the system control unit 50 sets the recording flag of the recording medium 101 of the memory 30 used as a work area to “record”, and the process proceeds to step S2503. Transition. On the other hand, when it is determined that it is not set (“NO” in step S2501), the process proceeds to step S2503.

ステップS2503では記録媒体選択スイッチ20001の設定において、記録先の記録媒体として記録媒体20101が設定されているかどうかを判定する。もし、設定されていると判定された場合には(ステップS2503における「YES」)システム制御部50が作業領域として使用するメモリ30の記録媒体20101の記録フラグを「記録する」にし、終了する。一方、設定されていないと判定された場合には(ステップS2503における「NO」)、そのまま処理を終了する。   In step S2503, it is determined whether or not the recording medium 20101 is set as a recording destination recording medium in the setting of the recording medium selection switch 20001. If it is determined that it is set (“YES” in step S2503), the system control unit 50 sets the recording flag of the recording medium 20101 of the memory 30 used as the work area to “record”, and the process ends. On the other hand, if it is determined that it has not been set (“NO” in step S2503), the processing ends.

次に図26のフローチャートを参照して、図22のステップS2204で行われる、画像データファイルの記録媒体101、および記録媒体20101への記録する画像データファイル選択記録処理について説明する。   Next, with reference to the flowchart of FIG. 26, the image data file recording medium 101 and the image data file selection recording process to be recorded on the recording medium 20101 performed in step S2204 of FIG. 22 will be described.

まず、ステップS2601ではメモリ30に一時保存してある画像データファイル2103内の内部データ・ファイル属性2103cを標準属性に設定する。なお、この内部データ・ファイル属性は書き込みたい記録媒体を制御するファイルシステムが、ファイルシステムA(2101)であろうと、FileSystemB(2104)であろうと同じ扱いのデータである。   In step S2601, the internal data / file attribute 2103c in the image data file 2103 temporarily stored in the memory 30 is set as a standard attribute. The internal data / file attribute is the same data regardless of whether the file system that controls the recording medium to be written is the file system A (2101) or the FileSystem B (2104).

次にステップS2602に移行し、システム制御部50が作業領域として使用するメモリ30の記録媒体101の記録フラグが「記録する」であるかの判定を行う。もし、「記録する」と判定されなかった場合(ステップS2602における「NO」)、記録媒体101には記録しないでステップS2610に移行する。   In step S2602, the system control unit 50 determines whether the recording flag of the recording medium 101 in the memory 30 used as a work area is “record”. If it is not determined to be “recorded” (“NO” in step S2602), the process proceeds to step S2610 without recording on the recording medium 101.

「記録する」と判定された場合(ステップS2602における「YES」)、ステップS2603に移行する。ステップS2603では、システム制御部50が作業領域として使用するメモリ30の記録媒体101のファイルシステム選択フラグが「ファイルシステムA」であるかの判定を行う。もし、「ファイルシステムA」と判定された場合(ステップS2603における「YES」)、ステップS2604に移行する。ステップS2604では記録媒体101に画像データファイル2103をファイルシステムA(2101)の制御方法を用いて、記録する。   If it is determined to “record” (“YES” in step S2602), the process proceeds to step S2603. In step S2603, the system control unit 50 determines whether the file system selection flag of the recording medium 101 of the memory 30 used as the work area is “file system A”. If it is determined as “file system A” (“YES” in step S2603), the process proceeds to step S2604. In step S2604, the image data file 2103 is recorded on the recording medium 101 using the control method of the file system A (2101).

ステップS2605では記録した画像データファイル2103のファイルシステム・ファイル属性2102を読み取り専用属性に設定し、ステップS2610に移行する。ステップS2603で「ファイルシステムA」と判定されなかった場合(ステップS2603における「NO」)、ステップS2606に移行する。ステップS2606では、システム制御部50が作業領域として使用するメモリ30の記録媒体101のファイルシステム選択フラグが「FileSystemB」であるかの判定を行う。もし、「FileSystemB」と判定された場合(ステップS2606における「YES」)、ステップS2607に移行する。   In step S2605, the file system / file attribute 2102 of the recorded image data file 2103 is set to a read-only attribute, and the process proceeds to step S2610. When it is not determined as “file system A” in step S2603 (“NO” in step S2603), the process proceeds to step S2606. In step S2606, the system control unit 50 determines whether the file system selection flag of the recording medium 101 of the memory 30 used as a work area is “FileSystemB”. If “FileSystemB” is determined (“YES” in step S2606), the process proceeds to step S2607.

ステップS2607では、記録媒体101に画像データファイル2103をFileSystemB(2104)の制御方法を用いて記録する。ステップS2608では記録した画像データファイル2103のFileSystem・File属性2105をProtect属性に設定し、ステップS2610に移行する。ステップS2606で「FileSystemB」と判定されなった場合(ステップS2606における「NO」)、ステップS2609に移行する。ステップS2609では記録媒体101に記録できないことを警告表示し、ステップS2610に移行する。   In step S2607, the image data file 2103 is recorded on the recording medium 101 using the control method of FileSystem B (2104). In step S2608, the FileSystem / File attribute 2105 of the recorded image data file 2103 is set to the Protect attribute, and the process proceeds to step S2610. If “FileSystemB” is not determined in step S2606 (“NO” in step S2606), the process proceeds to step S2609. In step S2609, a warning is displayed that recording cannot be performed on the recording medium 101, and the process proceeds to step S2610.

次にステップS2610では、システム制御部50が作業領域として使用するメモリ30の記録媒体20101の記録フラグが「記録する」であるかの判定を行う。もし、「記録する」と判定されなかった場合(ステップS2610における「NO」)、記録媒体20101には記録しないで終了する。「記録する」と判定された場合(ステップS2610における「YES」)、ステップS2611に移行する。ステップS2611では、システム制御部50が作業領域として使用するメモリ30の記録媒体20101のファイルシステム選択フラグが「ファイルシステムA」であるかの判定を行う。   In step S2610, the system control unit 50 determines whether the recording flag of the recording medium 20101 of the memory 30 used as a work area is “record”. If it is not determined to be “recorded” (“NO” in step S2610), the process ends without recording on the recording medium 20101. If it is determined to “record” (“YES” in step S2610), the process proceeds to step S2611. In step S2611, the system control unit 50 determines whether the file system selection flag of the recording medium 20101 of the memory 30 used as the work area is “file system A”.

もし、「ファイルシステムA」と判定された場合(ステップS2611における「YES」)、ステップS2612に移行する。ステップS2612では記録媒体20101に画像データファイル2103をファイルシステムA(2101)の制御方法を用いて、記録する。ステップS2613では記録した画像データファイル2103のファイルシステム・ファイル属性2102を読み取り専用属性に設定し、終了する。ステップS2611で「ファイルシステムA」と判定されなかった場合(ステップS2611における「NO」)、ステップS2614に移行する。ステップS2614では、システム制御部50が作業領域として使用するメモリ30の記録媒体20101のファイルシステム選択フラグが「FileSystemB」であるかの判定を行う。   If “file system A” is determined (“YES” in step S2611), the process proceeds to step S2612. In step S2612, the image data file 2103 is recorded on the recording medium 20101, using the control method of the file system A (2101). In step S2613, the file system / file attribute 2102 of the recorded image data file 2103 is set to a read-only attribute, and the process ends. If it is not determined as “file system A” in step S2611 (“NO” in step S2611), the process proceeds to step S2614. In step S2614, the system control unit 50 determines whether the file system selection flag of the recording medium 20101 of the memory 30 used as the work area is “FileSystemB”.

もし、「FileSystemB」と判定された場合(ステップS2614における「YES」)、ステップS2615に移行する。ステップS2615では記録媒体20101に画像データファイル2103をFileSystemB(2104)の制御方法を用いて、記録する。ステップS2616では記録した画像データファイル2103のFileSystem・File属性2105をProtect属性に設定し、終了する。ステップS2614で「FileSystemB」と判定されなかった場合(ステップS2614における「NO」)、ステップS2617に移行する。ステップS2617では記録媒体20101に記録できないことを警告表示し、終了する。   If it is determined as “FileSystemB” (“YES” in step S2614), the process proceeds to step S2615. In step S2615, the image data file 2103 is recorded on the recording medium 20101 using the control method of FileSystem B (2104). In step S2616, the FileSystem / File attribute 2105 of the recorded image data file 2103 is set to the Protect attribute, and the process ends. If “FileSystemB” is not determined in step S2614 (“NO” in step S2614), the process proceeds to step S2617. In step S2617, a warning is displayed that recording is not possible on the recording medium 20101, and the process ends.

このように、記録媒体を取り付けるインタフェース及びコネクタを2系統持ち、制御するファイルシステムが異なる場合でも、記録媒体101、記録媒体20101に対して画像データファイルを記録する際には、内部データ・ファイル属性203cをファイルシステムには依存せず同じ標準属性とする。更にファイルシステム・ファイル属性2102を読み取り専用属性に、FileSystem・File属性2105をProtect属性にする。これにより、記録媒体101が他の機器、例えばパーソナルコンピュータからのプログラムで画像データファイルを読み出された際には、ファイルシステム・ファイル属性2102が機能して読み取り専用属性のファイルとして読み出される。よって、パーソナルコンピュータのプログラムでは、画像データファイル2103に対して、編集処理等を行うことができないので、画像データファイル構造の解釈の違いによるファイル破壊を防ぐことが可能となる。   As described above, even when there are two interfaces and connectors for attaching the recording medium and the file system to be controlled is different, when recording an image data file on the recording medium 101 or the recording medium 20101, the internal data / file attribute 203c is set to the same standard attribute without depending on the file system. Further, the file system / file attribute 2102 is set as a read-only attribute, and the FileSystem / File attribute 2105 is set as a Protect attribute. Thus, when the image data file is read from the recording medium 101 by a program from another device, for example, a personal computer, the file system / file attribute 2102 functions and is read as a read-only attribute file. Therefore, the personal computer program cannot perform editing processing or the like on the image data file 2103, so that it is possible to prevent file destruction due to a difference in interpretation of the image data file structure.

また同様に、記録媒体20101が他の機器、例えばパーソナルコンピュータからのプログラムで画像データファイルを読み出された際には、FileSystem・File属性2105が機能して読み取り専用属性のファイルとして読み出される。よって、パーソナルコンピュータのプログラムでは、画像データファイル2103に対して、編集処理等を行うことができないので、画像データファイル構造の解釈の違いによるファイル破壊を防ぐことが可能となる。   Similarly, when an image data file is read from the recording medium 20101 by a program from another device, for example, a personal computer, the FileSystem / File attribute 2105 functions and is read out as a read-only attribute file. Therefore, the personal computer program cannot perform editing processing or the like on the image data file 2103, so that it is possible to prevent file destruction due to a difference in interpretation of the image data file structure.

即ち、記録媒体101、記録媒体20101が異なるファイルシステムで制御されている場合でも、内部データ・ファイル属性の扱い(データ)は同じで、ファイルシステム・ファイル属性は各ファイルシステムに対応したファイル属性で記録できる。   That is, even when the recording medium 101 and the recording medium 20101 are controlled by different file systems, the internal data / file attribute handling (data) is the same, and the file system / file attribute is a file attribute corresponding to each file system. Can record.

ここで、画像データファイル構造の解釈の違いによるファイル破壊は、画像データファイル内の一部に、パーソナルコンピュータのプログラムに解釈できない領域が存在した場合に生ずる。具体的には、当該領域に対して解釈できないまま、アクセスを行ってしまうことで、そのファイル構造を壊してしまうことによりファイル破壊が起こる。   Here, the file destruction due to the difference in interpretation of the image data file structure occurs when an area that cannot be interpreted by the program of the personal computer exists in a part of the image data file. More specifically, accessing the area without interpreting the area destroys the file structure and destroys the file.

次に図27のフローチャートを参照して、図23のステップS2303で行われる、画像データファイルを読み出す記録媒体を選択、決定する再生元媒体選択処理について説明する。   Next, with reference to the flowchart of FIG. 27, the reproduction source medium selection process for selecting and determining the recording medium from which the image data file is read, performed in step S2303 of FIG. 23 will be described.

まず、ステップS2701では記録媒体選択スイッチ20001の設定が再生元の記録媒体として記録媒体101が設定されているかどうかを判定する。もし、設定されていると判定された場合には(ステップS2701における「YES」)システム制御部50が作業領域として使用するメモリ30の記録媒体101の再生選択フラグを「記録媒体101」にし、ステップS2703に移行する。一方、設定されていないと判定された場合には(ステップS2701における「NO」)、ステップS2703へ移行する。   First, in step S2701, it is determined whether or not the recording medium selection switch 20001 is set to the recording medium 101 as a reproduction source recording medium. If it is determined that it is set (“YES” in step S2701), the playback control flag of the recording medium 101 of the memory 30 used by the system control unit 50 as a work area is set to “recording medium 101”. The process moves to S2703. On the other hand, if it is determined that it is not set (“NO” in step S2701), the process proceeds to step S2703.

ステップS2703では、記録媒体選択スイッチ20001の設定が再生元記録媒体に記録媒体20101が設定されているかどうかを判定する。もし、設定されていると判定された場合には(ステップS2703における「YES」)システム制御部50が作業領域として使用するメモリ30の記録媒体20101の再生選択フラグを「記録媒体20101」にし、終了する。一方、設定されていないと判定された場合には(ステップS2703における「NO」)、そのまま処理を終了する。   In step S2703, it is determined whether the recording medium selection switch 20001 is set to the recording medium 20101 as the reproduction source recording medium. If it is determined that it is set (“YES” in step S2703), the system control unit 50 sets the reproduction selection flag of the recording medium 20101 of the memory 30 used as the work area to “recording medium 20101”, and ends. To do. On the other hand, if it is determined that it has not been set (“NO” in step S2703), the process ends.

なお、本実施形態では記録媒体選択スイッチ20001の再生元となる記録媒体の設定方法が排他的に行われるものなので、再生選択フラグにはどちらか一方の記録媒体が設定されることになる。   In this embodiment, the recording medium selection method for the recording medium selection switch 20001 is exclusively set, so that one of the recording media is set in the reproduction selection flag.

次に、図28のフローチャートを参照して、図23のステップS2304で行われる、選択された記録媒体から画像データファイルを読み出して、再生する画像データファイル選択再生処理について説明する。   Next, with reference to the flowchart of FIG. 28, an image data file selection / reproduction process in which the image data file is read from the selected recording medium and reproduced in step S2304 of FIG. 23 will be described.

まず、ステップS2801ではシステム制御部50が作業領域として使用するメモリ30の再生選択フラグが「記録媒体101」であるかの判定を行う。もし「記録媒体101」と判定された場合(ステップS2801において「YES」)、ステップS2802に移行する。ステップS2802ではシステム制御部50が作業領域として使用するメモリ30の記録媒体101のファイルシステム選択フラグが「ファイルシステムA」であるかの判定を行う。もし、「ファイルシステムA」と判定された場合(ステップS2802において「YES」)、ステップS2803に移行する。ステップS2803では、記録媒体101から画像データファイル2103をファイルシステムA2101の制御でメモリ30に読み出し、ステップS2810に移行する。   First, in step S2801, the system control unit 50 determines whether the reproduction selection flag of the memory 30 used as a work area is “recording medium 101”. If “recording medium 101” is determined (“YES” in step S2801), the process proceeds to step S2802. In step S2802, the system control unit 50 determines whether the file system selection flag of the recording medium 101 of the memory 30 used as the work area is “file system A”. If “file system A” is determined (“YES” in step S2802), the process proceeds to step S2803. In step S2803, the image data file 2103 is read from the recording medium 101 to the memory 30 under the control of the file system A 2101, and the process proceeds to step S2810.

ステップS2802で「ファイルシステムA」と判定されなかった場合(ステップS2802において「NO」)、ステップS2804に移行する。ステップS2804では、システム制御部50が作業領域として使用するメモリ30の記録媒体101のファイルシステム選択フラグが「FileSystemB」であるかの判定を行う。もし、「FileSystemB」と判定されなかった場合(ステップS2804において「NO」)、ステップS2816に移行し、再生できないことを警告表示し、終了する。「FileSystemB」と判定された場合(ステップS2804において「YES」)、ステップS2805に移行する。ステップS2805では、記録媒体101から画像データファイル2103をFileSystemB2104の制御でメモリ30に読み出し、ステップS2810に移行する。   If “file system A” is not determined in step S2802 (“NO” in step S2802), the process proceeds to step S2804. In step S2804, the system control unit 50 determines whether the file system selection flag of the recording medium 101 of the memory 30 used as the work area is “FileSystemB”. If it is not determined to be “FileSystemB” (“NO” in step S2804), the process proceeds to step S2816 to display a warning that playback cannot be performed, and the process ends. If it is determined as “FileSystemB” (“YES” in step S2804), the process proceeds to step S2805. In step S2805, the image data file 2103 is read from the recording medium 101 to the memory 30 under the control of the FileSystem B 2104, and the process proceeds to step S2810.

一方、ステップS2801で「記録媒体101」と判定されなかった場合(ステップS2801において「NO」)、ステップS2806に移行する。ステップS2806ではシステム制御部50が作業領域として使用するメモリ30の記録媒体20101のファイルシステム選択フラグが「ファイルシステムA」であるかの判定を行う。もし、「ファイルシステムA」と判定された場合(ステップS2806において「YES」)、ステップS2807に移行する。ステップS2807では、記録媒体20101から画像データファイル2103をファイルシステムA2101の制御でメモリ30に読み出し、ステップS2810に移行する。   On the other hand, if “recording medium 101” is not determined in step S2801 (“NO” in step S2801), the process proceeds to step S2806. In step S2806, the system control unit 50 determines whether the file system selection flag of the recording medium 20101 of the memory 30 used as the work area is “file system A”. If “file system A” is determined (“YES” in step S2806), the process proceeds to step S2807. In step S2807, the image data file 2103 is read from the recording medium 20101 to the memory 30 under the control of the file system A 2101, and the process proceeds to step S2810.

ステップS2806で「ファイルシステムA」と判定されなかった場合(ステップS2806において「NO」)、ステップS2808に移行する。ステップS2808では、システム制御部50が作業領域として使用するメモリ30の記録媒体20101のファイルシステム選択フラグが「FileSystemB」であるかの判定を行う。もし、「FileSystemB」と判定されなかった場合(ステップS2808において「NO」)、ステップS2816に移行し、再生できないことを警告表示し、終了する。「FileSystemB」と判定された場合(ステップS2806において「YES」)、ステップS2805に移行する。ステップS2805では、記録媒体20101から画像データファイル2103をFileSystemB2104の制御でメモリ30に読み出し、ステップS2810に移行する。   When it is not determined as “file system A” in step S2806 (“NO” in step S2806), the process proceeds to step S2808. In step S2808, the system control unit 50 determines whether the file system selection flag of the recording medium 20101 of the memory 30 used as the work area is “FileSystemB”. If it is not determined to be “FileSystemB” (“NO” in step S2808), the process proceeds to step S2816 to display a warning that playback cannot be performed, and the process ends. If it is determined that “FileSystemB” (“YES” in step S2806), the process proceeds to step S2805. In step S2805, the image data file 2103 is read from the recording medium 20101 to the memory 30 under the control of the FileSystemB 2104, and the process proceeds to step S2810.

次にステップS2810では、メモリ30に読み出した画像データファイル2103に内部データ・ファイル属性203cが存在するか否かを判定する。もし、内部データ・ファイル属性2103cが存在すると判定された場合には(ステップS2810において「YES」)、ステップS2811に移行し、内部データ・ファイル属性203cを取得する。一方、内部データ・ファイル属性203cが存在しないと判定された場合には(ステップS2810において「NO」)、ステップS2812に移行する。ステップS2812では、再生選択フラグに設定されている記録媒体のファイルシステム選択フラグは「ファイルシステムA」がどうかの判定を行う。   In step S2810, it is determined whether the internal data file attribute 203c exists in the image data file 2103 read out to the memory 30. If it is determined that the internal data file attribute 2103c exists ("YES" in step S2810), the process proceeds to step S2811, and the internal data file attribute 203c is acquired. On the other hand, if it is determined that the internal data / file attribute 203c does not exist (“NO” in step S2810), the process proceeds to step S2812. In step S2812, it is determined whether the file system selection flag of the recording medium set in the reproduction selection flag is “file system A”.

もし、「ファイルシステムA」と判定された場合(ステップS2812において「YES」)、ステップS2813に移行し、ファイルシステム・ファイル属性2102を取得する。「ファイルシステムA」と判定されなかった場合(ステップS2812において「NO」)、ステップS2814に移行する。ステップS2814では、再生選択フラグに設定されている記録媒体のファイルシステム選択フラグは「FileSystemB」がどうかの判定を行う。もし、「FileSystemB」と判定された場合(ステップS2814において「YES」)、ステップS2815に移行し、FileSystem・File属性2105を取得する。もし、「FileSystemB」と判定されなかった場合(ステップS2814において「NO」)、ステップS2816に移行し、ファイル属性が取得できないことを警告表示し、終了する。   If “file system A” is determined (“YES” in step S2812), the process proceeds to step S2813, and the file system / file attribute 2102 is acquired. If it is not determined to be “file system A” (“NO” in step S2812), the process proceeds to step S2814. In step S2814, it is determined whether the file system selection flag of the recording medium set in the reproduction selection flag is “FileSystemB”. If “FileSystemB” is determined (“YES” in step S2814), the process proceeds to step S2815, and the FileSystem • File attribute 2105 is acquired. If “FileSystemB” is not determined (“NO” in step S2814), the process proceeds to step S2816, a warning is displayed that the file attribute cannot be acquired, and the process ends.

次に、ステップS2817では、ステップS2811もしくはステップS2813もしくはステップS2815で取得したファイル属性を画像データファイル203の属性としてメモリ30に一時記憶する。ステップS2818では、ステップS2817でメモリ30に一時記憶した画像データファイル属性の内容を判定する。もし、画像データファイル属性が読み取りもしくはProtect属性でないと判定された場合には(ステップS2818において「NO」)、ステップS2819に移行し、表示処理を行う。ここでの表示処理に関しては公知なので特に記述はしないが、メモリ30に読み出された画像データファイル203を、表示制御部26により画像表示部28に表示する処理を行う。   In step S2817, the file attribute acquired in step S2811, step S2813, or step S2815 is temporarily stored in the memory 30 as the attribute of the image data file 203. In step S2818, the contents of the image data file attribute temporarily stored in the memory 30 in step S2817 are determined. If it is determined that the image data file attribute is not a read or Protect attribute (“NO” in step S2818), the process proceeds to step S2819 to perform display processing. The display process here is well known and will not be described in particular, but the display control unit 26 displays the image data file 203 read on the memory 30 on the image display unit 28.

一方、画像データファイル属性が読み取りもしくはProtect属性であると判定された場合には(ステップS2818において「YES」)、ステップS2820に移行する。ステップS2820では、読み取り専用画像である警告を表示制御部26により画像表示部28に行い、ステップS2819で表示処理を行い、終了する。   On the other hand, if it is determined that the image data file attribute is the read or Protect attribute (“YES” in step S2818), the process proceeds to step S2820. In step S2820, a warning that is a read-only image is given to the image display unit 28 by the display control unit 26, display processing is performed in step S2819, and the process ends.

次に図29のフローチャートを参照して、図23のステップS2306で行われる、選択された記録媒体に画像データを記録する(コピーする)画像データファイルコピー処理について説明する。   Next, an image data file copy process for recording (copying) image data on the selected recording medium, which is performed in step S2306 of FIG. 23, will be described with reference to the flowchart of FIG.

まず、ステップS2901では、システム制御部50が作業領域として使用するメモリ30の記録媒体101の記録フラグが「記録する」であるかの判定を行う。もし、「記録する」と判定されなかった場合(ステップS2901において「NO」)、記録媒体101には記録(コピー)しないでステップS2909に移行する。   First, in step S2901, the system control unit 50 determines whether the recording flag of the recording medium 101 of the memory 30 used as a work area is “record”. If it is not determined to be “recorded” (“NO” in step S2901), the process proceeds to step S2909 without recording (copying) on the recording medium 101.

一方、「記録する」と判定された場合(ステップS2901において「YES」)、ステップS2902に移行する。ステップS2902では、システム制御部50が作業領域として使用するメモリ30の記録媒体101のファイルシステム選択フラグが「ファイルシステムA」であるかの判定を行う。もし、「ファイルシステムA」と判定された場合(ステップS2902において「YES」)、ステップS2903に移行する。ステップS2903では記録媒体101にメモリ30に読み出した画像データファイル2103をファイルシステムA(2101)の制御方法を用いて、記録(コピー)する。   On the other hand, if it is determined to “record” (“YES” in step S2901), the process proceeds to step S2902. In step S2902, the system control unit 50 determines whether the file system selection flag of the recording medium 101 of the memory 30 used as the work area is “file system A”. If “file system A” is determined (“YES” in step S2902), the process proceeds to step S2903. In step S2903, the image data file 2103 read to the memory 30 is recorded (copied) on the recording medium 101 using the control method of the file system A (2101).

このとき記録する画像データファイル2103には内部データ・ファイル属性2103cが含まれている。よって、画像データファイル2103が、図23のステップS2304で記録媒体101、記録媒体20101のどちらの記録媒体から、また「ファイルシステムA」、「FileSystemB」どちらのファイルシステムの制御で読み出されたかには依存せず、内部データ・ファイル属性2103cのファイル属性が継承され、記録される。   The image data file 2103 to be recorded at this time includes an internal data / file attribute 2103c. Therefore, whether the image data file 2103 has been read from the recording medium 101 or the recording medium 20101 in step S2304 of FIG. 23, or by the control of the file system “File System A” or “File System B”. The file attribute of the internal data file attribute 2103c is inherited and recorded.

ステップS2904では記録(コピー)した画像データファイル2103のファイルシステム・ファイル属性2102を読み取り専用属性に設定し、ステップS2909に移行する。ステップS2902で「ファイルシステムA」と判定されなった場合(ステップS2902において「NO」)、ステップS2905に移行する。ステップS2905では、システム制御部50が作業領域として使用するメモリ30の記録媒体101のファイルシステム選択フラグが「FileSystemB」であるかの判定を行う。   In step S2904, the file system / file attribute 2102 of the recorded (copied) image data file 2103 is set to a read-only attribute, and the process advances to step S2909. If “file system A” is not determined in step S2902 (“NO” in step S2902), the process proceeds to step S2905. In step S2905, the system control unit 50 determines whether the file system selection flag of the recording medium 101 of the memory 30 used as the work area is “FileSystemB”.

もし、「FileSystemB」と判定された場合(ステップS2905において「YES」)、ステップS2906に移行する。ステップS2906では記録媒体101に画像データファイル2103をFileSystemB(2104)の制御方法を用いて、記録(コピー)する。ステップS2907では記録(コピー)した画像データファイル2103のFileSystem・File属性2105をProtect属性に設定し、ステップS2909に移行する。ステップS2905で「FileSystemB」と判定されなった場合(ステップS2905において「NO」)、ステップS2908に移行する。ステップS2908では記録媒体101に記録(コピー)できないことを警告表示し、ステップS2909に移行する。   If “FileSystemB” is determined (“YES” in step S2905), the process proceeds to step S2906. In step S2906, the image data file 2103 is recorded (copied) on the recording medium 101 using the control method of FileSystem B (2104). In step S2907, the FileSystem / File attribute 2105 of the recorded (copied) image data file 2103 is set to the Protect attribute, and the process advances to step S2909. If “FileSystemB” is not determined in step S2905 (“NO” in step S2905), the process proceeds to step S2908. In step S2908, a warning is displayed that recording (copying) cannot be performed on the recording medium 101, and the process proceeds to step S2909.

次にステップS2609では、システム制御部50が作業領域として使用するメモリ30の記録媒体20101の記録フラグが「記録する」であるかの判定を行う。もし、「記録する」と判定されなかった場合(ステップS2909において「NO」)、記録媒体20101には記録しないで終了する。「記録する」と判定された場合(ステップS2909において「YES」)、ステップS2910に移行する。ステップS2910では、システム制御部50が作業領域として使用するメモリ30の記録媒体20101のファイルシステム選択フラグが「ファイルシステムA」であるかの判定を行う。   In step S2609, the system control unit 50 determines whether the recording flag of the recording medium 20101 of the memory 30 used as a work area is “record”. If it is not determined to be “recorded” (“NO” in step S2909), the process ends without recording on the recording medium 20101. If it is determined to “record” (“YES” in step S2909), the process proceeds to step S2910. In step S2910, the system control unit 50 determines whether the file system selection flag of the recording medium 20101 of the memory 30 used as the work area is “file system A”.

もし、「ファイルシステムA」と判定された場合(ステップS2910において「YES」)、ステップS2911に移行する。ステップS2911では記録媒体20101に画像データファイル2103をファイルシステムA(2101)の制御方法を用いて、記録(コピー)する。ステップS2912では記録(コピー)した画像データファイル2103のファイルシステム・ファイル属性2103cを読み取り専用属性に設定し、終了する。   If “file system A” is determined (“YES” in step S2910), the process proceeds to step S2911. In step S2911, the image data file 2103 is recorded (copied) on the recording medium 20101 using the control method of the file system A (2101). In step S2912, the file system / file attribute 2103c of the recorded (copied) image data file 2103 is set to a read-only attribute, and the process ends.

ステップS2910で「ファイルシステムA」と判定されなった場合(ステップS2910において「NO」)、ステップS2913に移行する。ステップS2913では、システム制御部50が作業領域として使用するメモリ30の記録媒体20101のファイルシステム選択フラグが「FileSystemB」であるかの判定を行う。もし、「FileSystemB」と判定された場合、ステップS2914に移行する。ステップS2914では記録媒体20101に画像データファイル2103をFileSystemB(2104)の制御方法を用いて、記録(コピー)する。   If “file system A” is not determined in step S2910 (“NO” in step S2910), the process proceeds to step S2913. In step S2913, the system control unit 50 determines whether the file system selection flag of the recording medium 20101 of the memory 30 used as the work area is “FileSystemB”. If it is determined as “FileSystemB”, the process proceeds to step S2914. In step S2914, the image data file 2103 is recorded (copied) on the recording medium 20101 using the control method of FileSystem B (2104).

このとき記録する画像データファイル2103には内部データ・ファイル属性2103cが含まれる。そして、画像データファイル2103が、図23のステップS2304で記録媒体101、記録媒体20101のどちらの記録媒体から、また「ファイルシステムA」、「FileSystemB」どちらのファイルシステムの制御で読み出されたかには、依存しないで、内部データ・ファイル属性2103cのファイル属性が継承され、記録される。   The image data file 2103 to be recorded at this time includes an internal data / file attribute 2103c. Then, whether the image data file 2103 has been read from the recording medium 101 or the recording medium 20101 in step S2304 of FIG. 23, or by the control of the file system “File System A” or “File System B”. Are not dependent, and the file attribute of the internal data file attribute 2103c is inherited and recorded.

ステップS2915では記録(コピー)した画像データファイル2103のFileSystem・File属性2105をProtect属性に設定し、終了する。ステップS2913で「FileSystemB」と判定されなった場合ステップS2913において「NO」)、ステップS2916に移行する。ステップS2916では記録媒体20101に記録(コピー)できないことを警告表示し、終了する。   In step S2915, the FileSystem / File attribute 2105 of the recorded (copied) image data file 2103 is set to the Protect attribute, and the process ends. If “FileSystemB” is not determined in step S2913, “NO” in step S2913), the process proceeds to step S2916. In step S2916, a warning is displayed that recording (copying) cannot be performed on the recording medium 20101, and the process ends.

このように記録媒体を取り付けるインタフェース及びコネクタを2系統持つもので、制御するファイルシステムが異なる記録媒体101、記録媒体20101に対して画像データファイルをコピーする際には、内部データ・ファイル属性203cをファイルシステムのタイプに依存せずに継承することが可能となる。   In this manner, the interface and connector for attaching the recording medium are provided, and when the image data file is copied to the recording medium 101 and the recording medium 20101 with different file systems to be controlled, the internal data file attribute 203c is set. Inheritance is possible without depending on the file system type.

このとき、ファイルシステム・ファイル属性2102を読み取り専用属性、FileSystem・File属性2105をProtect属性にする。これにより、記録媒体101、記録媒体20101が他の機器、例えばPCのプログラムにより画像データファイルを読み出された際には、ファイルシステム・ファイル属性等が機能して読み取り専用属性のファイルとして読み出される。よって、パーソナルコンピュータのプログラムでは、画像データファイル2103に対して、編集処理等を行うことができないので、画像データファイル構造の解釈の違いによるファイル破壊を防ぐことが可能となる。   At this time, the file system / file attribute 2102 is set as a read-only attribute, and the FileSystem / File attribute 2105 is set as a Protect attribute. As a result, when the recording medium 101 and the recording medium 20101 are read out of an image data file by another device, for example, a program of a PC, the file system / file attribute functions and the file is read out as a read-only attribute file. . Therefore, the personal computer program cannot perform editing processing or the like on the image data file 2103, so that it is possible to prevent file destruction due to a difference in interpretation of the image data file structure.

さらに、画像データファイルの再生においても、記録媒体を取り付けるインタフェース及びコネクタを2系統持つもので、制御するファイルシステムが異なる記録媒体101、記録媒体20101に対して、画像データファイル203のファイルシステム・ファイル属性2102、FileSystem・File属性2105が読み取り専用属性であっても、内部データ・ファイル属性203cの内容に基づいて、読み取り専用画像でないように表示することができる。また、内部データ・ファイル属性203cを含まない画像データファイル203については、ファイルシステム・ファイル属性2102、FileSystem・File属性2105を利用した表示を行うことができる。   Further, in the reproduction of the image data file, the file system file of the image data file 203 is provided for the recording medium 101 and the recording medium 20101, which have two interfaces and connectors for attaching the recording medium, and have different file systems to be controlled. Even if the attribute 2102 and the FileSystem / File attribute 2105 are read-only attributes, they can be displayed so as not to be read-only images based on the contents of the internal data / file attribute 203c. Further, the image data file 203 that does not include the internal data / file attribute 203 c can be displayed using the file system / file attribute 2102 and the FileSystem / File attribute 2105.

なお、内部データ・ファイル属性2103c等の内容に応じて、ファイルシステム・ファイル属性2102及びFileSystem・File属性2105を設定することもできる。そこで、図30を参照して、図23のステップS2306で行われる、選択された記録媒体に画像データを記録する(コピーする)画像データファイルコピー処理の他の一例を説明する。   The file system / file attribute 2102 and the FileSystem / File attribute 2105 can be set according to the contents of the internal data / file attribute 2103c and the like. Therefore, with reference to FIG. 30, another example of image data file copy processing for recording (copying) image data on the selected recording medium performed in step S2306 of FIG. 23 will be described.

図30は、基本的には図29のフローチャートと同様である。よって、図29と同様の処理ステップについては同一の参照番号を付している。以下では、図30において新たに追加された処理ステップについて説明する。   FIG. 30 is basically the same as the flowchart of FIG. Therefore, processing steps similar to those in FIG. 29 are denoted by the same reference numerals. Hereinafter, processing steps newly added in FIG. 30 will be described.

ステップS2903において、記録媒体101にメモリ30に読み出した画像データファイル2103をファイルシステムA(2101)の制御方法を用いて、記録(コピー)した後、ステップS3001に移行する。ステップS3001では、図28のステップS2817において決定されたファイル属性が「読み取り専用」属性であるか否かを判定する。   In step S2903, the image data file 2103 read to the memory 30 on the recording medium 101 is recorded (copied) using the control method of the file system A (2101), and the process proceeds to step S3001. In step S3001, it is determined whether the file attribute determined in step S2817 of FIG. 28 is a “read only” attribute.

もし、「読み取り専用」属性の場合には(ステップS3001において「YES」)、ステップS2904へ移行する。ステップS2904では記録(コピー)した画像データファイル2103のファイルシステム・ファイル属性2102を読み取り専用属性に設定し、ステップS2909に移行する。   If the attribute is “read only” (“YES” in step S3001), the process proceeds to step S2904. In step S2904, the file system / file attribute 2102 of the recorded (copied) image data file 2103 is set to a read-only attribute, and the process advances to step S2909.

一方、「読み取り専用」属性でない場合には(ステップS3001において「NO」)、ステップS3002へ移行する。ステップS3002では記録(コピー)した画像データファイル2103のファイルシステム・ファイル属性2102を標準属性に設定し、ステップS2909に移行する。   On the other hand, if the attribute is not “read only” (“NO” in step S3001), the process proceeds to step S3002. In step S3002, the file system / file attribute 2102 of the recorded (copied) image data file 2103 is set as a standard attribute, and the process advances to step S2909.

次に、ステップS2906において記録媒体101に画像データファイル2103をFileSystemB(2104)の制御方法を用いて、記録(コピー)した後、ステップS3003に移行する。ステップS3003では、図28のステップS2817において決定されたファイル属性が「読み取り専用」属性であるか否かを判定する。   Next, in step S2906, the image data file 2103 is recorded (copied) on the recording medium 101 using the control method of FileSystem B (2104), and then the process proceeds to step S3003. In step S3003, it is determined whether or not the file attribute determined in step S2817 of FIG. 28 is a “read only” attribute.

もし、「読み取り専用」属性の場合には(ステップS3003において「YES」)、ステップS2907へ移行する。ステップS2907では記録(コピー)した画像データファイル2103のFileSystem・File属性2105をProtect属性に設定し、ステップS2909に移行する。   If the attribute is “read only” (“YES” in step S3003), the process proceeds to step S2907. In step S2907, the FileSystem / File attribute 2105 of the recorded (copied) image data file 2103 is set to the Protect attribute, and the process advances to step S2909.

一方、「読み取り専用」属性でない場合には(ステップS3003において「NO」)、ステップS3004へ移行する。ステップS3004では記録(コピー)した画像データファイル2103のFileSystem・File属性2105をNormal属性に設定し、ステップS2909に移行する。   On the other hand, when the attribute is not “read only” (“NO” in step S3003), the process proceeds to step S3004. In step S3004, the FileSystem / File attribute 2105 of the recorded (copied) image data file 2103 is set to the Normal attribute, and the process advances to step S2909.

更に、ステップS2911において、記録媒体20101にメモリ30に読み出した画像データファイル2103をファイルシステムA(2101)の制御方法を用いて、記録(コピー)した後、ステップS3005に移行する。ステップS3005では、図28のステップS2817において決定されたファイル属性が「読み取り専用」属性であるか否かを判定する。   Further, in step S2911, the image data file 2103 read out to the memory 30 on the recording medium 20101 is recorded (copied) using the control method of the file system A (2101), and the process proceeds to step S3005. In step S3005, it is determined whether or not the file attribute determined in step S2817 in FIG. 28 is a “read only” attribute.

もし、「読み取り専用」属性の場合には(ステップS3005において「YES」)、ステップS2912へ移行する。ステップS2912では記録(コピー)した画像データファイル2103のファイルシステム・ファイル属性2102を読み取り専用属性に設定し、処理を終了する。   If the attribute is “read only” (“YES” in step S3005), the process proceeds to step S2912. In step S2912, the file system / file attribute 2102 of the recorded (copied) image data file 2103 is set to a read-only attribute, and the process ends.

一方、「読み取り専用」属性でない場合には(ステップS3005において「NO」)、ステップS3006へ移行する。ステップS3006では記録(コピー)した画像データファイル2103のファイルシステム・ファイル属性2102を標準属性に設定し、処理を終了する。   On the other hand, if it is not the “read only” attribute (“NO” in step S3005), the process proceeds to step S3006. In step S3006, the file system / file attribute 2102 of the recorded (copied) image data file 2103 is set as a standard attribute, and the process ends.

次に、ステップS2913において記録媒体20101に画像データファイル2103をFileSystemB(2104)の制御方法を用いて、記録(コピー)した後、ステップS3007に移行する。ステップS3007では、図28のステップS2817において決定されたファイル属性が「読み取り専用」属性であるか否かを判定する。   Next, in step S2913, the image data file 2103 is recorded (copied) on the recording medium 20101 using the control method of FileSystem B (2104), and then the process proceeds to step S3007. In step S3007, it is determined whether or not the file attribute determined in step S2817 of FIG. 28 is a “read only” attribute.

もし、「読み取り専用」属性の場合には(ステップS3007において「YES」)、ステップS2915へ移行する。ステップS2915では記録(コピー)した画像データファイル2103のFileSystem・File属性2105をProtect属性に設定し、処理を終了する。   If the attribute is “read only” (“YES” in step S3007), the process proceeds to step S2915. In step S2915, the FileSystem / File attribute 2105 of the recorded (copied) image data file 2103 is set to the Protect attribute, and the process ends.

一方、「読み取り専用」属性でない場合には(ステップS3007において「NO」)、ステップS3008へ移行する。ステップS3008では記録(コピー)した画像データファイル2103のFileSystem・File属性2105をNormal属性に設定し、処理を終了する。   On the other hand, when the attribute is not “read only” (“NO” in step S3007), the process proceeds to step S3008. In step S3008, the FileSystem / File attribute 2105 of the recorded (copied) image data file 2103 is set to the Normal attribute, and the process ends.

このように、図30に対応する実施形態では、内部データ・ファイル属性2103cが画像データファイル内に存在する場合には、その内容に応じてファイルシステム・ファイル属性2102やFileSystem・FIle属性2105を設定することができる。よって、記録媒体101、記録媒体20101が他の機器、例えばPCのプログラムにより画像データファイルを読み出された際には、ファイルシステム・ファイル属性等が機能して読み取り専用属性のファイルとして読み出される。よって、パーソナルコンピュータのプログラムでは、画像データファイル2103に対して、編集処理等を行うことができないので、画像データファイル構造の解釈の違いによるファイル破壊を防ぐことが可能となる。   As described above, in the embodiment corresponding to FIG. 30, when the internal data / file attribute 2103c exists in the image data file, the file system / file attribute 2102 and the FileSystem / File attribute 2105 are set according to the contents. can do. Therefore, when the recording medium 101 and the recording medium 20101 are read out of an image data file by a program of another device, for example, a PC, the file system / file attribute functions and the file is read out as a read-only attribute file. Therefore, the personal computer program cannot perform editing processing or the like on the image data file 2103, so that it is possible to prevent file destruction due to a difference in interpretation of the image data file structure.

[第3の実施形態]
本発明の第3の実施形態における画像処理装置の構成を、図31を参照して説明する。本発明の第3の実施形態による画像処理装置の要部構成は、図20とほぼ同じである。
[Third Embodiment]
The configuration of the image processing apparatus according to the third embodiment of the present invention will be described with reference to FIG. The main configuration of the image processing apparatus according to the third embodiment of the present invention is substantially the same as that shown in FIG.

上記の第2の実施形態では、記録媒体を取り付けるためのインタフェース及びコネクタを2系統持ち、該インタフェース等を利用して記録媒体を複数接続し、画像処理装置内でそれぞれの記録媒体へ読み書きをするものとして説明した。これに対し、第3の実施形態ではインタフェース及びコネクタに、記録媒体以外の外部接続機器を接続し、画像データや画像データに付属した管理情報を転送し合う点を特徴とする。この外部接続機器は、本実施形態では、図20と同様の構成を有する画像処理装置30100として実現され、異なる装置がそれぞれ独立して各々の記録媒体へ読み書きを行うことができる。また、図31では、本実施形態の特徴に基づき図20の構成と異なる部分が存在する。   In the second embodiment, there are two interfaces and connectors for attaching the recording medium, and a plurality of recording media are connected using the interface and the like, and reading / writing is performed on each recording medium in the image processing apparatus. Explained as a thing. In contrast, the third embodiment is characterized in that an external connection device other than a recording medium is connected to the interface and the connector, and image data and management information attached to the image data are transferred to each other. In the present embodiment, the externally connected device is realized as an image processing device 30100 having the same configuration as that in FIG. 20, and different devices can independently read from and write to each recording medium. Further, in FIG. 31, there are parts different from the configuration of FIG. 20 based on the features of the present embodiment.

インタフェース及びコネクタとしては、第2の実施形態と同様、PCMCIAカードやコンパクトフラッシュ(登録商標)カード等の規格に準拠したものを用いて構成することが可能である。したがって、インタフェース20090a及び20092aをPCMCIAカードやCFカード等の規格に準拠したものを用いて構成し、LANカードやモデムカード、USBカード、IEEE1394カード、P1284カード、SCSIカード、PHS等の通信カード、等の各種通信カードを接続することができる。これにより、同様の構成をもつ画像処理装置以外の他のコンピュータやプリンタ等の周辺機器との間で画像データや画像データに付属した管理情報を転送し合うことも可能となる。   As in the second embodiment, the interface and the connector can be configured using a PCMCIA card, a compact flash (registered trademark) card, or the like that conforms to the standard. Therefore, the interfaces 20090a and 20009a are configured using a PCMCIA card, a CF card or the like conforming to a standard such as a LAN card, a modem card, a USB card, an IEEE 1394 card, a P1284 card, a SCSI card, a PHS, or the like. Various communication cards can be connected. This makes it possible to transfer image data and management information attached to the image data to and from peripheral devices such as computers and printers other than the image processing apparatus having the same configuration.

ここで、管理情報には、転送する画像データのファイル属性が含まれる。本実施形態では、この管理情報に含まれるファイル属性を特に「T-ファイル属性」と呼び、例えば、T-読み取り専用属性というように、従前のファイル属性に「T-」という接頭語を入れて区別する。なお、転送方法の説明については公知なので特に記述しないが、画像処理装置100のメモリ52aに格納されたプログラムを取得し、実行することでシステム制御部50aにより実現される。   Here, the management information includes file attributes of image data to be transferred. In the present embodiment, the file attribute included in this management information is particularly called a “T-file attribute”. For example, a prefix “T-” is added to the previous file attribute, such as a T-read-only attribute. Distinguish. The description of the transfer method is well known and will not be described in particular, but is realized by the system control unit 50a by acquiring and executing a program stored in the memory 52a of the image processing apparatus 100.

30100は画像処理装置である。この画像処理装置30100は、画像処理装置100と同様の構成を有する。なお、画像処理装置100及び画像処理装置30100の各構成部を区別するために、画像処理装置100の構成部には参照番号の後「a」を付記し、画像処理装置30100の構成部には参照番号の後に「b」を付記している。例えば、インタフェース20090aは画像処理装置100のインタフェースであり、インタフェース20090bは画像処理装置30100のインタフェースとして区別することができる。   Reference numeral 30100 denotes an image processing apparatus. This image processing apparatus 30100 has the same configuration as the image processing apparatus 100. In addition, in order to distinguish each structural part of the image processing apparatus 100 and the image processing apparatus 30100, the structural part of the image processing apparatus 100 is appended with “a” after the reference number, and the structural part of the image processing apparatus 30100 is denoted. A “b” is appended after the reference number. For example, the interface 20090a is an interface of the image processing apparatus 100, and the interface 20090b can be distinguished as an interface of the image processing apparatus 30100.

本実施形態では、画像処理装置100のメモリ52aに記録されている、作成した画像データファイルを記録媒体に記録するプログラム、画像データファイルを記録媒体から読み出すプログラムなどは、ファイルシステムAを解釈できるようにプログラムされている。一方、画像処理装置30100のメモリ52bに記録されている、作成した画像データファイルを記録媒体に記録するプログラム、画像データファイルを記録媒体から読み出すプログラムなどは、FileSystemBを解釈できるようにプログラムされている。このようにそれぞれの画像処理装置内において、異なるファイルシステムで制御された画像データファイルを本実施形態では転送し合う。   In this embodiment, the program for recording the created image data file on the recording medium, the program for reading the image data file from the recording medium, and the like recorded in the memory 52a of the image processing apparatus 100 can interpret the file system A. Is programmed. On the other hand, a program for recording the created image data file on the recording medium, a program for reading the image data file from the recording medium, and the like recorded in the memory 52b of the image processing apparatus 30100 are programmed so that FileSystemB can be interpreted. . Thus, in this embodiment, image data files controlled by different file systems are transferred within each image processing apparatus.

さらに、図20の構成に追加する形で異なる部分の30001aは、転送操作スイッチであり、不図示のセットキー、十字キーなどの組み合わせで構成される。この転送操作スイッチにより、記録媒体101に格納された画像データの転送設定を行うことができる。この転送操作スイッチ30001a(30001b)では、画像データについて「送信する」、「送信しない」、「受信する」・「受信しない」のいずれかの動作を設定することができる。転送操作スイッチ30001a(30001b)による設定内容は、システム制御部が作業領域をして使用するメモリ30aに「転送判断フラグ」として保持される。   Further, a different part 30001a in addition to the configuration of FIG. 20 is a transfer operation switch, which is configured by a combination of a set key, a cross key (not shown), and the like. With this transfer operation switch, transfer setting of image data stored in the recording medium 101 can be performed. With the transfer operation switch 30001a (30001b), any of the operations of “transmit”, “not transmit”, “receive”, and “not receive” can be set for the image data. The content set by the transfer operation switch 30001a (30001b) is held as a “transfer determination flag” in the memory 30a used as a work area by the system control unit.

次に、図32を参照して、画像処理装置100、接続されている記録媒体101a、画像データファイルとして記録しているファイル構造、及び、ファイルシステムの関係を説明する。併せて、画像処理装置30100、接続されている記録媒体101b、画像データファイルとして記録しているファイル構造、及び、ファイルシステムの関係を説明する。   Next, the relationship among the image processing apparatus 100, the connected recording medium 101a, the file structure recorded as an image data file, and the file system will be described with reference to FIG. In addition, the relationship between the image processing apparatus 30100, the connected recording medium 101b, the file structure recorded as an image data file, and the file system will be described.

図32に示すように本実施形態では、画像処理装置100と画像処理装置30100とを、接続3110により接続することができる。この接続3110は画像処理装置間で、画像データを互いに転送可能な接続形態であれば有線、無線を問わず適用することができる。例えば、USB、IEEE1394、IEEE802.11等の通信プロトコルを採用した接続形態が考えられる。   As shown in FIG. 32, in this embodiment, the image processing apparatus 100 and the image processing apparatus 30100 can be connected by a connection 3110. This connection 3110 can be applied regardless of wired or wireless as long as the image data can be transferred between image processing apparatuses. For example, a connection form employing a communication protocol such as USB, IEEE 1394, IEEE 802.11, or the like is conceivable.

本実施形態では、画像処理装置100において生成される画像データファイル3103は、ファイルシステムA3101管理下で記録媒体101aに記録されている。この詳細については第2の実施形態で説明したこととほぼ同様なので、その詳細な説明は省略する。一方、画像処理装置30100において生成される画像データファイル3103は、FileSystemB3104の管理下で記録媒体101bに記録されている。これも第2の実施形態で説明したこととほぼ同様なので、その詳細な説明については省略する。また、このファイルシステムA、FileSystemBの関係についても、第2の実施形態で述べたこととほぼ同様なので、その詳細な説明は省略する。また、属性についての説明も第1及び第2の実施形態と同様なので省略する。また画像データファイルの構造例についても第1及び第2の実施形態と同様なので省略する。   In the present embodiment, the image data file 3103 generated in the image processing apparatus 100 is recorded on the recording medium 101a under the management of the file system A 3101. Since this detail is substantially the same as that described in the second embodiment, a detailed description thereof will be omitted. On the other hand, the image data file 3103 generated in the image processing apparatus 30100 is recorded on the recording medium 101b under the management of the FileSystem B 3104. Since this is also almost the same as that described in the second embodiment, a detailed description thereof will be omitted. Further, the relationship between the file system A and FileSystem B is almost the same as that described in the second embodiment, and thus detailed description thereof is omitted. The description of the attribute is also the same as in the first and second embodiments, and will be omitted. An example of the structure of the image data file is also the same as in the first and second embodiments, and will not be described.

次に、図33を参照して、画像処理装置100の記録媒体101aから、画像処理装置30100の記録媒体101bに画像データファイルを送信するまでの一連の画像データファイル送信処理シーケンスを説明する。図33では、画像処理装置30100に画像データファイルを送信するまでを記載しているが、当然に、送信された画像データファイルは、画像処理装置30100の記録媒体101bに画像データファイル3103として記録される。係る記録シーケンスについては、画像処理装置100が画像処理装置30100から画像データを受信し、記録媒体101aに記録するまでのシーケンスと同様(ファイルシステムのみ違う)なので、後述する受信のシーケンスとして説明する。   Next, a series of image data file transmission processing sequence from the recording medium 101a of the image processing apparatus 100 to the transmission of the image data file to the recording medium 101b of the image processing apparatus 30100 will be described with reference to FIG. FIG. 33 shows the process until the image data file is transmitted to the image processing apparatus 30100, but the transmitted image data file is naturally recorded as the image data file 3103 on the recording medium 101b of the image processing apparatus 30100. The This recording sequence is the same as the sequence until the image processing apparatus 100 receives image data from the image processing apparatus 30100 and records it on the recording medium 101a (only the file system is different).

図33において、ステップS3201では転送操作スイッチ30001aにおける不図示の転送操作モードが設定されたか否かを判定する。もし、転送操作モードに設定されたと判定された場合に(ステップS3201において「YES」)、ステップS3202における転送判断フラグ設定処理に移行する。この処理では、転送操作スイッチ30001aの設定に従い転送判断フラグの設定を行う。この詳細については図35を参照して後述する。   In FIG. 33, in step S3201, it is determined whether or not a transfer operation mode (not shown) in the transfer operation switch 30001a is set. If it is determined that the transfer operation mode is set (“YES” in step S3201), the process proceeds to the transfer determination flag setting process in step S3202. In this process, the transfer determination flag is set according to the setting of the transfer operation switch 30001a. Details of this will be described later with reference to FIG.

次に、ステップS3203では、転送判断フラグ設定処理の結果に基づきメモリ30aの転送判断フラグの内容を判定する。もし、転送判断フラグが「送信する」であったと判定された場合に(ステップS3203において「YES」)、ステップS3204における画像データ送信処理に移行する。この画像データ送信処理では、画像データファイル3103を接続された画像処理装置30100に送信するが、その詳細については図36を参照して説明する。一方、転送判断フラグが「送信する」であったと判定されなかった場合は(ステップS3203において「NO」)、処理を終了する。以上により、一連の画像データファイル送信動作が実行される。   Next, in step S3203, the content of the transfer determination flag in the memory 30a is determined based on the result of the transfer determination flag setting process. If it is determined that the transfer determination flag is “transmit” (“YES” in step S3203), the process proceeds to the image data transmission process in step S3204. In this image data transmission process, the image data file 3103 is transmitted to the connected image processing apparatus 30100. Details thereof will be described with reference to FIG. On the other hand, if it is not determined that the transfer determination flag is “transmit” (“NO” in step S3203), the process ends. As described above, a series of image data file transmission operations are executed.

次に画像処理装置100が画像処理装置30100から画像データファイルを受信し、記録媒体101aに記録するまでの一連の画像データファイル受信・記録のシーケンスを、図34を参照して説明する。   Next, a series of image data file reception / recording sequences from when the image processing apparatus 100 receives an image data file from the image processing apparatus 30100 to when it is recorded on the recording medium 101a will be described with reference to FIG.

図34において、ステップS3301では転送操作スイッチ30001aにおける不図示の転送操作モードが設定されたか否かを判定する。もし、転送操作モードに設定されたと判定された場合に(ステップS3201において「YES」)、ステップS3302における転送判断フラグ設定処理に移行する。この処理では、転送操作スイッチ30001aの設定に従い転送判断フラグの設定を行う。この詳細については図35を参照して後述する。   In FIG. 34, in step S3301, it is determined whether or not a transfer operation mode (not shown) in the transfer operation switch 30001a is set. If it is determined that the transfer operation mode is set (“YES” in step S3201), the process proceeds to transfer determination flag setting processing in step S3302. In this process, the transfer determination flag is set according to the setting of the transfer operation switch 30001a. Details of this will be described later with reference to FIG.

次に、ステップS3303では、転送判断フラグ設定処理の結果に基づきメモリ30aの転送判断フラグの内容を判定する。もし「受信する」であったと判定された場合に(ステップS3303において「YES」)、ステップS3304における画像データ受信記録処理に移行する。この画像データ受信記録処理では、送信されてきた画像データファイル3103を受信し、接続された記録媒体101aに記録するが、その詳細については図37を参照して後述する。「受信する」であったと判定されなかった場合は(ステップS3303において「NO」)、処理を終了する。以上により、一連の画像データ受信記録動作が実行される。   Next, in step S3303, the content of the transfer determination flag in the memory 30a is determined based on the result of the transfer determination flag setting process. If it is determined to be “receive” (“YES” in step S3303), the process proceeds to image data reception / recording processing in step S3304. In this image data reception / recording process, the transmitted image data file 3103 is received and recorded in the connected recording medium 101a. Details thereof will be described later with reference to FIG. If it is not determined that it is “receive” (“NO” in step S3303), the process ends. As described above, a series of image data reception and recording operations are executed.

次に図35のフローチャートを参照して、図33のステップS3202、および図34のステップS3302で行われる、転送判断フラグの設定処理について説明する。   Next, with reference to the flowchart of FIG. 35, the transfer determination flag setting process performed in step S3202 of FIG. 33 and step S3302 of FIG. 34 will be described.

まず、ステップS3401では、インタフェース20092aを介して、画像処理装置30100が接続されているか否かを判定する。この判定方法は公知なので特に記述しないが、画像処理装置100のメモリ52aに格納されたプログラムを取得し、実行することでシステム制御部50aにより実現される。もし、接続されていると判定された場合には(ステップS3401において「YES」)、ステップS3402に移行する。一方、ステップS3401において接続されていないと判定された場合には(ステップS3401において「NO」)、ステップS3408に移行する。ステップS3408では転送設定ができないという警告表示を行い、ステップS3409に移行する。ステップS3409ではシステム制御部が作業領域をして使用するメモリ30aの転送判断フラグを「無効」に設定し、終了する。   First, in step S3401, it is determined whether the image processing apparatus 30100 is connected via the interface 20009a. Since this determination method is well known, it will not be described in particular, but is realized by the system control unit 50a by acquiring and executing a program stored in the memory 52a of the image processing apparatus 100. If it is determined that they are connected (“YES” in step S3401), the process proceeds to step S3402. On the other hand, if it is determined in step S3401 that it is not connected (“NO” in step S3401), the process proceeds to step S3408. In step S3408, a warning display indicating that transfer setting cannot be performed is performed, and the process proceeds to step S3409. In step S3409, the system control unit sets the transfer determination flag of the memory 30a used as a work area to “invalid”, and the process ends.

次にステップS3402では、画像処理装置100の転送モードが「送信する」に設定されているか否かを判定する。もし、「送信する」に設定されていると判定された場合には(ステップS3402において「YES」)、ステップS3403に移行し、システム制御部が作業領域をして使用するメモリ30aの転送判断フラグを「送信する」に設定し、ステップS3406に移行する。   Next, in step S3402, it is determined whether the transfer mode of the image processing apparatus 100 is set to “transmit”. If it is determined that “send” is set (“YES” in step S3402), the process proceeds to step S3403, and the transfer determination flag of the memory 30a used as a work area by the system control unit. Is set to “transmit”, and the process proceeds to step S3406.

一方、ステップS3402において「送信する」に設定されていないと判定された場合には(ステップS3402において「NO」)、ステップS3404に移行し、転送モードが「受信する」に設定されているかどうかを判定する。もし、「受信する」に設定されていると判定された場合には(ステップS3404における「YES」)、ステップS3405に移行し、システム制御部が作業領域をして使用するメモリ30aの転送判断フラグを「受信する」に設定し、ステップS3407に移行する。   On the other hand, if it is determined in step S3402 that “Send” is not set (“NO” in step S3402), the process proceeds to step S3404 to determine whether the transfer mode is set to “receive”. judge. If it is determined that “receive” is set (“YES” in step S3404), the process proceeds to step S3405, and the transfer determination flag of the memory 30a used as a work area by the system control unit Is set to “receive”, and the flow shifts to step S3407.

ステップS3406では画像処理装置30100の転送モードが「受信する」に設定されているかどうかの判定をする。もし、「受信する」に設定されていると判定された場合には(ステップS3406において「YES」)、そのまま処理を終了する。   In step S3406, it is determined whether or not the transfer mode of the image processing apparatus 30100 is set to “receive”. If it is determined that “Receive” is set (“YES” in step S3406), the process ends.

一方、「受信する」に設定されていると判定されなかった場合には(ステップS3406において「NO」)、ステップS3408に移行する。ステップS3408では、接続先である画像処理装置30100が受信するための準備ができていないため、転送モード設定ができないとの警告表示を行った後、ステップS3409に移行する。ステップS3409の処理は前述したとおりである。   On the other hand, when it is not determined that “receive” is set (“NO” in step S3406), the process proceeds to step S3408. In step S3408, since the image processing apparatus 30100 that is the connection destination is not ready for reception, a warning is displayed indicating that the transfer mode cannot be set, and the process advances to step S3409. The process in step S3409 is as described above.

ステップS3407では画像処理装置30100の転送モードが「送信する」に設定されているか否かの判定をする。もし、「送信する」に設定されていると判定された場合には(ステップS3407において「YES」)、そのまま処理を終了する。一方、「送信する」に設定されていると判定されなかった場合には(ステップS3407において「NO」)、ステップS3408に移行する。ステップS3408では、接続先である画像処理装置30100が送信するための準備ができていないため、転送のモード設定ができないとの警告表示を行った後、ステップS3409に移行する。ステップS3409の処理は前述したとおりである。   In step S3407, it is determined whether or not the transfer mode of the image processing apparatus 30100 is set to “transmit”. If it is determined that “send” is set (“YES” in step S3407), the process ends. On the other hand, if it is not determined that “transmit” is set (“NO” in step S3407), the process proceeds to step S3408. In step S3408, since the image processing apparatus 30100 that is the connection destination is not ready for transmission, a warning is displayed indicating that the transfer mode cannot be set, and then the process proceeds to step S3409. The process in step S3409 is as described above.

このように画像データファイルを送信するのか・しないのか、受信するのか・しないのかの判断をし、転送判断フラグを設定することができる。   In this way, it is possible to determine whether an image data file is to be transmitted or not, and whether to receive or not, and set a transfer determination flag.

次に図36のフローチャートを参照して、図33のステップS3204で行われる、画像データを画像処理装置30100に送信する画像データ送信処理について説明する。   Next, image data transmission processing for transmitting image data to the image processing apparatus 30100, which is performed in step S3204 of FIG. 33, will be described with reference to the flowchart of FIG.

まず、ステップS3501では画像データファイルをメモリ30a上に保持する。これは記録媒体101aに記録されている画像データファイル3103をファイルシステムAの制御方法を用いて読み出して保持する場合と、撮影処理により作成された画像データを保持する場合とがある。それらの処理については既に説明しているので、その詳細についての説明は省略する。なお、画像処理装置30100側で同様の処理を行う際には、記録媒体101bに記録されている画像データファイル3103をFileSystemBの制御方法を用いて読み出して保持する。   First, in step S3501, the image data file is held on the memory 30a. In this case, there are a case where the image data file 3103 recorded in the recording medium 101a is read and held using the control method of the file system A, and a case where the image data created by the photographing process is held. Since these processes have already been described, a detailed description thereof will be omitted. When the same processing is performed on the image processing apparatus 30100 side, the image data file 3103 recorded on the recording medium 101b is read and stored using the control method of FileSystemB.

次に、ステップS3502では、保持した画像データファイルに内部データ・ファイル属性3103cが存在するかどうかの判定をする。もし、内部データ・ファイル属性3103cが存在すると判定された場合には(ステップS3502において「YES」)、ステップS3504に移行する。ステップS3504では送信する画像データファイルに付属する管理情報のT-ファイル属性を「T-読み取り専用属性」に設定し、ステップS3506に移行する。ここでの管理情報はメモリ30aに一時記憶される転送用の情報である。   Next, in step S3502, it is determined whether or not the internal data / file attribute 3103c exists in the held image data file. If it is determined that the internal data / file attribute 3103c exists (“YES” in step S3502), the process proceeds to step S3504. In step S3504, the T-file attribute of the management information attached to the image data file to be transmitted is set to “T-read only attribute”, and the process proceeds to step S3506. The management information here is information for transfer temporarily stored in the memory 30a.

一方、内部データ・ファイル属性3103cが存在すると判定されなかった場合には(ステップS3502において「NO」)、ステップS3503に移行する。ステップS3503では、ファイルシステム・ファイル属性3102を取得する。なおファイルシステム・ファイル属性3102の取得は、記録媒体101aから読み出した際にのみ行われるもので、撮影処理により画像処理装置100で作成された画像データファイルには必ず、内部データ・ファイル属性3103cが存在している。また、画像処理装置30100側で同様の処理を行う際には、FileSystem・File属性3105取得する。   On the other hand, if it is not determined that the internal data / file attribute 3103c exists (“NO” in step S3502), the process proceeds to step S3503. In step S3503, the file system / file attribute 3102 is acquired. The file system / file attribute 3102 is acquired only when the file system / file attribute 3102 is read from the recording medium 101a. The image data file created by the image processing apparatus 100 by the photographing process always has the internal data / file attribute 3103c. Existing. When the same processing is performed on the image processing apparatus 30100 side, the FileSystem / File attribute 3105 is acquired.

次にステップS3505で、取得したファイルシステム・ファイル属性3102から、対応する画像データファイルに付属する管理情報のT-ファイル属性を決定、設定し、ステップS3506に移行する。ここでの管理情報はメモリ30aに一時記憶される転送用の情報である。なお、画像処理装置30100側で同様の処理を行う際には、取得したFileSystem・File属性3105から、それに対応した転送する画像データに付属する管理情報のT-ファイル属性を決定、設定する。   In step S3505, the T-file attribute of the management information attached to the corresponding image data file is determined and set from the acquired file system / file attribute 3102, and the process proceeds to step S3506. The management information here is information for transfer temporarily stored in the memory 30a. When similar processing is performed on the image processing apparatus 30100 side, the T-file attribute of the management information attached to the image data to be transferred corresponding to the acquired FileSystem / File attribute 3105 is determined and set.

ステップS3506では送信処理が行われる。この送信処理では、画像処理装置100のメモリ52aに格納されたプログラムを取得・実行することでシステム制御部50aにより、決められたプロトコルに従って行われる。即ち、メモリ30aに保持した画像データと送信する画像データファイルに付属する管理情報とが、接続された画像処理装置30100に送信される。この送信処理は公知の内容なので、これ以上は特に記述しない。   In step S3506, transmission processing is performed. This transmission processing is performed according to a predetermined protocol by the system control unit 50a by acquiring and executing a program stored in the memory 52a of the image processing apparatus 100. That is, the image data held in the memory 30a and the management information attached to the image data file to be transmitted are transmitted to the connected image processing apparatus 30100. Since this transmission process is publicly known, no further description will be given.

次に図37のフローチャートを参照して、図34のステップS3304で行われる、画像データを画像処理装置30100から受信・記録する画像データ受信記録処理について説明する。   Next, an image data reception / recording process for receiving / recording image data from the image processing apparatus 30100, which is performed in step S3304 of FIG. 34, will be described with reference to the flowchart of FIG.

まずステップS3601では、受信処理が行われる。この受信処理では、画像処理装置100のメモリ52aに格納されたプログラムを取得・実行することでシステム制御部50aにより、決められたプロトコルに従って行われる。即ち、画像処理装置30100から送信された画像データと転送する画像データに付属する管理情報とがメモリ30aに保持される。この受信処理は公知の内容なので、これ以上は特に記述しない。   First, in step S3601, reception processing is performed. This reception process is performed according to a predetermined protocol by the system control unit 50a by acquiring and executing a program stored in the memory 52a of the image processing apparatus 100. That is, the image data transmitted from the image processing apparatus 30100 and the management information attached to the image data to be transferred are held in the memory 30a. Since this reception process is publicly known, no further description will be given.

次にステップS3602では、受信したメモリa上に記憶された画像データを記録媒体101aにファイルシステムAの制御方法を用いて記録する。記録処理についての詳細は既に述べているので、その説明は省略する。なお、画像処理装置30100側で同様の処理を行う際には、FileSystemBの制御方法を用いて記録媒体101bに記録する。   In step S3602, the received image data stored in the memory a is recorded on the recording medium 101a using the control method of the file system A. Since the details of the recording process have already been described, the description thereof will be omitted. When similar processing is performed on the image processing apparatus 30100 side, recording is performed on the recording medium 101b using the control method of FileSystemB.

次に、ステップS3603で受信した画像データに付属する管理情報のT-ファイル属性からファイルシステム・ファイル属性3102を決定し設定する。その後、処理を終了する。   Next, the file system / file attribute 3102 is determined and set from the T-file attribute of the management information attached to the image data received in step S3603. Thereafter, the process ends.

図36を用いて説明したように、内部データ・ファイル属性3103cが存在する画像データの場合、T-ファイル属性は、常にT-読み取り専用属性になっているので、ファイルシステム・ファイル属性3102も常に読み取り専用属性に設定される。もし、内部データ・ファイル属性3103cが存在しない画像データの場合、画像処理装置30100のFileSystem・File属性がT-ファイル属性に設定されているので、それに対応したファイルシステム・ファイル属性3102が設定される。   As described with reference to FIG. 36, in the case of image data having the internal data / file attribute 3103c, the T-file attribute is always a T-read only attribute. Set to read-only attribute. If the image data does not have the internal data / file attribute 3103c, the FileSystem / File attribute of the image processing apparatus 30100 is set to the T-file attribute, and the corresponding file system / file attribute 3102 is set. .

このように記録媒体を取り付けるインタフェース及びコネクタに記録媒体以外の接続機器を接続し、それぞれの機器が制御するファイルシステムの異なる記録媒体101a、記録媒体101bの間で、画像データファイル3103を転送し合うことができる。この転送処理では、転送前後において、内部データ・ファイル属性3103cをファイルシステムには依存させず、同一内容のまま継承することができる。   In this way, connected devices other than the recording medium are connected to the interface and connector for attaching the recording medium, and the image data file 3103 is transferred between the recording medium 101a and the recording medium 101b having different file systems controlled by the respective devices. be able to. In this transfer process, the internal data / file attribute 3103c can be inherited with the same contents before and after transfer without depending on the file system.

このときファイルシステム・ファイル属性を読み取り専用属性、FileSystem・File属性をProtect属性にしておけば、PCなどの他の機器より記録媒体101a又は記録媒体101bから画像データファイルが読み出されても、読み取り専用属性のファイルとして扱われる。よって、パーソナルコンピュータのプログラムでは、画像データファイル3103に対して、編集処理等を行うことができないので、画像データファイル構造の解釈の違いによるファイル破壊を防ぐことが可能となる。   At this time, if the file system / file attribute is set to the read-only attribute and the FileSystem / File attribute is set to the Protect attribute, even if the image data file is read from the recording medium 101a or the recording medium 101b by another device such as a PC, Treated as a file with dedicated attributes. Therefore, the personal computer program cannot perform editing processing or the like on the image data file 3103, so that it is possible to prevent file destruction due to a difference in interpretation of the image data file structure.

さらに、記録媒体101aや101bから画像データファイルを取得した画像処理装置は、ファイルシステム・ファイル属性3102やFileSystem・File属性3105が読み取り専用属性であっても、内部データ・ファイル属性3103cの内容に基づいて表示・編集等を行うことができる。また、内部データ・ファイル属性3103cを含まない場合には、ファイルシステム・ファイル属性3102、FileSystem・File属性3105に基づいて、画像データファイルを扱うことができる。   Further, the image processing apparatus that has acquired the image data file from the recording medium 101a or 101b is based on the contents of the internal data / file attribute 3103c even if the file system / file attribute 3102 and the FileSystem / File attribute 3105 are read-only attributes. Can be displayed and edited. When the internal data / file attribute 3103 c is not included, the image data file can be handled based on the file system / file attribute 3102 and the FileSystem / File attribute 3105.

なお、本実施形態では同様の構成をもつ画像処理装置を接続したが、パーソナルコンピュータなどのファイルシステムをもった外部接続機器を接続した場合に適用しても良い。   In this embodiment, an image processing apparatus having the same configuration is connected. However, the present invention may be applied to the case where an external connection device having a file system such as a personal computer is connected.

[その他の実施形態]
なお、本発明は、複数の機器(例えばホストコンピュータ、インタフェース機器、デジタルカメラなど)から構成されるシステムに適用しても、一つの機器からなる装置(例えば、デジタルカメラ、デジタルビデオカメラなど)に適用してもよい。
[Other Embodiments]
Note that the present invention can be applied to a system (for example, a digital camera, a digital video camera, etc.) consisting of a single device even if it is applied to a system composed of a plurality of devices (for example, a host computer, an interface device, a digital camera, etc.). You may apply.

また、本発明の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体(または記録媒体)を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても、達成されることは言うまでもない。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているオペレーティングシステム(OS)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Another object of the present invention is to supply a storage medium (or recording medium) in which a program code of software that realizes the functions of the above-described embodiments is recorded to a system or apparatus, and the computer (or CPU or CPU) of the system or apparatus. Needless to say, this can also be achieved by the MPU) reading and executing the program code stored in the storage medium. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention. Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an operating system (OS) running on the computer based on the instruction of the program code. It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included.

さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張カードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張カードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Furthermore, after the program code read from the storage medium is written into a memory provided in a function expansion card inserted into the computer or a function expansion unit connected to the computer, the function is determined based on the instruction of the program code. It goes without saying that the CPU or the like provided in the expansion card or the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.

Claims (7)

画像処理装置であって、
画像データファイルを生成する生成手段と、
前記画像データファイルの変更を禁止するか否かを定める第1の属性情報を設定する第1の属性設定手段と、
前記第1の属性情報とは異なる記録領域に記録される情報であって、前記画像データファイルの変更を禁止するか否かを定める第2の属性情報を設定する第2の属性設定手段と、
前記生成手段が生成した前記画像データファイルを外部記録媒体に記録する記録手段と
を備え、
前記第1の属性情報は、前記外部記録媒体内に記録されている前記画像データファイル内に格納され、
前記第2の属性情報は、前記画像データファイルが記録されている前記外部記録媒体内におけるファイルシステムが扱う記録領域であって、前記外部記録媒体が記録している画像データファイルを管理する領域に格納され、
前記記録手段は、前記生成手段が生成した前記画像データファイルを記録する場合に、前記第1の属性情報には前記画像データファイルの変更を禁止しない属性を記録するとともに、前記第2の属性情報には、前記画像データファイルの変更を禁止する属性を記録する
ことを特徴とする画像処理装置。
An image processing apparatus,
Generating means for generating an image data file;
First attribute setting means for setting first attribute information for determining whether or not to change the image data file;
Second attribute setting means for setting second attribute information that is recorded in a recording area different from the first attribute information and that determines whether or not to change the image data file;
Recording means for recording the image data file generated by the generating means on an external recording medium,
The first attribute information is stored in the image data file recorded in the external recording medium,
The second attribute information is a recording area handled by a file system in the external recording medium in which the image data file is recorded, and an area for managing the image data file recorded in the external recording medium. Stored,
When recording the image data file generated by the generating unit, the recording unit records an attribute that does not prohibit modification of the image data file in the first attribute information, and the second attribute information Includes an attribute that prohibits modification of the image data file .
前記外部記録媒体が記録している前記画像データファイルを表示する表示手段と、
前記第1の属性情報が前記画像データファイルに格納されている場合に該第1の属性情報に基づき前記画像データファイルの属性を決定し、前記第1の属性情報が前記画像データファイルに格納されていない場合に、前記第2の属性情報に基づいて前記画像データファイルの属性を決定する属性決定手段と
をさらに備え、
前記表示手段は、前記属性決定手段により決定された前記画像データファイルの属性に対応して前記画像データファイルの表示を行うことを特徴とする請求項1に記載の画像処理装置。
Display means for displaying the image data file recorded on the external recording medium;
When the first attribute information is stored in the image data file, the attribute of the image data file is determined based on the first attribute information, and the first attribute information is stored in the image data file. If not, attribute determining means for determining the attribute of the image data file based on the second attribute information,
The image processing apparatus according to claim 1, wherein the display unit displays the image data file corresponding to the attribute of the image data file determined by the attribute determination unit.
前記外部記録媒体が記録している前記画像データファイルを読み出す読出手段と、
前記読出手段が読み出した前記画像データファイルが変更可能であるか否かを判別する判別手段と
をさらに備え、
前記判別手段は、前記画像データファイルに前記第1の属性情報が存在する場合には、前記第1の属性情報により前記画像データファイルの変更を禁止するか否かを判別し、前記第1の属性情報が存在しない場合には、前記第2の属性で画像データファイルの変更を禁止するか否かを判別する
ことを特徴とする請求項1に記載の画像処理装置。
Reading means for reading the image data file recorded on the external recording medium;
A discriminating unit for discriminating whether or not the image data file read by the reading unit can be changed;
The determination means determines whether or not the change of the image data file is prohibited based on the first attribute information when the first attribute information exists in the image data file. 2. The image processing apparatus according to claim 1, wherein if the attribute information does not exist, it is determined whether or not the change of the image data file is prohibited by the second attribute.
前記第1の属性情報に前記画像データファイルの変更を禁止しない属性が設定され、かつ、前記第2の属性情報に前記画像データファイルの変更を禁止する属性が設定されている場合に、前記画像データファイルが編集されると、前記第2の属性設定手段は、前記第2の属性情報を前記画像データファイルの変更を禁止しない属性に変更することを特徴とする請求項1乃至3のいずれか1項に記載の画像処理装置。   When the attribute that does not prohibit the change of the image data file is set in the first attribute information, and the attribute that prohibits the change of the image data file is set in the second attribute information, the image 4. When the data file is edited, the second attribute setting unit changes the second attribute information to an attribute that does not prohibit the change of the image data file. The image processing apparatus according to item 1. 前記第2の属性設定手段は、前記画像データファイルの編集後に、前記第2の属性情報を前記画像データファイルの変更を禁止する属性に変更することを特徴とする請求項4に記載の画像処理装置。 5. The image processing according to claim 4, wherein the second attribute setting unit changes the second attribute information to an attribute that prohibits the change of the image data file after editing the image data file. apparatus. 画像処理装置の制御方法であって、
画像データファイルを生成する生成工程と、
前記画像データファイルの変更を禁止するか否かを定める第1の属性情報を設定する第1の属性設定工程と、
前記第1の属性情報とは異なる記録領域に記録される情報であって、前記画像データファイルの変更を禁止するか否かを定める第2の属性情報を設定する第2の属性設定工程と、
前記生成手段が生成した前記画像データファイルを外部記録媒体に記録する記録工程と
を備え、
前記第1の属性情報は、前記外部記録媒体内に記録されている前記画像データファイル内に格納され、
前記第2の属性情報は、前記画像データファイルが記録されている前記外部記録媒体内におけるファイルシステムが扱う記録領域であって、前記外部記録媒体が記録している画像データファイルを管理する領域に格納され、
前記記録工程では、前記生成工程で生成された前記画像データファイルを記録する場合に、第1の属性情報には前記画像データファイルの変更を禁止しない属性を記録するとともに、前記第2の属性情報には、前記画像データファイルの変更を禁止する属性を記録する
ことを特徴とする画像処理装置の制御方法。
A control method for an image processing apparatus, comprising:
A generation process for generating an image data file;
A first attribute setting step for setting first attribute information for determining whether or not to change the image data file;
A second attribute setting step of setting second attribute information that is recorded in a recording area different from the first attribute information and determines whether or not to change the image data file;
A recording step of recording the image data file generated by the generation unit on an external recording medium,
The first attribute information is stored in the image data file recorded in the external recording medium,
The second attribute information is a recording area handled by a file system in the external recording medium in which the image data file is recorded, and an area for managing the image data file recorded in the external recording medium. Stored,
In the recording step, when recording the image data file generated in the generating step, the first attribute information records an attribute that does not prohibit the change of the image data file , and the second attribute information Includes an attribute for prohibiting the change of the image data file .
コンピュータを請求項1乃至5いずれか1項に記載の画像処理装置として動作させるためのコンピュータプログラム。   A computer program for causing a computer to operate as the image processing apparatus according to any one of claims 1 to 5.
JP2011240616A 2005-03-31 2011-11-01 Image processing apparatus, image processing apparatus control method, and computer program Expired - Fee Related JP5318177B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011240616A JP5318177B2 (en) 2005-03-31 2011-11-01 Image processing apparatus, image processing apparatus control method, and computer program

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2005104801 2005-03-31
JP2005104801 2005-03-31
JP2011240616A JP5318177B2 (en) 2005-03-31 2011-11-01 Image processing apparatus, image processing apparatus control method, and computer program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2006092339A Division JP4971660B2 (en) 2005-03-31 2006-03-29 Image processing apparatus, image processing method, computer program, and storage medium

Publications (2)

Publication Number Publication Date
JP2012074050A JP2012074050A (en) 2012-04-12
JP5318177B2 true JP5318177B2 (en) 2013-10-16

Family

ID=46170076

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011240616A Expired - Fee Related JP5318177B2 (en) 2005-03-31 2011-11-01 Image processing apparatus, image processing apparatus control method, and computer program

Country Status (1)

Country Link
JP (1) JP5318177B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6402346B2 (en) * 2014-03-12 2018-10-10 株式会社コナミデジタルエンタテインメント Processing system, server, terminal, server processing program, and terminal processing program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1498810B1 (en) * 1999-10-21 2018-12-26 Panasonic Corporation A semiconductor memory card access apparatus, a computer-readable recording medium, an initialization method, and a semiconductor memory card
JP2004272531A (en) * 2003-03-07 2004-09-30 Nippon Telegr & Teleph Corp <Ntt> Ledger data base construction system, construction method, construction program and recording medium

Also Published As

Publication number Publication date
JP2012074050A (en) 2012-04-12

Similar Documents

Publication Publication Date Title
JP4971660B2 (en) Image processing apparatus, image processing method, computer program, and storage medium
US6192191B1 (en) Data storage based on serial numbers
JP5351593B2 (en) File management apparatus and control method thereof
CN101584223A (en) Image file processing device, image file reproduction device, and image file edition device
JP2003501896A (en) Customize digital image transfer
JP2009153154A (en) Information apparatus
CN101211367A (en) Information processor, information processing method, and program
KR20150057736A (en) Apparatus and Method For Managing Image Files By Displaying Backup Information
JP4546347B2 (en) Image storage device, image storage method, and control program
JP5318177B2 (en) Image processing apparatus, image processing apparatus control method, and computer program
US8558922B2 (en) Image file management apparatus and image file management method
CN101221567B (en) File creation method and file search method
EP1222809B1 (en) Producing icons for accessing image files transferred from a digital camera
JP2005258613A (en) Recording system, data processing system and data processing method
KR20150045820A (en) Apparatus and Method For Managing Image Files by Using Thumbnail Images
JP5460001B2 (en) Image search apparatus, image search apparatus control method, program, and recording medium
JP2004056707A (en) Method of creating folder and program therefor
JP2007124150A (en) Apparatus and method for image processing, and for processing image data file, computer program, and recording medium
JP2007274719A (en) Imaging apparatus, and control method thereof
JP5142537B2 (en) Data processing apparatus, data processing method, program, and storage medium
JP2003274237A (en) Digital camera
JP2006215639A (en) Data control method and information processor
JP4582313B2 (en) Image forming apparatus and program thereof
JP3869873B2 (en) Data management method and apparatus
JP3957775B2 (en) Digital camera and recording method thereof

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130412

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130419

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130617

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130705

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130709

LAPS Cancellation because of no payment of annual fees