Digital camera

Abstract
The digital camera has the function of registering, as an album file, a favorite image of the user or the like out of images captured by photographing or the like. When it is detected that an album file corresponding to a captured file to be registered into an album has been already generated, a warning of overlap registration is outputted. Another album file for a data file of which album file has been already generated may be prohibited from being generated.
Description


[0001] This application is based on application No. 2003-063959 filed in Japan, the contents of which are hereby incorporated by reference.


BACKGROUND OF THE INVENTION

[0002] 1. Field of the Invention


[0003] The present invention relates to a digital camera.


[0004] 2. Description of the Background Art


[0005] In a digital camera, a captured image is recorded on a recording medium such as a memory card. Since the number of captured images which can be stored in a recording medium is limited, after a proper number of captured images are stored into the recording medium, data of the captured images is moved from the memory card to a hard disk of a personal computer or the like to assure a free space of the recording medium.


[0006] However, since image data moved to a personal computer or the like does not remain in the digital camera, even if the moved image is a favorite one, it cannot be viewed on the digital camera.


[0007] As a technique for solving such a problem, a favorite image is stored in a memory provided in a digital camera (concretely, the liquid crystal digital cameras EX-S2/EX-M2 of Casio Computer Co., Ltd.). In the digital camera, the user copies a favorite image in captured images to generate an image for registration (also referred to as a favorite image or album image) and stores the image separately from the captured images.


[0008] According to the technique, even after a captured image is moved to a personal computer or the like, the favorite image remains in the memory in the digital camera, so that the user can view the favorite image by using the digital camera.


[0009] In the digital camera according to the conventional technique, however, a work of registering a favorite image is realized when the user designates favorite images in captured images one by one by using the digital camera. The user can register his/her favorite images in an album by such a registration work (also referred to as an album registration work).


[0010] However, the user does not always remember all of images registered in an album out of a plurality of captured images. Consequently, for example, after a lapse of considerable time from registration, there is a case such that the user does not remember that the user has registered a favorite image and registers the image again into an album. When such a re-registering operation is performed, a plurality of the same album images based on the same captured image are generated. It is not preferable that a plurality of the same album images are generated in spite of the fact that one album image is sufficient for one captured image since it is waste of a memory.



SUMMARY OF THE INVENTION

[0011] An object of the present invention is to provide an image capturing apparatus capable of preventing a recording medium from being wasted at the time of album registration or the like.


[0012] In order to achieve the object, according to a first aspect of the present invention, an image capturing apparatus comprises: an image generator for generating image data; a first data file generator for generating a data file of a first kind including image data generated by the image generator; a second data file generator for generating a data file of a second kind different from the data file of the first kind on the basis of the data file of the first kind; a discriminator for determining whether or not a specific data file of the second kind corresponding to a specific data file of the first kind has been already generated; and a display for displaying a warning when it is determined by the discriminator that the specific data file of the second kind has already been generated.


[0013] According to the image capturing apparatus, overlap registration of a data file of the second kind can be prevented. Therefore, the recording medium can be prevented from being wasted.


[0014] According to a second aspect of the present invention, an image capturing apparatus comprises: an image generator for generating image data; a first data file generator for generating a data file of a first kind including image data generated by the image generator; a second data file generator for generating a data file of a second kind different from the data file of the first kind on the basis of the data file of the first kind; a discriminator for determining whether or not a specific data file of the second kind corresponding to a specific data file of the first kind has already been generated; and a controller for prohibiting a new data file of the second kind corresponding to the specific data file of the first kind from being generated by the second data file generator when it is determined by the discriminator that the specific data file of the second kind has already been generated.


[0015] According to the image capturing apparatus, overlap registration of a data file of he second kind can be prevented. Therefore, the recording medium can be prevented from being wasted.


[0016] The present invention is also directed to a method of generating a data file.


[0017] These and other objects, features, aspects and advantages of the present invention will become more apparent from the following detailed description of the present invention when taken in conjunction with the accompanying drawings.







BRIEF DESCRIPTION OF THE DRAWINGS

[0018]
FIG. 1 is a schematic perspective view showing a front face side of a digital camera 1;


[0019]
FIG. 2 is a schematic perspective view showing a rear face side of the digital camera 1;


[0020]
FIG. 3 is a diagram showing an internal configuration of the digital camera;


[0021]
FIG. 4 is a diagram showing a folder structure in a memory card;


[0022]
FIG. 5 is a diagram schematically showing the configuration of each image file;


[0023]
FIG. 6 is a diagram showing the contents of an album information file;


[0024]
FIG. 7 is a diagram showing a state transition in the digital camera;


[0025]
FIG. 8 is a diagram showing a photographing menu screen;


[0026]
FIG. 9 is a diagram showing a reproduction menu screen;


[0027]
FIG. 10 is a diagram showing an album reproduction menu screen;


[0028]
FIG. 11 is a diagram showing a state transition in a reproduction mode;


[0029]
FIG. 12 is a flowchart showing the general flow of an album registration operation;


[0030]
FIG. 13 is a flowchart showing the flow of a part of FIG. 12;


[0031]
FIG. 14 is a diagram showing a reproduced image to which an album registration mark MK1 is added;


[0032]
FIG. 15 is a diagram showing a reproduction menu screen according to a modification;


[0033]
FIG. 16 is a diagram showing an example of a file group stored in a captured file folder in the memory card;


[0034]
FIG. 17 is a diagram showing a state transition in an “after recording” operation;


[0035]
FIG. 18 is a diagram showing screens at the time of reproducing various files;


[0036]
FIG. 19 is a flowchart showing an album generating process;


[0037]
FIG. 20 is a flowchart showing an album generating process;


[0038]
FIG. 21 is a diagram showing the contents of an album information file after an after-recording file is registered into an album;


[0039]
FIG. 22 is a diagram showing the contents of an album information file after a voice recording file is registered into an album;


[0040]
FIG. 23 is a diagram showing a menu screen for making a setting regarding album-registration of a moving image file;


[0041]
FIG. 24 is a diagram showing the contents of the album information file after the head frame of a moving image file is registered in an album;


[0042]
FIG. 25 is a diagram showing the contents of the album information file after the whole moving image file is registered in an album;


[0043]
FIG. 26 is a diagram showing a display screen in a state where an album image to be reproduced in an album reproduction mode is protected;


[0044]
FIG. 27 is a diagram showing a state transition in the case where a protection for a captured image file is setting;


[0045]
FIG. 28 is a diagram showing a state transition in the case of changing a setting state of protection on an album file;


[0046]
FIG. 29 is a diagram showing an example of rewriting of an album information file at the time of canceling protection;


[0047]
FIG. 30 is a diagram showing a state transition in the case of deleting a protection-canceled album file;


[0048]
FIG. 31 is a diagram showing a state transition in the case of deleting a captured image file to which protection is not set.


[0049]
FIG. 32 is a diagram showing a state transition in a process of rotating a still image;


[0050]
FIG. 33 is a flowchart showing the rotating process;


[0051]
FIG. 34 is a diagram showing a screen for performing a brightness adjusting process;


[0052]
FIG. 35 is a flowchart showing the brightness adjusting process;


[0053]
FIG. 36 is a diagram showing a screen for a color converting process;


[0054]
FIG. 37 is a flowchart showing the color converting process;


[0055]
FIG. 38 is a diagram showing a screen for a moving image editing work;


[0056]
FIG. 39 is a diagram showing the configuration of a moving image file; and


[0057]
FIG. 40 is a flowchart showing a moving image editing process.







DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0058] Hereinafter, embodiments of the present invention will be described with reference to the drawings.


[0059] Outline of Configuration


[0060]
FIGS. 1 and 2 are diagrams each showing an appearance configuration of a digital camera 1 according to an embodiment of the present invention. FIG. 1 is a schematic perspective view showing a front face side. FIG. 2 is a schematic perspective view showing a rear face side.


[0061] As shown in FIGS. 1 and 2, the digital camera 1 has an almost rectangular parallelepiped shape of a thin type.


[0062] As shown in FIG. 1, the digital camera 1 has a taking lens 2, an optical finder 4 and a flash 6 on its front face side, and has a power source button 3, a shutter button (release button) 9 and a microphone 12 on its top face side. As shown in FIG. 2, the digital camera 1 has a liquid crystal display (hereinafter, abbreviated as LCD) 5, button groups 7 and 8, a quick review button (hereinafter, also referred to as a QV button) 11 and a speaker 13 on its back face side. The button group 7 has cross cursor buttons (or cursor keys) 7a to 7d, and the button group 8 has an execution button 8a, a menu button 8b, a flash mode button 8c and a liquid crystal monitor button 8d. Further, as shown in FIGS. 1 and 2, the digital camera 1 has, a cover 14, a DC input terminal 15, a USB terminal 16 and an AV output terminal 17 in its side faces.


[0063] As will be described later, the digital camera 1 obtains image data of a subject by photoelectrically converting a subject image from the taking lens 2 by a CCD (image capturing device) 20 (FIG. 3).


[0064] The power source button 3 is used to accept an operation of turning on/off the power source. Concretely, each time the power source button 3 is depressed, the power source is turned on and off alternately.


[0065] The shutter release button 9 is a two-stage press switch capable of detecting a lightly pressed (half-pressed) state (hereinafter, also referred to as a state S1) and a pressed (full-pressed) state (hereinafter, also referred to as a state S2) by the user (operator) so as to be discriminated from each other. In the lightly pressed state S1, an automatic focus control is started. In the pressed state S2, an image capturing operation for capturing an image to be recorded is started.


[0066] The LCD 5 displays a preview (or live view) before the image capturing operation and reproduces and displays a recorded image. The LCD 5 has a predetermined number (320×240 herein) of display pixels and can display a color image.


[0067] The operator perceives the position, size and the like of a subject in a captured image by the live view display on the LCD 5 and can perform a framing operation. The framing operation can be also performed by using only the optical finder 4 without using the LCD 5.


[0068] The QV button 11 has the function of switching among a plurality of operation modes in the digital camera 1, concretely, a capturing mode, a reproduction mode and an album reproduction mode (which will be described later). As will be described later, as a rule, each time the QV button 11 is depressed, the three modes are sequentially and cyclically selected. Since an image displayed on the LCD 5 is also switched in association with a change in the operation mode, the QV button 11 can be also expressed as a switch button for switching an image displayed on the LCD 5.


[0069] The menu button 8b has the function of switching between display and non-display of a menu on the LCD 5. For example, each time the menu button 8b is depressed in an initial screen of each operation mode, a menu screen and a non-menu screen (display screen such as a live view, a reproduced image or the like) are alternately displayed on the LCD 5. The display cursor in the menu screen displayed on the LCD 5 can be moved in four ways by using the cross cursor buttons 7a to 7d. Further, by depressing the execution button 8a in a state where a desired option is selected, a setting operation corresponding to the option is executed. By such an operation, setting of various image capturing parameters, album registration (which will be describe later) and the like can be performed.


[0070] The flash mode button 8c is a button for determining the mode of the flash 6. Each time the flash mode button 8c is depressed, the flash mode is switched in order of automatic flash, forced flash and flash inhibition.


[0071] The liquid crystal monitor button 8d is a button for switching between display and non-display of the liquid crystal monitor. Each time the liquid crystal monitor button 8d is depressed, a state where an image or the like is displayed on the liquid crystal monitor (display state) and a state where no image is displayed (non-display state) are alternately switched. In the non-display state, power consumption can be reduced.


[0072] The microphone 12 is used to obtain (record) sound data at the time of moving image capturing, making of a voice memo, voice recording, and after recording.


[0073] The speaker 13 has the function of outputting sound and is used at the time of reproducing sound data or image data (still image or moving image) with sound.


[0074] Further, the cover 14 is provided in a portion for covering a battery space and a memory card insertion port. In other words, on the inside of the cover 14, a battery space in which a power source battery BT is housed and a memory card insertion port in which a memory card 90 as a removable recording medium (portable recording medium) is inserted are provided. The power source battery BT and the memory card 90 are detachably inserted into the battery space and the memory card insertion port, respectively. Image data obtained by the image capturing operation, album image data which will be described later, and the like is recorded on the memory card 90 to be set in the insertion port. The digital camera 1 can receive power supply from the power source battery BT and power supply from an AC adapter (not shown) by using the DC input terminal 15.


