This application is based on Japanese Patent Application No. 2003-190902 filed on Jul. 3, 2003, the contents of which are hereby incorporated by reference.
1. Field of the Invention
The present invention relates to an image processing apparatus for handling images having annotations added to partial regions set within them, and relates more particularly to how to output such images and annotations to an external apparatus.
2. Description of the Prior Art
It has been proposed to add an annotation to the whole of or a partial region within an image photographed with a digital camera. This helps enhance the image's ability to convey information. Annotations can be added to images, in some cases, on the digital camera itself with which those images were photographed, or, in other cases, on a personal computer after the images have been transferred thereto. In any case, the user can set a region of a desired size in a desired position within an image and add to that region an image, a sound, a character string, or the like as an annotation.
Images and annotations can be reproduced on a digital camera or on a personal computer, and, when annotated images are outputted to a printer to produce printouts, so long as the annotations added to the images are printable images or character strings, the annotations can also be printed. Similarly, when annotated images are outputted to a device other than a printer, the annotations added to the images can also be outputted.
Personal computers can handle a large number of images. Some personal computers even have a capability of producing an index print that provides an at-a-glance overview of a plurality of images, and others a preview capability, i.e., a capability of preliminarily displaying an image in the state in which it is going to be printed. Japanese Patent Application Laid-Open No. 2000-332985 discloses a method of producing an index print wherein a layout for an index print is set automatically according to the size of a print sheet, the size of images, the number of images, and the like and a preview is displayed in that layout. On the other hand, many personal computers permit a plurality of images to be displayed in a neatly arranged fashion to permit the user to select from the so displayed images those which the user wants to print.
With respect to the output of annotations added to images, however, consideration is taken only to avoiding the output of sound annotations to a printer, and the user is not permitted to select annotations. More specifically, it is possible only to select which images to output and whether or not to output the annotations added to those annotations, and therefore, when the user chooses to output annotations, the selected images are outputted along with all the annotations added to them (except that sound annotations are not outputted to a printer).
Thus, the outputted annotations include those which the user does not want to be outputted. This results in the following problems with the conventional technology: low efficiency ascribable to the extra time and number of sheets required for the output of unnecessary annotations; and poor usability ascribable to the need to delete unnecessary annotations on a non-printer device that receives the annotations and the need to pick out, from all the printed sheets, the wanted ones. The association between images and annotations is recorded in the tag (header) of their files or in files created separately therefrom, and therefore, by modifying such records, it is possible to output only those annotations which the user wants to be outputted. However, modifying the records relating to the association between images and annotations requires some extra editing operation, resulting in poorer usability.
An object of the present invention is to provide an efficient image processing apparatus that permits the output of, among annotations added to images, only those which the user has selected, and to provide a method for achieving that.
To achieve the above object, according to one aspect of the present invention, an image processing apparatus that is capable of processing images and annotations added to partial regions set within the images is provided with: a display; a display controller for displaying, in the same screen on the display, an image along with one or more items respectively indicating annotations added to the image; a selector for selecting, according to the operation by a user, one of the displayed items; and a controller for outputting, to an external apparatus, the displayed image along with the annotation indicated by the selected item.
With this image processing apparatus, it is possible to output an image along with only those annotations which the user has selected. This ensures time- and resource-saving, and thus efficient, operation. In addition, items indicating the annotations added to an image are displayed along with the image to permit the user select, among the displayed items, the desired ones. This ensures easy selection of annotations. The items indicating annotations may be the annotations themselves, or may be whatever else that indicates the annotations in an easy-to-recognize manner.
Annotations may each be an image, a sound, or a character string. Preferably, an item indicating an annotation is, when the annotation is an image or a character string, the image or character string itself, and, when the annotation is a sound, which cannot be displayed, the file name of the sound, for example.
The external apparatus may be a printer. In this case, when a selected annotation is a sound, the character string representing the file name of its file may be outputted.
The controller may further set, on the display, a first region in which to display the image and a second region, different from the first region, in which to display the items indicating the annotations so that, when one of the items displayed in the second region is selected by the selector, the controller displays the selected item in the first region. This makes it easy for the user to recognize what is going to be outputted.
To achieve the above objects, according to another aspect of the present invention, a method for processing images and annotations added to partial regions set within the images includes the steps of: displaying, in the same screen, an image along with one or more items respectively indicating annotations added to the image; selecting one of the displayed items; and outputting, to an external apparatus, the displayed image along with the annotation indicated by the selected item.
This and other objects and features of the present invention will become clear from the following description, taken in conjunction with the preferred embodiments with reference to the accompanying drawings in which:
Hereinafter, an embodiment of the present invention will be described with reference to the accompanying drawings.
The personal computer 200 cannot photograph images, but, when fed with images having annotations added to partial regions set within them from a digital camera, the personal computer 200 can reproduce the images and annotations. The personal computer 200 also has a capability of adding an annotation to a region specified within an image by the user. An annotation may be of one of the following three types: an image, a sound, or a character string. In the following descriptions, an image used as an annotation will be referred to also as an annotation image, a sound used as an annotation as an annotation sound, and a character string used as an annotation as an annotation character string. Moreover, an image to which an annotation has already been added or is going to be added will be referred to also as a parent image.
Programs containing operations that can be performed on images and annotations are recorded on the optical disk 61, and the personal computer 200 uses the programs after copying them to the hard disk incorporated therein. The personal computer 200 receives images and annotations in a form recorded on the memory card 62, or by way of a cable that connects the digital camera and the personal computer together. It is also possible to acquire programs and images by downloading them from a Web site or as files attached to e-mail.
An annotation image or an annotation sound can be added to a region specified by the user within a photographed image. An annotation image is obtained by photographing it as any other image is. All images including annotation images can be displayed on the liquid crystal display 11. An annotation sound is sensed by the microphone 2 and is then recorded. Annotation sounds can be reproduced from the loudspeaker 12.
The index window 71 (
In the index window 71, thumbnail images of the image files present in the folder selected in the folder tree display region 71b are displayed in an arranged manner in the thumbnail image display region 71a. When the user selects one of the displayed thumbnail images, then selects an “add annotation” or “start reproduction” command from the menu at the top of the screen, and then executes the command, or when the user double-clicks one of the thumbnail images, the annotation window 72 opens, and the image of interest is displayed in the parent image display region 72a.
In the annotation window 72, it is possible to set a region within the parent image in the parent image display region 72a, and then to add an annotation to that region. An annotation is created in the annotation creation region 72b. Whereas an annotation added to an image on the digital camera 100 is either an image or a sound, an annotation character string can also be added to an image on the personal computer 200. When an annotation character string is added, the desired annotation character string is entered in the annotation creation region 72b; when an annotation image or an annotation sound is added, one of the image files and sound files displayed in the annotation creation region 72b is selected. The confirmed annotation is displayed in the annotation display region 72c.
The parent image and the annotation thus added thereto can be recorded in a file by selecting a “record” command from the menu at the top of the screen and then executing it. This file is created one for each parent file, and is a composite file that contains an image, one or more annotations, and information on the association (file names, region positions, region sizes, and other information) between the image and the annotations. In the following descriptions, such a composite file will be referred to also as an “mdm file.”
The thumbnail images displayed in the index window 71 include those for image files in ordinary formats such as JPEG, BMP, TIFF (with extensions “jpg,” “bmp,” and “tif,” respectively), and the like and those for mdm files. For ordinary image files, thumbnail images thereof are displayed; for mdm files, thumbnail images of the parent images contained therein are displayed.
The personal computer 200 has a capability of recording in an mdm file an image photographed with the digital camera 100 along with annotations added thereto. The digital camera 100 separately creates an image file in which a parent image is recorded and an annotation file in which an annotation is recorded, and further creates an association file in which is recorded information on the association between the parent image and all the annotations added thereto.
In each annotation folder, there are stored an association file and at least one annotation image file or annotation sound file. For example, in the folder “Ann0001,” there are stored an annotation file named “Ann0001.txt,” two annotation image files named “Ann0001.jpg” and “Ann0002.jpg,” and two annotation sound files named “Ann0001.wav” and “Ann0002.wav.”
Table 1 shows the contents of an association file. It should be noted that, for items Nos. 3 to 6, there exist as many sets of them as the number of annotations added to the parent image.
The personal computer 200 creates an mdm file by referring to the annotation folder, and the association file stored therein, that the personal computer 200 receives along with a parent image from the digital camera 100.
An mdm file is created (step #104) only when all the following conditions are fulfilled (steps #101 to #103): an annotation folder exists immediately under the folder selected on the folder tree in the index window 71; an association file exists in that annotation folder; and all the files recorded in that association file exist in the annotation folder or in the selected folder. The reason that the selected folder is also searched here is that, as shown in
When the mdm file is created, the association file is deleted (#105). This is done to prevent creation of a new mdm file when the same folder is selected again later. Moreover, after the mdm file is created, a message, for example, as shown in
If, as in the example shown in
Through the operations described above, once a folder is specified, mdm files are created automatically. This ensures efficient operation, and also helps ease the anxiety felt by the user about inadvertently deleting files created with the digital camera 100. One disadvantage here is that mdm files are created also for those parent images for which the user do not want to create them. This can be avoided by accepting an instruction from the user as to whether to create an mdm file or not and permitting one to be created only when so instructed, or alternatively by permitting the user to specify an image file instead of a folder.
If the user chooses to create an mdm file, an mdm file is created (#117) in the folder where the parent image is stored only when all the following conditions are fulfilled (#114 to #116): the corresponding annotation folder exists in the folder where the parent image is stored; an association file exists in that annotation folder; and all the files recorded in the association file exist. After the mdm file is created, a message, for example, as shown in
If an mdm file cannot be created because, although the annotation folder exists, no association file exists therein or any of the files recorded in the annotation file is nonexistent, a message, for example, as shown in
When the user selects a “print preview” command from the menu at the top of the screen in the annotation window 72 and executes it, the print preview window 73 opens. When the user selects a “print” command from the menu at the top of the screen in the annotation window 72 or in the print preview window 73 and executes it, the image of interest is outputted to a printer so as to be printed on a print sheet.
In this way, when printed, a parent image is shown along with the images of the regions within it to which annotations are added and the annotation images and character strings added thereto. On the personal computer 200, it is possible to select which annotations to print in the print preview window 73. As described earlier, the print preview window 73 (
In this way, the personal computer 200 permits the user to select which annotations to print as he or she likes. This ensures time- and resource-saving, and thus efficient, operation. Moreover, a parent image is displayed along with the annotations added thereto or their file names. This makes selection itself easy.
It is possible to permit the user to select which of the annotations added to a parent image not only on occasions of printing, i.e., with respect to output to a printer, but also with respect to output to any other type of device. Moreover, it is possible to permit such selection not only with respect to output from a personal computer but also to output from any other type of device, such as a digital camera, that can handle images. Furthermore, there is no restriction whatever on the method by which such output is transferred; specifically, output can be transferred by way of a cable, or wirelessly without using a cable, or in a form recorded on a recording medium.
When images and annotations are outputted, they need to be converted into a format that suits the receiving device. For example, as in the examples shown in
When, as shown in
When, as shown in
Now, a description will be given of an embodiment in which, as shown in
If this image is a parent image to which annotations are added, then, as shown in
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 |
---|---|---|---|
2003-190902 | Jul 2003 | JP | national |