Data processing apparatus

Abstract: A data processing apparatus includes an image data generating section for generating image data, and an interpolation image data forming section for forming and outputting interpolation image data based on the image data generated by the image data generating section. In this apparatus, the interpolation image data forming section includes a memory for storing the image data generated by the image data generating section.

Description: BACKGROUND OF THE INVENTION : (1) Field of the Invention The present invention relates to a data processing apparatus for processing input data and, more particularly, to a data processing apparatus suitably used for a recording apparatus and the like. (2) Related Background Art In recent years, laser beam printers have been widely used as output apparatuses of computers. Especially, a laser beam printer having a low density (e.g., 300 dpi) has been increasingly popular since it is inexpensive and compact. A laser beam printer for performing a printing operation at a printing density of, e.g., 300 dpi comprises a printer engine 51 for actually performing a printing operation on a photosensitive drum on the basis of dot data, and a printer controller 52, connected to the printer engine 51, for receiving code data supplied from an external host computer 54, generating page information consisting of dot data on the basis of the input code data, and for sequentially transmitting the dot data to the printer engine 51, as shown in Fig. 1. The host computer 54 is loaded with a program from a floppy disk 55 having an application software program, invokes the application software program, and serves as, e.g., a wordprocessor. A large number of application software programs have been developed and commercially available. Users create and preserve many data using these application software programs. On the other hand, the printing density of the printer engine is increasing for the purpose of higher-quality printing. In recent years, printer engines having a printing density of 600 dpi or more have been introduced. Printer controllers connected to these high-density printer engines (600 dpi) must have a data memory having a capacity corresponding to the printing density (600 dpi) (e.g., for 600 dpi, a memory four times that for 300 dpi is required). In addition, application software programs must be developed exclusively for high-density printers, and the above-mentioned many application software programs cannot be used in the high-density printers as they are. For example, Figs. 2, 45, and 46 show dot configurations of letters "a", "G", and "t" at a printing density of 300 dpi. When these characters with the above dot configurations are printed at a printing density of 600 dpi, the characters are reduced in size to 1/2 in both the vertical and horizontal directions. As one data interpolation method, the dot configuration is simply doubled in both the vertical and horizontal directions, so that the dot configuration at 300 dpi is applied to 600 dpi. More specifically, when the dot configurations are converted as shown in Figs. 3, 47, and 48, the characters can be prevented from being reduced in size. However, indentations at the edges of the characters formed at 300 dpi cannot be improved at 600 dpi. Thus, a fine character corresponding to the performance of the 600-dpi printer engine cannot be obtained. Although conventional printers capable of obtaining outputs with different resolutions (U.S.P. Nos. 4,528,561 and 4,393,387) have been proposed, they are required to be further improved. SUMMARY OF THE INVENTION International Patent Specification No. WO 86/04703 discloses a printing system which processes input image data in such a way as to take advantage of recording apparatus having a recording density which is greater than the density of the input image data by using a matrix of 8 x 8 cells. The invention is defined in Claim 1. How the invention may be carried out will now be described by way of example only and with reference to the accompanying drawings in which: BRIEF DESCRIPTION OF THE DRAWINGS : Fig. 1 is a diagram for explaining a laser beam printer system; Fig. 2 shows a low-density printing sample; Fig. 3 shows a printing sample of density-converted dot information; Fig. 4A is a block diagram showing a data conversion circuit; Fig. 4B is a timing chart of the circuit shown in Fig. 4A; Fig. 5 is a block diagram showing a compare & discriminate circuit 10 of the circuit of Figure 4a; Fig. 6 shows a logical expression of a logic circuit 19; Fig. 7 is a circuit diagram showing the logic circuit 19; Fig. 8 shows a printing sample of the first circuit of Figure 4a; Fig. 9 shows a logical expression according to a second circuit of Figure 10 and 11; Figs. 10 and 11 are circuit diagrams showing a logic circuit 19 of the logical expression of Figure 9; Fig. 12 shows a printing sample of the second circuit; Fig. 13 is a block diagram showing a third compare & discriminate circuit; Fig. 14 shows a logical expression of the third circuit; Fig. 15 shows a printing sample of the third circuit; Fig. 16 is a block diagram of another oblique line processing circuit; Fig. 17 is a circuit diagram of logical gates; Figs. 18A to 18E are views for explaining conditions of oblique line processing; Fig. 19 is a circuit diagram of a laser drive circuit; Fig. 20 is a graph for explaining an output light intensity distribution; Figs. 21A and 21B and Fig. 22 show printing samples of the fourth circuit of Figure 16; Fig. 23 is a block diagram of an oblique line processing circuit according to a fifth circuit; Fig. 24 is a circuit diagram of a logic gate circuit; Fig. 25 is a circuit diagram of a laser drive circuit; Figs. 26A and 26B show a printing sample of the fifth circuit; Fig. 27 is a block diagram of an embodiment of a printing system in accordance with the present invention; Figs. 28 to 30 are explanatory views when multi-value image data is expressed by binary data. In order that the present invention may be more readily understood reference will now be made to the accompanying drawings. Figure 4A shows a first circuit. The circuit shown in Figure 4A is a data conversion circuit inserted between the printer controller 52 and the printer engine 51 shown in Fig. 1, and is arranged as a part of the printer engine 51 (or may be arranged as a part of the printer controller). The data conversion circuit of Fig. 4A is constituted under conditions that the printer controller outputs an image signal (dot data) for 300 dpi, and the printer engine has a printing density of 600 dpi. Note that the printer engine comprises a laser driver for modulating a laser beam on the basis of an image signal (dot data), a scanner for scanning the beam, a photosensitive drum, and the like, as is well known. The printer controller 52 supplies a 300-dpi image signal VDO and an image clock signal VCLK to the printer engine 51 in accordance with a horizontal sync signal HSYNC output from a horizontal sync signal generation circuit 4. Note that the horizontal sync signal generation circuit 4 outputs the horizontal sync signal on the basis of a known beam detect signal (to be referred to as a BD signal hereinafter) as a sync signal in a main scan direction. The printer engine causes the data conversion circuit to form a 600-dpi laser drive signal LD on the basis of the 300-dpi image signal VDO and the image clock signal VCLK, and performs printing. The data conversion circuit will be described in more detail below with reference to Fig. 4A. A frequency multiply circuit 1 multiplies the frequency of the image clock signal VCLK to obtain a clock signal VCLK′ having a doubled frequency. An oscillation circuit 5 generates a clock signal LCLK having a frequency four times that of the image clock signal VCLK. Select circuits a (11), b (12), and c (13) select the clock signal VCLK′ or LCLK and supply the selected clock signal as write or read clock signal for lines memories a to c . A demultiplexer a (2) has a function of selectively supplying the image signal VDO to the line memories a (6), b (7), and c (8). The horizontal sync signal generation circuit 4 counts the beam detect signal (BD signal), and outputs one horizontal sync signal HSYNC every two BD signals. The image signal VDO is written in one of the line memories a to c in response to the clock signal VCLK′ by the demultiplexer a (2), the select circuits a (11), b (12), and c (13), and a device control circuit 3 for controlling these circuits on the basis of the BD signal in units of lines, and image signals are read out from the two remaining line memories on the basis of the clock signal LCLK. This operation is performed in turn. That is, when image signal write access of the line memory a (6) is performed, image signal read access of the line memories b (7) and c (8) is performed. At the next timing, image signal write access of the line memory b and image signal read access of the line memories c and a is performed. At the next timing, image signal write access of the line memory c and image signal read access of the line memories a and b is performed. Thus, such control operations are repeated. Note that each of the line memories a , b , and c has a memory capacity twice that for 300-dpi data in the main scan direction, i.e., a memory capacity of 600-dpi data in the main scan direction. Image signals read out from the line memories a , b , and c are respectively represented by D1, D2, and D3. Data selectors a (14) and b (15) select two signals, which are actually being subjected to read access, of the readout signals D1, D2, and D3 of the line memories a to c . For example, when the line memory a is subjected to image signal write access and the line memories b and c are subjected to image signal read access, the data selector a selects the readout data D2 of the line memory b and outputs a signal DS1, and the data selector b selects the readout data D3 of the line memory c and outputs a signal DS2. A compare & discriminate circuit 10 compares and discriminates these data, and outputs an output signal Q according to the comparison and discrimination results. A line memory d (9) stores the output signal Q, and has the same memory capacity as those of the line memories a to c . The line memory d uses the clock signal LCLK as write and read clock signals. Image signal read/write access control of the line memories a to c and the line memory d and selection control of the data selectors a and b are executed by the device control circuit 3. A data selector c (16) selects one of the signals D1, D2, and D3 read out from the line memories a to c , and a signal D4 read out from the line memory d , and outputs the selected signal as the laser drive signal LD. Selection control of the selector c is executed by the device control circuit 3. The compare & discriminate circuit 10 has an arrangement as shown in Fig. 5. More specifically, the input signals DS1 and DS2 are respectively input to 7-bit shift registers a (17) and b (18). Shift outputs A, B, C, D, E, F, and G, and a , b , c , d , e , f , and g of the shift registers are input to a logic circuit 19. The logic circuit 19 has a circuit arrangement shown in Fig. 7, and sets an output signal Q in units of pixels in accordance with the logical expression shown in Fig. 6. The circuit shown in Fig. 7 includes OR gates 20 to 23 and AND gates 24 to 30. That is, the circuit shown in Fig. 7 execute the Q output logic shown in Fig. 6. Note that in the logical expressions in Fig. 6 and subsequent figures, symbol "*" represents an AND logic, and symbol "+" represents an OR logic. Fig. 8 shows a dot image formed on the basis of the laser drive signal obtained by the circuit shown in Fig. 7 and the logical expression shown in Fig. 6. As can be understood from Fig. 8, inclined portions of letter "a" are improved as compared to that shown in Fig. 3. Fig. 4B shows a timing chart of the circuit shown in Fig. 4A. In the circuit shown in Fig. 4A, in the main scan direction, the frequency of the write clock of each line memory is set to be twice that of a transfer clock of the image signal to increase a data volume of an image signal, thus forming a 600-dpi image signal. In a sub-scan direction, the compare & discriminate circuit 10 performs interpolation in the sub-scan direction to double the number of lines, thus forming a 600-dpi image signal. Fig. 10 shows a logic circuit 19 having a circuit arrangement and logic different from those in the first circuit of Figure 4A. The circuit shown in Fig. 10 includes OR gates 31 to 35 and AND gates 36 to 46. The Q output logic of the circuit shown in Fig. 10 is as shown in Fig. 9. A dot image formed on the basis of a laser drive signal LD in this case is as shown in Fig. 12. As can be seen from Fig. 12, inclined portions of letter "a" are considerably improved. Fig. 11 shows a circuit arrangement having the same function as in Fig. 10 and constituted by a memory PROM 47. Input signals A to G and a to g are input to input terminals A 0 to A 13 as address signals of the PROM 47, and an output Q is obtained from a data D 0 terminal. Data according to the logical expression shown in Fig. 9 can be written in advance in the PROM 47. Fig. 13 shows a modification of the circuit arrangement of the compare & discriminate circuit 10 in the first circuit of Figure 4A. Input signals DS1 and DS2 are respectively input to 15-bit shift registers a (17') and b (18'). Shift outputs A to O and a to o of the 15-bit shift registers a and b are input to a logic circuit 19'. The logic circuit 19' outputs a Q signal according to a logical expression shown in Fig. 14. Since a circuit for executing the logical expression shown in Fig. 14 can be configured in the same manner as in Figs. 10 and 11, a description of its arrangement will be omitted. A dot image formed on the basis of a laser drive signal LD obtained by the logical expression is as shown in Fig. 15. In the above circuits, the combination of the printer controller having a printing density of 300 dpi and the printer engine having a printing density of 600 dpi has been exemplified. However, the combination may be applied to a combination of a printer controller having a printing density of 400 dpi and a printer engine having a printing density of 800 dpi. The printer engine is not limited to a laser beam printer, but may be an LED printer, an ink-jet printer, or the like. A fourth circuit will be described below wherein the laser drive signal LD output from the circuit shown in Fig. 4A is input as an image signal 2, and the image signal 2 is processed by an oblique line processing circuit (to be described later) to obtain a higher-quality image output. According to the fourth circuit, oblique line portions of an image can be especially improved. The fourth circuit provides a method wherein when pixel data around a pixel under consideration satisfy a predetermined condition according to an algorithm (to be described later), the pixel under consideration is interpolated as multi-value dot data. In the fourth embodiment, a case will be described below wherein brightness modulation is performed on the basis of the multi-value dot data to interpolate the pixel under consideration. Fig. 16 shows a block diagram of an oblique line processing circuit. The data selector c (16) shown in Fig. 4A outputs a 1-line image signal 2 in the main scan direction in synchronism with the BD signal, and outputs the next 1-line image signal in synchronism with the next BD signal. The 1-line image signals sequentially input every main scan line are sequentially written in one of line memories e to h which is designated by a demultiplexer b (140) in accordance with a value of a line counter 150 which performs a count operation in response to the BD signals. Read access of image signals for three lines is performed from the line memories which are not subjected to write access simultaneously with the write access. The readout image data for three lines are input to shift registers 146 to 148 in a FIFO manner by a data selector d (145) which is controlled by the line counter 150. Logical gates 149 make a predetermined decision for image data of eight pixels around a pixel under consideration 100 in accordance with an algorithm (to be described later) on the basis of the outputs from the shift registers 146 to 148, and output a laser drive signal LD (151) for controlling the output of a semiconductor laser 154 and a brightness modulation signal LM (152) to a laser drive circuit 153. The laser drive signal LD (151) for the pixel under consideration 100 is supplied to the laser drive circuit 153. The laser drive circuit 153 changes the brightness of the laser 154 under the control (to be described later) in accordance with the brightness modulation signal LM (152). Note that the operations of the line memories 141 to 144 and the shift registers 146 to 148 are performed in synchronism with a clock signal LCLK (output from the oscillation circuit 5 shown in Fig. 4A) for controlling a timing in units of pixels. An algorithm for controlling a dot printing density will be described below with reference to Figs. 17 to 18E. Fig. 17 is a circuit diagram of the logical gates 149 shown in Fig. 16, and the same reference numerals in Fig. 17 denote the same parts as in Fig. 16. The circuit shown in Fig. 17 includes AND gates 61 to 65, OR gates 66 and 67, and an inverter 68. As shown in Figs. 17 to 18E, the pixel under consideration 100 is named 2B. Fig. 18A shows printing positions of the shift registers 1A to 3C. A condition for adding a new laser beam with a decreased light amount in the above arrangement and for printing small dots will be described below. Of eight pixels adjacent to the pixel under consideration 2B, when one of four sets each consisting of three pixels, i.e., an upper left pixel 1A, or an upper left pixel 1C, or a lower left pixel 3A, or a lower right pixel 3C of the pixel 2B, and two pixels adjacent thereto serves as an illuminating portion, and the pixel under consideration 2B does not fall within the illuminating portion, a laser beam with a decreased light amount is added to print the pixel under consideration as a small dot. More specifically, such cases are shown in Figs. 18B to 18E. In these cases, the pixel under consideration 2B is printed as a small dot. The conditions described above can be expressed by the following logical expression: 2B ·{(1A·1B·2A) + (1B·1C·2C) + (2A·3A·3B) + (2C·3B·3C)} = 1 Reference symbols denote the pixel under consideration, and surrounding pixels, and when a pixel designated by the symbol is illuminating data, it is set to be "1". Symbol "·" indicates an AND logic, and symbol "+" indicates an OR logic. Fig. 17 shows an arrangement of a logic circuit for performing the above-mentioned decision. The logic circuit makes a predetermined decision. Thereafter, the logic circuit calculates a logical sum of new dot data to be added as described above and the.image signal 2, outputs the logical sum as a laser drive signal LD (151), and also outputs a brightness modulation signal LM (152) in synchronism with the output timing of the added dot data. When the brightness modulation signal LM is effective (when its output is "1"), the laser 154 decreases its light amount and radiates a laser beam with the decreased light amount. Fig. 19 is a circuit diagram of the laser drive circuit 153. In Fig. 19, a switching circuit 155 is constituted by resistors R1 to R6, transistors Tr1 to Tr3, and a diode D1. When the laser drive signal LD (151) is "positive", the laser 154 is turned on; when it is "negative", the laser 154 is turned off. The transistors Tr2 and Tr3 constitute a differential amplifier, and perform current switching. The brightness of the laser is determined by current regulator circuits 156 and 157 connected to the switching circuit 155. When the brightness modulation signal LM (152) is "positive", i.e., when the conditions of Figs. 18B to 18E are satisfied and a new dot is printed with a decreased light amount, the current regulator circuit (high) 156 is not driven but only the current regulator circuit (low) 157 is driven. In a normal printing mode, since the brightness modulation signal LM becomes "negative", the current regulator circuits 156 and 157 are driven, so that a sum of currents from these circuits flows through the semiconductor laser 154, thus turning on the laser 154. An output light intensity distribution corresponds to a Gaussian distribution, as shown in Fig. 20. For example, if an output light intensity is changed from S 1 to S 2 when a visualization threshold level of a photosensitive body irradiated with a laser beam is represented by E T , a beam spot size can be changed from R 1 to R 2 . Fig. 21A shows a state when a dot configuration for a printing density of 300 dpi is printed at a printing density of 600 dpi, and Fig. 21B shows a state when the 300-dpi dot configuration is printed after the processing of the fourth circuit. According to the fourth circuit, data can be printed at a printing density of 600 dpi using a 600-dpi printer using many existing 300-dpi application software programs. In addition, as can be seen from Fig. 21B, indentations of an oblique line can be improved, and a smooth oblique line can be expressed. Fig. 22 shows a printing sample obtained when letter "a" shown in Fig. 2 is subjected to the processing of the fourth circuit. In this circuit, a pixel under consideration is interpolated using two levels of a laser light amount, i.e., a normal power and a decreased power. However, the pixel under consideration may be interpolated using three or more levels. After the above background description there will now be described an embodiment of the present invention in which a low-density dot brightness-modulated by the logical gates 149 shown in Fig. 16 is added to interpolate the pixel under consideration. However, interpolation processing may be performed by adding a pulse-width modulated dot with a small width. Fig. 23 is a block diagram of an oblique line processing circuit. Note that the same reference numerals denote parts having the same functions as in Fig. 16. Fig. 24 shows a detailed arrangement of logical gates 159, i.e., an algorithm for controlling pulse width. The circuit shown in Fig. 24 includes AND gates 71 to 75, OR gates 76 and 77, an inverter 78, and a flip-flop 79. When printing conditions shown in Fig. 18 are satisfied, the logical gates 159 shown in Fig. 24 calculate a logical sum of an image signal 2 and a pulse having a pulse width 1/2 that for printing one dot, and output the logical sum as a laser drive signal LD' (160). In order to obtain the signal having the 1/2 pulse width, a clock signal twice the 600-dpi image clock signal LCLK output from the oscillation circuit 5 shown in Fig. 4A and the D flip-flop 79 are used. Fig. 25 shows a circuit diagram of a laser drive circuit b (158). Note that the same reference numerals denote parts having the same functions as that of the drive circuit shown in Fig. 19. Since the laser drive circuit b (158) shown in Fig. 25 receives no brightness modulation signal LM shown in Fig. 19, and is driven based on the pulse width, a current regulator circuit 161 is arranged. Fig. 26A shows a state when a dot configuration for a printing density of 300 dpi is printed at a printing density of 600 dpi, and Fig. 26B shows a state when the 300-dpi dot configuration is printed after the processing of the fifth circuit of Fig. 23. According to this fifth circuit, a smooth oblique line portion can be obtained, as shown in Fig. 26B, by the laser drive circuit constituted only by the switching circuit and the current regulator circuit. Fig. 27 is a block diagram of a print system according to the present invention. In this embodiment an image signal from a host computer 54 is input to a printer controller 52. In this case, character data is input as code data such as JIS codes, ASCII codes, vector fonts, or the like, and picture image data is input as an ON-OFF binary signal. The input image signal is discriminated to code data (character portion) or bit map data (picture portion) by an image discriminator circuit 56. When the code data is input, the image discriminator circuit 56 refers to a character generator (not shown), and outputs a corresponding bit pattern. The bit pattern or the binary signal is supplied to an image development circuit 57 for developing image data into bit map data. The image signal developed as dot data is then supplied to an interpolate circuit 58. The interpolate circuit 58 selects an optimal interpolation method in accordance with the character or picture portion on the basis of data from the image discriminator circuit 56. The interpolate circuit 58 can use the interpolation method described with regard to Figures 4A or 9 for the character portion, and simply doubles data in both the vertical and horizontal directions for the picture portion. That is, the circuit 58 simply doubles 300-dpi pixels. A laser of a printer engine 51 is driven by a laser drive signal output from the interpolate circuit 58. The interpolation method is changed according to the character or picture portion since character and picture images have different dot distribution characteristics. For example, when all the image signals are interpolated to smooth indentations of a character, the picture portion may suffer from omissions of gradation levels or picture data. The host computer 24 may sometimes supply a multi-value signal for only a picture portion. In this case, a multi-value image signal or a binary image signal is discriminated, and a signal for a character portion is converted from a 300-dpi signal to a 600-dpi image signal using the above-mentioned method. For a picture portion, the multi-value signal may be directly doubled and output as a 600-dpi signal. When a 3-, 4-, or 5-value signal is input, a method as shown in Fig. 28, 29, or 30 may be used. In Figs. 28, 29, and 30, a white portion represents that a laser is OFF, and a hatched portion represents that the laser is ON. Figs. 28, 29, and 30 respectively correspond to 3-, 4-, and 5-value signals. In this manner, multi-value recording can be realized by ON/OFF operations of the laser without controlling a light-emission time or light amount of the laser. For a multi-value signal of 6 or more values, the above-mentioned methods can be combined, so that the light-emission time or light amount of the laser can be easily controlled. In the above embodiment, the combination of the printer controller having a printing density of 300 dpi and the printer engine having a printing density of 600 dpi has been exemplified. However, the present invention may be applied to a combination of a printer controller having a printing density of 400 dpi and a printer engine having a printing density of 800 dpi. The printer engine is not limited to a laser beam printer, but may be an LED printer, an ink-jet printer, or the like.