[0075] The USB terminal 16 is a terminal for performing data communication with a personal computer or the like. By connecting a USB standard cable or the like to the USB terminal 16, data communication with an external device (such as a personal computer) can be performed.


[0076] The AV output terminal 17 is a terminal for connection to an external video sound device (Audio-Visual device: AV device) such as a television. By connecting a predetermined AV code between the AV output terminal 17 and the input terminal of the external video sound device, an image and/or sound can be outputted to the external video sound device.


[0077] Referring to FIG. 3, the internal configuration of the digital camera 1 will now be described. FIG. 3 is a block diagram showing the internal functions of the digital camera 1.


[0078] The CCD (image capturing device) 20 functions as image capturing means for capturing a subject image and generating an electronic image signal and has, for example, 1600×1200 pixels. The CCD 20 photoelectrically converts a light image of the subject formed by the taking lens 2 into image signals (signal made of a signal sequence of pixel signals received by the pixels) of R (red), G (green) and B (blue) pixel by pixel and outputs the image signal.


[0079] The image signal obtained from the CCD 20 is supplied to an analog signal processing circuit 21. In the analog signal processing circuit 21, the image signal (analog signal) is subjected to a predetermined analog signal process. The analog signal processing circuit 21 has a correlated double sampling circuit (CDS) and an automatic gain control circuit (AGC) and adjusts the level of the image signal by performing a process of reducing noise in the image signal by the correlated double sampling circuit and adjusting the gain by the automatic gain control circuit.


[0080] An A/D converter 22 converts each of pixel signals of the image signal into a digital signal of 12 bits. The digital signal obtained by the conversion is temporarily stored as image data in a buffer memory 54 in a RAM 50a. The image data stored in the buffer memory 54 is subjected to WB (white balance) process, γ correction process, color correction process and the like by an image processing unit 51 and, after that, the processed signal is subjected to a compressing process or the like by a compressing/decompressing unit 52.


[0081] A sound signal obtained from the microphone 12 is inputted to a sound processing unit 53. The sound signal inputted to the sound processing unit 53 is converted into a digital signal by an A/D converter (not shown) provided in the sound processing unit 53 and the digital signal is temporarily stored in the buffer memory 54.


[0082] An operation unit 30 is an operation unit including the power source button 3, button groups 7 and 8, shutter release button 9, and QV button 11 and is used when the user performs an operation of changing a setting state of the digital camera 1 and an image capturing operation.


[0083] A power source 40 is a power supply source of the digital camera 1. The digital camera 1 is driven by using a secondary battery such as a lithium ion battery as the power source battery BT.


[0084] An overall control unit 50 is constructed by a microcomputer having therein the RAM 50a and a ROM 50b. When the microcomputer executes a predetermined program, the overall control unit 50 functions as a controller for controlling the above-described components in a centralized manner. The overall control unit 50 also controls, for example, a live view display process and a process of recording data to a memory card. The RAM 50a is a semiconductor memory (such as DRAM) which can be accessed at high speed and the ROM 50b takes the form of, for example, an electrically-rewritable nonvolatile semiconductor memory (such as flash ROM). An area as a part of the RAM 50a functions as a buffer area for temporary storing data. This buffer area is referred to as the buffer memory 54. The buffer memory 54 temporarily stores image data and sound data.


[0085] The overall control unit 50 has the image processing unit 51, compressing/decompressing unit 52 and sound processing unit 53. The processing units 51, 52 and 53 are function parts realized when the microcomputer executes a predetermined program.


[0086] The image processing unit 51 is a processing unit for performing various digital imaging processes such as WB process and γ correcting process. The WB process is a process of shifting the level of each of the color components of R, G and B and adjusting color balance. The γ correcting process is a process of correcting the tone of pixel data. The compressing/decompressing unit 52 is a processing unit for performing an image data compressing process and an image data decompressing process. As the compressing method, for example, the JPEG method is employed. The sound processing unit 53 is a processing unit for performing various digital processes on sound data.


[0087] A card interface (I/F) 60 is an interface for writing/reading image data to/from the memory card 90 inserted into the insertion port in the side face of the digital camera 1.


[0088] At the time of reading/writing image data from/to the memory card 90, the process of compressing or decompressing image data is performed according to, for example, the JPEG method in the compressing/decompressing unit 52, and image data is transmitted/received between the buffer memory 54 and the memory card 90 via the card interface 60. Also at the time of reading/writing sound data, sound data is transmitted/received between the buffer memory 54 and the memory card 90 via the card interface 60.


[0089] Further, by using the card interface 60, the digital camera 1 transmits/receives data such as an image and sound and, in addition, can load a program which operates on the digital camera 1. For example, a control program recorded on the memory card 90 can be loaded into the RAM 50a or ROM 50b of the overall control unit 50. In such a manner, the control program can be updated.


[0090] Also by communication with an external device (such as an external computer) via the USB terminal 16, various data such as an image and sound and a control program can be transmitted/received. For example, various data, a program, and the like recorded on a recording medium (CD-R/RW or CD-ROM) which is set into a reader (optical drive device or the like) of the external computer can be obtained via the USB terminal 16.


[0091] Captured Image and Album Image


[0092] A captured image and an album image will now be described.


[0093]
FIG. 4 is a diagram conceptually showing the folder structure in the memory card 90. As shown in FIG. 4, a file of captured images is generated in accordance with the format of DCF (Design rule for Camera File system) and recorded. Captured image files are stored in a folder “100MLT09”. The folder “100MLT09” is a folder generated under a folder “DCIM”. The folder “DCIM” is a folder generated under a root folder. The folder “100MLT09” will be also referred to as a “captured file folder” (or “recording folder”).


[0094] The name of each captured image file is constructed by eight characters (Pict0005) in the head, a period (.) and an extension of three characters (jpg) like “Pict0005.jpg”. In the eight characters in the head, the four alphabets in the first half indicate the kind (such as a captured file (which will be described later) of a captured image or the like), and the four numerals in the latter half denote a serial number serially designated in accordance with order of generation of captured images (captured file).


[0095] Therefore, by repeating the image capturing operation by the digital camera 1, files of names “Pict00011.jpg”, “Pict0002.jpg”, “Pict0003.jpg”, “Pict0004.jpg”, “Pict0005.jpg”, “Pict0006.jpg”, . . . are generated in this order and stored in the memory card 90.


[0096] In the digital camera 1, a favorite image of the operator in captured images can be registered so as to be discriminated from the other captured images. In the specification, such a function will be referred to as an “album registration” function and an image newly generated in correspondence with an original file such as a captured image file by the album registration will be referred to as an “album image”. Each of album images is stored as an image separate from the captured image into a folder (concretely, a folder “ALBUM”) different from the folder of the captured image. The folder “ALBUM” for storing album images (hereinafter, also referred to as an “album folder”) is a folder generated under the root folder.


[0097] The name of a file of album images is given on the basis of a rule similar to that of a captured image. The four alphabets (Albm) in the first half in the eight characters in the head of the file name indicate the kind (indicating that the image is registered as an album), and the four numerals in the latter half indicate a serial number which is serially given in order of generation of album images.


[0098] As shown in FIG. 4, for example, when the operator registers a file of the name “Pict0006.jpg” as a favorite image, a file of an album image (album image file) having the name of “Albm0003.jpg” is generated. Since it is assumed here that the third album image is generated, the serial number of the album image file generated is “0003”.


[0099] The album folder has not only the album image files but also a file in which basic information regarding a plurality of files registered as an album is recorded (hereinafter, also referred to as “album information file”). The album information file is shown as a file having the name of “Album.inf” in FIG. 4 and has a configuration as shown in FIG. 6. The contents of the album information file will be described later.


[0100] By such an album registering function, the operator can register a favorite image out of captured images as an album image.


[0101] The album image is handled so as to be discriminated from the captured images. Consequently, after the captured images are moved to an external device such as a personal computer and erased from the memory card 90, the image registered in an album remains in the memory card 90. Therefore, even after the captured images are erased from the memory card 90, the operator can read the favorite image registered in the album from the memory card 90 and display it on the LCD 5. That is, the operator can easily view it. Particularly, since the memory card 90 of a larger capacity than that of a built-in memory can be used, as compared with the case of storing an album image in the built-in memory, a larger number of images can be stored.


[0102] Printing can be also performed by using an album image remaining in the memory card 90. The user can therefore easily print a favorite image. Particularly, when the memory card 90 is directly inserted into a printer adapted to direct printing and direct printing is performed, a favorite image can be printed very easily.


[0103]
FIG. 5 is a diagram conceptually showing the structure of each file. Although FIG. 5 shows the structure of a captured image file, the album image file also has a similar structure.


[0104] As shown in FIG. 5, each captured image file is generated as a file of a predetermined format (the Exif format here). Concretely, a file of each captured image has tag information TG, image data DP of high resolution compressed in the JPEG format (image signal of 1600×1200 pixels), and image data DM for displaying a thumbnail image (image signal of 80×60 pixels). The tag information TG includes information such as “file name”, “date and time of photographing”, “serial number of camera used for photographing”, “related sound file” and “presence/absence of album registration”.


[0105] Each of the album image files is generated as a file of a similar format (Exif format here). Each album image file has, similarly, the tag information TG, image data DP of high resolution compressed in the JPEG format, and image data DM for displaying thumbnail image. However, to reduce the data amount, as the image data DP of high resolution, data converted to an image signal of lower resolution than resolution of a captured image is stored. Concretely, the image data DP of the album image is generated by once decompressing the image data DP of a captured image of the size of 1600×1200 pixels stored in the memory card 90 in a compressed state by the compressing/decompressing unit 52, converting the resultant image to an image of a size of 640×480 pixels by a resolution converting process by the image processing unit 51 or the like and, further, re-compressing the image into an image in the JPEG format by the compressing/decompressing unit 52. In the tag information TG of the captured image file, although “presence/absence of album registration” is unnecessary, the information such as “date and time of photographing”, “serial number of camera used for photographing” and “related sound file” is stored as it is as the tag information TG of the album image file.


[0106] An attribute AT is determined for each file. Concretely, one of four attributes of “read-only attribute (R)”, “archive attribute (A)”, “system file attribute (S)” and “hidden file attribute (H)” is determined for each file. For a captured image, usually, either “archive attribute (A)” or “read-only attribute (R)” is given. For a file to which “archive attribute” is given, both reading and writing operations are permitted. For a file to which “read-only attribute” is given, only the reading operation is permitted and the writing operation is prohibited.


[0107] To the captured image file, “archive attribute (A)” is given at the time of photographing. On the other hand, to the album image file, “read-only attribute (R)” is given at the time of registration. Since “read-only attribute (R)” is initially given to an album image file, an important album image registered as a favorite image can be prevented from being erased by erroneous operation.


[0108] The digital camera 1 can perform not only capturing of a still image but also capturing of a moving image and capturing (recording) of sound. In the specification, a data file obtained by such an image capturing (recording) and/or sound capturing (recording) operation is generically referred to as a “captured file (or recording file)”. The captured file is also expressed as a file containing image data and/or sound data.


[0109] The object of album registration is not limited to a still image but may be an image file of a moving image, sound and the like. In the specification, a file newly generated in correspondence with a captured file and registered in an album will be referred to as an “album registration file (or album registration object)” or simply “album file”. The album file is generated on the basis of an original captured file (data file) under control of the overall control unit 50 and stored in a folder different from a folder of the original captured file.


[0110] The album registration operation and the like mainly on an image (particularly, still image) will be described later.


[0111] Outline of State Transition in Digital Camera


[0112]
FIG. 7 is a diagram showing a state transition in the digital camera 1 and mainly shows a display state in the LCD 5. In each of round-cornered rectangles in FIG. 7, a display screen on the LCD 5 is displayed. Prior to description of the details of the album registration operation, outline of the state transition in the digital camera 1 will be described with reference to FIG. 7.


