An image reading method and apparatus therefor

Abstract: The present invention relates to an image reading method and apparatus therefor where CCDs and similar devices are utilized, especially when making adjustments to compensate for read-out position errors. The apparatus for reading images includes a circuit for appointing an adjusted read-out address in order to get the goal image signals. In the circuit, the adjusted read-out address is obtained by using the actual data derived from scanning the sample chart 30 with an image device, and the computed data which is the same data that is obtained if the sample chart 30 is scanned with an ideal optical system, the sample chart 30 on which black lines are described at regular intervals. Accordingly, the present invention makes available an apparatus for reading images that will be cheap and easy to arrange, and yet print or reproduce the original image without distortion, color error or the like occurring.

Description: BACKGROUND OF THE INVENTION 1. Field of the invention The present invention relates to an image reading method and apparatus therefor where CCDs and similar devices are utilized, especially when making adjustments to compensate for read-out position errors. 2. Description of the Prior Art FIG. 1 shows a diagram to be used for describing the principle of an apparatus for reading images where a CCD line sensor is utilized. An original image sheet 2 is set on a table 4. A light source, not represented here, is provided above or below the table 4. Beams from the light source are reflected by or pass through the original image 2, then pass through a lens 6 and are focused on a line sensor 8. As the line sensor 8 is comprised of a series of sensors arranged in a line, each individual sensor outputs a signal level corresponding to the degree of density for that portion of the line being scanned from the original image 2. The table 4 is moved in a secondary direction S, for the subsequent scanning of adjacent lines, by rotating a motor 10. This movement is repeated until all adjacent lines of the original image 2 have been scanned. Using this technique, signal levels corresponding to each point on the original image 2 are obtained. When a color image is desired for printing and reproduction, the reflected light is separated into R component, G component and B component, by the use of three line sensors, one for each of the color components. Using the technique for scanning the original image 2, color signals corresponding to each component for an entire image may be obtained. Alternatively, three different colored light sources may be used sequentially with one line sensor to form the R.G.B. signals representing the original image 2. If there is optical distortion in the primary scanning direction P of an optical system, for example in lens 6, the line sensor 8 will output signals that include the distortion as part of the information contained in the signal. Optical systems without distortion are hard to build and expensive, especially if line sensor is used to receive images that are magnified by the optical portions of the scanner. For these reasons, it is difficult to obtain undistorted information in scanning signals. Furthermore, when color image signals are obtained, there will often be error of the positional information between the signals for one color and another corresponding to the different aspects of aberration introduced by transverse chromatic aberration of the optical system. As the complexity of the optical system increases by requiring color information and other such demands on the optical characteristics of the system, the costs and set-up time increase dramatically while an increase in performance becomes more and more difficult to achieve. If three line sensors 8 are used to obtain color images, the respective individual sensors in each line sensor 8 must be aligned to correspond to the same point in the original image 2. That is, a positional arrangement must be achieved such that light from a single point on an original image will strike the same sensor respectively in each of the separate line sensors. This positional arrangement is both elaborate and difficult to achieve as well as costly to manufacture. SUMMARY OF THE INVENTION It is a primary object of the present invention to solve the problems mentioned above and to make available an apparatus for reading images that will be cheap and easily used, and yet print or reproduce images taken from the original without read-out position errors and the like. An image reading apparatus in accordance with the present invention comprises: (a) a sample chart on which optically distinguishable line are drawn at predetermined intervals; (b) an image device for reading said sample chart and an image, and producing first signals and second signals respectively; (c) write address appointing means for appointing a write address according to a clock pulse; (d) a memory for storing said second signals at said write address; (e) read-out address appointing means for appointing a read-out address corresponding to said write address; said read-out address being calculated on the basis of said first signals; and (f) read-out means for reading out said second signals from locations of said memory selected by said read-out addresses. A method for reading images in accordance with the present invention comprises the steps of: (a) reading a sample chart by using an imaging device, said sample chart having optically distinguishable lines , said lines drawn on said sample chart at predetermined intervals; (b) storing first data derived from reading said sample chart in a memory location selected by a write address generated according to a clock pulse; (c) calculating a read-out address on the basis of said first data; (d) reading an image by using said image device; (e) storing second data derived from reading said image in a memory location selected by a address generated according to a clock pulse; and (f) reading out said second data from location of said memory selected by said read-out address. A method for reading images in accordance with the present invention comprises the steps of : (a) scanning a sample chart with an image scanning device, said sample chart having a black line drawn repeatedly upon it at predetermined intervals; (b) storing first data in appointed write addresses of a memory means, said first data being derived from scanning said sample chart; (c) reading out said first data stored in said memory means and transferring read-out first data to computing means to calculate center address; (d) computing said center addresses of given areas of said sample chart, said given areas corresponding to the areas around the center part of each said black line by the computing facility of said computing means; (e) storing in second memory means a look-up table, which is made with said computed center addresses and computed ideal center address obtained if said sample chart is scanned with an ideal optical system, (f) scanning an image with said image scanning device; (g) storing second data in appointed write addresses of said memory means, said second data being derived form scanning said image; and (h) reading out said second data stored in said memory means according to the adjusted read-out addresses in order to read out the data which correspond to said image, when said read-out address is given to said 2nd memory means where said look-up table is stored, said adjusted read-out address output is generated by said 2nd memory means. While the novel features of the invention are set forth in a general fashion, particularly in the appended claims, the invention, both as to organization and content, will be better understood and appreciated, along with other objects and features thereof, from the following detailed description taken in conjunction with the drawings. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a diagram showing a prior apparatus for reading images. FIG. 2 is a diagram showing a complete arrangement of apparatus and function blocks as an embodiment of the present invention. FIGs. 3A and 3B are block diagrams showing an arrangement for operations to form a look-up table as an embodiment of the present invention. FIGs. 4A and 4B are block diagrams showing the ordinary operations for reading images as an embodiment of the present invention. FIG. 5 is a diagram showing a sample chart. FIG. 6 is a diagram showing signals derived from scanning the original and the signals when they have been adjusted. FIG. 7 is a numerical string used in explaining how to compute the center address corresponding to the center part of each black line in the sample chart. FIG. 8 is a diagram showing a sample look-up table. DETAILED DESCRIPTION OF THE INVENTION EMBODIMENT FIG. 2 is a block diagram showing a complete arrangement of apparatus and function blocks as an embodiment of the present invention. The signals from a CCD line sensor 8 (imaging device), comprising signals from a series of individual sensors 8a arranged in a line, are stored at particular locations in a memory 22 on the basis of address data provided by circuit 24 for determining sequential write addresses in turn. A circuitry 26 for providing adjusted read-out addresses is comprised of a circuit 28 for adjusting read-out addresses which are identical with the write addresses. In the circuit 28 for adjusting the read-out addresses, an adjusted read-out address is obtained by using the actual data derived from scanning the sample chart 30 with the CCD line sensor 8, and the computed data which is the same data that is obtained if the sample chart 30 is scanned with an ideal optical system, the sample chart 30 having a black line 30a described upon it at regular intervals. The data, in a given memory device location, whose read-out address has been adjusted accordingly, is delivered as an image signal. These compensated image signals are free of optical system distortion or the like, in the primary scanning direction P, that is otherwise added to the images being scanned. In the present invention, a new mode of operation is necessary to form a look-up table in addition to an ordinary reading mode used to read the original image. This look-up table is used to adjust the read-out addresses. The details of the operations needed to form the look-up table, as an embodiment of the present invention, are shown in FIG. 3A. In the embodiment described above, toggle line memory 22 is used as memory for storing signals from the line sensor 8. A memory 28 is also provided for storing the look-up table. The look-up table for adjusting the read-out address needs to be formed and stored in the memory 28 prior to scanning an original image 2. The mode to form look-up table will be described hereinafter. First, the sample chart 30 which is located on the edge of the table 4 is set on a reading line 20 by rotating the motor 10 and moving the table 4, and then a portion of one line in the sample chart 30 is scanned by the CCD 8. Then control circuit 44 signals gate 48 through control signal line 148 to pass the data from address counter 36 to gate 50, and gate 50 through control signal line 150 to pass data from gate 48 to memory 22b. That is, the output of address counter 36 is given to memory device 22b as address data. Gate 46 is instructed not to pass data from address counter 36 to memory 22a by control circuit 44. Control circuit 44 gives a drive signal to line sensor 8 through control signal line 60. The CCD line sensor 8, is comprised of a series of individual sensors 8a arranged in a line. The signals stored in the CCD line sensor 8 are fed to the sample/ hold circuit 32 on the basis of the signals given through the control signal line 60. The outputs of the sample/hold circuit 32 are converted into their digital equivalents by A/D converter 34. Control circuit 44 sends an appropriately timed line-start pulse and an image-clock signal to the address counter 36 through the control line 135 and 136 in addition to sending the drive signal to line sensor 8. The line-start pulse is delivered before reading out the data of the portion of the line from the line sensor 8. The image-clock signal output is synchronized with the drive signal output. Therefore, address counter 36 generates a write address data output which is changed regularly corresponding to each of signals from the CCD and synchronized with it. When these address data signals are given to the address input terminal of the memory 22b each signal from the CCD is stored in the appropriate write address which the write address data signal indicates. In this fashion, the data derived from scanning the portion of one line in the sample chart 30 is stored in the memory 22b. FIG. 5 shows the sample chart 30 in accordance with the embodiment of the present invention. The black line 30a is described at regular intervals in this sample chart 30. When there is distortion or transverse chromatic aberration in the optical system such as the lens 6, then the data that gets stored in memory 22b is similar to that shown in cases 1, 2 and 3 of the waveforms of FIG. 6. In FIG. 6, the horizontal axis represents the address of memory 22b. Then control circuit 44 signals the toggle input Ch through control line 122, so that memory 22b is coupled to the output terminal for reading out data. Control circuit 44 signals the gates 38, 40, 50 and 52, through control lines 138, 140, 150 and 152, so that they are coupled to side B. The detail of this configuration is shown in FIG. 3B. Then, as computing circuit 42 gives a read-out address data signal which is identical with the write address to the address input terminal of memory 22b through address line 200 in turn, memory 22b generates data outputs which are derived from scanning the sample chart 30. This data outputs are fed through gate 52 into computing circuit 42. Case 1 in the waveforms shown in FIG. 6 is a typical representation of the data outputs mentioned above. In computing circuit 42, when the level of one of signal values, as shown in the example of case 1 of the waveform diagram of FIG. 6, is equal to or greater than a predetermined threshold value, the signal value is converted into a value of "1" and when the level of one of signal values is less than this predetermined threshold value, the signal value is converted into a value of "0". These conversions result in a numerical string similar to that shown in FIG. 7. In other words, within the numerical string each series such as "11111" will represent a black line 30a of the sample chart 30 and each series such as "00000" will represent a white portion. On the basis of the data obtained in this way, computing circuit 42 computes a center address corresponding to the center location of each series representing each black line. For example, when the number of "1"s in a series of value "1" is n and the address corresponding to the first "1" in the series is a₀, the measured center address A is given by; A = a₀ + ( n - 1 ) / 2 When the number of the black line in the sample chart 30 is m, m pieces of the center address A₀ to A m-1 are obtained. If computing circuit 42 has theoretical center address data M₀ to M m-1 , corresponding to the center location of the numerical string representing each black line 30a obtained from an ideal optical system, then there is no distortion or aberration. The detail of the position of the center address M₀ to M m-1 is indicated by the dashed lines in FIG. 5 and FIG. 6. In cases 1 and 2, it is understood that read-out position error owing to optical system or the like has occurred and that it gets worse as the addresses approach either end. In case 3, it is understood that the positional arrangement of line sensor 8 is misaligned. Computing circuit 42 gives the center address data A₀ through A m-1 to the data input terminal of memory 28 through gate 40. In addition it gives the center address data M₀ through M m-1 signals to the address input terminal of memory 28 through gate 38. Using this scheme, address data A₀ is stored in address M₀ of memory 28, address data A₁ is stored in the address M₁ and this action is repeated similarly for all sets of A m and M m . That is, the look-up table as shown FIG. 8 is formed in memory 28. Meanwhile, address data y, corresponding to the interval address x between one center address and the next center address is given by : where x≦M₁ y = A ₀- A ₁ M ₀- M ₁ × X + M ₀× A ₁- M ₁× A ₀ M ₀- M ₁ where M₁≦X≦M₂ y = A ₁- A ₂ M ₁- M ₂ × X + M ₁× A ₂- M ₂× A ₁ M ₁- M ₂ : : : where M m-2 ≦X y = A m -2 - A m -1 M m -2 - M m -1 × X + M m -2 × A m -1 - M m -1 × A m -2 M m -2 - M m -1 Such continuous function as "Aitken Function" method, "Lagrange Function" method may be used instead of the method aforementioned, for example. It is a function of the look-up table thus obtained to generate address data outputs indicating the address where the correct data should have been stored in the toggle-line memory 22 once an address has been given to the look-up table. For example, when the address data M₀ is given, the look-up table should generate the address data A₀ as its output. The ordinary mode to read the original image 2 will be described hereinafter. In this mode, control circuit 44 signals gates 46 and 48 to switch and gates 38, 40, 50 and 52 to remain coupled with the side of A. In FIG. 4A, gates 46 and 48 are coupled with the side of B. Then, the switch signal is given to the toggle input terminal of the toggle line on memory 22. Thereby line memory 22a is ready to be written to and line memory 22b is ready to be read out from. At this time, analog signals derived from scanning the portion of one line of the original image 2 by the line sensor 8 are converted into digital equivalents by A/D converter 34 in turn. The converted digital signals are given to the input of the memory 22a in turn, while, address counter 36 generates an write address data output which is changed regularly according to each of the above mentioned digital signals and synchronized with it. Accordingly, the data of the portion of one line data from line sensor 8 is stored in the memory 22a. Then, table 4 is moved in the secondary scanning direction S by rotating the motor 10 in order to be prepare to scan the next line of original image 2. At the time, control circuit 44 signals the toggle input Ch terminal to be coupled to the write terminal of memory 22b and to be coupled to the read-out terminal of memory 22a. In addition it signals gates 46 and 48 to be coupled to side A. The details of this configuration are shown in FIG. 4B. Then the next line of data from line sensor 8 is stored in memory 22b in the same fashion. The write address data from address counter 36 has also been given to the input terminal of memory 28 through gate 38. Memory 28 already has the record of the look-up table for adjusting the read-out address. Accordingly, Memory 28 generates the adjusted read-out address data output to compensate for any image position error. The adjusted read-out address is given to memory 22a through gates 40 and 46. The data output from a given memory device location, that is pointed at by the adjusted read-out address obtained in this way, is thus generated. The read-out data is delivered through gate 52 as the image signal which is changed into the goal signal as shown in FIG. 6. The apparatus returns to the status shown in FIG. 4A after each such operation. The operation is then repeated in the same fashion for each line to be scanned. In the embodiment described above, the adjustment of the read-out address is effected by computing the center address corresponding to the center portion of the black line 30a in the sample chart 30. When the adjustment is to be made on the basis of bar-pattern in the sample chart 30, any other means may be used. For example, the adjustment of the read-out address may be effected on the basis of an address corresponding to the beginning or ending portion of black line 30a. In the adjustment of the read-out address heretofore described, the look-up table is used to obtain the adjusted read-out address. the adjusted read-out address may also be created directly by a computing circuit instead of by using a look-up table. Image data from the sample chart 30 may also be obtained by averaging two sets of data derived by scanning the sample chart 30 twice at the same location. In an apparatus of the present invention, the adjusted read-out address is obtained by using the actual data derived from scanning the sample chart 30 with an image device, and the computed data which is the same data that is obtained if the sample chart 30 is scanned with an ideal optical system. Therefore, an apparatus constructed according to the present invention can output a goal image signal which is obtained by adjusting the distorted read data, the distortion resulting from an imperfect optical system or the positional arrangement of the line sensor. That is, the present invention makes available an apparatus for reading images that will be cheap and easy to arrange, and yet print or reproduce the original image without distortion, read-out position error or the like occurring. Moreover, quick response may be effected by using a look-up table. Although the invention has been described in its preferred form with a certain degree of particularity, it is understood that the present disclosure of the preferred form has been changed in the details of its construction and any combination and arrangement of parts may be resorted to without departing from the scope of the invention as hereinafter claimed.

