CN106412371A - Image capture method and image capture and synthesis method - Google Patents
Image capture method and image capture and synthesis method Download PDFInfo
- Publication number
- CN106412371A CN106412371A CN201510454728.6A CN201510454728A CN106412371A CN 106412371 A CN106412371 A CN 106412371A CN 201510454728 A CN201510454728 A CN 201510454728A CN 106412371 A CN106412371 A CN 106412371A
- Authority
- CN
- China
- Prior art keywords
- image
- temporary
- image capture
- value
- mouse sensor
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/024—Details of scanning heads ; Means for illuminating the original
- H04N1/028—Details of scanning heads ; Means for illuminating the original for picture information pick-up
- H04N1/03—Details of scanning heads ; Means for illuminating the original for picture information pick-up with photodetectors arranged in a substantially linear array
- H04N1/031—Details 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/0311—Details 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/04—Scanning arrangements, i.e. arrangements for the displacement of active reading or reproducing elements relative to the original or reproducing medium, or vice versa
- H04N1/10—Scanning 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/107—Scanning 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
The invention relates to an image capture method and an image capture and synthesis method. The image capture method comprises the steps of providing an image capture device including a line image sensor and an optical mouse sensor; determining the image capture resolution; enabling the optical mouse sensor to start counting and moving the image capture device in a specific direction; obtaining a sampling target value in the specific direction; enabling the line image sensor to capture at least one temporary image; according to the counting result of the optical mouse sensor, enabling each temporary image to correspond to a temporary target value; and comparing the absolute value by subtracting each temporary target value from the sampling target value, and taking the temporary image corresponding to the minimum absolute value as an image to be synthesized. Therefore, the volume of the image capture device can be greatly reduced, and the characteristics of the optical mouse sensor can be effectively utilized to optimize the image capture method.
Description
Technical field
The present invention with regard to a kind of image acquisition method, particularly to a kind of image acquisition method and image capture
With synthetic method.
Background technology
Because, in modern society, people become increasingly dependent on hand-held device, such as smart mobile phone or panel computer
Deng so the demand of file digitization is also more strong.Generally, hard copy file passes through scanning or photography etc.
The mode of image capture is digitized, to be converted into digital document.
In general, carrying out image capture in the way of scanning can obtain preferably image quality, simultaneously
It is relatively easy to carry out the operations such as text-recognition.Have numerous scanner products at present on the market, for example flat
Flatbed scanner or hand-scanner etc..
Even however, hand-scanner, its volume is still excessive so that cannot put into pocket with
Body carries.The reason cause hand-scanner volume excessive, is primarily due to existing hand-held scanner
Device, when carrying out image capture, all carries out the image acquisition method of coordinate setting by using locating wheel, and
The necessary structure of locating wheel makes locating wheel cannot account for Extremely volume with avoiding so that hand-scanner
Volume cannot be toward lightening development.
So, how to develop a kind of different conventional image acquisition method and image capture and synthetic method,
To improve the problems of the prior art and shortcoming, and the volume of image capture unit can be made to be greatly reduced, real
For the emphasis problem in current technical field.
Content of the invention
The main purpose of this case, for providing a kind of image acquisition method and image capture and synthetic method, solves
And improve aforementioned problem of the prior art and shortcoming.
The another object of this case, for providing a kind of image acquisition method and image capture and synthetic method, is passed through
Image capture is carried out using line CIS, and coordinates optical mouse sensor to be counted and position,
The volume making image capture unit can be greatly reduced, and can be further toward lightening development.
The another object of this case, for providing a kind of image acquisition method and image capture and synthetic method, is passed through
Motion algorithm is to the temporary image that count results and the line CIS of optical mouse sensor capture
Quantity enters row operation, and specifically to keep in image as image to be synthesized, can be for optical mouse sensing
The characteristic of device optimizes to image acquisition method, with the characteristic of effectively utilizes optical mouse sensor,
And then reduce effect of optical mouse sensor function restriction.
For reaching above-mentioned purpose, a preferable enforcement aspect of this case is a kind of image acquisition method of offer, including
Step:A () provides an image capture unit, this image capture unit includes a line CIS and a light
Learn mouse sensor;B () determines an image capture resolution;C () makes this optical mouse sensor start counting up,
And move this image capture unit along a specific direction;D () acquires this spy according to this image capture resolution
Determine the sampling desired value coordinate value desired value on direction;E () makes this line CIS capture at least one temporary
Deposit image;F (), according to count results of this optical mouse sensor, makes each this temporary image correspond to
To a temporary coordinate desired value;G () is compared each this temporary coordinate desired value and is deducted this sampling coordinate target
The order of magnitude of value, and using absolute value reckling this temporary image corresponding as image to be synthesized.
For reaching above-mentioned purpose, another preferable enforcement aspect of this case is for providing a kind of image capture and synthesis side
Method, including step:A () provides an image capture unit, this image capture unit includes a line image sensing
Device and an optical mouse sensor;B () determines an image capture resolution;C () makes this line CIS pick
Take an initial image, so that this optical mouse sensor is started counting up simultaneously;D () treats edge on capturing multimedia in one
One specific direction moves this image capture unit;E () carries out an image acquisition method, including step:(e1)
Acquire the sampling coordinate value desired value on this specific direction according to this image capture resolution;(e2) make this
Line CIS captures at least one temporary image;(e3) the counting knot according to this optical mouse sensor
Really, make each this temporary image correspondence to a temporary coordinate value desired value;And (e4) compares each and is somebody's turn to do
Temporary coordinate value desired value deducts the order of magnitude of this sampling coordinate value desired value, and minimum with absolute value
Person's this temporary image corresponding is as an image to be synthesized;F () judges whether to enter again according to this count results
This image acquisition method of row;And (g) synthesizes this initial image and carries out this image acquisition method every time and obtained
Respectively this image to be synthesized obtaining, to obtain a final image;Wherein, when the judged result of this step (f) is
When being, re-execute this step (e) and this step (f), and when the judged result of this step (f) is no, hold
This step (g) of row.
For reaching above-mentioned purpose, another preferable enforcement aspect of this case is for providing a kind of image capture and synthesis side
Method, including step:A () provides an image capture unit, wherein this image capture unit includes a control list
Unit, a line CIS and an optical mouse sensor;B () determines an image capture resolution;C () enters
Row one image acquisition method, including step:(c1) this optical mouse sensor is made to start counting up, and special along one
Determine direction and move this image capture unit;(c2) resolution according to this optical mouse sensor and this image are picked
The ratio taking resolution obtains the sampling interval value on this specific direction;(c3) make this line CIS every
Capture a temporary image through an interval time, to obtain this temporary image certain amount of;(c4) make this
Control unit is according to count results of this optical mouse sensor and this specific quantity with a uniform motion
Algorithm enters row operation, to obtain an acquisition gap count value;(c5) according to this acquisition gap count value, make
Each this temporary image correspondence is to a temporary count value;(c6) by this count results divided by this sampling interval
Value, to obtain a quotient and a remainder, and determines quantity and this business according to this quotient and this sampling interval value
Value identical multiple sampling count value;And (c7) is respectively compared each this temporary count value and deducts each
The order of magnitude of this sampling count value, and made with each absolute value reckling this temporary image corresponding
For an image to be synthesized, to obtain quantity and this quotient identical this image to be synthesized multiple;D () judges shadow
As capturing whether work completes;And (e) synthesizes the plurality of image to be synthesized, to obtain a final image;
Wherein, when the judged result of this step (d) is to be, this step (e), and the judgement when this step (d) are executed
When result is no, makes the one of this optical mouse sensor to count initial value and be equal to this remainder, and re-execute
This step (c) and this step (d).
The method have technical effect that, the volume of image capture unit can be greatly reduced, and can be effectively sharp
With the characteristic of optical mouse sensor, to optimize to image acquisition method.
Brief description
Fig. 1 shows the Organization Chart of the image capture unit that the image acquisition method of this case preferred embodiment is suitable for.
Fig. 2 shows the image acquisition method flow chart of this case preferred embodiment.
Fig. 3 shows the framing signal of optical mouse sensor and the line image of this case image acquisition method employing
The oscillogram of the image capture signal of sensor corresponding time.
Fig. 4 show the image capture signal of the line CIS that this case image acquisition method adopts to corresponding when
Between oscillogram.
Fig. 5 shows image capture and the synthetic method flow chart of this case preferred embodiment.
Fig. 6 shows the thin portion flow chart of step S500 shown in Fig. 5.
Fig. 7 shows image capture and the synthetic method flow chart of another preferred embodiment of this case.
Fig. 8 shows the thin portion flow chart of step S3000 shown in Fig. 7.
Description of reference numerals:
1:Image capture unit
10:Control unit
11:Line CIS
12:Optical mouse sensor
C1:First timing point
C2:Second timing point
S10~S70:The step of image acquisition method
S100~S700, S1000~S5000:Image capture and the step of synthetic method
S520~S580, S3100~S3700:The step of image acquisition method
T:Interval time
Specific embodiment
Some exemplary embodiments embodying this pattern characteristics with advantage will describe in the explanation of back segment in detail.Should
It is understood by this case and various changes can be had on different aspects, its scope all without departing from this case,
And explanation therein and diagram are in itself as being described use, and nand architecture is in limiting this case.
Refer to Fig. 1 and Fig. 2, wherein Fig. 1 shows what the image acquisition method of this case preferred embodiment was suitable for
The Organization Chart of image capture unit, and Fig. 2 shows the image acquisition method flow process of this case preferred embodiment
Figure.As shown in Figures 1 and 2, the image acquisition method of this case preferred embodiment comprises the following steps:First
First, as shown in step S10, image capture unit 1, such as but not limited to hand-scanner, shadow are provided
As capture device 1 includes line CIS 11 and optical mouse sensor (Optical Mouse
Sensor)12.Wherein, line CIS 11 can be contact-type image sensing device (Contact Image
Sensor, CIS), the positioned update rate of optical mouse sensor 12 can be for 1Khz and resolution is every English
1000 points or 1500 points of points (Dots Per Inch, DPI), are so all not limited, and line image sensing
Device 11 framework is in entering line image capture with behavior unit.
Secondly, as shown in step S20, image capture resolution, wherein this image capture resolution are determined
Can count 150 points, 300 points or 600 points etc. for every English;Then, as shown in step S30, make optics
Mouse sensor 12 starts counting up, and along a specific direction movable image capture device 1, that is, toward desire
The direction movable image capture device of scanning simultaneously carries out the line image capture with behavior unit;Then, as walked
Shown in rapid S40, obtain the sampling desired value on this specific direction, such as in horizontal direction or vertical direction
On sampling desired value, this sampling desired value can for sampling coordinate value or sampling count value, but not as
Limit;Come again, as shown in step S50, make line CIS 11 capture at least one temporary image;Then,
As shown in step S60, according to the count results of optical mouse sensor 12, make each temporary image pair
Ying Zhiyi keeps in desired value;Then, as shown in step S70, compare each temporary desired value and deduct and take
The order of magnitude of sample desired value, and using the corresponding temporary image of absolute value reckling as image to be synthesized.
In short, the image acquisition method of this case passes through to carry out image capture using line CIS 11, and join
Close optical mouse sensor 12 to be counted and positioned so that the volume of image capture unit 1 can significantly drop
Low, and can be further toward lightening development.
Refer to Fig. 3 and coordinate Fig. 1 and Fig. 2, wherein Fig. 3 shows the light that this case image acquisition method adopts
Learn the framing signal of mouse sensor and the waveform of the image capture signal corresponding time of line CIS
Figure.As shown in Figure 1, Figure 2 and Figure 3, in step S50, line CIS 11 is often between one
Capture a temporary image every time T, wherein this interval time T is such as 0.072 second, but not with this
It is limited.Below i.e. with interval time T be 0.072 second, image capture resolution is as 300DPI and optics mouse
As a example the resolution of mark sensor 12 is 1000DPI, further illustrate the image acquisition method of this case.In
In this embodiment, sampling desired value is a sampling coordinate value, and temporary desired value is a temporary coordinate value.
In step s 40, the sampling coordinate value on specific direction is obtained according to image capture resolution, due to this
In embodiment, image capture resolution is 300DPI, therefore sampling coordinate value is 0.0847 milli on specific direction
Rice (mm).Additionally, image capture unit 1 also includes control unit 10, and control unit 10 and line shadow
As sensor 11 and optical mouse sensor 12 are connected, for control line CIS 11 and light
Learn the running of mouse sensor 12, and carry out the operations such as computing and the Image compounding of motion algorithm.
In Fig. 3, whenever line CIS 11 captures a temporary image, the image capture signal is all made to be
One enable (Enable) signal, and in other times point, image capture signal is all forbidden energy (Disable) letter
Number, because the image capture unit 1 of this case carries out the line image capture with behavior unit, therefore image capture
Signal is also line synchronising signal.Can be learnt by Fig. 3, the time of each image capture signal enable institute distance,
Same with interval time T-phase, it is consistent with described above.
According to the conception of this case, when online CIS 11 captures temporary image, control unit 10 is same
When detection optical mouse sensor 12 electric potential signal, when electric potential signal is low-potential signal, control unit
The quantity of the temporary image of 10 records, and note down image capture unit 1 on specific direction according to count results
Amount of movement.Further, control unit 10 according to the quantity of temporary image and image capture unit 1 in
Amount of movement on specific direction enters row operation with a motion with uniform acceleration algorithm, with push away each keep in
The corresponding temporary coordinate value of image.
For example, it is in the first timing point of low-potential signal in optical mouse sensor 12 first time
C1 and be in low-potential signal for the second time the second timing point C2 when, control unit 10 is public according to displacement
Formula:S=vt calculates image capture unit 1 in the First Speed V1 of the first timing point C1 and in the second meter
Second speed V2 of several point C2, wherein S is displacement, and v is speed, and t is the time, and its calculation is detailed
State as follows:
V1=s/T (1)
V2=4s/3T (2)
In calculating formula (1) and (2), when s counts every time for optical mouse sensor 12, image capture unit
1 amount of movement on this specific direction, T is interval time, as it was previously stated, interval time T can correspond to generation
The quantity of image kept in by table.
Above-mentioned calculating formula (1) and (2) are substituted in accelerometer formula, can get acceleration a:
A=(V2 V1)/3T=(4s/3T s/T)/3T=s/9T2(3)
, with motion with uniform acceleration taking the temporary image after the corresponding temporary image of the first timing point C1 as a example
Displacement formula above-mentioned calculating formula (1) and (3) are substituted into, can get the corresponding temporary shadow of the first timing point C1
As the displacement b1 of the image capture unit 1 corresponding to first temporary image afterwards, the first timing point
The displacement of the image capture unit 1 corresponding to second temporary image after the corresponding temporary image of C1
The 3rd image corresponding to temporary image after b2 and the corresponding temporary image of the first timing point C1 is picked
Take the displacement b3 of device 1.Wherein, because interval time T is known as 0.072 second, and optical mouse
The resolution of sensor 12 is 1000DPI, therefore understands 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
In above-mentioned various in the displacement b1, displacement b2 and the displacement b3 that obtain represent it in this spy
Determine the coordinate value on direction, therefore compare each temporary coordinate value further and deduct the absolute of sampling coordinate value
Value size, and using the corresponding temporary image of absolute value reckling 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 corresponding temporary with the first timing point C1
Second temporary image after image is as this resultant image.
Certainly, the control unit 10 of this case is removed and can be taken suitable temporary shadow with motion with uniform acceleration algorithm
As outer it is also possible to uniform motion's algorithm takes suitable temporary image.Refer to Fig. 4 and coordinate Fig. 1
And Fig. 2, wherein Fig. 4 show this case image acquisition method adopt line CIS image capture signal
The oscillogram of corresponding time.In this embodiment, with interval time T be 0.072 second, image capture parsing
Spend as a example the resolution for 300DPI and optical mouse sensor 12 is 1500DPI, further illustrate this
The image acquisition method of another preferred embodiment of case.It is preferred that sampling desired value is sampling count value, and
Temporary desired value is temporary count value.In step s 40, the resolution according to optical mouse sensor 12
Obtain the sampling coordinate value on specific direction with the ratio of image capture resolution, due to light in the present embodiment
The resolution learning mouse sensor 12 is 1500DPI, and image capture resolution is 300DPI, therefore its ratio
For 5 (=1500DPI/300DPI), therefore sampling coordinate value is the 5th timing point on specific direction.
According to the conception of this case, whenever line CIS 11 captures certain amount of temporary image, for example
Illustrated with specific quantity for 24 in Fig. 4, control unit 10 is tied according to the counting of optical mouse sensor 12
Fruit and specific quantity enter row operation with uniform motion's algorithm, to obtain an acquisition gap count value.Lift
For example, if the displacement that the count results of optical mouse sensor 12 are shown on specific direction is 31
Individual timing point, according to the principle of uniform motion, can learn that acquisition gap count value is 31/24=1.2916,
Control unit 10 can according to this capture interval calculation value 1.2916 push away each temporary image corresponding keep in
Count value, that is, the first temporary corresponding temporary count value of image is 1.2916, the second temporary image pair
The temporary count value answered is 2.5832, and the 3rd temporary corresponding temporary count value of image is the 3.8748, the 4th
The corresponding temporary count value of temporary image is 5.1644, and by that analogy, the 23rd temporary image is corresponding
Temporary count value is the 29.7068, the 24th temporary corresponding temporary count value of image is 30.9984.
Then, compare the order of magnitude that each temporary count value deducts sampling count value, and with absolute
The value corresponding temporary image of reckling is as image to be synthesized.Temporary to the 4th with the above-mentioned first temporary image
Image and the 23rd temporary image and the corresponding temporary count value of the 24th image substitute into tentative calculation can
?:
| 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
From above-mentioned calculating, absolute value reckling is 0.1644, and its corresponding temporary image is temporary for the 4th
Deposit image, therefore using the 4th temporary image as image to be synthesized.
In the same manner, when this case is intended to carry out substantial amounts of image capture using uniform motion's algorithm, optics mouse
The resolution of mark sensor 12 and the ratio of image capture resolution are essentially the sampling on this specific direction
It is that every 5 timing points take an image to be synthesized in spacing value, that is, the embodiment described in leading portion.
During as taken the 6th image to be synthesized, its sampling count value is 30, now only needs aforementioned manner such as to compare
Each temporary count value deducts the order of magnitude of sampling count value, and corresponding with absolute value reckling
Temporary image, as image to be synthesized, is computed learning that absolute value reckling is 0.2932, it is corresponding
Temporary image is the 23rd temporary image, therefore using the 23rd temporary image as the 6th shadow to be synthesized
Picture.
Refer to Fig. 5 and Fig. 6 and coordinate Fig. 1, wherein Fig. 5 shows the image capture of this case preferred embodiment
With synthetic method flow chart, and Fig. 6 shows the thin portion flow chart of step S500 shown in Fig. 5.As figure
1st, shown in Fig. 5 and Fig. 6, the image capture of this case preferred embodiment and synthetic method comprise the following steps:
First, as indicated in step sloo, provide image capture unit 1, image capture unit 1 includes line image
Sensor 11 and optical mouse sensor 12;Secondly, as shown in step S200, determine image capture solution
Analysis degree;Then, as shown in step S300, make line CIS capture initial image, make optics simultaneously
Mouse sensor starts counting up;Then, as shown in step S400, in treating on capturing multimedia along a certain party
To movable image capture device 1;Come again, as shown in step S500, carry out an image acquisition method;So
Afterwards, as shown in step S600, judge whether to carry out this image acquisition method again according to count results, its
In when judged result be when, re-execute step S500 and its follow-up step.Conversely, when judgement knot
When fruit is no, execution step S700 after step S600, that is, synthesize initial image and image to be synthesized,
To obtain a final image, that is, user captures matchmaker to be captured using the image capture unit 1 of this case
The final image that the image of body is obtained.
According to the conception of this case, the image acquisition method of above-mentioned steps S500 includes step:First, as walked
Shown in rapid S520, obtain the sampling desired value on this specific direction according to image capture resolution;Secondly,
As shown in step S540, line CIS 11 is made to capture at least one temporary image;Then, as step
Shown in S560, according to the count results of optical mouse sensor 12, make each temporary image correspondence to one
Temporary desired value;Then, as shown in step S580, compare each temporary desired value and deduct sampling target
The order of magnitude of value, and using the corresponding temporary image of absolute value reckling as an image to be synthesized.By
Image capture side in step S520, step S540, step S560 and step S580 and previous embodiment
Step S40 of method, step S50, step S60 and step S70 are similar, therefore repeat no more in this.Ying Te
Not it is noted that the image capture of this case and synthetic method, captured in advance at the beginning of one with line CIS 11
Beginning image, and capture after one or more images to be synthesized with the image acquisition method shown in step S500,
This initial image and this one or more image to be synthesized are together synthesized, to obtain final image.Yi Yan
It, this step S500 can individually execute once, also may be repeated a plurality of times, true until treating capturing multimedia
Real acquisition completes.
Refer to Fig. 7 and Fig. 8 and coordinate Fig. 1, wherein Fig. 7 shows the image of another preferred embodiment of this case
Capture and synthetic method flow chart, and Fig. 8 shows the thin portion flow chart of step S3000 shown in Fig. 7.
As shown in Fig. 1, Fig. 7 and Fig. 8, the image capture of another preferred embodiment of this case and synthetic method mainly should
Enter row operation sampling with uniform motion's algorithm, as follows including step:First, as step S1000 institute
Show, provide image capture unit 1, image capture unit 1 includes control unit 10, line CIS
11 and optical mouse sensor 12, and control unit 10 is preferably and line CIS 11 and optical mouse
Sensor 12 is connected;Secondly, as shown in step S2000, determine image capture resolution, for example
300DPI, but be not limited;Then, as shown in step S3000, carry out image acquisition method.
According to the thought of the present invention, the image acquisition method of step S3000 includes step:First, as walked
Shown in rapid S3100, so that optical mouse sensor 12 is started counting up, and capture along specific direction movable image
Device 1;Then, as shown in step S3200, the resolution according to optical mouse sensor 12 and image
Capture resolution ratio obtain specific direction on sampling interval value, this sampling interval value concept and say
Bright explanation in previous embodiment, repeats no more in this;Then, as shown in step S3300, make line
CIS 11 often captures a temporary image through an interval time, to obtain certain amount of temporary shadow
Picture;Come again, as shown in step S3400, make control unit 10 according to the meter of optical mouse sensor 12
Number result and specific quantity enter row operation with uniform motion's algorithm, capture gap count value to obtain;
Then, as shown in step S3500, according to capturing gap count value, make each temporary image corresponding extremely
One temporary count value;Then, as shown in step S3600, count results are worth divided by sampling interval, with
Obtain a quotient and a remainder, and quantity and this quotient identical are determined according to this quotient and sampling interval value
Multiple sampling count values;Finally, as shown in step S3700, it is respectively compared each temporary count value and subtracts
Remove the order of magnitude of each sampling count value, and with the corresponding temporary shadow of each absolute value reckling
As image to be synthesized, to obtain quantity and the multiple image to be synthesized of this quotient identical.
When the image acquisition method of step S3000, that is, step S3100 is to step S3700, after the completion of,
In succession as shown in step S4000, judge whether image capture work completes;Judgement when step S4000
When result is to be, execution step S5000, that is, synthesize multiple images to be synthesized, to obtain final image;
When the judged result of step S4000 is no, so that the counting initial value of optical mouse sensor 12 is equal to should
Remainder, and execution step S3000 and step S4000 again.Wherein, judge whether image capture work is complete
Become, can be judged by user, also can be by image capture unit 1 according to the image being captured, image
The lasting displacement of capture device 1 itself, the electric potential signal of optical mouse sensor 12, or can with other
The parameter obtaining or information reference being judged, but be not limited thereto.
It is briefly described as a example the numerical value applying mechanically previous embodiment, the resolution of optical mouse sensor is
1500DPI, image capture resolution is 300DPI it is known that sampling interval is worth for 5.When count results are
31 timing points, specific quantity is 24, and capturing gap count value is 1.2916, in step S3600,
Count results are worth divided by sampling interval, that is, 31 divided by 5, can obtain quotient is 6, and remainder is 1.Enter
One step ground, determines and quotient identical multiple sampling timing point according to quotient and sampling interval value, that is,
Every 5 timing points carry out primary sample, carry out six sub-samplings altogether, therefore understand that the plurality of sampling count value is divided
Wei 5,10,15,20,25 and 30.Calculating respectively and obtaining six corresponding temporary image conducts
After six images to be synthesized, if when the judged result of step S4000 is no, making optical mouse sensor
12 counting initial value is equal to this remainder, that is, starts counting up from 1, and after non-return-to-zero from 0 meter.
In other words, several times the image acquisition method of receipt row such as step S3000 when, when optical mouse sensor
12 move up 27 timing points in certain party, and substantial count results are 28.Similarly, foundation
This count results and image acquisition method, can obtain five images to be synthesized again, and this count results is removed
With the remainder 3 of sampling interval value, time time calculating also should be incorporated to.Therefore, sampling result can be made more accurate,
The performing better of image capture.
In sum, this case provides a kind of image acquisition method and image capture and synthetic method, solves simultaneously
Improve aforementioned problem of the prior art and shortcoming.Specifically, this case is by being entered using line CIS
Row image capture, and coordinate the optical mouse sensor to be counted and positioned so that image capture unit
Volume can be greatly reduced, and can be further toward lightening development.Meanwhile, by motion algorithm to optics
The quantity of the temporary image of the count results of mouse sensor and the acquisition of line CIS enters row operation, and
Specifically to keep in image as image to be synthesized, the characteristic that can be directed to optical mouse sensor is picked to image
Take method to be optimized, with the characteristic of effectively utilizes optical mouse sensor, and then reduce optics
Effect of mouse sensor function restriction.
Even if the present invention can have been appointed by those skilled in the art and applied craftsman's think of by the above embodiments narration in detail
And be all as modify, so protection domain all without departing from such as claims.
Claims (15)
1. a kind of image acquisition method is it is characterised in that include step:
A () provides an image capture unit, this image capture unit includes a line CIS and an optics
Mouse sensor;
B () determines an image capture resolution;
C () makes this optical mouse sensor start counting up, and move this image capture unit along a specific direction;
D () obtains the sampling desired value on this specific direction;
E () makes this line CIS capture at least one temporary image;
F (), according to count results of this optical mouse sensor, makes each this temporary image correspondence to one
Temporary desired value;
G () compares the order of magnitude that each this temporary desired value deducts this sampling desired value, and with absolute
Value reckling this temporary image corresponding is as image to be synthesized.
2. image acquisition method as claimed in claim 1 is it is characterised in that in this step (e), this line
CIS often captures this temporary image through an interval time.
3. image acquisition method as claimed in claim 2 is it is characterised in that this image capture unit also wraps
Include a control unit, and this control unit is connected with this line CIS and this optical mouse sensor.
4. image acquisition method as claimed in claim 3 is it is characterised in that this sampling desired value takes for one
Sample count value, and this temporary desired value is a temporary count value.
5. image acquisition method as claimed in claim 4 is it is characterised in that this step (d) is according to this light
Learn the resolution of mouse sensor and this image capture resolution ratio obtain this on this specific direction take
Sample count value.
6. image acquisition method as claimed in claim 5 is it is characterised in that whenever this line CIS
Capture this temporary image certain amount of, this control unit according to this count results and this specific quantity with
One uniform motion's algorithm enters row operation, to obtain an acquisition gap count value.
7. image acquisition method as claimed in claim 6 is it is characterised in that this control unit is picked according to this
Take gap count value to push away each this temporary image this temporary desired value corresponding.
8. image acquisition method as claimed in claim 3 is it is characterised in that this sampling desired value takes for one
Sample coordinate value, and this temporary desired value is a temporary coordinate value.
9. image acquisition method as claimed in claim 8 is it is characterised in that this step (d) is according to this shadow
Obtain this sampling coordinate value on this specific direction as capturing resolution.
10. image acquisition method as claimed in claim 9 is it is characterised in that this line CIS is picked
When taking this temporary image, this control unit detects an electric potential signal of this optical mouse sensor simultaneously, when
This electric potential signal is a low-potential signal, and this control unit notes down a quantity of this temporary image, and according to
This count results notes down an amount of movement on this specific direction for this image capture unit.
11. image acquisition methods as claimed in claim 10 are it is characterised in that this control unit is according to this
Quantity and this amount of movement enter row operation with a motion with uniform acceleration algorithm, to push away to obtain each this temporary shadow
As this temporary coordinate value corresponding.
12. image acquisition methods as claimed in claim 1 are it is characterised in that this image capture resolution
Count 150 points, 300 points or 600 points for every English, the resolution of this optical mouse sensor is every English
Count at 1000 points or 1500 points, and this line CIS is a contact-type image sensing device.
A kind of 13. image captures are with synthetic method it is characterised in that including step:
A () provides an image capture unit, this image capture unit includes a line CIS and an optics
Mouse sensor;
B () determines an image capture resolution;
C () makes this line CIS capture an initial image, make this optical mouse sensor start to count simultaneously
Number;
D () treats to move this image capture unit along a specific direction on capturing multimedia in one;
E () carries out an image acquisition method, including step:
(e1) obtain the sampling desired value on this specific direction;
(e2) this line CIS is made to capture at least one temporary image;
(e3) count results according to this optical mouse sensor, make each this temporary image correspond to
To a temporary desired value;And
(e4) compare the order of magnitude that each this temporary desired value deducts this sampling desired value, and with
Absolute value reckling this temporary image corresponding is as an image to be synthesized;
F () judges whether to carry out again this image acquisition method according to this count results;And
G () synthesizes this initial image and carries out respectively this shadow to be synthesized that this image acquisition method is obtained every time
Picture, to obtain a final image;
Wherein, when the judged result of this step (f) is to be, this step (e) and this step (f) are re-executed,
And when the judged result of this step (f) is no, execute this step (g).
14. image captures as claimed in claim 13 and synthetic method are it is characterised in that this step (f)
Ratio institute with the resolution divided by this optical mouse sensor for this count results and this image capture resolution
The quotient obtaining is as a total execution number of times of this image acquisition method, and passes through to compare this image capture side
One executed number of times of method and this total execution number of times, to decide whether to re-execute this image acquisition method.
A kind of 15. image captures are with synthetic method it is characterised in that including step:
A () provides an image capture unit, wherein this image capture unit includes a control unit, a line shadow
As sensor and an optical mouse sensor;
B () determines an image capture resolution;
C () carries out an image acquisition method, including step:
(c1) so that this optical mouse sensor is started counting up, and move this image capture along a specific direction
Device;
(c2) resolution according to this optical mouse sensor and the ratio of this image capture resolution obtain
Obtain the sampling interval value on this specific direction;
(c3) this line CIS is made often to capture a temporary image through an interval time, to obtain spy
This temporary image of fixed number amount;
(c4) make this control unit according to count results of this optical mouse sensor and this certain number
Amount enters row operation with uniform motion's algorithm, to obtain an acquisition gap count value;
(c5) according to this acquisition gap count value, make each this temporary image correspondence to a temporary counting
Value;
(c6) this count results is worth divided by this sampling interval, to obtain a quotient and a remainder, and root
Determine quantity and this quotient identical multiple sampling count value according to this quotient and this sampling interval value;And
(c7) it is respectively compared each this temporary count value and deduct the absolute of each this sampling count value
Value size, and using each absolute value reckling this temporary image corresponding as an image to be synthesized, with
Obtain quantity and this quotient identical this image to be synthesized multiple;
D () judges whether image capture work completes;And
E () synthesizes the plurality of image to be synthesized, to obtain a final image;
Wherein, when the judged result of this step (d) is to be, execute this step (e), and when this step (d)
When judged result is no, makes the one of this optical mouse sensor to count initial value and be equal to this remainder, and again
Execute this step (c) and this step (d).
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 true CN106412371A (en) | 2017-02-15 |
CN106412371B 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 (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130113759A1 (en) * | 2011-11-04 | 2013-05-09 | Pixart Imaging Inc. | Displacement detection device and operating method thereof |
CN103389811A (en) * | 2012-05-11 | 2013-11-13 | 原相科技股份有限公司 | Optical navigation device and track smoothing method thereof |
US20140092019A1 (en) * | 2012-10-03 | 2014-04-03 | Pixart Imaging Inc. | Optical navigation method for dynamically adjusting size of image sensing region and related apparatus thereof |
CN103873786A (en) * | 2012-12-17 | 2014-06-18 | 原相科技股份有限公司 | Image adjustment method and optical navigator using same |
-
2015
- 2015-07-29 CN CN201510454728.6A patent/CN106412371B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130113759A1 (en) * | 2011-11-04 | 2013-05-09 | Pixart Imaging Inc. | Displacement detection device and operating method thereof |
CN103389811A (en) * | 2012-05-11 | 2013-11-13 | 原相科技股份有限公司 | Optical navigation device and track smoothing method thereof |
US20140092019A1 (en) * | 2012-10-03 | 2014-04-03 | Pixart Imaging Inc. | Optical navigation method for dynamically adjusting size of image sensing region and related apparatus thereof |
CN103873786A (en) * | 2012-12-17 | 2014-06-18 | 原相科技股份有限公司 | Image adjustment method and optical navigator using same |
Also Published As
Publication number | Publication date |
---|---|
CN106412371B (en) | 2019-01-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101681424B (en) | Sequential image alignment | |
Rajam et al. | Real time Indian sign language recognition system to aid deaf-dumb people | |
CN109697434A (en) | A kind of Activity recognition method, apparatus and storage medium | |
CN102737370B (en) | Method and device for detecting image foreground | |
CN109934244A (en) | Format Category Learning system and image processing apparatus | |
CN100517371C (en) | Fingerprint image frame sequence combination method based on wave form match | |
CN106033544A (en) | Test content area extraction method based on template matching | |
CN110458145B (en) | Offline handwriting individual recognition system and method based on two-dimensional dynamic characteristics | |
US20200327693A1 (en) | Information processing apparatus, information processing system, information processing method, and program | |
JP2019133287A (en) | Biometric authentication device, biometric authentication program and biometric authentication method | |
CN101930606A (en) | Field depth extending method for image edge detection | |
CN108921070A (en) | Image processing method, model training method and corresponding intrument | |
CN110260795A (en) | A kind of absolute displacement detection method based on increment absolute grating ruler | |
KR20100062320A (en) | Generating method of robot motion data using image data and generating apparatus using the same | |
CN108280425B (en) | Rapid photometry implementation method based on in-screen optical fingerprint sensor | |
JP2011002882A (en) | Imaging apparatus, image processing program, and imaging method | |
CN207557895U (en) | A kind of equipment positioning device applied to large display screen curtain or projection screen | |
CN108846339A (en) | Character recognition method and device, electronic equipment and storage medium | |
CN106412371A (en) | Image capture method and image capture and synthesis method | |
JP2007305061A (en) | Moving object information acquisition device and image acquisition device | |
JP2008276613A (en) | Mobile body determination device, computer program and mobile body determination method | |
TWI568237B (en) | Image capture method and image capture and synthesis method | |
CN109407842A (en) | Interface operation method, device, electronic equipment and computer readable storage medium | |
JP6467994B2 (en) | Image processing program, image processing apparatus, and image processing method | |
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 |