[0113] First, when the power source is turned on in response to depression of the power source button 3, the digital camera 1 shifts to a state ST10. In the state ST10, the digital camera 1 is set in the “capturing mode” and a live view image as a preview image for image capturing is displayed on the LCD 5. “Capturing mode” is a mode of capturing or recording an image (moving image or still image) or sound.


[0114] As described above, the digital camera 1 has not only the “capturing mode” but also “reproduction mode” and “album reproduction mode”. “Reproduction mode” is a mode of reproducing a file of a captured image (and recorded sound and the like), and “album reproduction mode” is a mode of reproducing an album file.


[0115] For switching the modes, the QV button 11 is used. As a rule, each time the QV button 11 is depressed, the digital camera 1 sequentially and cyclically shifts to the three modes. Exceptionally, when a captured file does not exist in the memory card 90, the digital camera 1 does not shift to the “reproduction mode”. When the album file dose not exist in the memory card 90, the digital camera 1 does not shift to the “album reproduction mode”.


[0116] The mode switching will be described in more detail later.


[0117] When the QV button 11 is depressed once in the state ST10, whether a captured file is stored in the memory card 90 or not is determined (state ST41).


[0118] If even one captured file is recorded in the memory card 90, the digital camera 1 shifts to a state ST20. The state ST20 is a state where the digital camera 1 is set in the “reproduction mode” and a reproduction image of a captured image or the like is displayed on the LCD 5. In the state ST20, a reproduced image of an image captured most recently is displayed first on the LCD 5. Each time the left key 7c or right key 7d is depressed, a file to be displayed on the LCD 5 is sequentially changed in forward or reverse order of capturing.


[0119] On the other hand, when even one captured file is not recorded in the memory card 90, the digital camera 1 shifts to a state ST42.


[0120] Also in the case where the QV button 11 is depressed again in the state ST20, the digital camera 1 shifts to state ST42.


[0121] In the step ST42, whether an album file is stored in the memory card 90 or not is determined.


[0122] If even one album file is recorded in the memory card 90, the digital camera I shifts to state ST30. The state ST30 is a state where the digital camera 1 is set in the “album reproduction mode” and an album image is displayed on the LCD 5. In the state ST30, first, an album image in the album file registered most recently is displayed on the LCD 5. Each time the left or right key 7c or 7d is depressed, the file to be displayed on the LCD 5 is changed sequentially in forward or reverse order of registration.


[0123] On the other hand, in the case where even one album file is not recorded in the memory card 90, the digital camera 1 shifts to a state ST43 and whether even one captured file is not recorded in the memory card 90 or not is determined. If it is determined that no captured file nor album file is recorded in the memory card 90, the digital camera 1 shifts to a state ST44, displays characters indicating “no image in memory card”, and returns to the state ST10. When it is determined that a captured file is recorded in the memory card 90, the digital camera 1 returns to the state ST10 without shifting to the state ST44.


[0124] Also in the case where the QV button 11 is depressed again in the state ST30, the digital camera 1 shifts again to the state ST10.


[0125] By the operations, when both a captured file and an album file are recorded in the memory card 90, each time the QV button 11 is depressed, the three modes (“capturing mode”, “reproduction mode”, and “album reproduction mode”) are sequentially and cyclically selected. In response to depression of the QV button 11, a displayed image is changed among a live view image in the capturing mode, a reproduction image related to a data file in the reproduction mode, and an album image related to an album file in the album reproduction mode. Therefore, an album image or the like can be displayed only by depression of the button, so that the user can easily view an album image.


[0126] When the captured file is recorded in the memory card 90 but the album file is not recorded, in response to depression of the QV button 11, “captured image mode” and “reproduction mode” are sequentially and cyclically selected. In other words, only when the memory card 90 has an album file, the state is changed to the state where an album image is displayed in response to depression of the QV button 11. As described above, when no album file exists in the memory card 90, the screen is not switched to the screen displaying an album file. Therefore, useless switching can be eliminated.


[0127] Further, when the album file is recorded in the memory card 90 but a captured file is not recorded, in response to depression of the QV button 11, “capturing mode” and “album reproduction mode” are sequentially and cyclically selected. In other words, when the memory card 90 does not have a captured file, in response to depression of the QV button 11, a display image is changed only between the live view image and the album image. That is, when the captured file does not exist in the memory card 90, the screen is not switched to the screen for displaying a captured file. Therefore, useless switching can be eliminated.


[0128] When both the album file and the captured file are not recorded in the memory card 90, only “capturing mode” can be selected. At this time, characters indicating “no image in memory card” are displayed on the LCD 5 in response to depression of the QV button 11, so that the operator can recognize that the mode cannot be changed.


[0129] A state transition from each of the states ST10, ST20 and ST30 will now be described.


[0130] When the menu button 8b is depressed in the state ST10, the digital camera 1 shifts to a state ST11. When the menu button 8b is depressed again, the digital camera 1 returns to the state ST10. A state ST11 is a state where the mode can be changed to a sub mode in the capturing mode and “capturing menu” for setting a kind of capturing is displayed on the LCD 5. In the state ST11, while the live view image is continuously displayed as a background image, items of the capturing menu screen are overlaid.


[0131] When the menu button 8b is depressed in the state ST20, the digital camera 1 shifts to the state ST21. When the menu button 8b is depressed again, the digital camera 1 returns to the state ST20. The state ST21 is a state where various settings in the reproduction, mode can be made, and “reproduction menu” as a menu screen for performing various setting operations is displayed on the LCD 5. In the state ST21, while the captured image (reproduced image) is displayed as a background image, items of the reproduction menu screen are overlaid.


[0132] Further, when the menu button 8b is depressed in the state ST30, the digital camera 1 shifts to the state ST31. When the menu button 8b is depressed again, the digital camera 1 returns to the state ST30. The state ST31 is a state where various settings can be made in the album reproduction mode and “album reproduction menu” as a menu screen for performing various setting operations is displayed on the LCD 5. In the state ST31, while the album image is continuously displayed as a background image, items of the album reproduction menu are overlaid.


[0133]
FIGS. 8, 9 and 10 are diagram showing menu screens G11, G21 and G31 displayed on the LCD 5 in the states ST11, ST21 and ST22, respectively.


[0134]
FIG. 8 is a diagram showing an example of the photographing menu screen G11 in the state ST11. By performing various setting operations using the capturing menu screen G11 and the like, the kind of capturing and the like can be changed. Concretely, when “single photographing” or “continuous photographing” is selected, a still image can be captured. When “moving image” is selected, a moving image can be captured. Sound recording operation can be also performed. For example, by selecting “voice memo”, sound can be recorded for predetermined period after capturing one still image. By selecting “voice record”, only sound can be recorded without accompanying recording of a still image.


[0135]
FIG. 9 is a diagram showing an example of the reproduction menu screen G21 in the state S21. FIG. 10 is a diagram showing an example of the album reproduction menu screen G31 in the state S31. By performing various operations using the menu screens G21, G31 and the like, various setting operations regarding captured images and the like can be performed.


[0136] As understood from comparison between FIGS. 9 and 10, the reproduction menu screen G21 and the album reproduction menu screen G31 have similar configurations. Specifically, items of “protect”, “delete”, “slide show”, “print designation” and “setup of camera” exist in each of the menus. That is, the items of the menu screens G21 and G22 match each other partially.


[0137] In other words, each of the menu screens in the reproduction mode and the album reproduction mode has a hierarchical structure. The menu screens in the same hierarchy in the two modes (for example, the menu screens G21 and G31 in the first hierarchy displayed first after the initial screens G20 and G30 of the two modes) have the same items (“protect”, “delete”, “slide show”, “print designation” and “setup of camera”).


[0138] Therefore, in any of the reproduction mode and the album reproduction mode, a setting operation regarding each of the items “protect”, “delete”, “slide show”, “print designation” and “setup of camera” can be realized by a similar operation using similar menu screens G21, G31 and the like. Thus, uniformity in the operations increases. In other words, the user can perform similar setting operations by common operation, so that operability is high.


[0139] On the other hand, “reproduction menu” is clearly shown by using characters on the menu screen G21 in the reproduction mode. “Album reproduction menu” is clearly shown by using characters on the menu screen G31 in the album reproduction mode. Specifically, each of the menu screens G21 and G31 in the reproduction mode and the album reproduction mode has an “identification part” indicative of the menu screen of the reproduction mode or album reproduction mode. Therefore, the operator can certainly recognize that the menu screen displayed on the LCD 5 is the menu screen G21 in the reproduction mode or the menu screen G31 in the album reproduction mode.


[0140] Particularly, in the embodiment, the reproduction mode (state ST20) and album reproduction mode (state ST30) can be easily switched in response to depression of the QV button 11. In response to a further operation (concretely, depression of the menu button 8b), the state can be easily shifted from the state ST20 to the state ST21, similarly, from the state ST30 to the state ST31. It is expected that the operator erroneously recognizes that the menu screen in the state ST21 or ST31 is a menu screen in a wrong state (of a wrong mode) due to easy mode shifting operation.


[0141] However, even in such a case, by the identification part displayed in each of the menu screens G21 and G31 in the states ST21 and ST31, the operator can easily recognize whether a displayed screen is the menu screen of either the reproduction mode or album reproduction mode. Therefore, erroneous operation caused by erroneous recognition of the mode can be prevented. Although the identification part is constructed by using characters here, the identification part may be constructed by using a predetermined figure or the like.


[0142] At the left end of each of the items in the menu screen, one of three signs (concretely, blank rhombus, painted rhombus and x mark) is displayed. The x mark indicates an unselectable item. The sign of the blank rhombus denotes a selectable item. The painted rhombus denotes an item which is being selected at present. When the operator changes the selection item by using the up key 7a or down key 7b and depresses the execution button 8a in a state where the sign of a desired selection item is changed to the painted rhombus, the operation corresponding to the selected item (concretely, display of a sub menu screen) is executed. It is also possible to express an unselectable item by displaying characters of the selection item in light color in place of giving the x mark.


[0143] Album Registration


[0144] The album registration operation will now be described in detail.


[0145] FIGS. 11 to 13 are diagrams for describing a registering procedure. FIG. 11 is a diagram showing a state transition in the reproduction mode. FIG. 12 is a flowchart showing the general flow of the registering operation. FIG. 13 is a flowchart showing the flow of a part of the operation.


[0146] First, as shown in FIG. 11, when the menu button 8b is depressed in the state ST20, the digital camera 1 shifts to a state ST21. When an item of “additional registration to album” is selected in the reproduction menu screen G21 displayed on the LCD 5 in the state ST21 with the key 7 and the execution button 8a is depressed, the digital camera 1 shifts to a state ST22. In the state ST22, when the menu button 8b is depressed, the digital camera 1 can return to the state ST21.


[0147] In the state ST22, a menu screen G22 for additional registration is displayed. In the menu display G22 in the state ST22, while a captured image being reproduced is displayed as a background image, menu items are overlaid.


[0148] In the menu screen G22, two items of “this image” and “all of images” are displayed. The item “this image” in the former item corresponds to a command for instructing registration of the captured image displayed as a background. The item “all of images” in the latter item corresponds to a command for instructing registration of a plurality of (all, in this case) captured images in a captured file folder (“100MLT09” (see FIG. 4)) in a lump.


[0149] When any of the items is selected in the menu screen G22 and the execution button 8a is depressed, the overall control unit 50 determines that the instruction input of album registration is accepted and executes the album registration operation.


[0150] The album registration operation will be described with reference to FIG. 12.


[0151] First, in step SP50, whether the instruction of registering all of images is given or not is determined. In the case where the instruction of batch registration is given, the program advances to step SP51. If not (that is, in the case where the instruction of registering images one by one is given), the program advances to step SP61.


