Source: http://www.google.com/patents/US20030218781?dq=5,941,947
Timestamp: 2016-04-30 04:44:02
Document Index: 562415555

Matched Legal Cases: ['art. 17', 'art. 27', 'Application No. 5', 'Application No. 6', 'Application No. 05', 'Application No. 08', 'art 1', 'art 2', 'art 3', 'art 4', 'art 21', 'art 22', 'art 31', 'art 32', 'arts 33', 'art 41', 'art 42', 'art 43', 'art 43', 'art 43', 'art 44', 'art 45', 'art 111', 'art 112', 'art 113', 'art 115', 'art 111', 'art 112', 'art 111', 'art 112', 'art 112', 'art 112', 'art-112', 'art 113', 'art 115', 'art 115', 'art 115', 'art 113', 'art 112', 'art 111', 'art 112', 'art 111', 'art 112', 'art 113', 'art 115', 'art 115', 'art 113', 'art 112', 'art 111', 'art 211', 'art 211', 'art 211', 'art 216', 'art 216', 'art 211', 'art 216', 'art 216', 'art 211', 'art 211', 'art 211', 'art 211', 'art 211', 'art 211', 'art 211', 'art 211', 'art 211']

Patent US20030218781 - Image input apparatus, image processing apparatus, image processing method ... - Google PatentsSearch Images Maps Play YouTube News Gmail Drive More »Sign inPatentsAn image input apparatus includes a show-through elimination part performing show-through elimination on image data read from a front face of an original and image data read from a back face of the original. An image compression part compresses and converts, into codes, the image data of the front face...http://www.google.com/patents/US20030218781?utm_source=gb-gplus-sharePatent US20030218781 - Image input apparatus, image processing apparatus, image processing method, image processing program and storage medium storing the image processing programAdvanced Patent SearchPublication numberUS20030218781 A1Publication typeApplicationApplication numberUS 10/409,123Publication dateNov 27, 2003Filing dateApr 9, 2003Priority dateApr 10, 2002Also published asUS7277596, US7369713, US20070258660Publication number10409123, 409123, US 2003/0218781 A1, US 2003/218781 A1, US 20030218781 A1, US 20030218781A1, US 2003218781 A1, US 2003218781A1, US-A1-20030218781, US-A1-2003218781, US2003/0218781A1, US2003/218781A1, US20030218781 A1, US20030218781A1, US2003218781 A1, US2003218781A1InventorsTooru SuinoOriginal AssigneeTooru SuinoExport CitationBiBTeX, EndNote, RefManPatent Citations (2), Referenced by (15), Classifications (21), Legal Events (5) External Links: USPTO, USPTO Assignment, EspacenetImage input apparatus, image processing apparatus, image processing method, image processing program and storage medium storing the image processing program
US 20030218781 A1Abstract
An image input apparatus includes a show-through elimination part performing show-through elimination on image data read from a front face of an original and image data read from a back face of the original. An image compression part compresses and converts, into codes, the image data of the front face and the back face from which image data show-through is eliminated. The show-through elimination part uses the image data of the back face when performing the show-through elimination on the image data of the front face and uses the image data of the front face when performing the show-through elimination of the image data of the back face. Images(22) Claims(50)
What is claimed is: 1. An image input apparatus, comprising: a show-through elimination part performing show-through elimination on image data read from a front face of an original and image data read from a back face of the original; and an image compression part compressing and converting, into codes, the image data of the front face and the back face from which image data show-through is eliminated, said show-through elimination part using the image data of the back face when performing the show-through elimination on the image data of the front face and using the image data of the front face when performing the show-through elimination on the image data of the back face. 2. The image input apparatus as claimed in claim 1, wherein, when pixel concentration of the front face is equal to or less than a first threshold value and pixel concentration of the back face in the same position is equal to or more than a second threshold value, the show-through elimination part determines that the pixel concentration of the front face is show-through pixel, and when the pixel concentration of the back face is equal to or less than the first threshold value and the pixel concentration of the front face in the same position is equal to or more than the second threshold value, the show-through elimination part determines that the pixel concentration of the back face is show-through pixel. 3. The image input apparatus as claimed in claim 1, wherein the image compression part uses a lossless compression method, and when an amount of data of compressed codes of one of the front face and the back face is equal to or less than a predetermined value, it is determined that the one of the front face and the back face is neither a sending face nor a printing side. 4. The image input apparatus as claimed in claim 1, wherein, when orthogonal transformation is performed on the image data of one of the front face and the back face subjected to the show-through elimination, and an absolute value of a coefficient of a high-frequency band after the orthogonal transformation is equal to or less than a predetermined value, it is determined that the one of the front face and the back face is neither a sending face nor a printing side. 5. The image input apparatus as claimed in claim 1, further comprising: an operation panel allowing a user to select one of the front face, the back face, both faces and an automatically determined face as one of the sending face and the printing side, wherein, when the user selects the automatically determined face, the one of the sending face and the printing side is automatically determined such that the image compression part uses a lossless compression method, and when an amount of data of compressed codes of one of the front face and the back face is equal to or less than a predetermined value, it is determined that the one of the front face and the back face is neither the sending face nor the printing side. 6. The image input apparatus as claimed in claim 1, further comprising: an operation panel allowing a user to select one of the front face, the back face, both faces and an automatically determined face as one of the sending face and the printing side, wherein, when the user selects the automatically determined face, the one of the sending face and the printing side is automatically determined such that when orthogonal transformation is performed on the image data of one of the front face and the back face subjected to the show-through elimination, and an absolute value of a coefficient of a high-frequency band after the orthogonal transformation is equal to or less than a predetermined value, it is determined that the one of the front face and the back face is neither the sending face nor the printing side. 7. An image processing apparatus compressing image data by following a procedure of conversion into two-dimensional wavelet coefficients, quantization, and coding, said image processing apparatus comprising: a determination part determining whether a text image that is an original of the image data is of vertical writing or horizontal writing based on characteristics of coefficients in one of a vertical direction and a horizontal direction included in the two-dimensional wavelet coefficients. 8. The image processing apparatus as claimed in claim 7, wherein the two-dimensional wavelet coefficients after conversion form an n-layer hierarchy. 9. The image processing apparatus as claimed in claim 8, wherein the determination part determines whether the text image that is the original of the image data is of vertical writing or horizontal writing by using a top layer in the n-layer hierarchy, and when the determination cannot be made, successively uses lower layers for the determination. 10. The image processing apparatus as claimed in claim 8, wherein the determination part determines whether the text image that is the original of the image data is of vertical writing or horizontal writing based on characteristics of coefficients in one of a subband HL and a subband LH included in a layer in the n-layer hierarchy. 11. The image processing apparatus as claimed in claim 9, wherein the determination part determines whether the text image that is the original of the image data is of vertical writing or horizontal writing based on characteristics of coefficients in one of a subband HL and a subband LH included in a layer in the n-layer hierarchy. 12. The image processing apparatus as claimed in claim 7, wherein the determination part determines whether the text image that is the original of the image data is of vertical writing or horizontal writing based on characteristics of coefficients of a subband HL included in the two-dimensional wavelet coefficients. 13. The image processing apparatus as claimed in claim 12, wherein the determination part determines that the text image that is the original of the image data is of vertical writing, when, regarding coefficients in the subband HL, a sum of patterns where a predetermined number of the coefficients, each being greater than a predetermined positive value, are successively arranged in a vertical direction and patterns where the predetermined number of the coefficients, each being less than a predetermined negative value, are successively arranged in the vertical direction is greater than a predetermined value. 14. The image processing apparatus as claimed in claim 7, wherein the determination part determines whether the text image that is the original of the image data is of vertical writing or horizontal writing based on characteristics of coefficients in a subband LH included in the two-dimensional wavelet coefficients. 15. The image processing apparatus as claimed in claim 14, wherein the determination part determines that the text image that is the original of the image data is of horizontal writing, when, regarding coefficients in the subband LH, a sum of patterns where a predetermined number of the coefficients, each being greater than a predetermined positive value, are successively arranged in a horizontal direction and patterns where the predetermined number of the coefficients, each being less than a predetermined negative value, are successively arranged in the horizontal direction is greater than a predetermined value. 16. The image processing apparatus as claimed in claim 7, further comprising: an image rotating part rotating and outputting the image data in accordance with the determination by the determination part. 17. An image processing apparatus decompressing, by an inverse procedure, image data compressed by following a procedure of conversion into two-dimensional wavelet coefficients, quantization, and coding, said image processing apparatus comprising: a determination part determining whether or not a text image that is an original of the image data is of vertical writing or horizontal writing based on characteristics of coefficients in one of a vertical direction and a horizontal direction included in the two-dimensional wavelet coefficients. 18. The image processing apparatus as claimed in claim 17, wherein the two-dimensional wavelet coefficients after conversion form an n-layer hierarchy. 19. The image processing apparatus as claimed in claim 18, wherein the determination part determines whether or not the text image that is the original of the image data is of vertical writing or horizontal writing by using a top layer in the n-layer hierarchy, and when the determination cannot be made, successively uses lower layers for the determination. 20. The image processing apparatus as claimed in claim 18, wherein the determination part determines whether the text image that is the original of the image data is of vertical writing or horizontal writing based on characteristics of coefficients in one of a subband HL and a subband LH included in a layer in the n-layer hierarchy. 21. The image processing apparatus as claimed in claim 19, wherein the determination part determines whether the text image that is the original of the image data is of vertical writing or horizontal writing based on characteristics of coefficients in one of a subband HL and a subband LH included in a layer in the n-layer hierarchy. 22. The image processing apparatus as claimed in claim 17, wherein the determination part determines whether the text image that is the original of the image data is of vertical writing or horizontal writing based on characteristics of coefficients of a subband HL included in the two-dimensional wavelet coefficients. 23. The image processing apparatus as claimed in claim 22, wherein the determination part determines the text image that is the original of the image data to be of vertical writing, when, regarding coefficients in the subband HL, a sum of patterns where a predetermined number of the coefficients, each being greater than a predetermined positive value, are successively arranged in a vertical direction and patterns where the predetermined number of the coefficients, each being less than a predetermined negative value, are successively arranged in the vertical direction is greater than a predetermined value. 24. The image processing apparatus as claimed in claim 17, wherein the determination part determines whether the text image that is the original of the imaged data is of vertical writing or horizontal writing based on characteristics of coefficients in a subband LH included in the two-dimensional wavelet coefficients. 25. The image processing apparatus as claimed in claim 24, wherein the determination part determines that the text image that is the original of the image data is of horizontal writing, when, regarding coefficients in the subband LH, a sum of patterns where a predetermined number of the coefficients, each being greater than a predetermined positive value, are successively arranged in a horizontal direction and patterns where the predetermined number of the coefficients, each being less than a predetermined negative value, are successively arranged in the horizontal direction is greater than a predetermined value. 26. The image processing apparatus as claimed in claim 17, further comprising: an image rotating part rotating and outputting the image data in accordance with the determination by the determination part. 27. An image processing method of compressing image data by following a procedure of conversion into two-dimensional wavelet coefficients, quantization, and coding, said image processing method comprising the step of: determining whether a text image that is an original of the image data is of vertical writing or horizontal writing based on characteristics of coefficients in one of a vertical direction and a horizontal direction included in the two-dimensional wavelet coefficients. 28. An image processing method of decompressing, by an inverse procedure, image data compressed by following a procedure of conversion into two-dimensional wavelet coefficients, quantization, and coding, said image processing method comprising the step of: determining whether a text image that is an original of the image data is of vertical writing or horizontal writing based on characteristics of coefficients in one of a vertical direction and a horizontal direction included in the two-dimensional wavelet coefficients. 29. An image processing program installed in a computer and causing the computer to carry out a function of compressing image data by following a procedure of conversion into two-dimensional wavelet coefficients, quantization, and coding, said image processing program comprising the instruction of: causing the computer to carry, out a determination function of determining whether a text image that is an original of the image data is of vertical writing or horizontal writing based on characteristics of coefficients in one of a vertical direction and a horizontal direction included in the two-dimensional wavelet coefficients. 30. The image processing program as claimed in claim 29, wherein the two-dimensional wavelet coefficients after the conversion form an n-layer hierarchy. 31. The image processing program as claimed in claim 30, wherein the determination function determines whether the text image that is the original of the image data is of vertical writing or horizontal writing by using a top layer in the n-layer hierarchy, and when the determination cannot be made, successively uses lower layers for the determination. 32. The image processing program as claimed in claim 30, wherein the determination function determines whether the text image that is the original of the image data is of vertical writing or horizontal writing based on characteristics of coefficients in one of a subband HL and a subband LH included in a layer in the n-layer hierarchy. 33. The image processing program as claimed in claim 31, wherein the determination function determines whether the text image that is the original of the image data is of vertical writing or horizontal writing based on characteristics of coefficients in one of a subband HL and a subband LH included in a layer in the n-layer hierarchy. 34. The image processing program as claimed in claim 29, wherein the determination function determines whether the text image that is the original of the image data is of vertical writing or horizontal writing based on characteristics of coefficients of a subband HL included in the two-dimensional wavelet coefficients. 35. The image processing program as claimed in claim 34, wherein, regarding the coefficients of the subband HL, the determination function determines that the text image that is the original of the image data is of vertical writing, when a sum of patterns where a predetermined number of the coefficients, each being greater than a predetermined positive value, are successively arranged in a vertical direction and patterns where the predetermined number of the coefficients, each being less than a predetermined negative value, are successively arranged in the vertical direction is greater than a predetermined value. 36. The image processing program as claimed in claim 29, wherein the determination function determines whether the text image that is the original of the image data is of vertical writing or horizontal writing based on characteristics of coefficients of a subband LH included in the two-dimensional wavelet coefficients. 37. The image processing program as claimed in claim 36, wherein, regarding the coefficients of the subband LH, the determination function determines that the text image that is the original of the image data is in horizontal writing, when a sum of patterns where a predetermined number of the coefficients, each being greater than a predetermined positive value, are successively arranged in a horizontal direction and patterns where the predetermined number of the coefficients, each being less than a predetermined negative value, are successively arranged in the horizontal direction is greater than a predetermined value. 38. The image processing program as claimed in claim 29, further comprising the instruction of: causing the computer to carry out an image rotation function of rotating and outputting the image data in accordance with the determination by the determination function. 39. An image processing program installed in a computer and causing the computer to carry out a function of decompressing, by an inverse procedure, image data compressed by following a procedure of conversion into two-dimensional wavelet coefficients, quantization, and coding, said image processing program comprising the instruction of: causing the computer to carry out a determination function of determining whether a text image that is an original of the image data is of vertical writing or horizontal writing based on characteristics of coefficients in one of a vertical direction and a horizontal direction included in the two-dimensional wavelet coefficients. 40. The image processing program as claimed in claim 39, wherein the two-dimensional wavelet coefficients after the conversion form an n-layer hierarchy. 41. The image processing program as claimed in claim 40, wherein the determination function determines whether the text image that is the original of the image data is of vertical writing or horizontal writing by using a top layer in the n-layer hierarchy, and when the determination cannot be made, successively uses lower layers for the determination. 42. The image processing program as claimed in claim 40, wherein the determination function determines whether the text image that is the original of the image data is of vertical writing or horizontal writing based on characteristics of coefficients in one of a subband HL and a subband LH included in a layer in the n-layer hierarchy. 43. The image processing program as claimed in claim 41, wherein the determination function determines whether the text image that is the original of the image data is of vertical writing or horizontal writing based on characteristics of coefficients in one of a subband HL and a subband LH included in a layer in the n-layer hierarchy. 44. The image processing program as claimed in claim 39, wherein the determination function determines whether the text image that is the original of the image data is of vertical writing or horizontal writing based on characteristics of coefficients of a subband HL included in the two-dimensional wavelet coefficients. 45. The image processing program as claimed in claim 44, wherein, regarding the coefficients of the subband HL, the determination function determines that the text image that is the original of the image data is of vertical writing, when a sum of patterns where a predetermined number of the coefficients, each being. greater than a predetermined positive value, are successively arranged in a vertical direction and patterns where the predetermined number of the coefficients, each being less than a predetermined negative value, are successively arranged in the vertical direction is greater than a predetermined value. 46. The image processing program as claimed in claim 39, wherein the determination function determines whether the text image that is the original of the image data is of vertical writing or horizontal writing based on characteristics of coefficients of a subband LH included in the two-dimensional wavelet coefficients. 47. The image processing program as claimed in claim 46, wherein, regarding the coefficients of the subband LH, the determination function determines that the text image that is the original of the image data is in horizontal writing, when a sum of patterns where a predetermined number of the coefficients, each being greater than a predetermined positive value, are successively arranged in a horizontal direction and patterns where the predetermined number of the coefficients, each being less than a predetermined negative value, are successively arranged in the horizontal direction is greater than a predetermined value. 48. The image processing program as claimed in claim 39, further comprising the instruction of: causing the computer to carry out an image rotation function of rotating and outputting the image data in accordance with the determination by the determination function. 49. A storage medium storing an image processing program installed in a computer and causing the computer to carry out a function of compressing image data by following a procedure of conversion into two-dimensional wavelet coefficients, quantization, and coding, said image processing program comprising the instruction of: causing the computer to carry out a determination function of determining whether a text image that is an original of the image data is of vertical writing or horizontal writing based on characteristics of coefficients in one of a vertical direction and a horizontal direction included in the two-dimensional wavelet coefficients. 50. A storage medium storing an image processing program installed in a computer and causing the computer to carry out a function of decompressing, by an inverse procedure, image data compressed by following a procedure of conversion into two-dimensional wavelet coefficients, quantization, and coding, said image processing program comprising the instruction of: causing the computer to carry out a determination function of determining whether a text image that is an original of the image data is of vertical writing or horizontal writing based on characteristics of coefficients in one of a vertical direction and a horizontal direction included in the two-dimensional wavelet coefficients. Description
BACKGROUND OF THE INVENTION [0001] 1. Field of the Invention [0002] The present invention generally relates to image input apparatuses that correctly determine a sending face (face of a document having information to be sent thereon) or a printing side, and eliminate show-through (bleed-through, images on the back face of a document that show through in the front face), and to image processing apparatuses, image processing methods, image processing programs and storage media storing the image processing programs that perform compression and decompression of image data, and more particularly, to a technique suitable for image processing apparatuses, such as facsimile machines (FAX), scanners, digital copying machines, and printing machines (printers). The present invention may be applied to machines that handle images such as mobile phones, digital cameras, browsers for the Internet, machines for medical use, and machines for satellite communication, and to various application programs, device drivers such as printer drivers, and the like. [0003] 2. Description of the Related Art [0004] Conventionally, in facsimile machines, digital copying machines (with ADF), and printers to which papers are manually fed, in many cases, it is difficult to understand whether the sending face or printing side should be up or down. Thus, when using a facsimile apparatus, for example, there is a case where unnecessary trouble and cost occur because the wrong side of an original is sent and the original must be sent again. [0005] Accordingly, in order to eliminate such a problem, there is proposed an image reading apparatus that reads the front face of an original, automatically reverses the original so as to read the back face when the front face is determined to be blank (white), and performs compression and transmission, for example (refer to Japanese Laid-Open Patent Application No. 5-48835). [0006] In addition, there is also an apparatus that reads the front face and the back face with a scanner and determines whether or not the front face or back face is the printing side based on the amount of data of a compressed image (refer to Japanese Laid-Open Patent Application No. 6-245003). [0007] In the image reading apparatus of the former example, however, the side that should not be printed is limited to blank. Thus, when an original is black paper or paper of a brown-colored variety, for example, it is impossible to determine the printing side. Also, with lossy compression by such as the apparatus of the following example, it is difficult to determine the printing side only from the amount of data. [0008] Incidentally, with the progress in image input/output techniques, the demand for higher definition images has increased in recent years. Taking a digital camera as an example of image input apparatuses, price-reduction of high performance charge-coupled devices, having three million or more pixels, advances and such charge-coupled devices are widely used in products of popular price. In addition, regarding technical fields of image output apparatuses and image display apparatuses, achievements in higher-definition and price-reduction in hard copy fields, such as laser printers and ink jet printers, are remarkable. Soft copy fields such as CRTs and LCDs are not exceptions to such phenomena. [0009] The marketing of such high-definition and inexpensive image input/output apparatuses is causing an increase in popularity of high-definition images. In the future, it is expected that the demand for high-definition images will continue to increase in various fields. [0010] Against the background as described above, it is conceived that the demand for compression and decompression techniques capable of easily handling high-definition images will become higher and higher from now on. Thus, conventionally, there is, as one of image compression techniques satisfying the demand, the technique of JPEG 2000 that can process high-definition images by dividing the images into small units and even decode the images of high compression rates with high quality. [0011] As for the type of usage of JPEG 2000, from the characteristics of the data structure, it is conceivable that a server will store compressed images in a network environment, such as the Internet and a server/client system, and the server provides a user or client with all or a part of compressed images in accordance with a request from the user or client. [0012] Considering such type of usage of JPEG 2000 in the network environment, however, it is assumed that the server compresses a large quantity of image data and manages the image data after the compression. In this case, it is anticipated that the server makes mistakes in recognizing the aspects of the images in not just a few cases. Hence, when a user of the Internet or a client in a server/client system accesses image data stored in the server with wrong aspects, of course, there are inconveniences that the aspect of the image output on a display and that of the image output from a printer, for example, are wrong and inappropriate, since the aspects of the image data obtained from the server are also wrong. Such inconveniences are problems to be solved at all cost in terms of difficulty in reading, especially when the image data are based on text images. [0013] It is conceived as the clue for solving the above-described problems to determine whether text images are of vertical writing or horizontal writing. The determination techniques of vertical writing and horizontal writing include techniques described in Japanese Laid-Open Patent Applications No. 05-089284 and No. 08-242336, for example. Japanese Laid-Open Patent Application No. 05-089284 describes the technique of projecting an input image in x-direction and y-direction and performing one-dimensional Fourier transformation for each so as to determine whether the image is of vertical writing or horizontal writing from the size of power spectrum. In addition, Japanese Laid-Open Patent Application No. 08-242336 describes the technique of determining the aspect of an original by using document analysis functions of OCR. [0014] As described above, it is conceived, as the clue for solving the problems of error in determining the aspect of image data, to determine whether text images behind the image data are of vertical writing or horizontal writing. Such determination techniques include the techniques in the above-described applications. In the techniques described in the applications, however, heavy functions (requiring large amounts of computer resources) are required such as one-dimensional Fourier transformation functions and OCR functions so as to determine the aspects of characters and originals. Accordingly, the weight (amounts of computer resource requirements) of such heavy functions becomes a constraint on the practical use of the above-described techniques in a network environment such as the Internet and a sever/client system. SUMMARY OF THE INVENTION [0015] It is a general object of the present invention to provide an improved and useful image input apparatus, image processing apparatus, image processing method, image processing program, and storage medium storing the image processing program in which the above-mentioned problems are eliminated. [0016] It is another and more specific object of the present invention to provide an image input apparatus capable of correctly determining a sending face (face of a document having information to be sent thereon) or a printing side. [0017] It is still another object of the present invention to provide an image input apparatus capable of reducing communication cost to a low level by eliminating show-through (bleed-through, images on the back face of a document that show through in the front face) and removing needless noise so as to reduce the amount of coded data after compression in a lossless compression method. [0018] It is yet another object of the present invention to provide an image input apparatus capable of definitely processing a sending face or a printing side even when it is difficult to recognize the sending face or printing side of an original through selecting, by a user, whether or not to automatically (by default) perform determination of whether the sending face or printing side is the front face, back face, or both faces. [0019] It is a further object of the present invention to make it possible to determine whether a text image included in image data is of vertical writing or horizontal writing without adding a heavy function (requiring large amounts of computer resources) in a compression/decompression process of the image data. [0020] In order to achieve the above-mentioned objects, according to one aspect of the present invention, there is provided an image input apparatus that includes: [0021] a show-through elimination part performing show-through elimination on image data read from the front face of an original and image data read from the back face of the original; and [0022] an image compression part compressing and converting, into codes, the image data of the front face and the back face from which image data show-through is eliminated, [0023] the show-through elimination part using the image data of the back face when performing the show-through elimination on the image data of the front face and using the image data of the front face when performing the show-through elimination on the image data of the back face. [0024] In the present invention, compression and decompression are performed by reading the printing side or the sending side. However, the side that should not be printed may be other than blank (white). For example, an original may be black paper or paper of a brown-colored variety such as rough paper. [0025] Also, in the present invention, whether or not a side of an original is the printing side is determined by the amount of data of lossless compression or the absolute value of a coefficient after wavelet transformation. [0026] Additionally, in the present invention, it is possible to perform correct determination since whether or not a side of an original is the printing side is determined by the amount of data of codes after compression only in the case of a lossless compression method. Also, the determination of the printing side is made by the absolute value of a coefficient of a high-frequency component after orthogonal transformation. Thus, it is possible to correctly determine the printing side even in the case of a lossy compression method if the compression method uses orthogonal transformation (such as JPEG 2000), for example. [0027] According to the present invention, it is possible to reduce the amount of codes in the case of lossless compression by performing the show-through elimination on both front face and back face. Thus, when transferring image data, it is possible to improve the transfer speed and also reduce the transfer cost. [0028] In addition, since the sending face or the printing side is automatically determined, it is unnecessary to print or transfer an original again after printing or transferring the original in a wrong way. Accordingly, there is no waste of time and cost. [0029] Further, in the case of an original with a confusing sending face or printing side, the user can manually select the sending face or the printing side. Thus, it is possible to correctly print or transmit any original. [0030] Additionally, according to another aspect of the present invention, there is provided an image processing apparatus compressing image data by following the procedure of conversion into two-dimensional wavelet coefficients, quantization, and coding, the image processing apparatus including: [0031] a determination part determining whether a text image that is the original of the image data is of vertical writing or horizontal writing based on the characteristics of coefficients in one of the vertical direction and the horizontal direction included in the two-dimensional wavelet coefficients. [0032] Accordingly, it is possible to determine whether a text image included in image data is of vertical writing or horizontal writing without adding a heavy function in a compression process of the image data. [0033] In addition, according to another aspect of the present invention, there is also provided an image processing apparatus decompressing, by the inverse procedure, image data compressed by following the procedure of conversion into two-dimensional wavelet coefficients, quantization, and coding, the image processing apparatus including: [0034] a determination part determining whether or not a text image that is the original of the image data is of vertical writing or horizontal writing based on the characteristics of coefficients in one of the vertical direction and the horizontal direction included in the two-dimensional wavelet coefficients. [0035] Accordingly, it is determined whether a text image included in image data is of vertical writing or horizontal writing without adding a heavy function in a compression process of the image data. [0036] Further, in each of the above-described image processing apparatuses, the two-dimensional wavelet coefficients after the conversion form an n-layer hierarchy. [0037] Accordingly, in a compression/decompression process of image data, without adding a heavy function, it is possible to determine whether a text image that is the original of image data is of vertical writing or horizontal writing based on the characteristics of coefficients in one of the vertical direction and the horizontal direction included in the two-dimensional wavelet coefficients in a layer in the n-layer hierarchy. [0038] In addition, the determination part may determine whether or not the text image that is the original of the image data is of vertical writing or horizontal writing by using a top layer in the n-layer hierarchy, and when the determination cannot be made, successively use lower layers for the determination. [0039] Accordingly, it is possible to obtain reliability of the determination. [0040] Also, the determination part may determine whether the text image that is the original of the image data is of vertical writing or horizontal writing based on the characteristics of coefficients in one of a subband HL and a subband LH included in a layer in the n-layer hierarchy. [0041] Accordingly, it is possible to obtain a good determination. [0042] Additionally, the determination part may determine whether the text image that is the original of the image data is of vertical writing or horizontal writing based on the characteristics of coefficients of a subband HL included in the two-dimensional wavelet coefficients. [0043] In addition, the determination part may determine the text image that is the original of the image data to be of vertical writing, when, regarding the coefficients of a subband HL, the sum of patterns where a predetermined number of the coefficients, each being greater than a predetermined positive value, are successively arranged in the vertical direction and patterns where the predetermined number of the coefficients, each being less than a predetermined negative value, are successively arranged in the vertical direction, is greater than a predetermined value. [0044] Further, the determination part may determine whether the text image that is the original of the imaged data is of vertical writing or horizontal writing based on the characteristics of coefficients of a subband LH included in the two-dimensional wavelet coefficients. [0045] Also, the determination part may determine that the text image that is the original of the image data is in horizontal writing, when, regarding coefficients of a subband LH, the sum of patterns where a predetermined number of the coefficients, each being greater than a predetermined positive value, are successively arranged in a horizontal direction and patterns where the predetermined number of the coefficients, each being less than a predetermined negative value, are successively arranged in the horizontal direction, is greater than a predetermined value. [0046] Accordingly, it is possible to obtain a good determination. [0047] Additionally, the image processing apparatus may further include an image rotating part rotating and outputting the image data in accordance with the determination by the determination part. [0048] Accordingly, when the angle of image data is wrong, it is possible to automatically correct the angle. [0049] Further, according to another aspect of the present invention, there is also provided an image processing method of compressing image data by following a procedure of conversion into two-dimensional wavelet coefficients, quantization, and coding, comprising the step of: [0050] determining whether a text image that is the original of the image data is of vertical writing or horizontal writing based on the characteristics of coefficients in one of the vertical direction and the horizontal direction included in the two-dimensional wavelet coefficients. [0051] Accordingly, it is possible to determine whether a text image included in image data is of vertical writing or horizontal writing without adding a heavy function in a compression process of the image data. [0052] Also, according to another aspect of the present invention, there is also provided an image processing method of decompressing, by the inverse procedure, image data compressed by following the procedure of conversion into two-dimensional wavelet coefficients, quantization, and coding, comprising the step of: [0053] determining whether a text image that is the original of the image data is of vertical writing or horizontal writing based on the characteristics of coefficients in one of the vertical direction and the horizontal direction included in the two-dimensional wavelet coefficients. [0054] Accordingly, it is possible to determine whether a text image included in image data is of vertical writing or horizontal writing without adding a heavy function in a compression process of the image data. [0055] Further, according to another aspect of the present invention, there is also provided an image processing program installed in a computer and causing the computer to carry out a function of compressing image data by following the procedure of conversion into two-dimensional wavelet coefficients, quantization, and coding, the image processing program including the instruction of: [0056] causing the computer to carry out a determination function of determining whether a text image that is the original of the image data is of vertical writing or horizontal writing based on the characteristics of coefficients in one of the vertical direction and the horizontal direction included in the two-dimensional wavelet coefficients. [0057] Accordingly, it is possible to determine whether a text image included in image data is of vertical writing or horizontal writing without adding a heavy function in a compression process of the image data. [0058] In addition, according to another aspect of the present invention, there is also provided an image processing program installed in a computer and causing the computer to carry out a function of decompressing, by the inverse procedure, image data compressed by following the procedure of conversion into two-dimensional wavelet coefficients, quantization, and coding, the image processing program comprising the instruction of: [0059] causing the computer to carry out a determination function of determining whether a text image that is the original of the image data is of vertical writing or horizontal writing based on the characteristics of coefficients in one of the vertical direction and the horizontal direction included in the two-dimensional wavelet coefficients. [0060] Accordingly, it is possible to determine whether a text image included in image data is of vertical writing or horizontal writing without adding a heavy function in a compression process of the image data. [0061] Additionally, the two-dimensional wavelet coefficients after the conversion may form an n-layer hierarchy. [0062] Accordingly, it is possible to determine whether a text image that is the original of image data is of vertical writing or horizontal writing based on the characteristics of coefficients in one of the vertical direction and the horizontal direction included in the two-dimensional wavelet coefficients in a layer of the n-layer hierarchy. [0063] In addition, the determination function may determine whether the text image that is the original of the image data is of vertical writing or horizontal writing by using the top layer in the n-layer hierarchy, and when the determination cannot be made, successively use lower layers for the determination. [0064] Accordingly, it is possible to obtain the reliability of the determination. [0065] Further, the determination function may determine whether the text image that is the original of the image data is of vertical writing or horizontal writing based on the characteristics of coefficients in one of a subband HL and a subband LH included in a layer in the n-layer hierarchy. [0066] Accordingly, it is possible to obtain a good determination. [0067] Additionally, the determination function may determine whether the text image that is the original of the image data is of vertical writing or horizontal writing based on the characteristics of coefficients of a subband HL included in the two-dimensional wavelet coefficients. [0068] In addition, regarding the coefficients of the subband HL, the determination function may determine that the text image that is the original of the image data is of vertical writing, when the sum of patterns where a predetermined number of the coefficients, each being greater than a predetermined positive value, are successively arranged in the vertical direction and patterns where the predetermined number of the coefficients, each being less than a predetermined negative value, are successively arranged in the vertical direction, is greater than a predetermined value. [0069] Additionally, the determination function may determine whether the text image that is the original of the image data is of vertical writing or horizontal writing based on the characteristics of coefficients of a subband LH included in the two-dimensional wavelet coefficients. [0070] In addition, regarding the coefficients of the subband LH, the determination function may determine that the text image that is the original of the image data is in horizontal writing, when the sum of-patterns where a predetermined number of the coefficients, each being greater than a predetermined positive value, are successively arranged in the horizontal direction and patterns where the predetermined number of the coefficients, each being less than a predetermined negative value, are successively arranged in the horizontal direction, is greater than a predetermined value. [0071] Accordingly, it is possible to obtain a good determination. [0072] Further, each of the image processing programs may further include the instruction of: [0073] causing the computer to carry out an image rotation function of rotating and outputting the image data in accordance with the determination by the determination function. [0074] Accordingly, when the angle of image data is wrong, it is possible to automatically correct the angle. [0075] Additionally, according to another aspect of the present invention, there is also provided a storage medium storing the image processing program as described above. [0076] Accordingly, it is possible to record and store such an image processing program. Thus, it is possible to let the image processing program achieve portability, depending on the form of the storage medium. [0077] Other objects, features and advantages of the present invention will become more apparent from the following detailed description when read in conjunction with the following drawings.
BRIEF DESCRIPTION OF THE DRAWINGS [0078] [0078]FIG. 1 is a block diagram showing the general structure of first through third embodiments of the present invention; [0079] [0079]FIG. 2 is a schematic diagram showing the construction of an image input part according to the first and second embodiments; [0080] [0080]FIG. 3 is a schematic diagram showing the construction of a show-through elimination part; [0081] [0081]FIG. 4 is a schematic diagram for specifically explaining show-through elimination of the front face; [0082] [0082]FIG. 5 is a schematic diagram for specifically explaining show-through elimination of the back face; [0083] [0083]FIG. 6 is a schematic diagram showing an example of an image compression part that performs lossless compression; [0084] [0084]FIG. 7 is a block diagram showing an example of the image compression part for JPEG 2000; [0085] [0085]FIG. 8 is a schematic diagram showing an example of the image input part according to the third embodiment; [0086] [0086]FIG. 9 is a schematic diagram showing a state where the back face of an original is read by the image input part according to the third embodiment; [0087] [0087]FIG. 10 is a schematic diagram showing an example of the operation panel of a facsimile machine (FAX); [0088] [0088]FIG. 11 is a schematic diagram showing an example of the operation panel of a scanner; [0089] [0089]FIG. 12 is a schematic diagram showing an example of the operation panel of a copying machine; [0090] [0090]FIG. 13 is a schematic diagram showing an example of the operation panel of a printing machine (printer); [0091] [0091]FIG. 14 is a block diagram for explaining the basics of the JPEG 2000 algorithm; [0092] [0092]FIG. 15 is a schematic diagram showing an example of divided components of an original image that is a color image; [0093] [0093]FIGS. 16A, 16B, 16C, and 16D are schematic diagrams showing subbands at respective decomposition levels when the number of the decomposition levels is three; [0094] [0094]FIG. 17 is a schematic diagram showing an example of precincts; [0095] [0095]FIGS. 18A, 18B, 18C, and 18D are schematic diagrams showing the outline of a process of decomposing the values of two-dimensional wavelet coefficients after two-dimensional wavelet transformation into “bit-planes” and placing the “bit-planes” in order for each pixel or code block; [0096] [0096]FIG. 19 is a schematic diagram showing an example of a codestream of coded image data; [0097] [0097]FIG. 20A is a flow chart for explaining a compression process of image data; [0098] [0098]FIG. 20B is a flow chart for explaining a decompression process of compressed image data; [0099] [0099]FIG. 21 is a block diagram showing a vertical writing/horizontal writing determination part; [0100] [0100]FIG. 22 is a schematic diagram showing an example of a subband used for vertical writing determination; [0101] [0101]FIG. 23 is a schematic diagram showing an example of an algorithm in a vertical writing pattern determination part; [0102] [0102]FIG. 24 is a schematic diagram showing an example of a subband used for horizontal writing determination; and [0103] [0103]FIG. 25 is a schematic diagram showing an example of algorithm in a horizontal writing.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS [0104] A description will be given of embodiments of the present invention, with reference to the drawings. [0105] (First Embodiment) [0106] [0106]FIG. 1 shows the general construction of a first embodiment of the present invention. In an image input part 1, the front face and the back face of an original are input and converted into digital image data (8 bits for each pixel, for example). A show-through elimination part 2 eliminates show-through (bleed-through, images on the back face of a document that show through in the front face) of the front face. A show-through elimination part 3 eliminates show-through of the back face. In an image compression part 4, image data from which show-through is eliminated are input, and image data of the front face and the back face are compressed. [0107] [0107]FIG. 2 shows the construction of the image input part. Reading sensors 11 and 12 are provided up and down from an original carrying path of an original 13. The reading sensor 11 reads and converts the front face of the original 13 into image data. The reading sensor 12 reads and converts the back face of the original 13 into image data. [0108] [0108]FIG. 3 shows the construction of the show-through elimination part. A show-through correcting part 21 that eliminates show-through of the front face performs show-through elimination using image data of both the front face and the back face. A show-through correcting part 22 that eliminates show-through of the back face performs show-through elimination using image data of both the back face and the front face. [0109] [0109]FIG. 4 is a diagram for specifically explaining the show-through elimination of the front face. In this embodiment, it is assumed that 8 bits represent one pixel, the concentration of white is 0, and the concentration of black is 255. The number of bits per pixel may be another value. [0110] Suppose X is the concentration of the image data of the front face, Y is the concentration of the image data of the back face, and Z is the concentration of the image data after the front face correction. When the concentration of the image data of the front face is equal to or less than a threshold value th1, and the concentration of the image data of the back face in the same position is equal to or more than a threshold value th2, it is determined that a pixel X of the front face is influenced by show-through, and the concentration Z of the image data after the front face correction is set to 0, for example. Here, Z is set to 0 as an example, and Z may also be Z=X−αY by setting α (a positive actual number less than 1). [0111] When the concentration X of the image data of the front face is equal to or less than the threshold value th1, and the concentration Y of the image data of the back face in the same position is less than the threshold value th2, it is determined that the pixel X of the front face is not influenced by show-through, and Z is set to X (Z=X), for example. [0112] In addition, when the concentration X of the image data of the front face is greater than the threshold value 1, it is determined that there is no influence of show-through, and Z is set to X (Z=X). [0113] [0113]FIG. 5 is a diagram for specifically explaining the show-through elimination of the back face. In a case where Y is the concentration of the image data of the back face, X is the concentration of the image data of the front face, and Z is the concentration of the image data after the back face correction, when the concentration Y of the image data of the back face is equal to or less than the threshold value th1, and the concentration X of the image data of the front face in the same position is equal to or more than th2, it is determined that a pixel Y of the back face is influenced by show-through, and the concentration Z of the image data after the back face correction is set to 0, for example. Here, Z is set to 0 as an example, and Z may be also set as Z=Y−αX by setting α (a positive actual number less than 1). [0114] When the concentration Y of the image data of the back face is equal to or less than the threshold value th1, and the concentration X of the image data of the front face in the same position is less than the threshold value th2, it is determined that the pixel Y of the back face is not influenced by show-through, and Z is set to Y (Z=Y), for example. [0115] Additionally, when the concentration Y of the image data of the back face is greater than the threshold value th1, it is determined that the pixel Y of the back face is not influenced by show-through, and Z is set to Y (Z=Y). [0116] [0116]FIG. 6 shows an example of the image compression part that performs lossless compression. A front face compression part 31 performs lossless compression on image data of the front face from which show-through is eliminated. A back face compression part 32 performs lossless compression on image data of the back face. “Lossless compression” refers to reversible image compression, that is, a compression method that maximizes compression rate within the reversible range. [0117] Data amount determination parts 33 and 34 measure the amounts of data of the front face and the back face after compression, respectively. When the amount of data is equal to or less than a predetermined threshold value, it is determined that the face includes no information and the face is not the sending face (face of a document having information to be sent thereon) or the printing side. Only when the amount of data is greater than the predetermined threshold value, it is determined that the face includes information with meaning and the face is the sending face or the printing side. [0118] In the above, the description is given by taking as an example the process for images read from both sides of an original. The present invention, however, may also be applied to data read from one side of an original. In this case, the process may be performed, for example, in the following steps: image reading→background elimination→image coding (compression)→determine by amount of codes. [0119] (Second Embodiment) [0120] The general construction, image input part and show-through elimination part in a second embodiment are the same as those in the first embodiment, The second embodiment is different from the first embodiment in the image compression part. [0121] [0121]FIG. 7 shows an example of the image compression part for JPEG 2000. JPEG 2000 is an example, and another compression method may also be used if the method uses orthogonal transformation such as DCT and Hadamar transformation. Here, a description will be given by taking JPEG 2000 as an example. [0122] A front face wavelet transformation part 41 and a back face wavelet transformation part 42 perform wavelet transformation on the image data of the front face and the back face, respectively. A high-frequency band coefficient determination part 43 compares the absolute values of coefficients of high-frequency components with a predetermined threshold value th. When the absolute values are equal to or less than the threshold value th with a rate (95%, for example) close to all (100%), the high-frequency band coefficient determination part 43 determines that the face includes no information and is not the sending face or the printing side. Otherwise, the high-frequency band coefficient determination part 43 determines that the face includes information and is the sending face or the printing side. When it is determined that the face includes information, quantization and coding are performed on the face after wavelet transformation so as to create compression-coded data. In this case, quantization for the data of the front face is performed by a front face quantization part 44, and quantization for the image of the back face is performed by a back face quantization part 45. In addition, coding for the data of the front face is performed by a front face arithmetic coder 46, and coding for the data of the back face is performed by a back face arithmetic coder 47. [0123] The above description is about the process for images read from both sides of an original. However, as in the first embodiment, the second embodiment may also be applied to data read from one side of an original. [0124] (Third Embodiment) [0125] The general construction and show-through elimination part of a third embodiment are the same as those in the first embodiment. The image compression part of the third embodiment uses the method of the first embodiment or the second embodiment. The third embodiment is different from the first and second embodiments in the image input part. [0126] [0126]FIG. 8 shows an example of the image input part according to the third embodiment. In the image input part shown in FIG. 2, two reading sensors 11 and 12 are provided in the original carrying path. In the image input part shown in FIG. 8, however, only one reading sensor 14 is provided in the original carrying path. [0127] [0127]FIG. 8 shows a state where the front face of an original is read. FIG. 9 shows a state where the back face of the original is read. In other words, first, in FIG. 8, the front face of the original is converted into read image data, then in FIG. 9, after reversing the original by feeding the original around a roller, the back face of the original, which is carried in the opposite direction of the original carrying path, is read by the reading sensor 14 and converted into image data. [0128] Additionally, in FIGS. 8 and 9, the front face and the back face are automatically read and converted into image data. However, a user may manually turn over the original so that the front face and the back face are read and converted into image data. [0129] Further, the above description is about the process for images read from both sides of an original. However, as in the first embodiment, the third embodiment may be also applied to data read from one side of an original. [0130] (Fourth Embodiment) [0131] A fourth embodiment relates to operation panels in cases where the present invention is applied to various image processing apparatuses. That is, FIG. 10 shows an example of the operation panel of a facsimile machine (FAX), FIG. 11 shows an example of the operation panel of a scanner, FIG. 12 shows an example of the operation panel of a copying machine, and FIG. 13 shows an example of the operation panel of a printing machine (printer). [0132] In the first through third embodiments described above, it is automatically determined which of the front face and the back face is the printing side or the sending face. However, the determination is difficult and there are also limitations. For example, there is a case where only one side of an original should be transmitted (processed) when both sides of the original include text. [0133] Accordingly, as shown in FIGS. 10 through 13, the operation panels according to the fourth embodiment are provided with functions such as buttons allowing a user to select the sending face or the printing side. The user can designate through button selection which of “front face”, “back face” and “both faces” should be the sending face or the printing side only when the user selects “automatic”, the printing side or the sending face is automatically determined by using the methods of the first through third embodiment described above. [0134] Hence, it is possible to perform transmission or printing that the user intends. However, since the “automatic” is preferable for the user in view of convenience, the setting is made to the “automatic” by default. [0135] Referring to FIGS. 14 through 25, a description will be given of another embodiment of the present invention. [0136] (General Explanation of JPEG 2000) [0137] First, a general description will be given of JPEG 2000. [0138] JPEG 2000 is a method relating to compression/decompression of image data. Hardware resources are required for compressing/decompressing image data according to the method. As an example of such hardware resources, a computer that executes an image processing program may be used. That is, if the image processing program for compressing/decompressing image data according to the JPEG 2000 method is installed in the storage device of a computer, the HDD, for example, the computer interprets the image processing program by the basic architecture constructed by the CPU and memory and carries out an image compression process according to the JPEG 2000 method to an input image or decompresses image data that is compressed by the JPEG 2000 method. In this sense, the storage device of a computer, the HDD, for example, functions as a storage medium storing an image processing program. However, the storage medium storing the image processing program is not limited to the storage device of a computer. The storage medium may also be one of various portable recording media, such as various types of optical disks and flexible disks that record information optically or magnetically. [0139] [0139]FIG. 14 is a block diagram for explaining the basics of the JPEG algorithm. The block diagram shows the algorithm corresponding to various functions carried out by a computer according to the image processing program for compressing/decompressing image data of the JPEG 2000 method in a blocked manner. [0140] As shown in FIG. 14, the JPEG 2000 algorithm includes a color space conversion/inverse conversion part 111, a two-dimensional wavelet transformation/inverse transformation part 112, a quantization/inverse quantization part 113, an entropy coder/decoder 114, and a tag processing part 115. In the following, each of the parts will be explained. [0141] Referring to FIGS. 15 and 16A through 16D, a description will be given of the color space conversion/inverse conversion part 111 and the two-dimensional wavelet transformation/inverse transformation part 112. [0142] [0142]FIG. 15 is a schematic diagram showing an example of divided components of an original image that is a color image. As shown in FIG. 15, generally, in a color image, an original image is divided into the components R, G, and B according to the RGB primary color system, for example. Each of the components R, G, and B of the original image is further divided into tiles 201, 202, and 203 that are rectangular regions, respectively. Each of the tiles 201, 202, and 203, respectively comprising, for example, R00, R01, . . . , R15 /G00, G01, . . . , G15/B00, B01, . . . , B15, constructs a basic unit in carrying out a compression/decompression process. Accordingly, a compression/decompression operation is independently performed on each of the components R, G, and B, and each of the tiles 201, 202, and 203. [0143] When coding image data, the data of each of the tiles 201, 202, and 203 are input to the color space conversion/inverse conversion part 111 shown in FIG. 14 and subjected to color space conversion. Then, two-dimensional wavelet transformation (forward transformation) is applied to the data by the two-dimensional wavelet transformation/inverse transformation part 112, and thus the data are spatially divided into frequency bands. [0144] [0144]FIGS. 16A through 16D are schematic diagrams showing subbands at respective decomposition levels when the number of the decomposition levels is three. The two-dimensional wavelet transformation/inverse transformation part 112 performs two-dimensional wavelet transformation on a tile original image 300 (0LL)(decomposition level 0) obtained by dividing the original image into tiles, so as to divide the tile original image into subbands (1LL, 1HL, 1LH, and 1HH) shown in decomposition level 1 (301) in FIG. 16B. Then, successively, the two-dimensional wavelet transformation/inverse transformation part 112 performs two-dimensional wavelet transformation on the low frequency component 1LL in the layer so as to divide the component into subbands (2LL, 2HL, 2LH, and 2HH) shown in the decomposition level 2 (302) in FIG. 16C. Similarly, the two-dimensional wavelet transformation/inverse transformation part-112 successively performs two-dimensional wavelet transformation also on the low frequency component 2LL so as to divide the component into subbands (3LL, 3HL, 3LH, and 3HH) shown in the decomposition level 3 (303) in FIG. 16D. In FIGS. 16A through 16D, the subbands to be coded in the respective decomposition levels are colored gray. For example, when the number of the decomposition levels is three, the gray-colored subbands (3HL, 3LH, 3HH, 2HL, 2LH, 2HH, 1HL, 1LH, and 1HH) are to be coded, and the subband 3LL is not coded. [0145] Then, after bits to be coded are determined in the specified order of coding, the quantization/inverse quantization part 113 generates a context from bits in the vicinity of the bits to be coded. [0146] [0146]FIG. 17 is a schematic diagram showing an example of precincts. The wavelet coefficients after the process of quantization are divided into rectangular shapes called “precincts” that do not overlap each other in each subband. This is introduced to effectively use memory in implementation. As shown in FIG. 17, one precinct is formed by three rectangular regions that spatially match. In addition, each precinct is divided into rectangular “code blocks” that do not overlap each other. This becomes the basic unit when performing entropy coding. [0147] [0147]FIGS. 18A, 18B, 18C, and 18D are schematic diagrams showing the outline of the process of decomposing the values of two-dimensional wavelet coefficients after two-dimensional wavelet transformation into “bit-planes” and placing in order the “bit-planes” for each pixel or code block. The coefficient values after wavelet transformation may be directly quantized and coded. In JPEG 2000, however, in order to increase the efficiency of coding, the coefficient values can be decomposed into the “bit-planes”, and the “bit-planes” can be placed in order for each pixel or code block. FIGS. 18A through 18D show this procedure in brief. In FIGS. 18A through 18D, an example is shown where an original image (32�32 pixels) is divided into four tiles, each having 16�16 pixels. The sizes of the precinct and the code block at the decomposition level 1 are 8�8 pixels and 4�4 pixels, respectively. The numbers of the precincts and the code blocks are assigned in raster order. The mirroring method is used for pixel extension with respect to pixels outside the boundaries of the tiles so as to perform wavelet transformation using a reversible filter (5, 3) and obtain the wavelet coefficient values at the decomposition level 1. [0148] In addition, FIG. 18D is a schematic diagram conceptualizing typical “layers” of tile 0/precinct 3 ABSTRACT OF THE DISCLOSURE /code block 3. The constructions of the layers are easy to understand when the wavelet coefficient values are seen from the lateral direction (bit-plane direction). One layer is constructed by an arbitrary number of bit-planes. In this example, layers 0, 1, 2, and 3 are each formed by three bit-planes 1, 3 and 1. The closer to the LSB the bit-plane included in the layer is, the sooner the layer is quantized. Conversely, the layer close to the MSB is left unquantized to the end. The method of destroying (eliminating bits) from the layers close to the LSB is called truncation and is capable of finely controlling the quantization rate. [0149] Next, referring to FIG. 19, a description will be given of the entropy coder/decoder 114. FIG. 19 is a schematic diagram showing a codestream of coded image data. The entropy coder/decoder 114 (refer to FIG. 14) performs coding on the tiles 201, 202, and 203 of the components R, G, and B, respectively, by probability estimation using the context and the bits to be coded. As described above, the coding process is performed on all components R, G, and B of the original image by units of the tiles 201, 202, and 203. [0150] Next, a description will be given of the tag processing part 115. The tag processing part 115 combines all coded data from the entropy coder/decoder 114 into one codestream and also adds tags to the codestream. FIG. 19 briefly shows the construction of the codestream. Tag information called “header” is added to the head of such codestream and the heads of tile parts forming the tiles 201, 202 and 203. The coded data of each of the tiles 201, 202 and 203 follows the tag information. The tag is placed again at the end of the codestream. [0151] On the other hand, in decoding, contrary to the coding, image data are generated from the codestream of the tiles 201, 202 and 203 of the respective components R, G and B. A description will be given of such a process, by using FIG. 14. The tag processing part 115 interprets the tag information added to the codestream that is input externally, decomposes the codestream into codestreams of the tiles 201, 202 and 203 of the respective components R, G and B, and performs a decoding process on each of the codestreams of the tiles 201, 202 and 203 of the respective components R, G and B. On this occasion, the positions of bits to be decoded is determined in the order based on the tag information in the codestream, and the quantization/inverse quantization part 113 generates a context from bits (already coded) in the vicinity of the bits to be decoded. Then, the entropy coder/decoder 114 generates the target bits by performing decoding through probability estimation using the contexts and codestream, and writes the target bits at the positions of the target bits. Since the data thus decoded are spatially divided for each frequency band, by performing two-dimensional wavelet inverse transformation on the decoded data by the two-dimensional wavelet transformation/inverse transformation part 112, the tiles 201, 202 and 203 in the respective components R, G and B in the image data are restored. The restored data are converted into data of the original color system by the color space conversion/inverse conversion part 111. [0152] (Determination of Vertical Writing/Horizontal Writing) [0153] This embodiment includes a vertical writing/horizontal writing determination function of determining whether a text image, which is the original of image data, is of vertical writing or horizontal writing based on the characteristics of coefficients of vertical direction or horizontal direction included in the two-dimensional wavelet coefficients that are generated by two-dimensional wavelet transformation by the two-dimensional wavelet transformation/inverse transformation part 112. Referring to FIG. 20A through 25, a description will be given of such vertical writing/horizontal writing determination function. [0154] [0154]FIG. 20A is a flow chart showing a compression process of image data, and FIG. 20B is a flow chart showing a decompression method of the compressed image data. [0155] As shown in FIG. 20A, in the compression process of-image data, the color space conversion/inverse conversion part 111 performs color space conversion, that is, the process of dividing the image data into the components of R, G and B (refer to FIG. 14) in step S101. Thereafter, in step S102, the two-dimensional wavelet transformation/inverse transformation part 112 performs a two-dimensional wavelet transformation process on a plurality of numbers of tiles 201, 202 and 203 (refer to FIG. 14) that construct the respective components R, G and B, so as to calculate two-dimensional wavelet coefficients with respect to the tiles 201, 202 and 203. The coefficients include coefficients of vertical direction or horizontal direction, and it is possible to determine whether a text image is of vertical writing or horizontal writing from the characteristics of the coefficients. Thus, subsequently, in step S103, the vertical writing/horizontal writing determination process is performed as a determination step. The process is performed by a computer such that the image processing program for compressing/decompressing image data according to the JPEG 2000 method is interpreted/carried out by the computer. Here, in this embodiment, determination means and the determination function are achieved as one of means of and one of functions carried out by a computer, respectively. The decision result obtained by the determination means and by carrying out the determination function is temporarily stored in a storage area of a computer. [0156] Then, in step S104, the two-dimensional wavelet coefficients based on the original image are quantized by the quantization/inverse quantization part 113 and coded by the entropy coder/decoder 114 in step S105 so as to form the bit streams as shown in FIG. 19. Then, in step S106, the tag processing part 115 adds tags to such bit streams, and the compression process of the image data is completed. [0157] As shown in FIG. 20A, in the decompression process of the compressed image data, in step S201, the tag processing part 115 analyzes the codes in the bit streams as shown in FIG. 19. In step S202, the bit streams are converted into quantized wavelet coefficients by the entropy coder/decoder 114. The quantization/inverse quantization part 113 obtains the wavelet coefficients in step S203. In step S204, the vertical writing/horizontal writing determination of the compressed image data is made by using the inversely quantized wavelet coefficients. The process is performed by a computer such that the image processing program for compressing/decompressing image data according to the JPEG 2000 method is interpreted/carried out by the computer. Here, in this embodiment, the determination means and the determination function are achieved as one of means of and one of functions carried out by a computer, respectively. The decision result obtained by carrying out such determination function or by determination means is temporarily stored in a storage area of a computer. [0158] Then, in step S205, the wavelet coefficients are converted into Y, CB and CR signals by the two-dimensional wavelet transformation/inverse transformation part 112 and then converted into RGB signals by the color space conversion/inverse conversion part 111 in step S206. In step S207, a process of rotating the image to the correct angle by using the result of the vertical writing/horizontal writing determination obtained in step S204. Such a process of rotating the image is performed by a computer such that the image processing program for compressing/decompressing image data according to the JPEG 2000 method is interpreted/carried out by the computer. Here, in this embodiment, the rotating means and the rotation function are achieved as one of means of and one of functions carried out by a computer, respectively. Generally, there are high needs for inputting a plurality of documents at a time and displaying them afterwards. In such a case, if the angles of the documents are automatically corrected, it is effective since a user can save the trouble of correcting the angles of images one by one. [0159] [0159]FIG. 21 is a block diagram of a vertical writing/horizontal writing part 211 as the determination means that performs the vertical writing/horizontal writing determination in steps 103 and 204. The block diagram shows, in a blocked manner, an algorithm corresponding to the vertical writing/horizontal writing determination means of and the vertical writing/horizontal writing determination function performed by a computer in accordance with the image processing program for compressing/decompressing image data according to the JPEG 2000 method. [0160] The vertical writing/horizontal writing determination part 211 includes a vertical writing pattern detector 212, a horizontal writing pattern detector 213, a vertical writing pattern counter 214, and a horizontal writing pattern counter 215. The two-dimensional wavelet-transformed two-dimensional wavelet coefficients are input to the vertical writing pattern detector 212 and the horizontal writing pattern detector 213. The data output from the vertical writing pattern detector 212 and the horizontal writing pattern detector 213 are input to the vertical writing pattern counter 214 and the horizontal writing pattern counter 215, respectively. In addition, the vertical writing/horizontal writing determination part 211 also includes a total determination part 216. The output results from the vertical writing pattern counter 214 and the horizontal writing pattern counter 215 are input to the total determination part 216. [0161] Under such a construction, the vertical writing/horizontal writing determination part 211 detects vertical writing patterns by the vertical writing pattern detector 212 and counts the vertical writing patterns by the vertical writing pattern counter 214, and detects horizontal writing patterns by the horizontal writing pattern detector 213 and counts the horizontal writing patterns by the horizontal writing pattern counter 215. In other words, the detection of the vertical writing patterns by the vertical writing pattern detector 212 is performed by detecting edge components of vertical components included in the two-dimensional wavelet coefficients. The counting of the vertical writing patterns by the vertical writing pattern counter 214 is performed by counting the detected number of such edge components. Similarly, the detection of the horizontal writing patterns by the horizontal writing pattern detector 213 is performed by detecting edge components of horizontal components included in the two-dimensional wavelet coefficients. The counting of the horizontal writing patterns by the horizontal writing pattern counter 215 is performed by counting the detected number of such edge components. When the number of the vertical writing patterns is greater than a predetermined value, ten, for example, it is determined by the total determination part 216 that an image is of vertical writing. When the number of the horizontal writing patterns is greater than a predetermined value, ten, for example, it is determined by the total determination part 216 that an image is of horizontal writing. When the numbers of the vertical writing patterns and the horizontal writing patters are both greater or both less than the respective predetermined values, the decision cannot be made. [0162] [0162]FIG. 22 is a schematic diagram showing the subbands used for vertical writing determination in the vertical writing/horizontal writing determination part 211. In this embodiment, the number of layers of the hierarchy of the two-dimensional wavelet coefficients obtained by two-dimensional wavelet transformation, that is, the decomposition level, is three. In this case, the coefficient that allows good extraction of edge components in the vertical direction is the coefficient of the subband HL in the third layer, that is, the 3HL coefficient. Thus, the vertical writing/horizontal writing determination part 211 first determines whether or not a text image is of vertical writing by using the 3HL coefficient. When the determination cannot be made, the vertical writing determination is successively repeated for 2HL and 1HL. That is, the vertical writing/horizontal writing determination part 211 determines whether or not a text image, which is the original of image data, is of vertical writing by.using the coefficient value in the third layer, which is the top layer in the three-layer hierarchy. When the determination cannot be made, the coefficient values in the second and first layers, which are lower layers, are successively used for the determination. Hence, it is possible to obtain reliability of the determination. [0163] [0163]FIG. 23 is a schematic diagram showing an example of the algorithm in the vertical writing pattern determination part of the vertical writing/horizontal writing determination part 211. The vertical writing/horizontal writing determination part 211 refers to five continuous coefficients in the vertical direction using the 3HL coefficients. When all the values are greater than 36 or less than −36, it is determined to be the vertical writing pattern. Here, 36 is an example of values with which edges can be identified. The value is not limited to 36 and may be any value, provided that edges can be identified in accordance with images. Additionally, in the above description, the number of the coefficients is five. Five is taken as an example of values with which vertical writing can be identified. The value is not limited to five and may be any value, provided that the value allows identification of vertical writing in accordance with images. [0164] [0164]FIG. 24 is a schematic diagram showing an example of subbands used for horizontal writing. In this embodiment, the number of layers in the hierarchy of the two-dimensional coefficients obtained by two-dimensional wavelet transformation, that is, the decomposition level, is three. In this case, the coefficient that allows good extraction of edge components in the lateral direction is the coefficient of the subband LH in the third layer, that is, the 3LH coefficient. Thus, the vertical writing/horizontal writing determination part 211 first determines whether or not a text image is of horizontal writing by using the 3LH coefficient. When the determination cannot be made, the horizontal writing determination is successively repeated for 2LH and 1LH. That is, the vertical writing/horizontal writing determination part 211 determines whether or not a text image, which is the original of image data, is of horizontal writing by using the coefficient value in the third layer, which is the top layer in the three-layer hierarchy. When the determination cannot be made, the coefficient values in the second and first layers, which are the lower layers, are successively used for the determination. Hence, it is possible to obtain reliability of the determination. [0165] [0165]FIG. 25 is a schematic diagram showing an example of the algorithm in the horizontal writing pattern determination part of the vertical writing/horizontal writing determination part 211. The vertical writing/horizontal writing determination part 211 refers to continuous five coefficients in the horizontal direction using the 3LH coefficient. When all of the coefficients are greater than 36 or less than −36, it is determined to be a horizontal pattern. Here, 36 is an example of values with which edges can be identified. The value is not limited to 36 and may be any value, provided that edges can be identified in accordance with images. Additionally, in the above description, the number of the coefficients is five. Five is taken as an example of values with which horizontal writing can be identified. The value is not limited to five and may be any value, provided that the value allows identification of horizontal writing in accordance with images. [0166] According to this embodiment, by the above-described process, it is possible to determine whether a text image included in image data is of vertical writing or horizontal writing without adding a heavy function in a compression/decompression process of the image data. [0167] The present invention is not limited to the specifically disclosed embodiments, and variations and modifications may be made without departing from the scope of the present invention. [0168] The present application is based on Japanese priority applications No. 2002-108019 filed on Apr. 10, 2002 and No. 2002-199761 filed on Jul. 9, 2002, the entire contents of which are hereby incorporated by reference. Patent CitationsCited PatentFiling datePublication dateApplicantTitleUS5832137 *May 1, 1997Nov 3, 1998Xerox CorporationShow-through correction for two-sided documentsUS6650773 *Sep 29, 2000Nov 18, 2003Hewlett-Packard Development Company, L.P.Method including lossless compression of luminance channel and lossy compression of chrominance channels* Cited by examinerReferenced byCiting PatentFiling datePublication dateApplicantTitleUS7327496 *Apr 11, 2003Feb 5, 2008Hewlett-Packard Development Company, L.P.Imaging apparatus and methodUS7773273Dec 7, 2007Aug 10, 2010Samsung Electronics Co., Ltd.Method and apparatus for removing show-through in scanned imageUS8031941Oct 4, 2011Ricoh Company, Ltd.Image display apparatus, image display method, and image display programUS8503733 *Nov 16, 2009Aug 6, 2013Xerox CorporationShow-through measurement system and method for inks on mediaUS9122961Jan 25, 2013Sep 1, 2015SCREEN Holdings Co., Ltd.Printed image inspecting apparatus and printed image inspecting methodUS20040201868 *Apr 11, 2003Oct 14, 2004Larson Bradley R.Imaging apparatus and methodUS20040224700 *Apr 15, 2004Nov 11, 2004Tetsuya SawanoImage processing serverUS20080025605 *Jul 23, 2007Jan 31, 2008Tooru SuinoImage display apparatus, image display method, and image display programUS20080247003 *Dec 7, 2007Oct 9, 2008Samsung Electronics Co., Ltd.Method and apparatus for removing show-through in scanned imageUS20110116110 *May 19, 2011Xerox CorporationShow-through measurement system and method for inks on mediaUSRE41400 *Aug 20, 2007Jun 29, 2010Lg Electronics Ltd.Method of decoding a current imageUSRE41526 *Aug 26, 2005Aug 17, 2010Lg Electronics, Inc.Method and apparatus for restoring compressed image processing system and method of decoding a current imageUSRE41835 *Aug 20, 2007Oct 19, 2010Lg Electronics, Inc.Method of decoding a current imageEP2810782A1 *Jan 25, 2013Dec 10, 2014Dainippon Screen Mfg. Co., Ltd.Printed image inspection device and printed image inspection methodWO2008120869A1 *Feb 18, 2008Oct 9, 2008Samsung Electronics Co, . Ltd.Method and apparatus for removing show-through in scanned image* Cited by examinerClassifications U.S. Classification358/3.26, 382/234, 358/463, 382/275, 358/464, 358/426.12, 358/474International ClassificationG06T5/00, H04N1/40, G06T5/50, H04N1/409Cooperative ClassificationH04N1/40062, G06T5/10, G06T2207/20064, G06T2207/10008, G06T5/50, H04N1/4095European ClassificationG06T5/50, G06T5/00D, H04N1/409C, H04N1/40LLegal EventsDateCodeEventDescriptionJul 21, 2003ASAssignmentOwner name: RICOH COMPANY, LTD., JAPANFree format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:SUINO, TOORU;REEL/FRAME:014300/0910Effective date: 20030514Mar 28, 2011FPAYFee paymentYear of fee payment: 4May 15, 2015REMIMaintenance fee reminder mailedOct 2, 2015LAPSLapse for failure to pay maintenance feesNov 24, 2015FPExpired due to failure to pay maintenance feeEffective date: 20151002RotateOriginal ImageGoogle Home - Sitemap - USPTO Bulk Downloads - Privacy Policy - Terms of Service - About Google Patents - Send FeedbackData provided by IFI CLAIMS Patent Services