Information
-
Patent Application
-
20010040699
-
Publication Number
20010040699
-
Date Filed
April 09, 199727 years ago
-
Date Published
November 15, 200123 years ago
-
CPC
-
US Classifications
-
International Classifications
- H04N001/21
- H04N001/40
- G06K009/36
Abstract
Analyzer 121 estimates time for rendering image data based on the number, the types etc. of rendering commands, stored in intermediate memory 113, and determines whether or not there is a possibility of overrun. If there is the possibility of overrun, image data of respective bands formed in band buffer 118 are sequentially compressed and stored into compressed image memory 115. When the image data for one page has been stored, the data in the compressed image memory 115 is sequentially expanded and supplied to printer engine 130. This avoids failure of image output due to overrun while reducing the capacity of the image memory.
Description
BACKGROUND OF THE INVENTION
[0001] This invention relates to an image processing apparatus and method and, more particularly to an image processing apparatus and method for forming an image based on input image information.
[0002] Printers which perform rasterizing based on print data in Page Description Language (hereinafter referred to as “PDL data”), and supply the rasterized data to a printer engine are known.
[0003] These printers have the following problems:
[0004] 1) To realize downsizing, cost reduction and the like of a printer controller, a printer having a small-capacity image memory (band memory) with a capacity less than the capacity for storing data for one page is provided. In this case, if the speed of rasterizing a page object is lower than the print speed of the printer engine, a print medium is discharged without forming the desired output image. This status is referred to as “overrun”.
[0005] 2) Also, to realize downsizing, cost reduction and the like of a printer controller, there is limitation upon the capacity of an intermediate memory for temporarily storing print data received from an external device such as a computer. In this case, all the objects for one page cannot be stored into the intermediate memory, and desired printing cannot be performed. This status is referred to as “memory overflow”.
[0006] In a case where the image memory has a capacity for storing data for one page, even if all the objects for one page cannot be stored in the intermediate memory, a part of the object stored in the intermediate memory can be sequentially rasterized, then the rasterized object can be sequentially deleted from the memory, and the subsequent part of the object can be stored into the intermediate memory.
[0007] However, as this method requires an image memory for one page, it is difficult to realize downsizing, cost reduction and the like of a printer controller.
SUMMARY OF THE INVENTION
[0008] The present invention has been made in consideration of the above situation, and has its object to prevent occurrence of overrun and memory overflow while reducing the capacity of memory resource for image processing.
[0009] According to the present invention, the foregoing object is attained by providing an image processing apparatus for generating an image based on image information, comprising: input means for inputting image information; an image information memory for temporarily storing the image information; an image memory for storing image data, having a capacity less than a capacity for storing image data for one page; rendering means for rendering image data in the image memory based on the image information stored in the image information memory; compressing means for compressing the image data in the image memory and sequentially storing the compressed image data into a compressed image memory; expanding means for expanding the compressed image data stored in the compressed image memory; and output means for outputting an image based on the image data expanded by the expanding means onto a print medium, wherein the expanding means continuously expands the compressed image data stored in the compressed image memory and supplies the expanded image data to the output means.
[0010] Preferably, in the image processing apparatus, the expanding means continuously expands the compressed image data for one page and supplies the expanded image data to the output means.
[0011] Preferably, in the image processing apparatus, after the compressed image data for one page has been stored into the compressed image memory, the expanding means continuously expands the compressed image data and supplies the expanded image data to the output means.
[0012] Preferably, the image processing apparatus further comprises analyzing means for estimating processing time for rendering by the rendering means, wherein the compressing means and the expanding means are controlled based on the processing time estimated by the analyzing means, so as to prevent overrun of the output means.
[0013] Preferably, in the image processing apparatus, if the processing time estimated by the analyzing means is less than a predetermined value, the image data generated by the rendering means is directly supplied to the output means, while if the processing time is greater than the predetermined value, the compressing means sequentially compresses the image data and stores the compressed image data into the compressed image memory, thereafter, the expanding means continuously expands the image data and supplies the expanded image data to the output means.
[0014] Preferably, in the image processing apparatus, the expanding means continuously expands the compressed image data for one page and supplies the expanded image data to the output means.
[0015] Preferably, in the image processing apparatus, after the compressed image data for one page has been stored into the compressed image memory, the expanding means continuously expands the compressed image data and supplies the expanded image data to the output means.
[0016] Preferably, the image processing apparatus further comprises available-capacity detecting means for detecting an available capacity of the image information memory, wherein the input means, the rendering means, the compressing means and the expanding means are controlled based on the available capacity detected by the available-capacity detecting means, so as to prevent overflow of the image information memory.
[0017] Preferably, in the image processing apparatus, when the available capacity of the image information memory becomes less than a predetermined amount,
[0018] input of the image information by the input means is stopped, then image data is rendered in the image memory based on the image information stored in the image information memory up to that time, and the image data is compressed and stored into the compressed image memory,
[0019] next, the image data for one page is formed in the compressed image memory by repeating operations of: inputting subsequent image information by the input means until it is detected that the available capacity of the image information memory is less than a predetermined amount; storing the subsequent image information into the image information memory in place of the image information used in rendering by the rendering means; specifying an image area corresponding to the subsequent image information; expanding the image data at the image area stored in the compressed image memory and re-writing the image data in the image memory, while rendering image data in the image memory based on the subsequent image information; and compressing image data obtained from combination of the image data rewritten in the image memory and the image data rendered in the image memory based on the subsequent image information by the compressing means, and storing the compressed image data into the compressed image memory, and
[0020] the expanding means continuously expands the image data and supplies the expanded data to the output means for one page.
[0021] Preferably, in the image processing apparatus, the image memory has at least two band memories, so that the image data is outputted from one band memory while rendered image data is stored in the other band memory, and wherein the image area corresponds to a capacity of the one band memory.
[0022] Preferably, in the image processing apparatus, the image memory has at least two band memories, so that the image data is outputted from one band memory while rendered image data is stored in the other band memory.
[0023] Preferably, the image processing apparatus further comprises analyzing means for estimating processing time for rendering by the rendering means and available-capacity detecting means for detecting an available capacity of the image information memory, wherein the input means, the rendering means, the compressing means and the expanding means are controlled based on the processing time estimated by the analyzing means and the available capacity detected by the available-capacity detecting means, so as to prevent overrun of the output means and memory overflow of the image information memory.
[0024] Preferably, in the image processing apparatus, the compressing means includes means for converting the image data supplied from the rendering means into low resolution image data.
[0025] Preferably, in the image processing apparatus, the expanding means includes means for converting low resolution image data into high resolution image data.
[0026] Preferably, the image processing apparatus further comprises data amount control means for converting image object data included in the image information inputted by the input means into low resolution data and storing the low resolution data into the image information memory.
[0027] Preferably, in the image processing apparatus, the data amount control means includes data amount predicting means for predicting a data amount of image object data to be inputted, and wherein the data amount control means converts image object data, having a data amount predicted by the data amount predicting means as greater than a predetermined amount, into low resolution data.
[0028] Preferably, in the image processing apparatus, the output means forms an output image in a print medium by an electrophotographic method.
[0029] Further, the present invention provides an image processing method for generating an image based on image information, comprising: an input step of inputting image information; a storage step of temporarily storing the image information into an image information memory; a rendering step of rendering image data in an image memory having a capacity less than a capacity for storing image data for one page, based on the image information stored in the image information memory; a compressing step of compressing the image data in the image memory and sequentially stores the compressed image data into a compressed image memory; an expanding step of expanding the compressed image data stored in the compressed image memory; and an output step of outputting an image based on the image data expanded by the expanding means onto a print medium, wherein at the expanding step, the compressed image data stored in the compressed image memory is continuously expanded and supplied to the output step.
[0030] Further objects, features and advantages of the present invention will become apparent from the following detailed description of embodiments of the present invention with reference to the accompanying drawings.
BRIEF DESCRIPTION OF THE DRAWINGS
[0031] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
[0032]
FIG. 1 is a block diagram showing the construction of a printer system according to first and second embodiments of the present invention;
[0033]
FIG. 2 is a block diagram showing the construction of a compressor according to the second embodiment;
[0034]
FIG. 3 is a block diagram showing the construction of an expander according to the second embodiment; and
[0035]
FIG. 4 is a block diagram showing the construction of a part of a printer according to a third embodiment.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0036] Preferred embodiments of the present invention will now be described in detail in accordance with the accompanying drawings.
[0037] [First Embodiment]
[0038]
FIG. 1 is a block diagram showing the construction of a printer system according to a first embodiment of the present invention. In FIG. 1, arrows represent data flow (print data, image data and the like). Control signals are not shown. A computer 140 generates print data in accordance with application software such as a document editor or figure editor, and supplies the generated print data to a printer 100. Note that the present embodiment uses PDL data as the print data.
[0039] An interface unit 111 receives the print data from the computer 140 and supplies the received print data to a data converter 112. To reduce the capacity of an image memory, the printer 100 divides one page into several bands and processes the bands. Specifically, the data converter 112 divides rendering commands included in the print data into a plurality of bands constituting one page data, and generates a display list by sorting the bands such that the bands are arranged from the page-header band to the page-bottom band. The data converter 112 stores the display list into an intermediate memory 113. Note that if print data for one page cannot be stored into the intermediate memory 113, the above processing is performed on a part of the print data.
[0040] A rendering unit 114 refers to the display list stored in the intermediate memory 113, and generates image data by rendering the image data based on rendering commands corresponding to one band, in a band buffer 118.
[0041] The band buffer 118 has two or more buffers (each functions as an image memory corresponding to one band). Preferably, while image data is rendered in one buffer, reading from another buffer is performed. The image data rendered in the band buffer 118 is directly supplied to an image processor 119 upon realtime rendering processing to be described later. The image processor 119 performs smoothing and notch-processing in the input data, and outputs the processed data to an interface unit 120. The interface unit 120 converts the input data into a video signal and supplies the signal to a printer engine 130.
[0042] The printer engine 130 forms an image in a print medium by, e.g., an electrophotographic method. Note that the present embodiment is not particularly limited to such image forming method. However, the present embodiment is particularly applicable to a printer according to a printing method which cannot suspend printing in mid-course of printing.
[0043] In the printer having a printer engine that cannot suspend printing in mid-course of printing, it is required to supply the image data to the printer engine 130 in synchronization with a video clock signal which defines the operation speed of the printer engine 130.
[0044] Next, processing for preventing overrun (overrun avoiding processing) will be described below. An analyzer 121 examines the content of the display list in the intermediate memory 113, and determines whether or not there is a possibility of overrun, based on the result of examination. For example, the analyzer 121 estimates time necessary for rendering processing (processing speed) based on the number, types etc. of the rendering commands stored in the intermediate memory 113, and compares the time with a predetermined value, to determine whether or not a realtime rendering processing should be performed. A realtime rendering processing is sequentially rendering image data in band units in the band buffer 118 and continuously transferring image data of the rendering-processed band to the image processor 119 (the transferred image data is supplied to the printer engine 130 via the inter face unit 120).
[0045] If the analyzer 121 has determined that a realtime rendering processing should not be performed, i.e., there is the possibility of overrun, the image data of the respective bands, sequentially rendered in the band buffer 118, are sequentially compressed by a compressor 116, and temporarily stored into a compressed image memory 115. Thereafter, when the amount of the image data stored in the compressed image memory 115 corresponds to one page, an expander 117 continuously expands the image data and supplies the expanded data to the image processor 119, then the image processor 119 supplies the video signals to the printer engine 130 via the interface unit 120. Note that the expansion of the image data stored in the compressed image memory 115 is not necessarily delayed until the image data for one page has been stored; the expansion of the image data in the compressed image memory 115 may be started when a predetermined amount of the image data has been stored into the compressed image memory 115 such that the video signals can be continuously supplied in correspondence with the operation speed of the printer engine 130.
[0046] Note that it is preferable that the compressing by the compressor 116 is made by a reversible compressing method, however, the present embodiment is applicable to an irreversible compressing method.
[0047] The expansion of the image data by the expander 117 is made at a speed to properly supply the video signal to the printer engine 130. This prevents the occurrence of overrun, and reduces failure of image output.
[0048] Note that in the present embodiment, so far as it is determined that there is no possibility of overrun, realtime rendering processing is performed so as to output an image at a speed as fast as possible. However, the overrun avoiding processing may be always performed to simplify the processing.
[0049] Next, processing to prevent overflow of the intermediate memory 113 (overflow avoiding processing) will be described. An available capacity detector 122 examines the available capacity of the intermediate memory 113 and determines whether or not there is a possibility of overflow. For example, if data more than a predetermined reference amount is stored into the intermediate memory 113 and no command has been received indicating the end of print data, the available capacity detector 122 determines that there is a possibility of overflow.
[0050] If it is determined that there is a possibility of overflow, reception of the print data from the computer 140 is stopped. At this time, the rendering unit 114 performs rendering based on the display list stored in the intermediate memory 113 in the band buffer 118. When the rendering has been completed, the image data rendered in the band buffer 118 is compressed by the compressor 116 and stored into the compressed image memory 115. At the same time, the used display list is deleted from the intermediate memory 113. Then the subsequent print data is received from the computer 140, and as described above, a display list of the received data is stored into the intermediate memory 113.
[0051] With respect to a rendering command of interest among the rendering commands in the newly-stored display list in the intermediate memory 113, the rendering unit 114 specifies band corresponding to the rendering command of interest. The expander 117 reads image data corresponding to the band specified by the rendering unit 114 from the compressed image memory 115, and rewrites the data into the band buffer. Thereafter, the rendering unit 114 performs rendering over the image data (re-written image data), based on the rendering command in the intermediate memory 113, in the band buffer 118. This processing is repeated, and when the rendering of print data for one page has been completed, the expander 117 sequentially expands the compressed image data in the compressed image memory 115, supplies the expanded data to the image processor 119, which then outputs the data via the interface unit 120 to the printer engine 130. This prevents failure of image output due to overflow of the intermediate memory 113.
[0052] As described above, according to the present embodiment, if there is a possibility of overrun, the image data of respective band data, formed in the band buffer 118, are sequentially compressed and stored into the compressed image memory 115. When the formation of the image data for one page has been completed, the data stored in the compressed image memory 115 are sequentially expanded and supplied to the printer engine 130. This avoids failure of image output due to overrun while reducing the capacity of the image memory.
[0053] Further, according to the present embodiment, if there is a possibility of overflow, storing of rendering commands into the intermediate memory 113 is stopped, and rendering is performed based on rendering commands in the intermediate memory 113, in the band buffer 118. The image data of the respective bands, formed in the band buffer 118, are sequentially compressed and stored into the compressed image memory 115. Then, the used rendering commands in the intermediate memory 113 are deleted, and the rest of the rendering commands are stored into the intermediate memory 113. Image data corresponding to the newly-stored rendering commands are expanded and re-written into the band buffer 118, and rendering is performed corresponding to the new rendering commands over the re-written image data. This avoids failure of image output due to overflow of the intermediate memory 113.
[0054] [Second Embodiment]
[0055] In this embodiment, when the compressor 116 has low compressing efficiency, image data supplied from the band buffer 118 is converted into low resolution data, to decrease the number of pixels (the amount of image data to be compressed). This raises the compressing efficiency, and reduces the memory capacity necessary for the compressed image memory 115.
[0056]
FIG. 2 is a block diagram showing the construction of the compressor 116 according to a second embodiment. In FIG. 2, bold arrows represent data flow, and thin arrows, control signal flow. A main compressor 203 compresses image data directly supplied from the band buffer 118 or image data supplied via a resolution decreasing unit 201, and supplies the compressed image data to the compressed image memory 115. A compression-ratio judgment unit 204 judges whether or not the compressing ratio of the main compressor 203 is sufficiently high. If the compression-ratio judgment unit 204 judges that the compressing ratio is not sufficiently high, it controls the resolution decreasing unit 201 and a selector 202 such that the image data supplied from the band buffer 118 is supplied via the resolution decreasing unit 201 to the main compressor 203. This judgment is made by, e.g., comparing input data amount with output data amount or examining the available capacity of the compressed image memory 115 at appropriate intervals. The resolution decreasing unit 201 has a resolution-converting function for decreasing the number of pixels (e.g., from 600 dpi to 300 dpi) by converting the image data into low resolution data. Thus the resolution decreasing unit 201 improves the entire compressing ratio of the compressor 116. Note that the resolution decreasing is made by a method for periodically thinning pixels from high-resolution image data or methods maintaining thin lines, e.g., a projection method.
[0057] In this manner, the entire compressing ratio of the compressor 116 can be improved by converting image data into low resolution data before compressing the image data by the main compressor 203. Accordingly, this reduces the capacity of the memory resource used as the compressed image memory 115, and allocates the surplus memory resource to the intermediate memory 113 or the like. For example, converting 600 dpi image data into 300 dpi image data reduces the number of pixels (data amount) to ¼.
[0058]
FIG. 3 is a block diagram showing the construction of the expander 117 according to the present embodiment. In FIG. 3, bold arrows represent data flow, and thin arrows, control signal flow. A main expander 301 expands the compressed image data supplied from the compressed image memory 115. A resolution determination unit 303 determines whether or not the image data expanded by the main expander 301 is the low resolution data converted by the resolution decreasing unit 201. If the data is low resolution data, a resolution increasing unit 302 converts the data into data of the initial resolution. The resolution increasing is made by, e.g., converting one pixel into a plurality of pixels (e.g., 2×2) having the initial pixel value, or expanding along with a smoothing technique. From the point of image quality of output image, it is preferable to employ the smoothing technique.
[0059] As described above, according to the present embodiment, as image data is converted into low resolution data and compressed, the entire compressing ratio of the compressor 116 can be improved, and the memory resource used as the compressed image memory 115 can be reduced. Further, by applying a smoothing technique or the like to the resolution conversion by the resolution increasing unit 302, degradation of image quality accompanying the resolution conversion can be suppressed.
[0060] [Third Embodiment]
[0061] This embodiment is based on the fact that the amount of data of image object data is greater than that of PDL data. When print data includes image object data, the data amount of the image object data is predicted, and if there is a possibility of memory overflow of the intermediate memory 113, the image object data is converted into low resolution data, thus the number of pixels (data amount) is reduced.
[0062]
FIG. 4 is a block diagram showing the construction of a part of the printer 100 according to a third embodiment of the present invention. As shown in FIG. 4, the printer 100 of the third embodiment further has a data amount controller 400 between the interface unit 111 and the data converter 112. In FIG. 4, bold arrows present data flow, thin arrows, control signal flow.
[0063] In the data amount controller 400, when print data includes image object data, a data amount predictor 401 predicts the data amount of the image object data, based on print data supplied from the interface unit 111. If the data amount is large (e.g., greater than a predetermined reference value), the data amount predictor 401 controls a resolution decreasing unit 402 and a selector 403 so as to convert the image object data to low resolution data and supply the converted data to the data converter 112.
[0064] The data amount prediction is made by simple compression method such as a Pack Bits method, by calculating the amount of coded data. If the image object data has been processed by a pseudo-halftone processing such as an error diffusion method, the data amount is particularly large. Accordingly, a binarization method performed on the image object data is determined. For example, if it is determined that the binarization method has been used to process the image object data, it can be determined that the data amount is large.
[0065] As described above, according to the present embodiment, when print data includes image object data, the amount of the image object data is predicted. If it is predicted that the amount of the image object is large, the image object data is converted to low resolution data so as to reduce the data amount. This prevents memory overflow of the intermediate memory 113.
[0066] The present invention can be applied to a system constituted by a plurality of devices or to an apparatus comprising a single device.
[0067] Further, the object of the present invention can be also achieved by providing a storage medium storing program codes for performing the aforesaid processes to a system or an apparatus, reading the program codes with a computer (e.g., CPU, MPU) of the system or apparatus from the storage medium, then executing the program.
[0068] In this case, the program codes read from the storage medium realize the functions according to the embodiments, and the storage medium storing the program codes constitutes the invention.
[0069] Further, the storage medium, such as a floppy disk, a hard disk, an optical disk, a magneto-optical disk, CD-ROM, CD-R, a magnetic tape, a non-volatile type memory card, and ROM can be used for providing the program codes.
[0070] Furthermore, besides aforesaid functions according to the above embodiments are realized by executing the program codes which are read by a computer, the present invention includes a case where an OS (operating system) or the like working in the computer performs a part or entire processes in accordance with designations of the program codes and realizes functions according to the above embodiment/embodiments.
[0071] Furthermore, the present invention also includes a case where, after the program codes read from the storage medium are written in a function expansion card which is inserted into the computer or in a memory provided in a function expansion unit which is connected to the computer, CPU or the like contained in the function expansion card or unit performs a part or entire process in accordance with designations of the program codes and realizes functions of the above embodiments.
[0072] As described above, the present invention prevents memory overflow and overrun while reducing the capacity of memory resource for image processing.
[0073] The present invention is not limited to the above embodiments and various changes and modifications can be made within the spirit and scope of the present invention. Therefore, to appraise the public of the scope of the present invention, the following claims are made.
Claims
- 1. An image processing apparatus for generating an image based on image information, comprising:
input means for inputting image information; an image information memory for temporarily storing the image information; an image memory for storing image data, having a capacity less than a capacity for storing image data for one page; rendering means for rendering image data in said image memory based on the image information stored in said image information memory; compressing means for compressing the image data in said image memory and sequentially storing the compressed image data into a compressed image memory; expanding means for expanding the compressed image data stored in said compressed image memory; and output means for outputting an image based on the image data expanded by said expanding means onto a print medium, wherein said expanding means continuously expands the compressed image data stored in said compressed image memory and supplies the expanded image data to said output means.
- 2. The image processing apparatus according to claim 1, wherein said expanding means continuously expands the compressed image data for one page and supplies the expanded image data to said output means.
- 3. The image processing apparatus according to claim 1, wherein after the compressed image data for one page has been stored into said compressed image memory, said expanding means continuously expands the compressed image data and supplies the expanded image data to said output means.
- 4. The image processing apparatus according to claim 1, further comprising analyzing means for estimating processing time for rendering by said rendering means, wherein said compressing means and said expanding means are controlled based on the processing time estimated by said analyzing means, so as to prevent overrun of said output means.
- 5. The image processing apparatus according to claim 4, wherein if the processing time estimated by said analyzing means is less than a predetermined value, the image data generated by said rendering means is directly supplied to said output means, while if the processing time is greater than the predetermined value, said compressing means sequentially compresses the image data and stores the compressed image data into said compressed image memory, thereafter, said expanding means continuously expands the image data and supplies the expanded image data to said output means.
- 6. The image processing apparatus according to claim 5, wherein said expanding means continuously expands the compressed image data for one page and supplies the expanded image data to said output means.
- 7. The image processing apparatus according to claim 6, wherein after the compressed image data for one page has been stored into said compressed image memory, said expanding means continuously expands the compressed image data and supplies the expanded image data to said output means.
- 8. The image processing apparatus according to claim 1, further comprising available-capacity detecting means for detecting an available capacity of said image information memory, wherein said input means, said rendering means, said compressing means and said expanding means are controlled based on the available capacity detected by said available-capacity detecting means, so as to prevent overflow of said image information memory.
- 9. The image processing apparatus according to claim 8, wherein when the available capacity of said image information memory becomes less than a predetermined amount,
input of the image information by said input means is stopped, then image data is rendered in said image memory based on the image information stored in said image information memory up to that time, and the image data is compressed and stored into said compressed image memory, next, the image data for one page is formed in said compressed image memory by repeating operations of: inputting subsequent image information by said input means until it is detected that the available capacity of said image information memory is less than a predetermined amount; storing the subsequent image information into said image information memory in place of the image information used in rendering by said rendering means; specifying an image area corresponding to the subsequent image information; expanding the image data at the image area stored in said compressed image memory and re-writing the image data in said image memory, while rendering image data in said image memory based on the subsequent image information; and compressing image data obtained from combination of the image data re-written in said image memory and the image data rendered in said image memory based on the subsequent image information by said compressing means, and storing the compressed image data into said compressed image memory, and said expanding means continuously expands the image data and supplies the expanded data to said output means for one page.
- 10. The image processing apparatus according to claim 9, wherein said image memory has at least two band memories, so that the image data is outputted from one band memory while rendered image data is stored in the other band memory, and wherein the image area corresponds to a capacity of the one band memory.
- 11. The image processing apparatus according to claim 1, wherein said image memory has at least two band memories, so that the image data is outputted from one band memory while rendered image data is stored in the other band memory.
- 12. The image processing apparatus according to claim 1, further comprising analyzing means for estimating processing time for rendering by said rendering means and available-capacity detecting means for detecting an available capacity of said image information memory, wherein said input means, said rendering means, said compressing means and said expanding means are controlled based on the processing time estimated by said analyzing means and the available capacity detected by said available-capacity detecting means, so as to prevent overrun of said output means and memory overflow of said image information memory.
- 13. The image processing apparatus according to claim 1, wherein said compressing means includes means for converting the image data supplied from said rendering means into low resolution image data.
- 14. The image processing apparatus according to claim 13, wherein said expanding means includes means for converting low resolution image data into high resolution image data.
- 15. The image processing apparatus according to claim 1, further comprising data amount control means for converting image object data included in the image information inputted by said input means in to low resolution data and storing the low resolution data into said image information memory.
- 16. The image processing apparatus according to claim 15, wherein said data amount control means includes data amount predicting means for predicting a data amount of image object data to be inputted, and wherein said data amount control means converts image object data, having a data amount predicted by said data amount predicting means as greater than a predetermined amount, into low resolution data.
- 17. The image processing apparatus according to claim 1, wherein said output means forms an output image in a print medium by an electrophotographic method.
- 18. An image processing method for generating an image based on image information, comprising:
an input step of inputting image information; a storage step of temporarily storing the image information into an image information memory; a rendering step of rendering image data in an image memory having a capacity less than a capacity for storing image data for one page, based on the image information stored in said image information memory; a compressing step of compressing the image data in said image memory and sequentially stores the compressed image data into a compressed image memory; an expanding step of expanding the compressed image data stored in said compressed image memory; and an output step of outputting an image based on the image data expanded by said expanding means onto a print medium, wherein at said expanding step, the compressed image data stored in said compressed image memory is continuously expanded and supplied to said output step.
- 19. The image processing method according to claim 18, 10 wherein at said expanding step, the compressed image data for one page is continuously expanded and supplied to said output step.
- 20. The image processing method according to claim 18, wherein at said expanding step, after the compressed image data for one page has been stored into said compressed image memory, the compressed image data is continuously expanded and supplied to said output step.
- 21. The image processing method according to claim 18, further comprising an analyzing step of estimating processing time for rendering at said rendering step, wherein compression at said compressing step and expansion at expanding step are controlled based on the processing time estimated at said analyzing step, so as to prevent overrun at said output step.
- 22. The image processing method according to claim 21, wherein if the processing time estimated at said analyzing step is less than a predetermined value, the image data generated at said rendering step is directly supplied to said output step, while if the processing time is greater than the predetermined value, the image data is compressed and sequentially stored into said compressed image memory at said compressing step, thereafter, at said expanding step, the image data is continuously expanded and supplied to said output step.
- 23. The image processing method according to claim 22, wherein at said expanding step, the compressed image data is continuously expanded for one page and supplied to said output step.
- 24. The image processing method according to claim 22, wherein at said expanding step, after the compressed image data for one page has been stored into said compressed image memory, the compressed image data is continuously expanded and supplied to said output step.
- 25. The image processing method according to claim 18, further comprising an available-capacity detecting step of detecting an available capacity of said image information memory, wherein inputting at said input step, rendering at said rendering step, compression at said compressing step and expansion at said expanding step are controlled based on the available capacity detected at said available-capacity detecting step, so as to prevent overflow of said image information memory.
- 26. The image processing method according to claim 25, wherein when the available capacity of said image information memory becomes less than a predetermined amount,
the input of the image information at said input step is stopped, then image data is rendered in said image memory based on the image information stored in said image information memory up to that time, and the image data is compressed and stored into said compressed image memory, next, until the image data for one page is formed in said compressed image memory by repeating operations of: inputting subsequent image information at said input step until it is detected that the available capacity of said image information memory is short; storing the subsequent image information into said image information memory in place of the image information used in rendering at said rendering step; specifying an image area corresponding to the subsequent image information; expanding the image data at the image area stored in said compressed image memory and re-writing the image data in said image memory, while rendering image data in said image memory based on the subsequent image information; and compressing image data obtained from combination of the image data re-written in said image memory and the image data rendered in said image memory based on the subsequent image information at said compressing step, and storing the compressed image data into said compressed image memory, and at said expanding step, the image data is continuously expanded and supplied to said output step for one page.
- 27. The image processing method according to claim 26, wherein said image memory has at least two band memories, so that the image data is outputted from one band memory while rendered image data is stored in the other band memory, and wherein the image area corresponds to a capacity of the one band memory.
- 28. The image processing method according to claim 18, wherein said image memory has at least two ban memories, so that the image data is outputted from one band memory while rendered image data is stored in the other band memory.
- 29. The image processing method according to claim 18, further comprising an analyzing step of estimating processing time for rendering at said rendering step and an available-capacity detecting step of detecting an available capacity of said image information memory, wherein inputting at said input step, rendering at said rendering step, compression at said compressing step and expansion at said expanding step are controlled based on the processing time estimated at said analyzing step and the available capacity detected at said available-capacity detecting step, so as to prevent overrun of said output means and memory overflow of said image information memory.
- 30. The image processing method according to claim 18, wherein said compressing step includes a step of converting the image data supplied from said rendering step into low resolution image data.
- 31. The image processing method according to claim 30, wherein said expanding step includes a step of converting low resolution image data into high resolution image data.
- 32. The image processing method according to claim 18, further comprising a data amount control step of converting image object data included in the image information inputted at said input step into low resolution data and storing the low resolution data into said image information memory.
- 33. The image processing method according to claim 32, wherein said data amount control step includes a data amount predicting step of predicting a data amount of image object data to be inputted, and wherein at said data amount control step, image object data having a data amount predicted at said data amount predicting step as large, is converted into low resolution data.
- 34. The image processing method according to claim 18, wherein at said output step, an output image is formed in a print medium by an electrophotographic method.
Priority Claims (1)
Number |
Date |
Country |
Kind |
8-088316 |
Apr 1996 |
JP |
|