This application is based on and claims priority under 35 USC 119 from Japanese Patent Application No. 2016-156354 filed Aug. 9, 2016.
The present invention relates to an information processing apparatus, an information processing method, and a non-transitory computer readable medium.
According to an aspect of the invention, there is provided an information processing apparatus including a generation unit and a display controller. The generation unit generates, in units of a group of pages, reduced images of pages included in a document image, the number of pages of the group of pages being determined on the basis of a hardware resource to be used in reduced-image generation. The display controller controls display of the reduced images generated by the generation unit on a display.
An exemplary embodiment of the present invention will be described in detail based on the following figures, wherein:
In the following, an exemplary embodiment of the present invention will be described with reference to the drawings.
Returning to
The constituent elements 11 to 13 in the image forming apparatus 10 are realized by performing a coordination operation using the computer included in the image forming apparatus 10 and the programs operated by the CPU 21 installed in the computer. In addition, the document image memory 14 and the preview image memory 15 are realized by the RAM 28 or the HDD 25 installed in the image forming apparatus 10. Alternatively, an external memory may be used via the network.
The programs used in the present exemplary embodiment may also be, as a matter of course, provided by a communication unit, and may also be stored in and provided as a computer readable medium such as a CD-ROM or a USB memory. The programs provided by the communication unit or from the recording medium are installed in the computer, and various processes are realized by the CPU 21 of the computer sequentially executing the programs.
Here, preview images of pages are generated in units of a “group of pages” in the present exemplary embodiment and the number of pages of the group of pages is the number of pages of preview images to be generated in a single generation process. When the pages of the document image are displayed on the operation panel 23, the preview images of the pages included in the document image are generated and displayed on the operation panel 23 in the present exemplary embodiment due to a relationship between the operation panel 23 and the document image in terms of resolution. In the case where the number of pages of the document image is large, the preview images of all the pages are not collectively generated in the present exemplary embodiment but are generated over several sessions as necessary by considering the specifications for the hardware resources such as the CPU performance and the amount of storage of the image forming apparatus 10. Multiple pages to be processed per single preview-image generation process is referred to as “group of pages”. For example, in the case where the number of pages of the group of pages is determined to be 10 pages, when preview images of a 24-page document image are generated, preview images of 10 pages (the 1st to 10th pages) included in the first group of pages are generated at first, and preview images of 10 pages (the 11th to 20th pages) included in the next group of pages are generated in accordance with a display request for the next group of pages. Thereafter, preview images of the 21st to 24th pages included in the following group of pages are generated in accordance with a display request for the following group of pages. In this manner, preview images are generated in units of the group of pages and are to be displayed on the operation panel 23 in the present exemplary embodiment. Note that, for the preview images to be displayed, all the pages are not always displayed at once depending on the size of the screen of the operation panel 23, and may also be displayed by scrolling the screen or the like.
As described above, the preview images of the pages included in the document image are generated and displayed on the operation panel 23 in the present exemplary embodiment. A characteristic of the present exemplary embodiment is to determine units of preview-image generation, that is, the number of pages of the group of pages on the basis of the hardware resources to be used in preview-image generation. When the size of preview images is fixed for the sake of description, the number of preview images that may be collectively displayed at once depends on the screen size of the operation panel 23.
The number of pages for collective generation of preview images (the group of pages) is determined in the present exemplary embodiment by considering not only the relationship between the specifications for the screen such as the size and resolution of the operation panel 23 and the resolution of preview images but also hardware resources to be used to generate the preview images, specifically the processing performance of the CPU 21 and the amount of storage of a memory such as the RAM 28 or the HDD 25 for storing preview images. In the following, a determination method for the number of pages of the group of pages will be described, the group-of-pages determination method being performed by the group-of-pages determination unit 12.
“Amount of storage” is the amount of storage available for a preview function. In the present exemplary embodiment, when a description is made assuming that preview images are to be loaded into the RAM 28, the amount of storage is the amount of space of the RAM 28 available for generation of the preview images and storage of the generated preview images. The capacity of the RAM 28 is used for the sake of brevity in the present exemplary embodiment; however, strictly speaking, the amount of storage obtained by subtracting the amount of storage to be used by a system or other applications from the capacity of the RAM 28 or the amount of storage set in advance and allocated to the preview function may also be set in a table illustrated in
“Processing performance” indicates the processing performance of the CPU 21. In the present exemplary embodiment, the processing performance is represented as a measure that is the number of pages that may be generated per second.
In
In
According to the relationships between the preview image size and the hardware resources illustrated in
As described above, the determination method for the number of pages of the group of pages has been described using
In addition, the present exemplary embodiment has been described in which 10 seconds are used as an example of the certain time for calculating the processing performance of the CPU 21 regarding preview-image generation; however, the certain time does not have to be limited to 10 seconds. For example, a time of about a few seconds that does not cause the user to experience stress before display of preview images may also be used.
Next, a preview-image display method according to the present exemplary embodiment will be described. Note that, here, the document image has 18 pages, and the number of pages of the group of pages is determined to be 10 pages.
For example, the user causes the scanner 24 to read multiple pages (here 18 pages) of the document in order to transmit the document by FAX. The read images (the document image) are stored in the document image memory 14. After the document is read, the preview-image generation unit 13 then generates preview images of the pages included in the document image. Here, since the number of pages of the group of pages has been determined to be 10 pages, the preview-image generation unit 13 generates in advance preview images of 10 pages (the 1st to 10th pages) starting from the 1st page among the 18 pages and registers the generated preview images in the preview image memory 15. Preview images of the 11th to 18th pages are not generated.
When the user inputs a certain operation command for causing the operation panel 23 to display the document image, the UI controller 11 reads out the preview images generated in advance from the preview image memory 15 and causes the operation panel 23 to display the preview images in accordance with a display request based on the operation performed by the user, the number of pages of the preview images generated in advance being the same as that of the group of pages.
Here, when the user selects and operates the “next” button 31, the UI controller 11 receives the operation and notifies the preview-image generation unit 13 of reception of the operation. The preview-image generation unit 13 generates, in accordance with this notification, preview images of the group of pages commanded by the user, that is, preview images of the 11th to 18th pages included in the next group of pages among the 18 pages and registers the generated preview images in the preview image memory 15. Note that the preview-image generation unit 13 may serve as a deletion unit and may register preview images and also delete registered preview images that are no longer to be displayed from the preview image memory 15 to free storage space. The UI controller 11 reads out the preview images of the commanded group of pages from the preview image memory 15 and causes the operation panel 23 to display the preview images.
The user confirms, in a manner similar to that described above, the read images by performing a certain scrolling operation to display the undisplayed preview images.
The operation panel 23 according to the present exemplary embodiment has a wide shape as exemplified in
As exemplified in
Note that the “next” button 31 and the “previous” button 32 are formed in the same size as that of the preview images to make it easier for the user to operate in
On the other hand, as illustrated in
In the case where the mobile terminal 1 is connected to the image forming apparatus 10 and used as a display, the number of pages of the group of pages is determined with reference to the specifications for the hardware resources of the mobile terminal 1.
Note that the “next” button 31 for displaying the group of pages placed immediately after the group of pages that is being displayed and the “previous” button 32 for displaying the group of pages placed immediately before the group of pages that is being displayed are illustrated as operation parts in the present exemplary embodiment; however, for example, other operation parts for switching display from the group of pages that is being displayed to the group of pages including the last page or to the group of pages including the top page may also be used.
In the present exemplary embodiment, the operation part or parts are displayed on the screen and a group-of-pages switching command is issued by the user performing an operation. The way in which the group-of-pages switching command is issued does not have to be limited to this way. For example, an operation command may also be issued, without using any operation part, by performing a predetermined gesture operation on the operation panel 23, examples of the gesture operation including tap, flick, and swipe operations on the operation panel 23.
As described above, a characteristic of the present exemplary embodiment is to determine the number of pages of the group of pages on the basis of the hardware resources to be used to generate and display preview images. However, the user may only want to confirm, for example, the top page or the first few pages. Assuming such a case, the group-of-pages determination unit 12 may serve as a setting unit that allows the user to set the number of pages of the group of pages. That is, the group-of-pages determination unit 12 commands, in accordance with a certain operation performed by the user, the UI controller 11 to cause the operation panel 23 to display a setting screen for inputting the number of pages of the group of pages. The number of pages input and specified by the user through the setting screen is set as the number of pages of the group of pages as is. As a result, the preview-image generation unit 13 generates preview images in units of the group of pages the number of pages of which has been input and specified by the user.
Note that the image forming apparatus 10 including a computer and having a scanned-image preview function has been described as an example of an information processing apparatus in the present exemplary embodiment; however; the present exemplary embodiment may also be applied to apparatuses other than the image forming apparatus 10 as long as the apparatuses are generic computers having a function for generating and displaying reduced images.
The foregoing description of the exemplary-embodiment of the present invention has been provided for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise forms disclosed. Obviously, many modifications and variations will be apparent to practitioners skilled in the art. The embodiment was chosen and described in order to best explain the principles of the invention and its practical applications, thereby enabling others skilled in the art to understand the invention for various embodiments and with the various modifications as are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
2016-156354 | Aug 2016 | JP | national |