TWI567661B - Image capturing method and image capturing device - Google Patents

Image capturing method and image capturing device Download PDF

Info

Publication number
TWI567661B
TWI567661B TW104135691A TW104135691A TWI567661B TW I567661 B TWI567661 B TW I567661B TW 104135691 A TW104135691 A TW 104135691A TW 104135691 A TW104135691 A TW 104135691A TW I567661 B TWI567661 B TW I567661B
Authority
TW
Taiwan
Prior art keywords
image capturing
image
displacement data
true
data
Prior art date
Application number
TW104135691A
Other languages
Chinese (zh)
Other versions
TW201715441A (en
Inventor
陳彥廷
陳格猛
科特尤金 斯皮爾
Original Assignee
東友科技股份有限公司
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 東友科技股份有限公司 filed Critical 東友科技股份有限公司
Priority to TW104135691A priority Critical patent/TWI567661B/en
Priority to US14/968,543 priority patent/US9769347B2/en
Application granted granted Critical
Publication of TWI567661B publication Critical patent/TWI567661B/en
Publication of TW201715441A publication Critical patent/TW201715441A/en

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/04Scanning arrangements, i.e. arrangements for the displacement of active reading or reproducing elements relative to the original or reproducing medium, or vice versa
    • 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
    • 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/00519Constructional details not otherwise provided for, e.g. housings, covers
    • 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/00795Reading arrangements

Description

影像擷取方法及影像擷取裝置 Image capturing method and image capturing device

本案係關於一種影像擷取方法,尤指一種透過取得一第一位移資料及一第二位移資料計算並校正擷取影像的影像擷取方法及影像擷取裝置。 The present invention relates to an image capturing method, and more particularly to an image capturing method and an image capturing device for calculating and correcting captured images by obtaining a first displacement data and a second displacement data.

由於現代社會中,人們越來越依賴手持裝置,例如智慧型手機或平板電腦等,所以文件數位化的需求也愈發強烈。通常,紙本文件係透過掃描或攝影等影像擷取的方式進行數位化,以轉換成數位檔案。其中,又以可攜式影像擷取裝置,例如可攜式掃描器等,因具備易於攜帶且隨時可取用等優點,逐漸成為市場上的主流。 Due to the increasing reliance on handheld devices, such as smart phones or tablets, in modern society, the need for digital digitization has become stronger. Usually, a paper document is digitized by image capture such as scanning or photography to be converted into a digital file. Among them, portable image capturing devices, such as portable scanners, have become the mainstream in the market because of their advantages of being easy to carry and ready for use.

常見的可攜式掃描器主要有兩種形式。第一種是在可攜式掃描器與紙張的接觸面上增加滾輪結構來幫助使用者穩定地移動可攜式掃描器,此種方式無法避免肇因於操作誤差產生的影像扭曲及歪斜,同時更因硬體部分的重量與體積難以減少,造成攜帶上之不便;第二種是使用自動進紙的機制,雖然此種方式可完全避免人為的操作誤差,但此種方式所需配置的重量與體積更是較第一種為多,進而使攜帶性大幅降低,同時也必須受限於可攜式掃描器進紙的規格尺寸,失去了掃描書本或大型目標的功能。 There are two main forms of common portable scanners. The first is to add a roller structure on the contact surface between the portable scanner and the paper to help the user to stably move the portable scanner. This method cannot avoid image distortion and skew caused by operation errors. Moreover, it is difficult to reduce the weight and volume of the hardware part, which causes inconvenience in carrying; the second is the mechanism of using automatic paper feeding, although this method can completely avoid the artificial operation error, but the weight of the configuration required in this way The volume is more than the first one, which greatly reduces the portability. At the same time, it must be limited by the size of the portable scanner, and the function of scanning books or large targets is lost.

故此,如何發展一種有別以往的影像擷取方法,採用與傳統配置相異的硬體架構,以改善習知技術中的問題與缺點,進而增進使用者體驗,實為目前技術領域中的重要課題。 Therefore, how to develop a different image acquisition method and adopt a hardware architecture different from the traditional configuration to improve the problems and shortcomings in the prior art, thereby enhancing the user experience, is indeed important in the current technical field. Question.

本案之主要目的為提供一種影像擷取方法及影像擷取裝置,俾解決並改善前述先前技術之問題與缺點。 The main purpose of the present invention is to provide an image capturing method and an image capturing device, which solve and improve the problems and disadvantages of the foregoing prior art.

本案之另一目的為提供一種影像擷取方法及影像擷取裝置,藉由取得擷取影像、第一位移資料及第二位移資料,並對第一位移資料、第二位移資料進行多樣化的計算,可使擷取影像輸出為校正後之終端影像。不僅使所擷取的影像接近原圖,大幅提升影像品質,更可在不受限於任何操作方式的情況下,隨意地進行影像擷取,進而有效增進使用者體驗。 Another object of the present invention is to provide an image capturing method and an image capturing device, which are capable of diversifying the first displacement data and the second displacement data by acquiring the captured image, the first displacement data, and the second displacement data. The calculation can output the captured image as the corrected terminal image. Not only makes the captured image close to the original image, but also greatly improves the image quality, and the image capture can be performed freely without being restricted to any operation mode, thereby effectively improving the user experience.

本案之另一目的為提供一種影像擷取方法及影像擷取裝置,其透過對第一位移資料及第二位移資料進行計算即可進行影像校正,故影像擷取裝置僅需配置小型、輕量的第一光學位移感測器及第二光學位移感測器,毋須如傳統方式採用機械元件穩定影像擷取之過程,以達到使產品體積大幅縮小並有效減少產品總重量的功效。 Another object of the present invention is to provide an image capturing method and an image capturing device, which can perform image correction by calculating the first displacement data and the second displacement data, so that the image capturing device only needs to be configured in a small and lightweight manner. The first optical displacement sensor and the second optical displacement sensor do not need to use a mechanical component to stabilize the image capturing process in a conventional manner, so as to achieve a product that greatly reduces the volume of the product and effectively reduces the total weight of the product.

為達上述目的,本案之一較佳實施態樣為提供一種影像擷取方法,包括步驟:(a)提供一影像擷取裝置;(b)取得至少一擷取影像、至少一第一位移資料及至少一第二位移資料;(c)根據該第一位移資料及該第二位移資料計算得到一角度偏轉資料;(d)根據該第一位移資料、該第二位移資料及該角度偏轉資料計算得到該影像擷取裝置之一中心點對應之一中心點真實座標;(e)根據該角度偏轉資料及該中心點真實座標計算得到該擷取影像之一起始點對應之一 起始點真實座標及一結束點對應之一結束點真實座標;以及(f)根據該中心點真實座標、該起始點真實座標及該結束點真實座標決定一真實座標系,並將該擷取影像對應該真實座標系輸出,以得到校正後之一終端影像。 In order to achieve the above object, a preferred embodiment of the present invention provides an image capturing method, including the steps of: (a) providing an image capturing device; and (b) obtaining at least one captured image and at least one first displacement data. And at least one second displacement data; (c) calculating an angular deflection data according to the first displacement data and the second displacement data; (d) according to the first displacement data, the second displacement data, and the angular deflection data Calculating a true coordinate of a center point corresponding to a center point of the image capturing device; (e) calculating one of the starting points of the captured image according to the angle deflection data and the true coordinate of the center point a true coordinate of the starting point and an ending point corresponding to an end point; and (f) determining a true coordinate system based on the true coordinate of the center point, the true coordinate of the starting point, and the true coordinate of the ending point, and determining the true coordinate system The image is taken to correspond to the real coordinate system output to obtain a corrected terminal image.

為達上述目的,本案之另一較佳實施態樣為提供一種影像擷取裝置,包括:一控制單元;一第一光學位移感測器,與該控制單元相連接,用以取得一第一位移資料;一第二光學位移感測器,與該控制單元相連接,用以取得一第二位移資料;以及一接觸式影像感測器,與該控制單元相連接,用以取得一擷取影像;其中,該控制單元係根據該第一位移資料及該第二位移資料計算決定一真實座標系,並以該擷取影像對應該真實座標系輸出,俾得到校正後之一終端影像。 In order to achieve the above object, another preferred embodiment of the present invention provides an image capturing device, including: a control unit; a first optical displacement sensor coupled to the control unit for obtaining a first Displacement data; a second optical displacement sensor coupled to the control unit for obtaining a second displacement data; and a contact image sensor coupled to the control unit for obtaining a capture The image control unit determines a real coordinate system based on the first displacement data and the second displacement data, and outputs the corrected image to the real coordinate system to obtain a corrected terminal image.

1‧‧‧影像擷取裝置 1‧‧‧Image capture device

10‧‧‧控制單元 10‧‧‧Control unit

11‧‧‧第一光學位移感測器 11‧‧‧First optical displacement sensor

12‧‧‧第二光學位移感測器 12‧‧‧Second optical displacement sensor

13‧‧‧接觸式影像感測器 13‧‧‧Contact Image Sensor

100‧‧‧本體 100‧‧‧ body

D‧‧‧距離 D‧‧‧Distance

P1、P2、P1’、P2’‧‧‧位置 P1, P2, P1', P2'‧‧‧ position

S100~S600‧‧‧步驟 S100~S600‧‧‧Steps

S100~S800‧‧‧步驟 S100~S800‧‧‧Steps

第1圖係顯示本案較佳實施例之影像擷取方法流程圖。 Figure 1 is a flow chart showing an image capturing method of the preferred embodiment of the present invention.

第2圖係顯示本案另一較佳實施例之影像擷取方法流程圖。 Figure 2 is a flow chart showing an image capturing method in another preferred embodiment of the present invention.

第3圖係顯示本案較佳實施例之影像擷取裝置之架構方塊圖。 Figure 3 is a block diagram showing the architecture of the image capturing device of the preferred embodiment of the present invention.

第4圖係顯示本案較佳實施例之影像擷取裝置之底視圖。 Figure 4 is a bottom plan view of the image capture device of the preferred embodiment of the present invention.

第5圖係顯示原始之位移資料及經角度偏轉之位移資料之示意圖。 Figure 5 is a schematic diagram showing the original displacement data and the displacement data by angular deflection.

第6圖係顯示根據第一位移資料及第二位移資料得到的影像擷取裝置於移動前後之相對位置及偏轉角度之示意圖。 Figure 6 is a schematic diagram showing the relative position and the deflection angle of the image capturing device before and after the movement based on the first displacement data and the second displacement data.

第7圖係顯示本案影像擷取方法之原始座標系及真實座標之示意圖。 Figure 7 is a schematic diagram showing the original coordinate system and the real coordinates of the image capturing method of the present invention.

體現本案特徵與優點的一些典型實施例將在後段的說明中詳細敘述。應理解的是本案能夠在不同的態樣上具有各種的變化,其皆不脫離本案的範圍,且其中的說明及圖示在本質上係當作說明之用,而非架構於限制本案。 Some exemplary embodiments embodying the features and advantages of the present invention are described in detail in the following description. It is to be understood that the present invention is capable of various modifications in various aspects, and is not to be construed as a limitation.

請參閱第1圖至第4圖,其中第1圖係顯示本案較佳實施例之影像擷取方法流程圖,第2圖係顯示本案另一較佳實施例之影像擷取方法流程圖,第3圖係顯示本案較佳實施例之影像擷取裝置之架構方塊圖,以及第4圖係顯示本案較佳實施例之影像擷取裝置之底視圖。如第1圖至第4圖所示,本案之影像擷取方法係至少包括步驟S100至步驟S600。其中,影像擷取方法之流程步驟開始於步驟S100,提供影像擷取裝置1。影像擷取裝置1包括本體100、控制單元10、第一光學位移感測器(Optical Navigation Sensor,ONS)11、第二光學位移感測器12及接觸式影像感測器(Contact Image Sensor,CIS)13。其中,控制單元10、第一光學位移感測器11、第二光學位移感測器12及接觸式影像感測器13較佳係設置於本體100。控制單元10係架構於控制影像擷取裝置1整體之運作,且第一光學位移感測器11、第二光學位移感測器12及接觸式影像感測器13係與控制單元10相連接。 Please refer to FIG. 1 to FIG. 4 , wherein FIG. 1 is a flow chart showing an image capturing method according to a preferred embodiment of the present invention, and FIG. 2 is a flow chart showing an image capturing method according to another preferred embodiment of the present invention. 3 is a block diagram showing the structure of the image capturing device of the preferred embodiment of the present invention, and FIG. 4 is a bottom view showing the image capturing device of the preferred embodiment of the present invention. As shown in FIG. 1 to FIG. 4, the image capturing method of the present invention includes at least steps S100 to S600. The process step of the image capturing method starts in step S100, and the image capturing device 1 is provided. The image capturing device 1 includes a body 100, a control unit 10, a first optical displacement sensor (ONS) 11, a second optical displacement sensor 12, and a contact image sensor (CIS). )13. The control unit 10, the first optical displacement sensor 11, the second optical displacement sensor 12, and the contact image sensor 13 are preferably disposed on the body 100. The control unit 10 is configured to control the overall operation of the image capturing device 1 , and the first optical displacement sensor 11 , the second optical displacement sensor 12 and the contact image sensor 13 are connected to the control unit 10 .

