This application is based on Japanese Patent Application No. 2004-321649 filed on Nov. 5, 2004, the contents of which are hereby incorporated by reference.
1. Field of the Invention
The present invention relates to a digital camera for recording photographed images on a recording medium as image files, and a computer program for reading image files from such a recording medium.
2. Description of Related Art
Images photographed with a digital camera are played back for display and edited on a personal computer. The digital camera creates image files representing the photographed images and records the created image files on a recording medium. The personal computer reads the image files from the recording medium of the digital camera. The image files may be read via a cable that connects the personal computer and the digital camera. Alternatively, the image files may be read by the use of a removable recording medium that can be detached from the digital camera so as to be mounted on the personal computer.
Both the digital camera and the personal computer store image files in folders. With the personal computer, the user can create folders for storing image files therein. The user can classify image files by storing them in different folders for easier management. With the digital camera, the number of folders for storing image files is conventionally limited to one. In some recent digital cameras, a plurality of folders can be created on the recording medium so that the folder in which the image files are stored can be switched.
In the personal computer, the names of files and folders are displayed so that the user can identify these files and folders. Moreover, the images of files and the images of folders are displayed to further facilitate the identification. The images of files and the images of folders are displayed in different forms, thereby allowing the user to discriminate the files and folders at first sight.
Furthermore, in one brand of OS (Operating System) for the personal computer, namely Windows (a registered trademark of Microsoft Corporation) XP, a reduced image of one of the image files stored in a folder is displayed superimposed on the image of this folder. Displaying the image of an image file stored in a folder in a manner superimposed on the image of the folder in this way allows the user to easily recognize what images the folder stores. The user can specify the image file of the image to be displayed superimposed on the image of the folder. Up to four such images can be displayed simultaneously.
Japanese Patent Application Lain-Open No. 2003-339013 discloses a computer in which an image to be displayed superimposed on the image of a folder is set automatically. In this computer, the display time of each image is measured when it is played back for display, and the image kept displayed for the longest display time is set to be the one displayed superimposed on the image of the folder for display.
The above-mentioned OS function for displaying the image of the image file specified by the user in a manner superimposed on the image of the folder can also be used for the purpose of searching the recording medium of the digital camera connected via the cable or directly attached to the personal computer with a view to looking through folders created on the recording medium. However, moving (or copying) image files from the recording medium of the digital camera to the personal computer causes the loss of the information on the specified image file. As a result, when the image of the folder is displayed on the personal computer, no image is displayed on the folder. Therefore, the image file needs to be specified again to make the image displayed superimposed on the folder.
In many cases, the general user moves (copies) image files from the recording medium of the digital camera to the recording medium of the personal computer since no more new image can be photographed unless the image files are deleted from the recording medium of the digital camera. In such a case, which folders have stored which image files is ambiguously memorized, because a large number of image files have been stored and also a long period of time has passed since the images were photographed. Thus, in order to determine the image to be displayed superimposed on the folder on the personal computer, a great number of images need to be displayed to examine the contents thereof, which requires a long period of time.
According to the above-mentioned conventional technique, after the image of one or more image files are displayed on the computer, the image to be superimposed on the image of the folder is automatically specified, which is convenient. However, the judgment on which image is to be displayed superimposed on the image of the folder is based on the period of time for which it is kept displayed on the computer. Therefore, the image to be displayed superimposed on the image of the folder cannot be specified until the image of at least one image file is displayed at least once. Accordingly, even when an image has been displayed on the digital camera, no image is displayed superimposed on the image of the folder immediately after the image file of the image is moved from the recording medium of the digital camera to the recording medium of the computer.
In view of the conventionally encountered problems described above, it is an object of the present invention to provide a digital camera and a program for a personal computer that allow easy recognition of what images are contained in the image files stored in a folder created on a recording medium when viewed from a personal computer, and also that, even after the image files are moved from the recording medium to the personal computer, allow easy recognition of what images are contained in the image files included in the folder storing the moved image files.
To achieve the above-mentioned object, according to one aspect of the present invention, a digital camera for storing photographed images as image files in a folder created on a recording medium, specifies the image of one of the image files stored in the folder as a representative image that represents all the image files stored in the folder. Then the digital camera records, in the image file of the representative image, data that marks a representative image.
When the folder created on the recording medium of this digital camera is searched from a personal computer, the representative image can be displayed superimposed on the image of the folder. This makes it easy to recognize what images are contained in the image files stored in the folder. Furthermore, the data that marks the representative image is recorded in the image file itself of the representative image. Thus, even when the image of the folder that stores the image file of the representative image is displayed after this image file is read into the personal computer, the representative image can be displayed superimposed on the image of the folder.
The data that marks the representative image may be recorded in a tag (header) of the image file. Each file contains a tag (header) for recording predetermined data such as the file type. Using the tag allows the data marking the representative image to be recorded in the image file itself without requiring the image file to be specially structured.
The images of the image files stored in the folder may be displayed side-by-side in response to an instruction given by a user. If the representative image is included in the displayed images, an indication that marks a representative image may be added to the representative image. This permits the user to easily recognize whether or not the image is the representative image.
The images of the image files stored in the folder may be displayed side-by-side to permit the user to specify one of the displayed images so that the specified image may be determined as the representative image. This permits the user to determine an image he or she desires as the representative image. In addition, this can be achieved through easy operation.
As the representative image, images of a plurality of image files stored in the folder may be determined. Specifying a plurality of images as the representative image allows a plurality of images to be displayed superimposed on the image of the folder on the personal computer. This makes it easier to recognize what images are contained in the image files stored in the folder.
The digital camera may have a photographing mode, in which a newly photographed image is associated with the image of one of the image files stored in the folder and data indicating association between the images is recorded on the recording medium. Thus, when an image is photographed in the photographing mode, the image with which the newly photographed image is associated may be determined as the representative image. Recording the association between images can enhance the images' capability to convey information. Moreover, since the same image can be associated with a plurality of new images, determining such an image as the representative image allows easier recognition of what images are contained in the image file stored in the folder.
As above-mentioned folder, a plurality of folders may be created on the recording medium, and representative images may be determined on a folder-by-folder basis. Providing a plurality of folders allows image classification on the digital camera. Moreover, determining the representative image on a folder-by-folder basis allows easier recognition of the correspondence between the classified images and the image files.
To achieve the above-mentioned object, according to another aspect of the present invention, a program is provided for making a computer search a recording medium of a digital camera that stores photographed images as image files in a folder created on the recording medium so as to display an image of the folder created on the recording medium. The program includes commands for making the computer execute the following steps. A first step is provided for checking whether or not any of the image files stored in the folder contains data recorded to mark the image of aforementioned image file as a representative image that represents all the image files stored in the folder. A second step is provided for displaying, if none of the image files stored in the folder contains data recorded to mark a representative image, only the image of the folder, or if any of the image files stored in the folder contains data recorded to mark a representative image, the image of that image file in a manner superimposed on the image of the folder.
The personal computer that operates in accordance with this program, depending on whether or not the image file of the representative image is included in the image files stored in the folder on the recording medium of the digital camera, can make switching between the following two operations: displaying only the image of the folder and displaying the representative image in a manner superimposed on the image of the folder. The user can recognize what images are contained in the image files stored in the folder, based on the representative image displayed superimposed on the image of the folder. A search of the recording medium of the digital camera can be performed with the personal computer and the digital camera connected together, or by the use of a removable recording medium that can be mounted on the personal computer.
To achieve the above-mentioned object, according to still another aspect of the present invention, a program is provided for making a personal computer read, from a recording medium of a digital camera that stores photographed images as image files in a folder created on the recording medium, image files into a folder created in a storage portion of the personal computer and then display an image of the folder created in the storage portion. The program includes commands for making the computer execute the following steps. A first step is provided for checking whether or not any of the image files stored in the folder in the storage portion contains data recorded to mark the image of aforementioned image file as a representative image that represents all the images of the image files stored in the folder. A second step is provided for displaying, if none of the image files stored in the folder contains data recorded to mark a representative image, only the image of the folder or, if any of the image files stored in the folder contains data recorded to mark a representative image, the image of that image file in a manner superimposed on the image of the folder.
The personal computer that operates in accordance with this program, after reading image files from the recording medium of the digital camera into its own storage portion, depending on whether or not the image file of the representative image is included in the image files stored in the folder in the storage portion, can make switching between the following two operations: displaying only the image of the folder and displaying the representative image in a manner superimposed on the image of the folder. The data that marks the representative image is recorded in the image file itself. Therefore, reading the image file automatically results in reading the data that marks the representative image. The user can recognize what images are contained in the image files stored in the folder, based on the representative image displayed superimposed on the image of the folder.
It may be checked in the first step whether or not data that marks a representative image is recorded in a tag of the image file. Recording the data marking the representative image eliminates the need to specially structure the image file.
If the number of image files containing data recorded to mark a representative image is equal to or less than a predetermined number, images of all these image files are displayed in the second step. The larger the number of representative images that are displayed, the easier it becomes to recognize what images are contained in the image files stored in the folder.
If the number of image files containing data recorded to mark a representative image exceeds a predetermined number, in the second step, of all images of these image files, only images of the predetermined number of image files are displayed while a number of remaining image files may be displayed along the image of the folder. If there are a great number of representative images, the representative images can no longer be displayed superimposed on the image of the folder all at once. Even in such a case, displaying the number of the representative images that are not displayed can notify the user that there exist representative images other than those being displayed. Moreover, the display can also be switched so that the images that are not displayed are displayed superimposed on the image of the folder.
In the case of a program that searches the recording medium, if, as the above-mentioned folder, a plurality of folders storing image files are created on the recording medium, images of the folders may be displayed side-by-side in the second step. This makes it possible to recognize which image is contained in the image file stored in which folder.
In the case of a program that reads image files from the recording medium into the storage portion of the personal computer, as the above-mentioned folder, a plurality of folders storing image files may be created in the storage portion, and images of the folders may be displayed side-by-side in the second step. Creating a plurality of folders allows easy classification and thus management of the acquired image files. Thus, displaying the images of the folders side-by-side and also displaying the representative images in a manner superimposed on the images of the folders that store the image files of the representative images allows recognition of which images are contained in the image files stored in which folders.
The embodiments of the present invention will be described hereinafter with reference to the accompanying drawings.
The digital camera 1 can, while photographing an image, immediately display the photographed image on the display 19 to provide a live view thereof. Thus, the display 19 functions as a viewfinder. The image photographed immediately after the release button 17 is operated is recorded as an image file onto the removable memory card M that incorporates semiconductor memory. The image is displayed as an after view on the display 19 for a short period of time. The image of the image file recorded on the memory card M can also be played back to be displayed on the display 19. Photographing-related data such as the photographing date and time, the image scale, the exposure conditions, and the photographing mode is recorded in the tag (header) of the image file recorded on the memory card M.
The digital camera 1 operates in, other than a normal photographing mode for performing normal photographing, an annotation photographing mode and a guide photographing mode. The annotation photographing mode is for adding an image as an annotation to a partial region of an already photographed image whose image file has been recorded onto the memory card M. The image photographed immediately after the region is specified becomes the annotation for the region. The guide photographing mode is provided for, in an image photographing operation, displaying on the display 19 an already photographed image whose image file has been recorded onto the memory card M so that the image serves as a reference for photographing a new image.
In the annotation photographing mode, an image whose image file is written onto the memory card M by an external device, e.g., an image whose image file is read from an original document with an image scanner so as to be recorded onto the memory card M, can be treated as an image to which to add an annotation. Similarly, in the guide photographing mode, an image whose image file is written onto the memory card M with an external device can be treated as an image to be displayed as a reference.
The digital camera 1 includes, on the rear surface thereof, a normal photographing button 23, an annotation photographing button 24, and a guide photographing button 25 for specifying these three modes. The digital camera 1 also includes: a zoom button 20 for specifying the focal length of the image-taking lens 11 which is a zoom lens; direction buttons 21 that are used for selecting an item displayed on the display 19; a confirm button 22 for giving an instruction for confirming the selection; and a playback button 26 for specifying a playback mode for playing back an image for display. The direction buttons 21 include an up button, a down button, a left button, and a right button for specifying the up, down, left, and right directions, respectively.
As described above, the digital camera 1 records image files onto the memory card M. Folders are created on the memory card M so that the image files are stored in the folders. The folders can be freely created by the user. The user specifies a desired folder from among the folders already created. New image files are recorded in the specified folder until another folder is specified.
The image files no longer needed can be deleted individually or collectively from the memory card M. Deleting a folder allows deletion of all the image files stored therein.
The digital camera 1 is capable of determining a representative image that represents all the images of the image files stored in each folder. The user can specify a desired image as a representative image among images photographed in the normal photographing mode. There is no restriction on the number of representative images that can be specified by the user. The digital camera 1 includes on the back surface thereof a representative image set button 27 that is used for setting a representative image.
When an image is photographed as an annotation in the annotation photographing mode, the digital camera 1 specifies, as a representative image, the image to which the annotation is added. When an image is photographed in the guide photographing mode, the digital camera 1 specifies, as a representative image, the image used as a reference in this operation.
Data that marks a representative image is recorded in the tag of the image file of the representative image. Generally, a file has a tag for recording data related thereto. Using the tag for recording the data that marks a representative image eliminates the need to specially structure the image file. Alternatively, data that marks a representative image may be stored in a special file created in the same folder that stores the representative image, though recording such data in the image file itself makes file management easier.
Association data indicating the association between an image photographed as an annotation in the annotation photographing mode and the image and the region to which the annotation is added is also recorded in the tag of the image file. The association data is recorded in the image files of both the image photographed as the annotation and the image (referred to as a parent image) to which the annotation is added. Association data indicating the association between an image photographed in the guide photographing mode and the image (referred to as a guide image) used as a reference in this photographing operation is also recorded in the tag of the image file. This association data is also recorded in the image files of both the images.
An image used as a parent image in the annotation photographing mode and an image used as a guide image in the guide photographing mode are selected by the user from among the images of the image files stored in the folder which has been specified for storing the image files of newly photographed images. Therefore, the image file of an image photographed in the annotation photographing mode and the image file of an image photographed in the guide photographing mode are stored in the same folder that stores the parent image and the guide image, respectively.
The controller 35 includes a CPU 35a and a memory 35b. The CPU 35a controls various portions of the digital camera 1. A program containing instructions for control operations to be performed by the CPU 35a is recorded in the memory 35b. The CPU 35a also performs processing of representative images based on the program recorded in the memory 35b.
The operation members such as the above-mentioned shutter release button 17 and power button 18 are collectively referred to as an operation portion 28.
If the instruction for photographing the recording image is provided, the image is sensed (#106), the sensed image is displayed (#108), and then the image file of the sensed image is recorded onto the memory card M (#110). An after view is provided by continuously displaying the image for a short period of time in step #108. The flow in
If one or more image files of the images photographed in the normal photographing mode are included in the folder, the specification of a representative image through the operation of the direction buttons 21 and the confirm button 22 is accepted (#206). Then data that marks a representative image is recorded in the tag of the image file of the image specified as a representative image (#208). After the image is displayed on an enlarged scale for a short period of time as in
If the image file of an image photographed in the normal photographing mode or an image file recorded with the external device is included in the folder, the specification of the parent image through the operation of the direction buttons 21 and the confirm button 22 is accepted (#304). Then, the screens shown in
Subsequently, it is checked whether or not an instruction for photographing a recording image is entered through the operation of the shutter release button 17 (step #310). If the instruction is not entered, an image is sensed (# 312), and the sensed image is displayed on the display 19 (#314). Then the flow returns to step #310. A live view is provided by repeating steps #312 and #314.
If the instruction for photographing a recording image is provided, an image is sensed (#316), the sensed image is displayed (#318), and then the image file of the sensed image is recorded onto the memory card M (#320). Further, association data indicating that the photographed image is an annotation added to a partial region of the parent image is recorded in the tags of the image files of the photographed image and the parent image (#322). Then, data that marks a representative image is recorded in the tag of the image file of the parent image (#324), thereby ending the sequence of operations. Maintaining the screen displayed in step #318 for a short period of time provides an after view as shown in
If the image file of an image photographed in the normal photographing mode or an image file recorded with the external device is included in the folder, the specification of the guide image through the operation of the direction button 21 and the confirm button 22 is accepted (#404). Then, the specified guide image is displayed on a reduced scale (#406).
Subsequently, it is checked whether or not an instruction for photographing a recording image is entered through the operation of the shutter release button 17 (#408). If the instruction is not entered, an image is sensed (#410), the sensed image is displayed on the display 19 (#412), and the flow returns to step #408. Steps #410 and #412 are repeated to provide a live view, on a partial region of which the guide image is superimposed.
If the instruction for photographing a recording image is entered, an image is sensed (#414), the sensed image is displayed (#416), and then the image file of the sensed image is recorded onto the memory card M (#418). Further, association data indicating that the photographed image is obtained by referring to the guide image is recorded in the tags of the image files of the photographed image and the guide image (#420). Then, data that marks a representative image is recorded in the tag of the image file of the guide image (#422), thereby ending the sequence of operations. Maintaining the screen displayed in step #416 for a short period of time provides an after view, thereby allowing the checking of whether or not the after view is similar to the guide image on which the after view is displayed superimposed.
The instruction for displaying another image is entered through the operation of the direction buttons 21. Of the direction buttons 21, the right button is used to specify the image located immediately after the image displayed in step #508, and the left button is used to specify the image located immediately before the image displayed in step #508. The branching from step #510 to #508 in
The personal computer 2 is capable of searching the memory card M inserted in the digital camera 1 that is connected to the personal computer 2 via the cable and also the memory card M inserted in the card slot of the personal computer 2 itself so as to identify what folders and what image files are stored on these memory cards M. The personal computer 2 is also capable of reading an image file from the memory card M to store it in the storage portion 45. The image file stored in the storage portion 45 can be displayed on the display 42 and edited.
When the user operates the mouse or the keys on the keyboard to specify a device or a folder in the folder tree 51a displayed in the tree display region 51, or the folder 52a displayed in the folder and file display region 52, the images and names of the folders and files stored in the specified device or folder are displayed in the folder and file display region 52.
For example, in a case where the memory card M of the digital camera 1 has a folder structure as shown in
When any of the image files stored in the image folder includes data that marks a representative image, the image of the representative image is displayed superimposed on the image of the folder. When a plurality of representative images are specified for one folder, the plurality of representative images are displayed side-by-side on the image of the folder. However, displaying many images on the image of one folder results in very small images, which makes it difficult to recognize the contents thereof. Thus, an upper limit is set on the number (e.g. 4) of representative images to be displayed side-by-side on the image of one folder. A predetermine number of representative images are thus displayed, while only the number of representative images that are not displayed is displayed along the image of the folder.
Suppose that, as shown in
The order in which representative images are displayed is determined in accordance with the dates and times of creation of the image files of the representative images, but this order can be changed by the user. As in
If one or more image files are stored in the folder, the data recorded in the tag of each image file is read to check whether or not data that marks a representative image is included therein (#606). If no data that marks a representative image is included therein, the flow returns to step #600. If data that marks a representative image is included in the tag of any of the image files, it is checked whether or not the number of image files including this data, i.e., the number of representative images, is equal to or less than a predetermined number (#608).
When the number of representative images is equal to or less than the predetermined number, all the representative images are displayed superimposed on the image of the folder displayed in step #602 (#610). Then, the flow returns to step #600. When the number of representative images exceeds the predetermined number, the predetermined number of representative images are superimposed on the image of the folder (#612), while only the number of representative images that are not displayed is displayed together (#604). Then, the sequence of the operations returns to step #600.
While the search screen 50 (
In the operations of
The operations for directly displaying the image of an image file stored on the memory card M is also almost the same as the operations shown in
New representative images can be set and existing representative images can be changed on the personal computer 2. The dialog box for specifying a representative image is displayed for this operation. As described above, the dialog box for specifying a representative image is displayed through the operation of the representative image specify button 53 displayed on the search screen 50.
The representative image specification dialog box 60 displays a browse button 63, an add button 64, a delete button 65, an OK button 66, a cancel button 67, a representative image display check box 68, a file display check box 69, a representative image storage check box 70, a sort method selection region 71, and a sort direction selection region 72. The browse button 63 is operated to display a dialog box that permits the selection of the file name of an image as a representative image.
The file name selection dialog box 80 includes a folder display region 81 for displaying a folder 81a, and a file name display region 82 for displaying a file name 82a of a file included in a folder selected in the folder display region 81. The file name selection dialog box 80 also includes an open button 83. A representative image can be specified by selecting (clicking) a file name displayed in the file name display region 82 and then operating the open button 83.
The add button 64 included in the representative image specification dialog box 60 (
The OK button 66 is used to end the sequence of operations while saving the results set at the representative image specification dialog box 60. The cancel button 67 is used to end the sequence of operations without saving the set results. When the sequence of operations is ended through the operation of the Ok button 66, the set results are immediately reflected on the personal computer 2, so that the representative images displayed superimposed on the image of the folder on the search screen 50 becomes those set at the representative image specification dialog box 60.
The representative image display check box 68 is used to specify whether or not a representative image is to be displayed superimposed on the image of the folder. When the user does not want a representative image to be displayed superimposed on the image of the folder on the search screen 50, the user can operate this check box to display only the image of the folder. The representative image storage check box 70 is used to specify whether or not to store in a file the relationship between the representative image set at the representative image specification dialog box 60 and the folder. This file is created in the form of a text file in the folder, so that the file can be used by being referred to from various application programs.
The file display check box 69 is used to specify whether to display the file names of all the image files stored in the folder or the files names of only those stored in the folder which contains data recorded to mark a representative image. The sort method selection region 71 and the sort direction selection region 72 display items on the basis of which to specify the order in which the file names are to be displayed in the file name display region 82 of the file name selection dialog box 80. The sort method selection region 71 displays five items including “by attribute”, “by name”, “by date”, “by size”, and “by extension”. The sort direction selection region 72 displays 2 items including “ascending order” and “descending order”. The user can freely select from among the items.
The order in which the representative images are displayed superimposed side-by-side on the image of the folder corresponds to the order in which the file names are displayed in the representative image file name display region 62 of the representative image specification dialog box 60. In the representative image file image display region 62, the file names are displayed in the order in which the file names have been added through the operation of the add button 64. The user can change the order of the file names displayed in the representative image file name display region 62 by selecting and moving a file name therein. In this way, the user can change the order in which the representative images are displayed superimposed side-by-side on the image of the folder. This function allows, when there exist more than a predetermined number of representative images that can be displayed at once, a representative image that has not been displayed to be newly displayed.
Obviously, many modifications and variations of the present invention are possible in light of the above teachings. It is therefore to be understood that within the scope of the appended claims, the invention may be practiced other than as specifically described.
Number | Date | Country | Kind |
---|---|---|---|
2004-321649 | Nov 2004 | JP | national |