IMAGE SIGNAL FILTERING

Abstract: An image signal is filtered in one or two dimensions for obtaining an unsharp signal in a detail emphasis process of an image reproduction system. A one-dimensional image signal filtering is carried out in one of the main and sub-scanning directions so that the first k image signals and the other k image signals out of 2k image signals are respectively summed to obtain first and second sum signal, which are subjected to a cumulus computation to obtain a filtered signal U₂ expressed by: for (2k-1) image signals d i (i = k, k-1,. . . 1, 0, -1, . . . -k+2). In this regard, a cumulus computation refers to computa­ tion expressed by P n - Q n + R n-1 = R n , wherein P n is an addi­ tion signal and Qa is a subtraction wighal where n is the input or­ der of each of the signals and R n-1 is the result ot the previous computation. By filtering the thus-obtained (2k-1) one-dimensionally fil­ tered signal U 2i (i = k, . . . 1,0,-1, . . . -k+2) the second of the main and the sub-scanning direction factors in the same man­ ner, a two-dimensionally filtered signal W₂, expressed by: is obtained to be used as an unsharp singal for the above-men­ tioned detail emphasis process. In this connection, the num­ ber 2k-1 corresponds to a mask size, which can be arbitrarily determined by adjusting the value k. By carrying out the cumu­ lus computation in a plurality of stages, a weight coefficient of multidimensional function with respect to the value i can be im­ posed on image signals.

