Image combination method
Technical field
The present invention relates to a kind of image joint method, be applied to the image information that image reading apparatus scans file to be scanned, and it is passed in the scanning process of terminating machine, when the image information of being kept in the data buffer of image reading apparatus was too much, the particularly a kind of document image information to be scanned that can avoid scanning gained had the overlapping or the image joint method of the phenomenon of dialysis.
Background technology
In general, image reading apparatus 10 is when carrying out image scanning, need forceful rays are beaten to file (not shown) to be scanned, see also the Organization Chart of the prior art shown in " Fig. 1 ", and linear photosensory assembly 101 is behind the light that scans the image information with file to be scanned, image information is sent to graphics processing unit 102 with the picture signal of analog form, transfer picture signal to digital form by graphics processing unit 102 again, and deposit data buffer 103 in, and data transmission interface 104 is after reaching an agreement with terminating machine 105, terminating machine 105 be obtained and be transferred to data transmission interface 104 can with picture signal from data buffer 103 with this agreement, so just can obtain the image information of file to be scanned, and be shown in terminating machine 105.
Certainly, be higher than when data buffer 103 is transferred to the speed of terminating machine 105 from the speed that graphics processing unit 102 is transferred to data buffer 103 in picture signal, picture signal will build up in image buffer 103, and makes image buffer 103 be tending towards saturated.In case when picture signal was accumulated to a certain critical point, graphics processing unit 102 just can be given an order, require motor M1 to stop action, suspend the image information that transmission has just scanned to make linear photosensory assembly 101.At this moment, motor M1 just can self-scanning speed slows down, and stopping to drive linear photosensory assembly 101, and obtains plenty of time, makes the picture signal in the image buffer 103 be able to processed finishing.Afterwards, motor M1 drives linear photosensory assembly 101 once more and quickens, to proceed scanning under sweep speed.At last, again the image information of each time scanning gained is engaged.
Because motor M1 is after stopping action, when being activated once more, need one section acceleration distance, can reach sweep speed required when scanning,, linear photosensory assembly 101 obtains acceleration distance so must retreating, with to dyne data buffer 103 insufficient spaces and before the position that stops to move, just reach desired sweep speed last time.And when online sexy optical assembly 101 scans file to be scanned once more, its also need correctly to be connected go up previous scan stop operating position, can make the document image information to be scanned that is scanned comparatively complete continuously.
But motor M1 and transmission component (not shown) are when mutual transmission; the machine driving error that regular meeting causes because of gear clearance; thus, the image information of the file to be scanned of scanning gained also just has the overlapping or the phenomenon of dialysis easily before and after motor M1 stops to move.
Based on above-mentioned, the later stage develops and another kind of scan mode, and it is in the process that motor retreats, doing scanning is in the lump also stored, then relatively motor stops to move the image information of gained when before and after moving back, with the point that obtains coincideing the most, and as the image junction point.
Yet, because this technology when movement images information, is the image information of file more to be scanned, thus high when repeated if the image information of file to be scanned has, just be easy to generate the joint mistake.
Summary of the invention
In view of above problem, of the present invention mainly is in order to a kind of image joint method to be provided, to use the document image information of avoiding scanning gained to be scanned that the overlapping or the phenomenon of dialysis are arranged.
Therefore, for reaching above-mentioned purpose, the disclosed image joint method of the present invention be to be applied to the image information that image reading apparatus scans file to be scanned, and with its scanning process that is passed to terminating machine, the method includes the following step:
When the insufficient space of image reading apparatus during with store images information again, photosensory assembly group self-scanning speed is slowed down stopping scanning, and the acquisition encoding strip is at the image of this stop position.Afterwards, make the photosensory assembly group retreat the counter-rotating distance, and the counter-rotating distance is greater than the required acceleration distance of photosensory assembly group.And the space for the treatment of image reading apparatus is when being cleared, and the photosensory assembly group is quickened until sweep speed, and scan image information and in one acquisition period, the image of acquisition encoding strip.Then, compare the image of the encoding strip of front and back time acquisition by image reading apparatus, and obtain the image junction point.According to the image junction point, the image information of time scanning before and after engaging, and the image information of continuation scanning file to be scanned are until finishing scanning again.
Therefore, the encoding strip that the present invention can be captured by the matrix photosensory assembly is proceeded the scanning of the image information of file to be scanned, and the image information that does not have a file to be scanned has and overlaps or the phenomenon of dialysis.
Relevant characteristics and implementation of the present invention cooperate diagram to be described in detail as follows as most preferred embodiment now.(for making purpose of the present invention, structure, feature and function thereof there are further understanding, cooperate embodiment to be described in detail as follows now.)
Description of drawings
Fig. 1 is the Organization Chart for prior art;
Fig. 2 is for using the Organization Chart of the specific embodiment of the invention;
Fig. 3 is the flow chart for the specific embodiment of the invention; And
Fig. 4 is the encoding strip of the specific embodiment of the invention and the schematic diagram of file to be scanned.
The reference numeral explanation
Image reading apparatus 10
Linear photosensory assembly 101
Graphics processing unit 102
Data buffer 103
Data transmission interface 104
Terminating machine 105
Motor M1, M2
Image reading apparatus 20
Photosensory assembly group 201
Linear photosensory assembly 2011
Matrix photosensory assembly 2012
Graphics processing unit 202
Data buffer 203
Data transmission interface 204
Terminating machine 205
Encoding strip 30
File 40 to be scanned
Step 101 is when the insufficient space of image reading apparatus during with store images information again, and photosensory assembly group self-scanning speed is slowed down stopping scanning, and the acquisition encoding strip is at the image of this stop position
Step 102 makes the photosensory assembly group retreat the counter-rotating distance, and the counter-rotating distance is greater than the required acceleration distance of photosensory assembly group
When step 103 treated that the space of image reading apparatus is cleared, the photosensory assembly group was quickened until sweep speed, and scan image information reached in one acquisition period, the image of acquisition encoding strip
The image of the encoding strip of time acquisition before and after step 104 is compared by image reading apparatus, and obtain the image junction point
Step 105 is according to the image junction point, and the image information of time scanning before and after engaging, and the image information of continuation scanning file to be scanned are until finishing scanning.
Embodiment
The disclosed image joint method according to the present invention, it is the image information that is applied to image reading apparatus 20 scanning files 40 to be scanned (seeing also shown in " Fig. 4 "), and it is passed to the scanning process of terminating machine 205, and the device of carrying out the method includes photosensory assembly group 201, graphics processing unit 202, data buffer 203 and data transmission interface 204, sees also the Organization Chart of the application specific embodiment of the invention shown in " Fig. 2 ".
Photosensory assembly group 201 includes linear photosensory assembly 2011 and matrix photosensory assembly 2012, its neutral line photosensory assembly 2011 is in order to scan the image information of file 40 to be scanned, and obtain the image information of file 40 to be scanned, as for 2012 images of matrix photosensory assembly, the position of the file to be scanned 40 that is scanned to obtain in order to the encoding strip on the scan image scanner 10 30.And the action of linear photosensory assembly 2011 and matrix photosensory assembly 2012 is driven by motor M2.
Graphics processing unit 202 can receive the picture signal of the analog form that linear photosensory assembly 2011 transmitted, and the coding image signal that transmitted of matrix photosensory assembly 2012, and with these conversion of signals is digital form, after transferring to data buffer 203 again, give terminating machine 205 through data transmission interface 204 transmission.
Too much as for the image information of in data buffer 203, being kept in, when causing insufficient space, just make linear photosensory assembly 2011 stop scanning, capture the image of the encoding strip 30 on the image reading apparatus 10 this moment in the lump, so image buffer 203 has time enough the Image Information Processing in its space can be finished.Afterwards, make linear photosensory assembly 2011 continue to treat scanning document 40 again and scan, simultaneously the image of acquisition encoding strip 30 in one acquisition period.Then, the image of the encoding strip 30 that time is captured before and after relatively, and obtain the image junction point, and image junction point according to this, the image information of the file to be scanned 40 of time scanning before and after engaging, and continue the image information of scanning file 40 to be scanned, until finishing scanning.
Certainly, when not enough again, can reuse above-mentioned process in the space of data buffer 203.
Therefore, the flow chart of the Organization Chart of the application specific embodiment of the invention shown in " Fig. 2 ", the specific embodiment of the invention shown in " Fig. 3 ", the encoding strip that reaches the specific embodiment of the invention shown in " Fig. 4 " and the schematic diagram of file to be scanned.Image joint method described in the present invention mainly includes the following step:
Step 101 is for when the insufficient space of image reading apparatus during with store images information again, and photosensory assembly group self-scanning speed is slowed down stopping scanning, and the acquisition encoding strip is at the image of this stop position.
This step 101 is to be learnt the situation of insufficient space by the space of graphics processing unit detection data buffer, and require the motor of image reading apparatus to stop to drive the photosensory assembly group by graphics processing unit, and stopping scanning, graphics processing unit also starts the image of matrix photosensory assembly acquisition encoding strip at stop position.
Step 102 is for making the photosensory assembly group retreat the counter-rotating distance, and the counter-rotating distance is greater than the required acceleration distance of photosensory assembly group.
This step 102 is to drive the photosensory assembly group by motor.
Step 103 is when being cleared for the space for the treatment of image reading apparatus, and the photosensory assembly group is quickened until sweep speed, and scan image information and in one acquisition period, the image of acquisition encoding strip.
This step 103 is to be detected in the space of data buffer by graphics processing unit, image information is cleared, so graphics processing unit makes motor drive the photosensory assembly group and quickens until sweep speed, and by linear photosensory assembly scan image information, and the image that captures encoding strip by the matrix photosensory assembly.
Step 104 is the images for the encoding strip of time acquisition before and after being compared by image reading apparatus, and obtains the image junction point.
This step 104 is to be made comparisons by graphics processing unit.
Step 105 is for according to the image junction point, engages the image information of front and back time scanning, and continues the image information of scanning file to be scanned, until finishing scanning.
Therefore, the encoding strip 30 that the present invention can be captured by matrix photosensory assembly 2012 is proceeded the scanning of the image information of file 40 to be scanned.Thus; disclosed because motor M1 of prior art and transmission component (not shown) are when transmission mutually; regular meeting avoids because of the machine driving error that gear clearance causes; and the image information that does not have file to be scanned has the overlapping or the phenomenon of dialysis, and throws off the caused similar situation of another kind of prior art.
Though the present invention discloses as above with aforesaid preferred embodiment; right its is not in order to limit the present invention; anyly have the knack of alike skill person; without departing from the spirit and scope of the present invention; when can doing a little change and retouching, therefore scope of patent protection of the present invention must be looked the appended claim person of defining of this specification and is as the criterion.