1. Field of the Invention
The present invention relates to an image processing apparatus, an image processing method and an image processing program for executing various kinds of image processing with a document image read from a document to thereby generate image data.
2. Description of the Background Art
A network scanner technology known in the imaging art connects a digital copier, image reading apparatus or similar imaging apparatus to a network, scans a document image with a scanner customarily included in such an apparatus, and sends image data read from the document to a computer or similar terminal also connected to the network. Various network scanner technologies are disclosed in, e.g., Japanese patent laid-open publication Nos. 6-332636 (Prior Art 1 hereinafter), 10-190927 (Prior Art 2 hereinafter), 2000-333026 (Prior Art 3 hereinafter), 2001-157039 (Prior Art 4 hereinafter), 2001-16453 (Prior Art 5 hereinafter), 2001-223828 (Prior Art 6 hereinafter) and 2001-251522 (Prior Art 7 hereinafter) as well as in Japanese patent publication No. 2001-506835 (Prior Art 8 hereinafter).
Among Prior Arts 1 through 8 mentioned above, Prior Art 3 teaches a processing sequence using a scanner box function. More specifically, the processing sequence selects resolution, gradation, magnification and a surface to read, an image size, a storage and other scan parameters, then reads an image and then transfers the resulting image read to an image processor and causes it to process the image in accordance with the scan parameters. Because this processing sequence is not expected to print the image, it is not necessary to generate a data format for a printing system and therefore to effect color coordinates conversion from R (red), G (green) and B (blue) to C (cyan), M (magenta), Y (yellow) and K (black), gradation correction or image data compression.
The image data thus processed by the image processor are transferred to an extension box based on the architecture of a general-purpose computer system. In the extension box, the image data are temporarily written to a scan box assigned to a preselected disk area in a hard disk drive. After all document pages have been stored in the extension box, a client of the network produces the image data from the scan box.
However, Prior Art 3 has a problem that the format of the image data subject to processing for copying and the format of the image data subject to processing for the distribution of a scan box, images printed by the same digital image processing apparatus are different from each other. Further, in Prior Art 3, the operator pushes a copy button to produce a copy image when intending to copy a document or pushes a scan button to produce an image for distribution when intending to distribute a document. The operator therefore must scan the same document two times when intending to copy a document and distributing it, resulting in time- and labor-consuming work.
Moreover, in Prior Art 3, the image data stored in the hard disk drive are, in many cases, provided with a format to be deal with by a digital copier. This, coupled with the fact that the image data are sometimes compressed by an exclusive algorithm when compressed for saving memory capacity, prevents the operator from reading or editing the image with a general-purpose application.
Prior Art 6 proposes a technology for controlling multiple functions including a copy function, a scanner function, a printer function and a facsimile function. For this purpose, Prior Art 6 generates image data representative of an image read and attribute data derived from the image data and stores the image data and pixel-based attribute data associated therewith in an image storage in association with each other. When the image data should be sent to an outside client apparatus, the image data are transformed to a preselected format.
The problem with Prior Art 6 is that a processing mode selected on a control panel is not written to the image storage or hard disk drive. As a result, when the image data stored in the hard disk drive should be sent to an outside client apparatus, the image data are converted to a file format without regard to the processing mode selected on the control panel. Further, a great amount of attribute data must be dealt with in addition to the image data, scaling up the system.
It is an object of the present invention to provide an image processing apparatus capable of enhancing efficient data transmission and general-purpose use of data by producing from read document image from small-capacity image data of a format that can be shared by a plurality of image processing apparatuses.
It is another object of the present invention to provide an image processing method and an image processing program using the above image processing apparatus each.
An image processing apparatus of the present invention includes an application mode selector configured to select an application and an image quality mode selector configured to select an image quality mode. A reading section generates a preselected color image signal by reading a document image. A scanner corrector executes image processing with the color image signal in accordance with the application and image mode selected by the application mode selector and image mode selector, respectively, to thereby generate color image data. A storage stores the image data generated by said scanner corrector and information representative a processing mode based on the application and the image mode selected. A data compressor/expander selectively compresses or expands the image data. A data format converter converts the format of the image data stored in the storage in matching relation to the processing mode. A communicating circuit interchanges various data with an external apparatus. A controller controls the entire apparatus.
An image processing method and an image processing program using the above image processing apparatus each are also disclosed.
The above and other objects, features and advantages of the present invention will become more apparent from the following detailed description taken with the accompanying drawings in which:
FIG; 10B is a schematic block diagram showing a specific configuration of a main-scan resolution conversion block forming part of the a converter;
Referring to
An engine control controller 110 is included in the engine section 101 for controlling the entire engine section 101. In the engine section 101, a reading unit or image reading means 111 reads a document image to thereby output image data consisting of an R, (red), a G (green) and a B (blue) component and sends such image data to a scanner corrector 112.
As shown in
The application mode mentioned above refers to a copy mode, a scanner mode, a facsimile mode or the like while the image quality mode refers to a text mode, a text/photo mode, a photo mode or the like as well as notch information for increasing or decreasing image density.
The R, G, and B image data, having eight bits each, output from the scanner corrector 112,
The printer controller 115 includes a semiconductor memory 116 for storing the input image data under the control of a main controller 117. The main controller 117 includes a microcomputer, not shown, and controls the entire image processing apparatus 100. The image data stored in the semiconductor memory 116 and information representative of processing modes selected on the operation panel 300 are written to an HDD (Hard Disk Drive) or storing means 118. This successfully makes it unnecessary to repeatedly read the same document even when the image data are not fully printed out due to a sheet jam and to effect electronic sorting. Today, document images read are written to the HDD 118 in addition to the above image data and information, so that the document images can be again output, as needed.
When the image data stored in the HDD 118 should be output, they are once transferred to the semiconductor memory 116 of the printer controller 115 and then sent to the engine section 101 via the general-purpose bus 114. A color/monochrome multilevel data fixed-length expander 119, included in the engine section 101, converts the input image data to R, G and B image data each having eight bits. The R, G and B data thus produced are sent to a printer corrector 120. It should be noted that the color/monochrome multilevel fixed-length compressor 113 and color/monochrome multilevel fixed-length expander 119 may be respectively replaced with a general-purpose compressor and a general-purpose expander not fixed in length, if desired. The image data once written to the semiconductor memory 116 are written to the hard disk 118. Why the image data stored in the HDD 118 are written to the semiconductor memory 116 before fed to a plotter is that the writing speed and reading speed of the HDD 118 are not constant.
It is to be noted that the steps described so far are executed in accordance with processing modes stored in the HDD 118. The image forming unit 122 may be implemented by any one of conventional image forming systems including an electrophotographic system, an ink jet system, a sublimation type thermal transfer system, a silver-halide type photographic system, a direct thermosensitive recording system and a melt type thermal transfer system.
A FAX (facsimile) controller 123 is configured to interchange image data with a preselected network, e.g., a telephone network. A monochromatic bilevel variable-length reversible compressed data expander 123a, included in the FAX controller 123, compresses data to be transmitted to the network or extends data received from the network.
Reference will be made to
The HDD 118 stores the image data subject to scanner correction, i.e., image processing for copying and information representative of the processing modes input from the control panel 300, as stated earlier. The processing modes, including an application mode and an image quality mode, are input on the control panel 300,
The image data stored in the HDD 118 are once stored in the semiconductor memory 116 of the printer controller 115 and then sent to the data format converter 125 via the general-purpose bus 114 together with information representative of the processing modes selected. The data format converter 125 executes image processing matching with the processing modes and processes the image data to an adequate image format to be distributed. The image data thus processed are distributed to the outside PC 126 via the NIC 124. Also, information representative of the processing modes of desired image data may be sent from the outside PC 126 to the image processing apparatus 100, if desired. In such a case, the main controller 117 detects such information and delivers it to the data format converter 125, so that the image data are formatted in accordance with the modes desired by the operator of the outside PC 126.
In the description made so far, the hard disk 118 is assumed to store image data subject to image processing for copying and compressed in the RGB color space. The image data stored in the hard disk 118 are data read by, e.g., a color copier as a copy image and belonging to a certain color space, which may be a Yuv or CMY color space dependent on the kind or characteristic of a device or an sRGB color space not dependent of the same. When the signals belonging to a certain color space are to be sent to the other apparatus via a network, they are corrected to belong to the same color space as the other apparatus. The certain color space may be the standard sRGB space, an Lab space or an exclusive color space that can be shared by different apparatuses.
More specific configurations of the data format converter 125 will be described hereinafter.
In the above first configuration, the expander 602 expands the image data compressed by the JPEG (Joint Photographic Experts Group) system to thereby restore multilevel data. The expanded image data output from the expander 602 are subject to image processing by the image processor 701 on the basis of the processing modes stated earlier. Subsequently, the image data are again compressed by the compressor 605 by the JPEG system and provided with the general-purpose data format thereby. Of course, the JPEG system used for compression may be replaced with any other general-purpose data format customary with personal computers, e.g., the JPEG 2000 system.
By interchanging data in the JPEG or similar standardized general-purpose data format, it is possible to uniform the data format between a transmitting unit and a receiving unit. It is also possible to implement a data format conversion system insuring both of high data quality and high data interchange efficiency. Further, when the image data are bilevel, there may be used the MHMR/MMR system or similar general-purpose format standardized for data compression and expansion.
In the configuration shown in
As stated above, the data format converter 125 shown in
Moreover, by transmitting image data in the JPEG or similar standardized general-purpose format, it is possible to uniform the data format between a sending unit and a receiving unit and to construct a data format conversion system achieving both of high data quality and high data interchange efficiency. When the image data are implemented as bilevel data, use may be made of the MHMR/MMR or similar standardized general-purpose compression/expansion format.
As stated above, the data format converter 125 shown in
The resolution converter 603 will be described specifically hereinafter on the assumption that the image data to be dealt with are multilevel data and can be varied in resolution in both of the main scanning direction and subscanning direction, as desired. As shown in
As shown in
As shown in
Next, the operation of the color space converter 604,
While a number of different tridimensional interpolation methods are known in the art, a tetrahedron interpolation method, which is the simplest linear interpolation, is applied to the color space converter 604 by way of example. The tetrahedron interpolation method divides an input color space into a plurality of unit cubes, as shown in
Subsequently, which of the six equal tetrahedrons contains the input color D is determined to thereby determine weighting coefficients W1, W2 and W3. Then, an interpolation output (D) for the input color D may be produced on the basis of an output value (Pi) at a lattice point Pi by:
A specific procedure in which the image processing apparatus 100 generates image data and transmits them will be described with reference to
Subsequently, the reading unit 111 reads the image of a document (step S1202), and then the scanner corrector 112 executes scanner correction (step S1203). The scanner correction includes, e.g., scanner γ correction, filtering and magnification change and is executed in such a manner as to reflect the processing mode set in the step S1201 beforehand. The image data thus undergone scanning processing are written to the HDD or storing means 118 together with information representative of the mode set in the step S1201 (step S1204).
After the step S1204, the main controller 117 determines whether or not an image data request is received from the outside PC 126 (step S1205). If an image data request is not received from the PC 126 (No, step S1205), the procedure of
In the step S1207, the data format converter 125 converts the format of the image data read out of the HDD 118 to a format matching with the processing mode designated by the PC 126. The image data with the converted format are transmitted to the PC 126 (step S1209). On the other hand, in the step S1208, the data format converter 125 converts the format of the image data read out of the HDD 118 to a format matching with the processing mode set in the step S1201. The image data output in the step S1201 are also transmitted to the PC 126 (step S1209).
It is to be noted that the image data are stored in or read out of the HDD 118 after preselected compression or preselected expansion, respectively.
As shown in
If desired image data should be processed in a mode designated by the outside PC 126, processing matching with the designated mode is executed in the steps S1302 and S1303. If no particular processing mode is designated by the PC 126, processing is executed on the basis of a processing mode stored in the HDD 118 and input on the control panel 300 is executed in the step S1302.
The data format converter 125 is capable of converting the format of the input image data to another format mainly in the step S1304,
As stated above, the illustrative embodiment produces from a document image image data having a general-purpose format that can be commonly used by various kinds of image processing apparatuses, and then transmits the image with the general-purpose format to an outside apparatus. This successfully broadens the range of general-purpose application of image data.
An alternative embodiment of the present invention will be described hereinafter. Briefly, while image data undergone data format conversion in the embodiment described above are also color image data, such data are monochromatic image data in the alternative embodiment. The alternative embodiment is identical with the previous embodiment except for the configuration of the data format converter, so that the following description will concentrate on the configuration of the data format converter.
Subsequently, if the input image data are RGB image data particular to the image processing unit, an RGB-to-sRGB converter 1401 converts the color space of the image data to an sRGB or similar standard color space, and then an RGB-to-Gray converter 1402 converts the image data with the sRGB color space to monochromatic image data. The resulting output of the RGB-to-Gray converter 1402 is coded by the compressor 605 in a preselected compression format, fed to the general-purpose bus 114 via the output port 606 and then sent to, e.g., the outside PC 12. In this manner, the image data with a first format stored in the hard disk 118 are output as image data with a second format. In the illustrative embodiment, the RGB data particular to the image processing apparatus are converted to sRGB data and then converter to Gray or monochromatic-image data, so that Gray data based on the standard color space are obtained.
The input port 601, expander 602, resolution converter 603, compressor 605 and output port 606 are identical with the corresponding constituents of the previous embodiment and will not be described specifically in order to avoid redundancy.
As shown in
The data format converter 1500 with the above configuration is capable of converting color-copy image data to monochromatic bilevel image data and send the bilevel image data to the external PC 126. More specifically, color image data needs a large capacity and therefore heavy load when input to the external PC 126, so that one may desire to convert color image data to monochromatic bilevel image data. The data format converter 1500 meets such a need.
The individual blocks constituting the data format converter 1500 will be described more specifically hereinafter. It is to be noted that the expander 1501, resolution converter 1502, RGB-to-Gray converter 150 and compressor 1508 are identical in configuration with the corresponding blocks of
First, the operation of the solitary point eliminator 1504 will be described. Generally, if noise is contained in the original image, an output image often appears disagreeable. In such a case, the solitary point eliminator 1504 adaptively removes solitary points present in the original image. While various algorithms are available for the elimination of solitary points, the solitary point eliminator 1504 is assumed to use a method using a matrix shown in
While the elimination of solitary points is effective when the image data stored in the HDD 118 are representative of a natural image, such processing is not necessary when the image data are electronically generated, e.g., printer RIP (Raster Image Processor) data. In light of this, operation parameters for the elimination of solitary points may be switched in accordance with the kind of an image to be sent to the external PC 126 in order to insure high-quality images.
As for the filter 1505, the illustrative embodiment varies its processing in accordance with the processing mode input on the control panel 300 and the resolution designated by the outside PC 126, thereby producing an optimum image matching with the purpose of pickup. While filtering refers to modulating the MTF (Modulation Transfer Function) of image data, the MTF may be enhanced to improve image quality if the original image mainly consists of characters or may be slightly smoothed to render the resulting image smooth and therefore high-quality if the original image mainly consists of graphics. In addition, filtering may be used to correct the deterioration of an image occurred in the resolution converting step. In this manner, by selecting a particular filter coefficient matching with the kind of an image, it is possible to produce attractive images.
The density γ corrector 1506 is, in the aspect hardware, implemented by an LUT implemented by a RAM (Random Access Memory). γ correction makes the density gradient and density characteristic of an image variable. More specifically, the setting of the density γ corrector 1506 is suitably varied in accordance with the processing mode input on the operation panel 300 or desired density information received from the outside PC 126, so that an image can be output in accordance with the mode of storage or with density desired by the operator of the external PC 126.
The binarizer 1507 converts the multilevel image data to bilevel image data by halftone processing. While halftone processing refers to quantizing multilevel image data to image data of two levels or similar small number of gradation levels, various halftone processing schemes are available in the imaging art. Let the following description concentrate on a simple quantizing method, a dither method and an error diffusion method conventional in the imaging art. The number of gradation levels for quantization is assumed to be two by way of example.
The simple quantizing method binarizes input image data by using any suitable value included in the dynamic range of multilevel image data as a threshold value. For example, assume that the multilevel image data to be binarized has a dynamic range of from “0” to “255”, i.e., 256 gradation levels in total, and that the threshold value is “128”. Then, the quantized value is a (logical) ZERO if the image data is “100” or a (logical) ONE if it is “200”.
The dither method binarizes multilevel image data pixel by pixel by using a matrix of threshold values. If the threshold values in the matrix are determined in such a manner as to be scattered in the dynamic range of image data, halftone can be reproduced even from the binarized image data although it is a tradeoff with resolution.
The error distribution method binarizes multilevel image data by using any suitable threshold value like the simple quantizing method. However, the error distribution method fifers from the simple quantizing method in that it stores errors occurring during quantization and quantizes a pixel being observed by taking account of the errors of surrounding pixels already quantized in a raster type order and having errors fixed, thereby minimizing the quantization error of the total image data.
By using any one of the specific methods stated above, the binarizer 1507 is capable of binarizing the input multilevel image data to thereby reduce the total amount of data and select halftone processing matching with the kind of an image and therefore to enhance image quality. It is to be noted that by suitably varying the halftone processing system in accordance with the processing mode input on the control panel or image mode information received from the external PC 126, it is possible to selectively output an image based on a mode in which image data are stored or an image designated by the operator of the outside PC 126.
A specific sequence in which the image data stored in the HDD 118 are sent to, e.g., external PCs will be described with reference to
It is to be noted that the image data stored in the HDD 118 are assumed to be image data read by a color copier as a color image and belonging to a certain color space.
As shown in
resolution: 600 dpi (dots per inch)
color space: RGB
compression: block compression particular to an apparatus
image quality mode at the time of storage: text mode
magnification at the time of storage: 100%
density notch at the time of storage: 4
The outside PC 126 requests to receive or capture image data with attributes of a resolution of 400 dpi, a Gray color space, a notch 6 at the time of output and a file format of JPEG image. The other outside PC 127 requests to capture image data with attributes of a resolution of 300 dpi, a Gray belevel color space, a notch of 4 at the time of output and a file format of TIFF.
The data format converter 1500 executes image processing meeting the requests of the external PCs 126 and 127. More specifically, because the image data stored in the HDD 118 are of block compression particular to the apparatus, the expander 1401 compresses the image data to non-compressed image data. Next, the resolution converter 1502 determines conversion parameters on the basis of the resolutions requested by the outside PCs 127 and 127 and the resolutions of the image data stored in the HDD 118 and then converts the image data for the PC126 from 600 dpi to 400 dpi and converts the image data for the PC 127 from 600 dpi to 300 dpi.
Subsequently, the RGB-to-Gray converter 1503 converts the RGB color space to the gray scale. In the alternative embodiment stated earlier, while filtering is effected in the event of storage of image data in the HDD 118, filtering is suitably effected when, e.g. characters are deteriorated due to resolution conversion. Also, because the alternative embodiment does not execute correction when image data are written to the hard disk 118, the image mode and node notch of image data are written to the HDD 118 together with the image data, so that the node γ corrector 1506 can control density γ at the time of output to the external PCs 126 and 127 by referencing the image mode and node notch stored. On the other hand, when a change of notch is commanded by the PC 126 or 127, the node γ corrector 1506 controls density γ in accordance with the notch information.
Thereafter, the compressor 1508 converts the file format to the JPEG format for the external PC 126 and converts the file format to the TIFF file format with MHMR compression for the external PC 1271.
When the external PC 126 or 127 holds the same attributes stored in the HDD 118 thereafter together with image data, it does not have to again designate the attributes of image data to capture because the processing modes input on the control panel 300 are stored in the HDD 118.
A specific image data generation and transmission procedure unique of the alternative embodiment is practicable with the procedure shown in
In summary, it will be seen that the present invention provides an image processing apparatus, an image processing method and an image processing program capable of generating from read document image image data with a general-use format and a small capacity applicable to various kinds of image processing apparatuses and send such image data to an external apparatus to thereby enhance efficient data transmission and general-purpose application of data.
It is to be noted that the image processing method shown and described be implemented as, e.g., a program prepared beforehand to be executed by a personal computer, work station or similar computer. In such a case, the program is stored in a hard disk, flexible disk CD-ROM, MO, DVD or similar recording medium that can be ready by a computer. Alternatively, such a program may be implemented as a transmission medium that can be distributed via Internet or similar network.
More specifically, in accordance with the present invention, there can be executed image processing adaptive to a processing mode, e.g., copy mode, a printer mode, a scanner mode or a facsimile mode based on the selection by application selecting means and image quality mode sensing means in order to convert the processing mode to a data of a format of general use and then output. The image data can therefore be repeatedly used and easily controlled.
In accordance with the image processing apparatus, image processing method and image processing program, there can be generated from read document image image data with a general-use format and a small capacity applicable to various kinds of image processing apparatuses and send such image data to an external apparatus to thereby enhance efficient data transmission and general-purpose application of data.
Thus, the image processing apparatus, image processing method and image processing program is advantageously applicable to image processing of the type reading a document image and then generating image data therefrom, particularly when the image data once processed in the apparatus are used by an external apparatus.
Various modifications will become possible for those skilled in the art after receiving the teachings of the present disclosure without departing from the scope thereof.
Number | Date | Country | Kind |
---|---|---|---|
2005-082829 (JP) | Mar 2005 | JP | national |