This application claims priority from Taiwan Patent Application No. 106140572, filed on Nov. 22, 2017, the entire contents of which are incorporated herein by reference for all purposes.
The present invention relates to an image capture method, and more particularly to an image capture and output method reducing the image deformation and saving the memory.
A handheld image capture device (e.g. a handheld scanner) is usually applied as the image capture tool of the document digitalization. The handheld image capture device is held by a user for capturing a document as an image along a direction, so a tilt may occur during operation. Meanwhile, only one direction can be operated along makes a lot of limitations.
To solve issues mentioned above, some image capture and output method are developed in the art. For example, please refer to
However, when the movement path of the handheld image capture device is a curve, the original image in the temporary buffer will be bent or even be deformed. Under these circumstances, the image capture and output method of prior art mentioned above cannot be used to pick the correct accessed image. Moreover, under the structure of the image capture and output method of prior art, a temporary buffer and an output buffer are necessary. A very large amount of storage memory will be occupied, so that the manufacturing cost cannot be effectively reduced.
Therefore, there is a need of providing an improved image capture and output method distinct from the prior art in order to solve the above drawbacks.
Some embodiments of the present invention are to provide an image capture and output method in order to overcome at least one of the above-mentioned drawbacks encountered by the prior arts.
The present invention provides an image capture and output method. By recording the position information of each line image, calculating to obtain the fill information, directly filling each line image into the image buffer, and directly outputting the image buffer as the product image, the deformation issue is effectively solved, the storage memory is saved, and the manufacturing cost is lowered.
The present invention also provides an image capture and output method. The line images are repeatedly filled into the corresponded image position of the image buffer and the following rows of the image positions, so that the image can be quickly fixed without consuming extra performances.
In accordance with an aspect of the present invention, there is provided an image capture and output method. The image capture and output method comprises steps of providing an image capture device, continuously capturing a plurality of line images from an initial position and recording a position information corresponded to each line image, calculating the difference between the position information of the first line image and the initial position and the differences between the position information of each of the rest line images and a former one of the line image to obtain a fill information, filling each line image into an image buffer according to the fill information, and outputting the image buffer as a product image.
The above contents of the present invention will become more readily apparent to those ordinarily skilled in the art after reviewing the following detailed description and accompanying drawings, in which:
The present invention will now be described more specifically with reference to the following embodiments. It is to be noted that the following descriptions of preferred embodiments of this invention are presented herein for purpose of illustration and description only. It is not intended to be exhaustive or to be limited to the precise form disclosed.
Please refer to
In some embodiments, the image capture device 1 is preferred to comprise a case 10, a control unit 11, a linear image sensor 12 and two optical mouse sensors 13, but not limited herein. The control unit 11, the linear image sensor 12 and the two optical mouse sensors 13 are disposed in the case 10. The linear image sensor 12 and the two optical mouse sensors 13 are respectively connected with the control unit 11. The two optical mouse sensors 13 are respectively disposed at two opposed sides of the linear image sensor 12 for recording the position information of the two opposed sides (i.e. left side and right side) of each line image while the linear image sensor is capturing line images. Under this configuration, the step S200 of the embodiment mentioned above is preferred to be implemented by the linear image sensor 12 and the two optical mouse sensors 13, the step S300 through the step S500 are preferred to be implemented by the control unit 11, and the control unit 11 is preferred to be a processor or a microcontroller, but not limited thereto.
In some embodiments, the position information shown in the step S200 comprise two coordinate positions (i.e. the coordinates of left side and right side) of the two opposed sides of the line image captured by the two optical mouse sensors 13. Certainly, the two coordinate positions can be presented as two-dimensional coordinates like (X1, Y1) and (X2, Y2), or can be presented as polar coordinates or latitude and longitude, which are within the scope of teachings of the present invention.
Furthermore, the position information further comprise a shift degree. Please refer to
In some embodiments, when the shift angle θ does exist, the step S400 of the image capture and output method further comprises detailed steps as following, so that the dot compensation will be performed and the image will be completed. Please refer to
On the other hand, when the average of shift degrees is greater than 10 degrees and less than or equal to 15 degrees, the step S400 of the image capture and output method of the present invention comprises steps as following. Firstly, as shown in step S410, respectively filling a plurality of image units of one of the line images into corresponded image positions of the image buffer. Next, as shown in step S420, copying each of the image units and filling into next row of the image positions corresponded to the image units. Then, the step S420 is re-performed, or a step S430 that is similar to the step S420 is performed. As shown in the step S430, copying each of the image units and filling into next row of the image positions corresponded to the image units. In other words, as the shift angle is larger, the number of rows to be compensated is larger, so one more row is utilized to implement the image compensation. In addition, when the shift angle is much larger, for example when the average of shift degrees is greater than 15 degrees, the step S410 is performed once and the step S420 is performed over three times to each line image. The step S420 can be totally performed for three times, four times, five times, six times, seven times, eight times, nine times or ten times, but not limited herein.
Please refer to
It can be seen from
From the above description, the present invention provides an image capture and output method. By recording the position information of each line image, calculating to obtain the fill information, directly filling each line image into the image buffer, and directly outputting the image buffer as the product image, the deformation issue is effectively solved, the storage memory is saved, and the manufacturing cost is lowered. Meanwhile, the line images are repeatedly filled into the corresponded image position of the image buffer and the following rows of the image positions, so that the image can be quickly fixed without consuming extra performances.
While the invention has been described in terms of what is presently considered to be the most practical and preferred embodiments, it is to be understood that the invention needs not be limited to the disclosed embodiment. On the contrary, it is intended to cover various modifications and similar arrangements included within the spirit and scope of the appended claims which are to be accorded with the broadest interpretation so as to encompass all such modifications and similar structures.
Number | Date | Country | Kind |
---|---|---|---|
106140572 A | Nov 2017 | TW | national |
Number | Name | Date | Kind |
---|---|---|---|
5355146 | Chiu et al. | Oct 1994 | A |
6556315 | Kommrusch et al. | Apr 2003 | B1 |
7738004 | Park et al. | Jun 2010 | B2 |
8593522 | Ishii | Nov 2013 | B2 |
8624998 | James | Jan 2014 | B2 |
9319589 | Kosaka | Apr 2016 | B2 |
9871931 | Luo | Jan 2018 | B1 |
10055011 | Yang | Aug 2018 | B2 |
20020114022 | Tanaka et al. | Aug 2002 | A1 |
20150381883 | Kawai | Dec 2015 | A1 |
20160225133 | Yang | Aug 2016 | A1 |
20170111538 | Luo | Apr 2017 | A1 |
20170155899 | Lin | Jun 2017 | A1 |
20180284966 | Irie | Oct 2018 | A1 |
Number | Date | Country |
---|---|---|
103905686 | Jul 2014 | CN |
2254325 | May 2010 | EP |
3322172 | Dec 2016 | EP |
201101806 | Jan 2011 | TW |
201514968 | Apr 2015 | TW |
Number | Date | Country | |
---|---|---|---|
20190158694 A1 | May 2019 | US |