Main purpose of the present invention provides a kind of device of image scanning and bearing calibration with regard to being at deficiency of the prior art, and it can improve the scanning locating speed of image, and accuracy is higher, and error is less.
The object of the present invention is achieved like this: a kind of device of image scanning, comprise image capture module, black reflection district, light signal processing device, scanning platform, desire scanning document, scanning start line, image capture unit, drive unit, desire scanning document and be placed in scanning platform;
Light signal processing device is positioned at original position; Begin to move to a direction from this original position, acquisition is desired the image of scanning document and transfers digital signal to handle;
Described scanning platform has the scanning start line, has scan start point on the moving direction that is positioned at light signal processing device on it; And the first color lump district and the second color lump district, the first color lump district provides light signal processing device to carry out first colour correction, and the second color lump district provides light signal processing device to carry out second colour correction;
The described first color lump district is located between the original position and scan start point of light signal processing device, the second color lump district also is located between the original position and scan start point of light signal processing device, the first color lump district and the second color lump district intersection form first critical point and second critical point, the distance of first critical point between the scan reference starting point is first length-specific, and the distance of second critical point between the scan reference starting point is second length-specific;
Light signal processing device carries out the image capture action, utilize two critical points picture element point chromatic changing value on every side to obtain the pixel position coordinates of two critical points earlier, obtain the position of scan reference starting point again according to the location of pixels coordinate of first length-specific and first critical point, obtain the scanning optical track deflection and the light signal processing device magnification ratio error of light signal processing device according to the location of pixels coordinate of second length-specific and second critical point.
The first color lump district is a standard white rectangular area in the device of image scanning, the second color lump district is a standard black rectangular area, the first color lump district is surrounded by the second color lump district, and first colour correction action is bright response and the dark colour correction action of responding with second colour correction action.
The first color lump district is a standard black rectangular area in the device of image scanning, the second color lump district is a standard white rectangular area, the first color lump district is surrounded by the second color lump district, and first colour correction action is moved with second colour correction and moved for secretly responding with the colour correction of bright response.
The first color lump district is a standard white rectangular area in the device of image scanning, the second color lump district is a standard black rectangular area, the first color lump district is surrounded by the second color lump district, first colour correction action that the first color lump district provides light signal processing device to carry out bright response, second colour correction action that the second color lump district provides light signal processing device secretly to respond.
The first color lump district is a standard black rectangular area in the device of image scanning, the second color lump district is a standard white rectangular area, the first color lump district is surrounded by the second color lump district, first colour correction action that the first color lump district provides light signal processing device secretly to respond, second colour correction action that the second color lump district provides light signal processing device to carry out bright response.
The coordinates of pixels position of obtained two critical points (X1, Y1), (X2, Y2) obtain scanning optical track deflection and magnification ratio error with following formula in the device of image scanning; Scanning optical track deflection m=(Y2-Y1)/(X2-X1), magnification ratio error
Wherein L is the physical length of boundary line.
Light signal processing device comprises in the device of image scanning: desire the image of scanning document and transfer the image capture unit that a digital information is handled in order to acquisition; And the drive unit that is connected in image capture unit.
It is applied to a device of image scanning, and device of image scanning comprises: light signal processing device, and it moves to a direction since an initial position, and acquisition is desired the image of scanning document and transfers digital signal to handle; And, has scan start point on the moving direction that is positioned at light signal processing device on it in order to put the scanning platform of desiring scanning document; The first color lump district is located between the original position and scan start point of light signal processing device, the second color lump district also is located between the original position and scan start point of light signal processing device, the first color lump district and the second color lump district intersection form first critical point and second critical point, the distance of first critical point between the scan reference starting point is first length-specific, the distance of second critical point between the scan reference starting point is second length-specific, and its bearing calibration comprises following steps:
A. light signal processing device moves first distance to the first color lump district from original position;
B. light signal processing device moves, and light signal processing device carries out image capture when action, utilizes picture element point chromatic changing value around two critical points to obtain the pixel position coordinates of two critical points;
C. light signal processing device scans according to the position that length-specific moves to the scan reference starting point again;
D. obtain the scanning optical track deflection and the light signal processing device magnification ratio error of light signal processing device according to the location of pixels coordinate of second length-specific and second critical point.
Comprise among the step c in the image scan bearing calibration:
C1. light signal processing device moves second distance to the second color lump district from boundary line;
C2. light signal processing device moves the position scanning of the 3rd distance to the scan reference starting point again, second distance and the 3rd distance and be the distance of the scan start point and first critical point.
The first color lump district is a standard white rectangular area in the image scan bearing calibration, the second color lump district is a standard black rectangular area, the first color lump district is surrounded by the second color lump district, first colour correction action that the first color lump district provides light signal processing device to carry out bright response in step a, second colour correction action that the second color lump district provides light signal processing device secretly to respond in step c1.
The first color lump district is a standard black rectangular area in the image scan bearing calibration, the second color lump district is a standard white rectangular area, the first color lump district is surrounded by the second color lump district, first colour correction action that the first color lump district provides light signal processing device secretly to respond in step a, second colour correction action that the second color lump district provides light signal processing device to carry out bright response in step c1.
The coordinates of pixels position of obtained two critical points (X1, Y1), (X2, Y2) obtain scanning optical track deflection and magnification ratio error with following formula in the image scan bearing calibration;
Scanning optical track deflection m=(Y2-Y1)/(X2-X1)
The magnification ratio error
Wherein L is the physical length of boundary line.
Light signal processing device is by desiring the image of scanning document and transfer the image capture unit that a digital information is handled in order to acquisition in the device of image scanning; And the drive unit that is connected in image capture unit, this drive unit drives image capture unit and carries out the following step:
A. image capture unit moves first distance to the first color lump district from original position;
B. image capture unit moves, and image capture unit carries out image capture when action, utilizes picture element point chromatic changing value around two critical points to obtain the pixel position coordinates of two critical points;
C. image capture unit scans according to the position that length-specific moves to the scan reference starting point again.
Include among the step C of image capture unit:
C1. light signal processing device moves second distance to the second color lump district from boundary line;
C2. light signal processing device moves the position scanning of the 3rd distance to the scan reference starting point again, second distance and the 3rd distance and be the distance of the scan start point and first critical point.
In sum, the present invention can realize accurately and fast scanning location action, and can carry out the colour correction action in location action simultaneously, obtains significant data data such as scanning optical track deflection, magnification ratio error, has thoroughly improved the shortcoming of commonly using the practice.
The present invention is described in further detail below in conjunction with the specific embodiments of accompanying drawing.
See also Fig. 3, be the organigram of a preferred embodiment of the present invention, wherein comprise a light signal processing device 31 that is positioned at original position (initial point), it desires the image of scanning document and transfers a numerical data to handle in order to acquisition; Scanning platform 32 is put and is desired scanning documents 33, have on it scan initial line 321, with the printed first color lump district that finishes of standard black and be completed for printing the second color lump district with standard white.
When the user started scanning means and carries out scanning motion, light signal processing device was desired the image of scanning document in order to acquisition and transfers image capture unit 311 that a numerical data handles to drive image capture units via drive unit 312 and carry out the following step 11 comprises:
1, make image capture unit 311 secretly respond colour correction action (general prior art adopts and extinguishes fluorescent tube as response colour correction foundation secretly, but the correction error that the fluorescent tube chroma-luminance that CCD is responded to when extinguishing not is the standard black that presented for the actual scanning image to be produced) to the first color lump district from the initial one first distance Y a (when making, preset) that moves;
2, image capture unit 311 is moved and utilize the variation of picture element point chromatic value to measure to transfer boundary line to, and obtain two-end-point location of pixels coordinate (X1, Y1), (X2, Y2) than standard white by standard black;
3, make image capture unit 311 carry out bright response colour correction action to the second color lump district from the initial second distance Yb of moving (when making, presetting);
4, to scanning start line 321 positions, scan reference starting point S of specified point begins to scan on it to make image capture unit move the 3rd distance Y c (presetting) again when making, wherein Y=d+Yd.
Because the error during assembling, the scanning optical track that causes image capture unit 311 may produce the deflection situation on level land not with respect to scanning start line 321 or produce the error of magnification ratio, so the technology of the present invention can be carried out first joining that horizontal sweep obtained and the location of pixels coordinate (X1 of second joining in image capture unit 311, Y1), (X2, Y2), can use following formula (1), (2) to get oblique degree of deflection and magnification ratio error, and utilize the gained data information to revise.
Scanning optical track deflection m=(Y2-Y1)/(X2-X1) (1)
M promptly represents the deviation proportion of scanning optical track with respect to scanning start line 321.
The magnification ratio error
Wherein L is the physical length of two joining distances, with resolution 600DPI (Dot Per Inch, dots per inch), if L is 10 inches long, and magnification ratio is 1 o'clock, its scanning gained pixel number should be 6000 points, if the pixel number of actual scanning gained (x3-x1) is 5700 points, just then its magnification ratio error σ is
1-5700/6000=0.05。