[0152] In step SP51, free space in the memory card 90 is checked. A space necessary for the batch registration (in other words, space necessary to register all of files in the captured file folder into an album) and a free space (the capacity of an unused area) in the memory card 90 are compared with each other. When it is determined that the space necessary for the batch registration is not left in the memory card 90, characters or the like indicating that the space in the memory card is insufficient are displayed for a predetermined period (for example, a few seconds) (step SP59) and the digital camera 1 returns to the state ST21 (FIG. 11). On the other hand, when it is determined that the space necessary for the batch registration remains in the memory card 90, the program advances to step SP52.


[0153] In step SP52, the first file (the file of the smallest serial number) in the captured file folder is designated as a file on which the registering process is to be performed (file to be registered).


[0154] In step SP53, whether an album file corresponding to the data file to be registered has been already generated or not, in other words, whether the file to be registered is a file already registered in an album or not is determined. That is, a check of overlap registration is made.


[0155] In the case where it is detected that the file to be registered is already registered in an album, the program advances to step SP55 where a warning of overlap registration is outputted. For example, characters or the like indicating that the same captured file as the file to be registered has already been registered in an album are displayed as a warning on the LCD 5. In order to avoid overlap registration, registration of the file to be registered into an album is inhibited and, without registering the file to be registered into an album, the program advances to step SP56. In such a manner, the same captured file (data file) can be prevented from being overlap-registered into an album.


[0156] On the other hand, in the case where the file to be registered has not been registered in an album yet, the program advances to an album file generating process in step SP54.


[0157]
FIG. 13 is a flowchart showing detailed operation (step SP70) of the album file generating process in steps SP54 and SP64. Description will be given on precondition that the file to be registered is a still image file.


[0158] First, in step SP71, image data of high resolution (1600×1200 pixels) of the captured file as an object is decompressed. The resultant image data is resized to the VGA size (640×480 pixels) in step SP72 and re-compressed.


[0159] In step SP73, the file name of a new album image file is determined. In particular, a serial number of a new file name is determined. Concretely, the digital camera 1 refers to the album information file (“Album.inf” (see FIG. 6)) and determines the number obtained by incrementing the largest number of serial numbers of existing registered files (that is, the serial number of the file registered most recently) as the serial number of the new file. For example, as shown in FIG. 6, when the latest registration file is “Albm0094.jpg”, the serial number of the new file is “0095”. The name of the new album image file is determined as “Albm0095.jpg”. The name is generated by combining “Albm” indicative of an album file and an extension “jpg” indicating that the kind of data is a still image.


[0160] In step SP74, by using data resized in the VGA size and compressed according to the JPEG method or the like, an album image file having the name “Albm0095.jpg” is generated. In step SP75, the attribute of the new file is set as “read only” attribute. By the operation, the new file is protected.


[0161] After that, in step SP76, the information of the file “Albm0095.jpg” is added to the album information file (“Album.inf”), thereby updating the album information file.


[0162]
FIG. 12 will be referred to again.


[0163] In step SP56, whether the album registration has been finished on all of captured images or not is determined.


[0164] In the case where an unprocessed captured image exists in the captured file folder, the next file is designated as a file to be registered (step SP57), progress is displayed (step SP58), and the processes in step SP53 and subsequent steps are repeated. In the progress display, a message that the album registration is being done and the file being processed are shown. For example, by displaying a message like “album registration is being performed. . . . 2/10”, it can show that the second file out of total ten files is being processed.


[0165] On the other hand, when the album registration process on all of captured images in the captured file folder has been completed, the routine is finished and the digital camera 1 returns to the state ST21. In response to selection of “all of images” in the state ST22 (FIG. 11) and one depression of the execution button 8a (that is, input of instruction of batch registration), a plurality of album files are generated. Since it is unnecessary to repeat the series of operations of the button operation for designating an image to be registered and the operation of depressing the execution button 8a for starting registration, the operation at the time of batch registration is easy. Particularly, frequency of the album registration process on “all” of captured images in a captured file folder performed by the operator is high. Such a registration operation can be facilitated.


[0166] Also in the case where the program advances from step SP50 to step SP61 (in the case where instruction of individual registration is given), similar operations are performed. Processes in steps SP61, SP63, SP64 and SP65 are similar to processes in steps SP51, SP53, SP54 and SP55, respectively. In step SP61, whether the space necessary for registering one file into an album remains in the memory card 90 or not is determined.


[0167] In the overlap registration check in steps SP53 and SP63, information of the album information file “Album.inf” is used.


[0168] The album information file includes, as shown in FIG. 6, information regarding each of a plurality of album files registered. Concretely, the album information file includes the file name and file attribute of each of album files included in an album folder and, in addition, information of the file name of the captured file as a registration source of each album file, the serial number of a digital camera used for recording the captured file, and date and time of recording the captured file is described.


[0169] For example, with respect to the album file “Albm0003.jpg”, it is described that the file attribute is “read only”, the original image at the time of corresponding album registration is “Pict0006.jpg”, the date and time of capturing the original image is 12:34:56 of Dec. 1, 2002, and the product serial number of a digital camera used for capturing the original image (identification number of the camera) is “01234567”. The product serial number is described in the ROM 50b of each digital camera 1. The product serial number which is stored in the ROM 50b or the like in the digital camera 1 is read at the time of photographing and written in the tag information TG of the captured file. The date and time of image capturing is also written in the tag information TG. Consequently, the digital camera 1 can read the tag information TG of the file to be registered and record various information to the album information file.


[0170] In the steps SP53 and SP63, depending on whether the three conditions (three pieces of information) of the file name of the original image at the time of album registration, the serial number of the digital camera, and the date and time of image capturing in the captured file to be registered coincide with those of the registered captured file or not, whether the captured file to be registered has been already registered in an album or not is determined. Since it is considered that not only the file name of the original image but also the serial number of the digital camera and the date and time of photographing coincide with those or not, the overlap registration can be determined more accurately.


[0171] The present invention is not limited to the above. The overlap registration may be determined depending on whether one or two conditions out of the three conditions coincide or not. For example, depending on whether two conditions of the file name of an original image in album registration and the serial number of the digital camera in the captured file to be registered and those of the registered captured file coincide with each other or not, whether the captured file to be registered has been already registered in an album or not can be determined. Since it is considered that not only the file name of the original image but also the serial number of the digital camera coincide with the corresponding conditions or not, overlap registration can be determined more accurately. In such a manner, consequently, for example, it can be accurately determined that captured images of two files photographed by different digital cameras at the same time and on the same date by chance are inherently different from each other.


[0172] In the foregoing embodiment, only by selecting “all of images” in the state ST22 and depressing the execution button 8a, all of files in a captured file folder can be registered in a lump into an album, so that the operation is easy.


[0173] In the case of batch registration, the serial numbers of album files newly registered are designated in ascending order of the serial numbers of the original captured files. Thus, in the corresponding relation between the serial number of the album file and the serial number of the captured file, the order is not changed. Therefore, the relation between the original captured file and the album file can be easily grasped.


[0174] Further, at the time of reproduction of the captured image, whether the captured image has already become an object of album registration or not is determined. If the captured image has already become an object of album registration, a mark indicating that the captured image has been already registered is displayed on the LCD 5 so as to be overlaid on the captured image.


[0175]
FIG. 14 is a diagram showing a screen displayed on the LCD 5 when the digital camera 1 returns to the state ST20 again after the album registration. As shown in FIG. 14, in the screen, the captured image is displayed and a mark MK1 is displayed in a lower right part in the screen so as to be overlaid on the captured image. The mark MK1 indicates that the captured image is already registered. By the mark MK1, the operator can easily determine that the image has been already registered in an album or not. Not only in the screen of the state ST20 but also screen in the states ST21 and ST22, the mark MK1 is similarly displayed. Consequently, a similar effect can be obtained in any of the states.


[0176] Although the case of outputting a warning of overlap registration and inhibiting generation of a plurality of album files (album image files) based on the same data file (captured file) has been described above, the present invention is not limited to the case.


[0177] For example, without outputting the warning of overlap registration, generation of a plurality of album files based on the same data file can be inhibited. In other words, with respect to a data file of which corresponding album file has been already generated, re-generation of an album file based on the data file can be inhibited.


[0178] More specifically, when overlap registration is detected in step SP53 or SP63 (FIG. 12), without displaying the warning screen of the overlap registration of step SP55 or SP65, the album file generating process in step SP54 or SP64 is not performed.


[0179] Alternately, the overlap registration may be avoided not by the determining operation in step SP53 or SP63 after the digital camera shifts from the state ST21 (FIG. 11) to the state ST22 but by an operation of displaying a screen as shown in FIG. 15 on the LCD 5 in the state ST21 so as not to shift to the state ST22. In FIG. 15, the sign on the left side of the option of “additional registration to album” is the x mark, so that the option cannot be selected even by key operation of the operator. Therefore, the digital camera 1 cannot move from the state ST21 to the next state ST22 (FIG. 11) in which a registration operation is performed, so that overlap registration can be avoided. As described above, by preventing the option for album registration from being selected on the menu screen of each captured file (data file) in the reproduction mode, the album registration operation may be inhibited on the captured file which has already been registered into an album.


[0180] In contrast, even in the case of outputting the warning of overlap registration, re-generation of the album file may be permitted under a predetermined condition. Concretely, a warning of overlap registration is outputted on a warning display screen in step SP55 and an inquiry of whether the album registration is forcedly performed or not is made. Only when an instruction of forcedly performing the album registration is received, the album registration process may be performed. In this case, a chance of determination by the user can be obtained, so that overlap registration can be avoided.


[0181] Album Registration of File other than Still Image File


[0182]
FIG. 16 is a diagram showing an example of a file group stored in the captured file folder in the memory card 90 by the image capturing operation or the like of the digital camera 1.


[0183] In the digital camera 1, as shown in FIG. 16, files other than a still image file (for example, “Pict0010.jpg”), concretely, data files regarding a moving image and sound can be set as objects of album registration. More specifically, each of a sound file of “voice memo” (for example, “Pict0011.wav”), a sound file obtained by “voice record” (for example, “Pict0012.wav”), a sound file obtained by “after recording” (for example, “Pict0032.wav”), and a moving image file regarding “moving image” (for example, “Pict0013.avi”) can be set as an object of album registration.


[0184] Prior to description of the album registering work on various data files, outline of each of the data files will be described.


[0185] Each of the files obtained by “voice memo”, “voice record” and “moving image” is obtained by a predetermined operation using the capturing menu screen G11 or the like.


[0186] For example, when the capturing mode is set to “voice memo” and the shutter release button 9 is depressed, a still image is captured and sound is recorded for predetermined time. FIG. 16 shows the case where the still image file “Pict0011.jpg” is obtained by the image capturing operation together with the sound file “Pict0011.wav” recorded as a voice memo. Although the files have different extensions, their file number is the same. By setting the same file number, it can be easily determined that the files are related to each other.


[0187] When the capturing mode is set to “voice record” and, after that, the shutter release button 9 is depressed, recording of sound is started. When the shutter release button 9 is depressed again, the recording of sound is finished. By the recording operation, only a sound file (for example, “Pict0012.wav”) obtained by “voice record” is generated. Since a file of the same number does not exist in the captured file folder, it can be determined that no captured image is related to the sound data.


[0188] Further, when the capturing mode is set to “moving image file” and the shutter release button 9 is depressed, a moving image recording operation is started. When the shutter release button 9 is depressed again, the moving image recording operation is finished. By the recording operation (image capturing operation), only a moving image file (for example, “Pict0013.avi”) is generated.


[0189] The sound data obtained by “after recording” is acquired through a state transition as shown in FIG. 17. Concretely, first, by selecting the item of “image edition” from options in the reproduction menu displayed on the LCD 5 in the state ST21 (see also FIG. 7) and depressing the execution button 8a, the digital camera 1 shifts to the state ST26. When the item of “after recording” is selected from a menu screen (sub menu of “image edition”) G26 displayed on the LCD 5 in the state ST26 and the execution button 8a is depressed, the digital camera 1 shifts to the state ST27. In the state ST27, recording with the microphone 12 is executed, and the ratio of recording time to the maximum recordable time is displayed by a progress bar. After lapse of the maximum recordable time or when the execution button 8a is depressed again, the after recording is finished. A sound file is generated and associated with a still image file.