其次,如步驟S200所示,取得至少一擷取影像、至少一第一位移資料及至少一第二位移資料。其中,擷取影像係以接觸式影像感測器13取得,第一位移資料係以第一光學位移感測器11取得,且第二位移資料係以第二光學位移感測器12取得,但不以此為限。 Next, as shown in step S200, at least one captured image, at least one first displacement data, and at least one second displacement data are obtained. The captured image is obtained by the contact image sensor 13 , the first displacement data is acquired by the first optical displacement sensor 11 , and the second displacement data is acquired by the second optical displacement sensor 12 , but Not limited to this.

在同時採用接觸式影像感測器13以及第一光學位移感測器11與第二光學位移感測器12分別取得擷取影像、第一位移資料及第二位移資料的情況下,若要使接觸式影像感測器13以及第一光學位移感測器11與第二光學位移感測器12相互連動,勢必會造成影像擷取每列的最短時間拉長,對於使用者而言會使最快容忍速度減少,影響使用上的便利性。故此,於本案較佳實施例中, 係使接觸式影像感測器13不與第一光學位移感測器11及第二光學位移感測器12連動,以增進使用者的操作體驗。具體言之,於步驟S200中,影像擷取裝置1之接觸式影像感測器13係每隔一距離取得一個擷取影像,且影像擷取裝置1之第一光學位移感測器11及第二光學位移感測器12係每隔一時間間隔取得一個第一位移資料及一個第二位移資料。藉此,接觸式影像感測器13可以全速運行,並透過第一光學位移感測器11及第二光學位移感測器12取得的第一位移資料及第二位移資料內插計算出接觸式影像感測器13擷取之擷取影像每一列的資訊。 In the case where the contact image sensor 13 and the first optical displacement sensor 11 and the second optical displacement sensor 12 respectively acquire the captured image, the first displacement data, and the second displacement data, The contact image sensor 13 and the first optical displacement sensor 11 and the second optical displacement sensor 12 are interlocked with each other, which inevitably causes the shortest time of each column of the image capture, which is the most The speed of fast tolerance is reduced, which affects the convenience of use. Therefore, in the preferred embodiment of the present invention, The contact image sensor 13 is not linked with the first optical displacement sensor 11 and the second optical displacement sensor 12 to enhance the user's operating experience. Specifically, in step S200, the contact image sensor 13 of the image capturing device 1 acquires a captured image at every other distance, and the first optical displacement sensor 11 of the image capturing device 1 and the first The two optical displacement sensors 12 acquire a first displacement data and a second displacement data at intervals of time. Thereby, the contact image sensor 13 can be operated at full speed, and the first displacement data and the second displacement data obtained by the first optical displacement sensor 11 and the second optical displacement sensor 12 are interpolated to calculate the contact type. The image sensor 13 captures the information of each column of the image.

