Image processing apparatus and method

Abstract: The present invention discloses an image forming apparatus having a developing device for developing a portion of one page into raster image data by translating a page describing language, memory for storing the developed partial image data of one page, a reader for reading an original in the units into which the original is divided, a composition device for forming composite image data on the basis of the image data read from the memory and the original image data read by the reader, a control circuit for controlling the development device, the reader and an image forming device device so as to develop an image of one page in the predetermined units, operate the reader, the composition device and the image forming device to form an image in synchronism with development of an image in the units, and repeatedly perform the processing in the units to form an image for one page.

Description: BACKGROUND OF THE INVENTION Field of the Invention The present invention relates to an image processing apparatus, and particularly to an image processing system which can print, on paper or the like, image data stored on an image memory, such as an image obtained by developing a page describing language, and image data obtained by scanning an original. Description of the Related Art A system comprising a color copying machine and a unit connected to the color copying machine so as to output a raster image by developing page describing language (referred to as "PDL" hereinafter) data and print out the data on paper or the like has previously been provided. A system for copying image by using a printing head having ink jet nozzles, which form a line, for repeatedly scanning the bands into which one page is divided and each of which has the same width as that of the printing head has also be provided as a color copying machine. Further, an apparatus for developing PDL data for each band width and outputting the data has been provided in correspondence with such a printer that data of a page is divided into bands having the same width as that of the printing head and is printed out. However, the above-described conventional systems have the following problems: When a PDL developing device is connected to a color copying machine in which an image is divided into the above band units and copied so as to compose an image on the basis of an original image of the color copying machine and a PDL developed image, a memory unit or the like must be connected to the color copying machine so that the original image is read by a host computer through the memory unit, and an image is composed by the PDL image using an image edit software on the host computer and is printed out through the memory unit or the PDL developing device. In this method, since there are large amounts of image data about the original image, particularly a color image, much time is required for transferring the data from the color copying machine to the host computer through the memory unit. This method thus has the problem that since the large amounts of data about the original image must be processed on the host computer, the host computer is required to have large-capacity memory, and a CPU is also required to have a high processing speed. In addition, a long time is required for transferring the PDL image and the original image to the color copying machine because the amount of data is significantly increased, as compared with transfer of PDL data alone. There is also the problem that much time is required for outputting the composite image. An image processing apparatus for composing an output image signal from a PDL image signal and from an original image of a color copying machine is described in US-A-4 949 188. In consideration of the above point, concern of the present invention is to provide an image processing apparatus and method which can obtain a composite image at a high speed. Another concern of the present invention is to provide an image processing apparatus and method which can compose an image on the basis of data expressed by a page describing language and a color original to be copied in such a color copying machine that an original is divided into band units and copied. In accordance with an aspect of the present invention, there is provided an image processing method as set out in claim 1 and an image processing apparatus as set out in claim 11. An embodiment of the present invention provides an image processing apparatus and method which can freely perform composition processing. In order that the present invention may be more readily understood, embodiments thereof will now be described by way of example and with reference to the accompanying drawings, in which: Fig. 1 is a block diagram showing an example of the configuration of an image forming system in accordance with an embodiment of the present invention; Fig. 2 is a block diagram showing an example of the configuration of a scanner printer of the embodiment; Fig. 3 is a drawing showing an example of the state wherein a line sensor of this embodiment scans an original; Fig. 4 is a chart showing the operation timing of the scanner printer of the embodiment; Fig. 5 is a table showing an example of the contents of data X to be added by a black character processing circuit a of the embodiment; Fig. 6 is a perspective view showing the appearance of an image processing unit of the embodiment; Fig. 7 is a block diagram showing an example of the configuration of the image processing unit of the embodiment; Fig. 8 is a drawing showing an example of an operation section of the image processing unit of the embodiment; Fig. 9 is a drawing showing an example of the configuration of a color decision section of the image processing unit of the embodiment and the timing chart therefor; Fig. 10 is a table showing the values set, in each of operation modes, in registers of the color decision section of the image processing unit of the embodiment; Fig. 11 is a drawing showing an example of the configuration of a communication control section of the image processing unit of the embodiment; Fig. 12 is a drawing showing examples of output of image composition in the embodiment; Fig. 13 is a drawing showing an example of display of the composition modes in the operation section of the embodiment; Fig. 14 is a table explaining setting, in each composition mode, of the registers of a color conversion section of the embodiment; and Fig. 15 is a flowchart showing the processing of CPU of a PDL development section of the embodiment. DESCRIPTION OF THE PREFERRED EMBODIMENTS An image processing system in accordance with an embodiment of the present invention is described in detail below with reference to the drawings. First Embodiment Fig. 1 is a block diagram showing an example of the configuration of an image processing system in accordance with an embodiment of the present invention. In Fig. 1, reference numeral 101 denotes a scanner printer, for example, including a color image scanner, and an ink jet printer etc. This embodiment uses an ink jet printer which employs thermal energy for discharging ink droplets. Reference numeral 109 denotes an image processing unit as a part on of the image processing system of the present invention. Reference numeral 102 denotes a memory unit; reference numeral 103, a host computer; and reference numeral 120, HDD (Hard Disk Drive). The scanner printer 101, the image processing unit 109 and the memory unit 102 are connected in the form of a cascade by cables 107 and 110. When a copy start key 104 of the scanner printer 101 is turned on, a color original image placed below a platen 105 can be singly copied, and substantially at the same time, the read digital data of the image can be transmitted to the image processing unit 109 and the memory unit 102 through the cables 107 and 110. The image processing unit 109 can develop, into a raster image, the PDL data sent from the host computer 103 through a cable 111 of a general-purpose interface such as Centronics or RS232C, and send the raster image to the scanner printer 101 and output the image therefrom. The image processing unit 109 can also perform some image processing of the raster image formed by developing the PDL data and the image data sent from the scanner printer 101, and then return the processed image data to the scanner printer 101 to output the image from the scanner printer 101. The memory unit 102 sends the image data sent from the scanner printer 101 to the host computer 103 through a general-purpose interface 108 such as SCSI or GP-IB to enable various kinds of image edit processing. The memory unit 102 can also send, to the scanner printer 101, the image data sent from the host computer through the general-purpose interface 108, and output the data from the scanner printer 101. Fig. 2 is a block diagram showing an example of the configuration of the scanner printer 101, Fig. 3 is a drawing showing an example of the state wherein a line sensor 201 scans an original image, Fig. 4 is a chart showing an example of the operation timing of the scanner printer 101, and Fig. 5 is a table showing an example of the contents of the data X added by a black character processing circuit a 205. In Fig. 2, reference numeral 201 denotes a line sensor, for example, comprising a CCD. In the line sensor 201, as shown by an example in an enlarged view 203, sensors for respective colors are arranged in the order of R, G, B, R, G, B, ... in the scanning direction, and a set of R, G and B sensors corresponds to one pixel. The line sensor 201 successively performs horizontal main scanning and longitudinal subsidiary scanning for an original image 301, as shown by an example in Fig. 3. Namely, the line sensor 201 starts scanning of the entire original image synchronously with, for example, the rising of the signal BVE shown in Figs. 3 and 4(a), and then performs first scanning, second scanning, ... in band units in the sub-scanning direction in synchronism with, for example, the rising of the signal VE shown in Figs. 3 and 4(a). In the image signal of each of the colors, data for one pixel corresponds to, for example, three clocks in a video clock VCLK, as shown by an example in an enlarged view 4(b) of a portion near the rising portion of the signal VE. The image signal is transmitted synchronously with the video clock VCLK. The line sensor 201 is driven, for example, by a pulse motor (not shown), and is controlled by a control section (not shown) so as to scan any desired region of the original image. The configuration of these units is generally known, and is not described below for the sake of simplifying the description. In Fig. 2, reference numeral 202 denotes an A/D converter for converting the anolog image signal output from the line sensor 201 into digital image data. Reference numeral 204 denotes a shading correction circuit 204 for performing white correction and black correction of the image data output from the A/D converter 202 in accordance with the characteristics of the line sensor 201. Reference numeral 205 denotes a black character processing circuit a for detecting a black character contained in the original image from the image data R, G and B output from the shading correction circuit 204, processing the detected black character so as to prevent color bleeding in a printed character and sharpen the edge, and adding the data X thereto. The black character processing circuit a 205 is designed so as to output color data for one pixel, for example, with four clocks of the video clock VCLK, as shown in Fig. 4(c), and outputs the image data synchronously with the video clock VCLK. In other words, the black character processing circuit a 205 adds the data X (8 bits) having the contents shown by an example in Fig. 5, for each pixel of the input image data. For example, the black character processing circuit a 205 sets bit 0 of the data X of a pixel for which black character processing is executed to "1", and bit 0 of the data X of a pixel for which black character processing is not executed to "0". Further, the data X indicate the image processing information as shown by an example in Fig. 5. Namely, the value of bit 3 of the data X is controlled so that the edge is enhanced by the processing circuit below for the image data of a region where a black character is detected, and smoothing is made for the image data of a region where no black character is detected. In addition, bit 4 of the data X is set to "1" when instructions for negative/positive inversion are given. Bit 7 of the data X will be described below. In Fig. 2, reference numeral 206 denotes an enlarge/reduction circuit for processing the image data output from the black character processing circuit a 205 to change the size of the image indicating the image data to a desired size (enlargement or reduction). The image data output from the enlarge/reduction circuit 206 is transferred to the image processing unit 109 and the memory unit 102 through the cables 107 and 110, as described above, as well as being transferred to a switch unit 207 (shown as a selector in Fig. 2). The switch unit 207 selectively outputs the image data output from the image processing unit 109 and the memory unit 102 and the image data output from the enlarge/reduction circuit 206. Namely, when the switch unit 207 is switched so that the image data output from the enlarge/reduction circuit 206 is selected, the read color image or the like is copied by operation of the scanner printer 101 only. Reference numeral 208 denotes a decoder for decoding the data X contained in the image data output from the switch unit 207. That is, the decoder 208 outputs the control signals MIX DATA, NEGA, PHOTO and KB shown as examples in Fig. 5 to the binary circuit 214 and the black character processing circuit b 215, both of which will be described below, in accordance with the data X contained in the image data. Reference numeral 209 denotes a logarithmic conversion circuit for converting the RGB image data output through the decoder 208, for example, into CMY image data. Reference numeral 210 denotes a masking circuit for masking (converting into MYK image data) the image data output from the logarithmic conversion circuit in accordance with ink characteristics. When the scanner printer 101 is singly operated, masking processing is made by the masking circuit 210 in which a coefficient is set by a control section (not shown) in consideration of both input masking and output masking. When the image data output from an external unit such as the image processing unit 109 is processed, masking processing is made by the masking circuit 210 in which a coefficient is set by the control section (not shown) in consideration of output masking. Reference numeral 211 denotes an edge processing circuit for sharpening the edge of the image data output from the masking circuit 210. The above-described PHOTO signal may be input to the edge processing circuit 211 so as to control edge enhancement in accordance with the PHOTO signal. Reference numeral 212 denotes a head shading circuit for processing the image data output from the edge processing circuit 211 so as to correct variations in the discharge amounts and the discharge directions of the respective nozzles of the printing head 216 below. Reference numeral 213 denotes a γ table for converting the image data output from the head shading circuit 212 into data with a desired printing density. Reference numeral 214 denotes the binary circuit for converting the multivalued image data output from the γ table 213 into binary image data on the basis of the control signals MIXDATA, NEGA and PHOTO which are output from the decoder 208. That is, the output of the binary data is controlled so that printing is made when the signal MIXDATA about bit 7 of the data X is "0", and printing is not made when bit 7 is "1". The output is also controlled so that edge enhancement is made when the signal PHOTO about bit 3 of the data X is "0", and smoothing is made when bit 3 is "1". Reference numeral 215 denotes the black character processing circuit b for performing black character processing of the image data output from the binary circuit 214 on the basis of the control signal KB from the decoder 208, Namely, if the signal KB is "1", black character processing is performed so that, for example, YMC data is set to "0", and K data only is set to "1". Reference numeral 216 denotes a printing head for printing the image data output from the black character processing circuit 215 on recording paper by ink jets of the four colors Y, M, C and Bk. The operation timing of the printing head 216 synchronizes with the above signals BVE and VE so that the image is printed in band units. Since the construction and principle of printing by the ink jet process are generally known, they are not described below. For example, when a driving signal is applied to a heater disposed on a sheet or a liquid passage which holds an ink so as to abruptly increase the temperature thereof to a temperature higher the boiling point of the ink in accordance with printing information, bubbles showing one-to-one correspondence with the driving signal are formed on the thermal working surface of the printing head. The ink is discharged to the recording paper through a discharge opening due to the growth and shrinkage of the bubbles to print an image on the recording paper. Reference numeral 218 denotes a communication control section for communicating various commands between the scanner printer 101 and an external unit such as the image processing unit 109, and reference numeral 220 denotes a controller for controlling the operations of the scanner and the printer in accordance with the instructions given from the communication control section 218 or a console panel (not shown) of the body. In this embodiment, during memory composition, an image is read by the scanner printer for each band, as shown in Fig. 3, each time the image data is developed for each band, as described below. The image processing unit 109 is described below. Fig. 6 is a drawing showing the appearance of the image processing unit 109. In Fig. 6, reference numerals 601 and 602 denote connectors to which the cables 107 and 110 shown in Fig. 1 are respectively connected so that the image processing unit 109 is connected to the scanner printer 101 and the memory unit 102. Reference numeral 603 denotes a connector to which the cable 111 shown in Fig. 1 is connected so that the image processing unit 109 is connected to the host computer 103. In this embodiment, the connector 603 includes the following three types of connectors 603A, 603B and 603C: serial I/F connector parallel I/F connector LAN connector Reference numeral 610 denotes a connector for an external HDD (Hard Disk Drive). Although the external HDD is not necessarily required, the HDD is used for increasing font data or the like. Reference numeral 604 denotes an operation section comprising keys for setting the state of the image processing unit 109, and a display LCD panel or LED. Fig. 7 is a block diagram showing an example of the configuration of the image processing unit 109. The image processing unit 109 is roughly divided into the four sections including a PDL development section 701, a scanner printer I/F section 702, an internal HDD 703 and the operation section 604. The internal HDD 703 stores kanji font data and the like therein, and is unnecessary when only ROM 712 and DRAM 713 of the PDL development section are sufficient for a case where no kanji is output. The operation section 604 comprises an output LCD 808 and LED 801 to 807, and input switches 809 to 813, as shown by an example of the configuration in Fig. 8. The LCD 808 indicates the state of the operation such as PDL development or the like by a message comprising an alphanumeric string. The composition LED 801 and 802 are lit in the operation modes of white composition and black composition, respectively. The ready LED 803 is lit when the image processing unit 109 can receive the PDL data from the host computer. The data LED 804 is turned on and off when the image processing unit 109 performs data processing such as PDL development. The error LED 805 is turned on and off when the image processing unit 109 causes error of some kind. The on-line LED 806 is lit when the image processing unit 109 is in the on-line state. The hard disk LED 807 is lit when the internal HDD 704 accesses. The display configuration is not limited to the above, and CRT or liquid crystal display or sound display may be used so far as the user can recognize the display. The composition switch 809 switches the composition modes. The on-line switch 810 switches the on-line and off-line states. The menu switch 813 switches the mode to the menu setting mode in the off-line state, and has the function to switch menu items in the menu setting mode. The enter switch 812 has the function to select one of the menu items in the menu setting mode. The exit switch 811 is used for returning to a menu hierarchy 1 stage lower in the menu setting mode. In the operation section, the composition LED 801 and 802, and the composition switch 809 are controlled by the CPU 730 of the scanner printer I/F section 702 through the communication control section 735, the other LED 803 to 807, and switches 810 to 813 being controlled by the CPU 710 of the PDL development section 701. The internal block of the PDL development section 701 is described below. In Fig. 7, reference numeral 710 denotes the CPU for controlling the entire PDL development section 701 through the CPU bus 711 on the basis of the program stored in the ROM 712. The CPU 710 performs high-load processing such as PDL image development, and thus comprises a CPU such as a RISC or the like which exhibits a high processing speed. Reference numerals 714, 715 and 716 denote serial I/F, parallel I/F and LAN controller circuits, respectively, which receive PDL data from the host computer 103 through connectors 601A, 601B and 601C, respectively. The thus-received PDL data is stored in a region of a DRAM 713 through the CPU bus 711. The CPU 710 develops raster image data from the PDL data stored in the region of the DRAM 713 by using the font data and so on stored in the ROM 712, the internal HDD 703 and the external HDD 120, and stores the developed data in a specified region of the DRAM 713. The image development is performed in units of raster images corresponding to a plurality of bands into which one page is divided. This is matched to the output characteristics of the above scanner printer 101. Namely, in this embodiment, although the scanner printer 101 cannot be stopped in the course of printing of one band, it can be stopped between the respective bands. If the image development is made in the band units, therefore, the raster image storage region of the DRAM 713 need not have a storage capacity for one page, and a minimum storage capacity for one band is sufficient. When the band image development is completed, the CPU 710 sends the raster image data stored in the DRAM 713 to the scanner printer I/F section through the video data I/F 719. When the data is completely sent, the CPU 710 reads again the PDL data on the DRAM 713, develops the raster image data of the next band, stores the developed data in the DRAM 713, and sends the data to the scanner printer I/F 702. The above operation is repeated for the all bands of one page to form a raster image for one page. The CPU 710 also controls display and switch input of the operation section 604 through the operation section I/F 717, and communicates with the scanner printer I/F section by using the serial communication circuit 718. The internal block of the scanner printer I/F section is described below. The image signal described below comprises image data with a 8-bit width which is transmitted in the order of RGB in time series in the same manner as that shown in Fig. 4(c), the synchronous clock VCLK, the line synchronous signal VE and the band synchronous signal BVE. The CPU 730 controls the entire scanner printer I/F section 702 through the CPU bus 713 on the basis of the program stored in the ROM 732. The CPU 730 controls the operation of the scanner printer 101 and the memory unit 102 and sets each of image processing circuits, and thus need not have a high processing speed, apart from the CPU 710 of the PDL development section 701. The RAM 733 is used for working. The CPU 730 also controls output of the operation section and processes the input from the switches. The color tints of the raster image data for one band sent from the PDL development section are first adjusted by the image processing section 737. This adjustment is performed by 3 x 3 matrix calculation for each 8-bit image data for one pixel RGB and γ-conversion using LUT (Look-Up Table) therefor. The next black character processing section 738 is the same as the black character processing circuit a 205 (Fig. 2) in the scanner printer 101. Namely, the black character processing section 738 checks a target pixel of the image data RGB and pixels in the vicinity thereof, and when a black edge portion is detected, bit 0 of the data X shown in Fig. 5 is set to 0. In the black character processing circuit b 215 (Fig. 2) of the scanner printer 101, therefore, data of chromatic colors C, M and Y are set to "0", and the residual K data alone is set to "1". As a result, an ink of a single black color is discharged from the head 216, thereby forming a black character with a clear outline. The output from the black character processing section 738 is stored in a FIFO memory 739 which is controlled by a timing adjustment circuit 741 for adjusting timing with the scanner printer 101. The image signal output from the FIFO memory 739 is input to a color decision section 740 which will be in detail below. The color decision section 740 makes a decision for each pixel as to whether or not the image color is the same as that previously set, and then outputs the 1-bit decision signal. The image signal output from the color decision section 740 is input to the scanner printer 101 through a selector 744. On the other hand, the image signal obtained by scanning the original placed on the original plate of the scanner printer 101 is subjected to masking operation (3 x 3 matrix calculation of RGB data) in the image processing section 742, and input to a selector 743. The selector 743 first selects one of the original image of the scanner printer 101 and the output image of the memory unit 102, and the selector 744 selects one of the image selected by the selector 743 and the output image of the color decision section 740. Although the selector 743 is controlled in pages by the CPU 730, the selector 744 is controlled in pixels by the decision signal output from the color decision section 740. When no PDL image is output, the selectors 744 and 743 are set by the CPU 730 so that the image output from the memory unit 102 is sent to the scanner printer 101. The communication control section 735 controls communication between the three units (the scanner printer 101, the image processing unit 109, and the memory unit 102) which are connected in the form of a cascade, and has the internal configuration shown in Fig. 11. A serial communication controller for the scanner printer 101 and a serial communication controller 102 for the memory unit 102 are connected to the CPU bus 731. The communication signal of each of the serial communication controllers 1101 and 1102 includes the input signal and output signal, the output signal being connected to the scanner printer 101 or the memory unit 102 through the selector 1103 or 1104. Each of the selectors 1103 and 1104 is switched by the CPU 730. The communication signal from the scanner printer 101 is sent to the side of the memory unit 102 by switching the selector 1104 to the A input side. The communication signal output from the scanner printer 101 includes a standby signal. Before the selectors 1103 and 1104 are switched to the B input side, the CPU 730 decides through the serial communication controller 1101 whether or not the standby signal from the scanner printer 101 is active. If the standby signal is active, the CPU 730 waits until the standby signal becomes inactive. This processing can bring the image processing unit into the standby state, for example, in the local copy state of the scanner printer 101, by outputting the standby signal. When the selectors 1103 and 1104 are switched to the B input side, the CPU 730 sends the standby signal to the memory unit 102 through the serial communication controller 1102 so as to bring the memory unit 102 into the standby state. The above-described control by the communication control section 736 permits communication between the three units connected in the form of a cascade as shown in Fig. 1. The handshaking in a series of operations of the PDL development section and the scanner printer I/F section is performed by communication between the CPU 710 and the CPU 730 using the serial communications 718 and 735 on the basis of a predetermined protocol. Fig. 9(A) shows an example of the configuration of a circuit of the color decision section 740. The input image signal is latched by flip flops 901 to 904 and 904' using the image clock signal VCLK, and is input to window comparators WCOM8 905 to 907 in the course of latching. Each of the window comparators WCOM8 comprises a circuit having three input terminals (L, D and H) with 8-bit width, and 1-bit output which is made the High level only when L ≤ D and D ≤ H. Fig. 9(C) shows the internal configuration of the window comparators WCOM8. The signals each shown by an ellipse in the drawing and respectively input to the input terminal L and H of each of the window comparators WCOM8 905 to 907 are the signals output from registers and are output signals of the latch (not shown) mapped in the memory space of the CPU 730. The CPU 730 can set the register values by writing values in the memory space. The window comparators WCOM8 905 to 907 compare the image signals and the values of the registers 914 to 919 and output the results of comparison to an AND gate 908. The results are then input to a flip flop 913 through gates 909 to 912 and synchronized with the clock signal VCLK1 to output a decision signal for one pixel. The clock signal VCLK1 is a clock signal with a period of one pixel which is formed from the signal VE and the signal VCLK by a circuit having the configuration shown in Fig. 9(B). Fig. 9(D) shows the timing of the clock signal. The output decision signal can be controlled by combination of the set values of the gates 909 to 912 and the set values of the registers 920 to 922 so that the decision signals shown in Fig. 10 are output from the circuit of the color decision section shown in Fig. 9(A). Fig. 10 is a table showing combinations of data RL, RH, GL, GH, BL and BH which are respectively set in the registers 914 to 919, the values respectively set in the registers KE0, KE1 and KEBASE, and the output decision signals. In this embodiment, since the input image signal is output in the order of color components, as shown in Fig. 9(D), the flip flops 902 to 904 are provided for latching the image signal for each color component. Namely, the RGB data of the input image signal is compared with the data RL, RH, GL, GH, BL and BH of the registers 914, 915, 916, 917, 918 and 919, and a decision is made for determining the level of the decision signal as to whether or not the data R, G and B are between the data RL and RH, the data GL and GH, and the data BL and BH, respectively, or whether or not one of the data R, G and B is between the data RL and RH, the data GL and GH or the data BL and BH. A decision is made as to whether the value set in the register KEBASE 920 is controlled to be "1" or "0", so that a decision can be made on the basis of the decision result whether or not the output decision signal is made the High level. In addition, the output decision signal can be forced to be set to the High level or Low level by controlling the values set in the registers KE0 921 and KE1 922. Fig. 9D shows the timing chart of each of the sections of the circuit of the color decision section 740. The image composition characteristic of the present invention is described below. In this embodiment, the image composition includes two types of compositions, which are referred to as "white composition" and "black composition" hereinafter. In the white composition, a white portion of the image obtained by developing the PDL data sent to the image processing unit 109 from the host computer 103 is replaced by the original image (scanner image) placed on the original plate of the scanner printer 101. Similarly, in the black composition, a black portion is replaced by the scanner image. This state is shown in Fig. 12. The composition mode can be set by the operation section 604, and the no composition mode is automatically set immediately after the power source is turned on. In the state where the no composition mode is set, when the user pushes once the composition switch 809 of the operation section 604, the white composition mode is set. In the state where the white composition mode is set, when the user pushes once the composition switch 809, the black composition mode is set. In the black composition mode, when the user pushes the composition switch 809, the black composition mode is returned to the no composition mode. These composition modes are displayed by the LED 801 and 802 shown in Fig. 8, as shown in Fig. 13. The composition processing is performed by the scanner printer I/F section 702 of the image processing unit 109. The CPU 730 monitors the composition switch 809 of the operation section 604, controls the change of the composition modes and displays the composition mode on the LED 801 and 802. In each of the composition modes, the registers 914 to 922 of the color decision section 740 are set as shown in Fig. 14. The selector 744 shown in Fig. 7 is controlled by the CPU 730 so as to select the image signal output from the color decision section 740, i.e, the image signal output from the FIFO 739 shown in Fig. 7, when the output decision signal of the color decision section 740 is the High level, and the selection 743 is controlled by the CPU 730 so as to select the output of the image processing 742 at the time of printing out. The CPU 730 also outputs the control signal for operating the scanner and the printer of the scanner printer 101 through the communication control section 735 when the white composition mode or the black composition mode is set, and controls the scanner printer 101 through the communication control section 736 so as to actuate only the printer of the scanner printer 101 when the no composition mode is set. When data for one band is completely developed on the DRAM 713, the CPU 710 of the PDL development section 701 informs the CPU 730 of the scanner printer I/F section 702 of the completion of development for one band through the serial communication sections 718 and 735. The CPU 710 checks through the serial communication sections 718 and 735 whether or not the scanner printer I/F section 702 can receive the image data for one band. If the image data can be received, the image data for one band is successively transmitted to the scanner printer I/F 702 from the DRAM 713 through the video data I/F 719. In the white composition or black composition mode, when the PDL development section 701 informs the CPU 730 of the completion of development for one band, the CPU 730 starts the operation of the scanner of the scanner printer 101 through the communication control section 736. When the scanner of the scanner printer 101 then starts to scan data for one band, the CPU 730 informs the PDL development section 701 through the serial communication 735 that the image for one band can be received. The PDL developed image and the scanner original image are switched in pixel units by the selector 744 so that, for example, the white composition or black composition image shown in Fig. 12 can be printed out. When the image for one band is completely printed out, the CPU 730 informs the PDL development section 710 through the serial communication 735 of the completion of printing for one band. When the PDL development section 701 receives the information through the serial communication 718 that the image for one band is completed, development of the PDL image for next one band is started. This operation is repeated to the end of one page. The aforementioned control permits the composition processing, and the same operation of the PDL development section 701 in all composition modes. Second Embodiment An image processing system in accordance with a second embodiment of the present invention is described below. In the second embodiment, substantially the same portions as those in the first embodiment are denoted by the same reference numerals, and are not described below. The configuration of the second embodiment is the same as that of the first embodiment with the exception that when there is a pure white region in a lower portion of the output resultant page during printing out, paper is immediately discharged without scanning of the printing head in the second embodiment. In the first embodiment, the printing head is scanned regardless of the pure white portion. Fig. 15 shows a flowchart for processing of the CPU 710 in the second embodiment. This is different from the first embodiment in that Steps S2, S3, S4, S6 and S7 are present. The PDL data from the host computer 103 is received and stored in the DRAM 713 in Step S1. The CPU 710 then communicates with the scanner printer I/F section 702 and checks whether or not the composition mode is the white composition mode in Step S2. If the mode is the white composition mode, "1" is substituted in the WC flag in Step S4, and if the mode is not the white composition mode, "0" is substituted in the WC flag in Step S3. A decision is made in Step S5 whether or not the entire one page is completely output. If output is completed, paper is discharged in Step S10, and if output is not completed, the flow moves to Step S6 in which the WC flag is checked. If the WC flag is "1", the flow moves to Step S8, and if the WC flag is not "1", the flow moves to Step S7. A decision is made in Step S7 as to whether or not all portions of the PDL image data after a band to be printed out is pure white. If all portions are white, the paper is discharged in Step S10, and if all portions are not white, the flow returns to Step S8. In Step S8, the PDL data is translated, and the image for one band to be printed out is developed. The developed image data is then transmitted to the scanner printer I/F section 702 in Step S9, and the flow returns to Step S5. The scanner printer I/F section 702 sends the image data sent from the PDL development section 701 to the scanner printer 101 and prints the data thereby. In the second embodiment, the above processing prevents scanning of the printing head when the latter half of the page to be printed is pure white, thereby decreasing the time of printing out. In the white composition mode, since the original image of the scanner printer 101 must be incorporated into a white region of the PDL image, the scanning of the printing head is repeated to the end of one page. In the black composition mode, a black portion of the PDL is simply replaced by the original image, and a white portion thereof remains white in the final resultant image, thereby cancelling useless scanning of the printing head. Another possible method for further decreasing the printing time is to cancel scanning of the printing head not only in a lower portion of a page but also in an upper portion and intermediate bands so as to carry the paper. The present invention may be applied to a system comprising a plurality of devices, and an apparatus comprising a single device. The present invention can of course be applied to the case where the invention can be achieved by supplying a program to a system or an apparatus. Although each of the embodiments of the present invention uses as an optical-electrical conversion device an original reading device, a device such as a still video, a video camera or the like may be used. In this case, a still video or a video camera may repeatedly be operated in accordance with the operation of the PDL development section 701 serving as development means. As described above, in an image forming system having a scanner and the function to print out, for example, a PDL developed image in accordance with the embodiments of the present invention, the image read by the scanner can be fitted into, for example, the white or black region of the PDL developed image, by the simple operation of pushing one switch of the operation section. The method in accordance with the embodiments of the present invention has the advantages that it takes less time to transfer the scanner original image to the host computer and to process the image by the host computer using an image edit application software, and that the host computer need not have a large-capacity memory space for raster image data of the scanner original image, as compared with a method in which the scanner original image is stored in the host computer, and the same composite image is formed by an image edit application software on the host computer and then simultaneously printed out.

