Image processing apparatus

Abstract: It is provided an image processing apparatus comprising: reception means for receiving image date sent from a transmission-side apparatus; discrimination means for discriminating whether the image data received by the reception means is a character image or a halftone image; and processing means for performing segmentation processing of the reception data, wherein when the discrimination means discrimitaes that the reception image data is a character image, the processing means performs interpolation processing on the basis of reception image data in a predetermined area to perform segmentation processing of image data of a pixel of interest, so that the apparatus can perform segmentation processing of input data by simple control at high speed and low cost.

Description: BACKGROUND OF THE INVENTION Field of the Invention The present invention relates to an image processing apparatus such as a facsimile apparatus and, more particularly, to an image processing apparatus for performing segmentation processing of input image data, and recording the processed image data with high quality. Conventionally, a technique for performing pixel-density conversion of binary image data received by a facsimile apparatus, and interpolating the image data to perform recording is known. In a conventional technique, however, since data received at, e.g., 7.7 lines/mm (fine mode) is converted to double pixel density of 15.4 lines/mm (super fine mode) without differentiation between a character image and a photographic image, when an image including both a character image and a halftone image is received, the edge of a character portion is blurred, or gradation of the halftone image cannot be satisfactorily reproduced. The term "segmentation processing" covers the procedure where a single pixel or dot is replicated a number of times, and accordingly is differentiated from the process of "smoothing" in which dots may or may not be added or interpolated so as to smooth the final image. When one-line reception data is recorded as a plurality of segmented lines, reception image data transfer clocks corresponding in number to the plurality of lines must be input in order to perform processing of all the segmented lines, resulting in complex control. In this case,since the data transfer speed of the segmented lines is determined by the speed of the reception image data transfer clocks, when the reception image data transfer clocks are output simultaneously with decode processing, the decode processing takes much time, and the clock speed cannot be increased. In a conventional apparatus for performing segmentation processing, reception data is stored in an image buffer in advance, and the reception data is then read out from the image buffer to be subjected to image processing. Since the storage operation of the reception data into the image buffer and an image interpolation processing operation are independently performed, it is difficult to realize a high-speed system. In a conventional apparatus, the image data subjected to segmentation processing is temporarily stored in a line buffer, and is then transferred to a record unit. Therefore, a memory for storing segmented line data is an indispensable component, resulting in increases in cost and size of the apparatus. This problem becomes more serious as the number of segmented lines is increased. Since data must be temporarily stored in the line buffer, it is difficult to realise a high-speed apparatus. The present invention has been made to reduce the conventional drawbacks, and has as a concern to provide a facsimile apparatus which can perform segmentation processing of input data by simple control at high speed and low cost. An embodiment of the present invention provides an image processing apparatus which separates reception image data into image areas, and interpolates a character image to perform interpolation processing, so that the edge of a character portion can be smoothly reproduced, and a half-tone image can also be prevented from being degraded. GB Patent Specification No. GB-A-2,102,240 discloses a screen image recording apparatus in which an image signal input from a scanner and a character signal input from a keyboard are synthesised for output to a recording apparatus. Thus the image signal and the character signals are derived from different sources and can be readily differentiated by the addition of data. Additionally in D1 no consideration is given to the problem of data which is supplied at a resolution lower than the output resolution of the apparatus receiving the data. In accordance with the present invention there is provided image processing apparatus as set out in claim 1. The present invention will be more readily understood from the following detailed description given by way of example and in conjunction with the accompanying drawings, in which: Fig. 1 is a block diagram of a facsimile apparatus according to an embodiment of the present invention; Fig. 2 is a chart showing procedure signals exchanged between facsimile apparatuses at transmission and reception sides; Fig. 3 is a control flow chart executed by a CPU 3 shown in Fig. 1; Fig. 4 is a block diagram showing in detail an image processing unit 1 shown in Fig. 1; Fig. 5 is a view showing a state of segmentation when segmentation processing and interpolation processing are performed, and a reference pixel area when interpolation processing is performed; Figs. 6A and 6B are views showing outputs when the segmentation processing and interpolation processing are performed; Fig. 7 is a timing chart obtained when an image processing block is operated in synchronism with input image transfer clocks; Figs. 8 and 12 are timing charts obtained when the image processing block is operated in response to a start pulse; Fig. 9 is a timing chart obtained when four segmented pixel processing operations of reception image data are performed to record the image data; Fig. 10 is a flow chart showing processing executed when image data is received and recorded; Fig. 11 is a timing chart showing an operation for clearing a memory in response to a buffer clear start pulse; Fig. 13 is a block diagram showing in detail an image processing algorithm unit 19 shown in Fig. 4; and Fig. 14 is a block diagram showing a partial modification of Fig. 4. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the accompanying drawings. Fig. 1 is a block diagram showing a facsimile apparatus according to an embodiment of the present invention. Fig 2 shows blocks used in reception of data directly associated with this embodiment. In Fig. 1, an image processing unit 1 performs segmentation processing of image data (binary data) sent from a facsimile apparatus at the transmission side, and performs interpolation (smoothing) processing of a character image. When a transmission density is designated as 3.85 lines/mm (standard mode) by a procedure signal received from the facsimile apparatus of the transmission side, the image processing unit 1 performs x4 smoothing processing; when the transmission density is designated as 7.7 lines/mm (fine mode), it performs x2 smoothing processing. When data is transmitted from a transmitter apparatus at 15.4 lines/mm (super fine mode), the image processing unit 1 performs neither the segmentation nor smoothing processing. In Fig. 1, the apparatus includes a modem 2 for demodulating data on a line, a CPU 3 for controlling the entire system of this embodiment, a reception data decode unit 4 for decoding reception data sent from the modem 2, a full-multi system record unit 5 such as a thermal head printer or an ink-jet printer for recording an image on the basis of binary data sent from the image processing unit 1, and a facsimile transmitter 7. The record unit 5 receives a latch signal and a strobe signal from the CPU 3. Signals 3-a and 3-b are exchanged between the modem and the CPU. A procedure signal representing a resolution of transmission data sent from the facsimile transmitter is sent from the modem 2 to the CPU 3 as the signal 3-a. Signals 23-g, 21-b, and 23-h are used for transmitting various data from the CPU 3 to the image processing unit 1. A signal 23-g serves as a reference signal used when data for second and subsequent lines are to be segmented, i.e., when the image processing unit 1 segments data for one main scan line into two or four lines. A signal 21-b is used to select one of a plurality of data output from an image processing algorithm unit 19 shown in Fig. 4 (to be described later). Note that the image processing algorithm unit 19 outputs a total of seven data, i.e., four data when one pixel in one line is output as data for four lines, two data when it is output as data for two lines, and one data when no conversion is performed. A buffer clear pulse 23-h is used to clear a RAM 13 used as a plurality of line memories shown in Fig. 4. Serial image data 11-a is obtained by decoding reception data by the reception data decode unit 4, and is input to the image processing unit 1 in synchronism with a transfer clock 23-a. Fig. 2 is a chart for explaining a flow of procedure signals exchanged between facsimile apparatuses at the transmission and reception sides. A block A in Fig. 2 indicates procedure signals for calling the reception side, CED in a block B indicates a procedure signal indicating that a terminal at the reception side is a non-audio terminal, NSF in a block C indicates a procedure signal indicating that an apparatus at the reception side is a non-standard apparatus, CSI indicates a procedure signal for informing, e.g., a telephone number of the reception side to the transmission side, and DIS indicates a procedure signal for informing that the reception side has a CCITT standard function. Of NSS, TSI, and DSC in a block D, NSS indicates a procedure signal for responding to the signal NSF described above, TSI indicates a procedure signal for informing, e.g., a telephone number of the transmission side, and DSC indicates a procedure signal for responding to the signal DIS described above. In this embodiment, the transmission side designates using the signals NSS and DCS whether transmission data is transmitted in a standard, fine, or super fine mode. The reception side selects x4 or x2 pixel-density conversion, or non-conversion in accordance with the designated pixel density. TRAINING in a block E indicates a training signal, and TCF indicates a training check signal. CFR in a block F indicates a procedure signal for informing to the transmission side that a pre-procedure is ended, and transmission of a message can be started. A block G represents image data. A Q signal in a block H is one of signals EOP, EOM, and MPS. When the Q signal is EOP, it is a procedure signal for informing an end of procedure. Thus, a signal MCF (message confirmation signal) in a block I is received, and a line is disconnected in response to a signal DCN in a block J. When the Q signal is EOM (end-of-message signal), it indicates to perform transmission of the next page in a changed mode. In this case, the control returns to the procedure of the signal NSS in the block D after the signal EOM is transmitted. When the Q signal is MPS (multi-page signal), it indicates that transmission the next page is to be performed without changing a mode. In this case, the control returns to the message transmission procedure in the block G. Fig. 3 is a flow chart showing an operation for extracting resolution information of transmission data from the signals NSS and DSC sent from the transmission side, and selecting one of a x2 smoothing mode, a x4 smoothing mode, and a non-smoothing mode on the basis of the extracted information. This flow chart is executed by the CPU 3 in Fig. 1. When one of the three modes is determined by the CPU 3, the selected mode is informed to the image processing unit 1 using the signal 21-b. The image processing unit 1 selects a signal from the image processing algorithm unit 19 (Fig. 4; to be described later) on the basis of the input signal. In Fig. 3, in step S1, it is checked if a call signal from the transmission side is detected. If YES in step S1, the flow advances to step S2, and the signal CED is transmitted. When the signals NSS and DCS are received from the transmission side, the flow advances to step S4, and resolution information declared by the signals NSS and DSC is extracted. As a result, if it is determined that the resolution of 15.4 lines/mm, i.e., the super fine mode is designated, the flow advances to step S6, and smoothing processing is inhibited. If it is determined in step S7 that the resolution of 7.7 lines/mm, i.e., the fine mode is designated, the x2 smoothing processing from 7.7 lines/mm to 15.4 lines/mm is selected in step S8. If it is determined in step S7 that the fine mode is not designated, it is determined that the resolution of 3.85 lines/mm, i.e., the standard mode is designated, and the flow advances to step S9 to select x4 smoothing processing from 3.85 lines/mm to 15.4 lines/mm. The mode selected in step S6, S8, or S9 is sent to the image processing unit 1 using the signal 21-b. In step S10, the signal CFR is transmitted, and in step S11, a message is received. If the signal EOP is received in step S12, the signal MCF is transmitted in step S13. If the signal DCN is received in step S14, the flow advances to step S15. In step S15, a line is disconnected, and processing is ended. If the signal MPS is received in step S16, the flow advances to step S11, and a message of the next page is received. If the signal EOM is received in step S17, the flow returns to step S3, and a mode signal for the next page is received based on the signals NSS and DCS. When these procedure signals include resolution information, the smoothing processing mode is switched by the processing operations in steps S4 to S9 described above. Fig. 4 is a block diagram showing in detail the image processing unit 1. The unit 1 comprises a D-type flip/flop (D F/F) 11 for line-shifting image information to be referred in a sub scan direction so as to perform image processing, a RAM 13 serving as a line memory for storing 6-line information data to be referred, shift register groups 15 and 17 for bit-shifting image information to be referred, the image processing algorithm unit 19 for performing x2 and 4x smoothing processing operations, a multiplexer 21 for selecting image data output from the image processing algorithm unit 19 on the basis of resolution data sent from the CPU 3, and outputting the selected image data, and a control block 23 for outputting a clock signal and a clear signal for the D F/F 11, a write signal and an address signal for the RAM 13, a clock signal, a clear signal, and a data clock for the shift registers 15 and 17, and the like. Interpolation processing (smoothing processing) of a record system in the above arrangement will be described below. In a facsimile transmission/reception operation, when a maximum density of a sub scan line in a recording operation at the reception side is higher than a scanning line density of transmission data from the transmission side, for example, when a transmitter transmits data in the standard mode, and a receiver performs recording in the super fine mode, one pixel of data is segmented into four segments. The segmented pixel data is determined in accordance with data around a pixel of interest. Information of a line density from the transmission side is stated in the signals NSS and DCS described above with reference to Figs. 2 and 3. Fig. 5 is a view showing an example for segmenting one-pixel reception data. In Fig. 5, when data is sent from the transmission side in the standard mode for a pixel of interest indicated by hatching, the pixel is segmented into four pixels 19-a to 19-d. When data is sent in the fine mode, the pixel is segmented into two pixels 19-e and 19-f. When the data is sent in the super fine mode, non-segmented data 19-g is selected. In order to determine the segmented pixel data, a reference area for 6 lines x 9 pixels is used. In this embodiment, area separation of a character and a half tone image is performed based on binary image data for 6 lines x 9 pixels, and smoothing processing is executed for only the character. For the halftone image, the same data as reception data is output as a segmented pixel. Figs. 6A and 6B are views for explaining cases wherein reception data is subjected to x2 smoothing processing in the sub scan direction. Fig. 6A shows received binary data, and Fig. 6B shows data subjected to the x2 smoothing processing in the sub scan direction. Thus, a smooth image which is free from steps at an edge portion can be reproduced. When smoothing processing of a pixel indicated by hatching in Fig. 5 is to be performed, binary data of the two pixels 19-e and 19-f are determined using binary image data for 6 lines x 9 pixels as reference pixels. In Fig. 4, received serial data Di is input as the signal 11-a in synchronism with a clock from the decode unit 4. As shown in Fig. 7, the data is latched by a terminal 1Q of the D F/F 11 in response to the clock 23-b, and at the same time, data at terminals O1 to O5 of the RAM 13 at an address at that time are latched by terminals 2Q to 6Q. The data latched by the terminals 1Q to 6Q of the D F/F 11 are input to terminals i1 to i6 in a data input section of the RAM 13, and are written therein in response to a WR signal 23-e. Paying attention to the data written in the RAM 13 at that time, data to be written in the terminal i1 is serial image data, and data to be written in the terminal i2 is image data read out from the terminal O1 and located at the same address in an immediately preceding line. Similarly, data in a line two lines ahead of the present line is written in the terminal i3,..., data in a line five lines ahead of the present line is written in the terminal i6. More specifically, data in the RAM are read out and written while being shifted by every bit, as described above, so that the reference data area can be shifted by one line in the sub scan direction. The data at the terminals O1 to O6 of the RAM 13 are shifted to the shift registers 15 and 17. The shifted data correspond to 1Q to 6Q in a column P 0 9 in Fig. 5. The reference data area can be shifted in the main scan direction by inputting a shift register clock 23-d synchronized with input serial image data to the shift registers 15 and 17. The reference data (6 x 9 = 54 pixels in Fig. 5) prepared as described above are input to the image processing algorithm unit 19. The image processing algorithm unit 19 simultaneously outputs interpolated pixel data 19-a to 19-g on the basis of the input reference data. Pixel data 19-a to 19-d are those obtained when one pixel is segmented into four pixels (reception in the standard mode, and recording in the super fine mode), pixel data 19-e and 19-f are those obtained when one pixel is segmented into two pixels, and pixel data 19-g is one obtained when no segmentation is performed (in this case, no interpolation is performed, and pixel of interest data is directly output). A main scan operation is then performed several times for received pixel data for one main scan line, and segmented pixels are recorded. In this case, a case will be exemplified below wherein data is received in the standard mode, and four segmented pixels are recorded in the super fine mode. Received pixel data for one main scan line are written in the RAM 13 while being shifted in the sub scan direction in accordance with the timing chart shown in Fig. 7, and at the same time, data read out from the RAM 13 are used to prepare for reference image data. The reference image data are input to the image processing algorithm unit 19. The image processing algorithm unit 19 outputs segmented image data 19-a to 19-g. The output data are selected by switching the select signal 21-b for the multiplexer 21 in accordance with resolution information from the transmission side, and the selected data are transferred to the record unit to be subjected to recording. As shown in Fig. 7, segmented image data 21-a for the first line is output in real time every time one-pixel data is input. The multiplexer 21 selects data 19-a for the first segmented line (standard mode → super fine mode), and sequentially selects 19-b, 19-c, and 19-d for the second and subsequent lines to perform recording. In consideration of recording of segmented lines, since the data 19-a to 19-d corresponding to received one pixel must be obtained using the same reference image data, the sub scan shift operation of the image data described above is inhibited when the second to fourth segmented lines are recorded. That is, the data stored in the RAM is repeatedly used to output the second to fourth segmented lines. Fig. 7 illustrates the timing chart used when segmented image data for the first line is output. Fig. 8 shows the timing chart used when segmented image data for the second to fourth lines are to be output. In this case, since image data already input to the RAM 13 can be used as the reference image data, the input serial image data 11-a, the input image transfer clock 23-a, and the write signal 23-e to the RAM 13 can be omitted. Fig. 9 is a timing chart summarizing the operations in Figs. 7 and 8. As can be seen from Fig. 9, segmented image data for the first line is output as data 19-a from the line 21-b in accordance with the input serial image data 11-a, and segmented image data for the second to fourth lines are output as data 19-b, 19-c, and 19-d in accordance with the start pulse 23-g from the CPU 3. More specifically, the control block 23 generates clocks for one main scan period on the basis of the start pulse 23-g, so that output serial image data 21-a and an output image transfer clock 23-f can be output. Note that "latch" in Fig. 9 represents a data latch operation in a shift register of a thermal head, and "record" represents a strobe signal of the thermal head. Fig. 10 is a flow chart showing processing executed when image data is received and recorded. Fig. 10 exemplifies a case wherein data received at a resolution of the standard mode is recorded in the super fine mode. In Fig. 10, steps designated by symbols (I) to (IV) correspond to periods (I) to (IV) in Fig. 9, and a step designated by (V) in Fig. 10 corresponds to a timing chart shown in Fig. 11. In step S20, the RAM 13 (line buffers for six lines) is cleared when reception of image data is started. Referring to Fig. 11, the CPU 3 outputs a buffer clear pulse 23-h to the control block 23. The control block 23 clears the D F/F 11 in response to a D F/F clear pulse 23-j, and writes the clear signal in the RAM 13 in response to a RAM write signal 23-e. When a shift register clear pulse 23-k is set at high level for a one-line interval, buffers for a plurality of lines (six lines) are cleared at the same time. Thus, a clear time can be greatly shortened as compared to a case wherein the buffers are cleared by addressing the RAM in units of lines. In step S21, data 11-a sent from the decode unit 4 is received. At this time, the address of the memory is controlled so that data for the first line is stored in the last line of the RAM 13. More specifically, since input image data for the first and second lines are stored in the fifth and sixth lines of the RAM 13, output image data 21-a at this time becomes 0 since data in lines before the pixel of interest (hatched pixel in Fig. 5) are cleared in step S20. In this manner, generation of unnecessary dots caused by holding previous reception data can be prevented. Output data is segmented pixel data for the pixel of interest in a line two lines ahead of the present line with respect to input image data. Since segmentation processing can be performed in real time, a processing speed can be decreased. Steps S22 to S24 correspond to the period (I) in Fig. 9 described above. Segmentation processing of the input image data 11-a is performed in real time. Steps S25 to S27 correspond to the period (II) in Fig. 9, and segmentation processing for the second line is performed. Similarly, in steps S28 to S30, segmentation processing for the third line is performed, and in steps S31 to S33, segmentation processing for the fourth line is performed. In this manner, since segmentation processing is performed in response to the start pulse 23-g from the CPU 3 for the second and subsequent lines, control for the processing can be simplified, and high-speed processing can be performed. Fig. 12 shows the timing chart when the start pulse 23-g is input, and illustrates in detail the period (II) in Fig. 9. Upon reception of the start pulse 23-g from the CPU 3, the control block 23 sequentially sends address signals 23-c to the RAM 13, and sends a clock 23-d to the shift registers 15 and 17, so that 6 x 9 pixels are sequentially shifted and transferred to the image processing algorithm unit 19. The multiplexer 21 selects one of data output from the image processing algorithm unit 19, and outputs output image data 21-a in accordance with the output image transfer clock 23-f. A clear pulse 23-k is used to clear 6 x 9 pixel data when segmentation processing for the next line is performed after segmentation processing for a given line is completed, and is input to the shift registers 15 and 17. When segmentation processing for the second, third, and fourth lines is to be performed, since 6 x 9 pixel data used in processing of the immediately preceding line are cleared in response to the clear pulse, generation of noise can be prevented. Fig. 13 is a block diagram showing in detail the image processing algorithm unit 19 shown in Fig. 4. An area separation circuit 31 discriminates on the basis of input binary image data (6 x 9 = 54 pixels) whether a pixel of interest is present in a character area or a photograph area. Discrimination is performed on the basis of a combination of a spatial frequency, periodicity, and pixel isolation of binary data in a 6 x 9 block. In discrimination based on the spatial frequency, the numbers of reversals of a density in the main and sub scan directions are obtained, and a total sum of the numbers of reversals is compared with a predetermined threshold value. If the sum is larger than the threshold value, the pixel of interest is determined as a halftone pixel; if it is smaller than the threshold value, the pixel is determined as a character pixel. Discrimination based on the periodicity is effective for discriminating an area of a dither-processed image from the transmission side. In this case, assuming that image data is dither-processed using a 4 x 4 dither matrix in the transmission side, the 6 x 9 = 54 pixels are divided into 4 x 4 matrices (a given matrix includes only some of 4 x 4 pixels), and the number of coincidences of corresponding pixels in the plurality of 4 x 4 matrices is checked. If this number is large, the pixel of interest is determined as a halftone pixel; if it is small, the pixel is determined as a character pixel. Discrimination based on the pixel isolation is effective for discriminating an area of a halftone-processed image by an error diffusion method in the transmission side. In this case, for each black pixel of 6 x 9 = 54 pixels, it is checked if there are vertically and horizontally adjacent black pixels. If there are no vertically and horizontally adjacent black pixels with respect to a given black pixel, the pixel is determined as an isolation pixel. If the number of isolation pixels is larger than a predetermined threshold value, the pixel of interest is determined as a halftone pixel; if it is smaller than the threshold value, the pixel is determined as a character pixel. The area separation circuit 31 accepts a majority decision of these three discrimination results to discriminate if the pixel of interest is a halftone or character pixel, and sends the discrimination result to selectors 35 and 36. Note that the area separation circuit 31 comprises a ROM for outputting an area separation result using data for 6 x 9 = 54 pixels as address signals. A x4 smoothing circuit 32 is a circuit for performing x4 segmentation processing of data of the pixel of interest in the sub scan direction, and a x2 smoothing circuit 33 is a circuit for performing x2 segmentation processing of data of the pixel of interest in the sub scan direction. A circuit 34 directly outputs data of the pixel of interest without performing smoothing processing. Each of the x4 smoothing circuit 32, the x2 smoothing circuit 33, and the no smoothing circuit 34 comprises a ROM for outputting a smoothing result using 54 pixel data as address signals. The selectors 35 and 36 select data output from the smoothing circuit 32 or 33, or data output from the no smoothing circuit 34 in accordance with an area separation result from the area separation circuit 31. If the area separation circuit 31 determines that the area of the pixel of interest is a halftone area, the selector 35 outputs 4-bit data from the no smoothing circuit 34 as the data 19-a to 19-d; if the circuit 31 determines that the area is a character area, the selector 35 outputs 4-bit data from the x4 smoothing circuit 32 as the data 19-a to 19-d. If the area separation circuit 31 determines that the area of the pixel of interest is a halftone area, the selector 36 outputs 2-bit data from the no smoothing circuit 34 as the data 19-e and 19-f; if the circuit 31 determines that the area is a character area, the selector 36 outputs 2-bit data from the x2 smoothing circuit 33 as the data 19-e and 19-f. In this manner, according to this embodiment, since smoothing processing, i.e., segmentation and interpolation processing is performed for a pixel which is determined as a character as a result of area separation, a smooth character free from an uneven character edge portion can be reproduced. Since no smoothing processing is performed for a halftone image such as a photograph, an image which is free from degradation of image quality and has high gradation precision can be reproduced. The data 19-a to 19-g output from the image processing algorithm unit 19 are sent to the multiplexer 21. The multiplexer 21 selects and outputs data from one of the selectors 35 and 36, and the no smoothing circuit 34 on the basis of a procedure signal sent from the transmission side. Fig. 14 shows a partial modification of the RAM 13 in Fig. 4. In this case, the RAM 13 is replaced with a RAM having bidirectional input/output terminals. The arrangement shown in Fig. 14 includes a tristate buffer 32' having an output mode in a high-impedance state, and a RAM 31' having bidirectional input/output terminals. In the arrangement shown in Fig. 14, outputs from the D F/F 11 are input to the tristate buffer, and outputs from the tristate buffer are input to the input/output terminals of the RAM 31' only when a memory write pulse is at Low level, thus performing the same processing as in Fig. 4. As described above, according to this embodiment, since segmentation processing of received binary data is performed on the basis of resolution information sent from the transmission side, data sent at a low density can be recorded and output at a high density, and a high-quality image can be reproduced. Since smoothing processing is performed only for a pixel which is determined as a character as a result of area separation of received binary data, a halftone image can be prevented from being degraded. According to this embodiment, since the apparatus has a function of performing smoothing processing of each pixel in synchronism with reception image data transfer clocks, and a function of starting processing in response to a start pulse and stopping the processing upon completion of the smoothing processing for a predetermined one main scan line, interpolation processing (smoothing processing) can be realized by simple control which is almost the same as that in a conventional apparatus which does not perform interpolation processing. Since a processing speed of conversion to the segmented pixels in the smoothing processing is not limited by the reception image data transfer clocks, high-speed processing can be performed. According to this embodiment, since a memory write operation and an interpolation/segmentation operation are simultaneously performed in synchronism with the reception image data transfer clock, interpolation/segmentation processing can be performed at high speed. A memory for storing line data subjected to segmentation processing can be omitted since the same reference data is repetitively read out from a single image buffer when each one-line reception data is processed into a plurality of segmented lines. Thus, the apparatus can be rendered compact at low cost. In addition, a high-speed apparatus can be realized since an operation for temporarily storing segmented line data in a memory can be omitted. According to this embodiment, data read out from an image buffer (RAM 13) is shifted by a shift register, and is written at the same address of the image buffer, thereby shifting data serving as reference data in segmentation processing in a sub scan direction. Therefore, the storage capacity of a buffer for storing reference data can be minimized, resulting in a compact, low-cost apparatus. Since image buffers for a plurality of lines, which buffers are required at the beginning of data reception, can be simultaneously cleared, a clear operation period can be shortened. In this embodiment, a facsimile apparatus has been exemplified as an image processing apparatus. The present invention can be applied to printers such as a laser beam printer, an ink-jet printer, and the like. The preferred embodiment of the present invention has been described. However, the present invention is not limited to the above embodiment, and various changes and modifications may be made within the scope of claims.