接著,如步驟S300所示,根據第一位移資料及第二位移資料計算得到一角度偏轉資料。請同時參閱第1圖至第5圖,其中第5圖係顯示原始之位移資料及經角度偏轉之位移資料之示意圖。一般而言,以本案影像擷取方法取得的第一位移資料及第二位移資料中,係包括相互垂直的兩個向量U、V,若第一光學位移感測器11及第二光學位移感測器12的感測與前次量測相差一偏轉角度θ時,所量測到的經角度偏轉之第一位移資料及第二位移資料中包含的兩個向量U’、V’亦與原始之第一位移資料及第二位移資料中包含的兩個向量U、V相差該偏轉角度θ。為了校正偏差,該偏轉角度θ之計算是必要的。 Next, as shown in step S300, an angular deflection data is calculated based on the first displacement data and the second displacement data. Please also refer to Figures 1 to 5, where Figure 5 shows the original displacement data and the displacement data of the angular deflection. Generally, the first displacement data and the second displacement data obtained by the image capturing method of the present invention include two vectors U and V perpendicular to each other, and the first optical displacement sensor 11 and the second optical displacement sense. When the sensing of the detector 12 is different from the previous measurement by a deflection angle θ, the measured first angular displacement of the angular deflection and the two vectors U', V' included in the second displacement data are also original The two vectors U and V included in the first displacement data and the second displacement data are different from the deflection angle θ . In order to correct the deviation, the calculation of the deflection angle θ is necessary.