[0190] For example, when the after-recording operation is performed on the still image file “Pict0021.jpg” after capturing the still image file “Pict0031.jpg”, a sound file “Pict0032.wav” is generated in a state where it is associated with the still image file “Pict0021.jpg”. The information of association is recorded into the tag information TG of the still image file “Pict0021.jpg” by the digital camera 1. Concretely, “Pict0032.wav” is written as the name of a related file, thereby associating the two files.


[0191] The sound file obtained by after-recording and the sound file obtained by voice memo are different from each other with respect to the following point. The former file is generated at the time point of reproduction of a captured image whereas the latter file is generated at the time point of capturing of an image.


[0192] In the reproduction mode display screen (more specifically, a display screen in states ST21, ST22 and the like (see FIG. 11)), various files are displayed as reproduction images in a state as shown in FIG. 18. FIG. 18 is a diagram showing the screens at the time of reproducing various files. Also in the album reproduction mode, according to the kind of each file, display screens similar to those of FIG. 18 are displayed as album images.


[0193] Concretely, a still image file which is not associated with a sound file is displayed as it is on the LCD 5 without being designated with the mark indicative of relation to sound.


[0194] A still image file which is associated with a sound file (for example, a still image file subjected to “after recording” or a still image file captured in the “voice memo ” mode) is displayed on the LCD 5 in a state where the mark MK2 indicative of sound data is attached to the still image. It clearly shows that the image is associated with sound. In response to depression of execution button 8a after that, an operation of reproducing sound data is started.


[0195] Further, with respect to a sound file which is not associated with another image file (for example, a sound file recorded in the “voice recording” mode), a mark MK3 indicative of sound data which is not associated with a captured image is displayed on the LCD 5 without an image. In response to depression of the execution button 8a, an operation of reproducing sound data is started.


[0196] With respect to a moving image file, first, the head frame is displayed. In response to depression of the execution button 8a, an operation of reproducing a moving image started.


[0197] The outline of the data file has been described above.


[0198] An album registration work of various data files will now be described. The general flow is as described above with reference to FIG. 12. When at least one file of a kind in a captured file folder is designated as a file to be subjected to album registration in state ST22 in the reproduction mode, the album registration operation is executed in the flow as described above.


[0199] Although the description has been given with reference to FIG. 13 on precondition that the file to be registered is a still image file, a general album file generating process (steps SP54 and SP64) will now be described with reference to FIGS. 19 and 20. The album file generating process of FIGS. 19 and 20 can be also applied to files other than a still image, concretely, each of the plurality of kinds of files as shown in FIG. 18.


[0200] First, in step SP81, whether a file to be registered in an album is a moving image file or not is determined. If “Yes”, the program advances to step SP101. If “No” (to be specific, when the file to be registered is a still image file or a sound file), the program advances to step SP82.


[0201] In step SP82, whether the object to be registered is a file of only sound or not is determined. If “Yes” (that is, in the case of a sound file obtained by “voice recording”), the program advances to step SP96. If “No” (that is, in the case of still image data associated with sound data), the program advances to step SP83.


[0202] In the case where the captured file to be registered is a simple still image file, the processes in steps SP83, SP84 and SP85 are performed and, after that, it is determined in step SP86 that no sound is associated with the captured image. Further, the processes in steps SP87 and SP88 are performed and the program advances to step SP89.


[0203] The processes in steps SP83, SP84, SP85, SP87 and SP88 are similar to those in steps SP71, SP72, SP73, SP74 and SP75, respectively. In step SP89, the album information file (“Album.inf”) is updated.


[0204] On the other hand, when the captured file to be registered has a related sound file, the processes in steps SP83, SP84 and SP85 are performed. After that, it is determined in step SP86 that sound is associated with the captured image. Further, the processes in steps SP91, SP92, SP93, SP94 and SP95 are performed, both the captured image file and the sound file are registered in an album and, after that, the program advances to step SP89. In step SP89, the album information file (“Album.inf”) is updated.


[0205] For example, the case of registering the still image file “Pict0021.jpg” subjected to the “after recording” work into an album will now be described. With the still image file “Pict0021.jpg”, the sound file “Pict0032.wav” is associated by the “after recording” work (see FIG. 16). FIG. 21 is a diagram showing the contents of the album information file which has been updated in step SP89.


[0206] In this case, first, in step SP91, the file name of a new album sound file is determined. More specifically, it is determined that the same name (except for the extension part) as that of the new album image file determined in step SP85 is designated to the new album sound file. For example, in the case where the name “Albm0101.jpg” is given to the album registration file of the still image file “Pict0021.jpg”, the name “Albm0101.wav” is given to the album registration file of the sound file “Pict0032.wav”. As described above, the new album image file and the new album sound file have the same first eight characters (the first four characters of “Albm” and the following four characters indicative of the serial number). Therefore, the relationship can be easily recognized.


[0207] In the following step SP92, as tag information of the new album image file, the new album sound file name related to the new album image file is recorded. For example, as the tag information of the new album image file “Albm0101.jpg”, information associated with the new album sound file “Albm0101.wav” is written. Also by the association information, the relationship between the files can be recognized.


[0208] In step SP93, an album image file is newly actually generated in an album folder and an attribute of “read only” is given to the new album image file. In step SP94, a new album sound file is actually generated in an album folder. The new album sound file is generated by copying the file “Pict0032.wav” and the name determined in step SP91 is given as the file name. In step SP95, “read only” attribute is given also to the album sound file.


[0209] In the case where the file to be registered is sound data obtained by “voice recording”, the program advances from step SP82 to step SP96 and, through steps SP94 and SP95, the sound file obtained by “voice recording” is singly registered in an album. The data in the album registration is written in the album information file (“Album.inf”) (step SP89).


[0210] Concretely, in step SP96, the name of a new album sound file is determined by adding a serial number of four characters to the four characters “Albm” indicative of an album file. The serial number is determined as a value obtained by incrementing the last serial number of album files written in an album information file by one. As the extension of the file, “wav” indicative of a sound file is added. After that, the new album sound file of the name determined in step SP96 is actually generated in the album folder (step SP94) and the “read only” attribute is given to the album sound file (step SP95). After that, in step SP89, the album information file (“Album.inf”) is updated, for example, as shown in FIG. 22. FIG. 22 shows a part of the album information file when a copy file of the sound file “Pict0012.wav” is generated as the album sound file “Albm0101.wav”.


[0211] When the file to be registered is a moving image, the program advances from step SP81 to step SP101. In step SP101, which one of an option of registering only the head frame of a moving image into an album or an option of registering all of frames of a moving image into an album is selected as an album registration file is determined.


[0212] In the digital camera 1, a selecting operation regarding such setting can be performed in advance by using a screen as shown in FIG. 23. The screen is displayed on the LCD 5 by selecting the item “setup of camera” in the state ST11, ST21 or ST31 and, in a menu screen displayed by the selection, selecting “registration of moving image file into album”. By selecting a desired option of either “only head frame” or “all frames” in the screen with the up and down keys 7a and 7b and execution button 8a, a desired setting state can be obtained.


[0213] In step SP101, when it is determined that album registration of only the head frame of a moving image is set, only the head frame of a moving image is extracted (step SP102) and the program advances to step SP84. After that, through steps SP85, SP86, SP87 and SP88, a still image as the head frame of the moving image is registered as an album file in the album folder. After that, in step SP89, the album information file (“Album.inf”) is updated, for example, as shown in FIG. 24. FIG. 24 is a diagram showing a part of the album information file when a copy file of the still image of the head frame of the moving image file “Pict0013.avi” is generated as the album image file “Albm0101.jpg” in the album folder.


[0214] On the other hand, when it is determined in step SP101 that album registration of all of frames of the moving image is set, a moving image file itself is registered as an album.


[0215] Concretely, the digital camera 1 determines the file name of the new album file (step SP103). To be specific, a file name having a serial number obtained by incrementing the largest serial number in existing album files obtained by referring to the album information file is determined. The moving image file to be registered is copied into an album folder, thereby generating an album moving image file (step SP104). To the new album moving image file, the name determined in step SP103 is given. The file attribute of the album moving image file is set to “read only” (step SP105). After that, in step SP89, the album information file (“Album.inf”) is updated, for example, as shown in FIG. 25.


[0216]
FIG. 25 is a diagram showing a part of the album information file when a copy file of the moving image file “Pict0013.avi” itself is generated as an album moving image file “Albm0101.avi” in the album folder.


[0217] In such a manner, various kinds of files can be registered in an album.


[0218] As described above, the digital camera 1 is constructed so that an image captured by photographing is stored in a captured file folder in association with the photographing operation. In the case where the operator performs a predetermined operation to store a favorite captured image, an album file corresponding to the captured file stored in the captured file folder is stored in an album folder in an area different from the captured file folder.


[0219] Since the file attribute of the album file is set as “read only” attribute at the time of registration to the album folder, each album file is protected so that data can be prevented from being changed or deleted due to an erroneous operation or the like. The protection which is set for the album file can be canceled as will be described later.


[0220] In the case where the album file is protected, in the album reproduction mode, a screen is displayed so as to clearly indicate that data deletion and modification to the file is inhibited (the file is in the protected state). For example, as shown in FIG. 26, an album image or the like is displayed in the state ST30 in the album reproduction mode and a mark MK4 is overlaid on an album image or the like in an upper right part in the screen. The mark MK4 indicates that the album file to be reproduced is protected. By the mark MK4, the operator can easily determine that the album file of an image or the like displayed on the LCD 5 is prohibited from being deleted or the like. Not only in the screen of the state ST30 but also in a screen of a state ST31 or the like, a similar mark MK4 is displayed. In any of the states, similar effects can be obtained.


[0221] In the embodiment, when the image file associated with a sound file (for example, image file obtained by “voice memo”) is designated as an object to be registered in an album, not only the image file but also the sound file associated with the image file is also registered as an album file. Therefore, without requiring an operation of separately registering a sound file, both of the image file and the sound file can be registered as an album file. That is, the operation is easy. When a file associated with another file (for example, an image file obtained by “voice memo”) is an object of registration, a file based on the another file (for example, sound file obtained by “voice memo”) is also generated as an album file, so that album registering operation is easy.


[0222] Also at the time of batch registration, not only an album file based on an image file but also an album file based on a file of sound data or the like associated with the image file are generated. Therefore, files including an associated file can be registered as album files with reliability. Particularly, in the case of album-registering all of files in a predetermined folder by a batch registration operation as described above, all of the files in the predetermined folder including an associated data file can be easily album-registered.


[0223] Further, album file association information is managed in a lump in the album information file. Concretely, the album information file includes information of association of album files to files associated with each other, and the overall control unit 50 manages the association information by using the album information file. Since the information of association among album files is managed by using the album information file as described above, as compared with the case of managing the association information only on the album file unit basis, the information is well-organized and is easily managed.


[0224] In the case where the option of album-registering only the head frame of a moving image is selected in FIG. 23, a still image file corresponding to a predetermined frame (in this case, the head frame) in the moving image file is generated as an album file corresponding to the moving image file. In this case, as compared with the case of album-registering the whole moving image file as an album file, the file capacity (data size) can be suppressed.


[0225] Protection of Data Stored in Captured File Folder


[0226] Protection of a captured file stored in a captured file folder will now be described.


[0227] As described above, image data or sound data obtained by photographing or recording is stored as a captured file to which archive attribute is given in association with photographing or recording into a captured file folder. In other words, a captured file obtained by photographing or recording is stored in a captured file folder in a state where data modification and deletion is permitted. Consequently, there is the possibility that a captured file is easily deleted by erroneous operation or the like.


[0228] In order to prevent such a situation, the digital camera 1 can protect also a captured file stored in a captured file folder on the basis of a protection setting operation by the user.


[0229]
FIG. 27 is a diagram of a state transition in the digital camera 1 and shows a state transition in the case of protecting a captured file by mainly illustrating a change in the display state in the LCD 5. As shown in FIG. 27, when the user depresses the menu button 8b in the state ST20 in which a captured image or the like is displayed on the LCD 5 in the reproduction mode, the reproduction menu screen is displayed and the program shifts to the state ST21. When the operator selects the item of “protect” from options of the reproduction menu displayed on the LCD 5 and depresses the execution button 8a, the digital camera 1 shifts to the state ST23.