Claims: An image reading apparatus comprising: (a) a sample chart (30) on which optically distinguishable lines(30a) are drawn at predetermined intervals; (b) an image device (8) for reading said sample chart (30) and an image (2), and producing first signals and second signals respectively; (c) write address appointing means (24) for appointing a write address according to a clock pulse; (d) a memory (22) for storing said second signals at said write address; (e) read-out address appointing means (28) for appointing a read-out address corresponding to said write address; said read-out address being calculated on the basis of said first signals; and (f) read-out means (26) for reading out said second signals from locations of said memory (22) selected by said read-out addresses. An apparatus according to claim 1 wherein said read-out address appointing means (28) comprises a look-up table which represents a relation between said read-out address and said write address. An apparatus according to claim 1 or 2 wherein said sample chart (30) forms at a table (4) for setting said image (2) thereon. An image reading method comprising the steps of: (a) reading a sample chart (30) using an imaging device (8), said sample chart (30) having optically distinguishable lines (30a) , said lines (30a) being drawn on said sample chart (30) at predetermined intervals; (b) storing first data derived from reading said sample chart (30) in a memory (22b) location selected by a write address generated according to a clock pulse; (c) calculating a read-out address on the basis of said first data; (d) reading an image using said image device (8); (e) storing second data derived from reading said image (2) in a memory (22) location selected by a address generated according to a clock pulse; and (f) reading out said second data from a location of said memory (22) selected by said read-out address. A method according to claim 4 wherein said step (c) comprises the steps of: (c-1) forming relation data between said read-out address and said write address on the basis of said first data and theoretical data; and (c-2) determining said read-out address corresponding to said write address on the basis of said relation data. A method according to claim 5 wherein said relation data is stored in a memory (28) as a look-up table. A method of reading images comprising the steps of (a) scanning a sample chart (30) with an image scanning device (8), said sample chart (30) having a black line (30a) drawn repeatedly thereon at predetermined intervals; (b) storing first data in appointed write addresses of a memory means (22b), said first data being derived from scanning said sample chart (30); (c) reading out said first data stored in said memory means (22b) and transferring read-out first data to computing means (42) to calculate a center address; (d) computing by said computing means (42) said center addresses of given areas of said sample chart (30), said given areas corresponding to the areas around the center part of each said black line (30a); (e) storing in a 2nd memory means (28) a look-up table which relates said computed center addresses and computed ideal center addresses which would be obtained by scanning said sample chart (30) with an ideal optical system; (f) scanning an image (2) with said image scanning device (8); (g) storing second data in appointed write addresses of said memory means (22), said second data being derived from scanning said image (2); and (h) reading out said second data stored in said memory means (22) according to the adjusted read-out addresses in order to read out the data which correspond to said image (2), said read-out address being given to said 2nd memory means (28) in which said look-up table is stored, said adjusted read-out address output being generated by said 2nd memory means (28). A method in accordance with claim 7 wherein said sample chart (30) is provided on a table (4) upon which said image (2) is set.

Inventors: SAKAMOTO TAKASHI DAINIPPON SCR, SAKAMOTO, TAKASHI, DAINIPPON SCREEN, MFG.CO.,LTD.
Applicants: DAINIPPON SCREEN MFG, DAINIPPON SCREEN MFG. CO., LTD.
Application year: 1991
Main classification: H04N1
IPC codes: H04N1, H04N9