欲計算該偏轉角度θ,並進一步得到角度差,係利用向量關係以及第一光學位移感測器11及第二光學位移感測器12之間的距離D進行運算。請參閱第6圖,其係顯示根據第一位移資料及第二位移資料得到的影像擷取裝置於移動前後之相對位置及偏轉角度之示意圖。如第6圖所示,位置P1及位置P2係表示第一光學位移感測器11及第二光學位移感測器12於移動前的位置,且位置P1’及位置P2’係表示第一光學位移感測器11及第二光學位移感測器12於移動後的位置,距離D係為第一光學位移感測器11及第二光學位移感測器12之間的距離。故此,由第6圖可見,偏轉角度θ可利用反正弦函數計算得到,亦即θ =sin-1((v1-v2)/D)。此外,第i筆位移資料相對於第一筆位移資料之間的角度差θ i 係可以計算得到。 To calculate the deflection angle θ and further obtain the angular difference, the vector relationship and the distance D between the first optical displacement sensor 11 and the second optical displacement sensor 12 are used for calculation. Please refer to FIG. 6 , which is a schematic diagram showing the relative position and the deflection angle of the image capturing device before and after the movement according to the first displacement data and the second displacement data. As shown in FIG. 6, the position P1 and the position P2 represent the positions of the first optical displacement sensor 11 and the second optical displacement sensor 12 before the movement, and the position P1' and the position P2' represent the first optical. The position of the displacement sensor 11 and the second optical displacement sensor 12 after the movement is the distance between the first optical displacement sensor 11 and the second optical displacement sensor 12. Therefore, as can be seen from Fig. 6, the deflection angle θ can be calculated using an inverse sine function, that is, θ = sin -1 ((v 1 - v 2 ) / D). In addition, the angular difference θ i between the i-th displacement data and the first displacement data may be Calculated.

再來,如步驟S400所示,根據第一位移資料、第二位移資料及角度偏轉資料計算得到影像擷取裝置1之一中心點對應之一中心點真實座標。於一些實施例中,接觸式影像感測器13之一中心位置係與影像擷取裝置1之中心點重疊設置。換言之,於步驟S400中取得的中心點真實座標,除可對應影像擷取裝置1之中心點外,亦可對應影像擷取裝置1之接觸式影像感測器13之中心位置。於此步驟S400中,若第一光學位移感測器11現在的位置為P1,第二光學位移感測器12現在的位置為P2,則中心點位置Pc可由Pc=(P1+P2)/2計算得到。若第一光學位移感測器11於位移後取得的第一位移資料為V1,且第二光學位移感測器12於位移後取得的第二位移資料為V2,第一光學位移感測器11位移後的位置P1’可由P1’=P1+V1計算得到,第二光學位移感測器12位移後的位置P2’可由P2’=P2+V2計算得到,且位移後的中心點位置Pc’可由Pc’=(P1’+P2’)/2計算得到。 Then, as shown in step S400, the center point real coordinate corresponding to one center point of the image capturing device 1 is calculated according to the first displacement data, the second displacement data, and the angle deflection data. In some embodiments, a center position of the contact image sensor 13 is overlapped with a center point of the image capturing device 1. In other words, the center point real coordinate obtained in step S400 can correspond to the center point of the image capturing device 1 and the center position of the contact image sensor 13 of the image capturing device 1 . In this step S400, if the current position of the first optical displacement sensor 11 is P1 and the current position of the second optical displacement sensor 12 is P2, the center point position Pc can be Pc=(P1+P2)/2. Calculated. If the first displacement data obtained by the first optical displacement sensor 11 after displacement is V1, and the second displacement data obtained by the second optical displacement sensor 12 after displacement is V2, the first optical displacement sensor 11 The position P1' after the displacement can be calculated by P1'=P1+V1, and the position P2' after the displacement of the second optical displacement sensor 12 can be calculated by P2'=P2+V2, and the center point position Pc' after the displacement can be obtained by Pc'=(P1'+P2')/2 is calculated.

