Brief Description of the Drawings
In the accompanying drawings:
FIG. 1 is a block diagram of the conventional and general image input apparatus;
FIG. 2 is a block diagram of the image input apparatus obtained by improving the conventional apparatus;
FIGS. 3A to 3F are time charts showing examples of the signal waveshapes;
FIGS. 4A to 4D respectively shows example of intensities of the image signals generated in the image input apparatus according to the present invention;
FIG. 5 is a block diagram of the image input apparatus according to the present invention;
FIG. 6 shows a circuit of another example of the difference detection control circuit; and
FIGS. 7A and 7B respectively show an explanatory view for a discriminating method.
Preferred Embodiments of the Invention
FIG. 2 shows a block diagram of the improved image input apparatus, in which apparatus the problem of the conventional one shown in FIG. 1 is eliminated. In FIGS. 1 and 2 the same and similar reference numerals are applied to the same and similar parts.
In the image input apparatus shown in FIG. 2, memory 4 added to the conventional apparatus shown in FIG. 1, for measuring and storing the positional data SD of the defective elements of image sensor corresponding to respective positions of picture elements of the linear image sensor 2. The clock circuit 3A is adapted to output a correction signal KS1, which is based on the positional data SD stored in the memory 4. The phase control circuit 5A generates a sampling signal SS1 which is corrected on the basis of the correction signal KS1 and inputted into the sample hold circuit 6.
The memory 4 stores the positional data SD of the picture elements of defective elements of the image sensor. The positional data SD is obtained by a measurement of the picture element data by means of the linear image sensor 2.
The operation of the image input apparatus is below with reference to the time chart of FIGS. 3A to 3F. Similar to the operation of the prior art shown in FIG. 1, the image 10 is read by the linear image sensor 2 through an optical system 1, and an image signal GS is outputted from the linear image sensor 2 and inputted to the sample hold circuit 6. By the time, the memory 4 has outputted positional data SD showing the defective elements of image sensor NS1 and NS2 and the positional data SD has been inputted into the clock circuit 34, the correction signals KS1 at the positions of the picture elements corresponding to these defective elements of image sensor NS1 and NS2 as shown in FIG. 3D are inputted to the phase control circuit 5A. When the correction signals KS1 are inputted to the phase control circuit 5A, the circuit 5A does not output a clock signal KS of the particular timing. Thus, the corrected sampling signals SS1 shown in FIG. 3E are inputted to the sample hold circuit 6. In detail, contrary to the correction signals KS1 shown in FIG. 3D corresponding to the defective elements of image sensors NS1 and NS2 in FIG. 3A, the corrected sampling signals SS1 shown in FIG. 3E are inputted into the sample hold circuit 6. Thus, the image signal GS of the defective elements of image sensor NS1 and NS2 is prevented from being sampled and the held signal as it is after a sampling of the data of the previous picture elements is outputted. Consequently, the defective elements of image sensor are prevented from affecting the output signals. The image data GD1 outputted from the sample hold circuit 6 has a uniform shape which does not have the defected elements of image sensor BN1 and BN2 as shown in FIG. 3F, resulting in a display image of high quality.
However, when the image signal GS1, having a slope as shown in FIG. 4A, is inputted into the image input apparatus, the sloped portion of the image signal GS1 is not sampled at the pulse SSP of the corrected sampling signal SS1 corresponding to the defective elements of the image sensor as shown in FIG. 4C the sample hold signal of the previous picture element is outputted as the image data. As a result, the image data GD2 has a large step at the position FD corresponding to the defective elements of the image sensor, as shown in FIG. 4B, which is disadvantageous.
In order to enable the image input apparatus to handle the image signal GS1 having both a sloped portion "B" and a uniform flat portion "A", it is necessary to carry out an ordinal sampling control on the flat image signal A shown in FIG. 3A and a particular sampling control on the sloped image signal portion B shown in FIG. 4A so as to prevent a large stepped portion from occurring in the image data GD2.
FIG. 5 shows an example of the block diagram of the image input apparatus according to the present invention satisfying the above requirement, in which the same reference numerals of FIG. 2 are used to correspond to the same parts in FIG. 5.
The image input apparatus shown in FIG. 5 of the present invention is created by adding a difference detection control circuit 20 to the image input apparatus shown in FIG. 2. The difference detection control circuit 20 constantly measures or detects a difference in signal intensities of adjacent picture elements of the image signal. When the difference is less than the predetermined one, the difference detection control circuit 20 inputs a correction signal KS2 into the phase control circuit 5 thereby preventing a sampling of the positional data SD stored in the memory 4. When the difference is more than the predetermined one, the difference detection control circuit 20 inputs a clock signal KS from the clock circuit 3A in place of the correction signal KS2.
The difference detection control circuit 20 receives an image signal GS (GS1) of an analog output from an input/output side of the sample hold circuit 6 and an image data GD3 held in the sample hold circuit 6. The difference in signal levels of the image signal GS and the image data GD3 is detected by comparator 21 (negative direction) and comparator 22 (positive direction) of the difference detection control circuit 20. The input terminals of these comparators 21 and 22 are connected in reverse. When the image signal GS (GS1) and the image data GDS are inputted into the comparators 21 and 22, binary signals V1 and V2, respectively generated in the comparators 21 and 22, are inputted into a logic circuit (OR) 23. Thereby outputting another binary signal V3 according to the condition of a following table 1. That is, when the difference between the signals from the input/output side of the sample hold circuit 6 is small, the comparators 21 and 22 output "L". Only when the difference in a negative direction becomes more than the predetermined value does the output V1 of the comparator 21 becomes "H". When the difference in a positive direction becomes more than the predetermined value, the output V2 of the comparator 22 becomes "H".
The correction signal KS1 outputted from the clock circuit 3A on the basis of the binary signal V3, which is outputted according to the condition shown in the table 1 and the positional data SD of the memory 4, is inputted to a logic circuit (NAND) 24. Thus logic circuit (NAND) 24 outputs a binary signal V4 according to the condition of table 2. That is, when the binary signal V3 is "L", a sampling must be carried out irrespective of the output of the correction signal KS1, so that the output V4 of the logic circuit 24 becomes "H". When the binary signal V3 is "H", sampling must be stopped according to correction signal KS1. Consequently, when the correction signal KS1 is "L", "H" is outputted from the logic circuit 24. When the correction signal KS1 is "H", the output of of V4 is "L".
As described above, the binary signal V4 generated from the logic circuit 24 and the clock signal KS, outputted from the clock circuit 3A, are inputted to the logic circuit (AND) 25. When the binary signal V4 is "H", the clock signal KS is outputted as a correction signal KS2. When the correction signal KS1 becomes of "H" and the binary signal V4 becomes of "L", a correction signal KS2 is outputted stopping the clock signal KS and sampling. The relation between the two values of the difference detection control circuit 20 and the sampling is shown in the following table 3.
When an image signal GS1 shown in FIG. 4A is inputted into the difference detection control circuit 20, a sampling control is carried out at the flat portion A of the image signal GS1 as explained with reference to FIG. 2. As a result, any effect of the defective elements of image sensor shown in FIG. 3 can be delected as is apparent from Table 3. When the gradient of the slope portion B of the image signal GS1 has a positive value larger than the predetermined value, the output V2 of the comparator 22 becomes of "H". On the contrary, as the gradient has a negative value larger than the predetermined value, the output V1 of the comparator 21 becomes of "H", making the output V3 of the logic circuit 23 "L" and cancelling the input of the correction signal KS1. Consequently, a sampling is carried out at any defective elements of the image sensor and it is possible to delete an effect signal change due to a stoppage of a sampling. As a result, the image signal GS (GS1) becomes the image data GD3 of high quality having no effect of the noises BN1 and BN2 as shown in FIG. 4D.
The difference detection control circuit 20 determines the slope degree from a difference between the image signal GS and the image data GD3. However, it is possible to directly determine the slope degree according to the change value of the image signal GS (GS1) and an integration signal, because the integration signal has a time delay from the input signal where the time delay corresponds to a change rate of the input signal.
FIG. 6 shows an example of the difference detection control circuit 20A using the principle described above, in which circuit the image signal GS is inputted to comparators 26 and 27 through resistors R1 and R2. An output of the resistor R1 is grounded through a capacitor C1. As a result, an integration circuit is formed. Inputs to he comparators 26 and 27 are connected in reverse to each other. One of these comparators detects positive elements of the image sensor and it gradients. When a difference between inputs to respective terminals of the comparators 26 and 27 becomes larger than the predetermined value .alpha., a binary signal is outputted from the comparators 26 and 27 and a detection signal V3A of the binary signal is inputted to a logic circuit 24, as shown in FIG. 5, through a resistor R3.
When a step-shaped image signal GS, as shown in FIG. 7A, is inputted to the system of FIG. 5, the image signal GS becomes an integration signal GSA, shown by the broken line. The image signal GS and the integration signal GSA are inputted into the comparators 26 and 27. When the difference of the image signal GS from the integration signal GSA is larger than the predetermined value .alpha., a binary signal V3A shown in FIG. 7B is outputted. FIGS. 7A and 7B show respectively the change from the image signal GS to the binary signal V3A also, there is a case in which the image signal GS changes continuously.
According to the image input apparatus of the present invention, any effect of the defective element of image sensor of picture element in the linear image sensor, which effect has been difficult to delete, can be completely removed. Additionally the output signal is not affected by the sampling if an image signal with a slope is inputted to the image input apparatus, so that high quality image data can be advantageously obtained. In addition, the construction of the image input apparatus is simple and the manufacturing cost of the apparatus is low.
It should be understood that many modifications and adaptations of the invention will become apparent to those skilled in the art and it is intended to encompass such obvious modifications and changes in the scope of the claims appended hereto.