Claims: Image processing apparatus comprising: reception means (2, 4) for receiving binary image data from transmission apparatus (7); means (31) for identifying whether or not received image data represents a character or a half-tone image; processing means (1, 19) for processing the received binary image data so as to generate output data of a particular resolution, and characterised in that the processing means comprises means for carrying out segmentation processing on the received binary image data if the resolution of the received image data is less than said output resolution, and additionally in that said processing means is so adapted that when an area of data is identified as representing a character the processing means carries out smoothing by interpolation on the identified data in the area, and when the data is identified as half-tone data carries out segmentation processing if the resolution of the received binary data is less than said output resolution but does not carry out smoothing. Apparatus according to claim 1, wherein the processing means is adapted to carry out one of a plurality of different segmentation processing operations on the received binary data in accordance with the resolution of the data. Apparatus according to claim 2, wherein the processing means is adapted to carry out either x2 or x4 segmentation processing in accordance with the output of selection means (21), the output of the selection means depending on the resolution of the received binary image data. Apparatus according to any one of the preceding claims, and including a memory (13) for storing a plurality of lines of information data and control means (23) controlling the writing of lines into the memory and the reading of lines from the memory into the processing means. Apparatus according to claim 4, wherein the control means also controls shift means (11) for reading received binary image data line-by-line into said memory. Apparatus according to claim 5, and further comprising a pair of shift register groups (15, 17) for bit shifting data read from said memory so that the bit shifted data is available for smoothing processing. Apparatus according to claim 6, wherein said control means comprises shift means for shifting image data read out from said storage means in a sub scan direction, and then writing the shifted image data at the same address positions in a main scan direction of said storage means, thereby moving an area of reference image data required in the segmentation processing in the sub scan direction. Apparatus according to claim 6 or claim 7, wherein said control means comprises clear means for simultaneously clearing image data for a plurality of lines stored in said memory during one scan period before segmentation processing by said processing means. Apparatus according to any one of claims 6, 7 or 8, wherein said processing means (19) sequentially performs segmentation processing of second to n-th segmented lines using the same image data for the plurality of lines stored in said storage means after the segmentation processing of the first segmented line.

Inventors: KATAOKA JUNNOSUKE, OSADA MAMORU, SAKAMOTO MASAHIRO, UENO YASUHIDE, KATAOKA, JUNNOSUKE, OSADA, MAMORU, SAKAMOTO, MASAHIRO, UENO, YASUHIDE, KATAOKA, JUNNOSUKE, CANON KABUSHIKI KAISHA, OSADA, MAMORU, CANON KABUSHIKI KAISHA, SAKAMOTO, MASAHIRO, CANON KABUSHIKI KAISHA, UENO, YASUHIDE, CANON KABUSHIKI KAISHA
Applicants: CANON KK, CANON KABUSHIKI KAISHA
Application year: 1991
Main classification: H04N1
IPC codes: H04N1