Background technology
Shown in Figure 1 is No. 86113269 patents of invention " device of image scanning and method for rapidly positioning " that the applicant applied for to Patent Office of the People's Republic of China on September 12nd, 1986, reach the enforcement structure of disclosed image-scanning device in the Chinese invention patent 98100478.4 " device of image scanning and method for rapidly positioning " of application on March 4th, 98, comprise light signal processing device 11 and the scanning platform 12 formed by image pick-up device 111 and drive unit 112, image pick-up device 111 is used to pick up the image of file to be scanned and is converted to numerical data to be handled, drive unit 112 is connected with image pick-up device, is used to drive image pick-up device 111 operations.Scanning platform 12 is used to put file 13 to be scanned, the zone 15 that has scanning start line 121, first indicia patterns 141 that is completed for printing with standard black and second indicia patterns 142 on it and finish with standard white.Specified point A on first indicia patterns 141 or the specified point B on second indicia patterns to the distance that scans start line 121 be a preset length yb.The enforceable pattern form of indicia patterns is respectively as shown in Fig. 2 (a), 2 (b), 2 (c), 2 (d), 2 (e), 2 (f), 2 (g), 2 (h).Its setting principle is: when light signal processing device moves to when carrying out image pick-up operation on first and second indicia patterns, the first reference point coordinate position and the second reference point coordinate position with obtaining in first indicia patterns 141 have funtcional relationship between the cursor position of specified point Building A in the two reference point coordinate positions and first indicia patterns.In like manner, can obtain the 3rd reference point coordinate position and the 4th reference point coordinate position in second indicia patterns 142, also have funtcional relationship between the coordinate position of specified point B in the two reference point coordinate positions and second indicia patterns.Specified point A or specified point B are pre-set length yb to the distance that scans start line 121, and the distance between specified point A and specified point B is a predetermined width L.
Because the error during assembling can cause the scanning optical track relative scanning start line 121 of image pick-up device 111 to produce uneven with it drift condition, or produce the magnification error because of the error of lens itself, so 86113269 patented technologies are after 111 pairs first indicia patterns 141 of image pick-up device and second indicia patterns 142 are carried out horizontal scanning, calculate degrees of offset and magnification error with first specified point A of computing gained and the location of pixels coordinate of the second specified point B, utilize the data of gained to revise again.
With Fig. 2 (a) is example, first indicia patterns 141 is that 45 first line segment 1411 and second line segments 1412 of spending constitute by having the first joining A and angle, second indicia patterns 142 is that the 3rd line segment 1421 and the 4th line segments 1422 of 45 degree constitute by having joining B and angle then, is printed on the zone 15 that standard white finished with standard black.When the user starts scanister and carries out scan operation, the operation according to the following steps under drive unit 112 drives of the image pick-up device 111 in the light signal processing device 11:
(a) make image pick-up device 111 move the first distance y a to indicia patterns from original position default numerical value when making;
(b) carry out horizontal scanning, behind scanned first line segment 1411, second line segment 1412, the 3rd line segment 1421 and the 4th line segment 1422, obtain the coordinate position (x1 of two reference Point C, D in first indicia patterns respectively, y1), (x2, y2) and therebetween coordinate position (the x3 of two reference point E, F in distance (x2-x1=d) and second indicia patterns, y3), (x4, distance (x3-x4=d) y4) and therebetween;
(c) utilize trigonometric function concern tan45 °=1 coordinate position that obtains first joining and second joining respectively (x1, y1+d), (x3, y3+d) with horizontal scanning line to scan start line 121 apart from d+yb;
(d) make image pick-up device 111 (c) moving of being obtained set by step apart from d+yb, and be positioned to scan on the start line 121 and from it one scan starting point S begin to scan;
(e) utilization formula (1), (2) obtain degrees of offset and magnification error, utilize the gained data to revise;
Scanning optical track deflection m=(y3-y1)/(x3-x1) ... formula (1)
M promptly represents the deviation proportion of scanning optical track with respect to scanning start line 121.
The magnification error
Formula (2)
L is the physical length of two joining distances in the formula, with resolution 600DPI (dot per inch dots per inch), if L is 10 inches long, magnification is 1 o'clock, its scanning gained pixel should be 6000 points, if the pixel number of actual scanning gained (x3-x1) is 5700 points, y3-y1=0 is just then its magnification error σ is 1-5700/6000=0.05.
The shortcoming of said method can be referring to Fig. 3, when zone 15 that standard white is finished because of make or use pollute after, occur assorted point 31 on it, will easily cause in step (b) horizontal scanning to obtain the action generation mistake of two reference point E, F of two reference Point C, D and second indicia patterns of first indicia patterns.In addition, image pick-up device 111 needs to move the first distance y a just can obtain reference Point C in the indicia patterns, D, E, F to indicia patterns operation from this reference position in step (a), increase scanning required time and the problem that causes device length to increase, problem to be solved by this invention that Here it is with producing.
Summary of the invention
The detection method that the objective of the invention is to design a kind of image-scanning device and imitate big rate error and drift rate, it is the application of appending to patent of invention 86113269 formerly, can prevent the assorted situation of thinking reference point by mistake and producing main misoperation of putting, and then improve the fault-tolerant ability of image-scanning device.
The object of the present invention is achieved like this: image-scanning device, being included in reference position begins to move to pick up document image to be scanned and to transfer numerical data light signal processing device of handling and the scanning platform that is used to put file to be scanned to a direction, have the scan start point and first indicia patterns and second indicia patterns that are positioned on the light signal processing device moving direction on the scanning platform, it is characterized in that:
Described first, second indicia patterns is separately positioned on described light signal processing device in the background area of original position, when carrying out image pick-up operation on indicia patterns, light signal processing device obtains the first reference point coordinate position on indicia patterns and the background area boundary line, the second reference point coordinate position, the 3rd reference point coordinate position and the 4th reference point coordinate position, first, between the coordinate position of first specified point one funtcional relationship is arranged in the second reference point coordinate position and first indicia patterns, the 3rd, between the second specified point coordinate position one funtcional relationship is arranged in the 4th reference point coordinate position and second indicia patterns, it is the preset length vector that first specified point points to scan start point, first, distance between second specified point is a predetermined width, according to the coordinate position of two reference point, funtcional relationship, do not have length vector and predetermined width in advance and can obtain fast the location and according to the magnification error that obtains, deviation ratio is proofreaied and correct.
According to technique scheme, first, second indicia patterns in the image-scanning device is respectively first, second triangle black color lump, carry out the image pick-up operation horizontal scanning at light signal processing device and cross the first triangle black color lump and white background zone formation two boundary lines and obtain the first reference point coordinate position and the second reference point coordinate position, carry out the image pick-up operation horizontal scanning at light signal processing device and cross the second triangle black color lump and white background zone formation two boundary lines and obtain the 3rd reference point coordinate position and the 4th reference point coordinate position.
According to technique scheme, formed two boundary lines in the first triangle black color lump and white background zone are two and have the line segments that first joining and angle are 45 degree in the image-scanning device, described first specified point is first joining, wherein line segment is parallel to the moving direction of light signal processing device, and first joining to the vector of scan start point is described preset length vector; Formed two boundary lines in the second triangle black color lump and white background zone are two and have second joining and angle is the line segments of 45 degree, described second specified point is second joining, and wherein line segment is parallel to the moving direction of light signal processing device.
According to technique scheme, the funtcional relationship in the image-scanning device is: described the first, the 3rd reference point coordinate position is that length equals the distance between first, second or the 3rd, the 4th reference point and direction is the vector that is parallel to the light signal processing device moving direction to the vector of first, second joining respectively.
According to technique scheme, light signal processing device in the image-scanning device includes image pick-up device and drive unit, image pick-up device is used to pick up the image of file to be scanned and transfers numerical data to be handled, drive unit is connected with image pick-up device, is used to drive image pick-up device and operates according to the following steps:
(a) make image pick-up device be positioned at original position diabolo black color lump and carry out image pick-up operation:
(b) carry out horizontal scanning, obtain first, second reference point coordinate position (x1 respectively when scanned first, second triangle black color lump and white background formed first, second, third, fourth boundary line in zone, y1), (x2, y2) and therebetween distance (x2-x1=d), and the coordinate position of the 3rd, the 4th reference point (x3, y3), (x4, distance (x3-x4=d) y4) and therebetween;
(c) utilize trigonometric function tan45 °=1 coordinate position that obtains first joining and second joining respectively (x1, y1+d), (x3, y3+d) with horizontal scanning line to scan start line apart from d+yb;
(d) make image pick-up device set by step (c) distance of being obtained move, and be positioned to scan on the start line, and one scan starting point S begins to scan from it;
(e) utilization formula (1): scan optical track deflection m=(y3-y1)/(x3-x1) and acquisition degrees of offset and utilization formula (2): the magnification error
And obtain the magnification error, and utilize the gained data information to revise again, L is a predetermined width for the actual range of first, second joining in the formula.
The method that the present invention obtains magnification error and deviation ratio is applied in the image-scanning device, this image-scanning device is included in reference position to begin to move to pick up document image to be scanned and to transfer numerical data light signal processing device of handling and the scanning platform that is used to put file to be scanned to a direction, have the scan start point and first indicia patterns and second indicia patterns that are positioned on the light signal processing device moving direction on the scanning platform, first, second indicia patterns is separately positioned on described light signal processing device in the background area of original position, when carrying out image pick-up operation on indicia patterns, light signal processing device obtains the first reference point coordinate position on indicia patterns and the background area boundary line, the second reference point coordinate position, the 3rd reference point coordinate position and the 4th reference point coordinate position, first, between the coordinate position of first specified point one funtcional relationship is arranged in the second reference point coordinate position and first indicia patterns, the 3rd, between the second specified point coordinate position one funtcional relationship is arranged in the 4th reference point coordinate position and second indicia patterns, it is the preset length vector that first specified point points to scan start point, first, distance between second specified point is a predetermined width, and carry out according to the following steps the location of this device:
(a) make image pick-up device be positioned at original position first, second indicia patterns is carried out image pick-up operation;
(b) carry out horizontal scanning, obtain the coordinate position of first, second reference point coordinate position and the 3rd, the 4th reference point when scanned the first, the second indicia patterns and the white background formed first, second, third, fourth 4 sections boundary lines in zone respectively;
(c) utilize funtcional relationship obtain respectively first specified point and second specified point coordinate position (p, q), (r, s) with horizontal scanning line to the distance that scans start line;
(d) make image pick-up device set by step (c) distance of being obtained move, and be positioned to scan on the start line, and one scan starting point S begins to scan from it;
(e) utilization formula (1): scan optical track deflection m=(s-q)/(r-p) and acquisition degrees of offset and utilization formula (2) magnification error
And obtain the magnification error, and utilize the gained data information to revise again, L is a predetermined width for the actual range of first, second specified point in the formula.
According to technique scheme, obtain in the method for magnification error and deviation ratio, first, second indicia patterns is respectively with first, the second triangle black color lump constitutes, carry out the image pick-up operation horizontal scanning at light signal processing device and cross the first triangle black color lump and white background zone formation two boundary lines and obtain the first reference point coordinate position and the second reference point coordinate position, carry out the image pick-up operation horizontal scanning at light signal processing device and cross the second triangle black color lump and white background zone formation two boundary lines and obtain the 3rd reference point coordinate position and the 4th reference point coordinate position.
According to technique scheme.Obtain in the method for magnification error and deviation ratio, formed two boundary lines in the first triangle black color lump and white background zone are two and have first joining and angle is the line segments of 45 degree, first specified point is first joining, wherein line segment is parallel to the moving direction of light signal processing device, and first joining to the vector of scan start point is the preset length vector; Formed two boundary lines in the second triangle black color lump and white background zone are two and have second joining and angle is the line segments of 45 degree, and second specified point is second joining, and wherein line segment is parallel to the moving direction of light signal processing device.
According to technique scheme, obtain in the method for magnification error and deviation ratio, described funtcional relationship is that the first, the 3rd reference point coordinate position is that length equals the distance between first, second or the 3rd, the 4th reference point and direction is the vector that is parallel to the light signal processing device moving direction to the vector of the first, the second joining respectively.
Another image-scanning device of the present invention, being included in reference position begins to move to pick up document image to be scanned and to transfer numerical data light signal processing device of handling and the scanning platform that is used to put file to be scanned to a direction, have first indicia patterns and second indicia patterns that are positioned at the scan start point on the light signal processing device moving direction and are arranged on the light signal processing device original position on the scanning platform, when carrying out image pick-up operation on indicia patterns, light signal processing device obtains the first reference point coordinate position of indicia patterns, the second reference point coordinate position, the 3rd reference point coordinate position and the 4th reference point coordinate position, first, between the coordinate position of first specified point one funtcional relationship is arranged in the second reference point coordinate position and first indicia patterns, the 3rd, between the second specified point coordinate position one funtcional relationship is arranged in the 4th reference point coordinate position and second indicia patterns, it is the preset length vector that first specified point points to scan start point, first, distance between second specified point is a preset length, according to the coordinate position of two reference point, funtcional relationship, preset length vector can obtain fast the location and according to the magnification error that obtains with predetermined width, deviation ratio is proofreaied and correct.
According to technique scheme, first, second indicia patterns in this image-scanning device is separately positioned on described light signal place and buries in the background area that is installed on original position, obtains the first reference point coordinate position, the second reference point coordinate position, the 3rd reference point coordinate position and the 4th reference point coordinate position on indicia patterns and the background area boundary line when light signal processing device carries out image pick-up operation on indicia patterns.
According to technique scheme, in this image-scanning device first, second indicia patterns is respectively with first, the second triangle black color lump constitutes, carry out the image pick-up operation horizontal scanning at light signal processing device and cross the first triangle black color lump and white background zone formation two boundary lines and obtain the first reference point coordinate position and the second reference point coordinate position, carry out the image pick-up operation horizontal scanning at light signal processing device and cross the second triangle black color lump and white background zone formation two boundary lines and obtain the 3rd reference point coordinate position and the 4th reference point coordinate position.
According to technique scheme, in this image-scanning device, formed two boundary lines in the first triangle black color lump and white background zone are two and have first joining and angle is the line segments of 45 degree, first specified point is first joining, wherein line segment is parallel to the moving direction of light signal processing device, and first joining to the vector of scan start point is the preset length vector; Formed two boundary lines in the second triangle black color lump and white background zone are two and have second joining and angle is the line segments of 45 degree, and second specified point is second joining, and wherein line segment is parallel to the moving direction of light signal processing device.
According to technique scheme, in this image-scanning device, its funtcional relationship is that the first, the 3rd reference point coordinate position is that length equals the distance between first, second or the 3rd, the 4th reference point and direction is the vector of parallel optical signal treating apparatus moving direction to the vector of first, second joining respectively.
According to technique scheme, light signal processing device in this image-scanning device includes image pick-up device and drive unit, image pick-up device is used to pick up the image of file to be scanned and transfers numerical data to be handled, drive unit is connected with image pick-up device, is used to drive image pick-up device and operates according to the following steps:
(a) make image pick-up device be positioned at original position diabolo black color lump and carry out image pick-up operation:
(b) carry out horizontal scanning, obtain first, second reference point coordinate position (x1 respectively when scanned first, second triangle black color lump and the white background formed first, second, third, fourth 4 sections boundary lines in zone, y1), (x2, y2) and therebetween distance (x2-x1=d), and the coordinate position of third and fourth reference point (x3, y3), (x4, distance (x3-x4=d) y4) and therebetween;
(c) utilize trigonometric function tan45 °=1 coordinate position that obtains first joining and second joining respectively (x1, y1+d), (x3, y3+d) with horizontal scanning line to scan start line apart from d+yb;
(d) make image pick-up device set by step (c) distance of being obtained move, and be positioned to scan on the start line, and one scan starting point S begins to scan from it;
(e) utilization formula (1): scan optical track deflection m=(y3-y1)/(x3-x1) and acquisition degrees of offset and utilization formula (2): the magnification error
And obtain the magnification error, and utilize the gained data information to revise again, L is a predetermined width for the actual range of first, second joining in the formula.
Embodiment
Further specify technical scheme of the present invention below in conjunction with embodiment and accompanying drawing.
, may cause the situation of misoperation and, be that example illustrates it to Fig. 4 (h) referring to Fig. 4 (a) at patented technology formerly with Fig. 4 (a) to the embodiment that indicia patterns makes improvements.
First indicia patterns and second indicia patterns are printed on the white background zone 42 that standard white finished with triangle black color lump 411,412 and with standard black respectively and constitute.The first triangle black color lump 411 and white background zone 42 formed boundary lines the 4111, the 4112nd, having first joining A (being specified point) and angle is two line segments of 45 degree.Equally, the second triangle black color lump 412 and white background zone 42 formed boundary lines the 4121, the 4122nd, having second joining B (being specified point) and angle is two line segments of 45 degree.
In conjunction with referring to Fig. 6, the configuration of this image-scanning device shown in the figure.First indicia patterns and second indicia patterns 411,412 and its white background zone 42 change the original position of being located at image pick-up device 611, with save formerly in the patent case image pick-up device 111 from reference position to indicia patterns the 14 required first mobile distance y a, to save sweep time and to shorten the length of device.Identical in other configuration of components and the patent case formerly in the image-scanning device.
In conjunction with referring to Fig. 1, joining A or B to the distance that scans start line 121 be preset length yb, when the user starts scanister and carries out scan operation, be used to pick up document image to be scanned in the light signal processing device 61 and transfer image pick-up device 611 that numerical data handles to drive through drive unit 612 and operate according to the following steps:
(a) image pick-up device 611 is positioned at original position indicia patterns is carried out horizontal scanning, obtain the coordinate position (x1 of reference Point C, D respectively in white background zone 42 formed boundary lines 4111,4112,4121,4122 when scanned triangle black color lump 411,412, y1), (x2, y2) and therebetween distance (x2-x1=d), and the coordinate position of reference point E, F (x3, y3), (x4, distance (x3-x4=d) y4) and therebetween;
(b) utilize trigonometric function tan45 °=1 coordinate position that obtains first joining and second joining respectively (x1, y1+d), (x3, y3+d) with horizontal scanning line to scan start line 121 apart from d+yb;
(c) make image pick-up device (b) moving of being obtained set by step, and be positioned to scan on the start line 121, and one scan starting point S begins to scan from it apart from d+yb;
(d) utilization formula (1): scan optical track deflection m=(y3-y1)/(x3-x1) and acquisition degrees of offset and utilization formula (2): the magnification error
And obtain the magnification error, and utilize the gained data information to revise again, m representative scanning optical track is with respect to the deviation ratio of scanning start line 321 in the formula, and L is a predetermined width for the actual range of first, second joining in the formula.
Referring to Fig. 5, because the method for identification reference point changes the reference point that detects the black and white intersection into by detecting self-existent reference point, even assorted point 51 therefore on the white background zone 32 of being finished, occurs with standard white, can not take place to mix a little yet and 51 to think reference point by mistake and produce the wrong situation that detects, improve the fault-tolerant ability of this image-scanning device greatly, thoroughly solved the shortcoming of patent formerly.