然後,如步驟S500所示,根據角度偏轉資料及中心點真實座標計算得到擷取影像之起始點對應之起始點真實座標及結束點對應之結束點真實座標。於此步驟S500中,係透過線性內插及矩陣轉換之演算法計算得到該起始點真實座標及該結束點真實座標,但不以此為限。於前述的步驟S300至步驟S400,已經計算出第i次第一光學位移感測器11及第二光學位移感測器12取得資料時的中心點Pc i 及角度偏轉θ i 。若t(i)表示第一光學位移感測器11及第二光學位移感測器12第i次讀取的時間點,t(j)表示接觸式影像感測器13讀取第j列的時間點,則內插第j列影像中心點Ic j 與角度偏轉 j 的方式如下: Then, as shown in step S500, the real coordinates of the starting point and the ending point corresponding to the starting point corresponding to the starting point of the captured image are calculated according to the angle deflection data and the true coordinate of the center point. In this step S500, the real coordinate of the starting point and the true coordinate of the ending point are calculated through a linear interpolation and matrix conversion algorithm, but not limited thereto. In the foregoing steps S300 to S400, the center point Pc i and the angle deflection θ i when the i-th first optical displacement sensor 11 and the second optical displacement sensor 12 acquire the data have been calculated. If t(i) represents the time point of the ith reading of the first optical displacement sensor 11 and the second optical displacement sensor 12, t(j) represents that the contact image sensor 13 reads the jth column. At the time point, the manner in which the image center point Ic j and the angle deflection j of the jth column are interpolated is as follows:

接下來就可以利用中心點Ic j 與角度偏轉 j 計算起始點坐標Ia j 與結束點坐標Ib j 的公式為: Next, the formula for calculating the starting point coordinate Ia j and the ending point coordinate Ib j using the center point Ic j and the angle deflection j is:

其中,L為CIS的長度,,,Where L is the length of the CIS, , , .

接著,如步驟S600所示,根據中心點真實座標、起始點真實座標及結束點真實座標決定真實座標系,並將擷取影像對應真實座標系輸出,以得到校正後之終端影像。於此步驟S600中,係以三角形比例關係之演算法,根據中心點真實座標、起始點真實座標及結束點真實座標決定真實座標系。請參閱第1圖至第7圖,其中第7圖係顯示本案影像擷取方法之原始座標系及真實座標之示意圖。如第1圖至第7圖所示,在真實坐標為(x,y)的點,應該參考原本影像的點(x’,y’),計算方式包括:首先,找到i、j、k三個值使得Ya i=Yb j =Yc k =y,i、j即為y’所在範圍;其次,利用x的比例求出y’,其中: Next, as shown in step S600, the real coordinate system is determined according to the true coordinates of the center point, the true coordinates of the starting point, and the real coordinates of the ending point, and the captured image is output corresponding to the real coordinate system to obtain the corrected terminal image. In this step S600, the algorithm of the triangle proportional relationship is used to determine the true coordinate system according to the true coordinates of the center point, the true coordinates of the starting point, and the true coordinates of the ending point. Please refer to Fig. 1 to Fig. 7, wherein Fig. 7 is a schematic diagram showing the original coordinate system and the real coordinates of the image capturing method of the present invention. As shown in Figures 1 to 7, in the point where the true coordinate is (x, y), the point (x', y') of the original image should be referred to. The calculation includes: first, find i, j, k The values are such that Ya i = Yb j = Yc k = y , i, j is the range of y'; secondly, y' is obtained by the ratio of x, where:

在得到y’後,再求出x’,其中: After getting y', find x' again, where:

然而x’對每個點都這樣計算的話太耗費資源,因此在θ y' 不大的情況下,改為x'=x-Xa y' 來加快處理速度。利用上述方法,便可重新輸出真實座標的影像,亦即得到校正後之終端影像。 However, x's calculation of each point is too resource-intensive, so if θ y ' is not large, change x ' = x - Xa y' to speed up the processing. By using the above method, the image of the real coordinate can be re-outputted, that is, the corrected terminal image is obtained.

於一些實施例中,步驟S300、步驟S400、步驟S500及步驟S600較佳係以影像擷取裝置1之控制單元10實現,但不以此為限。 In some embodiments, step S300, step S400, step S500, and step S600 are preferably implemented by the control unit 10 of the image capturing device 1, but are not limited thereto.

於變化實施例中,本案之影像擷取方法於步驟S600之後係進一步包括步驟S700,判斷是否完成影像擷取。當步驟S700之判斷結果為是,於步驟S700之後係執行步驟S800,完成影像擷取;當該步驟S700之判斷結果為否,於步驟S700之後係重新執行步驟S200至步驟S700。簡言之,若判斷影像擷取仍未完成,係重新執行前述之步驟S200至步驟S600,以進行影像擷取及影像校正,並再次判斷是否完成影像擷取;而當判斷影像擷取已完成的情況下,係進行完成影像擷取之步驟S800,使本案影像擷取方法之流程步驟結束於步驟S800。 In a variant embodiment, the image capturing method of the present invention further includes a step S700 after step S600 to determine whether image capturing is completed. If the result of the determination in step S700 is YES, step S700 is followed by step S800 to complete image capture; when the determination result of step S700 is no, step S200 to step S700 are performed again after step S700. In short, if it is determined that the image capture is still not completed, the above steps S200 to S600 are performed again to perform image capture and image correction, and it is determined again whether image capture is completed; and when it is determined that the image capture is completed In the case of performing image capture step S800, the flow of the image capture method of the present invention is terminated in step S800.