[0230] In the protecting operation screen shown in the state ST23, as option items, four items of “this image”, “all images”, “cancel of protection of this image” and “cancel of protection of all of images” are displayed. “This image” is an option item for setting protection on an image or the like to be reproduced, which is displayed as a background at that time point. “All images” is an option item for setting protection on all of captured files stored in a captured file folder in a lump. “Cancel of protection of this image” is an option item for canceling the setting of protection on the image or the like to be reproduced, which is displayed as a background at that time point. Further, “cancel of protection of all of images” is an option item for canceling protection on all of captured files stored in a captured file folder.


[0231] When the user selects one of the option items and depresses the execution button 8a, the file attribute AT of the designated captured file is changed and the digital camera 1 returns to the state ST21. For example, when the protection setting operation is selected, the file attribute of the captured file selected is changed from “archive attribute” to “read only attribute”. When the setting of protection of the captured file is made, to show that the image or the like to be reproduced is protected, a mark MK5 is displayed in a part of the screen (see FIG. 27). By the indication of the mark MK5, the user can easily determine that the captured file of the image displayed on the LCD 5 is prohibited from being deleted.


[0232] Deletion of Data Registered in Album


[0233] The case of deleting an album file registered in an album folder will now be described.


[0234] As already described above, when a file stored in a captured file folder by photographing or recording is registered in an album folder by an album registering operation, the album file is protected at the time point, so that the album file stored in the album folder cannot be deleted.


[0235] Consequently, in the case of deleting an album file, first, a process of canceling protection which is set on the album file has to be performed. The cancellation of protection can be executed when the operator performs an operation of canceling protection.


[0236]
FIG. 28 is a diagram showing a state transition in the digital camera 1 and shows the state transition in the case of changing a protection set state on the album file by mainly illustrating a change in a display state in the LCD 5. As shown in FIG. 28, when the operator depresses the menu button 8b in the state ST30 in which an album image or the like is displayed on the LCD 5 in the album reproduction mode, an album reproduction menu screen is displayed and the digital camera 1 shifts to the state ST31.


[0237] In the state ST31, when the album file protection setting is not canceled, the item of “delete” in the album reproduction menu screen is displayed in an unselectable state (x mark is given in FIG. 28), thereby inhibiting deletion of the album file to be reproduced from being selected. When the user selects the item of “protect” in the option items in the album reproduction menu displayed on the LCD 5 and depresses the execution button 8a, the digital camera 1 shifts to the state ST33.


[0238] In the protection operation screen shown in the state ST33, as option items, items similar to those for a captured file (see the state ST23 in FIG. 27) are displayed. Specifically, the four items of “this image”, “all of images”, “cancel of protection of this image” and “cancel of protection of all of images” are displayed. The items are similar to those in the case of setting protection on a captured file. Therefore, when the operator desires to cancel protection on one album file displayed as a background image or the like on the LCD 5, the user selects “cancel of protection on this image”. When the user desires to cancel the protection of all of album files stored in an album folder in a lump, the user selects “cancel of protection of all of images”. After that, the execution button 8a is depressed, thereby changing the file attribute AT of the album file selected from “read only attribute” to “archive attribute”. At this time, the album information file (“Album.inf”) stored in the album folder is rewritten.


[0239]
FIG. 29 is a diagram showing an example of rewriting an album information file. In association with cancellation of protection of the album file (Albm0003.jpg) stored in an album folder, the file attribute AT of the album file (Albm0003.jpg) is changed to the archive attribute and, as shown in FIG. 29, the file attribute shown in the album information file (“Album.inf”) is also changed from “read only attribute” to “archive attribute”.


[0240] After the file attribute is changed, the digital camera 1 changes to the state ST31 and the item of “delete” in the option items in the album reproduction menu is displayed in a selectable state. At this time, the mark MK4 displayed in a part of the screen of the LCD 5 is switched to non-display, so that the user can visually grasp that the protection set on the album file to be displayed is canceled.


[0241] By the above operation, the setting of protection on the album file is canceled and the album file of which protection is canceled becomes deletable. In the case of setting protection again on the album file of which protection is canceled once, it is sufficient to perform an operation similar to the protection setting operation on the captured file.


[0242]
FIG. 30 is a diagram showing a state transition in the digital camera 1 and shows a state transition in the case of deleting an album file of which protection is canceled by mainly illustrating a change in the display state in the LCD 5.


[0243] As shown in FIG. 30, in the state ST30 in which an album image or the like is displayed on the LCD 5 in the album reproduction mode, when the operator depresses the menu button 8b, the album reproduction menu screen is displayed and the digital camera 1 shifts to the state ST31. In the state ST31, when the album file protection setting is canceled, the item of “delete” in the album reproduction menu screen is displayed in a selectable state. When the operator selects the item of “delete” from the option items in the reproduction menu displayed on the LCD 5 and depresses the execution button 8a, the digital camera 1 shifts to the state ST34.


[0244] In the state ST34, a deleting operation screen with a screen title of “delete of album image” is displayed. By the screen, the user can grasp that an object to be deleted is an album image or the like stored in an album folder. In the deleting operation screen, two items of “this image” and “all of images” are displayed as option items. “This image” is an option item for deleting an image to be reproduced or the like and displayed as a screen background at that time point from an album folder. “All of images” is an option item for deleting all of album files stored in an album folder in a lump.


[0245] When the user selects one of the option items and depresses the execution button 8a, a designated album file is determined as an object to be deleted. After that, the digital camera 1 shifts to a state ST34a.


[0246] In the state ST34a, a warning indicating that the operator is deleting an album file is displayed on the LCD 5. When the operator depresses the menu button 8b while the warning is displayed, the selected album file is not deleted and the digital camera 1 returns to the state ST31. On the other hand, when the operator depresses the execution button 8a while the warning is displayed, the digital camera 1 shifts to a state ST35 and a process of deleting the selected album file is executed. The warning is indicated in the state ST34a in order to prevent the album file from being deleted by an erroneous operation or the like. By urging the user to perform another input operation in the warning indication, the album file is prevented from being erroneously deleted.


[0247] In the state ST35, a message indicating that the album file is being deleted is displayed on the LCD 5 and a designated album file is deleted from the album folder. At this time, the overall control unit 50 specifies the original captured file of the album file to be deleted by referring to the album information file and determines whether the captured file as a registration source exists in the captured file folder or not. When the captured file as a registration source exists, the tag information TG of the captured file as a registration source is rewritten (state ST35a). Concretely, information regarding “presence/absence of album registration” in the tag information TG is rewritten from “presence” to “absence”. Information regarding an album file to be deleted is deleted from the album information file (“Album.inf”) (state ST35b), and the digital camera 1 returns to the state 31.


[0248] By the above operation, deletion of the album file stored in the album folder in association with the registration operation is completed.


[0249] A case of deleting a captured file stored in the captured file folder will now be described. To a captured file stored in the captured file folder, as a rule, an archive attribute is given. In the case of setting protection to the captured file by the operator, in a manner similar to the case of the album file, an operation of canceling the protection is performed prior to the deleting operation. After canceling the protection, the captured file becomes deletable.


[0250]
FIG. 31 is a diagram showing a state transition in the digital camera 1 and shows a state transition in the case of deleting a captured file to which protection is not set by mainly illustrating a change in the display state in the LCD 5. As shown in FIG. 31, in the state ST20 in which a captured image or the like is displayed on the LCD 5 in the reproduction mode, when the user depresses the menu button 8b, the reproduction menu screen is displayed and the digital camera 1 shifts to the state ST21. In the state ST21, in the case where the protection is not set to the captured file, the item of “delete” in the reproduction menu screen is displayed in a selectable state. When the operator selects the item of “delete” from the option items in the reproduction menu displayed on the LCD 5 and depresses the execution button 8a, the digital camera 1 shifts to the state ST24.


[0251] In the state ST24, a deleting operation screen with a screen title of “delete of captured image” is displayed. By the screen, the user can grasp that an object to be deleted is a captured image or the like stored in a captured file folder. In the deleting operation screen, two items of “this image” and “all of images” are displayed as option items. The items are similar to those in the case of deleting an album file (see the state ST34 in FIG. 30). When the operator selects one of the option items and depresses the execution button 8a, a designated captured file is determined as an object to be deleted. After that, the digital camera 1 shifts to the state ST25, a message indicating that the captured file is being deleted is displayed on the LCD 5, and the designated captured file is deleted from the captured file folder. After completion of the deleting process, the digital camera 1 returns to the state ST21.


[0252] By the above operations, deletion of the captured file captured and stored in the captured file folder is completed.


[0253] As described above, the digital camera 1 displays a screen with a title at the time of deleting a file stored in the memory card 90 so that the file to be deleted can be clearly recognized as a captured file or album file. Thus, the possibility that the album file is deleted erroneously can be reduced.


[0254] Particularly, in the case where a deletion instruction is given to an album file, a warning (for example, the state ST34a in FIG. 30) which is not displayed in the case of a captured file is displayed. Consequently, the object to be deleted can be easily recognized as an album file at the stage of the warning indication, so that the album file can be prevented from being deleted by erroneous operation or the like of the operator. Specifically, when the same screen display format is employed for both of the case where the file to be deleted is a captured file and the case where the file to be deleted is an album file, there is the possibility that the operator deletes the album file by mistake when he/she intends to delete the captured file. In the case of deleting an album file, by performing display different from the case of deleting a captured file, an album file can be prevented from being unintentionally deleted.


[0255] The album file is protected at the time of registration. At the time of deleting or changing the album file, the operation of canceling the protection is necessary. It also can prevent that an album file is unintentionally deleted or changed.


[0256] When the album file deleting process is executed, the album file selected from the album folder is deleted. The album file deleted from the album folder may be moved to another folder (for example, a specific folder such as the Trash folder). By storing the deleted file in another specific folder, the file deleted by erroneous operation or the like can be re-used, so that it is useful from the viewpoint of file protection. Also at the time of deleting a captured file, the file may be moved to a specific folder.


[0257] Image Edition and So On


[0258] In the digital camera 1, an editing process for a captured file can be performed by a predetermined operation.


[0259] The editing process will now be described. One of the editing processes is an image editing process. The image editing process includes an imaging process for processing an image itself and an after-recording process for adding sound to an image. As the imaging process, for example, processes of rotation of a still image, brightness adjustment, and color conversion, and a process of extracting a designated range in a moving image can be performed. The editing processes are performed under control of the overall control unit 50.


[0260] The editing works on a captured file are not limited to the above but may include a sound data editing work (sound cutting or extracting process or the like).


[0261] First, the process of rotating a still image will be mainly described later.


[0262]
FIG. 32 is a diagram showing a state transition in the image rotating process. As shown in FIG. 32, when the item of “image edition” is selected in the reproduction menu screen G21 (FIG. 9) displayed on the LCD 5 in the state ST21 and the execution button 8a is depressed, the digital camera 1 shifts to a state ST26. When the item of “rotation” is selected in the menu screen G26 displayed on the LCD 5 in the state where ST26 and the execution button 8a is depressed, the digital camera 1 shifts to a state ST28.


[0263] In the state ST28, options for selecting the kind of rotation are shown. Concretely, either a rotation process of +90 degrees or a rotation process of −90 degrees can be selected. On a screen G28 in the state ST28, images indicative of a simulation result of the two kinds of rotation processes are displayed as options. When the operator selects a desired image by using the right or left key 7d or 7c and depresses the execution button 8a, the digital camera 1 shifts to the next state ST29. FIG. 32 shows a state where the rotation process of +90 degrees indicated in the thick-line frame is selected.


[0264] In the state ST29, a dialogue for determining whether an image subjected to the editing process is written over an image which has not been subjected to the editing process yet or generated as a new file is displayed. When the operator selects a desired option in the options in the dialogue and depresses the execution button 8a to enter “new file generation instruction” or “overwriting instruction”, the editing process (rotation process) or the like is started.


