WO2003005715A1 - Image recorder - Google Patents

Image recorder Download PDF

Info

Publication number
WO2003005715A1
WO2003005715A1 PCT/JP2002/005029 JP0205029W WO03005715A1 WO 2003005715 A1 WO2003005715 A1 WO 2003005715A1 JP 0205029 W JP0205029 W JP 0205029W WO 03005715 A1 WO03005715 A1 WO 03005715A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
image
area
management information
data
Prior art date
Application number
PCT/JP2002/005029
Other languages
French (fr)
Japanese (ja)
Inventor
Junya Kaku
Original Assignee
Sanyo Electric Co., Ltd.
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 Sanyo Electric Co., Ltd. filed Critical Sanyo Electric Co., Ltd.
Priority to US10/482,653 priority Critical patent/US7567275B2/en
Priority to KR10-2004-7000061A priority patent/KR20040013100A/en
Publication of WO2003005715A1 publication Critical patent/WO2003005715A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/907Television signal recording using static stores, e.g. storage tubes or semiconductor memories
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/32101Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
    • H04N1/32106Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title separate from the image data, e.g. in a different computer file
    • H04N1/32112Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title separate from the image data, e.g. in a different computer file in a separate computer file, document page or paper sheet, e.g. a fax cover sheet
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/02Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
    • G11B27/031Electronic editing of digitised analogue information signals, e.g. audio or video signals
    • G11B27/036Insert-editing
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/19Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier
    • G11B27/28Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording
    • G11B27/32Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording on separate auxiliary tracks of the same or an auxiliary record carrier
    • G11B27/327Table of contents
    • G11B27/329Table of contents on a disc [VTOC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/21Intermediate information storage
    • H04N1/2104Intermediate information storage for one or a few pictures
    • H04N1/2112Intermediate information storage for one or a few pictures using still video cameras
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/21Intermediate information storage
    • H04N1/2104Intermediate information storage for one or a few pictures
    • H04N1/2112Intermediate information storage for one or a few pictures using still video cameras
    • H04N1/2137Intermediate information storage for one or a few pictures using still video cameras with temporary storage before final recording, e.g. in a frame buffer
    • H04N1/2141Intermediate information storage for one or a few pictures using still video cameras with temporary storage before final recording, e.g. in a frame buffer in a multi-frame buffer
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B2220/00Record carriers by type
    • G11B2220/20Disc-shaped record carriers
    • G11B2220/25Disc-shaped record carriers characterised in that the disc is based on a specific recording technology
    • G11B2220/2525Magneto-optical [MO] discs
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/02Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
    • G11B27/031Electronic editing of digitised analogue information signals, e.g. audio or video signals
    • G11B27/034Electronic editing of digitised analogue information signals, e.g. audio or video signals on discs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2101/00Still video cameras
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2201/00Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
    • H04N2201/21Intermediate information storage
    • H04N2201/218Deletion of stored data; Preventing such deletion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2201/00Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
    • H04N2201/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N2201/3201Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
    • H04N2201/3225Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title of data relating to an image, a page or a document
    • H04N2201/3247Data linking a set of images to one another, e.g. sequence, burst or continuous capture mode
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2201/00Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
    • H04N2201/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N2201/3201Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
    • H04N2201/3274Storage or retrieval of prestored additional information
    • H04N2201/3277The additional information being stored in the same storage device as the image data

Definitions

  • the present invention relates to an image recording apparatus, and more particularly to an image recording apparatus which is applied to, for example, a digital camera and records an image signal on a recording medium via a buffer memory.
  • Conventional technology is applied to, for example, a digital camera and records an image signal on a recording medium via a buffer memory.
  • the continuous shooting mode continuous shooting mode
  • the subject is shot at a rate of, for example, once every 1/15 second, and the shot image signal is stored in the buffer memory.
  • a process of recording a plurality of image signals stored in the buffer memory is performed. Specifically, a plurality of image files individually including a plurality of image signals are formed in the data area of the recording medium, and file management information for individually managing the plurality of image files is written in the management area of the recording medium. It is. However, writing of new image signals to the buffer memory is prohibited during the recording process.
  • the recording medium is a disk recording medium such as a magneto-optical disk, it may take about 2 seconds to record one image signal. Then, when the number of continuous shootings is 40, it takes about 80 seconds from when the 40 image signals are stored in the buffer memory to when the next shooting is possible.
  • a main object of the present invention is to provide a novel image recording device.
  • Another object of the present invention is to provide an image recording apparatus capable of quickly releasing a buffer memory.
  • the image recording device comprises: File creation means for creating a first file containing M (M ⁇ 2) image signals in a data area of a recording medium; first management information for creating first management information for managing the first file Creating means; reading means for reading N (N ⁇ M) image signals from the first file at a time based on the first management information when predetermined conditions are satisfied; reading N image signals read by the reading means; A second file creating means for creating a second file including the second file in the data area; and a second management information creating means for creating second file management information for managing the second file in the management area of the recording medium.
  • a first file containing M (M ⁇ 2) image signals stored in a buffer memory is created in a data area of a recording medium by a first file creating means, and a first file for managing the first file is created.
  • Management information is created by the first management information creation means.
  • the reading means reads N (N ⁇ M) image signals from the first file based on the first management information when a predetermined condition is satisfied.
  • the second file including the read N image signals is created in the data area of the recording medium by the second file creating means, and the second file management information for managing the second file is created by the second file management information creating means. Is created in the management area of the recording medium.
  • the number of image signals included in the first file is larger than the number of image signals included in the second file. In other words, the number of the first file is smaller than the number of the second file.
  • the time required to create management information increases as the number of files increases. Thus, the time for creating the first file in the data area and creating the first management information is shorter than the time for creating the second file in the data area and creating the second management information in the management area. It can be seen that the buffer memory can be quickly released.
  • the first file management information creating means creates the first file management information in a management area of the recording medium.
  • the second file can be appropriately created even when the recording on the recording medium is performed by another device and thereafter the recording medium is mounted on the image recording device of the present invention.
  • the second file management information is created each time the second file is created once, if it is determined whether the predetermined condition is satisfied each time the second file management information is created, the second file management information is created. Interruption of file creation Z restart is possible. This increases the flexibility S.
  • the image signal is fetched into the buffer memory when the fetch instruction is received, if the condition that the fetch instruction is not received is included in the predetermined condition, the response characteristic to the fetch instruction is improved.
  • the captured image signals can be contained in one first image file, and the handling of the image signals becomes easy.
  • FIG. 1 is a block diagram showing one embodiment of the present invention
  • FIG. 2 is a block diagram showing an example of a mapping state of the SDRAM
  • FIG. 3 is an illustrative view showing an example of a structure of a recording surface of a magneto-optical disk
  • FIG. 4 is an illustrative view showing an example of an instruction list. ;
  • FIG. 5 is an illustrative view showing one example of a hierarchical structure of a directory
  • Fig. 6 (A) is an illustrative view showing an example of a combined file
  • FIG. 6 (B) is an illustrative view showing one example of a plurality of divided image files
  • FIG. 7 is a flowchart showing a part of the operation of the CPU when performing a continuous photographing process
  • FIG. 8 is a flowchart showing another part of the operation of the CPU when performing the continuous photographing process
  • FIG. 9 is a flowchart showing another part of the operation of the CPU when performing the continuous shooting processing.
  • FIG. 10 is a flowchart showing the operation of the CPU when performing the combined file recording process
  • FIG. 11 is a flowchart showing a part of the operation of the CPU when performing the file division processing
  • FIG. 12 is a flowchart showing another part of the operation of the CPU when performing the file division processing.
  • FIG. 13 is a flowchart showing another part of the operation of the CPU when performing the file division processing.
  • a digital camera 10 of this embodiment includes an image sensor 12.
  • a color filter (not shown) is mounted on the front surface of the image sensor 12, and a light image of a subject enters the image sensor 12 via the color filter.
  • the system controller 40 supplies battery power (not shown) to the entire system and provides a corresponding status signal to the CPU 38.
  • the CPU 38 instructs a TG (Timing Generator) 14 to perform photographing in accordance with a frame rate of 15 fps, for example, and gives a predetermined processing instruction to the signal processing circuit 22 and the video encoder 28.
  • the TG 14 generates a timing signal based on a vertical synchronizing signal and a horizontal synchronizing signal output from an SG (Signal Generator) 16 and drives the image sensor 12 by a raster scan method.
  • a camera signal (charge) is output from the image sensor 12 at a rate of one frame every 115 seconds.
  • the output camera signal passes through the CDS / AGC circuit 18 and the A / D converter 20 and is input to the signal processing circuit 22 as digital camera data.
  • the signal processing circuit 22 performs processing such as color separation, white balance adjustment, and YUV conversion on the input camera data to generate a YUV data (display image data), and processes the generated display image data. This is given to the memory control circuit 24.
  • the display image data is written into the display image data area 26a shown in FIG. 2 by the memory control circuit 24.
  • the video encoder 28 reads out the display image data from the display image data area 26a through the memory control circuit 24, and encodes the read display image data into a composite image signal.
  • the encoded composite image signal is As a result, a real-time moving image (through image) of the subject is displayed on the monitor 30.
  • a status signal indicating that the continuous shooting operation has been performed is given from the system controller 40 to the CPU 38.
  • the CPU 38 instructs the TG 14 to perform, for example, 40 exposures after adjusting shooting conditions such as an exposure light amount and a white balance.
  • the TG 14 performs a total of 40 exposures at a rate of once per 1Z15 seconds, and reads the camera signal obtained by each exposure from the image sensor 12.
  • the read camera signal of each frame is converted into display image data in the same manner as described above, and the converted display image data is stored in the display image data area 26a of the SDRAM 26 by the memory control circuit 24.
  • the CPU 38 gives a compression instruction to the JPEG codec 32 every time one frame of camera signal is read.
  • the JPEG codec 32 reads display image data from the display image area 26a through the memory control circuit 24, and applies JPEG compression to the read display image data.
  • the generated compressed image data that is, JPEG data, is written into the JPEG data area 26 b of the SDRAM 26 by the memory control circuit 24.
  • the CPU 38 further creates additional data by itself each time one frame of JPEG compression is performed.
  • the additional data includes file path information used in a file division process described later and shooting condition information used as header data of the divided image file.
  • the created additional data is provided to the SDRAM 26 through the memory control circuit 24, and is written in the additional data area shown in FIG.
  • the shooting condition information includes the shirt speed and aperture during shooting, the resolution of the shot image, the Q factor related to the JPEG compression ratio, and the JPEG data size.
  • the SDRAM 26 contains JPEG data 0-39 and additional data 0-39 as shown in Figure 2. Is stored. Note that JPEG data for 40 frames and additional data have been added since the exposure of the image sensor 12 started in response to the continuous shooting operation. Processing until data is secured in the SDRAM 26 is defined as continuous shooting processing.
  • the CPU 38 is equipped with a real-time ⁇ S such as ⁇ i TRON, and the combined file recording process for recording the combined file containing JPEG data 0 to 39 and additional data 0 to 39 on the magneto-optical disk 36 is continuous. This is performed in parallel with the photographing process.
  • the magneto-optical disk 36 is a removable and non-volatile disk recording medium.
  • a FAT (File Allocation Table) area 36a On the recording surface, a FAT (File Allocation Table) area 36a, a root directory area 36b, and a data area 36c are formed as shown in FIG. Is done.
  • a plurality of free clusters (clusters: unit recording areas) are discretely distributed in the data area 36c, and the FAT information indicating the link state of the class in which data has already been written, that is, the write class, is written in the FAT area 36a. Is written.
  • a directory entry is written in the root directory area 36b.
  • the CPU 38 outputs a predetermined access request to the disk drive 34 in the combined file recording process.
  • the disk controller 34a controls the magnetic head 34b and the optical pickup 34c to access the magneto-optical disk 36 in a manner according to the access request.
  • the CPU 38 uses an instruction list 38a as shown in FIG. 4 so that the processing is smoothly performed between the continuous shooting processing and the combined file recording processing.
  • the CPU 38 instructs commands and parameters corresponding to “recording start”, “folder creation”, “file creation”, and “file open” respectively.
  • the execution of "recording process” starts the combined file recording process, and the execution of "create folder” creates a new continuous shooting folder in the data area 36c shown in FIG.
  • "Create file” a combined file is created in the lower layer of the new continuous shooting folder.
  • "File open” a handle number for specifying the new combined file is created.
  • the data area 36c of the magneto-optical disk 36 has a directory structure as shown in FIG. Several subdirectories under the root directory "DCIM"
  • the combined file "SEQT0000.DAT” is stored in the sequential shooting folders "SEQ0001" and “SEQ0002” formed in the lower hierarchy of the subdirectory "102SANYO". Burst shots formed in layers A plurality of image files "SEQ0301.JPG", “SEQ0302.JPG” ... are stored in the folder "SEQ0003". This is because the splitting process of the combined files stored in the continuous shooting folder "SEQ0003" has been completed, but the splitting process of the combined files stored in the continuous shooting folders "SEQ0001" and “SEQ0002" has not been completed yet. Means that.
  • the file division process is executed by the CPU 38 when the JPEG data based on the continuous shooting does not exist in the SDRAM 26 and the continuous shooting operation is not performed.
  • the instruction list 38a is not used.
  • the latest sequential shooting folder is detected from the currently selected subdirectory, and the combined file stored in the detected continuous shooting folder is opened.
  • file path information is read from the opened combined file, and a new image file is created based on the read file path information.
  • the image file is created at the same level as the merged file from which the file path information was read.
  • the merged file that has been subjected to the file splitting process is deleted thereafter. With the deletion, the size information of the subdirectory written in the root directory area 36 b is updated.
  • the file division process is interrupted. The interrupted file division processing is restarted after the combined file is created based on the continuous shooting operation.
  • the FAT area 36a, the root directory area 36b, and the data area 36c are formed by being divided in the radial direction of the magneto-optical disk 36, and are used to update the FAT information and the size information.
  • the magnetic head 34 b and the optical pickup 34 c are moved from the evening area 36 c to the FAT area 36 a, and the fc magnetic head 34 b and the optical pickup 34 It is necessary to move c to the FAT area 36a and the root directory area 36b.
  • a combined file is first created in the data area 36c of the magneto-optical disk 36, and the FAT information of the FAT area 36a and the root directory area 36 are created.
  • the size information of b is updated only once. For this reason, the JPEG data area 26b and the additional data area 26c of the SDRAM 26 can be quickly opened, and the response characteristics of the continuous shooting operation can be improved.
  • FIGS. 7 to 9 When performing continuous shooting, the flow charts shown in FIGS. 7 to 9, that is, the control programs corresponding to steps S1 to S59 are executed by the CPU 38, and when recording the combined file, FIG. 10 is used.
  • the control program corresponding to steps S61 to S85 is executed by the CPU 38, and the combined file is divided, the flow chart shown in FIGS. 11 to 13, ie, step S91
  • the control program corresponding to S147 is executed by the CPU38. Note that these control programs are stored in ROM48.
  • step S1 a through image display process is performed. Specifically, a shooting command is given to TG 14 and a processing command is given to signal processing circuit 22 and video encoder 28. As a result, a through image is displayed on the monitor 30.
  • step S3 it is determined whether or not the shirt button 42 has been operated. If YES, the flag SUSPEND is set in step S5. In step S7, the state of the flag REC-ENA is determined. If the flag is set, the process proceeds to step S9.
  • SUSPEND set Z reset is switched by continuous shooting processing.
  • the setting state of the flag REC-ENA permits continuous shooting processing, and the reset state disables continuous shooting processing.
  • Flag REC—Set / reset of ENA is switched by file division processing.
  • step S9 shooting conditions such as shirt speed, aperture, and white balance are adjusted.
  • step S11 the count value P of the count 38p is reset, and in step S13, "recording start” is set in the instruction list 38a.
  • step S15 the count value P is incremented, and in step S17, "create folder” is set in the instruction list 38a.
  • step S19 the folder number of the continuous shooting folder newly created by "create folder” is set as the maximum folder number MaxFldNum.
  • step S21 the count value P is incremented, and in step S23, "create file” is set in the instruction list 38a.
  • step S25 the count value P is incremented, and in step S27, "file open” is set in the instruction list 38a.
  • the count value P corresponds to the list number of the instruction list 38a shown in FIG. Therefore, "recording start”, “folder creation”, “file creation”, and “file open” are individually set in the columns of list numbers "0" to "4".
  • Type Command c. Lata 1 c. LAMETER 2 C LAMETER 3 Start recording process FILE_STRT Create folder FOLDER — CLEATE Drift 'file Create file FILE-CLEATE Drift' number File File
  • FILE-OPEN Drift 'number file Write file
  • FILE-WRITE Handle number SDRAM address Size' (byte)
  • FILE-CLOSE Handle number Recording process end
  • FILE-END Referring to Table 1, FILE-STRT is set as a command for "Start recording", and FOLDER-CREATE, drive number and file path are set as commands and parameters 1 and 2 for "Create folder". You. Also,
  • step S29 it is determined whether or not a vertical synchronization signal has been generated. If YES, display image data for one frame is captured in step S31. Specifically, an exposure command is given to TG 14 and a processing command is given to signal processing circuit 22. As a result, display image data is secured in the display image data area 26a of the SD RAM 26.
  • step S33 a compression instruction is given to the JPEG codec 32. The JPEG codec 32 reads the display image data from the display image data area 26a and applies JPEG compression to the read display image data. JPEG data generated by JPEG compression is stored in the JPEG data area 26 b of the SD RAM 26.
  • step S35 additional data including 72-byte file path information and 200-byte shooting condition information is created by the CPU 38, and the created additional data is stored in the additional data area 2 of the SD RAM 24. 6 Written to c.
  • the combined file "SEQTO00O.DAT” created in step S109 is If the file exists in the sequential shooting folder "SEQT0004" under the directory "102SANYO", the file path information created in step S35 is " ⁇ DCIM ⁇ 102SANYO ⁇ SEQT0004 ⁇ SEQT ++++. JPG" (+ +++: 4-digit file number).
  • step S37 the count value P is incremented, and in step S39, "write file” for additional data is set in the instruction list 38a.
  • step S41 the count value P is incremented, and in step S43, "write file” for JPEG data is set in the instruction list 38a.
  • Table 1 regarding "file write”, as commands, parameters 1, 2, and 3, FILE-WRITE, handle number (obtained by file open processing described later), SDRAM address and The data size is set. Therefore, in step S39, the start address and data size of the additional data stored in the SD RAM 26 in the immediately preceding step S35 are set as parameters 2 and 3, and in step S43, the immediately preceding step S3 is executed. 33 Based on the processing in 3, the start address and the data size of the JPEG data stored in the SD RAM 26 are set as parameters 2 and 3.
  • step S5 it is determined whether or not the number of occurrences of the vertical synchronization signal has reached 40, and if it is less than 40, the process returns to step S29. Therefore, a series of processes in steps S31 to S43 is repeated 40 times.
  • JPEG data 0 to 39 and additional data 0 to 39 are stored in the manner shown in Fig. 2, and a total of 80 "write files" are set in the instruction list 38a. You.
  • step S45 If YES is determined in step S45, the count value P is incremented in step S47, and "file close” is set in the instruction list 38a in step S49.
  • step S51 the count value P is incremented, and in step S53, "end of recording process” is set in the instruction list 38a.
  • FILE-CLOSE is set as a command
  • handle number of the file to be closed is set as parameter 1.
  • FILE-END is set as a command.
  • step S55 the count value Q of the counter 38Q is determined.
  • the command of the list number corresponding to the count value Q is executed. Is performed.
  • step S61 count value Q is reset, and in step S63, is FILE—STRT set to the list number corresponding to count value Q? Is determined. If NO here, the process returns to step S61, but if YES, the count value Q is incremented in step S65 and the command of the list number corresponding to the incremented count value Q is changed to step S61. 67, S71, S75, S79 and S83.
  • step S67 If the set command is FOLDER-CREATE, Y E S is determined in step S67, and folder creation processing is performed in step S69.
  • the disk drive 34 is specified by the drive number set as the parameter 1, and a continuous folder creation request based on the file path set as the parameter 2 is given to the disk drive 34.
  • a continuous shooting folder is created in the data area 36c of the magneto-optical disk 36.
  • a continuous shooting folder "SEQT0004" is created below the subdirectory "102SANYO".
  • step S71 If the set command is FILE-CREATE, YES is determined in step S71, and a file creation process is performed in step S73. That is, the disk drive 34 is specified by the drive number set as the parameter 1, and a file creation request based on the file path set as the parameter 2 is given to the disk drive 34. As a result, a combined file is created in the data area 36c of the magneto-optical disk 36. In the above example, the combined file is located further below the sequential shooting folder "SEQT0004" created under the subdirectory "102SANYO". The file "SEQT0000.DAT" is created. When the READY signal is returned from the disk drive 34, it is considered that the creation of the combined file has been completed, and the process returns to step S65.
  • step S75 the process proceeds from step S75 to step S77, whereby the file open process is performed. That is, the disk drive 34 is specified by the drive number set as the parameter 1, and a combined file open request based on the file path set as the parameter 2 is given to the disk drive 34.
  • a READY signal indicating that the combined file has been opened
  • a handle number to be assigned to the combined file is created.
  • the combined folder "SEQT0000.DAT" stored in the sequential shooting folder "SEQT0004" under the subdirectory "102SANYO” is specified, and a handle number to be assigned to the combined file is created.
  • the created handle number is used for "write file" in steps S39 and S43 shown in FIG.
  • step S81 the process proceeds from step S79 to step S81, whereby the file writing process is performed.
  • the binding file to which data is to be written is specified by the handle number set in parameter 1, and the SDRAM address and data size set in parameters 2 and 3 are used to transfer data from the SD RAM 26 based on the data size.
  • the data is read, and the disk drive 34 is requested to write the read data to the binding file specified by the handle number.
  • the disk drive 34 generates FAT information indicating the link state of the writing class each time data writing for one class is completed.
  • the created FAT information is written to the SDRAM 26 by the CPU 38.
  • step S83 the process proceeds from step S83 to step S85, whereby the file closing process is performed. Specifically, the FAT information in the FAT area 36a is updated by the FAT information stored in the SD RAM 26, and the size of the root directory area 36b is increased by the increase in the file size. Information is updated. Upon completion of the file closing process, the process returns to step S65.
  • step S83 NO is determined in step S83 and the process returns to step S61.
  • the count value Q is reset, and the combined file recording process shifts to a standby state.
  • step S91 it is determined in step S91 whether a start instruction has been given. If YES here, the process proceeds to step S93, where the directory number CurDirNum of the currently selected subdirectory is set as the directory number dirnum, and the maximum folder number determined in step S19 in FIG. MaxFldNum is set as the folder number fldnum.
  • step S95 the flag REC—ENA and the file pointer FP are reset.
  • step S97 a file open request is given to the disk drive 34 to open the combined file specified by the directory number dirnum and the folder number fldnum.
  • step S101 it is determined whether or not the combined file has actually been opened.
  • the folder number fldnum is decremented in step S101.
  • the updated folder number fldnum is compared with "0" in step S103. If fldnum-0, it is assumed that there are no linked files in the currently selected subdirectory, and the process ends. On the other hand, if fldnum> 0, it is considered that there is a possibility that the combined file exists in the currently selected subdirectory, and the process returns to step S95.
  • step S105 the 72-byte data existing after the point point of the file pointer FP is transferred from the magneto-optical disk 36 to the SDRAM 26. Since the combined file has the structure shown in FIG. 6, the file path information 0 included in the additional data 0 is transferred to the SD RAM 26 in the first step S105. When the transfer of the file path information is completed, the point point of the file pointer FP is advanced by 72 bytes in step S107.
  • step S109 a request to create a new image file based on the file path information read in the immediately preceding step S105 is given to the disk drive 34. If the read file path information is " ⁇ DCIM ⁇ 102SANYO ⁇ SEQT0004 ⁇ SEQT0401.JPG", the creation of the image file "SEQT0401.JPG” is requested. Specifically, it is required to create an image file "SEQT0401.JPG” in a layer further below the continuous shooting folder "SEQT0004" created in a layer below the subdirectory "102SANYO".
  • step SI 11 the 200-byte data existing after the point of the file pointer FP is transferred from the magneto-optical disk 36 to the SD RAM 26, and in the following step S 113 the file pointer FP The point is advanced by 200 bytes.
  • the photographing condition information 0 shown in FIG. 6 is transferred to the SDRAM26.
  • the file point FP points to the first address of JPPEG data overnight.
  • step S115 the JPEG data size "PIC-SIZE" is detected from the shooting condition information transferred in step S111.
  • the detected "PIC-SIZE” indicates the size of the JPEG data existing after the current point of the file pointer FP.
  • step S117 it is determined in step S117 whether a new image file has been created based on the processing in step S109.
  • a READY signal is returned from the disk drive 34, and when a new image file is not created, a NOT READY signal is returned to the disk drive 34. Will be returned from Therefore, in step S117, it is determined whether either the READY signal or the NOT READY signal has been returned.
  • step S117 If NO is determined in the step S117, the file pointer FP is advanced by "PIC-SIZE" in a step S119, and the process shifts to a step S135.
  • step S119 When a continuous photographing operation is performed during the file division processing for the focused combined file, and the file division processing for the focused combined file is restarted thereafter, the processing in step S119 is performed.
  • step S117 the opening of the new image file is requested to the disk drive 34 in a step S121, and in step S123, the file image exists after the file destination of FP.
  • the data of PIC—SIZE ” is transferred from the magneto-optical disk 36 to the SDRAM 26.
  • step S123 JPEG data 0 is transferred to the SDRAM 26.
  • step S125 the file pointer FP is advanced by "PIC-SIZE", and in step S127, a JPEG header including the shooting condition information read in the immediately preceding step S111 is created.
  • step S129 the disk drive 34 is requested to store the created JPEG header in the new image file.
  • step S131 the JPEG data read in the immediately preceding step S123 is stored in the new image file. Is requested to the disk drive 34, and the close of the new image file is requested to the disk drive 34 in step S133.
  • steps S121, S129, S131 and S133 when the READY signal is returned from the disk drive 34, the processing proceeds to the next step.
  • steps S105, S111, and S123 desired data is read from the data area 36c based on the FAT information of the combined file written in the FAT area 36a.
  • step S135 the point destination of the file pointer FP is determined. If the point exists after the end of the combined file, the disk drive 34 is requested to close the combined file in step S137, and the disk drive 34 is requested to delete the combined file in step S139. Upon completion of the process in step S139, the process returns to step S101. Step S137 In each of S139 and S139, the process proceeds to the next step when the READY signal is returned from the disk drive 34.
  • step S144 the state of flag SUSPEND is determined. If it is SUSPEND-0, it is considered that the file division processing can be continued, and the processing returns to step S105 after resetting the flag REC-ENA in step S145. On the other hand, if SUSPEND: 1, it is considered that the file division process has to be interrupted, and the disk drive 34 is requested to close the combined file in step S147. When a READY signal is returned in response to this request, the processing ends.
  • a combined file including JPEG data of a plurality of frames stored in the SD RAM is created in the data area 36 c of the magneto-optical disk 36, and the FAT for managing the combined file is created.
  • Information is created in the FAT area 36a of the magneto-optical disk 36, and the size information of the subdirectory to which the combined file belongs is updated in the root directory area 36b.
  • the JPEG data included in the combined file is read out frame by frame based on the directory entry and the FAT information of the combined file when the continuous shooting operation is not performed.
  • the read JPEG data of each frame is stored in the image file formed in the data area 36c, and when the creation of the image file is completed, the FAT information of the image file is written in the FAT area 36a. It is.
  • FAT information and size information it is necessary to move the magnetic head 34 b and the optical pickup 34 c to the FAT area 36 a and the root directory area 36 b, which is necessary for creating an image file. The time is significantly longer than the time required to create the join file.
  • one combined file is created in the data area 36c, and the combined file is created.
  • the processing time required to create the FAT information in the FAT area 36a and update the size information of the sub-directory to which the combined file belongs in the root directory area 36b is 40 image files.
  • the FAT information of the combined file is written to the FAT area 36a of the magneto-optical disk 36, recording and deletion to the magneto-optical disk 36 are performed by another device, and then the disk drive 34 is mounted. In this case, 40 image files can be created appropriately.
  • the recording medium is a built-in type
  • the FAT information of the combined file may be written to the internal memory (preferably, the nonvolatile memory). Since the FAT information and the size information are updated each time one image file is created, it is possible to interrupt / restart the image file creation processing. This makes it possible to enhance the response characteristics (flexibility) of the continuous shooting operation.
  • the FAT method is adopted as the file management method, but a UDF (Universal Disc Format) method may be adopted instead.
  • JPEG data for one frame is stored in the image file.
  • the number of frames included in each image file may be plural, and the number of frames may not be the same between image files.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Studio Devices (AREA)
  • Television Signal Processing For Recording (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)

Abstract

A digital camera (10) includes an SDRAM (26). When 40 frames of image signal is stored in the SDRAM (26), a merged file containing the 40-frame image signal is created in a data area of a magneto-optical disk (36), and FAT information on the merged file is written in an FAT area of the magneto-optical disk (36). When a predetermined condition is met, the image data in the merged file is read one frame by one, and an image file containing the read image data is created in the data area of the magneto-optical disk (36). The FAT information on the image file is written in the FAT area of the magneto-optical disk (36). The operation is repeated 40 times, and thereafter the merged file is deleted.

Description

技術分野  Technical field
この発明は、画像記録装置に関し、特にたとえばディジタルカメラに適用され、 画像信号をバッファメモリを介して記録媒体に記録する、画像記録装置に関する。 従来技術  The present invention relates to an image recording apparatus, and more particularly to an image recording apparatus which is applied to, for example, a digital camera and records an image signal on a recording medium via a buffer memory. Conventional technology
ディジタルカメラでは、 連続撮影モード (連写モード) が選択されると、 たと えば 1 / 1 5秒に 1回の割合で被写体が撮影され、 撮影された画像信号はバッフ ァメモリに格納される。 所定回数の撮影が完了すると、 バッファメモリに蓄積さ れた複数の画像信号の記録処理が行われる。 具体的には、 複数の画像信号を個別 に含む複数の画像ファイルが記録媒体のデータ領域に形成され、 複数の画像フ 7 ィルを個別に管理するファイル管理情報が記録媒体の管理領域に書き込まれる。 しかし、 記録処理が行われる間、 バッファメモリへの新規の画像信号の書き込 みは禁止される。記録媒体が光磁気ディスクのようなディスク記録媒体であれば、 1つの画像信号の記録処理に 2秒程度の時間がかかる場合がある。 すると、 連続 撮影回数が 4 0回のときは、 4 0個の画像信号がパッファメモリに格納されてか ら次回の撮影が可能になるまでに 8 0秒程度の時間が必要となる。  In the digital camera, when the continuous shooting mode (continuous shooting mode) is selected, the subject is shot at a rate of, for example, once every 1/15 second, and the shot image signal is stored in the buffer memory. When a predetermined number of image capturing operations are completed, a process of recording a plurality of image signals stored in the buffer memory is performed. Specifically, a plurality of image files individually including a plurality of image signals are formed in the data area of the recording medium, and file management information for individually managing the plurality of image files is written in the management area of the recording medium. It is. However, writing of new image signals to the buffer memory is prohibited during the recording process. If the recording medium is a disk recording medium such as a magneto-optical disk, it may take about 2 seconds to record one image signal. Then, when the number of continuous shootings is 40, it takes about 80 seconds from when the 40 image signals are stored in the buffer memory to when the next shooting is possible.
なお、 記録処理のうちで最も長い時間を費やすのは、 ファイル管理情報の作成 処理である。これは、データ領域とファイル管理領域とが別々に形成されており、 デ一夕領域からフアイル管理領域へのへッドシークが必要となるからである。 発明の概要  The longest time in the recording process is the process of creating file management information. This is because the data area and the file management area are separately formed, and a head seek from the data management area to the file management area is required. Summary of the Invention
それゆえに、 この発明の主たる目的は、 新規な画像記録装置を提供することで ある。  Therefore, a main object of the present invention is to provide a novel image recording device.
この発明の他の目的は、 バッファメモリを速やかに開放することができる、 画 像記録装置を提供することである。  Another object of the present invention is to provide an image recording apparatus capable of quickly releasing a buffer memory.
この発明に従う画像記録装置は、 次のものを備える:バッファメモリに格納さ れた M (M≥2 ) 個の画像信号を含む第 1ファイルを記録媒体のデータ領域に作 成する第 1ファイル作成手段;第 1ファイルを管理する第 1管理情報を作成する 第 1管理情報作成手段;所定条件が満たされたとき第 1管理情報に基づいて第 1 ファイルから画像信号を N (N<M) 個ずつ読み出す読み出し手段;読み出し手 段によって読み出された N個の画像信号を含む第 2ファイルをデータ領域に作成 する第 2フアイル作成手段;および第 2ファイルを管理する第 2フアイル管理情 報を記録媒体の管理領域に作成する第 2管理情報作成手段。 The image recording device according to the invention comprises: File creation means for creating a first file containing M (M≥2) image signals in a data area of a recording medium; first management information for creating first management information for managing the first file Creating means; reading means for reading N (N <M) image signals from the first file at a time based on the first management information when predetermined conditions are satisfied; reading N image signals read by the reading means; A second file creating means for creating a second file including the second file in the data area; and a second management information creating means for creating second file management information for managing the second file in the management area of the recording medium.
まず、 バッファメモリに格納された M (M≥2 ) 個の画像信号を含む第 1ファ ィルが第 1ファイル作成手段によって記録媒体のデータ領域に作成され、 第 1フ アイルを管理する第 1管理情報が第 1管理情報作成手段によって作成される。 読 み出し手段は、 所定条件が満たされたとき、 第 1管理情報に基づいて第 1フアイ ルから画像信号を N (N<M) 個ずつ読み出す。 読み出された N個の画像信号を 含む第 2ファイルは第 2ファイル作成手段によって記録媒体のデータ領域に作成 され、 第 2ファイルを管理する第 2ファイル管理情報は第 2ファイル管理情報作 成手段によつて記録媒体の管理領域に作成される。  First, a first file containing M (M≥2) image signals stored in a buffer memory is created in a data area of a recording medium by a first file creating means, and a first file for managing the first file is created. Management information is created by the first management information creation means. The reading means reads N (N <M) image signals from the first file based on the first management information when a predetermined condition is satisfied. The second file including the read N image signals is created in the data area of the recording medium by the second file creating means, and the second file management information for managing the second file is created by the second file management information creating means. Is created in the management area of the recording medium.
第 1ファイルに含まれる画像信号の数は、 第 2ファイルに含まれる画像信号よ りも多い。換言すれば、第 1ファイルの数は、第 2ファイルよりも少ない。一方、 管理情報の作成に要する時間は、ファイル数が多くなるほど長くなる。これより、 第 1ファイルをデータ領域に作成し、 第 1管理情報を作成する時間の方が、 第 2 ファイルをデータ領域に作成し、 第 2管理情報を管理領域に作成する時間よりも 短く、 バッファメモリを速やかに開放することができることが分かる。  The number of image signals included in the first file is larger than the number of image signals included in the second file. In other words, the number of the first file is smaller than the number of the second file. On the other hand, the time required to create management information increases as the number of files increases. Thus, the time for creating the first file in the data area and creating the first management information is shorter than the time for creating the second file in the data area and creating the second management information in the management area. It can be seen that the buffer memory can be quickly released.
記録媒体は着脱自在である場合、 第 1フアイル管理情報作成手段は、 第 1ファ ィル管理情報を記録媒体の管理領域に作成した方がよい。 これによつて、 当該記 録媒体に対する記録が別の装置によって行われ、 その後この発明の画像記録装置 に装着されたときでも、 第 2ファイルを適切に作成することができる。  When the recording medium is detachable, it is preferable that the first file management information creating means creates the first file management information in a management area of the recording medium. Thus, the second file can be appropriately created even when the recording on the recording medium is performed by another device and thereafter the recording medium is mounted on the image recording device of the present invention.
第 2ファイルの作成が 1回行われる毎に第 2ファイル管理情報を作成する場合、 第 2ファイル管理情報の作成が 1回行われる毎に所定条件を満たすかどうかを判 別すれば、 第 2ファイル作成の中断 Z再開が可能となる。 これによつて、 融通性 力 S高まる。 画像信号の取り込み指示を受け付けたときに画像信号をバッファメモリに取り 込む場合、 取り込み指示を受け付けていないという条件を所定条件に含めれば、 取り込み指示に対する応答特性が向上する。 When the second file management information is created each time the second file is created once, if it is determined whether the predetermined condition is satisfied each time the second file management information is created, the second file management information is created. Interruption of file creation Z restart is possible. This increases the flexibility S. When the image signal is fetched into the buffer memory when the fetch instruction is received, if the condition that the fetch instruction is not received is included in the predetermined condition, the response characteristic to the fetch instruction is improved.
取り込み指示に応答して M個の画像信号を取り込むようにすれば、 取り込まれ た画像信号は 1つの第 1画像ファイルに収めることができ、 画像信号の取り扱い が容易になる。  If M image signals are captured in response to the capture instruction, the captured image signals can be contained in one first image file, and the handling of the image signals becomes easy.
データ領域および管理領域が径方向に分割して形成されたディスク記録媒体を 用いる場合、 データ領域および管理領域の間を移動する可動記録部材によって記 録が行われる。 このような場合に第 2ファイルおよび第 2管理情報の作成に要す る時間がさらに長くなり、 この発明の効果が顕著に現れる。  When a disk recording medium in which the data area and the management area are divided in the radial direction is used, recording is performed by a movable recording member that moves between the data area and the management area. In such a case, the time required for creating the second file and the second management information is further increased, and the effect of the present invention is remarkably exhibited.
この発明の上述の目的, その他の目的, 特徴および利点は、 図面を参照して行 う以下の実施例の詳細な説明から一層明らかとなろう。 図面の簡単な説明  The above objects, other objects, features and advantages of the present invention will become more apparent from the following detailed description of embodiments with reference to the drawings. BRIEF DESCRIPTION OF THE FIGURES
図 1はこの発明の一実施例を示すプロック図であり;  FIG. 1 is a block diagram showing one embodiment of the present invention;
図 2は S D R AMのマツピング状態の一例を示すブロック図であり ; 図 3は光磁気ディスクの記録面の構造の一例を示す図解図であり; 図 4は指示リストの一例を示す図解図であり;  FIG. 2 is a block diagram showing an example of a mapping state of the SDRAM; FIG. 3 is an illustrative view showing an example of a structure of a recording surface of a magneto-optical disk; FIG. 4 is an illustrative view showing an example of an instruction list. ;
図 5はディレクトリの階層構造の一例を示す図解図であり ;  FIG. 5 is an illustrative view showing one example of a hierarchical structure of a directory;
図 6 (A) は結合ファイルの一例を示す図解図であり ;  Fig. 6 (A) is an illustrative view showing an example of a combined file;
図 6 (B) は分割された複数の画像ファイルの一例を示す図解図であり; 図 7は連続撮影処理を行うときの C P Uの動作の一部を示すフロ一図であ り ;  FIG. 6 (B) is an illustrative view showing one example of a plurality of divided image files; FIG. 7 is a flowchart showing a part of the operation of the CPU when performing a continuous photographing process;
図 8は連続撮影処理を行うときの C P Uの動作の他の一部を示すフロ一図で あり;  FIG. 8 is a flowchart showing another part of the operation of the CPU when performing the continuous photographing process;
図 9は連続撮影処理を行うときの C P Uの動作のその他の一部を示すフロー 図であり;  FIG. 9 is a flowchart showing another part of the operation of the CPU when performing the continuous shooting processing;
図 1 0は結合フアイル記録処理を行うときの C P Uの動作を示すフ口一図で あり; 図 1 1はファイル分割処理を行うときの C P Uの動作の一部を示すフロ一図 であり; FIG. 10 is a flowchart showing the operation of the CPU when performing the combined file recording process; FIG. 11 is a flowchart showing a part of the operation of the CPU when performing the file division processing;
図 1 2はフアイル分割処理を行うときの C P Uの動作の他の一部を示すフロ 一図であり ;そして  FIG. 12 is a flowchart showing another part of the operation of the CPU when performing the file division processing; and
図 1 3はファイル分割処理を行うときの C P Uの動作のその他の一部を示す フロー図である。 発明を実施するための最良の形態  FIG. 13 is a flowchart showing another part of the operation of the CPU when performing the file division processing. BEST MODE FOR CARRYING OUT THE INVENTION
図 1を参照して、 この実施例のディジタルカメラ 1 0はイメージセンサ 1 2を 含む。 イメージセンサ 1 2の前面には色フィルタ (図示せず) が装着され、 被写 体の光像はこの色フィルタを介してイメージセンサ 1 2に入射する。  Referring to FIG. 1, a digital camera 10 of this embodiment includes an image sensor 12. A color filter (not shown) is mounted on the front surface of the image sensor 12, and a light image of a subject enters the image sensor 12 via the color filter.
電源スィッチ 4 6が投入されると、 システムコントローラ 4 0はバッテリ電源 (図示せず) をシステム全体に供給するとともに、 対応する状態信号を C P U 3 8に与える。 C P U 3 8は、 たとえば 1 5 f p sのフレームレートに従う撮影を T G (Timing Generator) 1 4に命令し、 信号処理回路 2 2およびビデオェンコ —ダ 2 8に所定の処理命令を与える。  When the power switch 46 is turned on, the system controller 40 supplies battery power (not shown) to the entire system and provides a corresponding status signal to the CPU 38. The CPU 38 instructs a TG (Timing Generator) 14 to perform photographing in accordance with a frame rate of 15 fps, for example, and gives a predetermined processing instruction to the signal processing circuit 22 and the video encoder 28.
T G 1 4は、 S G (Signal Generator) 1 6から出力される垂直同期信号およ び水平同期信号に基づいてタイミング信号を生成し、 イメージセンサ 1 2をラス タスキャン方式で駆動する。 イメージセンサ 1 2からは、 1 1 5秒に 1フレー ムの割合でカメラ信号 (電荷) が出力される。 出力されたカメラ信号は、 C D S /A G C回路 1 8および A/D変換器 2 0を経て、 ディジタル信号であるカメラ データとして信号処理回路 2 2に入力される。  The TG 14 generates a timing signal based on a vertical synchronizing signal and a horizontal synchronizing signal output from an SG (Signal Generator) 16 and drives the image sensor 12 by a raster scan method. A camera signal (charge) is output from the image sensor 12 at a rate of one frame every 115 seconds. The output camera signal passes through the CDS / AGC circuit 18 and the A / D converter 20 and is input to the signal processing circuit 22 as digital camera data.
信号処理回路 2 2は、 入力されたカメラデ一夕に色分離, 白バランス調整, Y UV変換などの処理を施して YUVデ一夕 (表示画像データ) を生成し、 生成し た表示画像データをメモリ制御回路 2 4に与える。 表示画像デ一夕は、 メモリ制 御回路 2 4によって図 2に示す表示画像データ領域 2 6 aに書き込まれる。  The signal processing circuit 22 performs processing such as color separation, white balance adjustment, and YUV conversion on the input camera data to generate a YUV data (display image data), and processes the generated display image data. This is given to the memory control circuit 24. The display image data is written into the display image data area 26a shown in FIG. 2 by the memory control circuit 24.
ビデオエンコーダ 2 8は、 メモリ制御回路 2 4を通して表示画像デ一夕領域 2 6 aから表示画像データを読み出し、 読み出した表示画像デ一夕をコンポジット 画像信号にエンコードする。 エンコードされたコンポジット画像信号はモニタ 3 0に与えられ、 この結果、 被写体のリアルタイム動画像 (スルー画像) がモニタ 30に表示される。 The video encoder 28 reads out the display image data from the display image data area 26a through the memory control circuit 24, and encodes the read display image data into a composite image signal. The encoded composite image signal is As a result, a real-time moving image (through image) of the subject is displayed on the monitor 30.
メニューキー 44によって連続撮影モード (連写モード) が選択された状態で シャツタポタン 42が操作されると、 連続撮影操作が行われたことを示す状態信 号がシステムコントローラ 40から CPU 38に与えられる。 CPU 38は、 露 光量や白バランスなどの撮影条件を調整した後、 TG 14にたとえば 40回の露 光を命令する。 TG14は、 1Z15秒に 1回の割合で合計 40回の露光を行い、 各々の露光によって得られたカメラ信号をイメージセンサ 12から読み出す。 読 み出された各フレームのカメラ信号は上述と同じ要領で表示画像データに変換さ れ、 変換された表示画像データは、 メモリ制御回路 24によって SDRAM26 の表示画像データ領域 26 aに格納される。  When the shirt tapo button 42 is operated in a state where the continuous shooting mode (continuous shooting mode) is selected by the menu key 44, a status signal indicating that the continuous shooting operation has been performed is given from the system controller 40 to the CPU 38. The CPU 38 instructs the TG 14 to perform, for example, 40 exposures after adjusting shooting conditions such as an exposure light amount and a white balance. The TG 14 performs a total of 40 exposures at a rate of once per 1Z15 seconds, and reads the camera signal obtained by each exposure from the image sensor 12. The read camera signal of each frame is converted into display image data in the same manner as described above, and the converted display image data is stored in the display image data area 26a of the SDRAM 26 by the memory control circuit 24.
CPU 38は、 1フレーム分のカメラ信号が読み出される毎に J PEGコ一デ ック 32に圧縮命令を与える。 J PEGコーデック 32は、 メモリ制御回路 24 を通して表示画像領域 26 aから表示画像データを読み出し、 読み出された表示 画像データに J PEG圧縮を施す。 こうして生成された圧縮画像データつまり J PEGデータは、 メモリ制御回路 24によって SDRAM 26の J PEGデータ 領域 26 bに書き込まれる。  The CPU 38 gives a compression instruction to the JPEG codec 32 every time one frame of camera signal is read. The JPEG codec 32 reads display image data from the display image area 26a through the memory control circuit 24, and applies JPEG compression to the read display image data. The generated compressed image data, that is, JPEG data, is written into the JPEG data area 26 b of the SDRAM 26 by the memory control circuit 24.
C P U 38はさらに、 1フレームの J P E G圧縮が行われる毎に自ら付加デー タを作成する。 付加データには、 後述するファイル分割処理に用いられるフアイ ルパス情報と、 分割された画像ファイルのへッダデータとして用いられる撮影条 件情報とが含まれる。 作成された付加データは、 メモリ制御回路 24を通して S DRAM26に与えられ、 図 2に示す付加データ領域に書き込まれる。 なお、 撮 影条件情報には、 撮影時のシャツ夕スピードおよび絞り量, 撮影画像の解像度, J PEG圧縮の圧縮率に関連する Qファクタ, J PEGデータサイズなどが含ま れる。  The CPU 38 further creates additional data by itself each time one frame of JPEG compression is performed. The additional data includes file path information used in a file division process described later and shooting condition information used as header data of the divided image file. The created additional data is provided to the SDRAM 26 through the memory control circuit 24, and is written in the additional data area shown in FIG. The shooting condition information includes the shirt speed and aperture during shooting, the resolution of the shot image, the Q factor related to the JPEG compression ratio, and the JPEG data size.
40回の露光処理, 40回の圧縮処理および 40回の付加データ作成処理が完 了した時点で、 S D R AM 26には図 2に示すように J P E Gデータ 0〜 39お よび付加データ 0〜 39が格納される。 なお、 連続撮影操作に応答してイメージ センサ 12の露光が開始されてから 40フレーム分の J P E Gデータおよび付加 データが SDRAM26に確保されるまでの処理を、 連続撮影処理と定義する。 CPU38は μ i TRONのようなリアルタイム〇Sを搭載しており、 J PE Gデータ 0〜 39および付加データ 0 ~ 39を含む結合ファイルを光磁気ディス ク 36に記録する結合ファイル記録処理は、連続撮影処理と並行して行なわれる。 光磁気ディスク 36は着脱自在でかつ不揮発性のディスク記録媒体であり、 記録 面には図 3に示すように FAT (File Allocation Table) 領域 36 a, ルートデ ィレクトリ領域 36 bおよびデータ領域 36 cが形成される。 データ領域 36 c には複数の空きクラスタ (クラスタ:単位記録領域) が離散的に分布し、 FAT 領域 36 aにはデータが既に書き込まれたクラス夕つまり書込クラス夕のリンク 状態を示す FAT情報が書き込まれる。 また、 ルートディレクトリ領域 36 bに は、 ディレクトリエントリが書き込まれる。 At the end of 40 exposures, 40 compressions, and 40 additional data creations, the SDRAM 26 contains JPEG data 0-39 and additional data 0-39 as shown in Figure 2. Is stored. Note that JPEG data for 40 frames and additional data have been added since the exposure of the image sensor 12 started in response to the continuous shooting operation. Processing until data is secured in the SDRAM 26 is defined as continuous shooting processing. The CPU 38 is equipped with a real-time 〇S such as μi TRON, and the combined file recording process for recording the combined file containing JPEG data 0 to 39 and additional data 0 to 39 on the magneto-optical disk 36 is continuous. This is performed in parallel with the photographing process. The magneto-optical disk 36 is a removable and non-volatile disk recording medium. On the recording surface, a FAT (File Allocation Table) area 36a, a root directory area 36b, and a data area 36c are formed as shown in FIG. Is done. A plurality of free clusters (clusters: unit recording areas) are discretely distributed in the data area 36c, and the FAT information indicating the link state of the class in which data has already been written, that is, the write class, is written in the FAT area 36a. Is written. A directory entry is written in the root directory area 36b.
CPU38は、 結合ファイル記録処理において所定のアクセス要求をディスク ドライブ 34に出力する。 ディスクコントローラ 34 aは、 磁気ヘッド 34bお よび光ピックアップ 34 cを制御して、 アクセス要求に応じた態様で光磁気ディ スク 36にアクセスする。 ここで、 CPU 38は、 連続撮影処理と結合ファイル 記録処理との間で処理が円滑に行われるように、 図 4に示すような指示リスト 3 8 aを用いる。  The CPU 38 outputs a predetermined access request to the disk drive 34 in the combined file recording process. The disk controller 34a controls the magnetic head 34b and the optical pickup 34c to access the magneto-optical disk 36 in a manner according to the access request. Here, the CPU 38 uses an instruction list 38a as shown in FIG. 4 so that the processing is smoothly performed between the continuous shooting processing and the combined file recording processing.
シャツ夕ポタン 42が押されたとき、 CPU38は、 "記録処理開始", "フオル ダ作成", "ファイル作成",および"ファイルオープン"の各々に対応するコマン ドおよびパラメ一夕を指示リスト 38 aに設定する。 "記録処理開始"の実行によ つて結合ファィル記録処理が開始され、 "フォルダ作成"の実行によつて連写フォ ルダが図 3に示すデータ領域 36 cに新規に作成される。 また、 "ファイル作成" の実行によって当該新規連写フォルダの下階層に結合ファイルが作成され、 "フ アイルオープン" の実行によって当該新規結合ファイルを特定するためのハンド ル番号が作成される。  When the shirt button 42 is pressed, the CPU 38 instructs commands and parameters corresponding to “recording start”, “folder creation”, “file creation”, and “file open” respectively. Set to a. The execution of "recording process" starts the combined file recording process, and the execution of "create folder" creates a new continuous shooting folder in the data area 36c shown in FIG. Also, by executing "Create file", a combined file is created in the lower layer of the new continuous shooting folder. By executing "File open", a handle number for specifying the new combined file is created.
また、 1フレーム分の J PEGデータが SDRAM 26に格納される毎に、 付 加データ用の "ファイル書き込み" と J PEGデータ用の "ファイル書き込み" とが指示リスト 38 aに設定される。 いずれの "ファイル書き込み" もパラメ一 夕として結合ファイルのハンドル番号を有し、 付加データおよび J PEGデ一タ は結合ファイルに格納される。 J P E Gデータおよび付加デ一夕はいずれも 4 0 フレーム分存在するため、 合計 8 0個の "ファイル書き込み"が指示リスト 3 8 aに設定される。 この "ファイル書き込み"が全て実行されたとき、 図 6 (A) に示す結合ファィルが得られる。 Each time one frame of JPEG data is stored in the SDRAM 26, "write file" for additional data and "write file" for JPEG data are set in the instruction list 38a. Each "write to file" has the handle number of the combined file as a parameter, additional data and JPEG data. Is stored in the binding file. Since both JPEG data and additional data exist for 40 frames, a total of 80 "write files" are set in the instruction list 38a. When all the "write files" are executed, the combined file shown in Fig. 6 (A) is obtained.
結合ファイルの作成が完了すると、 "ファイルクローズ"および"記録処理終了" が指示リスト 3 8 aに設定される。 "ファイルクロ一ズ"の実行によって、 F AT 領域 3 6 aに書き込まれた F AT情報およびルートディレクトリ領域 3 6 bに書 き込まれたサイズ情報が更新される。 つまり、 今回作成された結合ファイルの書 き込み領域 (クラスタ) にリンクが形成されるように FAT情報が更新され、 当 該結合ファイルが属するサブディレクトリのサイズ情報が更新される。 結合ファ ィル記録処理は、 "記録処理終了" の実行によって終了される。  When the creation of the combined file is completed, "file close" and "recording end" are set in the instruction list 38a. By executing the "file close", the FAT information written in the FAT area 36a and the size information written in the root directory area 36b are updated. In other words, the FAT information is updated so that a link is formed in the writing area (cluster) of the combined file created this time, and the size information of the subdirectory to which the combined file belongs is updated. The combined file recording process is terminated by executing “end recording process”.
光磁気ディスク 3 6のデータ領域 3 6 cは、 図 5に示すようなディレクトリ構 造を有する。 ルートディレクトリ "DCIM" の下階層に複数のサブディレクトリ The data area 36c of the magneto-optical disk 36 has a directory structure as shown in FIG. Several subdirectories under the root directory "DCIM"
" * * * SANYO" ( * * *: 1 0 0から始まる 3桁のディレクトリ番号)が形成 され、 任意のサブディレクトリの下階層に連写フォルダ " SEQX X X X " (X X X X: 0 0 0 1から始まる 4桁のフォルダ番号) が形成される。 連写フォルダは 現時点で選択されているサブディレクトリの下階層に新規に作成され、 結合ファ ィルは当該連写フォルダの下階層に作成される。 新規に作成される連写フォルダ には、 同じサブディレクトリに属する最新の連写フォルダのフォルダ番号に続く フォルダ番号が割り当てられる。 一方、 結合ファイルのファイル名は、 常に"* * * SANYO" (* * *: 3-digit directory number starting from 100) is formed, and the continuous shooting folder "SEQX XXX" (XXXX: starting from 00001) is located under any subdirectory. 4 digit folder number) is formed. The continuous shooting folder is newly created under the currently selected subdirectory, and the combined file is created under the continuous shooting folder. The newly created continuous shooting folder is assigned the folder number following the folder number of the latest continuous shooting folder belonging to the same subdirectory. On the other hand, the file name of the join file is always
"SEQT0000.DAT" とされる。 It will be "SEQT0000.DAT".
したがって、 連続撮影が行われるときに選択されているサブディレクトリが Therefore, the subdirectory selected when continuous shooting is performed is
"102SANYO"で、 当該サブディレクトリの下階層に存在する最新の連写フオル ダが "SEQ0003"であれば、 連続撮影操作に応答して連写フォルダ "SEQ0004" が新規に作成され、当該連写フォルダの下階層に結合ファイル" SEQT0000.DAT" が作成される。 In “102SANYO”, if the latest continuous shooting folder under the subdirectory is “SEQ0003”, a continuous shooting folder “SEQ0004” is newly created in response to the continuous shooting operation, and A combined file "SEQT0000.DAT" is created under the folder.
図 5によれば、 サブディレクトリ "102SANYO"の下階層に形成された連写フ オルダ "SEQ0001"および "SEQ0002" に結合ファイル "SEQT0000.DAT"が 格納されており、 サブディレクトリ "102SANYO"の下階層に形成された連写フ オルダ "SEQ0003"に複数の画像ファイル "SEQ0301.JPG", "SEQ0302.JPG" …が格納されている。 これは、 連写フォルダ " SEQ0003"に格納された結合ファ ィルの分割処理は完了したものの、連写フォルダ" SEQ0001"および" SEQ0002" に格納された結合ファイルの分割処理は未だ完了していないことを意味する。 ま た、 サブディレクトリ "101SANYO" の下階層に形成された連写フォルダ "SEQ0001" には結合ファイル "SEQ0000.DAT" と複数の画像ファイル "SEQ0101.JPG", "SEQ0102.JPG"…が格納されているが、 これは、ファイル 分割処理の途中で別のサブディレクトリの選択および連続撮影操作が行われ、 当 該ファイル分割処理が完了していないことを意味する。 According to FIG. 5, the combined file "SEQT0000.DAT" is stored in the sequential shooting folders "SEQ0001" and "SEQ0002" formed in the lower hierarchy of the subdirectory "102SANYO". Burst shots formed in layers A plurality of image files "SEQ0301.JPG", "SEQ0302.JPG" ... are stored in the folder "SEQ0003". This is because the splitting process of the combined files stored in the continuous shooting folder "SEQ0003" has been completed, but the splitting process of the combined files stored in the continuous shooting folders "SEQ0001" and "SEQ0002" has not been completed yet. Means that. In the continuous shooting folder "SEQ0001" formed under the subdirectory "101SANYO", a combined file "SEQ0000.DAT" and a plurality of image files "SEQ0101.JPG", "SEQ0102.JPG" ... are stored. However, this means that another subdirectory is selected and a continuous shooting operation is performed during the file division processing, and the file division processing is not completed.
ファイル分割処理は、 連続撮影に基づく J P E Gデータが S D RAM 2 6に存 在せず、かつ連続撮影操作が行われないときに、 C P U 3 8によって実行される。 このときは、 指示リスト 3 8 aは用いられない。 まず、 現時点で選択されている サブディレクトリの中から最新の連写フォルダが検出され、 検出された連写フォ ルダに格納された結合ファイルがオープンされる。 次に、 オープンされた結合フ ァィルからフアイルパス情報が読み出され、 読み出されたファィルパス情報に基 づいて新規の画像ファイルが作成される。 画像ファイルの作成先は、 ファイルパ ス情報を読み出した結合ファイルと同じ階層である。  The file division process is executed by the CPU 38 when the JPEG data based on the continuous shooting does not exist in the SDRAM 26 and the continuous shooting operation is not performed. In this case, the instruction list 38a is not used. First, the latest sequential shooting folder is detected from the currently selected subdirectory, and the combined file stored in the detected continuous shooting folder is opened. Next, file path information is read from the opened combined file, and a new image file is created based on the read file path information. The image file is created at the same level as the merged file from which the file path information was read.
新規画像ファィルが作成されると、 当該フアイルパス情報に関連する撮影条件 情報および J P E Gデータが結合ファイルから読み出される。 続いて、 読み出さ れた撮影条件情報を含む J P E Gヘッダと読み出された J P E Gデータとが、 新 規画像ファイルに格納される。 J P E Gデ一夕の格納処理が完了すると、 新規画 像ファイルがクローズされる。 つまり、 新規画像ファイルが書き込まれたクラス 夕にリンクが形成されるように F AT領域 3 6 aの F AT情報が更新され、 新規 画像ファイルが属するサブディレクトリのサイズ情報 (ルートディレクトリ領域 3 6 bのサイズ情報) が更新される。 このような新規画像ファイルの作成 Zクロ —ズ処理が注目する結合ファイルについて 4 0回繰り返され、 これによつて図 6 (B) に示す 4 0個の画像ファイルが得られる。 ファイル分割処理が施された結 合ファイルは、 その後消去される。 消去に伴って、 ルートディレクトリ領域 3 6 bに書き込まれたサブディレクトリのサイズ情報が更新される。 なお、新規画像ファイルがクロ一ズされる毎に連続撮影操作の有無が判別され、 連続撮影操作があるとフアイル分割処理は中断される。 中断されたフアイル分割 処理は、 当該連続撮影操作に基づく結合ファイルが作成された後に再開される。 When a new image file is created, shooting condition information and JPEG data related to the file path information are read from the combined file. Subsequently, the JPEG header including the read shooting condition information and the read JPEG data are stored in a new image file. When the storage process for JPEG data is completed, the new image file is closed. That is, the FAT information in the FAT area 36a is updated so that a link is formed in the class where the new image file is written, and the size information of the subdirectory to which the new image file belongs (root directory area 36b Is updated. Creation of such a new image file The Z-close process is repeated 40 times for the connected file of interest, thereby obtaining 40 image files as shown in FIG. 6 (B). The merged file that has been subjected to the file splitting process is deleted thereafter. With the deletion, the size information of the subdirectory written in the root directory area 36 b is updated. Each time a new image file is closed, the presence or absence of a continuous shooting operation is determined, and if there is a continuous shooting operation, the file division process is interrupted. The interrupted file division processing is restarted after the combined file is created based on the continuous shooting operation.
F AT領域 3 6 a , ル一トディレクトリ領域 3 6 bおよびデータ領域 3 6 cは 光磁気ディスク 3 6の径方向に分割して形成されており、 F AT情報およびサイ ズ情報を更新するためには、 磁気へッド 3 4 bおよび光ピックアップ 3 4 cをデ —夕領域 3 6 cから F AT領域 3 6 aまで移動させ、 さら fc磁気へッド 3 4 bお よび光ピックアップ 3 4 cを F AT領域 3 6 a力、らル一トディレクトリ領域 3 6 bまで移動させる必要がある。 この実施例では、 連続撮影操作が行われると、 ま ず結合ファイルが光磁気ディスク 3 6のデータ領域 3 6 cに作成され、 F AT領 域 3 6 aの F AT情報およびルートディレクトリ領域 3 6 bのサイズ情報は 1回 だけ更新される。 このため、 S D RAM 2 6の J P E Gデータ領域 2 6 bおよび 付加データ領域 2 6 cを速やかに開放することができ、 連続撮影操作の応答特性 を改善することができる。  The FAT area 36a, the root directory area 36b, and the data area 36c are formed by being divided in the radial direction of the magneto-optical disk 36, and are used to update the FAT information and the size information. The magnetic head 34 b and the optical pickup 34 c are moved from the evening area 36 c to the FAT area 36 a, and the fc magnetic head 34 b and the optical pickup 34 It is necessary to move c to the FAT area 36a and the root directory area 36b. In this embodiment, when a continuous shooting operation is performed, a combined file is first created in the data area 36c of the magneto-optical disk 36, and the FAT information of the FAT area 36a and the root directory area 36 are created. The size information of b is updated only once. For this reason, the JPEG data area 26b and the additional data area 26c of the SDRAM 26 can be quickly opened, and the response characteristics of the continuous shooting operation can be improved.
連続撮影を行うときは、 図 7〜図 9に示すフロ一図つまりステップ S 1〜S 5 9に対応する制御プログラムが C P U 3 8によって実行され、 結合ファイルを記 録するときは図 1 0に示すフロー図つまりステップ S 6 1〜S 8 5に対応する制 御プログラムが C P U 3 8によって実行され、 そして結合ファイルを分割すると きは図 1 1〜図 1 3に示すフロー図つまりステップ S 9 1〜S 1 4 7に対応する 制御プログラムが C P U 3 8によって実行される。 なお、 これらの制御プロダラ ムは、 R OM 4 8に記憶される。  When performing continuous shooting, the flow charts shown in FIGS. 7 to 9, that is, the control programs corresponding to steps S1 to S59 are executed by the CPU 38, and when recording the combined file, FIG. 10 is used. When the control program corresponding to steps S61 to S85 is executed by the CPU 38, and the combined file is divided, the flow chart shown in FIGS. 11 to 13, ie, step S91 The control program corresponding to S147 is executed by the CPU38. Note that these control programs are stored in ROM48.
まず図 7を参照して、 ステップ S 1ではスルー画像表示処理が行われる。 具体 的には、 T G 1 4に撮影命令が与えられ、 信号処理回路 2 2およびビデオェンコ —ダ 2 8に処理命令を与えられる。 これによつて、 スルー画像がモニタ 3 0に表 示される。 ステップ S 3ではシャツ夕ポタン 4 2の操作の有無が判別され、 Y E Sであればステップ S 5でフラグ SUSPENDがセットされる。 ステップ S 7で はフラグ REC— ENAの状態が判別され、 セット状態であれば処理はステツプ S 9に進む。  First, referring to FIG. 7, in step S1, a through image display process is performed. Specifically, a shooting command is given to TG 14 and a processing command is given to signal processing circuit 22 and video encoder 28. As a result, a through image is displayed on the monitor 30. In step S3, it is determined whether or not the shirt button 42 has been operated. If YES, the flag SUSPEND is set in step S5. In step S7, the state of the flag REC-ENA is determined. If the flag is set, the process proceeds to step S9.
フラグ SUSPENDのセット状態はファイル分割処理の中断を要求するもので あり、 リセット状態はファイル分割処理の続行を許可するものである。 フラグThe setting of the flag SUSPEND requests that the file splitting process be interrupted. Yes, the reset state permits the continuation of the file division process. flag
SUSPENDのセット Zリセットは、連続撮影処理によって切り換えられる。 フラ グ REC— ENAのセット状態は連続撮影処理を許可するものであり、 リセット状 態は連続撮影処理を禁止するものである。 フラグ REC— ENAのセッ卜/リセッ トは、 ファイル分割処理によって切り換えられる。 SUSPEND set Z reset is switched by continuous shooting processing. The setting state of the flag REC-ENA permits continuous shooting processing, and the reset state disables continuous shooting processing. Flag REC—Set / reset of ENA is switched by file division processing.
ステップ S 9では、 シャツ夕スピード, 絞り量, 白バランスなどの撮影条件が 調整される。ステップ S 1 1ではカウン夕 3 8 pのカウント値 Pがリセットされ、 続くステップ S 1 3では "記録処理開始" が指示リスト 3 8 aに設定される。 ス テツブ S 1 5ではカウント値 Pがインクリメントされ、 ステップ S 1 7では "フ オルダ作成"が指示リスト 3 8 aに設定される。ステップ S 1 9では、 "フォルダ 作成" によって新規に作成された連写フォルダのフォルダ番号が最大フォルダ番 号 MaxFldNumとして設定される。ステップ S 2 1ではカウント値 Pがインクリ メントされ、 ステップ S 2 3では "ファイル作成" が指示リスト 3 8 aに設定さ れる。 ステップ S 2 5ではカウント値 Pがインクリメントされ、 ステップ S 2 7 では "ファイルオープン" が指示リスト 3 8 aに設定される。  In step S9, shooting conditions such as shirt speed, aperture, and white balance are adjusted. In step S11, the count value P of the count 38p is reset, and in step S13, "recording start" is set in the instruction list 38a. In step S15, the count value P is incremented, and in step S17, "create folder" is set in the instruction list 38a. In step S19, the folder number of the continuous shooting folder newly created by "create folder" is set as the maximum folder number MaxFldNum. In step S21, the count value P is incremented, and in step S23, "create file" is set in the instruction list 38a. In step S25, the count value P is incremented, and in step S27, "file open" is set in the instruction list 38a.
カウント値 Pは、 図 4に示す指示リスト 3 8 aのリスト番号に対応する。 した がって、 "記録処理開始", "フォルダ作成", "ファイル作成"および"ファイルォ 一プン" は、 リスト番号 " 0 "〜 "4 " の欄に個別に設定される。  The count value P corresponds to the list number of the instruction list 38a shown in FIG. Therefore, "recording start", "folder creation", "file creation", and "file open" are individually set in the columns of list numbers "0" to "4".
【表 1】  【table 1】
種類 コマンド ハ。ラ タ 1 ハ。ラメ-タ 2 ハ°ラメ-タ 3 記録処理開始 FILE_STRT フォルダ作成 FOLDER— CLEATE ドライフ'番号 ファイル ス ファイル作成 FILE一 CLEATE ドライフ'番号 ファイル Λ°ス  Type Command c. Lata 1 c. LAMETER 2 C LAMETER 3 Start recording process FILE_STRT Create folder FOLDER — CLEATE Drift 'file Create file FILE-CLEATE Drift' number File File
ファイル才-フ。ン FILE— OPEN ドライフ'番号 ファイル Λ°ス ファイル書込 FILE—WRITE ハンドル番号 SDRAMアドレス サイス' (byte) ファイルクロ-ス' FILE— CLOSE ハンドル番号 記録処理終了 FILE— END 表 1を参照して、 "記録処理開始"に関してはコマンドとして FILE— STRTが 設定され、 "フォルダ作成" に関してはコマンド, パラメ一夕 1および 2として FOLDER—CREATE, ドライブ番号およびファイルパスが設定される。 また、File. FILE-OPEN Drift 'number file Write file FILE-WRITE Handle number SDRAM address Size' (byte) File cross' FILE-CLOSE Handle number Recording process end FILE-END Referring to Table 1, FILE-STRT is set as a command for "Start recording", and FOLDER-CREATE, drive number and file path are set as commands and parameters 1 and 2 for "Create folder". You. Also,
"ファイル作成" に関してはコマンド, パラメ一夕 1および 2として FILE— CREATE, ドライブ番号およびファイルパスが設定され、 "ファイルオープン" に関してはコマンド, パラメ一夕 1および 2として FILE— OPEN, ドライブ番 号およびファイルパスが設定される。 For "Create file", the command, FILE-CREATE, drive number and file path are set as parameters 1 and 2, and for "Open file", the command, FILE-OPEN, drive number as parameters 1 and 2. And the file path are set.
現時点で選択されているサブディレクトリが "102SANYO"であり、 かつ当該 サブディレクトリに形成されている最新の連写フォルダが "SEQT0003"である 場合、 "フォルダ作成"で設定されるファイルパスは "¥¥DCIM¥¥102SANYO¥ ¥SEQT0004" となる。 これによつて、 サブディレクトリ "102SANYO" の下階 層に連写フォルダ "SEQT0004"が新規に作成される。 続く "ファイル作成"で は "¥¥DCIM¥¥102SANYO¥¥SEQT0004¥¥SEQT0000.DAT"がファイルパス として設定され、 これによつて、 新規に作成された連写フォルダ "SEQT0004" の下階層に結合ファイル "SEQT0000.DAT"が作成される。 さらに、 当該結合フ アイルをオープンする場合、 "ファイルオープン"で設定されるファイルパスは If the currently selected subdirectory is "102SANYO" and the latest continuous shooting folder formed in the subdirectory is "SEQT0003", the file path set in "Create folder" will be "¥ \ DCIM \\ 102SANYO \\ SEQT0004 " As a result, a continuous shooting folder "SEQT0004" is newly created under the subdirectory "102SANYO". In the following “Create File”, “\\ DCIM \\ 102SANYO \\ SEQT0004 \\ SEQT0000.DAT” is set as the file path. The combined file "SEQT0000.DAT" is created. In addition, when opening the relevant file, the file path set in "File Open" is
"¥¥DCIM¥¥102SANYO¥¥SEQT0004¥¥SEQT0000.DAT" となる。 "\\ DCIM \\ 102SANYO \\ SEQT0004 \\ SEQT0000.DAT"
ステップ S 2 9では垂直同期信号が発生したかどうかが判別され、 Y E Sであ ればステップ S 3 1で 1フレーム分の表示画像データが取り込まれる。 具体的に は、 T G 1 4に露光命令が与えられ、信号処理回路 2 2に処理命令が与えられる。 これによつて、 表示画像データが S D RAM 2 6の表示画像データ領域 2 6 aに 確保される。 ステップ S 3 3では J P E Gコ一デック 3 2に圧縮命令が与えられ る。 J P E Gコ一デック 3 2は、 表示画像データ領域 2 6 aから表示画像データ を読み出し、 読み出した表示画像データに J P E G圧縮を施す。 J P E G圧縮に よって生成された J P E Gデータは、 S D RAM 2 6の J P E Gデータ領域 2 6 bに格納される。 ステップ S 3 5では、 7 2バイトのファイルパス情報と 2 0 0 バイトの撮影条件情報とを含む付加データが C P U 3 8によって作成され、 作成 された付加データは S D RAM 2 4の付加データ領域 2 6 cに書き込まれる。 ステップ S 1 0 9で作成された結合ファイル" SEQTO00O.DAT"がサブディレ クトリ "102SANYO" の下階層の連写フォルダ " SEQT0004" に存在する場合、 ステップ S 3 5で作成されるファイルパス情報は、 "¥¥DCIM¥¥102SANYO¥¥ SEQT0004¥¥SEQT++++.JPG" (++++: 4桁のファイル番号) となる。 In step S29, it is determined whether or not a vertical synchronization signal has been generated. If YES, display image data for one frame is captured in step S31. Specifically, an exposure command is given to TG 14 and a processing command is given to signal processing circuit 22. As a result, display image data is secured in the display image data area 26a of the SD RAM 26. In step S33, a compression instruction is given to the JPEG codec 32. The JPEG codec 32 reads the display image data from the display image data area 26a and applies JPEG compression to the read display image data. JPEG data generated by JPEG compression is stored in the JPEG data area 26 b of the SD RAM 26. In step S35, additional data including 72-byte file path information and 200-byte shooting condition information is created by the CPU 38, and the created additional data is stored in the additional data area 2 of the SD RAM 24. 6 Written to c. The combined file "SEQTO00O.DAT" created in step S109 is If the file exists in the sequential shooting folder "SEQT0004" under the directory "102SANYO", the file path information created in step S35 is "\\ DCIM \\ 102SANYO \\ SEQT0004 \\ SEQT ++++. JPG" (+ +++: 4-digit file number).
ステップ S 3 7ではカウント値 Pがインクリメントされ、 ステップ S 3 9では 付加データ用の "ファイル書き込み" が指示リスト 3 8 aに設定される。 ステツ プ S 4 1ではカウント値 Pがインクリメントされ、 ステップ S 4 3では J P E G データ用の "ファイル書き込み" が指示リスト 3 8 aに設定される。 表 1から分 かるように、 "ファイル書き込み"に関しては、 コマンド, パラメ一夕 1, 2およ び 3として、 FILE— WRITE, ハンドル番号 (後述するファイルオープン処理に よって獲得), S D R AMァドレスおよびデータサイズが設定される。したがって、 ステップ S 3 9では直前のステップ S 3 5で S D RAM 2 6に格納された付加デ 一夕の先頭アドレスおよびデータサイズがパラメータ 2および 3とされ、 ステツ プ S 4 3では直前のステップ S 3 3の処理に基づいて S D RAM 2 6に格納され た J P E Gデータの先頭アドレスおよびデ一夕サイズがパラメ一タ 2および 3と される。  In step S37, the count value P is incremented, and in step S39, "write file" for additional data is set in the instruction list 38a. In step S41, the count value P is incremented, and in step S43, "write file" for JPEG data is set in the instruction list 38a. As can be seen from Table 1, regarding "file write", as commands, parameters 1, 2, and 3, FILE-WRITE, handle number (obtained by file open processing described later), SDRAM address and The data size is set. Therefore, in step S39, the start address and data size of the additional data stored in the SD RAM 26 in the immediately preceding step S35 are set as parameters 2 and 3, and in step S43, the immediately preceding step S3 is executed. 33 Based on the processing in 3, the start address and the data size of the JPEG data stored in the SD RAM 26 are set as parameters 2 and 3.
ステップ S 5では垂直同期信号の発生回数が 4 0回に達したかどうかが判断 され、 4 0回に満たなければ処理がステップ S 2 9に戻る。 このため、 ステップ S 3 1〜S 4 3の一連の処理は 4 0回繰り返される。 S D RAM 2 6には図 2に 示す要領で J P E Gデ一夕 0〜 3 9および付加データ 0〜 3 9が格納され、 指示 リスト 3 8 aには合計 8 0個の "ファイル書き込み"が設定される。  In step S5, it is determined whether or not the number of occurrences of the vertical synchronization signal has reached 40, and if it is less than 40, the process returns to step S29. Therefore, a series of processes in steps S31 to S43 is repeated 40 times. In the SD RAM 26, JPEG data 0 to 39 and additional data 0 to 39 are stored in the manner shown in Fig. 2, and a total of 80 "write files" are set in the instruction list 38a. You.
ステップ S 4 5で Y E Sと判断されると、 ステップ S 4 7でカウント値 Pがィ ンクリメントされ、 ステップ S 4 9で "ファイルクロ一ズ"が指示リスト 3 8 a に設定される。 ステップ S 5 1ではカウント値 Pがインクリメントされ、 ステツ プ S 5 3では"記録処理終了"が指示リスト 3 8 aに設定される。 "ファイルクロ ーズ"に関しては、 FILE— CLOSEがコマンドとして設定され、 クローズするフ アイルのハンドル番号がパラメ一夕 1として設定される。 "記録処理終了"に関し ては、 FILE— ENDがコマンドとして設定される。  If YES is determined in step S45, the count value P is incremented in step S47, and "file close" is set in the instruction list 38a in step S49. In step S51, the count value P is incremented, and in step S53, "end of recording process" is set in the instruction list 38a. For "file close", FILE-CLOSE is set as a command, and the handle number of the file to be closed is set as parameter 1. Regarding "end of recording process", FILE-END is set as a command.
ステップ S 5 5では、 カウンタ 3 8 Qのカウント値 Qが判別される。 後述する 結合ファイル記録処理では、 カウント値 Qに対応するリスト番号のコマンドが実 行される。カウント値 Qは、コマンドが 1回実行される毎にィンクリメントされ、 "記録処理終了" の実行によってリセットされる。 したがって、 Q= 0は、 全て のコマンドの処理が完了したことを意味する。 ステップ S 5 5では Q= 0となつ たときに Y E Sと判断され、 ステップ S 5 7でフラグ SUSPENDがリセットさ れる。 その後、 ステップ S 5 9でファイル分割処理が起動され、 処理がステップ S 1に戻る。 In step S55, the count value Q of the counter 38Q is determined. In the combined file recording process described later, the command of the list number corresponding to the count value Q is executed. Is performed. The count value Q is incremented each time the command is executed once, and is reset by executing "end of the recording process". Therefore, Q = 0 means that all commands have been processed. In step S55, YES is determined when Q = 0, and the flag SUSPEND is reset in step S57. After that, the file division processing is started in step S59, and the processing returns to step S1.
図 1 0を参照して、 結合ファイル記録処理では、 まずステップ S 6 1でカウン ト値 Qがリセットされ、 ステップ S 6 3でカウント値 Qに対応するリスト番号に FILE— STRTが設定されているかどうかが判別される。ここで NOであれば処理 はステップ S 6 1に戻るが、 Y E Sであればステップ S 6 5でカウント値 Qがィ ンクリメントされ、 インクリメント後のカウント値 Qに対応するリスト番号のコ マンドがステップ S 6 7 , S 7 1 , S 7 5 , S 7 9および S 8 3の各々で判別さ れる。  Referring to FIG. 10, in the combined file recording process, first, in step S61, count value Q is reset, and in step S63, is FILE—STRT set to the list number corresponding to count value Q? Is determined. If NO here, the process returns to step S61, but if YES, the count value Q is incremented in step S65 and the command of the list number corresponding to the incremented count value Q is changed to step S61. 67, S71, S75, S79 and S83.
設定されたコマンドが FOLDER— CREATEであればステップ S 6 7で Y E S と判断され、 ステップ S 6 9でフォルダ作成処理が行われる。 具体的には、 パラ メータ 1として設定されたドライブ番号によってディスクドライブ 3 4が特定さ れ、 パラメータ 2として設定されたファイルパスに基づく連写フォルダ作成要求 がディスクドライブ 3 4に与えられる。 これによつて、 光磁気ディスク 3 6のデ 一夕領域 3 6 cに連写フォルダが作成される。 上述の例では、 サブディレクトリ "102SANYO" の下階層に連写フォルダ "SEQT0004"が作成される。 READY 信号がディスクドライブ 3 4から返送されると、 連写フォルダの作成が完了した とみなされ、 処理はステップ S 6 5に戻る。  If the set command is FOLDER-CREATE, Y E S is determined in step S67, and folder creation processing is performed in step S69. Specifically, the disk drive 34 is specified by the drive number set as the parameter 1, and a continuous folder creation request based on the file path set as the parameter 2 is given to the disk drive 34. As a result, a continuous shooting folder is created in the data area 36c of the magneto-optical disk 36. In the above example, a continuous shooting folder "SEQT0004" is created below the subdirectory "102SANYO". When the READY signal is returned from the disk drive 34, it is determined that the creation of the continuous shooting folder has been completed, and the process returns to step S65.
設定されたコマンドが FILE— CREATEであればステップ S 7 1で Y E Sと判 断され、 ステップ S 7 3でファイル作成処理が行われる。 つまり、 パラメータ 1 として設定されたドライブ番号によってディスクドライブ 3 4が特定され、 パラ メ一夕 2として設定されたファイルパスに基づくファイル作成要求がディスクド ライブ 3 4に与えられる。 これによつて、 光磁気ディスク 3 6のデータ領域 3 6 cに結合ファイルが作成される。上述の例では、サブディレクトリ "102SANYO" の下階層に作成された連写フォルダ " SEQT0004" のさらに下階層に、 結合ファ ィル "SEQT0000.DAT"が作成される。 READY信号がディスクドライブ 3 4か ら返送されると、 結合ファイルの作成が完了したとみなされ、 処理がステップ S 6 5に戻る。 If the set command is FILE-CREATE, YES is determined in step S71, and a file creation process is performed in step S73. That is, the disk drive 34 is specified by the drive number set as the parameter 1, and a file creation request based on the file path set as the parameter 2 is given to the disk drive 34. As a result, a combined file is created in the data area 36c of the magneto-optical disk 36. In the above example, the combined file is located further below the sequential shooting folder "SEQT0004" created under the subdirectory "102SANYO". The file "SEQT0000.DAT" is created. When the READY signal is returned from the disk drive 34, it is considered that the creation of the combined file has been completed, and the process returns to step S65.
設定されたコマンドが FILE— OPENであれば、 処理はステップ S 7 5からス テツプ S 7 7に進み、 これによつてファイルオープン処理が行われる。 つまり、 パラメータ 1として設定されたドライブ番号によってディスクドライブ 3 4が特 定され、 パラメ一夕 2として設定されたファイルパスに基づく結合ファイルォ一 プン要求がディスクドライブ 3 4に与えられる。 結合ファイルがオープンされた ことを示す READY信号力ディスクドライブ 3 4カゝら返送されると、 当該結合フ アイルに割り当てるハンドル番号が作成される。 上述の例では、 サブディレクト リ "102SANYO"の下階層の連写フォルダ " SEQT0004"に格納された結合フォ ルダ "SEQT0000.DAT"が特定され、 当該結合ファイル割り当てるハンドル番号 が作成される。 作成されたハンドル番号は、 図 8に示すステップ S 3 9および S 4 3の "ファイル書き込み" に用いられる。 処理を終えると、 処理はステップ S 6 5に戻る。  If the set command is FILE-OPEN, the process proceeds from step S75 to step S77, whereby the file open process is performed. That is, the disk drive 34 is specified by the drive number set as the parameter 1, and a combined file open request based on the file path set as the parameter 2 is given to the disk drive 34. A READY signal indicating that the combined file has been opened When 34 disks are returned, a handle number to be assigned to the combined file is created. In the above example, the combined folder "SEQT0000.DAT" stored in the sequential shooting folder "SEQT0004" under the subdirectory "102SANYO" is specified, and a handle number to be assigned to the combined file is created. The created handle number is used for "write file" in steps S39 and S43 shown in FIG. Upon completion of the process, the process returns to step S65.
設定されたコマンドが FILE— WRITEであれば、 処理はステップ S 7 9から ステップ S 8 1に進み、 これによつてファイル書き込み処理が行われる。 具体的 には、 パラメータ 1に設定されたハンドル番号によって書き込み先の結合フアイ ルが特定され、 パラメ一夕 2および 3に設定された S D R AMアドレスおよびデ —夕サイズに基づいて S D RAM 2 6からデ一夕が読み出され、 そしてハンドル 番号によつて特定した結合ファィルへの読み出しデ一夕の書き込みがディスクド ライブ 3 4に要求される。 ディスクドライブ 3 4は、 1クラス夕分のデータ書き 込みが完了する毎に書込クラス夕のリンク状態を示す F AT情報を作成する。 作 成された F AT情報は、 C P U 3 8によって S D RAM 2 6に書き込まれる。 フ アイル書き込み処理が完了すると、 処理はステップ S 6 5に戻る。  If the set command is FILE-WRITE, the process proceeds from step S79 to step S81, whereby the file writing process is performed. Specifically, the binding file to which data is to be written is specified by the handle number set in parameter 1, and the SDRAM address and data size set in parameters 2 and 3 are used to transfer data from the SD RAM 26 based on the data size. The data is read, and the disk drive 34 is requested to write the read data to the binding file specified by the handle number. The disk drive 34 generates FAT information indicating the link state of the writing class each time data writing for one class is completed. The created FAT information is written to the SDRAM 26 by the CPU 38. Upon completion of the file writing process, the process returns to step S65.
設定されたコマンドが FILE— CLOSEであれば、 処理はステップ S 8 3から ステップ S 8 5に進み、これによつてファイルクローズ処理を行う。具体的には、 S D RAM 2 6に格納された F AT情報によって F AT領域 3 6 aの F AT情報 が更新され、 ファイルサイズの増加分だけルートディレクトリ領域 3 6 bのサイ ズ情報が更新される。 ファイルクローズ処理が完了すると、 処理はステップ S 6 5に戻る。 If the set command is FILE-CLOSE, the process proceeds from step S83 to step S85, whereby the file closing process is performed. Specifically, the FAT information in the FAT area 36a is updated by the FAT information stored in the SD RAM 26, and the size of the root directory area 36b is increased by the increase in the file size. Information is updated. Upon completion of the file closing process, the process returns to step S65.
設定されたコマンドが FILE— ENDであれば、ステップ S 8 3で NOと判断さ れ、 処理はステップ S 6 1に戻る。 これによつてカウント値 Qがリセットされ、 結合ファイル記録処理は待機状態に移行する。  If the set command is FILE-END, NO is determined in step S83 and the process returns to step S61. As a result, the count value Q is reset, and the combined file recording process shifts to a standby state.
図 1 1を参照して、 ファイル分割処理では、 まずステップ S 9 1で起動命令が 与えられたかどうかが判断される。 ここで Y E Sであれば、 処理はステップ S 9 3に進み、 現時点で選択されているサブディレクトリのディレクトリ番号 CurDirNumがディレクトリ番号 dirnumとして設定され、 図 7のステツプ S 1 9で決定された最大フォルダ番号 MaxFldNumがフォルダ番号 fldnumとして設 定される。 ステップ S 9 5ではフラグ REC— ENAおよびファイルポインタ FP がリセットされる。 続くステップ S 9 7では、 ディレクトリ番号 dirnumおよび フォルダ番号 fldnumによって特定される結合ファイルをオープンすべく、 ファ ィルオープン要求がディスクドライブ 3 4に与えられる。  Referring to FIG. 11, in the file division processing, first, it is determined in step S91 whether a start instruction has been given. If YES here, the process proceeds to step S93, where the directory number CurDirNum of the currently selected subdirectory is set as the directory number dirnum, and the maximum folder number determined in step S19 in FIG. MaxFldNum is set as the folder number fldnum. In step S95, the flag REC—ENA and the file pointer FP are reset. In the following step S97, a file open request is given to the disk drive 34 to open the combined file specified by the directory number dirnum and the folder number fldnum.
フラグ EEC— ENAのリセットによつて連続撮影処理が禁止され、 ファイルポ イン夕 FPのリセットによつて結合ファィルの先頭ァドレスがボイントされる。 また、 dimuni = 1 0 2で fldmim = 4であるときは、 サブディレクトリ "102SANYO"の下階層の連写フォルダ" SEQT0004"に格納された結合フアイ ル "SEQT0000.DAT" のオープンが要求される。  Flag EEC—Reset ENA prohibits continuous shooting processing, and resets file point FP to point to the first address of the combined file. If dimuni = 1 102 and fldmim = 4, it is required to open the combined file "SEQT0000.DAT" stored in the sequential shooting folder "SEQT0004" under the subdirectory "102SANYO".
ステップ S 1 0 1では結合ファイルを実際にオープンできたかどうかが判別さ れる。 ディスクドライブ 3 4から NOT READY信号が返送されると、 ステツプ S 9 7で特定した結合ファイルは存在しないとみなされ、 ステップ S 1 0 1でフ オルダ番号 fldnumがディクリメントされる。 更新されたフォルダ番号 fldnum はステップ S 1 0 3で " 0 " と比較される。 fldnum- 0であれば、 現時点で選択 されているサブディレクトリには結合ファイルは 1つも存在しないとみなされ、 処理が終了する。一方、 fldnum> 0であれば、現時点で選択されているサブディ レクトリに結合ファイルが存在する可能性があるとみなされ、 処理はステップ S 9 5に戻る。 したがって、 結合ファイルが見つかるか、 フォルダ番号 fldnuniが " 0 " となるまで、 ステップ S 9 5〜S 1 0 3の処理が繰り返される。 3 4から READY信号が返送されると、結合ファイルがォー プンされたとみなされ、処理がステップ S 1 0 5に進む。ステップ S 1 0 5では、 ファイルポインタ FPのポイント先以降に存在する 7 2バイトのデータが光磁気 ディスク 3 6から S D RAM 2 6に転送される。 結合ファイルは図 6に示す構造 を有するため、 1回目のステップ S 1 0 5の処理では付加データ 0に含まれるフ アイルパス情報 0が S D RAM 2 6に転送される。 ファイルパス情報の転送が完 了すると、 ステップ S 1 0 7でファイルポインタ FPのポイント先が 7 2バイト 進められる。 In step S101, it is determined whether or not the combined file has actually been opened. When the NOT READY signal is returned from the disk drive 34, it is determined that the combined file specified in step S97 does not exist, and the folder number fldnum is decremented in step S101. The updated folder number fldnum is compared with "0" in step S103. If fldnum-0, it is assumed that there are no linked files in the currently selected subdirectory, and the process ends. On the other hand, if fldnum> 0, it is considered that there is a possibility that the combined file exists in the currently selected subdirectory, and the process returns to step S95. Therefore, the processing of steps S95 to S103 is repeated until a combined file is found or the folder number fldnuni becomes "0". When the READY signal is returned from 34, it is considered that the combined file has been opened, and the process proceeds to step S105. In step S105, the 72-byte data existing after the point point of the file pointer FP is transferred from the magneto-optical disk 36 to the SDRAM 26. Since the combined file has the structure shown in FIG. 6, the file path information 0 included in the additional data 0 is transferred to the SD RAM 26 in the first step S105. When the transfer of the file path information is completed, the point point of the file pointer FP is advanced by 72 bytes in step S107.
ステップ S 1 0 9では、 直前のステップ S 1 0 5で読み出されたファイルパス 情報に基づく新規画像ファイルの作成要求がディスクドライブ 3 4に与えられる。 読み出されたファイルパス情報が " ¥¥DCIM¥¥102SANYO¥¥SEQT0004 ¥¥SEQT0401.JPG"であれば、 画像ファイル "SEQT0401.JPG" の作成が要求 される。 具体的には、 サブディレクトリ "102SANYO"の下階層に作成された連 写フォルダ" SEQT0004"のさらに下階層への、画像ファイル "SEQT0401.JPG" の作成が要求される。  In step S109, a request to create a new image file based on the file path information read in the immediately preceding step S105 is given to the disk drive 34. If the read file path information is "\\ DCIM \\ 102SANYO \\ SEQT0004 \\ SEQT0401.JPG", the creation of the image file "SEQT0401.JPG" is requested. Specifically, it is required to create an image file "SEQT0401.JPG" in a layer further below the continuous shooting folder "SEQT0004" created in a layer below the subdirectory "102SANYO".
ステップ S I 1 1ではファイルポインタ FPのポイント先以降に存在する 2 0 0バイトのデ一夕が光磁気ディスク 3 6から S D RAM 2 6に転送され、 続くス テツプ S 1 1 3ではファイルポインタ FPのポイント先が 2 0 0バイト進められ る。 1回目のステップ S 1 1 1の処理では図 6に示す撮影条件情報 0が S D R A M 2 6に転送される。 また、 1回目のステップ S 1 1 3の処理によって、 フアイ ルポィン夕 FPは J P E Gデ一夕 0の先頭ァドレスをボイントする。  In step SI 11, the 200-byte data existing after the point of the file pointer FP is transferred from the magneto-optical disk 36 to the SD RAM 26, and in the following step S 113 the file pointer FP The point is advanced by 200 bytes. In the processing of the first step S111, the photographing condition information 0 shown in FIG. 6 is transferred to the SDRAM26. In addition, by performing the first processing in step S113, the file point FP points to the first address of JPPEG data overnight.
ステップ S 1 1 5では、 ステップ S 1 1 1で転送された撮影条件情報から J P E Gデータサイズ "PIC— SIZE" が検出される。 検出された "PIC— SIZE" は、 現時点のファイルポインタ FPのポイント先以降に存在する J P E Gデータのサ ィズを示す。  In step S115, the JPEG data size "PIC-SIZE" is detected from the shooting condition information transferred in step S111. The detected "PIC-SIZE" indicates the size of the JPEG data existing after the current point of the file pointer FP.
サイズ検出が完了すると、 ステップ S 1 0 9の処理に基づいて新規画像フアイ ルが作成されたかどうかがステップ S 1 1 7で判別される。 新規画像ファイルが 作成されたときは READY信号がディスクドライブ 3 4から返送され、新規画像 ファイルが作成されなかったときは NOT READY信号がディスクドライブ 3 4 から返送される。 このため、 ステップ S 11 7では READY信号および NOT READY信号のいずれか返送されたかが判別される。 When the size detection is completed, it is determined in step S117 whether a new image file has been created based on the processing in step S109. When a new image file is created, a READY signal is returned from the disk drive 34, and when a new image file is not created, a NOT READY signal is returned to the disk drive 34. Will be returned from Therefore, in step S117, it is determined whether either the READY signal or the NOT READY signal has been returned.
ステップ S 117で NOと判断されたときは、 ステップ S 119でファイルポ ィン夕 FPが" PIC— SIZE"だけ進められ、処理がステツプ S 135に移行する。 注目する結合フアイルに対するフアイル分割処理の途中で連続撮影操作が行われ、 その後に当該注目する結合フアイルに対するフアイル分割処理が再開されたとき に、 ステップ S 119の処理が行われる。  If NO is determined in the step S117, the file pointer FP is advanced by "PIC-SIZE" in a step S119, and the process shifts to a step S135. When a continuous photographing operation is performed during the file division processing for the focused combined file, and the file division processing for the focused combined file is restarted thereafter, the processing in step S119 is performed.
一方、 ステップ S 117で YESと判断されたときは、 ステップ S 121で新 規画像ファイルのオープンがディスクドライブ 34に要求され、 ステップ S 12 3でファイルボイン夕 FPのボイン卜先以降に存在する "PIC— SIZE"分のデー 夕が光磁気ディスク 36から SDRAM26に転送される。 1回目のステップ S 123の処理では、 J PEGデータ 0が SDRAM 26に転送される。 ステップ S 125ではファイルポインタ FPが "PIC— SIZE" だけ進められ、 ステップ S 127では直前のステップ S 111で読み出された撮影条件情報を含む J PEG ヘッダが作成される。 ステップ S 129では作成された J PEGヘッダの新規画 像ファイルへの格納がディスクドライブ 34に要求され、 ステップ S 131では 直前のステップ S 123で読み出された J PEGデータの新規画像ファイルへの 格納がディスクドライブ 34に要求され、 そしてステップ S 133では新規画像 ファイルのクローズがディスクドライブ 34に要求される。  On the other hand, if YES is determined in the step S117, the opening of the new image file is requested to the disk drive 34 in a step S121, and in step S123, the file image exists after the file destination of FP. The data of PIC—SIZE ”is transferred from the magneto-optical disk 36 to the SDRAM 26. In the first process of step S123, JPEG data 0 is transferred to the SDRAM 26. In step S125, the file pointer FP is advanced by "PIC-SIZE", and in step S127, a JPEG header including the shooting condition information read in the immediately preceding step S111 is created. In step S129, the disk drive 34 is requested to store the created JPEG header in the new image file. In step S131, the JPEG data read in the immediately preceding step S123 is stored in the new image file. Is requested to the disk drive 34, and the close of the new image file is requested to the disk drive 34 in step S133.
なお、 ステップ S 121, S 129, S 131および S 133のいずれにおい ても、ディスクドライブ 34から READY信号が返送されたときに処理が次のス テツプに進む。 また、 ステップ S 105, S 111および S 123では、 FAT 領域 36 aに書き込まれた結合ファイルの FAT情報に基づいて、 データ領域 3 6 cから所望のデータが読み出される。  In any of steps S121, S129, S131 and S133, when the READY signal is returned from the disk drive 34, the processing proceeds to the next step. In steps S105, S111, and S123, desired data is read from the data area 36c based on the FAT information of the combined file written in the FAT area 36a.
ステップ S 135では、 ファイルポインタ FPのポイント先が判別される。 ポ イント先が結合ファイルの末尾以降に存在する場合は、 ステップ S 137で結合 ファイルのクローズがディスクドライブ 34に要求され、 ステップ S 139で当 該結合ファイルの削除がディスクドライブ 34に要求される。 ステップ S 139 の処理を終えると、 処理はステップ S 101に戻る。 なお、 ステップ S 137お よび S 1 3 9のいずれも、ディスクドライブ 3 4から READY信号が返送された ときに処理が次のステップに進む。 In step S135, the point destination of the file pointer FP is determined. If the point exists after the end of the combined file, the disk drive 34 is requested to close the combined file in step S137, and the disk drive 34 is requested to delete the combined file in step S139. Upon completion of the process in step S139, the process returns to step S101. Step S137 In each of S139 and S139, the process proceeds to the next step when the READY signal is returned from the disk drive 34.
ファイルボイン夕 FPのボイント先が結合ファイルの末尾よりも前であれば、 処理はステップ S 1 3 5からステップ S 1 4 1に進み、 連続撮影処理を許可すベ くフラグ REC— ENAがセッ卜される。ステップ S 1 4 3では、フラグ SUSPEND の状態が判別される。 こ'こで SUSPEND- 0であれば、 フアイル分割処理は続行 できるとみなされ、 処理は、 ステップ S 1 4 5におけるフラグ REC— ENAのリ セットを経てステップ S 1 0 5に戻る。 一方、 SUSPEND: 1であれば、 フアイ ル分割処理は中断しなければならないとみなされ、 ステップ S 1 4 7で結合ファ ィルのクローズがディスクドライブ 3 4に要求される。 この要求に対して READY信号が返送されると、 処理が終了される。  If the FP point is before the end of the combined file, the process proceeds from step S135 to step S141, and the flag REC—ENA is set to allow continuous shooting processing. Is done. In step S144, the state of flag SUSPEND is determined. If it is SUSPEND-0, it is considered that the file division processing can be continued, and the processing returns to step S105 after resetting the flag REC-ENA in step S145. On the other hand, if SUSPEND: 1, it is considered that the file division process has to be interrupted, and the disk drive 34 is requested to close the combined file in step S147. When a READY signal is returned in response to this request, the processing ends.
以上の説明から分かるように、 まず、 S D RAMに格納された複数フレームの J P E Gデータを含む結合ファイルが光磁気ディスク 3 6のデータ領域 3 6 cに 作成され、 結合ファイルを管理するための F AT情報が光磁気ディスク 3 6の F AT領域 3 6 aに作成され、 そして結合ファイルが属するサブディレクトリのサ ィズ情報がルートディレクトリ領域 3 6 bにおいて更新される。 結合ファイルに 含まれる J P E Gデータは、 連続撮影操作が行われないとき、 ディレクトリェン トリおよび結合ファイルの F AT情報に基づいて 1フレームずつ読み出される。 読み出された各フレームの J P E Gデータはデータ領域 3 6 cに形成された画 像ファイルに格納され、 画像ファイルの作成が完了すると、 当該画像ファイルの F AT情報が F AT領域 3 6 aに書き込まれる。  As can be understood from the above description, first, a combined file including JPEG data of a plurality of frames stored in the SD RAM is created in the data area 36 c of the magneto-optical disk 36, and the FAT for managing the combined file is created. Information is created in the FAT area 36a of the magneto-optical disk 36, and the size information of the subdirectory to which the combined file belongs is updated in the root directory area 36b. The JPEG data included in the combined file is read out frame by frame based on the directory entry and the FAT information of the combined file when the continuous shooting operation is not performed. The read JPEG data of each frame is stored in the image file formed in the data area 36c, and when the creation of the image file is completed, the FAT information of the image file is written in the FAT area 36a. It is.
結合ファイルに含まれる J P E Gデータのフレーム数 (= 4 0 ) は、 画像ファ ィルに含まれる J P E Gデータのフレーム数 (= 1 ) よりも多い。 換言すれば、 結合ファイルのファイル数 (= 1 ) は、 画像ファイルのファイル数 (= 4 0 ) よ りも少ない。 F AT情報およびサイズ情報を書き込むときは、 磁気ヘッド 3 4 b および光ピックアップ 3 4 cを F AT領域 3 6 aおよびルートディレクトリ領域 3 6 bに移動させる必要があるため、 画像ファイルの作成に要する時間は、 結合 ファイルの作成に要する時間よりもかなり長くなる。  The number of frames (= 40) of the JPEG data included in the combined file is larger than the number of frames (= 1) of the JPEG data included in the image file. In other words, the number of combined files (= 1) is smaller than the number of image files (= 40). When writing FAT information and size information, it is necessary to move the magnetic head 34 b and the optical pickup 34 c to the FAT area 36 a and the root directory area 36 b, which is necessary for creating an image file. The time is significantly longer than the time required to create the join file.
つまり、 1つの結合ファイルをデ一夕領域 3 6 cに作成し、 当該結合ファイル の F AT情報を F AT領域 3 6 aに作成し、 当該結合ファイルが属するサブディ レクトリのサイズ情報をルートディレクトリ領域 3 6 bで更新する場合に要する 処理時間は、 4 0個の画像ファイルをデータ領域 3 6 cに作成し、 当該画像ファ ィルの F AT情報を F AT領域 3 6 aに作成し、 当該画像ファイルが属するサブ ディレクトリのサイズ情報をルートディレクトリ領域 3 6 bで更新する場合に要 する時間よりも短い。 これによつて、 S D RAM 2 6を速やかに開放することが できる。 That is, one combined file is created in the data area 36c, and the combined file is created. The processing time required to create the FAT information in the FAT area 36a and update the size information of the sub-directory to which the combined file belongs in the root directory area 36b is 40 image files. Create the FAT information in the area 36c, create the FAT information of the image file in the FAT area 36a, and update the size information of the subdirectory to which the image file belongs in the root directory area 36b. It is shorter than required time. As a result, the SD RAM 26 can be quickly released.
また、 結合ファイルの F AT情報は光磁気ディスク 3 6の F AT領域 3 6 aに 書き込まれるため、光磁気ディスク 3 6への記録や削除を別の装置によって行い、 その後ディスクドライブ 3 4に装着した場合、 4 0個の画像ファイルを適切に作 成することができる。 なお、 記録媒体が内蔵形であれば、 結合ファイルの F AT 情報は、内部メモリ(好ましくは不揮発性メモリ)に書き込むようにしてもよい。 また、 画像ファィルが 1つ作成される毎に F A T情報およびサイズ情報が更新 されるため、 画像ファイル作成処理の中断/再開が可能となる。 これによつて、 連続撮影操作の応答特性 (融通性) を高めることができる。  Also, since the FAT information of the combined file is written to the FAT area 36a of the magneto-optical disk 36, recording and deletion to the magneto-optical disk 36 are performed by another device, and then the disk drive 34 is mounted. In this case, 40 image files can be created appropriately. If the recording medium is a built-in type, the FAT information of the combined file may be written to the internal memory (preferably, the nonvolatile memory). Since the FAT information and the size information are updated each time one image file is created, it is possible to interrupt / restart the image file creation processing. This makes it possible to enhance the response characteristics (flexibility) of the continuous shooting operation.
なお、この実施例では、ファイル管理方式として F AT方式を採用しているが、 これに代えて UD F (Universal Disc Format) 方式を採用してもよい。 また、 この実施例では、 画像ファイルに 1フレ一ム分の J P E Gデータを格納するよう にしている。 しかし、 結合ファイルに含まれる J P E Gデータのフレーム数より も少ない限り、各々の画像ファイルに含まれるフレーム数は複数であってもよく、 さらに画像ファイル間でフレーム数が一致していなくてもよい。  In this embodiment, the FAT method is adopted as the file management method, but a UDF (Universal Disc Format) method may be adopted instead. In this embodiment, JPEG data for one frame is stored in the image file. However, as long as the number of frames is smaller than the number of frames of JPEG data included in the combined file, the number of frames included in each image file may be plural, and the number of frames may not be the same between image files.
この発明が詳細に説明され図示されたが、 それは単なる図解および一例として 用いたものであり、 P艮定であると解されるべきではないことは明らかであり、 こ の発明の精神および範囲は添付されたクレームの文言によってのみ限定される。  Although the invention has been described and illustrated in detail, it is clear that it has been used by way of example only, and not by way of illustration, and should not be construed as an inferiority. Limited only by the language of the appended claims.

Claims

請求の範囲 The scope of the claims
1 . 画像記録装置であって、 次のものを備える:  1. An image recording device comprising:
バッファメモリに格納された M (M≥2 ) 個の画像信号を含む第 1ファイルを 記録媒体のデ一夕領域に作成する第 1ファイル作成手段;  First file creation means for creating a first file containing M (M≥2) image signals stored in the buffer memory in a temporary storage area of a recording medium;
前記第 1ファイルを管理する第 1管理情報を作成する第 1管理情報作成手段; 所定条件が満たされたとき前記第 1管理情報に基づいて前記第 1ファイルから 画像信号を N (Nく M) 個ずつ読み出す読み出し手段;  First management information creating means for creating first management information for managing the first file; when a predetermined condition is satisfied, an image signal is converted from the first file to N (N × M) based on the first management information. Reading means for reading out one by one;
前記読み出し手段によって読み出された N個の画像信号を含む第 2ファイルを 前記データ領域に作成する第 2ファイル作成手段;および  Second file creation means for creating a second file including the N image signals read by the reading means in the data area; and
前記第 2ファイルを管理する第 2ファイル管理情報を前記記録媒体の管理領域 に作成する第 2管理情報作成手段。  Second management information creating means for creating second file management information for managing the second file in a management area of the recording medium.
2 . クレーム 1に従属する画像記録装置であって、  2. An image recording device dependent on claim 1, wherein
前記記録媒体は着脱自在であり、  The recording medium is detachable,
前記第 1ファイル管理情報作成手段は前記第 1ファイル管理情報を前記管理領 域に作成する。  The first file management information creating means creates the first file management information in the management area.
3 . クレーム 1または 2に従属する画像記録装置であって、  3. An image recording device dependent on claim 1 or 2,
前記第 2フアイル管理情報作成手段は前記第 2フアイルの作成が 1回行われる 毎に前記第 2ファイル管理情報を作成し、  The second file management information creating means creates the second file management information each time the creation of the second file is performed once,
前記第 2フアイル管理情報の作成が 1回行われる毎に前記所定条件を満たすか どうかを判別する判別手段をさらに備える。  The apparatus further includes a determination unit that determines whether the predetermined condition is satisfied each time the second file management information is created once.
4. クレーム 1ないし 3のいずれかに従属する画像記録装置であって、 画像信号の取り込み指示を受け付ける受付手段;および  4. An image recording apparatus according to any one of claims 1 to 3, wherein the receiving means receives an instruction to capture an image signal;
前記取り込み指示に応答して画像信号を前記バッファメモリに取り込む取り込 み手段をさらに備え、  Capturing means for capturing an image signal into the buffer memory in response to the capturing instruction,
前記所定条件は前記取り込み指示を受け付けていないという条件を含む。  The predetermined condition includes a condition that the capture instruction has not been received.
5 . クレーム 4に従属する画像記録装置であって、  5. An image recording device dependent on claim 4, wherein
前記取り込み手段は前記取り込み指示に応答して前記 M個の画像信号を取り込 む。  The capturing means captures the M image signals in response to the capturing instruction.
6 . クレーム 1ないし 5のいずれかに従属する画像記録装置であって、 前記記録媒体は前記データ領域および前記管理領域が径方向に分割して形成さ れたディスク記録媒体であり、 6. An image recording device dependent on any of claims 1 to 5, wherein The recording medium is a disk recording medium in which the data area and the management area are divided in the radial direction.
前記データ領域および前記管理領域の間を移動する可動記録部材をさらに備え る。  The apparatus further includes a movable recording member that moves between the data area and the management area.
7 . クレーム 1ないし 6のいずれかに記載の画像記録装置を備えるディジタル カメラ。  7. A digital camera comprising the image recording device according to any one of claims 1 to 6.
PCT/JP2002/005029 2001-07-04 2002-05-23 Image recorder WO2003005715A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US10/482,653 US7567275B2 (en) 2001-07-04 2002-05-23 Image recorder
KR10-2004-7000061A KR20040013100A (en) 2001-07-04 2002-05-23 Image recorder

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2001202893A JP3643793B2 (en) 2001-07-04 2001-07-04 Image recording device
JP2001-202893 2001-07-04

Publications (1)

Publication Number Publication Date
WO2003005715A1 true WO2003005715A1 (en) 2003-01-16

Family

ID=19039614

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2002/005029 WO2003005715A1 (en) 2001-07-04 2002-05-23 Image recorder

Country Status (5)

Country Link
US (1) US7567275B2 (en)
JP (1) JP3643793B2 (en)
KR (1) KR20040013100A (en)
CN (1) CN1256844C (en)
WO (1) WO2003005715A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100379247C (en) * 2004-04-30 2008-04-02 奥林巴斯株式会社 Image recording device

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW584279U (en) * 2003-03-07 2004-04-11 C One Technology Corp Media storage adapting interface device
US20050052550A1 (en) * 2003-09-04 2005-03-10 Pentax Corporation Image-file managing system and optical apparatus for observing object
US20060174203A1 (en) 2005-01-31 2006-08-03 Searete Llc, A Limited Liability Corporation Of The State Of Delaware Viewfinder for shared image device
US9489717B2 (en) 2005-01-31 2016-11-08 Invention Science Fund I, Llc Shared image device
US9910341B2 (en) 2005-01-31 2018-03-06 The Invention Science Fund I, Llc Shared image device designation
US9082456B2 (en) 2005-01-31 2015-07-14 The Invention Science Fund I Llc Shared image device designation
US8606383B2 (en) 2005-01-31 2013-12-10 The Invention Science Fund I, Llc Audio sharing
US8902320B2 (en) 2005-01-31 2014-12-02 The Invention Science Fund I, Llc Shared image device synchronization or designation
US20060170956A1 (en) 2005-01-31 2006-08-03 Jung Edward K Shared image devices
US9124729B2 (en) 2005-01-31 2015-09-01 The Invention Science Fund I, Llc Shared image device synchronization or designation
US9819490B2 (en) 2005-05-04 2017-11-14 Invention Science Fund I, Llc Regional proximity for shared image device(s)
US10003762B2 (en) 2005-04-26 2018-06-19 Invention Science Fund I, Llc Shared image devices
US9001215B2 (en) 2005-06-02 2015-04-07 The Invention Science Fund I, Llc Estimating shared image device operational capabilities or resources
JP5025104B2 (en) 2005-07-19 2012-09-12 キヤノン株式会社 Imaging apparatus, control method therefor, and computer program
JP4720387B2 (en) * 2005-09-07 2011-07-13 ソニー株式会社 Imaging apparatus, image processing apparatus and method, and computer program
JP5072292B2 (en) * 2006-09-05 2012-11-14 キヤノン株式会社 Imaging apparatus and control method thereof
CN101237512B (en) * 2007-01-31 2010-09-15 三洋电机株式会社 Content processing apparatus
CN104580893B (en) * 2014-12-24 2019-02-05 联想(北京)有限公司 A kind of image processing method and electronic equipment
CN109874049B (en) * 2019-01-23 2021-04-27 杭州雄迈集成电路技术股份有限公司 Method for optimizing and extracting video frame reading speed

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0690423A (en) * 1992-09-09 1994-03-29 Canon Inc Electronic still camera and picture record managing method
JPH06105273A (en) * 1992-09-22 1994-04-15 Canon Inc Information signal processor
JPH07236110A (en) * 1994-02-21 1995-09-05 Sony Corp Digital still camera
JPH11308560A (en) * 1998-04-23 1999-11-05 Casio Comput Co Ltd Electronic camera
JP2000236467A (en) * 1999-02-17 2000-08-29 Sanyo Electric Co Ltd Digital camera
JP2001111955A (en) * 1999-10-12 2001-04-20 Canon Inc Image pickup device and its control method

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3556265B2 (en) * 1994-03-04 2004-08-18 オリンパス株式会社 Image handling device and camera
US5477264A (en) * 1994-03-29 1995-12-19 Eastman Kodak Company Electronic imaging system using a removable software-enhanced storage device
JPH07319751A (en) * 1994-05-23 1995-12-08 Ii D Kontoraibu Kk Integrated management method for data files related to video, voice and text
US6104840A (en) * 1996-11-08 2000-08-15 Ricoh Company, Ltd. Method and system for generating a composite image from partially overlapping adjacent images taken along a plurality of axes
US6466701B1 (en) * 1997-09-10 2002-10-15 Ricoh Company, Ltd. System and method for displaying an image indicating a positional relation between partially overlapping images
JPH11120043A (en) * 1997-10-09 1999-04-30 Sony Corp Data managing method
JP3423243B2 (en) * 1999-03-26 2003-07-07 三洋電機株式会社 Digital camera
JP2001101056A (en) * 1999-10-04 2001-04-13 Sony Corp Editing device
US6978051B2 (en) * 2000-03-06 2005-12-20 Sony Corporation System and method for capturing adjacent images by utilizing a panorama mode

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0690423A (en) * 1992-09-09 1994-03-29 Canon Inc Electronic still camera and picture record managing method
JPH06105273A (en) * 1992-09-22 1994-04-15 Canon Inc Information signal processor
JPH07236110A (en) * 1994-02-21 1995-09-05 Sony Corp Digital still camera
JPH11308560A (en) * 1998-04-23 1999-11-05 Casio Comput Co Ltd Electronic camera
JP2000236467A (en) * 1999-02-17 2000-08-29 Sanyo Electric Co Ltd Digital camera
JP2001111955A (en) * 1999-10-12 2001-04-20 Canon Inc Image pickup device and its control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100379247C (en) * 2004-04-30 2008-04-02 奥林巴斯株式会社 Image recording device

Also Published As

Publication number Publication date
CN1256844C (en) 2006-05-17
KR20040013100A (en) 2004-02-11
JP3643793B2 (en) 2005-04-27
CN1522534A (en) 2004-08-18
US20040196388A1 (en) 2004-10-07
US7567275B2 (en) 2009-07-28
JP2003018537A (en) 2003-01-17

Similar Documents

Publication Publication Date Title
WO2003005715A1 (en) Image recorder
JP3819669B2 (en) Digital camera
KR100971741B1 (en) Image pickup apparatus
JP3495687B2 (en) Digital camera
JP3495709B2 (en) Data recording device
WO2005122173A1 (en) Data processor
CN100403791C (en) Moving image recording device
CN1330180C (en) Data processing device
JP3869714B2 (en) Image recording device
JP2000295568A (en) Electronic camera
JP4500465B2 (en) Imaging apparatus and control method thereof
JP3520030B2 (en) Image playback device
JP4761555B2 (en) Data recording apparatus and control method thereof
JP2003189228A (en) Picture recorder
WO2005046230A1 (en) Content storage device
JP2007179695A (en) Recorder and recording control method
JP2008311847A (en) Display controller, display controlling method, and program
JP4810353B2 (en) Moving picture playback apparatus, moving picture playback editing apparatus, moving picture playback method, moving picture playback editing method, and program
JP2005276016A (en) File management device
JP4657130B2 (en) Content recording device
JP5159473B2 (en) Imaging device
JP3524804B2 (en) Image recording device
JP2006165797A (en) Recording device and recording method
JP2004282486A (en) Digital camera and program

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): CA CN ID KR US

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): DE FR GB

DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 20028134095

Country of ref document: CN

WWE Wipo information: entry into national phase

Ref document number: 1020047000061

Country of ref document: KR

WWE Wipo information: entry into national phase

Ref document number: 10482653

Country of ref document: US

122 Ep: pct application non-entry in european phase