This application is based upon and claims the benefit of priority from the prior Japanese Patent Application No. 2014-249974, filed Dec. 10, 2014, the entire contents of which are incorporated herein by reference.
1. Field of Invention
The present invention relates to an image retrieving device, an image retrieving method, and a non-transitory storage medium storing an image retrieving program.
2. Description of Related Art
Generally, a device such as a digital camera or a personal computer comprising a display unit is capable of displaying various images. For example, a digital camera described in Japanese Patent Application KOKAI Publication No. 2008-72261 is such that, after a plurality of confirmation images are cut out from a photographed image acquired by photographing, the photographed image and the plurality of confirmation images are displayed in a prescribed section of a multi-preview screen of a display unit. Having looked at the photographed image and the confirmation images displayed on the multi-preview screen, a user may collectively confirm the state of a plurality of parts of the photographed image. The user may improve the efficiency of confirming the photographed image using this digital camera.
When the number of photographed images increases, the number of confirmation images that must be confirmed also increases, which consequently deteriorates confirmation efficiency.
According to a first aspect of the invention, there is provided an image retrieving device comprising: a display unit which displays a first image and a second image; a selecting unit which selects a first region of a part of the first image displayed on the display unit by a user operation; and a control unit which, when the first region of a part of the first image is selected by the selecting unit, searches for a second region of the second image corresponding to the first region.
According to a second aspect of the invention, an image retrieving method comprising: displaying a first image and a second image on a display unit; determining whether or not a first region of a part of the first image is selected by a selecting unit; and when the first region of the part of the first image is selected by the selecting unit, searching for a second region of the second image corresponding to the first region.
According to a third aspect of the invention, a computer-readable non-transitory storage medium stores an image retrieving program, the storage medium comprising: displaying a first image and a second image on a display unit; determining whether or not a first region of a part of the first image is selected by a selecting unit; and when the first region of the part of the first image is selected by the selecting unit, searching for a second region of the second image corresponding to the first region.
According to a fourth aspect of the invention, an image retrieving device comprising: a display unit which displays a first image; a selecting unit which selects a region of a part of the first image displayed on the display unit by a user operation; and an image retrieving unit which searches for a second image comprising a specific region similar to the region selected by the selecting unit from a recording unit.
According to a fifth aspect of the invention, an image retrieving method comprising: displaying a first image on a display unit; and searching for a second image comprising a specific region similar to a region of a part of the first image selected by a selecting unit from a recording unit.
According to a sixth aspect of the invention, a computer-readable non-transitory storage medium stores an image retrieving program, the storage medium comprising: displaying a first image on a display unit; and searching for a second image comprising a specific region similar to a region of a part of the first image selected by a selecting unit from a recording unit.
Advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The advantages of the invention may be realized and obtained by means of the instrumentalities and combinations particularly pointed out hereinafter.
The accompanying drawings, which are incorporated in and constitute apart of the specification, illustrate embodiments of the invention, and together with the general description given above and the detailed description of the embodiments given below, serve to explain the principles of the invention.
A configuration of an image retrieving device according to a present embodiment will be explained.
The image retrieving device 1 comprises a controller 2, a display unit 3, a touch panel 4, a recording unit 5, and a communication unit 6.
The display unit 3 is, for example, a Liquid Crystal Display (LCD) or an organic EL display, etc., and displays on a display surface an image based on image data.
The touch panel 4 is provided on the display surface of the display unit 3 in an overlapping manner. Location information on the panel which is touched by a fingertip or a pen point, etc. of a user is detected by one of the systems among the detection systems of, for example, a resistive film type, an electrostatic capacitance type, an optical type, or an electromagnetic induction type. By detecting the location information on the panel, a location on the display surface of the display unit 3 designated by a user is determined. The location on the display surface of the display unit 3 designated by a user may also be determined by utilizing a signal obtained from a cross key, etc. Hereinafter, the touch panel 4 and the cross key, etc. will be collectively referred to as a selecting unit for selecting a location on the display surface of the display unit 3 by an operation performed by a user.
The recording unit 5 is a recording medium, such as a flash memory, in which content is retained even when power is cut off. The recording unit 5 records a program for operating the image retrieving device 1 and image data, and thumbnail data corresponding to the image data, etc. The recording unit 5 comprises an image classification information database (DB) 5a. The image classification information DB 5a stores information indicating the classification of image data. In the present embodiment, image data is classified into image data having similar characteristics. As information for indicating classification, the image classification information DB 5a stores classification items and information for indicating which image data is associated with each of the classification items. A portion that records image data in the recording unit 5 may be configured to be detachable.
Under the control of the controller 2, the communication unit 6 transmits data to an external device by a wired or wireless connection.
The controller 2 is, for example, configured by a CPU or ASIC, and comprises a similar region determination unit 2a, an image retrieving unit 2b, a display controller 2c, and an image processing unit 2d. When a part of a region of one of two images displayed on the display unit 3 is selected through the touch panel 4, the similar region determination unit 2a determines a region similar to the selected region from the other image. The region similar to the selected region is, for example, a region having the closest degree of matching with the region selected in the image. The match does not have to be exact. When a part of a region of one of two images displayed on the display unit 3 is selected through the touch panel 4, the image retrieving unit 2b searches among the images recorded in the recording unit 5 for an image that includes a region similar to the selected region. The display controller 2c drives the display unit 3 and processes a signal input to the display unit 3 by, for example, displaying an image on the display unit 3 at a prescribed magnification factor. The image processing unit 2d cuts out a region of the image selected by the touch panel 4.
A brief overview of an operation of the image retrieving device 1 according to the present embodiment will be explained with reference to
In the case where the user U selects a desired image from the photographed image, it is easier to confirm the details of the photographed image and select a desired image by looking at the photographed image displayed on a large display unit. Therefore, in order to confirm the photographed image by the large display unit provided on the display terminal D, the user U transmits a plurality of photographed images from the camera C to the display terminal D to have the photographed images displayed on the display unit of the display terminal D.
In the present embodiment, when a region of a part of the photographed image, for example, a peripheral region of an eye of the photographed image I1, is selected by the user, a region of the photographed image I2 corresponding to this region is searched. Then, the enlarged image E2 of the searched region is displayed. This allows the user to compare the photographed image I1 with the photographed image I2 without having to select a portion corresponding to the photographed image I1 from the photographed image I2. Therefore, the user is able to select an image more efficiently.
In the present embodiment, if an enlarged image, for example, the enlarged image E2, is selected, a different photographed image including a region corresponding to the enlarged image E2 is searched. Then, the photographed image that has been searched is displayed. This allows the user to easily select a photographed image for comparison.
The operation of the image retrieving device 1 according to the present embodiment will be explained.
In step S101, the controller 2 determines whether or not a playback mode has been selected. In step S101, when the playback mode is determined as being selected, in step S102 the controller 2 reads out thumbnail data from the recording unit 5 and displays a list of the thumbnails on the display unit 3.
In step S103, the controller 2 determines whether or not a first thumbnail has been selected by the user. For example, when the touch panel 4 on the display surface of the display unit 3 on which the thumbnail is displayed is touched by the user, the controller determines a thumbnail overlapping the touched location as being selected. In step S103, when it is determined that the first thumbnail has not been selected by the user, the process proceeds to step S104.
In step S104, it is determined whether or not the process returns to step S101. In step S104, when the process is determined as returning to step S101, for example, when the return button B1 is selected, the process returns to step S101. In step S104, when the process is determined as not returning to step S101, the process returns to S102.
In step S103, when the first thumbnail is determined as being selected by the user, in step S105, the controller 2 determines whether or not a second thumbnail has been selected by the user. In step S105, when the second thumbnail is determined as being selected by the user, the process proceeds to step S106. A state in which the second thumbnail has been selected by the user is a state, for example, in which the enter button B2 has been selected after the second thumbnail has been selected. Meanwhile, a state in which the second thumbnail has not been selected by the user is a state, for example, in which the enter button B2 has been selected after the first thumbnail has been selected.
The user selects one or two thumbnails by a fingertip P, etc. while looking at the thumbnails list-displayed on the display unit 3 in the manner shown in
The explanation will return to
The explanation will return to
The explanation will return to
The explanation will return to
The explanation will return to
The explanation will return to
In step S105, when two thumbnails are determined as not being selected by the user, that is, when one thumbnail is selected, the process proceeds to step S113.
In step S113, the control unit 2 reads out image data corresponding to the one thumbnail selected by the user from the recording unit 5, and displays an image based on this image data on a part of the region of the display unit 3. Subsequently, the process proceeds to step S114.
In step S114, the controller 2 determines whether or not a part of the region of the image is selected by the user in the display unit 3. In step S114, when a part of the region of the image is determined to have not been selected by the user, the process proceeds to step S116. In step S114, when a part of the region of the image is determined to have been selected by the user, in step S115, the controller 2 arranges and displays the image and the enlarged image of the region selected by the user on the display unit 3. Subsequently, the process proceeds to step S116.
In step S116, the controller 2 determines whether or not an enlarged image has been selected by the user. In step S116, when the enlarged image is determined to have not been selected by the user, the process proceeds to step S118. In step S116, when the enlarged image is determined to have been selected by the user, the process proceeds to step S117.
In step S117, the controller 2 retrieves image data comprising a region similar to the region shown by the enlarged image selected by the user from the recording unit 5. Subsequently, the controller 2 replaces the image and the enlarged image displayed on the display unit 3 with the image based on the retrieved image data and the enlarged image obtained by enlarging a region similar to this image and displays them. Subsequently, the process proceeds to step S118.
In step S118, it is determined whether or not the process returns to step S105. In step S118, when it is determined that the process returns to step S105, for example, when the return button B1 is selected, the process returns to step S105. In step S118, when it is determined that the process will not return to step S105, the process returns to step S101.
In step S101, when it is determined that the playback mode has not been selected, in step S119 the controller 2 starts communication with an external device, for example, a camera, and receives photographed image data from the camera. Subsequently, the process proceeds to step S120.
In step S120, thumbnails based on the photographed image data received from the external device are list-displayed. Subsequently, the process proceeds to step S121.
In step S121, the controller 2 determines whether or not the current mode of the image retrieving device 1 is a comparison mode. The comparison mode is a mode for arranging and displaying two photographed images on the display unit 3 as in the process according to step S106 to step S112 in which two images are arranged and displayed on the display unit 3. In step S121, when it is determined that the mode is not the comparison mode, the process returns to step S101. In step S121, when the mode is determined to be the comparison mode, the process proceeds to step S103.
In the manner mentioned above, the image retrieving device 1 of the present embodiment arranges and displays two images on the display unit 3, and, when a part of a region of one of the two images is selected by the user, a part of a region of the other image corresponding to this region is selected, and an enlarged image of each of the selected regions is displayed. Further, when an enlarged image of one of the two images is selected by the user, the image retrieving device 1 determines image data comprising a region similar to the enlarged image selected by the user from the image data recorded in the recording unit 5, and replaces the image and the enlarged image which were unselected by the user with the image based on this image data and the enlarged image obtained by enlarging a similar region. Such image retrieving device 1 allows the user to shorten the time for selecting a plurality of images.
Each process carried out by the image retrieving device 1 in the above-mentioned embodiment may be stored as an executable program. The programs are capable of executing the above-mentioned processes by reading the programs stored in the storage mediums of external storage devices, such as a memory card (e.g., a ROM card, or a RAM card), a magnetic disk (e.g., floppy disk (registered trademark), or a hard disk), an optical disk (e.g., a CD-ROM or a DVD), or a semiconductor memory, and allowing the operations to be controlled by the read programs.
Additional advantages and modifications will readily occur to those skilled in the art. Therefore, the invention in its broader aspects is not limited to the specific details and representative embodiments shown and described herein. Accordingly, various modifications may be made without departing from the spirit or scope of the general inventive concept as defined by the appended claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
2014-249974 | Dec 2014 | JP | national |