Claims: An image processing method for composing an output image signal on the basis of the raster image signal for one image plane which is developed from a page description language, and an image signal which is generated by an optical-electrical conversion device (201) comprising; developing by developing means (109) the page description language into raster image data in units of predetermined regions which correspond to divided areas of one page; outputting the image signal of a region corresponding to said predetermined region from said optical-electrical conversion device; and repeatedly operating said development means while changing the predetermined region to be developed by said development means so as to compose the said output image signal on the basis of the raster image signal for one image plane and the image signal for one image plane which is generated by said optical-electrical conversion device. A method according to claim 1 wherein said optical-electrical conversion device is an image reader. A method according to claim 1 or claim 2, and including forming an image from said output image signal. A method according to claim 3, wherein said output image is formed by an ink jet printer. A method according to claim 4, wherein said ink jet printer employs thermal energy for discharging ink. A method according to claim 4 wherein the optical-electrical conversion and the printer are a single scanner/printer unit (101). A method according to any preceding claim, and further comprising: storing partial image data of a page of developed image plane, setting a process for composing the output so that stored partial image data read from said storage means and the original image data read by said conversion device is switched in accordance with the result of said setting step. A method according to claim 7, wherein the image data output from said optical electrical conversion means in place of the stored partial image data in accordance with the specified value of the stored partial image data. A method according to claim 7 or claim 8 wherein the setting of the process is carried out manually. A method according to claim 7, wherein the image forming means form the output image on paper, and wherein said development means has the function of deciding by translating the page describing language as to whether or not whole pixels in a portion of one page of the image plane are white, and said image forming means are controlled so if the development means decides that a lower portion of the image is white, paper is discharged without additional scanning of the printing head. An image processing apparatus for composing an output image signal on the basis of the raster image signal for one image plane which is developed from a page description language, and an image signal which is generated by an optical-electrical conversion device (201) comprising; developing means (109) for developing the page description language into raster image data in units of predetermined regions which correspond to divided areas of one page; means for outputting the image signal of a region corresponding to said predetermined region from said optical-electrical conversion device; and means for repeatedly operating said development means while changing the predetermined region to be developed by said development means so as to compose the said output image signal on the basis of the raster image signal for one image plane and the image signal for one image plane which is generated by said optical-electrical conversion device. Apparatus according to claim 11 wherein said optical-electrical conversion device is an image reader. Apparatus according to claim 11 or claim 12, and including means for forming an image from said output image signal. Apparatus according to claim 13, wherein said means for forming an image is an ink jet printer. Apparatus according to claim 14, wherein said ink jet printer employs thermal energy for discharging ink. Apparatus according to claim 14 or claim 15 wherein the optical-electrical conversion and the printer are a single scanner/printer unit (101). Apparatus according to any one of claims 11 to 16, and further comprising: means for storing partial image data of a page of developed image plane, means for setting a process for composing the output so that stored partial image data read from said storage means and the original image data read by said conversion device is switched in accordance with the result of said setting step. Apparatus according to claim 17, wherein the image data output from said optical electrical conversion means in place of the stored partial image data is in accordance with the specified value of the stored partial image data. Apparatus according to claim 17 or claim 18 wherein the setting of the process is carried out manually. Apparatus according to claim 17, wherein the image forming means form the output image on paper, and wherein said development means has the function of deciding by translating the page describing language as to whether or not whole pixels in a portion of one page of the image plane are white, and said image forming means are controlled so if the development means decides that a lower portion of the image is white, paper is discharged without additional scanning of the printing head.

Inventors: ABIKO OSAMU, NEGISHI AKIRA, ABIKO, OSAMU, NEGISHI, AKIRA, ABIKO, OSAMU, C/O CANON KABUSHIKI KAISHA, NEGISHI, AKIRA, C/O CANON KABUSHIKI KAISHA
Applicants: CANON KK, CANON KABUSHIKI KAISHA
Application year: 1993
Main classification: H04N1
IPC codes: H04N1, G06T3, G06T11, B41J5