綜上所述,本案提供一種影像擷取方法,藉由取得擷取影像、第一位移資料及第二位移資料,並對第一位移資料、第二位移資料進行多樣化的計算,可使擷取影像輸出為校正後之終端影像。不僅使所擷取的影像接近原圖,大幅提升影像品質,更可在不受限於任何操作方式的情況下,隨意地進行影像擷取,進而有效增進使用者體驗。同時,由於本案之影像擷取方法係透過對第一位移資料及第二位移資料進行計算即可進行影像校正,故影像擷取裝置僅需配置小型、輕量的第一光學位移感測器及第二光學位移感測器,毋須如傳統方式採用機械元件穩定影像擷取之過程,以達到使產品體積大幅縮小並有效減少產品總重量的功效。 In summary, the present invention provides an image capture method for obtaining a captured image, a first displacement data, and a second displacement data, and performing diversified calculations on the first displacement data and the second displacement data. Take the image output as the corrected terminal image. Not only makes the captured image close to the original image, but also greatly improves the image quality, and the image capture can be performed freely without being restricted to any operation mode, thereby effectively improving the user experience. At the same time, since the image capturing method of the present invention can perform image correction by calculating the first displacement data and the second displacement data, the image capturing device only needs to be configured with a small and lightweight first optical displacement sensor and The second optical displacement sensor does not need to use a mechanical component to stabilize the image capturing process in a conventional manner, so as to achieve a function of greatly reducing the volume of the product and effectively reducing the total weight of the product.

縱使本發明已由上述之實施例詳細敘述而可由熟悉本技藝之人士任施匠思而為諸般修飾,然皆不脫如附申請專利範圍所欲保護者。 The present invention has been described in detail by the above-described embodiments, and may be modified by those skilled in the art, without departing from the scope of the appended claims.

S100~S600‧‧‧步驟 S100~S600‧‧‧Steps

Claims (10)