Description: The present invention relates to a method of and an apparatus for filtering image signals according to the first part of claim 1 and 5, resp. A detail (sharpness) emphasis process of an electronic image reproduction is achieved by carrying out a computation S + k(S - U) (where k is a coefficient) wherein S is a sharp signal representing the density of a pixel presently being processed, while U is an unsharp signal representing the average density of a plurality of pixels surrounding the present pixel. In this regard, an analog unsharp signal U can be optically obtained by using a scanning beam the aperture of which is broader than that used for obtaining the sharp signal S. However this method has a fatal drawback of requiring an independent optical system for obtaining the unsharp signal U, other than that for the sharp signal S. In addition, the beam aperture for the sharp signal S is required to be varied according to the sort of an image (drawing or gradated image) from which an image signal is obtained, a magnification ratio to be employed, and a screen ruling in reproducing halftone dots. Therefore, inevitable the aperture for the unsharp signal U must be similarly varied. Such a system is complicated and the operation procedures are time-consumptive. Such a method and such an apparatus are described in EP-A-0 094 597 and US-A-4 319 268. It is an object of the present invention to provide a method of and an apparatus for filtering an image signal which is free from the drawbacks of the known method and apparatus, resp. This object is solved by the features of claim 1 and claim 5, resp. Preferred embodiments of the invention are subject matter of the subclaims 1 to 4 and 6 to 8, resp. The above and other objects and features of the present invention can be appreciated more fully from the following detailed description when read with reference to the accompanying drawings. Figures 1, 2, 3, 4 and 5 show embodiments of the present invention for filtering an image signal in the main scanning direction factor. Figures 6 and 7 show embodiments of the present invention for filtering an image signal in the sub-scanning direction factor. Figures 8, 9, 10 and 11 show embodiments of the present invention for filtering an image signal in both the main and the sub-scanning direction factors. Figure 12 shows a drawing indicating the conception of filtering image data in the main and the sub-scanning directions. Figure 13 shows an embodiment of the present invention for filtering an image signal by a weight coefficient of a quadratic function. Figure 14 shows an embodiment of the present invention for filtering an image signal in the main scanning direction factor. Figure 15 shows an embodiment of the present invention for filtering an image signal in the sub-scanning direction factor. Figures 16 and 17 show embodiments of the present invention for varying the intervals between image signals to vary the aperture of an unsharp signal. Figure 18 shows a block diagram of an image reproduction system to which the present invention is applied. Figure 19 shows the definitions of signs. Figure 2⊘ shows an embodiment of a cumulus computer. Figure 21 shows conceptual drawings of coefficients imposed on image signals. Detailed Description of a Preferred Embodiment of the Invention Figure 18 shows an image reproduction system to which the present invention is applied. In the apparatus of Figure 18, an original A mounted on an original drum 41 is scanned by an input head 42 which generates three analog color component signals R (Red), G (Green) and B(Blue) in correspondence with the image of the original. The analog color component signals R, G and B are converted to corresponding digital signals by an A/D converter 43 (or, in analog form without processing by the A/D converter 43) and are input to a digital (or analog) color computer 44 which carries out a color and gradation correction for the digital color component signals R, G and B and converts the same to four color separation signals Y (Yellow), M (Magenta), C (Cyan) and K (Black). It should be incidentally noted that when the color component signals R, G and B are input to an analog color computer 44 as analog signals, the output signals of the color computer 44 are converted to corresponding digital signals by an A/D converter (not shown). Desired ones of the color separation signals Y, M, C and K to be reproduced are selected by a color separation selector 45 which controls the number of color separations to be recorded, and undergo a detail emphasis in a detail emphasis circuitry 46 as mentioned afterwards. An output signal of the detail emphasis circuitry 46 is input via a halftone dot generator 47 to a recording head 48 to be used to record the selected color separation(s) on a photosensitive film B mounted on a recording drum 49. In the above, each of the digital circuits is controlled by a clock pulse signal produced by a timing controller 52 which processes timing pulses output from rotary encoders 5⊘ and 51 connected respectively to the original drum 41 and to the recording drum 49. The detail emphasis circuitry 46 comprises a built-in image signal filter, in which an input signal is filtered by using an unsharp signal U and a sharp signal S. It is postulated in the present invention that a filtering process for obtaining an unsharp signal is carried out for every pixel matrix composed of (2k-1) pixels situated in the main scanning direction by (2k-1) pixels situated in the sub-scanning direction as shown in Figure 19(a) wherein k is an arbitrary number. It is further postulated in the present invention that (2k+1) image signals comprised in the main or the sub-scanning direction are filtered in one process and the same operation is carried out successively. In order to clarify the following description, a sign d i (i = k, k=l, ... O, ... -k+1, -k in the inverse direction of the main or sub-scanning direction) is attached to each of the image signals to be subjected to a filtering process at one time. There are other several noteworthy postulations as follows in the description of this specification. The aforesaid subscript i is attached to image signal d of both the main and the sub-scanning directions. Since there is a need for specifying the position 1 of a specific image signal d i in equations expressing the relation between the image signal d i and signals obtained through a filtering process, the relation between the image signal d i and the position l is shown in Figure 19(b). Since an image signal d i is stored into (2k+1) shift registers (or line memories) in the first stage of the filtering process, each of the shift registers V (or line memories L) is expressed with a corresponding subscript i (i=k, k-1, ... O, ... -k+1, -k in the inverse direction of the main or sub-scanning directions) attached as shown in Figure 19(b) to clarify the relation between the two. The first element V k of the shift registers (or the first element L k of the line memories) shown in the drawings concerned provided for the sake of explanation can be omitted. Before describing embodiments of the present invention, a cumulus computer to be employed therein is explained below according to Figure 2⊘(a). First of all, an adder 121 sums the signals input thereto, representing an addition signal P n (where n is the number of input signals) and the previous cumulus signal R n-1 temporarily stored in a register 123. Then an adder 122 sums the output signal of the adder 121 and an inverted signal -Q n obtained by inverting a subtraction signal Q n by an inverter 12⊘ to output a signal R n expressed by an equation: R n = R n-1 + P n - Q n (1⊘). The thus-obtained output signal R n is temporarily stored in register 123, such as a flip-flop circuitry, to be subjected to the next (n+1) computation which is the same as the previous computation. It should be noted here that each of the signals P n and Q n is concretely an image signal d i obtained by scanning an original or a filtered signal U 2i obtained by way of a one-dimensional filtering in the present invention. In order to keep synchronism with the image signal d i input to the adder 121, the said register 123 is controlled by a clock pulse signal synchronized with the scan of the original image. Assuming that the signal Q n is an addition signal and the signal P n is a subtraction signal, in the above computation, the equation (1) is modified to an equation: -R n = -R n-1 + Q n - P n (1⊘)'. In view of the equations (1⊘) and (1⊘)', either of the two signals P n and Q n can be an addition signal (when the other is also a subtraction signal) because the value -R n is the two's complement of the value P n . Figure 1 shows an image signal filtering apparatus of the present invention for filtering an image signal in one dimension in the main scanning direction. In the apparatus of Figure 1, a one-directional component of a color separation signal, for instance, a main scanning direction component signal D j (where j is the input number to a shift register 1) obtained from the said color separation selector 45, is input to (2k+1) elements V i (i = k, k-1, ... 1, ⊘, -1, ... -k) of the shift register 1, consequently image signal d i is stored in the elements V i of the shift register 1. The image signal d k stored in the first element V k of the shift register 1 is input to a cumulus computer 2 as an addition signal. In the meantime, the image signal d O (delayed in phase by k elements from the image signal d k ) stored in the element V O of the shift register 1 is input to the cumulus computer 2 as a subtraction signal as well as to another cumulus computer 3 as an addition signal. The image signal d -k (delayed in phase by 2k elements from the image signal d k ) stored in the last element V -k is also input to the cumulus computer 3. The cumulus computer 2 carries out the computation of the equation (1⊘) repeatedly, and finally outputs a signal U 1a expressed by an equation: which represents the sum of a certain consecutive number (k) of image signals (density values) d k through d₁ in the main scanning direction factor stored respectively in the elements V k through V₁ of the shift register 1. The thus-obtained signal U 1a of the sum is called the "first sum signal" hereinafter. The first sum signal U 1a is input to another cumulus computer 4 as an addition signal as well as to a register 5 to be used for the next computation as a cumulus signal U 1aO expressed by an equation: On the other hand, the cumulus computer 3 outputs a signal U 1b expressed by an equation: which represents the sum of a certain consecutive number (k) of image signals (density values) d O through d k+1 in the main scanning direction factor stored respectively in the elements V O through V k+1 of the shift register 1. The thus-obtained signal U 1b is called the "second sum signal" hereinafter. The second sum signal U 1b is input to the cumulus computer 4 as a subtraction signal as well as to a register 6 to be used for the next computation as a cumulus signal U 1bO expressed by: The first and the second sum signals U 1a and U 1b are put to a cumulus computation by the cumulus computer 4 according to the equation (1⊘), consequently the cumulus computer 4 outputs a filtered signal U₂ (refer to Figure 21(a)) expressed by an equation: U₂ = d k + 2d k-1 + 3d k-2 + ... + (k-1)d₂ + k·d₁ + (k-1)d ⊘ + ... + 2d -k+3 + d -k+2 (3). The filtered signal U₂ is registered in a register 7 to be used for the next computation. As can be understood from the equation (3), the apparatus of Figure 1 outputs a filtered signal characterized in that 2k-1 image (density) signals situated in the main scanning direction are assigned weight coefficients c = ℓ (refer to Figure 19(b)) which increase linearly from the image signals situated at both the edges to the kth image signal. It should be incidentally noted in regard of the above that the shift register 1, the cumulus computers 2, 3 and 4, and the registers 5, 6 and 7 are all their initialized before the operations. Table, 1 shows several stages of the outputs of the cumulus computers 2, 3 and 4 with respect to the successive input of the image signal D j from the initial state, and the final formation of the filtered signal expressed by the equations (1), (2) and (3). In Table 1, the subscript j attached to the image signal D is intended to express the number of input thereof to the shift register 1. Therefore, the subscript j is not related to the subscript i attached to the said image signal d. As is obvious from Table 1, the output of the cumulus computer 4 after the input of the 2k-1 image signals to the shift register 1 becomes equivalent to the filtered signal U₂ corresponding to the equation (3). Figure 2 shows a modification of the apparatus of Figure 1, in which the cumulus computer 3 is replaced by a shift register 5'. In view of the fact that the second sum signal U 1b input to the cumulus computer 4 is delayed in phase by k elements of the shift register 1 from the first sum signal U 1a (the other input to the cumulus computer 4), the operation of the apparatus of Figure 2 is equivalent to that of the apparatus of Figure 1. More precisely comparing the construction of the apparatus of Figure 2 with respect to that of the apparatus of Figure 1, a shift register 1' comprising (k+1) elements is employed instead of the register 1 comprising (2k+1) elements; an image signal d k registered in the first element V k of the shift register 1' is used as an addition signal; an image signal d O registered in the last element V O of the shift register 1' is used as a subtraction signal; the first element S O of a shift register 5' (mentioned in greater detail afterwards) is substituted for the register 5; and an image signal registered in the element S O is used as a cumulus signal to the cumulus computer 2. As is obvious from the above description, the devices relevant to the cumulus computer 2 of Figures 1 and 2 are constructed substantially identically, therefore, the cumulus computer 2 of Figure 2 also outputs the first sum signal U 1a corresponding to the equation (1) as mentioned before. The first sum signal U 1a output from the cumulus computer 2 is input to the subsequent cumulus computer 4 as an addition signal as well as to a shift register 5' comprising k elements S i (i = ⊘, -1, ... -k+1) successively. The signal registered in the first element S O of the shift register 5' is input to an addition terminal of the cumulus computer 2 as a cumulus signal U 1aO , while the signal registered in the last element S -k+1 of the shift register 5' is input to the cumulus computer 4 as a subtraction signal. Since there is output from the last element S -k+1 of the shift register 5' the second sum signal U 1b which is delayed in phase from the first sum signal U 1a by k elements of the shift register 1', the filtered signal U₂ corresponding to equation (3) can be obtained from the cumulus computer 4. The apparatus of Figure 2 is effective for the reason that it functions substantially identically to the apparatus of Figure 1 while having a simpler construction. The following is a study of the equation (3), wherein the equation is considered in regard of the terms d k through d₁ and the terms d₁ through d -k+2 . The equation (3) can be reexpressed as: Assuming: and the filtered signal U₂ is expressed as: U₂ = U 2a + U 2b - k·d₁ (34). Therefore, the filtered signal U₂ can be synthesized by using separately-obtained signals U 2a and U 2b (refer to Figures 21(b) and (c)). The signals U 2a and U 2b can be obtained respectively by apparata as shown in Figures 3 and 4. In the apparatus of Figure 3, the cumulus computer 2 carries out a cumulus computation according to the equation (1) by receiving the image signal d k registered in the first element V k of the shift register 1' comprising (k+1) elements and the image signal d O registered in the last element V O of the same, as addition and subtraction signals respectively, as mentioned with reference to the apparatus of Figure 1. Therefore, the cumulus computer 2 outputs the first sum signal U 1a to a subsequent cumulus computer 4 as an addition signal. On the other hand, the image signal d O registered in the last element V O of the shift register 1' is input to the cumulus computer 2 as a subtraction signal as well as to a multiplier 8 to be multiplied a certain number of times (by k). The output of the multiplier 8 is input to the cumulus computer 4, which puts the two input signals U 1a and kd O to a cumulus computation to produce the signal U 2a . In the apparatus of Figure 4, the first cumulus computation is the same as in the apparatus of Figure 3. Therefore, the cumulus computer 2 outputs the first sum signal U 1a , the computation resultant of the equation (1), to the cumulus computer 4 as a subtraction signal. Meanwhile, the image signal d k registered in the first element V k of the shift register 1' is multiplied by k to be input to the cumulus computer 4 as an addition signal. The cumulus computer 4 puts the two input signals U 1a and kd k to a cumulus computation to produce a signal U' 2b expressed by an equation: It is obvious from the equations (32) and (33) that the signal U' 2b is advanced in phase by k elements of the register 1' from the said signal U 2b . Therefore, in order to obtain the signal U₂ by synthesizing, or combining, the signals U 2a and U' 2b , an apparatus for the synthesis must be so constructed that firstly the signal U 2b is obtained by delaying in phase the signal U' 2b by k elements of the shift register 1' and then the signals U 2a and U 2b are subjected to a computation corresponding to the equation (34). Figure 5 shows a block diagram of another embodiment of the present invention for filtering an image signal one-dimensionally. In the apparatus of Figure 5 comprising the same apparatus of Figure 3 consisting of a shift register 1', cumulus computers 2 and 4, registers 5 and 7, and a multiplier 8, firstly the said signal U 2a is obtained from the cumulus computer 4. Then the signal U 2a is subtracted in a subtractor 21⊘ from a signal k·U 1a obtained by multiplying the first sum signal U 1a from the cumulus computer 2 by k (corresponding to the interval k between two image signals put to a cumulus computation of the cumulus computer 2) in a multiplier 9. For this reason, there is output a signal representative of an equation: from the subtractor 21⊘. Then by delaying in phase the output signal of the subtractor 21⊘ by k elements of a shift register 211, the signal representative of as shown in the equation (36) is changed into a signal representative of This signal can be reexpressed as: which means that the second and the third terms of the right member of the equation (34) is obtained. Then the filtered signal U₂ is obtained by summing the signal U 2a output from the cumulus computer 4 and the signal representing U 2b - k·d₁ output from the last element of the shift register 211 in an adder 212. Aside from the aforesaid embodiments in which an image signal is filtered in the main scanning direction factor, the present invention is also capable of filtering an image signal in the sub-scanning direction factor in the following manner. It is assumed in the following description that the equivalents of the aforesaid signals U 1a , U 1b , U₂ and so forth output from cumulus computers are expressed in the same terms, each with a subscript (x) attached. However, the equations (1), (2), (3), ... are used as they are to derive the said equivalents. Figure 6 shows a modification of the apparatus of Figure 1, in which the shift register 1 is replaced by L i (i = k, ... -k) line memories 11 in a cascade arrangement, each of which comprises (2k+1) elements for storing image signals of one scanning line. In the thus-constructed line memories 11 are successively stored image signals of (2k+1) scanning lines obtained via the color separation selector 45 from an input scanning device, thereby image signals comprised in a sub-scanning line d i(x) are simultaneously output from each of the L i line memories. Then the image signals stored in the first line memory L k (an addition signal) and that stored in th (k+1)th line memory L O (a subtraction signal) are put to a cumulus computation of a cumulus computer 2a, which outputs the first sum signal U 1a(x) to a line memory 15. The line memory 15 outputs the cumulus signal U 1a(x)O , the computation resultant of the image signals of the previous sub-scanning line, by which the cumulus computer 2a is operable. In the meantime, the image signal stored in the (k+1)th line memory L O (an addition signal) and that stored in the (2k+1)th line memory L -k (a subtraction signal) are put to a cumulus computation of a cumulus computer 3a to output the second sum signal U 1b(x) to a line memory 16. The line memory 16 outputs the cumulus signal U 1b(x)O of the previous computation in the same way as the line memory 15. The thus-obtained first sum signal U 1a(x) and the second sum signal U 1b(x) are put to a cumulus computation of a cumulus computer 4a according to the equation (3) to produce a filtered signal U 2(x) . It should be noted in Figure 6 that line memories 15, 16 and 17 (or line shift registers) capable of memorizing image data of one scanning line are substituted for the registers 5, 6 and 7. Figure 7 shows a modification of the apparatus of Figure 2 to be used for filtering an image signal in the sub-scanning direction factor. In the apparatus of Figure 7, the shift register 1 shown in Figure 2 is replaced by L i (i = k, ... O) line memories 2⊘⊘ in a cascade arrangement each of which comprises (k+1) elements for storing image signals of one scanning line; the register 5 shown in Figure 2 is replaced by L' i (i = O, ... -k+1) line memories 2⊘3 in a cascade arrangement each of which comprises k elements for storing image signals of one scanning line; and the register 7 shown in Figure 2 is replaced by a line memory 2⊘4 for storing image signals of one scanning line. Image signals of (k+1) scanning lines are successively stored in the thus-constructed line memories 2⊘⊘, thereby an image signal comprised in a sub-scanning line d i(x) (i = k, ... O) are output from each of the L i line memories 2⊘⊘. Precisely, the image signal stored in the first line memory L k (an addition signal) and that stored in the (k+1)th line memory L O (a subtraction signal) of the line memories 2⊘⊘ are put to a cumulus computation of a cumulus computer 2⊘1, which outputs the first sum signal U 1a(x) to the line-memory 2⊘3. At the same time the first line memory L' O of the line memories 2⊘3 outputs the cumulus signal U 1a(x)O , the computation resultant of the image signals of the previous sub-scanning line, by which the cumulus computer 2⊘1 is operable. In the meantime, the first sum signal U 1a(x) output from the line memories 2⊘⊘ and the second sum signal U 1b(x) delayed in phase by k elements thereof from the first sum signal U 1a(x) are put to a cumulus computation of a cumulus computer to obtain the filtered signal U 2(x) . It should be noted incidentally that equivalents of the apparata shown in Figures 3 and 4 for the sub-scanning direction filtering employing line memories instead of the registers can be easily obtained as can be understood from Figure 7. Aside from the above apparata for filtering image signals of a certain number (2k-1) of pixels comprised in one direction, an apparatus can be obtained for filtering image signals of a matrix (2k-1)² of pixels, as shown in Figure 19(a) for producing an unsharp signal to be used for a detail emphasis. It is postulated in the following description that an image signal filtered in the main scanning direction factor is expressed with a subscript (y); an image signal in the sub-scanning direction factor is expressed with a subscript (x); an image signal of the two direction factors is expressed with a subscript (W); and each equation pertaining to a two-dimensional filtering carries a one-dimensionally filtered signal U 2i instead of the image signal d i . Figure 8 shows an apparatus for filtering an image signal in two (main and sub-scanning) direction factors, comprising the apparata of Figures 6 and 1 arranged in series. It has already been mentioned that the filtered signal U 2(x) filtered in the sub-scanning direction factor can be obtained from the first stage I₋₁ of the apparatus of Figure 8. Then (2k+1) filtered signals U 2(x) are input to a shift register 1b of the second stage I₋₂ of the apparatus of Figure 8. Restating that, image signals weighted by stepwise varying weight coefficients according to a triangular shape in the sub-scanning direction, as shown in Figure 12(a), are input to V i (i = k, ... -k) elements of the register 1b. The thus-filtered (weighted) unsharp signal U 2i stored in the V i elements of the shift register 1b is processed in the same manner as mentioned for the apparatus of Figure 1. Consequently, a third signal W 1a is obtained from a cumulus computer 2a according to an equation: which corresponds to the equation (1). Meanwhile, a fourth sum signal W 1b is obtained from a cumulus computer 3a according to an equation: which corresponds to the equation (2). Subsequently, a filtered signal W₂ is obtained from a cumulus computer 4b according to an equation: which corresponds to the equation (31), and further to the equation (3). The signal W₂ represents the total sum of the (2k-1) x (2k-1) image signals weighted by stepwise varying weight coefficients according to a pyramid shape in the main and the sub-scanning directions as shown in Figure 12(b). It should be noted in this regard that the number of the image signals in the main scanning direction subjected to a filtering process is, in principle, made to be equal to that off the image signals in the sub-scanning direction. However, the numbers can also be different. Figure 9 shows a modification of the apparatus of Figure 8 in which an image signal is filtered first in the sub-scanning direction factor and filtered second in the main scanning direction factor. It is obvious that a filtered signal U 2(y) filtered in the main scanning direction factor can be obtained from the first stage I₋₂ of the apparatus of Figure 9. The one-dimensionally filtered signals U 2(y) are input to line memories 11. Each line memory L i (i = k, ... k) of the line memories 11 can store filtered image signals of one scanning line as explained for the apparatus of Figure 6. Therefore, image signals U 2i (i = k, ... - k) comprised in an identical sub-scanning line are output from each line memory L i . As is obvious from the description of the apparatus of Figure 6, the third sum signal W 1a is obtained from the cumulus computer 2a according to the equation (1⊘); the fourth sum signal W 1b is obtained from the cumulus computer 3a according to the equation (2⊘); and eventually a two-dimensionally filtered signal W₂ is produced by a cumulus computer 4a using the first and the second sum signals W 1a and W 1b according to the equation (30). Figure 1⊘ shows an apparatus comprising a combination of the apparatus of Figure 7 (the first stage I₋₃) for the signal filtering in the sub-scanning direction factor and the apparatus of Figure 2 (the second stage II₋₃) for the signal filtering in the main scanning direction factor, by which a two-dimensionally filtered signal W₂ is produced. It is already mentioned in the description of the apparatus of Figure 7 that the filtered signal U 2(x) filtered in the sub-scanning direction factor can be obtained from the first stage I₋₃. The filtered signal U 2(x) is input to the shift register 1' comprising (k+1) elements, and then the signal filtering process is carried out as mentioned for the apparatus of Figure 2 to produce the two-dimensionally filtered signal W₂. Figure 11 shows an apparatus comprising a combination of the apparatus of Figure 2 (the first stage I₋₄) for the signal filtering of the main scanning direction factor and the apparatus of Figure 7 (the second stage II₋₄) for the signal filtering of the sub-scanning direction factor, by which a two-dimensionally filtered signal is produced. This apparatus has a converse construction of the apparatus of Figure 1⊘. As mentioned in detail in the description of the apparatus of Figure 2, a filtered signal U 2(y) filtered in the main scanning direction factor is obtained from the first stage I₋₄. The filtered signal U 2(y) is input to L i (i=k, ... 1, ⊘) line memories 2⊘⊘ comprising (k+1) elements, and then a filtered signal U 2i filtered in the sub-scanning direction factor is obtained. Subsequently, as mentioned in detail in the description of the apparatus of Figure 7, the third sum signal W 1a is output from the cumulus computer 2⊘1, meanwhile, the fourth sum signal W 1b is obtained from the last line memory L i-k+1 of line memories 2⊘3 in a cascade arrangement. Then, by using the two sum signals W 1a and W 2b , the filtered signal W₂ is obtained according to the equation (3⊘). Since this process can be understood from Figures 12(a) and (b) (it should be noted that the main scanning direction filtering process and the sub-scanning direction filtering process are reversed), no detailed explanation for the process is given here. It is noteworthy in this connection that the two-dimensionally filtered signal can be obtained by a combination of the apparatus of Figure 1 and the apparatus of Figure 7, or a combination of the apparatus of Figure 2 and the apparatus of Figure 6 other than the aforesaid apparata. Figure 13 shows an apparatus for imposing a weight coefficient C which varies in accordance with a quadratic function which increases from edge image signals to the kth image signal (the position of the image signal is represented by the value ℓ). The apparatus of Figure 13 comprises three cumulus computation stages. Since the first cumulus computation stage by means of cumulus computers 22a and 22b is already mentioned in the description of the apparatus of Figure 1, no explanation for the stage is given here. The second cumulus computation stage is carried out by means of cumulus computers 24a and 24b. In detail, the first sum signal U 1a (obtained from the first cumulus computer 22a) and the product k·d O (obtained by multiplying the image signal d O registered in the element V O of the shift register 21 by k in a multiplier 23) are put to a cumulus computation of a cumulus computer 24a to produce the signal U 2a . In the meantime, the second sum signal U 1b obtained from a cumulus computer 22b and the said product k·d O are put to a cumulus computation of a cumulus computer 24b to produce a filtered signal expressed by an equation: The signal U 2a obtained from the cumulus computer 24a is, after being multiplied by two in a multiplier 28a, input to a subtractor 29a as a signal 2U 2a (refer to Figure 21(d)). The subtractor 29a subtracts the data U 1a obtained from the cumulus computer 22a from the said signal 2U 2a to produce a signal U 5a expressed by an equation: In the meantime, the data U''' 2b obtained from the cumulus computer 24b is, after being multiplied by two in a multiplier 28b, input to a subtractor 29b as a signal 2U''' 2b (refer to Figure 21(e)). The subtractor 29b subtracts the second sum signal U 1b obtained from the cumulus computer 22b from the said signal 2U''' 2b to produce a signal U 5b expressed by an equation: Then the signal U 5a from the subtractor 29a and the signal U 5b from the subtractor 29b are input to a cumulus computer 3⊘ respectively as addition and subtraction signals. Consequently, the cumulus computer 3⊘ outputs a signal U₆ (refer to Figure 21(f)) expressed by an equation: which is indicative of the sum of products of all the image signal dk, ... d₁, d O , ... d -k+2 registered respectively in the elements V k , ... V₁, V O , ... V -k+2 and weight coefficients varied in accordance with the quadratic function C = ℓ² . For reference, Table 2 provides the transit of the image signal in the cumulus computer 3⊘ to the final obtainment of the signal U₆ (this is used as an unsharp signal) represented by the equation (43). The filtered data U''' 2b can be expressed by an equation: and can be modified to: U''' 2b = U 2b - k·d₁ + U 1b (45), and further to: U 2b - K·d₁ = U''' 2b - U 1b (46). For the reason, the difference between the second and the third terms of the right member of the equation (34) can be obtained from the subtractor 33 which subtracts the signal U 1b from the signal U''' 2b . In this connection, it is obvious from the equation (34) that the filtered signal U₂ can be obtained by summing the output signal of the subtractor 33 and the filtered signal U₂ output from the cumulus computer 24a in an adder 34. It should be noted that a signal U₇ (refer to Figure 21(g)) to be used as an unsharp signal expressed by: which represents the sum of products of image signals and weight coefficients C = ℓ (2k -ℓ) , can be obtained by subtracting in the subtractor 32 the signal U₆ (output from the cumulus computer 3⊘) from a signal obtained by multiplying the signal U₂ by 2k in the multiplier 35. In the apparata of Figures 1 through 13, the first and the second sum signals U 1a (U 1a(x) , U 1a(y) ) and U 1b (U 1b(x) , U 1b(y) ) are obtained by means of cumulus computers, particularly the first and the second sum signals of the main scanning direction factor can be alternatively obtained by means of an apparatus as shown in Figure 14. It is of course to be recognized that the apparatus as shown in Figure 14 can be used for producing the third and the fourth sum signals as mentioned with reference to the apparata of Figures 8 through 11. In the apparatus of Figure 14, image signals d i (i = k, ... -k+1) of one scanning line from the color separation selector 45 are successively input to V i (i = k, ... -k+1) elements of a shift register 1 according to the manner mentioned with respect to the apparatus of Figure 1. The image signals d k through d₁ registered in the elements V k through V₁ of the shift register 1 are input to adders 3⊘⊘ in a tree arrangement to be summed according to the equation (1), which finally outputs the first sum signal U 1a . In the meantime, the sum of the image signals d O through d -k+1 registered in the elements V O through V -K+1 are computed by adders 3⊘1 in a tree arrangement according to the equation (2) to finally output the second sum signal U 1b . As can be understood from Figure 14, the image data registered in each adjoining two elements of the shift register 1 are summed in the first stage, and then the outputs of the adjoining two adders are summed in the subsequent stages finally to output a sum signal. The thus-obtained sum signals U 1a and U 1b are input to a cumulus computer 4 respectively as addition and subtraction signals, by which the cumulus computer 4 carries out a computation corresponding to the equation (3) to output the filtered signal U₂. Figure 15 shows an apparatus for producing the first and the second sum signals of the sub-scanning direction factor U 1a(x) and U 1b(x) by means of two groups of adders in a tree arrangement. In the apparatus of Figure 15, image signals obtained by scanning an original via color separation selector 45 are successively input to L i (i = k, ... -k+1) line memories 11 in a cascade arrangement of 2k stages, each of which is capable of storing image signals of one scanning line. Consequently, 2k image signals comprised in one sub-scanning line can be obtained from the line memories L i (L k through L -k+1 ). Of the image signals obtained from the line memories L i , the image signals output from the line memories L i (i = O, ... -k+1) are input to address 3⊘1 in a tree arrangement. Subsequently, the adders 3⊘⊘ in a tree arrangement output a sum signal U 1a(x) equivalent to the signal U 1a , the resultant of the equation (1), while the adders 3⊘1 in a tree arrangement output a sum signal U 1b(x) equivalent to the signal U 1b , the resultant of the equation (2). Eventually, the signals U 1a(x) and U 1b(x) are put to a cumulus computation of the cumulus computer 4 to produce a filtered signal U 2(x) equivalent to the resultant U₂ of the equation (3). In this regard, there is of course necessary a line memory 17 as a signal storage means for storing image signals of one scanning line. It should be incidentally noted that the apparata in which the first and the second sum signals are obtained by means of adders in a tree arrangement as shown in Figures 14 and 15 can also be applied to obtain the first, second, third and fourth sum signals in an apparatus as mentioned below for filtering an image signal two-dimensionally. Figure 16 shows a modification of the apparatus of Figure 1, in which the number of image signals to be subjected to a filtering process at a time can be varied to change the aperture of the unsharp signal U (mask size) according to the sort of an image to be filtered (for instance, a small mask size is used to filter a literal or drawing image, while a large mask size is used to filter a pictorial image). Specifically, the numbers of image signals stored in the elements V k to V₁ and those stored in the elements V₋₁ to V -k of the shift register 1 are respectively controlled symmetrically about the image data stored in the element V O of the register 1 by switching means 212 and 213 (such as a selector or a multiplexer) in being input to cumulus computers 2 and 3, as respective addition and subtraction signals. In order to make the switching means 212 and 213 operable, a mask size designation register (a kind of decoder) 211 provides the cumulus computers 2 and 3 with an information signal specifying the number of image signals to be subjected to the filtering process according to reproduction condition data (such as magnification ratio, screen ruling, and the sort of image) to determine the aperture of the unsharp signal U (mask size). Figure 17 shows a modification of the apparatus of Figure 2, in which the number of image signals to be subjected to a filtering process at a time can be varied. In this case, the mask size designation register 211 provides a switching means 214 with an information signal specifying the number of image signals to be input from the shift register 5' to a cumulus computer 4. Figure 2⊘(b) shows several cumulus computers with peripheral equipments such as inverters 1⊘⊘ through 1⊘7 and adders 1⊘8 through 113 for practical operation. In this connection, each of the adders 1⊘8 through 113 is usually an integrated circuit, which operates as an adder for the corresponding pairs of signals A₁ through A₄ and B₁ through B₄ input to two distinct terminals thereof with a terminal C O being a common low-level signal terminal, or which operates as a subtractor for an input signal and the inverse of the corresponding one of the other input signals with the terminal C O being a common high-level signal terminal. The addition or subtraction result signal is output from output terminals Σ₁ through Σ₄ and C₄. In the apparatus of Figure 2⊘(b), a D-flip-flop circuit 114 temporarily stores the output from the adders 111, 112 and 113 by one clock pulse interval, and outputs the same to the terminals B₁ through B₄ of the adders 1⊘8 through 11⊘. The thus-constructed apparatus operates as follow. A set of signals R t=⊘ delayed in phase by one clock pulse interval stored in the D-flip-flop circuit 114 and a set of signals P synchronized with the present clock pulse are summed in the adders 1⊘8, 1⊘9 and 11⊘ in correspondence, and another set of signals Q synchronized with the present clock pulse is subtracted from the addition result signals of the adders 1⊘8, 1⊘9 and 11⊘ in the adders 111, 112 and 113. For this reason, the D-flip-flop circuitry 114 is provided to temporarily store cumulus signals.

Claims: A method of filtering image signals obtained by scanning an original in a first and a second direction to produce an unsharp signal, each of the image signals corresponding to each pixel of the original, characterized by the steps of: a) preparing a first group of the image signals corresponding to a predetermined number of the pixels arrayed in the first direction; b) obtaining an initial unsharp signal representing a weighted accumulation of said first group of the image signals; c) preparing a second group of the image signals corresponding to the predetermined number of the pixels arrayed in the first direction and shifted from the first group by one pixel, the second group consisting of first image signals having an image signal which is not included in the first group and second image signals representing the remaining image signals within the second group; d) obtaining a first sum signal (R1) representing a sum of the first image signals; e) obtaining a second sum signal (U1a) representing a sum of the second image signals; f) subtracting the second sum signal (U1b) from the first sum signal (R1) to thereby obtain a subtraction signal; and g) adding said subtraction signal to the initial unsharp signal to thereby obtain the unsharp signal. A method as recited in claim 1, characterized in that said first sum signal (R1) is obtained by the steps of: preparing an initial first sum signal (R1I) which represents the former first sum signal; and performing a cumulus computation defined by R1 = R1I + P1 - Q1, where P1 is a latest image signal of said first image signals; and Q1 is an earliest image signal of said first image signals. A method as recited in claim 2, characterized in that said second sum signal (R2) is obtained by the steps of: preparing an initial second sum signal (R2I) which represents the former second sum signal; and performing a cumulus computation defined by R2 = R2I + P2 - Q2, where P2 is a latest image signal of said second image signals, and Q2 is an earliest image signal of said second image signals. A method as recited in claim 2, characterized in that said second sum signal (R2) is obtained by the steps of: storing said first sum signal (R1); and delaying an output of said stored first sum signal (R1) by a predetermined number of the image signals. An apparatus for filtering image signals obtained by scanning an original to produce an unsharp signal, each of the image signals corresponding to each pixel of the original, characterized by: a) shift-register means (1, 1') for serially receiving each image signal (Di) and for storing only a predetermined number of the image signals; b) storing means (7) for storing an initial unsharp signal representing a weighted accumulation of the image signals; c) first adding means (2; 5) for generating a first sum signal (U1a) which represents a sum of first image signals selected from the stored image signals, the first image signals including a latest image signal lastly received by the shift-register means (1, 1'); d) second adding means (3; 6) for generating a second sum signal (U1b) which represents a sum of second image signals representing the remaining image signals within the stored image signals; and e) computing means (4) for subtracting the second sum signal (U1b) from the first sum signal (U1a) to obtain a subtraction signal and for adding the subtraction signal to the initial unsharp signal, whereby generating the unsharp signal. An apparatus as recited in claim 5, characterized in that said first adding means comprises: storing means (5) for storing an initial first sum signal (R1I) which represents the former first sum signal; and computing means (2) for performing a cumulus computation defined by R1 = R1I + P1 - Q1, where P1 is a latest image signal of said first image signals, and Q1 is an earliest image signal of said first image signals. An apparatus as recited in claim 6, characterized in that said second adding means comprises: storing means (6) for storing an initial second sum signal (R2I) which represents the former second sum signal; and computing means (6) for performing a cumulus computation defined by R2 = R2I + P2 - Q2, where P2 is a latest image signal of said first image signals, and Q2 is an earliest image signal of said first image signals. An apparatus as recited in claim 6, characterized in that said second adding means comprises shift-register (5') for delaying an output of said first sum signal (R1) by a predetermined number of the image signals.

Inventors: CHO, MASAMICHI
Applicants: DAINIPPON SCREEN MFG. CO., LTD.
Application year: 1985
Main classification: G06F15
IPC codes: G06T5, H04N1