[0265]
FIG. 33 is a flowchart showing the rotation process. The rotation process is realized by processing a branched process (step SP111) in accordance with a rotation angle (rotation direction) designated by the operator as shown in FIG. 33 and, after that, performing predetermined coordinate transformation. Concretely, a transforming process (step SP112) of rotation of +90 degrees or a transforming process (step SP113) of rotation of −90 degrees is performed.


[0266] After that, according to designation in the state ST29, an image subjected to the editing process is stored as a new file or a file having the same name as that of the file which is not subjected to the editing process yet. In tag information of the edited image file, the fact such that the image was subjected to the editing process is also additionally recorded. In the case where the image is stored as a new file, the serial number included in the same is a value obtained by incrementing the serial number of a file captured most recently.


[0267] The process of adjusting brightness of a still image will now be described. When the operator selects the item of “brightness” in the menu screen G26 (FIG. 32) displayed on the LCD 5 in the state ST26 and depresses the execution button 8a, a screen GB for adjusting “brightness” is displayed on the LCD 5 and the brightness adjusting process is executed.


[0268]
FIG. 34 is a diagram showing the screen GB. In the screen GB, a slider SD is shown. The operator can change a coefficient (parameter) K for brightness adjustment by moving the head of the black part in the slider SD to the right or left by using the right or left key 7d or 7c.


[0269] The coefficient K denotes an adjustment coefficient of each of color components (R (red), G (green) and B (blue)) of each pixel. A value obtained by multiplying each color component value before adjustment by the coefficient K is calculated as a new color component value. The coefficient K is changed to any of values in 10 steps in 0.1 increments from the lower limit value 0.5 to the upper limit value 1.5. Concretely, each time the right or left key 7d or 7c is depressed, the head of the black part in the slider SD moves to the right or left side, and the coefficient K is changed by +0.1 or −0.1. In the screen GB, an image subjected to brightness adjustment with the coefficient K is displayed as a background image. The operator can consequently preview a result of the adjustment.


[0270]
FIG. 35 is a flowchart showing the brightness adjusting process.


[0271] First, whether the right or left key 7d or 7c is depressed or not is determined (step SP121). When depression of the key is detected, the value of the coefficient K is changed (step SP122). Concretely, when the left-side key 7c is depressed, the value of the coefficient K is set as a value derived by subtracting 0.1 from a set value just before the depression. When the right-side key 7d is depressed, the value of the coefficient K is set as a value obtained by adding 0.1 to the set value just before the depression.


[0272] After that, the indication of the slider SD is updated (step SP123) and the brightness of an image displayed as a background image in the screen GB is adjusted (step SP124). Concretely, a value obtained by multiplying each of color component values (R (red), G (green) and B (blue)) of each pixel in a display image by the coefficient K is calculated as a new color component value, thereby updating the displayed image.


[0273] After a similar operation is repeated, when depression of the execution button 8a by the operator is determined (step SP125), it is regarded that the coefficient K in the brightness adjustment is determined and the program advances to step SPI26 where a process of adjusting actual brightness of an image to be recorded is performed. Concretely, a value obtained by multiplying each of the color component values (R (red), G (green) and B (blue)) of each pixel in image data DP of high resolution of a captured image by the coefficient K is calculated as a new color component value, thereby generating image data DP of a captured image.


[0274] After that, a screen regarding storage of a result of the process is displayed. In the screen, the operator selects a desired option regarding whether an image subjected to the editing process is generated as a new file or written over a file which has not been subjected to the editing process yet and depresses the execution button 8a. In response to the depression, the image subjected to the editing process is stored as a new file or a file having the same name as the image which has not been subjected to the editing process yet. At the time of storage, a process similar to that at the time of the edition of rotation is performed.


[0275] The brightness adjusting process is performed as described above.


[0276] The color converting process on a still image will now be described. When the operator selects the item of “color conversion” in the menu screen G26 (FIG. 32) displayed on the LCD 5 in the state ST26 and depresses the execution button 8a, the screen GC for changing “color conversion” is displayed on the LCD 5 and the color converting process is executed.


[0277]
FIG. 36 is a diagram showing the screen GC. In the screen GC, the slider SD is indicated for each of the color components. The operator first selects a color component to be converted by moving the cursor CR by using the up and down keys 7a and 7b. By moving the head of the black part in the slider SD with respect to the selected color component to the right or left by using the right or left key 7d or 7c in a manner similar to the above, each of coefficients (parameters) Kr, Kg and Kb for color conversion can be changed.


[0278] The coefficients Kr, Kg and Kb are conversion factors of color components of (R (red), G (green) and B (blue)) of a pixel. A value obtained by multiplying the component value of R before conversion with the coefficient Kr is calculated as a new R component value. A value obtained by multiplying the component value of G before conversion with the coefficient Kg is calculated as a new G component value. A value obtained by multiplying the component value of B before conversion with the coefficient Kb is calculated as a new B component value.


[0279] Each of the coefficients Kr, Kg and Kb is changed to any of values in 10 steps in 0.1 increments from the lower limit value 0.5 to the upper limit value 1.5. In the screen GC, an image obtained by the color conversion with the coefficients Kr, Kg and Kb is displayed as a background image. Consequently, the operator can preview the conversion result.


[0280]
FIG. 37 is a flowchart showing the color converting process.


[0281] First, a color to be converted is determined. A change in the color to be converted is accepted by depression of the up and down keys 7a and 7b as described above.


[0282] In step S131, the color to be converted which is presently selected is determined and a branched process according to the determination result is performed.


[0283] When the R (red) component is selected as the color to be converted, the program advances from step SP131 to step SP132. When the G (green) component is selected, the program advances from step SP131 to step SP133. When the B (blue) component is selected, the program advances from step SP131 to SP134. Processes in steps SP132, SP133 and SP134 are similar processes so that step SP132 will be mainly described here.


[0284] In step SP132, first, whether the right or left key 7d or 7c was depressed or not is determined (step SP141). When depression of the key is detected, the value of the coefficient Kr is changed (step SP142). The changing method is similar to that with respect to the coefficient K.


[0285] After that, the indication of the slider SD is updated (step SP143) and the color of an image displayed as a background image in the screen GC is converted (step SP144). Concretely, by calculating, as a new R component value, a value obtained by multiplying the R component value of each of pixels in the displayed image with the coefficient Kr, the displayed image is updated.


[0286] A similar operation is performed when the G or B component is selected as a color to be converted, and a displayed image is updated by changing the coefficient Kg or Kb.


[0287] After repeating such an operation, when depression of the execution button 8a by the operator is determined (step SP135), it is regarded that the coefficients Kr, Kg and Kb in the color conversion are determined. The program advances to step SP136 where an actual color converting process of an image to be recorded is performed. Concretely, a value obtained by multiplying each of the color components (R (red), G (green) and B (blue)) of each of pixels in the image data DP of high resolution of a captured image with each of the coefficients Kr, Kg and Kb is calculated as a new color component value, thereby generating the image data DP of the captured image.


[0288] After that, a setup screen regarding storage of the process result is displayed. The operator selects a desired option regarding whether the edited image is generated as a new file or written over a file which has not been subjected to the editing process and depresses the execution button 8a. In response to the depression, the edited image is stored as a new file or a file of the same name as that which has not yet subjected to the editing process. At the time of storage, a process similar to that in the edition of rotation is performed.


[0289] In such a manner, the color converting process is performed.


[0290] An editing process on a moving image will now be described. When the operator selects the item of “moving image edition” in the menu screen G26 (FIG. 32) displayed on the LCD 5 in the state ST26 and depresses the execution button 8a, screens GD (GD1) for “moving image edition” work as shown in FIG. 38 are displayed on the LCD 5. Since a file to be displayed is a still image file, the item “moving image edition” is shown unselectably on the menu screen G26 in FIG. 32. When a file to be displayed is a file of a moving image, the item of “moving image edition” can be selected.


[0291] As shown in FIG. 38, the screen GD has a frame image display region R1 for displaying one of a plurality of frame images constructing moving image data and a bar region R2 indicative of a position of the frame image (hereinafter, also simply referred to as a frame) in the moving image. Each time the operator depresses the right or left key 7d or 7c, a frame to be displayed in the region R1 is fed reverse or forward one by one. On the right side of the region R1, the frame number of the frame to be displayed is indicated.


[0292] The operator determines the head frame Fs and the end frame Fe in a range to be extracted in the moving image file while seeing the frame displayed in the region R1. To determine the frames Fs and Fe, the execution button 8a is used. Concretely, the head frame Fs is determined by the first depression of the execution button 8a. The end frame Fe is determined by the second depression of the execution button 8a. Prior to the first and second depressions of the execution button 8a, the operator makes a desired frame displayed in the region R1.


[0293] A result of selection is displayed in the bar region R2. The bar region R2 is shown so that its overall length corresponds to the length of the whole moving image and the position of a frame in the whole moving image is indicated.


[0294] Concretely, when the execution button 8a is depressed for the first time, in the bar region R2, the part on the left side of a position Ps of the frame to be displayed in the whole moving image is determined as a non-selection region (blank region in the diagram). At this time point, the part on the right side of the position Ps is shown as a selected region (hatched region in the drawing).


[0295] When the execution button 8a is depressed for the second time, in the bar region R2, the part on the right side of a position Pe in the whole moving image is determined as a non-selection region. As a result, the region between the positions Ps and Pe is determined as a selected region. FIG. 39 shows a state that, in the whole moving image, the range from the head frame Fs to the end frame Fe is determined as a selected region SZ.


[0296]
FIG. 40 is a flowchart showing the moving image editing process.


[0297] First, whether the right or left key 7d or 7c is depressed is determined (step SP151). If Yes, a frame to be displayed is changed (step SP152). Concretely, when the left key 7c is depressed, the frame to be displayed is fed reverse by one. When the right key 7d is depressed, the frame to be displayed is fed forward by one.


[0298] After that, the processes of steps SP151 and SP152 are repeated until the execution button 8a is depressed. When the execution button 8a is depressed, the program advances from step SP153 to step SP154.


[0299] In step SP154, the number of depression times of the execution button 8a is determined.


[0300] When the execution button 8a is depressed for the first time, it is determined that the head frame Fs has not been determined yet. The program advances to step SP155 and the frame selected as a frame to be displayed at the time of depression of the execution button 8a is determined as the head frame Fs. After that, the program returns again to step SP151 and the operation of changing the frame to be displayed is continued.


[0301] On the other hand, when the execution button 8a is depressed for the second time, it is determined that the head frame Fs has been already determined. The program advances to step SP156 where the frame selected as a frame to be displayed at the time of depression of the execution button 8a is determined as the end frame Fe.


[0302] After that, a dialog for confirmation including characters indicating “Do you want to generate a moving file?” is displayed on the LCD 5 (step SP157). In the dialog (not shown), two options of “Yes” and “No” exist. The operator selects one of the options by the key operation and depresses the execution button 8a.


[0303] When depression of the execution button 8a is determined (step SP158), the program advances to step SP159 and a branched process according to the selected one of the options of “Yes” and “No” is performed.


[0304] In the case where “No” is selected, in step SP160, the selection of the head frame Fs and the end frame Fe is reset and the digital camera 1 returns to the state ST26.


[0305] On the other hand, when “Yes” is selected, in step SP161, the moving image in the interval from the head frame Fs to the end frame Fe is extracted from the original moving image and generated as a new moving image.


[0306] In such a manner, the moving image editing process, more specifically, the moving image designated range extracting process is executed. In the moving image editing process, by setting the same frame as the head frame Fs and the end frame Fe, one still image can be extracted.


[0307] In the digital camera 1, various kinds of edited data can be registered in an album. Concretely, when the digital camera 1 returns again to the state ST21 after completion of the editing process and “additional registration to album” is selected in the menu screen G21 (FIG. 9) displayed on the LCD 5 in the state ST21, the album registering process as described above is executed. In such a manner, the captured file subjected to the editing process can be registered into an album.