一種影像擷取方法,包括步驟:(a)提供一影像擷取裝置;(b)取得至少一擷取影像、至少一第一位移資料及至少一第二位移資料;(c)根據該第一位移資料及該第二位移資料計算得到一角度偏轉資料;(d)根據該第一位移資料、該第二位移資料及該角度偏轉資料計算得到該影像擷取裝置之一中心點對應之一中心點真實座標;(e)根據該角度偏轉資料及該中心點真實座標計算得到該擷取影像之一起始點對應之一起始點真實座標及一結束點對應之一結束點真實座標;以及(f)根據該中心點真實座標、該起始點真實座標及該結束點真實座標決定一真實座標系,並將該擷取影像對應該真實座標系輸出,以得到校正後之一終端影像。 An image capturing method includes the steps of: (a) providing an image capturing device; (b) obtaining at least one captured image, at least one first displacement data, and at least one second displacement data; (c) according to the first The displacement data and the second displacement data are calculated to obtain an angle deflection data; (d) calculating, according to the first displacement data, the second displacement data and the angle deflection data, a center corresponding to a center point of the image capturing device Pointing the true coordinate; (e) calculating, according to the angle deflection data and the true coordinates of the center point, a starting point true coordinate of one of the starting points of the captured image and an ending point true coordinate corresponding to an ending point; and (f According to the true coordinate of the center point, the real coordinate of the starting point and the true coordinate of the ending point, a real coordinate system is determined, and the captured image is output corresponding to the real coordinate system to obtain a corrected terminal image. 如申請專利範圍第1項所述之影像擷取方法,其中該步驟(f)之後更包括步驟:(g)判斷是否完成影像擷取,其中當該步驟(g)之判斷結果為是,於該步驟(g)之後係執行步驟:(h)完成影像擷取,且當該步驟(g)之判斷結果為否,於該步驟(g)之後係重新執行該步驟(b)至該步驟(g)。 The image capturing method of claim 1, wherein the step (f) further comprises the step of: (g) determining whether image capturing is completed, wherein when the determining result of the step (g) is yes, After the step (g), the step is performed: (h) completing the image capture, and when the judgment result of the step (g) is no, after the step (g), the step (b) to the step is re-executed ( g). 如申請專利範圍第1項所述之影像擷取方法,其中該影像擷取裝置包括:一控制單元;一第一光學位移感測器,與該控制單元相連接,用以取得該第一位移資料;一第二光學位移感測器,與該控制單元相連接,用以取得該第二位移資料;以及 一接觸式影像感測器,與該控制單元相連接,用以取得該擷取影像。 The image capturing method of claim 1, wherein the image capturing device comprises: a control unit; a first optical displacement sensor coupled to the control unit for obtaining the first displacement Data; a second optical displacement sensor coupled to the control unit for obtaining the second displacement data; A contact image sensor is coupled to the control unit for acquiring the captured image. 如申請專利範圍第3項所述之影像擷取方法,其中該步驟(c)、該步驟(d)、該步驟(e)及該步驟(f)係以該控制單元實現。 The image capturing method of claim 3, wherein the step (c), the step (d), the step (e), and the step (f) are implemented by the control unit. 如申請專利範圍第3項所述之影像擷取方法,其中該接觸式影像感測器之一中心位置係與該影像擷取裝置之該中心點重疊設置。 The image capturing method of claim 3, wherein a center position of the contact image sensor is overlapped with the center point of the image capturing device. 如申請專利範圍第1項所述之影像擷取方法,其中於該步驟(b)中,該影像擷取裝置係每隔一距離取得一個該擷取影像,且每隔一時間間隔取得一個該第一位移資料及一個該第二位移資料。 The image capturing method of claim 1, wherein in the step (b), the image capturing device acquires one captured image at every other distance, and obtains the image every other time interval. First displacement data and one second displacement data. 如申請專利範圍第1項所述之影像擷取方法,其中該步驟(c)更包括子步驟:(c1)以反正弦函數計算得到該角度偏轉資料之一偏轉角度及一角度差。 The image capturing method of claim 1, wherein the step (c) further comprises the substep: (c1) calculating, by the inverse sine function, a deflection angle and an angular difference of the angular deflection data. 如申請專利範圍第1項所述之影像擷取方法,其中於該步驟(e)中,係透過線性內插及矩陣轉換之演算法計算得到該起始點真實座標及該結束點真實座標。 The image capturing method according to claim 1, wherein in the step (e), the starting point true coordinate and the ending point true coordinate are calculated by a linear interpolation and matrix conversion algorithm. 如申請專利範圍第1項所述之影像擷取方法,其中於該步驟(f)中,係以三角形比例關係之演算法,根據該中心點真實座標、該起始點真實座標及該結束點真實座標決定該真實座標系。 The image capturing method of claim 1, wherein in the step (f), the algorithm of the triangular proportional relationship is based on the true coordinate of the center point, the true coordinate of the starting point, and the ending point. The true coordinates determine the true coordinate system. 一種影像擷取裝置,包括:一控制單元;一第一光學位移感測器,與該控制單元相連接,用以取得一第一位移資料;一第二光學位移感測器,與該控制單元相連接,用以取得一第二位移資料;以及一接觸式影像感測器,與該控制單元相連接,用以取得一擷取影像; 其中,該控制單元係根據該第一位移資料及該第二位移資料計算得到一角度偏轉資料,根據該第一位移資料、該第二位移資料及該角度偏轉資料計算得到該影像擷取裝置之一中心點對應之一中心點真實座標,根據該角度偏轉資料及該中心點真實座標計算得到該擷取影像之一起始點對應之一起始點真實座標及一結束點對應之一結束點真實座標,以及根據該中心點真實座標、該起始點真實座標及該結束點真實座標決定一真實座標系,並以該擷取影像對應該真實座標系輸出,俾得到校正後之一終端影像。 An image capturing device includes: a control unit; a first optical displacement sensor coupled to the control unit for acquiring a first displacement data; a second optical displacement sensor, and the control unit Connected to obtain a second displacement data; and a contact image sensor connected to the control unit for obtaining a captured image; The control unit calculates an angle deflection data according to the first displacement data and the second displacement data, and calculates the image capturing device according to the first displacement data, the second displacement data, and the angle deflection data. A center point corresponds to a true coordinate of a center point, and according to the angle deflection data and the true coordinates of the center point, one of the starting points of the captured image corresponds to a starting point true coordinate and an ending point corresponds to one end point true coordinate And determining a real coordinate system according to the true coordinates of the center point, the true coordinates of the starting point, and the true coordinates of the ending point, and the captured image is corresponding to the real coordinate system output, and the corrected terminal image is obtained.
TW104135691A 2015-10-30 2015-10-30 Image capturing method and image capturing device TWI567661B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW104135691A TWI567661B (en) 2015-10-30 2015-10-30 Image capturing method and image capturing device
US14/968,543 US9769347B2 (en) 2015-10-30 2015-12-14 Image capturing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW104135691A TWI567661B (en) 2015-10-30 2015-10-30 Image capturing method and image capturing device

Publications (2)

Publication Number Publication Date
TWI567661B true TWI567661B (en) 2017-01-21
TW201715441A TW201715441A (en) 2017-05-01

Family

ID=58407878

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104135691A TWI567661B (en) 2015-10-30 2015-10-30 Image capturing method and image capturing device

Country Status (2)

Country Link
US (1) US9769347B2 (en)
TW (1) TWI567661B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014225108A (en) * 2013-05-16 2014-12-04 ソニー株式会社 Image processing apparatus, image processing method, and program
WO2016147524A1 (en) * 2015-03-19 2016-09-22 パナソニックIpマネジメント株式会社 Image reading device
JP6118997B2 (en) * 2015-03-27 2017-04-26 パナソニックIpマネジメント株式会社 Image reading device
WO2016157729A1 (en) * 2015-03-27 2016-10-06 パナソニックIpマネジメント株式会社 Image reading device
TWI626602B (en) * 2016-11-11 2018-06-11 東友科技股份有限公司 Image capture and correction method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102325233A (en) * 2011-10-10 2012-01-18 朱杰 Contact image sensor with a plurality of scanning arrays
US8208181B2 (en) * 2008-02-04 2012-06-26 Ricoh Company, Ltd. Image reading apparatus, document reading apparatus, and image forming apparatus
TW201328345A (en) * 2011-12-28 2013-07-01 Teco Image Sys Co Ltd Image capture device and image correction method thereof
US20130182002A1 (en) * 2012-01-12 2013-07-18 Kofax, Inc. Systems and methods for mobile image capture and processing
TW201523516A (en) * 2013-12-05 2015-06-16 Univ Nat Kaohsiung Applied Sci Video frame stabilization method for the moving camera
TW201523347A (en) * 2013-12-06 2015-06-16 Pixart Imaging Inc Pointer device and pointer positioning method thereof
TW201530493A (en) * 2014-01-28 2015-08-01 Altek Semiconductor Corp Image capturing device and method for calibrating image deformation thereof

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2288512B (en) * 1994-04-14 1998-08-26 Matsushita Electric Ind Co Ltd Image processing apparatus
US5949921A (en) * 1994-08-09 1999-09-07 Matsushita Electric Industrial Co., Ltd. Image processing apparatus for reading an image by hand scanning
JPH08214130A (en) * 1995-02-06 1996-08-20 Matsushita Electric Ind Co Ltd Image processing unit
US6345116B1 (en) * 1996-05-31 2002-02-05 Matsushita Electric Industrial Co., Ltd. Image processing apparatus
US6233066B1 (en) * 1997-08-06 2001-05-15 Matsushita Electric Industrial Co., Ltd. Image processing apparatus, method for image processing, and image reader apparatus
US6303921B1 (en) * 1999-11-23 2001-10-16 Hewlett-Packard Company Method and system for capturing large format documents using a portable hand-held scanner
US7167604B2 (en) * 2002-08-07 2007-01-23 Hewlett-Packard Development Company, L.P. Portable document scan accessory for use with a wireless handheld communications device
EP2067119A2 (en) * 2006-09-08 2009-06-10 Exbiblio B.V. Optical scanners, such as hand-held optical scanners
US20090202180A1 (en) * 2008-02-11 2009-08-13 Sony Ericsson Mobile Communications Ab Rotation independent face detection
CN101557451B (en) * 2009-05-07 2011-04-20 武汉矽感数码有限公司 Method for obtaining scanned picture and scanning device thereof
US8705145B2 (en) * 2012-09-06 2014-04-22 Omnivision Technologies, Inc. Systems and methods for resuming capture of a base image of an object by a mobile scanner

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8208181B2 (en) * 2008-02-04 2012-06-26 Ricoh Company, Ltd. Image reading apparatus, document reading apparatus, and image forming apparatus
CN102325233A (en) * 2011-10-10 2012-01-18 朱杰 Contact image sensor with a plurality of scanning arrays
TW201328345A (en) * 2011-12-28 2013-07-01 Teco Image Sys Co Ltd Image capture device and image correction method thereof
US20130182002A1 (en) * 2012-01-12 2013-07-18 Kofax, Inc. Systems and methods for mobile image capture and processing
TW201523516A (en) * 2013-12-05 2015-06-16 Univ Nat Kaohsiung Applied Sci Video frame stabilization method for the moving camera
TW201523347A (en) * 2013-12-06 2015-06-16 Pixart Imaging Inc Pointer device and pointer positioning method thereof
TW201530493A (en) * 2014-01-28 2015-08-01 Altek Semiconductor Corp Image capturing device and method for calibrating image deformation thereof

Also Published As

Publication number Publication date
US9769347B2 (en) 2017-09-19
TW201715441A (en) 2017-05-01
US20170126922A1 (en) 2017-05-04

Similar Documents

Publication Publication Date Title
TWI567661B (en) Image capturing method and image capturing device
US8554012B2 (en) Image processing apparatus and image processing method for correcting distortion in photographed image
JP5018980B2 (en) Imaging apparatus, length measurement method, and program
CN106377264A (en) Human body height measuring method, human body height measuring device and intelligent mirror
US8810801B2 (en) Three-dimensional measurement apparatus, method for controlling a three-dimensional measurement apparatus, and storage medium
WO2017146202A1 (en) Three-dimensional shape data and texture information generation system, photographing control program, and three-dimensional shape data and texture information generation method
US20180184070A1 (en) Method and system for depth estimation based upon object magnification
JP2007228154A (en) Image processor and image processing method
WO2016103621A1 (en) Three-dimensional information restoration device, three-dimensional information restoration system, and three-dimensional information restoration method
JPWO2018154634A1 (en) Projection display device, control method of projection display device, and program
US20120194879A1 (en) System And Method For Integrated Pair-Wise Registration Of Images Using Image Based Information And Sensor Coordinate And Error Information
WO2019085004A1 (en) Video splicing apparatus and method
WO2016135856A1 (en) Three-dimensional shape measurement system and measurement method for same
JP5996233B2 (en) Imaging device
JP2008298589A (en) Device and method for detecting positions
KR101734372B1 (en) Distance measurement method using single camera module
Ricolfe-Viala et al. Optimal conditions for camera calibration using a planar template
JP2008224323A (en) Stereoscopic photograph measuring instrument, stereoscopic photograph measuring method, and stereoscopic photograph measuring program
US20170069109A1 (en) Method and apparatus for measuring an object
WO2015198478A1 (en) Image distortion correction apparatus, information processing apparatus and image distortion correction method
TWI626602B (en) Image capture and correction method
JP2013170829A (en) Strain measuring device and strain measuring method
JP4789964B2 (en) Image processing apparatus, image processing program, image processing method, and electronic apparatus
CN108076252B (en) Image capture and bearing calibration
CN106657709B (en) Extraction of Image method