Abstract:
An image forming apparatus includes a first scanning function for radiating light to a target area including an original image area, scanning the target area in a predetermined direction, and converting an optical image obtained by scanning to an electrical signal. A second scanning function is provided for radiating light to the target area including the original image area, scanning the target area in a direction perpendicular to the direction in which the first scanning function scans, and converting an optical image obtained by scanning to an electrical signal. A function means converts the electrical signals converted by the first and second scanning functions to digital signals. Also provided is an area abstracting function for abstracting an area in the target area surrounded by a low-density portion based on the digital signals processed by the converting function, a judging function for judging the area surrounded by the low-density portion as an original area and an area other than the original area as an extra-original area, and an image forming function, which forms an image based on image signals obtained by scanning and conversion by the first and second scanning functions, for forming an image to exclude the extra-original area judged by the judging function.

Description:
BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     The present invention relates, e.g., to a digital copying machine for copying a portion outside an original as a blank. 
     2. Description of the Related Art 
     In recent years, a digital copying machine utilizing the digital technique has been developed and put into practical use as a copying machine. More specifically, an image from the original is read by a CCD (charge-coupled device) line sensor, and a signal from the line sensor is processed by quantization. 
     When a thick original, e.g., a book, is to be copied by using such a digital copying machine, since a platen cover for pressing the original can be closed only halfway, a portion of the platen cover corresponding to the outside of the original floats from the original table and is copied in black. For example, when originals &#34;AAA&#34;, &#34;BBB&#34;, and &#34;CCC&#34;, and a small area such as dust exist on the original table, portions other than the originals &#34;AAA&#34;, &#34;BBB&#34;, and &#34;CCC&#34;, and the small area such as dust are copied in black. 
     A copying machine has been developed which performs correction in order to whiten an area other than a original. In this copying machine, however, if a plurality of originals &#34;AAA&#34; and &#34;BBB&#34; exist in the main scanning direction, both a portion between the originals &#34;AAA&#34; and &#34;BBB&#34; in the main scanning direction and a portion between a small area and the original &#34;CCC&#34; in the main scanning direction are not judged as portions outside the original. Thus, the portions between the plurality of originals or a portion between the small area and the original in the main scanning direction is treated as a portion where the original exists, and such a portion is copied in black. 
     SUMMARY OF THE INVENTION 
     It is an object of the present invention to provide an image forming apparatus which, even when a plurality of originals exist in the main scanning direction, does not copy a portion between adjacent originals in black, and does not copy a portion between a small area and an adjacent original in black. 
     According to the present invention, there is provided an image forming apparatus comprising: first scanning means for radiating light to a target area including an original image area, scanning the target area in a predetermined direction, and converting an optical image obtained by scanning to an electrical signal; second scanning means for radiating light to the target area including the original image area, scanning the target area in a direction perpendicular to the direction in which the first scanning means scans, and converting an optical image obtained by scanning to an electrical signal; converting means for converting the electrical signals converted by the first and second scanning means to digital signals; area abstracting means for abstracting an area in the target area surrounded by a low-density portion based on the digital signals processed by the converting means; judging means for judging the area surrounded by the low-density portion as an original area and an area other than the original area as an extra-original area; and image forming means, which forms an image based on image signals obtained by scanning and conversion by the first and second scanning means, for forming an image to exclude the extra-original area judged by the judging means. 
     According to the present invention, the target area is scanned in the two orthogonal directions by the first and second scanning means, as described above. Conventionally, when the target area is scanned in one direction, an image between a plurality of originals that are distributed in this one direction cannot be scanned. However, this conventional problem does not arise in the present invention. More specifically, regarding a plurality of originals that are distributed in the scanning direction of the first scanning means, even a target image in the area between these plurality of originals can be easily scanned by the second scanning means in the direction perpendicular to the scanning direction of the first scanning means. As a result, unlike in the conventional image processing apparatus, an area between the plurality of originals is not erroneously recognized as an area where an original exists, so that this area between the plurality of originals is not copied in black. 
     Furthermore, according to the present invention, there is also provided an image forming apparatus comprising: scanning means for radiating light to a target area including an original image area, scanning the target area in a predetermined direction, and converting an optical image obtained by scanning to an electrical signal; converting means for converting the electrical signal converted by the scanning means to a digital signal; area abstracting means for abstracting an area in the target area surrounded by a low-density portion based on the digital signal processed by the converting means; judging means for judging, when the area abstracted by the area abstracting means has a size not less than a predetermined range, this area as an original area and an area other than the original area as an extra-original area; and image forming means, which forms an image based on an image signal converted by the converting means, for forming an image to exclude the extra-original area judged by the judging means. 
     According to the present invention, when an area abstracted by the area abstracting means has a size equal to or larger than the predetermined range, the judging means which judges this area as an original area, and an area outside this original area as an extra-original area is employed. Thus, a noise portion of small dust or the like, which is judged as an original area by the conventional original area recognizing function, is judged to have a size of less than the predetermined range and judged as thus an extra-original area. Then, a portion, e.g., a dust portion, other than the original area will not be erroneously recognized as a portion where an original exists, so a portion other than the original will not be unnecessarily copied. 
     Additional objects and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objects and advantages of the invention may be realized and obtained by means of the instrumentalities and combinations particularly pointed out in the appended claims. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate presently preferred embodiments of the invention and, together with the general description given above and the detailed description of the preferred embodiments given below, serve to explain the principles of the invention. 
     FIG. 1 is a block diagram showing the schematic arrangement of a digital copying machine according to an embodiment of the present invention; 
     FIG. 2 is a plan view of an operation panel according to the embodiment of the present invention; 
     FIG. 3 is a block diagram showing the main part of an image processor according to the embodiment of the present invention; 
     FIG. 4 is a perspective view of the digital copying machine according to the embodiment of the present invention; 
     FIG. 5A is a view showing a state in which the binarization results of multi-value image data read by the CCD according to the embodiment of the present invention are written in a frame area; 
     FIGS. 5B-5E are views is a view for explaining a level judging method of judging the levels of the above binary data under a predetermined condition; 
     FIGS. 5F and 5G are views showing the results of above level judgment in the frame area; 
     FIG. 6 is a view showing image data for explaining the operation of the embodiment of the present invention; 
     FIG. 7 is a flow chart for explaining the operation of the embodiment of the present invention; 
     FIGS. 8A and 8B are plan views showing the display contents of the operation panel; 
     FIG. 9 is a view showing a copy state obtained when copying is performed with the apparatus of this embodiment; and 
     PIGS. 10A and 10B are views showing copy examples of originals that are obtained when the originals are copied with an apparatus to which the present invention is not applied. 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     An image forming apparatus according to an embodiment of the present invention will be described with reference to the accompanying drawings. FIG. 1 is a diagram showing the schematic arrangement of a digital copying machine as an image forming apparatus. FIG. 2 is a plan view of an operation panel. FIG. 3 is a block diagram showing the main part of an image processor. 
     FIG. 1 shows a main controller 11 for totally controlling the digital copying machine. The main controller 11 has a CPU, a RAM storing, e.g., a control program and parameters of an extra-original erase mode (to be described later), a RAM for storing various types of data, and the like. 
     The main controller 11 is connected to an image processor 12 and an operation panel 13 as shown in FIG. 2. The image processor 12 processes image data sent from a scanner processor (to be described later) in a manner as shown in the block diagram in FIG. 3, and compresses/expands the image data. 
     As shown in FIG. 2, the operation panel 13 has a ten-key input section 21, a message display 22, a print key 23, and an extra-original erase mode switch 24. 
     The main controller 11 is connected to a sub-controller 14 through a communication line 11a. The sub-controller 14 totally controls photoelectric conversion by the CCD, and comprises a CPU, a ROM storing a control program for controlling scanner processing, and a RAM for storing, e.g., scanned image data, and the like. 
     The main controller 11 is also connected to a sub-controller 15 through a communication line 11b. The sub-controller 15 totally controls print output processing by means of a laser beam, and comprises a CPU, a ROM storing a control program, a RAM for storing print data, and the like. 
     The sub-controller 14 is connected to a scanner processor 16 and a scanner driver 17. The scanner processor 16 causes the CCD to photoelectrically convert light reflected by the original, thus A/D-converting analog image data to 8-bit image data, and causes the line memory to store the 8-bit image data as 1-line image data. The scanner driver 17 scans the light source. The scanner processor 16 outputs 1-line image data to the image processor 12. 
     The sub-controller 15 is connected to a print processor 18 and a print driver 19. The print processor 18 performs print output processing by means of a laser beam. The print driver 19 drives various types of driving sources accompanying print output processing. 
     The arrangement of the main part of the present invention will be described with reference to FIG. 3. The image data (8 bits) output from the scanner processor 16 is input to a binarization processor 31 in the image processor 12. The binarization processor 31 compares 8-bit input image data with an 8-bit threshold Th (e.g., &#34;E0&#34;). If image data≧threshold Th, the binarization processor 31 outputs a binary output of &#34;0&#34;; if image data&lt;threshold Th, it outputs a binary output of &#34;1&#34;. 
     The binary signal output from the binarization processor 31 is input to a frame-and-nest-level original detection processor 32. The frame-and-nest-level original detection processor 32 calculates the frame of the original and a nest level, that are expressed by binary signals, based on the principle of an intra-frame area detecting apparatus disclosed in Jpn. Pat. Appln. KOKAI Publication No. 3-17787. The binary signals as detection outputs representing the calculated original frame and the nest level are output to a detection correction processor 33. 
     The principle of this intra-frame area detecting apparatus will be described with reference to the accompanying drawings. 
     FIG. 5A is a view showing a state in which the binarization results of multi-value image data read by the CCD according to the embodiment of the present invention are written in a frame area, FIGS. 5B-5E are views for explaining a level judging method of judging the levels of the above binary data under a predetermined condition, FIGS. 5F and 5G are views showing the results of above level judgment in the frame area, and FIG. 6 is a view showing image data for explaining the operation of the embodiment of the present invention. 
     First, image data of an original range after photoelectric conversion by the CCD is binarized. In binarization, image data and a binarization threshold are compared to perform the following judgment, and a 1-bit result is output. A binarization threshold can be arbitrarily set in the adjustment mode. 
     (1) If binarization threshold (th)&gt;image data, binary output=1 
     (2) If binarization threshold (th)≦image data, binary output=0 
     By this processing, binary data as shown in FIG. 5A are obtained. Referring to FIG. 5A, the originals A, B, and C placed on an original table 42 have irregular shapes, and can be classified by the binary data into central print surface portions 52, 54, and 56 having a high image density and blank portions 51, 53, and 55 respectively surrounding them. 
     FIG. 6 shows this processing and indicates that image data (first column) expressed by FF, 59, and the like are binarized (second column) in accordance with the threshold. 
     Subsequently, original detection is performed. As described above, this processing operation utilizes the principle of level judgment disclosed in Jpn. Pat. Appln. KOKAI Publication No. 3-17787. 
     FIGS. 5B-5E show processing examples and the principle of this intra-frame area level judgment. This judgment is performed to discriminate the print surface portions 52, 54, and 56 from the &#34;background&#34; portions on the original table 42, where the originals A to C do not exist, by detecting the frame portions (portions of the original surface where print surfaces do not exist) 51, 53, and 55 of the originals A to C. Referring to FIGS. 5B-5E, when the distribution of the binary data as shown in FIG. 5A is to be processed, if this processing is executed from the upper portion of the image surface, this processing is divided into four patterns: 
     (1) when a run on the current line forms a frame (the binary output is 1) 62 and the adjacent previous line forms entirely a background (the binary output is 0) 61, the level of the previous line is succeeded; 
     (2) when a run on the current line forms a background (the binary output is 0) 61 and the adjacent previous line forms entirely a frame (the binary output is 1) 62, 1 is added to the level of the previous line; 
     (3) when a run on the current line forms a frame (the binary output is 1) 62 and the adjacent previous line mixedly contains both a background 61 and a frame 62, the minimum value of the level of the frame of the previous line is succeeded; and 
     (4) when a run on the current line forms a background (the binary output is 0) 61 and the adjacent previous line mixedly contains both a background 61 and a frame 62, the minimum value of the level of the background of the previous line is succeeded. 
     When the data shown in FIG. 5A are subjected to above processing, the distribution of the pixel level shown in FIG. 5F after level judgment is obtained. 
     Furthermore, the output of original detection processing is determined from the result of this intra-frame area level judgment (FIG. 5F) and the binary outputs (FIG. 5A) in accordance with the following processing, and a 1-bit result (FIG. 5G) is output. 
     (1) If binary output=1 or the level of the level judgment result is other than 0, 
     original detection output=1 
     (2) In cases other than the above case, 
     original detection output=0 
     As the result of this processing, the print surface portions 52, 54, and 56, and the background 61 of the originals A to C, which cannot be discriminated from each other since they are both expressed as &#34;0&#34; in the binary data in FIG. 5A, can be clearly discriminated from each other in FIG. 5G such that &#34;1&#34; indicates an original surface portion and &#34;0&#34; indicates a background portion. This original detection processing is indicated by original detection outputs on the third column of FIG. 6. 
     Referring back to FIG. 3, the embodiment of the present invention will be described. Data of the original detection processor 32 is subjected to detection correction processing in the detection correction processor 33 so that noise of a small area is removed. The processor 33 performs the following processing by using a counter (fourth column in FIG. 6) and a register (fifth column in FIG. 6), and outputs a 1-bit result. The counter is started when the binary signal output from the original detection processor 32 is a pixel of &#34;1&#34;, incremented one by one when pixels of &#34;1&#34; continue, and cleared to 0 upon a change of a pixel of &#34;1&#34; to a pixel of &#34;0&#34;. A correction width (3 in this example) is set in the register. 
     (1) The start position (a portion where a change takes place from a pixel of &#34;0&#34; to a pixel of &#34;1&#34;) of the original area in the main scanning direction is obtained by replacing, by 0s, pixels that are obtained by subtracting the correction width from the count by comparing the count with the correction width. 
     (2) The end position (a portion where a change takes place from a pixel of &#34;1&#34; to a pixel of &#34;0&#34;) of the original area in the main scanning direction is obtained by replacing, by 0s, pixels that are obtained by subtracting the correction width from the count. 
     FIG. 6 shows this processing by way of processing between counts (fourth column) and detection correction outputs (fifth column). More specifically, regarding an area whose original detection output is &#34;1&#34; due to the presence of small dust (61 of FIG. 6) although no original actually exists, this area is counted (fourth column) from 1 to 6. When width=3 is set, the third count of &#34;1&#34; from the right and the third count of &#34;1&#34; from the left are respectively replaced by &#34;0s&#34; by detection correction processing. Thus, in the detection correction output (fifth column), the data corresponding to this dust become all &#34;0s&#34;, so that data of the dust 61 becomes &#34;00&#34; in the final extra-original erase output as well. Therefore, a phenomenon wherein a portion where no original exists is copied in black does not occur, unlike in the conventional copying machine. 
     Regarding the correction width, as described above, a preset parameter is set in the register by the CPU before a copying operation is started. 
     An extra-original erase processor 34 fetches through a delay circuit (D) 35 a binary signal output from the processor 33 and image data to be input to the binarization processor 31 described above, and 
     (1) outputs initial image data if detection correction processing output=1, and 
     (2) replaces the data to white (00) if detection correction processing output=0. 
     This result is indicated by the extra-original erase output (sixth column) of FIG. 6. Outputs corresponding to portions where the thick originals A to C do not exist or outputs corresponding to small portions, e.g., dust, become &#34;00&#34;, and are not copied in black. 
     The outer appearance of the digital copying machine will be briefly described with reference to FIG. 4. Referring to FIG. 4, reference numeral 41 denotes a copying machine body; 42, an original table disposed on the upper surface of the copying machine body 41; and 43, a platen cover. when the platen cover 43 is opened or closed, it is detected by an opening/closing switch (not shown), and a detection signal from the switch is output to the main controller 11 described above. 
     The operation of the embodiment of the present invention having the above arrangement will be described. First, a thick original is placed on the original table 42, and while the platen cover 43 is not completely closed, the print key 23 is depressed. The main controller 11 fetches a detection signal from the opening/closing switch (not shown) of the operation panel 13, detects that the platen cover 43 is open, and executes an extra-original removing operation shown in the flow chart of PIG. 7. 
     FIG. 7 is a flow chart for explaining the operation of the embodiment of the present invention. Referring to FIG. 7, extra-original erase processing (S1) is started. Whether or not the platen cover is open is determined (S2). If YES in step S2, binarization is performed in accordance with the threshold (S3), and original detection processing (S4) is performed. A small area is erased (S5), and the image data corresponding to the extra-original area of the original data is replaced by &#34;00&#34; (S6). If the platen cover is kept closed, extra-original erase processing is not performed. 
     The main controller 11 informs the sub-controllers 14 and 15 of the operation the print key 23 in the operation panel 13. The scanner driver 17 and the scanner processor 16 are driven. More specifically, the scanner processor 16 causes the CCD to photoelectrically convert light reflected by the original, thus A/D-converting analog image data to 8-bit image data, and causes the line memory to store the 8-bit image data as 1-line image data. The scanner processor 16 outputs 1-line image data to the image processor 12. 
     The image data (8 bits) output from the scanner processor 16 (described above) is input to the binarization processor 31 in the image processor 12. The binarization processor 31 compares the 8-bit input image data with an 8-bit threshold Th (e.g., &#34;E0&#34;). If image data≧threshold Th, the binarization processor 31 outputs a binary output &#34;0&#34;; if image data&lt;threshold Th, it outputs a binary output &#34;1&#34; (refer to FIG. 5A and the second column of FIG. 6). 
     The binary signal output from the binarization processor 31 is input to the frame-and-nest-level original detection processor 32. The frame-and-nest-level original detection processor 32 outputs binary signals (refer to FIG. 5G and the third column of FIG. 6) of the original detection output representing the frame of the original and the nest level to the detection correction processor 33 based on the principle of the intra-frame area detecting apparatus disclosed in Jpn. Pat. Appln. KOKAI Publication No. 3-17787. In this case, the processor 33 performs the following processing by using a counter and a register, and outputs a 1-bit result as a detection correction output (fifth column) shown in FIG. 6. This counter is started when a binary signal output from the original detection processor 32 is a pixel &#34;1&#34;, incremented one by one when pixels of &#34;1&#34; continue, and cleared to 0 upon a change from a pixel of &#34;1&#34; to a pixel of &#34;0&#34;. A correction width (3 in this example) is set in this register. 
     (1) The start position (a portion where a change takes place from a pixel of &#34;0&#34; to a pixel of &#34;1&#34;) of the original area in the main scanning direction is obtained by replacing, by 0s, pixels that are obtained by subtracting the correction width from the count. 
     (2) The end position (a portion where a change takes place from a pixel of &#34;1&#34; to a pixel of &#34;0&#34;) of the original area in the main scanning direction is obtained by replacing, by 0s, pixels that are obtained by subtracting the correction width from the count. 
     The count of the counter is cleared to 0. The extra-original erase processor 34 fetches the binary signal output from the detection correction processor 33 and image data to be input to the binarization processor 31 through the delay circuit 35, performs the following processing, and outputs a signal shown in FIG. 6 as an extra-original erase output; 
     (1) to output initial image data if detection correction processing output=1, and 
     (2) to replace the data by white (00) if detection correction processing output=0. 
     In this manner, according to the image forming apparatus of the present invention, an extra-original portion of the original can be printed in white, and a small area having a width up to twice a correction width can be printed in white. 
     FIG. 9 is a view showing a copy state obtained when copying is performed with the apparatus of this embodiment, and FIGS. 10A and 10B are views showing copy examples of originals that are obtained when the originals are copied with an apparatus to which the present invention is not applied. More specifically, according to the image forming apparatus of the present invention, when the originals &#34;AAA&#34;, &#34;BBB&#34;, and &#34;CCC&#34; that are identical to those in the conventional case, portions other than the originals &#34;AAA&#34;, &#34;BBB&#34;, and &#34;CCC&#34; can be printed in white, as shown in FIG. 9. 
     Furthermore, as shown in FIGS. 5A, 5F, and 5G with respect to the original table 42, the image forming apparatus according to the present invention performs image processing, which has been described above in the explanation of the operation, in both the main scanning and subscanning directions. Conventionally, when extra-original erase is performed only in the main scanning direction, black portions b are formed, as shown in FIG. 10B. In contrast to this, according to the embodiment of the present invention, since above image processing is also performed in the subscanning direction, even an extra-original portion b located between two thick originals can be erased. As a result, as shown in FIG. 9, copying free from a black portion is enabled. 
     In the above embodiment, the detection correction processor 33 is connected to the output of the frame-and-nest-level original detection processor 32. However, if a small area a need not be deleted, the detection output of the frame-and-nest-level original detection processor 32 may be directly output to the extra-original erase processor 34. 
     FIGS. 8A and 8B are plan views showing the display contents of the operation panel. Referring to FIGS. 8A, 8B, and 11 showing a modification of the above embodiment, an original placed on an original table 42 is detected by an opening/closing switch 44 (FIG. 4) that detects opening/closing of the platen cover 43. However, as shown in FIG. 2, the processing operation of the flow chart of FIG. 7 may be started by an operation of the extra-original erase mode switch 24. In this case, a correction width may be set, as shown in FIG. 8A, or a processing range may be set, as shown in FIG. 8B. 
     Alternatively, an original area is input by means of X- and Y-coordinates to specify the original area by the operator by using the ten-key input section 21 of the operation panel 13, the message display 22, and the like shown in, e.g., FIG. 8A. 
     As has been described above, according to the present invention, there is provided an image forming apparatus which, even when a plurality of originals exist in the main scanning direction, does not copy a portion between adjacent originals in black, and does not copy a portion between a small area and an adjacent original in black. 
     Additional advantages and modifications will readily occur to those skilled in the art. Therefore, the invention in its broader aspects is not limited to the specific details, and representative devices shown and described herein. Accordingly, various modifications may be made without departing from the spirit or scope of the general inventive concept as defined by the appended claims and their equivalents.