Claims: A data processing apparatus comprising: means (2) for receiving binary image data of a first pixel density, and conversion means (58) for converting the input binary image data into second binary image data of greater pixel density, characterised in that said conversion means (58) includes a first conversion mode in which said conversion means converts the first density binary image data into second density binary image data with smoothing by forming new binary image data by interpolating pixels into the input binary image data, and a second conversion mode in which said conversion means converts the first density binary image data into the second density image data without smoothing by utilizing repeatedly the input binary image data. Apparatus according to claim 1, further comprising discriminating means (56) for discriminating the nature of the input binary image data, and wherein said conversion means (58) converts the input binary image data using either the first or the second conversion mode under the control of said discriminating means. An apparatus according to claim 2, wherein said discriminating means (56) discriminates whether the input binary image data represents character image data or picture image data, and wherein when said discriminating means discriminates that the input binary image data represents character image data, said conversion means converts the first density image data into second density image data utilising the first conversion mode, and when said discriminating means discriminates that the input binary image data represents a picture image, said conversion means converts the first density image data into second density image data utilising the second conversion mode.

Inventors: ATOBE HIROSHI, ITOH MICHIO, KASHIHARA ATSUSHI, KAWANA TAKASHI, MANO HIROSHI, OHKUBO MASAHARU, OJIMA MASAKI, SAITO TETSUO, SASAME HIROSHI, SETA KAORU, SOYA TAKASHI, UCHIYAMA SEIJI, YAMADA HIROMICHI, YOSHIMOTO TOSHIO, ATOBE, HIROSHI, ITOH, MICHIO, KASHIHARA, ATSUSHI, KAWANA, TAKASHI, MANO, HIROSHI, OHKUBO, MASAHARU, OJIMA, MASAKI, SAITO, TETSUO, SASAME, HIROSHI, SETO, KAORU, SOYA, TAKASHI, UCHIYAMA, SEIJI, YAMADA, HIROMICHI, YOSHIMOTO, TOSHIO, ATOBE, HIROSHI CANON DAIICHI FUJIGAOKARYO, SETA, KAORU
Applicants: CANON KK, CANON KABUSHIKI KAISHA
Application year: 1989
Main classification: B41B19
IPC codes: G06K15, B41B19