1. Field of the Invention
The present invention relates to an image processing apparatus configured to control switching and displaying a plurality of image files, a control method thereof, and a computer-readable storage medium storing computer-executable instructions.
2. Description of the Related Art
Conventionally, a large number of similar images can be photographed by using a continuous shooting function or a bracket shooting function of a digital camera, allowing a user to display a plurality of images for comparison.
For example, images of a fixed number designated by a user are multi-displayed, and a plurality of images are successively switched to be displayed. Further, when only images in a fixed number are arranged to be displayed, locked images are not changed to the other image, and only unlocked images are successively changed to the other images.
However, the number of the images to be displayed is conventionally fixed beforehand, so that a user cannot compare a desired number of images according to need, which is very inconvenient. In addition, when a large number of images are displayed at a time, the display size of each image becomes very small. Therefore, the display size of an image needed for comparison is decreased because of images being displayed that are not necessary for the comparison, making it difficult for a user to confirm the images. It is also troublesome for the user to set the desired number of images before he or she starts the comparing operation.
The present invention is directed to a technique which can display many images in such a manner that these images are easy to be compared and allow a user to easily select a desired image without causing the user to do a troublesome operation.
According to an aspect of the present invention, an image processing apparatus includes a switching unit configured to successively switch and display a plurality of images on a first image display area, a receiving unit configured to receive an instruction to maintain display of a first image displayed on the first image display area, the first image being one of the plurality of images, an addition unit configured to add a second image display area which is different from the first image display area when the receiving unit receives the instruction to maintain display of the first image, and a display unit configured to display the first image on the second image display area. The switching unit successively switches and displays a second image from among the plurality of images which are not the first image, on the first image display area.
According to the present invention, image files in a number that a user desires are displayed with a simple operation, and the image files can successively be compared to the other image files. Therefore, usability is enhanced. Since only the image files in the minimum necessary number for the comparison of image files are displayed, the image files which are to be compared are displayed with a large size. Accordingly, it is easy for a user to visually confirm the image files, and can preferably compare target images from many images.
Further features and aspects of the present invention will become apparent from the following detailed description of exemplary embodiments with reference to the attached drawings.
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the invention and, together with the description, serve to explain the principles of the invention.
Various exemplary embodiments, features, and aspects of the invention will be described in detail below with reference to the drawings. Components described in the exemplary embodiment are only illustrative, and it is not construed that the scope of the invention is limited to those components.
A display 101 displays, for example, an original image, a thumbnail image, and a user interface such as an icon, a message, and a menu. A video random access memory (VRAM) 102 stores drawing data for drawing the display contents described above on the display 101. The drawing data stored in the VRAM 102 is transferred to the display 101 according to a predetermined standard, so that an image can be displayed on the display 101. A bit move unit (BMU) 103 controls data transfer between memories (e.g., between the VRAM 102 and the other memory) or controls the data transfer between the memory and each input/output (I/O) device (e.g., network interface 111). A keyboard 104 inputs a character string or a command in response to an operation of a user. The keyboard 114 includes various keys. A pointing device (PD) 105 inputs a command in response to the user's operation. It is used to select the icon or the menu displayed on the display 101, for example.
A control unit (central processing unit (CPU)) 106 controls each device connected to the CPU 106 based on a control program or an application program stored in a read-only memory (ROM) 107 or a hard disk (HDD) 109. The ROM 107 stores various control programs and data pieces. A random access memory (RAM) 108 has a work area of the CPU 106, a save area of data during an error process, and a load area of the control program. The HDD 109 stores an application program such as an image selecting application program, and a content file such as an image file or a text file. A network interface (I/F) 111 connects the apparatus to network to communicate with an output apparatus such as an external information processing apparatus or a printer and an input apparatus such as a digital camera via Internet 113.
A CPU bus 112 includes an address bus, a data bus, and a control bus. The control program or the application program may be fed to the CPU 106 from the ROM 107 or the HDD 109. The control program or the application program may also be fed to the CPU 106 from the other information processing apparatus via the network interface 111 and the Internet 113.
When the lock setting box 203(1) is changed to the OFF state from the ON state as illustrated in
In step S301, the CPU 106 searches the HDD 109 for the image file to be displayed. In step S302, the CPU 106 generates the thumbnail image corresponding to the searched image file. In this processing, an image file satisfying a predetermined condition is searched as a subject to be displayed. The image file satisfying the predetermined condition includes such as an image file that belongs to a folder designated by a user, and an image file having shooting date and time within a range designated by the user. The image file to be displayed has a predetermined order. The image files are displayed in an image switching manner on the image display area 202 in ascending order or descending order according to the predetermined order. Examples of the predetermined order include the order of a file name, the order of shooting date and time, and the order of user selection.
In step S303, the CPU 106 extracts one of the image files to be displayed. For example, the image file at the head of the image files to be displayed in the predetermined order is extracted. It is supposed that the image file “0001.jpg” is extracted in the present exemplary embodiment. In step S304, the CPU 106 performs control to display the image selection screen 200 in which the image file “0001.jpg” is displayed in the image display area 202 and a plurality of thumbnail images generated in step S302 is displayed in the thumbnail image display area 204, on the display 101. The lock setting box 203 corresponding to the image display area 202 is turned OFF.
In step S305, the CPU 106 detects whether the setting of the lock setting box 203 is changed. When the CPU 106 detects that the setting is changed (YES in step S305), in step S306, it updates display area control data 400.
In step S307, the CPU 106 acquires the number of the image display areas 202 from the number of the image display area 401 of the updated display area control data 400. Then in step S308, the CPU 106 calculates the size of the image display area 202 from the number and the size of the display area 201. In step S309, the CPU 106 reads the image file specified by the image file information 423 in the display area data 404 from the HDD 109, edits the image file according to the display data information 424, and displays the edited image file on the image display area 202 having the size calculated in step S308. The CPU 106 further displays the lock setting box 203 corresponding to the image display area 202 according to the lock setting 422.
In a second exemplary embodiment, the number of the image display areas is not determined by detecting whether the state of the lock setting box is changed as in the first exemplary embodiment. In the second exemplary embodiment, it is described that the number of the image display areas is determined according to the state of the lock setting box when an instruction of image switching is given.
In the second exemplary embodiment, the image selection screen 200 in
The image selection screen 200 in
The image selection screen 200 in
First, the CPU 106 executes the processing same as those in steps S301 to S304 in
If the CPU 106 determines that not all the lock setting boxes 203 are turned ON (NO in step S506), then in step S508, the CPU 106 determines whether there are a plurality of lock setting boxes that are set OFF. If a plurality of lock setting boxes are not set OFF (NO in step S508), then in step S509, the CPU 106 switches the display to the image file immediately before or immediately after the image file “0001.jpg” on the image display area 202. More specifically, if the instruction to switch the display is given by the “RETURN” button 207, the CPU 106 switches the display on the image display area 202 to the image file “0006.jpg” that is immediately before the image file “0001.jpg”. On the other hand, if the instruction to switch the display is given by the “NEXT” button 206, the CPU 106 switches the display on the image display area 202 to the image file “0002.jpg” that is immediately after the image file “0001.jpg”.
In step S508, when it is determined that there are a plurality of lock setting boxes 203 that are set OFF (YES in step S508), then in step S510, the lock setting boxes 203 satisfying the predetermined condition and the corresponding image display areas 202 are deleted from the display area 201. The predetermined condition includes, for example, the one in which the lock setting box 203, which is one before the last lock setting box, is turned OFF. In step S511, the CPU 106 displays the image file on the image display area 202 which remains on the image selection screen 200. When the instruction to switch the image display is given by the “RETURN” button 207, the image file “0006.jpg” which is immediately before the image file “0001.jpg” that is finally unlocked is displayed on the image display area 202 in which the lock setting box is last turned OFF. On the other hand, when the instruction to switch the image display is given by the “NEXT” button 206, the image file “0002.jpg” which is immediately after the image file “0001.jpg” is displayed on the image display area 202 in which the lock setting box is last turned OFF. The size of each of the image display areas 202 is calculated based upon the total number of the image display areas 202 included in the display area 201 and the size of the display area 201. Since the number of the image display areas 202 is decreased, the size of the image display area 202 is increased.
In step S506, it is determined whether there is a plurality of (two or more) image display areas in which the lock setting box is turned OFF. However, the present invention is not limited thereto. It may be determined whether there are image display areas in optional number or more. Accordingly, a plurality of image files can successively be switched and displayed at a time. Therefore, a user can promptly confirm the image files, when there are a great number of image files.
As described above, in the first and second exemplary embodiments, after an instruction to stop the switch of the image file is received when a plurality of image files are displayed in the image switching manner, the display of the image file is continued, and a new image display area is added to successively switch and display the remaining image files. Further, when an instruction to cancel the stop of the switch of the image file is received, unnecessary image display areas are deleted and the image files are successively switched and displayed on the remaining image display areas. Accordingly, a user can fix the display of the image files in the desired number to compare the image files to the other image files, so that usability can be enhanced. Since only the image files in the minimum necessary number for the comparison of the image files are displayed, the image file to be compared can be displayed with a large size. Consequently, it is easy for the user to visually confirm the image file.
Aspects of the present invention can also be realized by a computer of a system or apparatus (or devices such as a CPU or MPU) that reads out and executes a program recorded on a memory device to perform the functions of the above-described embodiment (s), and by a method, the steps of which are performed by a computer of a system or apparatus by, for example, reading out and executing a program recorded on a memory device to perform the functions of the above-described embodiment(s). For this purpose, the program is provided to the computer for example via a network or from a recording medium of various types serving as the memory device (e.g., computer-readable medium).
While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all modifications, equivalent structures, and functions.
This application claims priority from Japanese Patent Application No. 2009-117654 filed May 14, 2009, which is hereby incorporated by reference herein in its entirety.
Number | Date | Country | Kind |
---|---|---|---|
2009-117654 | May 2009 | JP | national |