[0308] By the album registering operation, a file corresponding to a captured file subjected to the editing process is generated as an album file. The generated album file is stored in a folder different from a folder in which the captured file is stored. Since the file (album file) subjected to the editing process is stored so as to be discriminated from the captured file at this time, at the time of viewing the file subjected to the editing process (album file), a desired file can be easily retrieved.


[0309] In the case where the option of registering only the head frame of a moving image into an album is selected in FIG. 23, a still image file corresponding to a specific frame (the head frame in this case) in moving image files subjected to the editing process is generated as an album file corresponding to the moving image file. As described above, when a specific frame in the moving image files subjected to the editing process is registered as an album file, the file capacity (data size) can be suppressed as compared with the case where the whole moving image file is registered as an album file.


[0310] Further, in the digital camera 1, when an album file corresponding to the captured file subjected to the editing process is generated, the editing process on the generated album file is prohibited.


[0311] Concretely, in the menu screen G21 (FIG. 9) for performing various processes on the captured file, the option “image edition” indicating that the editing process on the captured file is to be executed is displayed. On the other hand, in the menu screen G31 (FIG. 10) for performing various processes regarding an album file, the option “image edition” indicating that the editing process on an album file is to be executed is not displayed (non-display). Therefore, the image editing work by the operator is not performed on an album file. That is, the editing process on an album file is prohibited. In the menu screen G31 in FIG. 10, “image edition” is not shown. However, the present invention is not limited to the method. For example, the option “image edition” may be prevented from being selected (to be unselectable) by any of various methods such that the option “image edition” itself is displayed but the x mark is shown on the left side of the option so that the option cannot be selected, and the cursor is prevented from being moved onto the option.


[0312] If the editing process is permitted to be performed on an album file, it is expected that the operator edits the album file and registers it into the album again. In this case, in order to maintain the correspondence relation between the newly registered album file and the original captured file, another data process becomes necessary. For example, it becomes necessary to perform a data process of, first, determining the captured file corresponding to the album file designated as an object of album registration, retrieving the captured file, further, extracting necessary information from the information of the captured file, and generating information of association with a newly generated album file. In other words, in order to obtain information of association with an album file newly generated, not only the information of an album file as a file of one generation ago of the new album file but also information of a captured file as a file of two generations ago of the new album file have to be retrieved.


[0313] In contrast, in the embodiment, the editing process is prohibited on the album file based on the edited captured file. Consequently, the album registration on the album file is not performed again, so that such a situation can be avoided. That is, to obtain information of association of the album file, it is sufficient to retrieve information of the captured file as the file of one generation ago of the album file. In other words, it is sufficient to manage information of simple one-to-one association between the album file and the captured file. Therefore, the corresponding relation between the original captured file and the album file is easily maintained.


[0314] As described above, in the case where the album film corresponding to the captured file subjected to the editing process is generated, the editing process on the generated album file is inhibited. Consequently, the album registering process is not performed on the album file corresponding to the captured file subjected to the editing process, and the corresponding relation between the original captured file and the album file is easily maintained.


[0315] By permitting “image edition” and prohibiting only “album registration” on an album file, re-registration of the edited file into an album can be also prevented. However, once the editing work on the image is started, the operator expects that the edited file can be registered into an album. Consequently, if the operator cannot register an image edited with effort, the technique cannot meet the operator's expectation. That is, operability deteriorates.


[0316] In contrast, when the “image edition” process itself on the album file is prohibited, such a situation can be more reliably prevented.


[0317] Although the case of inhibiting the editing process on all of album files was described in the embodiment, the present invention is not limited to the case. For example, the editing process may be prohibited only on an album file which is protected. Concretely, all of album files are protected at the time of registration whereas album registration may be permitted to an album file of which protection is canceled by a protection canceling operation. With a technique, an album file selected by the intention of the operator can be registered again into an album, so that the intention of the operator can be respected more.


[0318] In the digital camera 1, also in the case where the captured file which has not been subjected to the editing process is already registered into an album, a captured file subjected to the editing process (which is not an album file) can be newly registered into an album.


[0319] Concretely, in the case where the captured file subjected to the editing process is stored as a new captured file into a captured file folder, a new serial number is given to the new captured file, and the new captured file (captured file subjected to the editing process) is handled as a file different from the captured file which has not been subjected to the editing process. Consequently, when the album registration operation is performed by the user after that, irrespective of whether an album file based on the captured file which has not been subjected to the editing process is already generated or not, an album file corresponding to the captured file subjected to the editing process is newly generated.


[0320] In the case of writing the captured file subjected to the editing process over the captured file which is not yet subjected to the editing process, the edited captured file has the same file name as that of the captured file which is not yet subjected to the editing process. Consequently, in the case of determining that the files are the same on the basis of the above-described three pieces of information and registering the file into an album, there is a case such that the edited captured file is not registered in an album. Concretely, in the case where an album file corresponding to the captured file which is not yet subjected to the editing process is already generated, the edited captured file having the same name as that of the captured file which is not yet subjected to the editing process is not registered in an album.


[0321] The present invention is not limited to the above. Even in the case where the captured file which is not yet subjected to the editing process of the same name has already been registered in an album, the captured file subjected to the editing process may be also registered in an album.


[0322] Concretely, in tag information of the captured file subjected to the editing process, data that the file is an edited file and the date and time of editing are written. When an instruction of album registration on an edited image is given, the tag information is read to determine whether the files are the same or not. For example, even in the case where the file names of files to be registered in an album are the same, if “date and time of edition” is not the same, re-registration into an album is permitted. In the case where it is determined that the files are not perfectly the same, the edited captured file may be permitted to be registered in an album.


[0323] Alternately, data of “date and time of capturing” in the album information file may be overwritten with date and time of the edited file.


[0324] Others


[0325] Although the embodiment of the present invention has been described above, the present invention is not limited to the above.


[0326] For example, in the embodiment, the case of registering “all” of files in a captured file folder in a lump has been described with reference to FIG. 11 and the like. However, the present invention is not limited to the case. For example, only a plurality of files designated by the operator out of all of files in a captured file folder may be registered in a lump into an album.


[0327] Concretely, first, a screen (not shown) for designating an object of album registration is displayed on the LCD 5. In the screen, thumbnail images of images in a captured file folder and check boxes for the respective thumbnail images are displayed. By marking a check box corresponding to an image to be registered, a file to be registered into an album is designated. After that, in response to a predetermined batch registration instruction input (for example, depression of the execution button 8a), a batch registration operation on a plurality of files designated is realized. In this case as well, as compared with the case of performing album registration by repeating a set of operations of designating one file at a time and depressing the execution button 8a and the like, a plurality of files can be registered into an album more easily.


[0328] Although the case where an album image is stored in the memory card 90 has been described in the foregoing embodiment, the present invention is not limited to the case but an album image may be stored in a built-in memory of the digital camera.


[0329] While the invention has been shown and described in detail, the foregoing description is in all aspects illustrative and not restrictive. It is therefore understood that numerous modifications and variations can be devised without departing from the scope of the invention.


Claims
  • 1. An image capturing apparatus comprising: an image generator for generating image data; a first data file generator for generating a data file of a first kind including image data generated by said image generator; a second data file generator for generating a data file of a second kind different from said data file of the first kind on the basis of said data file of the first kind; a discriminator for determining whether or not a specific data file of the second kind corresponding to a specific data file of the first kind has been already generated; and a display for displaying a warning when it is determined by said discriminator that said specific data file of the second kind has already been generated.
  • 2. The image capturing apparatus according to claim 1, further comprising: a recorder for recording sound data, wherein each of said data files of the first and second kinds includes sound data.
  • 3. The image capturing apparatus according to claim 1, wherein said discriminator determines whether said specific data file of the second kind has been already generated or not by using an information file which includes information corresponding to data files of the second kind.
  • 4. The image capturing apparatus according to claim 3, wherein the information corresponding to said data files of the second kind includes a file name and an identification number of the image capturing apparatus, and said discriminator determines that said specific data file of the second kind has been already generated when both of the file name and the identification number of the image capturing apparatus of said specific data file of the first kind and those of one data file of the second kind coincide with each other.
  • 5. The image capturing apparatus according to claim 3, wherein the information corresponding to said data files of the second kind includes a file name, date and time of capturing, and an identification number of the image capturing apparatus, and said discriminator determines that said specific data file of the second kind has been already generated when all of the file name, the date and time of capturing, and the identification number of the image capturing apparatus of said specific data file of the first kind and those of one data file of the second kind coincide with each other.
  • 6. The image capturing apparatus according to claim 1, further comprising: an editor for editing image data included in said data file of the first kind, wherein said second data file generator generates a new data file of the second kind corresponding to a new data file of the first kind generated as a result of edition on image data included in said specific data file of the first kind even when said specific data file of the second kind corresponding to said specific data file of the first kind has already been generated.
  • 7. The image capturing apparatus according to claim 1, wherein said data file of the first kind and said data file of the second kind are respectively stored in different folders in a recording medium.
  • 8. The image capturing apparatus according to claim 1, wherein image data included in said data file of the first kind and image data included in said data file of the second kind is substantially the same image data.
  • 9. An image capturing apparatus comprising: an image generator for generating image data; a first data file generator for generating a data file of a first kind including image data generated by said image generator; a second data file generator for generating a data file of a second kind different from said data file of the first kind on the basis of said data file of the first kind; a discriminator for determining whether or not a specific data file of the second kind corresponding to a specific data file of the first kind has already been generated; and a controller for prohibiting a new data file of the second kind corresponding to said specific data file of the first kind from being generated by said second data file generator when it is determined by said discriminator that said specific data file of the second kind has already been generated.
  • 10. The image capturing apparatus according to claim 9, further comprising: a recorder for recording sound data, wherein each of said data files of the first and second kinds includes sound data.
  • 11. The image capturing apparatus according to claim 9, wherein said discriminator determines whether said specific data file of the second kind has been already generated or not by using an information file which includes information corresponding to data files of the second kind.
  • 12. The image capturing apparatus according to claim 11, wherein the information corresponding to said data files of the second kind includes a file name and an identification number of the image capturing apparatus, and said discriminator determines that said specific data file of the second kind has been already generated when both of the file name and the identification number of the image capturing apparatus of said specific data file of the first kind and those of one data file of the second kind coincide with each other.
  • 13. The image capturing apparatus according to claim 11, wherein the information corresponding to said data files of the second kind includes a file name, date and time of capturing, and an identification number of the image capturing apparatus, and said discriminator determines that said specific data file of the second kind has been already generated when all of the file name, the date and time of capturing, and the identification number of the image capturing apparatus of said specific data file of the first kind and those of one data file of the second kind coincide with each other.
  • 14. The image capturing apparatus according to claim 9, further comprising: an editor for editing image data included in said data file of the first kind, wherein said second data file generator generates a new data file of the second kind corresponding to a new data file of the first kind generated as a result of edition on image data included in said specific data file of the first kind even when said specific data file of the second kind corresponding to said specific data file of the first kind has already been generated.
  • 15. The image capturing apparatus according to claim 9, wherein said data file of the first kind and said data file of the second kind are respectively stored in different folders in a recording medium.
  • 16. The image capturing apparatus according to claim 9, wherein image data included in said data file of the first kind and image data included in said data file of the second kind is substantially the same image data.
  • 17. A method of generating a data file in an image capturing apparatus, comprising the steps of: a) generating image data by an image sensor; b) generating a data file of a first kind including the image data generated in step a); c) generating a data file of a second kind different from said data file of the first kind on the basis of said data file of the first kind; d) determining whether or not a specific data file of the second kind corresponding to a specific data file of the first kind has already been generated; and e) controlling an operation of the image capturing apparatus in accordance with a result of the determination.
  • 18. The method of generating a data file according to claim 17, wherein a warning is outputted when it is determined that said specific data file of the second kind has already been generated.
  • 19. The method of generating a data file according to claim 17, wherein a new data file of the second kind corresponding to said specific data file of the first kind is prohibited from being generated when it is determined that said specific data file of the second kind has been already generated.
Priority Claims (1)
Number Date Country Kind
P2003-063959 Mar 2003 JP