This application is based upon and claims the benefit of priority from Japanese Patent Application No. 2017-205555, filed Oct. 24, 2017, the entire contents of which are incorporated herein by reference.
Embodiments described herein relate generally to an image processing apparatus and a control method by the same.
An image processing apparatus reads a document placed on a document table and displays a thumbnail image based on an image read from the document. The arrangement of the document in the thumbnail image displayed by such an image processing apparatus may be different from the placement of the document on the document table by the user, and thus, there is a problem that it is difficult for the user to recognize a proper placement of the document. When plural documents are placed for execution of multi-crop, if only a part of the documents can be displayed, there is a problem that it is difficult for the user to recognize whether the documents have been properly placed.
In accordance with an embodiment, an image processing apparatus includes an image sensor that is moved to acquire a region image of a document placement region containing a document placed thereon, processor configured to invert or rotate the image such that the arrangement of a document image contained in the region image is coincident with a placement position of the document on the document placement region in accordance with a main scanning direction of the image sensor, a sub-scanning direction of the image sensor, and a predetermined direction, and a display on which the region image inverted or rotated by the processor is displayed.
In an image processing apparatus according to the embodiment, it is possible to provide the image processing apparatus by which a user can easily recognize placement status of a document, and a control method by the same. Hereinafter, the image processing apparatus of the embodiment will be described in detail with reference to the accompanying drawings.
The image processing apparatus 100 forms an image on a sheet using a developer such as a toner. The sheet is, for example, a paper sheet or a label sheet. Any sheet can be used as long as the image processing apparatus 100 can form an image on a surface thereof.
The control panel 120 includes a plurality of buttons and a display 110. The control panel 120 receives an operation input by a user. The control panel 120 outputs a signal in response to an operation executed by the user to a CPU (Central Processing Unit) of the image processing apparatus 100.
The display 110 is an image display device such as a liquid crystal display, an organic EL (Electro Luminescence) display and the like. The display 110 displays various information relating to the image processing apparatus 100.
The printer 130 forms an image on the sheet based on image information generated by the image reading section 200 or image information received through a communication interface. The printer 130 forms an image through the following processes, for example. An image forming section of the printer 130 forms an electrostatic latent image on an outer circumferential surface of a photoconductive drum based on the image information. The image forming section of the printer 130 forms a visible image by attaching a developer to the electrostatic latent image formed on the outer circumferential surface of the photoconductive drum. A transfer section of the printer 130 transfers the visible image onto the sheet. A fixing section of the printer 130 fixes the visible image on the sheet by heating and pressurizing the sheet. The sheet on which the image is formed may be a sheet stored in the sheet storage section 140, or a sheet that is manually fed.
The sheet storage section 140 stores the sheet used in the image formation by the printer 130.
The image reading section 200 acquires a region image by moving a CCD (charge-coupled device) line sensor (hereinafter referred to as “line sensor”) (not shown) in a sub-scanning direction. An arrow A indicates a main scanning direction of the line sensor. An arrow B indicates a sub-scanning direction of the line sensor. An arrow C indicates a line of sight of a user who views an image reading region 500. The image reading section 200 can acquire the region image indicating a region containing a document placed in the image reading region 500. The region image indicates the entire image reading region 500 or a part thereof.
The image reading section 200 is configured to read an image of the document to be read and causes an HDD (Hard Disk Drive) 83 to record the read image information. The recorded image information may be transmitted to another information processing apparatus via a network. The recorded image information may be used to form an image on the sheet by the printer 130.
The ROM 81 stores various control programs. The RAM 82 stores various data. The hard disk drive 83 stores image data. The image reading section 200 includes a carriage, an exposure lamp, a mirror, a lens block for variable power, a CCD line sensor, and the like, which are not shown. The image processing section 85 performs various processes on the image data acquired by the image reading section 200.
The printer 130 includes an exposure unit, a photoconductive drum, a transfer belt, a driving roller, a driven roller, a primary transfer roller, a secondary transfer roller, a fixing unit, various conveyance paths, and the like, which are not shown. The printer 130 forms an image indicated by the image data processed by the image processing section 85 on the sheet.
Next, the process by the image processing apparatus 100 for inverting or rotating the region image such that the arrangement of the document image is coincident with the placement when the image reading region 500 is viewed from a predetermined direction. A function enabled by this process may be a thumbnail correction function. The document image is an image of the document. For example, if the image exists only in the center of the document, the document image also indicates the image of the entire document. In the following description, the direction of line of sight of a user is used as an example of a predetermined direction. By such a process, a thumbnail image arrangement that is coincident with the placement when viewing the reading region is displayed to the user. With the thumbnail correction function, the user can easily recognize the placement status of the document.
In a case of displaying the placement status of the document with the thumbnail image, images displayed as thumbnail images are different depending on a main scanning direction and a sub-scanning direction of the line sensor, and the line of sight direction. In the following description, it is assumed that the thumbnail image of the document placed in the image processing apparatus 100 shown in
Each figure shown in
In the parallel pattern A, the line of sight is same as the main scanning direction, and the sub-scanning direction is the scanning direction from left to right. The image processing in the parallel pattern A is a process of rotating the scanned image 90 degrees to the left. In the parallel pattern B, the line of sight is opposite to the main scanning direction, and the sub-scanning direction is the scanning direction from left to right. The image processing in the parallel pattern B is a process of horizontally inverting the scanned image and further rotating the scanned image 90 degrees to the left. In the parallel pattern C, the line of sight is same as the main scanning direction, and the sub-scanning direction is the scanning direction from right to left. The image processing in the parallel pattern C is a process of vertically inverting the scanned image and further rotating the scanned image 90 degrees to the left. In the parallel pattern D, the line of sight is opposite to the main scanning direction, and the sub-scanning direction is the scanning direction from right to left. The image processing in the parallel pattern D is a process of rotating the scanned image 90 degrees to the right.
Generally, in an XY plane, a vertical inversion with respect to an X-axis, a horizontal inversion with respect to a Y-axis, and a rotational movement around the origin are respectively represented by matrices. The combination of these is expressed with a product of matrices, but the product of matrices is generally not changeable. Therefore, in the case of the image processing including inversion and rotation, it is necessary to perform processes while maintaining the order thereof. For example, in the process of vertically inverting the scanned image and then rotating the scanned image 90 degrees to the left, if a process of rotating the scanned image 90 degrees to the left first, as the upper and lower sides before rotation become left and right sides after rotation, the processing result is not coincident. Furthermore, the image processing in each pattern is not unique. For example, the process of vertically inverting the scanned image and further rotating it by 90 degrees to the left is consistent with a process of rotating the scanned image 90 degrees to the left and further horizontally inverting the scanned image.
Each figure shown in
In the orthogonal pattern A, the line of sight is the same as the sub-scanning direction, and the main scanning direction is the scanning direction from left to right. The image processing in the orthogonal pattern A is a process of vertically inverting the scanned image. In the orthogonal pattern B, the line of sight is the opposite the sub-scanning direction, and the main scanning direction is the scanning direction from left to right. In the orthogonal pattern B, as the thumbnail image to be displayed is coincident with the scanned image, neither the inversion process nor the rotation process is executed. In the orthogonal pattern C, the line of sight is the same as the sub-scanning direction, and the main scanning direction is the scanning direction from right to left. The image processing in the orthogonal pattern C is a process of vertically inverting the scanned image and then horizontally inverting the scanned image. In the orthogonal pattern D, the line of sight is opposite to the sub-scanning direction, and the main scanning direction is the scanning direction from right to left. The image processing in the orthogonal pattern D is a process of horizontally inverting the scanned image.
The combination of the line of sight, the main scanning direction, and the sub-scanning direction is any one of the eight patterns (the parallel patterns A to D, and the orthogonal patterns A to D) shown in
In this way, the image processing section 85 inverts or rotates the region image based on the main scanning direction, the sub-scanning direction, and the predetermined direction. By the thumbnail correction function, as the image in which the arrangement of the document image is coincident with the placement when viewing the image reading region 500 from the line of sight is displayed as the thumbnail image, the user can easily recognize the placement status of the document.
The PC transmits the main scanning direction, the sub-scanning direction and the rotation setting to the image processing apparatus 100 if the main scanning direction, the sub-scanning direction and the rotation setting input by the user are acquired. The image processing apparatus 100 performs the image processing in response to the pattern corresponding to the main scanning direction and the sub-scanning direction, thereby obtaining the image in which the arrangement of the document image is coincident with the placement when viewing the image reading region 500 from the line of sight. The obtained image is reduced by the reduction processing section 88 and then transmitted to the PC. The PC displays the received image on the thumbnail display section 630.
As described above, according to the present embodiment, the user can easily recognize the placement status of the document. Next, an application example of the thumbnail correction function is described. In the above-described embodiment, the image processing apparatus 100 and the PC are used to describe each pattern in which the scanning directions and the line of sight are different. However, in the following example, the image processing apparatus 100 has the thumbnail correction function for performing display on the display 110.
Since the thumbnail image coincident with the placement of the document is displayed due to the thumbnail correction function in any one of the warning screens, the user can easily intuitively understand how to reposition the document, leading to remarkable improvement in usability for the user.
Next, an example in which the thumbnail correction function is applied to a multi-crop is described. In the multi-crop, plural documents are placed in the reading region 500. In this case, the documents overlap with each other in some cases.
In the multi-crop, many documents are placed in some cases, and in this case, plural documents may protrude from the image reading region 500. In such a case, if a thumbnail image that is not coincident with the placement when viewing the image reading region 500 from the line of sight is displayed, it is very difficult for the user to understand how to reposition the document. Therefore, by displaying the thumbnail image coincident with the placement of the document using the thumbnail correction function, the user can easily intuitively understand how to reposition the document, leading to remarkable improvement in usability for the user.
The image indicating the document protruding in
Next, the multi-crop process according to the present embodiment is described.
By clipping the images 312 and 313, rectangular images are obtained. In the present embodiment, when the clipped image is tilted, a skew process is performed and the shorter side is set as the upper side. Since there are two shorter side, there are two rotation methods; however, the skew process is performed according to the rotation method in which a rotation angle is smaller. If the rotation angles in two rotation methods are equal to each other, i.e., if the rotation angle is 90 degrees, the skew process is performed in the left direction by 90 degrees.
An image obtained by clipping the image 312 is stored by the storing section 89 in a form shown in
The CPU 80 performs scanning (ACT 102) and detects an abnormality in the placement state (ACT 103). In ACT 103, the protrusion of the document, or the overlap of the documents described above is regarded as an abnormality, and the abnormality can be detected. The CPU 80 determines whether or not the abnormality is detected (ACT 104). If the abnormality is detected (Yes in ACT 104), the CPU 80 generates the warning screen shown in
If no abnormality is detected in ACT 104 (No in ACT 104), the CPU 80 clips the image (ACT 107). Here, the clipping of the image refers to clipping of an image of a size if the size of the document is detected or the size is designated by the user. If the size of the document is not detected and is not designated by the user, a region corresponding to the document is clipped.
The CPU 80 determines whether or not the multi-crop is performed (ACT 108). In ACT 108, if a plurality of images is clipped by the clipping in ACT 107, it is determined that the multi-crop is performed. If it is determined that the multi-crop is performed (Yes in ACT 108), the CPU 80 performs the above-described skew correction (ACT 109) and proceeds to the process in ACT 110.
If it is determined that the multi-crop is not performed (No in ACT 108), the CPU 80 inverts or rotates the image based on the main scanning direction, the sub-scanning direction, and the predetermined direction (ACT 110). The CPU 80 stores the clipped image (ACT 111), and ends the present process.
According to the image processing apparatus 100 of the embodiment described above, it is possible to provide the image processing apparatus with which the user can easily recognize the placement status of the document.
The image processing apparatus 100 in the above embodiment can acquire an image illustrating a part of the region or the entire region of the image reading region 500 as the region image. Accordingly, for example, if the size of the document is designated by the user, an image indicating the region of the designated size may be acquired as the region image, alternatively, an image indicating the entire image reading region 500 may be acquired as the region image and then the image indicating the region of the designated size is clipped.
The functions of the image processing apparatus according to the foregoing embodiments may be realized by a computer. In this case, programs for realizing the functions are recorded in a computer-readable recording medium, and the functions may be realized by reading the programs in the computer-readable recording medium into a computer system and then executing them. Further, it is assumed that the “computer system” described herein contains an OS (operating system) or hardware such as peripheral devices. Further, the “computer-readable recording medium” refers to a portable medium such as a flexible disc, a magneto-optical disk, a ROM, a CD-ROM and the like or a storage device such as a hard disk built in the computer system. Furthermore, the “computer-readable recording medium” refers to a medium for dynamically holding the programs for a short time like a communication wire in a case in which the programs are sent via a communication line such as a network like the Internet or a telephone line. The “computer-readable recording medium” may hold the programs for a certain time like a volatile memory in the computer system serving as a server and a client. The foregoing programs may realize a part of the above-mentioned functions, or the above mentioned functions may be realized by the combination with a program already recorded in the computer system.
While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the invention. Indeed, the novel embodiments described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of the embodiments described herein may be made without departing from the spirit of the invention. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2017-205555 | Oct 2017 | JP | national |