CN106412371B - Image acquisition method and image capture and synthetic method - Google Patents

Image acquisition method and image capture and synthetic method Download PDF

Info

Publication number
CN106412371B
CN106412371B CN201510454728.6A CN201510454728A CN106412371B CN 106412371 B CN106412371 B CN 106412371B CN 201510454728 A CN201510454728 A CN 201510454728A CN 106412371 B CN106412371 B CN 106412371B
Authority
CN
China
Prior art keywords
image
temporary
sensor
acquisition method
optical mouse
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510454728.6A
Other languages
Chinese (zh)
Other versions
CN106412371A (en
Inventor
陈格猛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Teco Image Systems Co Ltd
Original Assignee
Teco Image Systems Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Teco Image Systems Co Ltd filed Critical Teco Image Systems Co Ltd
Priority to CN201510454728.6A priority Critical patent/CN106412371B/en
Publication of CN106412371A publication Critical patent/CN106412371A/en
Application granted granted Critical
Publication of CN106412371B publication Critical patent/CN106412371B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/024Details of scanning heads ; Means for illuminating the original
    • H04N1/028Details of scanning heads ; Means for illuminating the original for picture information pick-up
    • H04N1/03Details of scanning heads ; Means for illuminating the original for picture information pick-up with photodetectors arranged in a substantially linear array
    • H04N1/031Details of scanning heads ; Means for illuminating the original for picture information pick-up with photodetectors arranged in a substantially linear array the photodetectors having a one-to-one and optically positive correspondence with the scanned picture elements, e.g. linear contact sensors
    • H04N1/0311Details of scanning heads ; Means for illuminating the original for picture information pick-up with photodetectors arranged in a substantially linear array the photodetectors having a one-to-one and optically positive correspondence with the scanned picture elements, e.g. linear contact sensors using an array of elements to project the scanned image elements onto the photodetectors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/04Scanning arrangements, i.e. arrangements for the displacement of active reading or reproducing elements relative to the original or reproducing medium, or vice versa
    • H04N1/10Scanning arrangements, i.e. arrangements for the displacement of active reading or reproducing elements relative to the original or reproducing medium, or vice versa using flat picture-bearing surfaces
    • H04N1/107Scanning arrangements, i.e. arrangements for the displacement of active reading or reproducing elements relative to the original or reproducing medium, or vice versa using flat picture-bearing surfaces with manual scanning

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Input (AREA)
  • Image Processing (AREA)

Abstract

This case is about a kind of image acquisition method and image capture and synthetic method, and image acquisition method is comprising steps of provide the image capture unit including line Image Sensor and optical mouse sensor;Determine image capture resolution;Start counting optical mouse sensor and along specific direction movable image capture device;Obtain the sampling target value on specific direction;Line Image Sensor is set to capture at least one temporary image;According to the count results of optical mouse sensor, keep each temporary image corresponding to a temporary target value;Compare the order of magnitude that each temporary target value subtracts sampling target value, and using the corresponding temporary image of absolute value reckling as image to be synthesized.Therefore, the volume of image capture unit can be greatly reduced, and can efficiently use the characteristic of optical mouse sensor, to optimize to image acquisition method.

Description

Image acquisition method and image capture and synthetic method
Technical field
The present invention is about a kind of image acquisition method, in particular to a kind of image acquisition method and image capture and synthesis side Method.
Background technique
Since in modern society, people are increasingly dependent on hand-held device, such as smart phone or tablet computer etc., so literary The digitized demand of part is also more strong.In general, hard copy file carries out number by way of the image captures such as scan or photograph Change, to be converted into digital document.
In general, preferable image quality can be obtained by carrying out image capture in a manner of scanning, it is relatively easy to simultaneously Carry out the operations such as text-recognition.Has numerous scanner products on the market at present, such as platform type scanner or hand-held are swept Retouch device etc..
Even volume is still excessive however, hand-scanner, carried so that pocket can not be put into.It makes At the excessive reason of hand-scanner volume, existing hand-scanner is primarily due to when carrying out image capture, all The image acquisition method of coordinate setting is carried out by using locating wheel, and the necessary structure of locating wheel not can avoid locating wheel Ground accounts for Extremely volume, so that the volume of hand-scanner can not be toward lightening development.
So how to develop a kind of different previous image acquisition method and image capture and synthetic method, it is existing to improve There are the problems in technology and disadvantage, and the volume of image capture unit can be made to be greatly reduced, actually the weight in current technical field Point project.
Summary of the invention
The main purpose of this case is to provide a kind of image acquisition method and image capture and synthetic method, before solving and improving State problem of the prior art and disadvantage.
The another object of this case is to provide a kind of image acquisition method and image capture and synthetic method, by using line shadow As sensor progress image capture, and optical mouse sensor is cooperated to be counted and positioned, so that the body of image capture unit Product can be greatly reduced, and can be further toward lightening development.
The another object of this case is to provide a kind of image acquisition method and image capture and synthetic method, passes through movement calculation Method carries out operation to the quantity for the temporary image that the count results and line Image Sensor of optical mouse sensor capture, and with spy Fixed temporary image can carry out image acquisition method for the characteristic of optical mouse sensor best as image to be synthesized Change, to efficiently use the characteristic of optical mouse sensor, and then reaches the effect of reducing optical mouse sensor function restriction.
In order to achieve the above object, a preferable state sample implementation of this case is to provide a kind of image acquisition method, comprising steps of (a) An image capture unit is provided, which includes a line Image Sensor and an optical mouse sensor;(b) it determines One image capture resolution;(c) the optical mouse sensor is started counting, and moves image capture dress along a specific direction It sets;(d) the sampling target value coordinate value target value on the specific direction is acquired according to the image capture resolution;(e) make The line Image Sensor captures at least one temporary image;(f) according to a count results of the optical mouse sensor, make each The temporary image is corresponding to a temporary coordinate target value;(g) compare each temporary coordinate target value and subtract the sampling coordinate The order of magnitude of target value, and using the corresponding temporary image of absolute value reckling as image to be synthesized.
In order to achieve the above object, another preferable state sample implementation of this case be a kind of image capture and synthetic method are provided, including Step: (a) providing an image capture unit, which includes that a line Image Sensor and an optical mouse sense Device;(b) an image capture resolution is determined;(c) so that the line Image Sensor is captured an initial image, while making the optical mouse Sensor starts counting;(d) in one to move the image capture unit along a specific direction on capturing multimedia;(e) shadow is carried out As acquisition method, comprising steps of (e1) acquires the sampling coordinate value on the specific direction according to the image capture resolution Target value;(e2) the line Image Sensor is made to capture at least one temporary image;(e3) according to a meter of the optical mouse sensor Number is as a result, keep each temporary image corresponding to a temporary coordinate value target value;And (e4) compares each temporary seat Scale value target value subtracts the order of magnitude of the sampling coordinate value target value, and with the corresponding temporary image of absolute value reckling As an image to be synthesized;(f) judged whether to carry out the image acquisition method again according to the count results;And it (g) synthesizes The initial image and the image acquisition method respectively image to be synthesized obtained is carried out every time, to obtain a final image;Its In, when the judging result of the step (f), which is, is, re-execute the step (e) and the step (f), and sentencing when the step (f) When disconnected result is no, the step (g) is executed.
In order to achieve the above object, another preferable state sample implementation of this case be a kind of image capture and synthetic method are provided, including Step: (a) provide an image capture unit, wherein the image capture unit include a control unit, a line Image Sensor and One optical mouse sensor;(b) an image capture resolution is determined;(c) image acquisition method is carried out, comprising steps of (c1) The optical mouse sensor is started counting, and moves the image capture unit along a specific direction;(c2) according to the optics mouse The ratio of the resolution and the image capture resolution of marking sensor obtains the sampling interval value on the specific direction;(c3) make The line Image Sensor is every to capture a temporary image by an interval time, to obtain the certain amount of temporary image;(c4) Make the control unit according to the count results and the specific quantity of the optical mouse sensor with uniform motion's algorithm Operation is carried out, captures gap count value to obtain one;(c5) according to the acquisition gap count value, make each temporary image pair Ying Zhiyi keeps in count value;(c6) by the count results divided by the sampling interval value, with one quotient of acquisition and a remainder, and according to The quotient and the sampling interval value determine quantity multiple sampling count values identical with the quotient;And (c7) be respectively compared it is each A temporary count value subtracts the order of magnitude of each sampling count value, and corresponding with each absolute value reckling The temporary image is as an image to be synthesized, to obtain quantity multiple images to be synthesized identical with the quotient;(d) judge shadow As capturing whether work is completed;And multiple image to be synthesized (e) is synthesized, to obtain a final image;Wherein, when the step (d) judging result is to execute the step (e) when being, and when the judging result of the step (d) is no, make the optical mouse The one of sensor counts initial value and is equal to the remainder, and re-executes the step (c) and the step (d).
The technical effects of the invention are that the volume of image capture unit can be greatly reduced, and optics mouse can be efficiently used The characteristic of sensor is marked, to optimize to image acquisition method.
Detailed description of the invention
Fig. 1 shows the architecture diagram of the applicable image capture unit of the image acquisition method of this case preferred embodiment.
Fig. 2 shows the image acquisition method flow chart of this case preferred embodiment.
Fig. 3 shows the positioning signal and line Image Sensor for the optical mouse sensor that this case image acquisition method uses Image capture signal corresponds to the waveform diagram of time.
Fig. 4 shows that the image capture signal for the line Image Sensor that this case image acquisition method uses corresponds to the waveform of time Figure.
Fig. 5 shows the image capture and synthetic method flow chart of this case preferred embodiment.
Fig. 6 shows the detailed flowchart of step S500 shown in fig. 5.
Fig. 7 shows the image capture and synthetic method flow chart of this case another preferred embodiment.
Fig. 8 shows the detailed flowchart of step S3000 shown in Fig. 7.
Description of symbols:
1: image capture unit
10: control unit
11: line Image Sensor
12: optical mouse sensor
C1: the first timing point
C2: the second timing point
S10~S70: the step of image acquisition method
S100~S700, S1000~S5000: the step of image capture and synthetic method
S520~S580, S3100~S3700: the step of image acquisition method
T: interval time
Specific embodiment
The some exemplary embodiments for embodying this case features and advantages will describe in detail in the explanation of back segment.It should be understood that This case can have various variations in different aspects, all not depart from the range of this case, and explanation therein and diagram In itself as be described use, and nand architecture in limitation this case.
Fig. 1 and Fig. 2 is please referred to, wherein Fig. 1 shows the applicable image capture of the image acquisition method of this case preferred embodiment The architecture diagram and Fig. 2 of device show the image acquisition method flow chart of this case preferred embodiment.As shown in Figures 1 and 2, originally The image acquisition method of case preferred embodiment provides image capture unit 1 the following steps are included: firstly, as shown in step S10, Such as, but not limited to hand-scanner, image capture unit 1 include line Image Sensor 11 and optical mouse sensor (Optical Mouse Sensor)12.Wherein, line Image Sensor 11 can be contact-type image sensing device (Contact Image Sensor, CIS), the positioned update rate of optical mouse sensor 12 can be 1Khz and resolution is dots per inch 1000 points or 1500 points of (Dots Per Inch, DPI), is so all not limited, and 11 framework of line Image Sensor is in behavior Unit carries out line image capture.
Secondly, determining image capture resolution, wherein the image capture resolution can be per inch as shown in step S20 It counts 150 points, 300 points or 600 points etc.;Then, as shown in step S30, start counting optical mouse sensor 12, and along one Specific direction movable image capture device 1, that is, toward the direction movable image capture device to be scanned and carry out with behavior list The line image capture of position;Then, as shown in step S40, the sampling target value on the specific direction is obtained, such as in horizontal direction Or the sampling target value in vertical direction, the sampling target value can be sampling coordinate value or sampling count value, but not limited to this; Come again, as shown in step S50, line Image Sensor 11 is made to capture at least one temporary image;Then, as shown in step S60, according to The count results of optical mouse sensor 12 keep each temporary image corresponding to a temporary target value;Then, such as step S70 It is shown, compare the order of magnitude that each temporary target value subtracts sampling target value, and corresponding temporarily with absolute value reckling Image is deposited as image to be synthesized.In short, the image acquisition method of this case carries out image by using line Image Sensor 11 It captures, and optical mouse sensor 12 is cooperated to be counted and positioned, so that the volume of image capture unit 1 can be greatly reduced, And it can be further toward lightening development.
It please refers to Fig. 3 and cooperates Fig. 1 and Fig. 2, wherein Fig. 3 shows the optical mouse sensing that this case image acquisition method uses The positioning signal of device and the image capture signal of line Image Sensor correspond to the waveform diagram of time.As shown in Figure 1, Figure 2 and Figure 3, In step S50, line Image Sensor 11 is every to capture a temporary image by interval time T, and wherein interval time T is Such as 0.072 second, but not limited to this.With interval time T be below 0.072 second, image capture resolution be 300DPI and For the resolution of optical mouse sensor 12 is 1000DPI, the image acquisition method of this case is further illustrated.In this embodiment In, sampling target value is a sampling coordinate value, and temporary target value is a temporary coordinate value.In step s 40, it is picked according to image It takes resolution to obtain the sampling coordinate value on specific direction, is 300DPI by image capture resolution in this present embodiment, therefore takes Sample coordinate value is 0.0847 millimeter (mm) on specific direction.In addition, image capture unit 1 further includes control unit 10, and control Unit 10 processed is connected with line Image Sensor 11 and optical mouse sensor 12, to be used for control line Image Sensor 11 and light The running of mouse sensor 12 is learned, and the operations such as operation and Image compounding for carrying out movement algorithm.In Fig. 3, whenever Line Image Sensor 11 captures a temporary image, and all making image capture signal is an enable (Enable) signal, and in it In his, image capture signal is all forbidden energy (Disable) signal at time point, since the image capture unit 1 of this case is carried out with row For the line image capture of unit, therefore image capture signal is also line synchronising signal.By Fig. 3 it can be seen that, each image capture signal It is the time of enable institute distance, same with interval time T-phase, it is consistent with above description.
According to the conception of this case, when online Image Sensor 11 captures temporary image, control unit 10 detects optics simultaneously The electric potential signal of mouse sensor 12, when electric potential signal is low-potential signal, control unit 10 records the quantity of temporary image, and According to count results recording image capture device 1 in the amount of movement on specific direction.Further, control unit 10 is according to temporary The quantity and image capture unit 1 of image carry out operation in the amount of movement on specific direction with a motion with uniform acceleration algorithm, To push away to obtain each temporary corresponding temporary coordinate value of image.
For example, the first timing point C1 and second of low-potential signal is in 12 first time of optical mouse sensor When secondary the second timing point C2 in low-potential signal, control unit 10 is according to displacement formula: S=vt calculates image capture dress 1 is set in the First Speed V1 of the first timing point C1 and in the second speed V2 of the second timing point C2, wherein S is displacement, and v is speed Degree, t is the time, and details are as follows for calculation:
V1=s/T (1)
V2=4s/3T (2)
In calculating formula (1) and (2), when s is that optical mouse sensor 12 counts every time, image capture unit 1 is in the spy Determine the amount of movement on direction, T is interval time, as previously mentioned, interval time T can correspond to the quantity for representing temporary image.
Above-mentioned calculating formula (1) and (2) are substituted into accelerometer formula, acceleration a can be obtained:
A=(V2-V1)/3T=(4s/3T-s/T)/3T=s/9T2(3)
It is public with the displacement of motion with uniform acceleration by taking the temporary image after the corresponding temporary image of the first timing point C1 as an example Formula substitutes into above-mentioned calculating formula (1) and (3), and first temporary shadow after the corresponding temporary image of the first timing point C1 can be obtained As second after the displacement b1 of corresponding image capture unit 1, the corresponding temporary image of the first timing point C1 is temporary Third after the displacement b2 of image capture unit 1 corresponding to image and the corresponding temporary image of the first timing point C1 is temporarily Deposit the displacement b3 of image capture unit 1 corresponding to image.Wherein, since interval time T is known as 0.072 second, and optics The resolution of mouse sensor 12 is 1000DPI, therefore knows s=0.0254mm.
B1=s+V1*T+0.5*a*T2=0.05221mm
B2=s+V1*2T+0.5*a*4T2=0.08184mm
B3=s+V1*3T+0.5*a*9T2=0.11430mm
It is represented on the specific direction in the displacement b1, displacement b2 and displacement b3 obtained in the above formulas Coordinate value, therefore compare the order of magnitude that each temporary coordinate value subtracts sampling coordinate value, and further with absolute value minimum The corresponding temporary image of person is as image to be synthesized.
| b1-0.0847 |=| 0.05221-0.0847 |=0.03249
| b2-0.0847 |=| 0.08184-0.0847 |=0.00286
| b3-0.0847 |=| 0.1143-0.0847 |=0.0296
Wherein, due to 0.00286 < 0.0296 < 0.03249, thus with the corresponding temporary image of the first timing point C1 after Second temporary image is as the resultant image.
Certainly, the control unit 10 of this case be in addition to it can take temporary image appropriate with motion with uniform acceleration algorithm, Temporary image appropriate can be taken with uniform motion's algorithm.It please refers to Fig. 4 and cooperates Fig. 1 and Fig. 2, wherein Fig. 4 shows this The image capture signal for the line Image Sensor that case image acquisition method uses corresponds to the waveform diagram of time.In this embodiment, With interval time T be 0.072 second, image capture resolution is 300DPI and the resolution of optical mouse sensor 12 is For 1500DPI, the image acquisition method of this case another preferred embodiment is further illustrated.Preferably, sampling target value is to take Sample count value, and temporary target value is temporary count value.In step s 40, according to the resolution of optical mouse sensor 12 with The ratio of image capture resolution obtains the sampling coordinate value on specific direction, by optical mouse sensor 12 in this present embodiment Resolution be 1500DPI, image capture resolution be 300DPI, therefore its ratio be 5 (=1500DPI/300DPI), therefore sample Coordinate value is the 5th timing point on specific direction.
According to the conception of this case, whenever line Image Sensor 11 captures certain amount of temporary image, such as with spy in Fig. 4 Fixed number amount shows for 24, and control unit 10 is according to the count results and specific quantity of optical mouse sensor 12 with uniform motion Algorithm carries out operation, captures gap count value to obtain one.For example, if the count results of optical mouse sensor 12 are aobvious The displacement being shown on specific direction is 31 timing points, according to the principle of uniform motion, it can be seen that capturing gap count value For 31/24=1.2916, control unit 10 can capture interval calculation value 1.2916 according to this and push away to obtain each temporary image correspondence Temporary count value, that is, the corresponding temporary count value of the first temporary image is 1.2916, and the second temporary image is corresponding temporarily Depositing count value is 2.5832, and it is 3.8748 that third, which keeps in the corresponding temporary count value of image, and the 4th temporary image is corresponding temporary Count value is 5.1644, and so on, the corresponding temporary count value of the 23rd temporary image is the 29.7068, the 24th temporarily Depositing the corresponding temporary count value of image is 30.9984.
Then, compare the order of magnitude that each temporary count value subtracts sampling count value, and with absolute value reckling Corresponding temporary image is as image to be synthesized.It is temporary with the above-mentioned first temporary image to the 4th temporary image and the 23rd Image and the corresponding temporary count value of the 24th image substitute into tentative calculation and can obtain:
| 1.2916-5 |=| -3.7084 |=3.7084
| 2.5832-5 |=| -2.4168 |=2.4168
| 3.8748-5 |=| -1.1252 |=1.1252
| 5.1644-5 |=| 0.1644 |=0.1644
| 29.7068-5 |=| 24.7068 |=24.7068
| 30.9984-5 |=| 25.9984 |=25.9984
By above-mentioned calculating it is found that absolute value reckling is 0.1644, corresponding temporary image is the 4th temporary image, therefore Using the 4th temporary image as image to be synthesized.
Similarly, when this case is intended to carry out a large amount of image capture using uniform motion's algorithm, optical mouse sensor 12 resolution and the ratio of image capture resolution are essentially the sampling interval value on the specific direction, that is, in leading portion It is that every 5 timing points take an image to be synthesized in the embodiment described.When such as taking the 6th image to be synthesized, sampling Count value is 30, only needs to compare the order of magnitude that each temporary count value subtracts sampling count value such as foregoing manner at this time, And using the corresponding temporary image of absolute value reckling as image to be synthesized, it is computed it can be seen that absolute value reckling is 0.2932, corresponding temporary image is the 23rd temporary image, therefore using the 23rd temporary image as the 6th wait close At image.
It please refers to Fig. 5 and Fig. 6 and cooperates Fig. 1, wherein Fig. 5 shows the image capture and synthetic method of this case preferred embodiment Flow chart and Fig. 6 show the detailed flowchart of step S500 shown in fig. 5.As shown in Fig. 1, Fig. 5 and Fig. 6, this case is preferably real The image capture and synthetic method for applying example are the following steps are included: firstly, as indicated in step sloo, provide image capture unit 1, shadow As capture device 1 includes line Image Sensor 11 and optical mouse sensor 12;Secondly, determining image as shown in step S200 Capture resolution;Then, as shown in step S300, line Image Sensor is made to capture initial image, while sense optical mouse Device starts counting;Then, as shown in step S400, along a specific direction movable image capture device 1 on to capturing multimedia;Again Come, as shown in step S500, carries out an image acquisition method;Then, as shown in step S600, judged whether according to count results The image acquisition method is carried out again, wherein when the judgment result is yes, re-executeing the steps S500 and its subsequent step.Instead It executes step S700, that is, synthesize initial image and image to be synthesized when the judgment result is no after step S600, To obtain a final image, that is, user is captured using the image capture unit 1 of this case and is obtained to the image of capturing multimedia The final image obtained.
According to the conception of this case, the image acquisition method of above-mentioned steps S500 is comprising steps of firstly, such as step S520 institute Show, the sampling target value on the specific direction is obtained according to image capture resolution;Secondly, making line shadow as shown in step S540 As sensor 11 captures at least one temporary image;Then, as shown in step S560, according to the counting knot of optical mouse sensor 12 Fruit keeps each temporary image corresponding to a temporary target value;Then, as shown in step S580, compare each temporary target Value subtracts the order of magnitude of sampling target value, and using the corresponding temporary image of absolute value reckling as an image to be synthesized. Due to the step S40 of step S520, step S540, step S560 and step S580 and the image acquisition method of previous embodiment, Step S50, step S60 and step S70 are similar, therefore repeat no more in this.It should be specifically noted that the image capture and conjunction of this case At method, an initial image is captured in advance with line Image Sensor 11, and with the acquisition of image acquisition method shown in step S500 After one or more images to be synthesized, the initial image and one or more image to be synthesized are synthesized together, to obtain most Whole image.In other words, step S500 can be individually performed once, also may be repeated a plurality of times, until certain to capturing multimedia It captures and completes.
It please refers to Fig. 7 and Fig. 8 and cooperates Fig. 1, wherein Fig. 7 shows image capture and the synthesis of this case another preferred embodiment Method flow diagram and Fig. 8 show the detailed flowchart of step S3000 shown in Fig. 7.As shown in Fig. 1, Fig. 7 and Fig. 8, this case The image capture and synthetic method of another preferred embodiment mainly apply uniform motion's algorithm to carry out operation sampling, including step Rapid as follows: firstly, providing image capture unit 1 as shown in step S1000, image capture unit 1 includes control unit 10, line Image Sensor 11 and optical mouse sensor 12, and control unit 10 is preferably sensed with line Image Sensor 11 and optical mouse Device 12 is connected;Secondly, determining image capture resolution, such as 300DPI, but not limited to this as shown in step S2000;It connects , as shown in step S3000, carry out image acquisition method.
Thought according to the present invention, the image acquisition method of step S3000 is comprising steps of firstly, such as step S3100 institute Show, start counting optical mouse sensor 12, and along specific direction movable image capture device 1;Then, such as step S3200 It is shown, according between the sampling on the ratio of the resolution of optical mouse sensor 12 and image capture resolution acquisition specific direction Every value, the concept and explanation of this sampling interval value illustrate in previous embodiment, repeat no more in this;Then, such as step Shown in S3300, keeps line Image Sensor 11 every and capture a temporary image by an interval time, it is certain amount of temporary to obtain Image;Come again, as shown in step S3400, makes control unit 10 according to the count results and certain number of optical mouse sensor 12 Amount carries out operation with uniform motion's algorithm, captures gap count value to obtain;Then, as shown in step S3500, according to picking Gap count value is taken, keeps each temporary image corresponding to a temporary count value;Then, it as shown in step S3600, is tied counting Fruit is divided by sampling interval value, to obtain a quotient and a remainder, and determines quantity and the quotient according to the quotient and sampling interval value It is worth identical multiple sampling count values;Finally, as shown in step S3700, be respectively compared each temporary count value subtract it is each The order of magnitude of a sampling count value, and using the corresponding temporary image of each absolute value reckling as image to be synthesized, To obtain quantity multiple images to be synthesized identical with the quotient.
As the image acquisition method of step S3000, i.e. step S3100 to step S3700, after the completion, in succession such as step Shown in S4000, judge whether image capture work is completed;When the judging result of step S4000, which is, is, step S5000 is executed, Multiple images to be synthesized are synthesized, namely to obtain final image;When the judging result of step S4000 is no, make optics mouse The counting initial value for marking sensor 12 is equal to the remainder, and re-execute the steps S3000 and step S4000.Wherein, judge image It captures whether work is completed, can be judged by user, it can also be by image capture unit 1 according to image, the image captured The electric potential signal of the lasting displacement of capture device 1 itself, optical mouse sensor 12, or with parameter or letter obtained by other Breath refers to and is judged, but is not limited thereto.
It applies and is briefly described for the numerical value of previous embodiment, the resolution of optical mouse sensor is 1500DPI, Image capture resolution is 300DPI, it is known that sampling interval value is 5.When count results be 31 timing points, specific quantity 24, Capturing gap count value is 1.2916, and in step S3600, by count results divided by sampling interval value, that is, 31 divided by 5, It is 6 that quotient, which can be obtained, remainder 1.Further, determine that multiple samplings identical with quotient count according to quotient and sampling interval value Point, that is, every 5 timing points carry out primary sample, carry out six sub-samplings altogether, therefore know that multiple sampling count value is respectively 5,10,15,20,25 and 30.After calculating separately and obtaining six corresponding temporary images as six images to be synthesized, if When the judging result of step S4000 is no, the counting initial value of optical mouse sensor 12 is set to be equal to the remainder, that is, from 1 It starts counting, and is counted from 0 after non-return-to-zero.In other words, several times the receipt row such as image acquisition method of step S3000 when, when Optical mouse sensor 12 moves up 27 timing points in certain party, and substantial count results are 28.Similarly, according to this Count results and image acquisition method can obtain five images to be synthesized again, and this count results is divided by sampling interval value Remainder 3 should also be incorporated to time time calculating.Therefore, sampling result can be made more accurate, image capture performs better.
In conclusion this case provides a kind of image acquisition method and image capture and synthetic method, solves and improve aforementioned Problem of the prior art and disadvantage.Specifically, this case carries out image capture by using line Image Sensor, and cooperate optics Mouse sensor is counted and is positioned, so that the volume of image capture unit can be greatly reduced, and can be further toward lightening Development.Meanwhile the temporary shadow captured by count results and line Image Sensor of the movement algorithm to optical mouse sensor The quantity of picture carries out operation, and specifically to keep in image as image to be synthesized, can be directed to the characteristic of optical mouse sensor Image acquisition method is optimized, to efficiently use the characteristic of optical mouse sensor, and then reaches reduction optical mouse The effect of sensor function restriction.
Even if the present invention has been described in detail by the above embodiments and can apply craftsman's think of by those skilled in the art times and be all As modify, all do not depart from the protection scope such as appended claims so.

Claims (15)

1. a kind of image acquisition method, which is characterized in that comprising steps of
(a) image capture unit is provided, which includes a line Image Sensor and an optical mouse sensor;
(b) an image capture resolution is determined;
(c) the optical mouse sensor is started counting, and moves the image capture unit along a specific direction;
(d) the sampling target value on the specific direction is obtained;
(e) the line Image Sensor is made to capture at least one temporary image;
(f) according to a count results of the optical mouse sensor, keep each temporary image corresponding to a temporary target value;
(g) compare the order of magnitude that each temporary target value subtracts the sampling target value, and with absolute value reckling pair The temporary image answered is as image to be synthesized.
2. image acquisition method as described in claim 1, which is characterized in that in the step (e), the line Image Sensor is every The temporary image is captured by an interval time.
3. image acquisition method as claimed in claim 2, which is characterized in that the image capture unit further includes a control list Member, and the control unit is connected with the line Image Sensor and the optical mouse sensor.
4. image acquisition method as claimed in claim 3, which is characterized in that the sampling target value is a sampling count value, and The temporary target value is a temporary count value.
5. image acquisition method as claimed in claim 4, which is characterized in that the step (d) is according to the optical mouse sensor Resolution and the ratio of the image capture resolution obtain the sampling count value on the specific direction.
6. image acquisition method as claimed in claim 5, which is characterized in that whenever the line Image Sensor captures a certain number The temporary image of amount, the control unit are transported according to the count results and the specific quantity with uniform motion's algorithm It calculates, captures gap count value to obtain one.
7. image acquisition method as claimed in claim 6, which is characterized in that the control unit is according to the acquisition gap count value Push away to obtain the corresponding temporary target value of each temporary image.
8. image acquisition method as claimed in claim 3, which is characterized in that the sampling target value is a sampling coordinate value, and The temporary target value is a temporary coordinate value.
9. image acquisition method as claimed in claim 8, which is characterized in that the step (d) is according to the image capture resolution Obtain the sampling coordinate value on the specific direction.
10. image acquisition method as claimed in claim 9, which is characterized in that the line Image Sensor captures the temporary image When, which detects an electric potential signal of the optical mouse sensor simultaneously, when the electric potential signal is a low-potential signal, The control unit records a quantity of the temporary image, and records the image capture unit in the certain party according to the count results A upward amount of movement.
11. image acquisition method as claimed in claim 10, which is characterized in that the control unit is according to the quantity and the movement Amount carries out operation with a motion with uniform acceleration algorithm, to push away to obtain the corresponding temporary coordinate value of each temporary image.
12. image acquisition method as described in claim 1, which is characterized in that the image capture resolution is dots per inch 150 points, 300 points or 600 points, the resolution of the optical mouse sensor is 1000 points or 1500 points of dots per inch, and the line Image Sensor is a contact-type image sensing device.
13. a kind of image capture and synthetic method, which is characterized in that comprising steps of
(a) image capture unit is provided, which includes a line Image Sensor and an optical mouse sensor;
(b) an image capture resolution is determined;
(c) so that the line Image Sensor is captured an initial image, while start counting the optical mouse sensor;
(d) in one to move the image capture unit along a specific direction on capturing multimedia;
(e) image acquisition method is carried out, comprising steps of
(e1) the sampling target value on the specific direction is obtained;
(e2) the line Image Sensor is made to capture at least one temporary image;
(e3) according to a count results of the optical mouse sensor, keep each temporary image corresponding to a temporary target Value;And
(e4) compare the order of magnitude that each temporary target value subtracts the sampling target value, and with absolute value reckling pair The temporary image answered is as an image to be synthesized;
(f) judged whether to carry out the image acquisition method again according to the count results;And
(g) it synthesizes the initial image and carries out the image acquisition method respectively image to be synthesized obtained every time, to obtain one Final image;
Wherein, when the judging result of the step (f), which is, is, the step (e) and the step (f) are re-executed, and work as the step (f) when judging result is no, the step (g) is executed.
14. image capture as claimed in claim 13 and synthetic method, which is characterized in that the step (f) is with the count results It is picked divided by the resolution of the optical mouse sensor and the ratio quotient obtained of the image capture resolution as the image A total execution number of method is taken, and one by comparing the image acquisition method has executed number and total execution number, with Decide whether to re-execute the image acquisition method.
15. a kind of image capture and synthetic method, which is characterized in that comprising steps of
(a) image capture unit is provided, wherein the image capture unit includes a control unit, a line Image Sensor and one Optical mouse sensor;
(b) an image capture resolution is determined;
(c) image acquisition method is carried out, comprising steps of
(c1) the optical mouse sensor is started counting, and moves the image capture unit along a specific direction;
(c2) it is obtained on the specific direction according to the ratio of the resolution of the optical mouse sensor and the image capture resolution A sampling interval value;
(c3) make the line Image Sensor every and capture a temporary image by an interval time, kept in obtaining certain amount of this Image;
(c4) control unit is transported with a uniform velocity according to a count results and the specific quantity for the optical mouse sensor Dynamic algorithm carries out operation, captures gap count value to obtain one;
(c5) according to the acquisition gap count value, keep each temporary image corresponding to a temporary count value;
(c6) by the count results divided by the sampling interval value, to obtain a quotient and a remainder, and according to the quotient and this take Sample spacing value determines quantity multiple sampling count values identical with the quotient;And
(c7) it is respectively compared each temporary count value and corresponds the order of magnitude for subtracting each sampling count value, It is identical as the quotient to obtain quantity and using the corresponding temporary image of each absolute value reckling as an image to be synthesized Multiple images to be synthesized;
(d) judge whether image capture work is completed;And
(e) multiple image to be synthesized is synthesized, to obtain a final image;
Wherein, when the judging result of the step (d), which is, is, the step (e) is executed, and when the judging result of the step (d) is When no, make the one of the optical mouse sensor to count initial value and be equal to the remainder, and re-execute the step (c) and the step (d)。
CN201510454728.6A 2015-07-29 2015-07-29 Image acquisition method and image capture and synthetic method Active CN106412371B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510454728.6A CN106412371B (en) 2015-07-29 2015-07-29 Image acquisition method and image capture and synthetic method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510454728.6A CN106412371B (en) 2015-07-29 2015-07-29 Image acquisition method and image capture and synthetic method

Publications (2)

Publication Number Publication Date
CN106412371A CN106412371A (en) 2017-02-15
CN106412371B true CN106412371B (en) 2019-01-08

Family

ID=58008866

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510454728.6A Active CN106412371B (en) 2015-07-29 2015-07-29 Image acquisition method and image capture and synthetic method

Country Status (1)

Country Link
CN (1) CN106412371B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103389811A (en) * 2012-05-11 2013-11-13 原相科技股份有限公司 Optical navigation device and track smoothing method thereof
CN103873786A (en) * 2012-12-17 2014-06-18 原相科技股份有限公司 Image adjustment method and optical navigator using same

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI442289B (en) * 2011-11-04 2014-06-21 Pixart Imaging Inc Displacement detection device and operation method thereof
TWI488126B (en) * 2012-10-03 2015-06-11 Pixart Imaging Inc Optical navigation method and optical navigation apparatus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103389811A (en) * 2012-05-11 2013-11-13 原相科技股份有限公司 Optical navigation device and track smoothing method thereof
CN103873786A (en) * 2012-12-17 2014-06-18 原相科技股份有限公司 Image adjustment method and optical navigator using same

Also Published As

Publication number Publication date
CN106412371A (en) 2017-02-15

Similar Documents

Publication Publication Date Title
JP6125188B2 (en) Video processing method and apparatus
JP6201379B2 (en) Position calculation system, position calculation program, and position calculation method
CN101681424B (en) Sequential image alignment
KR100430054B1 (en) Method for combining fingerprint by digital linear image sensor
JP2014106732A (en) Information processor and information processing method
WO2014064870A1 (en) Image processing device and image processing method
CN103604371A (en) Mobile terminal and object measurement method thereof
JP2017045283A5 (en)
CN106596063A (en) Method for measuring lens distortion and system thereof
CN106033544A (en) Test content area extraction method based on template matching
JP2021111114A (en) Learning data generating program and learning data generation method and estimation device
CN105975896A (en) Image processing apparatus and image processing method
CN109377516A (en) A kind of optical flow computation method using dynamic vision data
JP5098369B2 (en) Distance image generating apparatus, distance image generating method and program
KR20180123990A (en) Device for capturing imprints
CN106657968A (en) Three-dimensional characteristic information sensing system and sensing method
JP2019045989A (en) Information processing apparatus, information processing method and computer program
CN114375177A (en) Body measurement device and control method thereof
CN106412371B (en) Image acquisition method and image capture and synthetic method
KR100740031B1 (en) Image processing method and contactless image input apparatus utilizing the method
CN108108024A (en) Dynamic gesture acquisition methods and device, display device
JP6456084B2 (en) Image processing apparatus, image processing method, and program
TWI568237B (en) Image capture method and image capture and synthesis method
US20170069109A1 (en) Method and apparatus for measuring an object
KR101265020B1 (en) Creation method and apparatus for high resolution disparity map by the histogram analysis of duplicated territory from the stereo image

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant