TWI765587B - Intelligent imaging and measurement system and method - Google Patents

Intelligent imaging and measurement system and method Download PDF

Info

Publication number
TWI765587B
TWI765587B TW110107077A TW110107077A TWI765587B TW I765587 B TWI765587 B TW I765587B TW 110107077 A TW110107077 A TW 110107077A TW 110107077 A TW110107077 A TW 110107077A TW I765587 B TWI765587 B TW I765587B
Authority
TW
Taiwan
Prior art keywords
image file
information
size information
image
original image
Prior art date
Application number
TW110107077A
Other languages
Chinese (zh)
Other versions
TW202234017A (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 TW110107077A priority Critical patent/TWI765587B/en
Application granted granted Critical
Publication of TWI765587B publication Critical patent/TWI765587B/en
Publication of TW202234017A publication Critical patent/TW202234017A/en

Links

Images

Abstract

To immediately display an actual size of an object after shooting the object, and further virtual measurement, an intelligent imaging and measurement system and method are provided. The system includes a ranging and photography device, an image processing device, and a display device. The ranging and photography device is used for capturing the image of the object and recording the capturing distance. The image processing device is used to calculate the actual size of the image and perform the virtual measurement. The display device is used to display the image of the object.

Description

智慧取像與量測之系統與方法 System and method for intelligent image acquisition and measurement

本發明係為一種智慧取像與量測的系統與方法,特別是一種即時輸出拍攝物實際尺寸的技術。 The present invention relates to a system and method for intelligent image capturing and measurement, especially a technology for outputting the actual size of a photographed object in real time.

目前具有量測實際尺寸的取像系統,需架設在一個固定已知高度的位置,並在取像視野內放置一對照物(通常具有特定單位刻度的尺規)。取像系統再同時拍攝物件的物與對照物,由此來比對物件的實際尺寸。 At present, the imaging system for measuring the actual size needs to be erected at a position with a fixed and known height, and a control object (usually a ruler with a specific unit scale) is placed in the imaging field of view. The imaging system simultaneously shoots the object and the control object to compare the actual size of the object.

而上述方法必需仰賴人工透過影像中的對照物藉以推算物件的實際尺寸,較適合用於處理少量的影像上。若用於產線上,因待檢測的的數量大,上述方法將不符合效益,並且上述方法之取像系統也必須定期執行校正,方能維持影像的精準度,更添增許多產線上的成本。 The above-mentioned method must rely on artificially to estimate the actual size of the object through the control object in the image, which is more suitable for processing a small number of images. If it is used on a production line, the above method will not be effective due to the large number of objects to be inspected, and the imaging system of the above method must also be calibrated regularly in order to maintain the accuracy of the image and increase the cost of many production lines. .

根據現有技術的缺漏,所屬技術領域需一種不需固定高度、不需對照物以及可即時計算影像中物件的實際尺寸之取像系統。因此如何達到符合上述條件的取像系統,即成為所領技術領域有待克服的問題。 According to the deficiencies in the prior art, there is a need in the technical field for an imaging system that does not require a fixed height, does not require a contrast, and can instantly calculate the actual size of an object in an image. Therefore, how to achieve an imaging system that meets the above conditions becomes a problem to be overcome in the technical field.

為解決上述問題,本發明之實施例發展出一種智慧取像與量測系統,上述系統整合取像、測距以及計算的功能,並可在任意取像距離下計算影像中物件的實際尺寸。上述系統除了可以計算二維的尺寸資訊(X,Y)外,上述系統透過內建的測距單元,對於不規則形狀的物件,可進一步取得高度資訊,以產生該物件的三維的尺寸資訊(X,Y,Z)。而本發明之智慧取像與量測系統中,具備標準尺寸資訊的資料庫,上述標準尺寸資訊具有多個取像距離資訊以及解析度資訊所對應之畫素矩陣以及實際尺寸資訊。因此透過本發明擷取之物件影像,可即時計算物件在影像中的實際尺寸。計算方式係利用迴歸分析法透過上述系統內資料庫的標準尺寸資訊,將取像距離資訊以及解析度資訊所對應畫素矩陣的實際尺寸,推算物件長、寬、高之實際的尺寸,從而達到即時計算影像中物件實際尺寸的功效。 To solve the above problem, an embodiment of the present invention develops an intelligent image capturing and measuring system, which integrates the functions of image capturing, ranging and calculation, and can calculate the actual size of the object in the image at any image capturing distance. In addition to calculating the two-dimensional size information (X, Y), the above-mentioned system can further obtain height information for irregularly shaped objects through the built-in ranging unit to generate the three-dimensional size information of the object ( X, Y, Z). In the smart imaging and measurement system of the present invention, there is a database of standard size information, and the standard size information includes a plurality of pixel matrices and actual size information corresponding to imaging distance information and resolution information. Therefore, through the object image captured by the present invention, the actual size of the object in the image can be calculated in real time. The calculation method is to use the regression analysis method to calculate the actual size of the object's length, width and height through the standard size information of the above-mentioned database in the system. The ability to instantly calculate the actual size of objects in an image.

具體而言,本發明之實施例提供一種智慧取像與量測系統。上述智慧取像與量測系統包括至少一個測距取像裝置、影像處理裝置以及顯示裝置。上述測距取像裝置包括至少一個取像單元以及至少一個測距單元。上述取像單元擷取物件的影像後,產生至少一個原始影像檔,並取得上述原始影像檔之解析度資訊。上述測距單元測量上述取像單元與物件之取像距離,以產生取像距離資訊。上述影像處理裝置包括資料庫與計算模組。上述影像處理裝置訊號連接上述測距取像裝置,並計算上述原始影像檔中物件之實際尺寸。上述資料庫係用以儲存多個標準尺寸資訊,每一上述標準尺寸資訊分別包括單位面積之解析度、取像距離、對應之畫素矩陣以及對應的實際尺寸。上述計算模組訊號連接上述資料庫,根據上述原始影像檔之上述解析度資訊以及上述取像距離資訊,比對上述資料庫中之上述標準尺寸資訊,並計算產生具有實際尺寸資訊 之處理後影像檔。上述顯示裝置,係為顯示上述原始影像檔或上述處理後影像檔。 Specifically, embodiments of the present invention provide an intelligent imaging and measurement system. The above-mentioned intelligent imaging and measurement system includes at least one ranging imaging device, an image processing device and a display device. The above-mentioned ranging and imaging device includes at least one imaging unit and at least one ranging unit. After the image capturing unit captures the image of the object, at least one original image file is generated, and the resolution information of the original image file is obtained. The distance measuring unit measures the image capturing distance between the image capturing unit and the object to generate image capturing distance information. The above image processing device includes a database and a computing module. The signal of the above-mentioned image processing device is connected to the above-mentioned distance measuring and imaging device, and the actual size of the object in the above-mentioned original image file is calculated. The above-mentioned database is used for storing a plurality of standard size information, and each of the above-mentioned standard size information respectively includes the resolution per unit area, the image capturing distance, the corresponding pixel matrix and the corresponding actual size. The above-mentioned calculation module signal is connected to the above-mentioned database, and according to the above-mentioned resolution information and the above-mentioned acquisition distance information of the above-mentioned original image file, the above-mentioned standard size information in the above-mentioned database is compared, and the actual size information is calculated and generated. The processed image file. The above-mentioned display device is for displaying the above-mentioned original image file or the above-mentioned processed image file.

依據又一實施例,上述影像處理裝置還包括疊合模組。當上述物件具有設計圖,疊合模組將上述設計圖與上述處理後影像檔疊合,並同時顯示在上述顯示裝置。 According to yet another embodiment, the above-mentioned image processing apparatus further includes a stacking module. When the above-mentioned object has a design drawing, the superimposing module superimposes the above-mentioned design drawing and the above-mentioned processed image file, and simultaneously displays it on the above-mentioned display device.

依據又一實施例,上述影像處理裝置還包括量測模組,提供人工對上述處理後影像檔執行虛擬量測,並產生尺寸量測資料。 According to yet another embodiment, the image processing apparatus further includes a measurement module for manually performing virtual measurement on the processed image file and generating dimension measurement data.

依據又一實施例,其中上述測距單元包括雷射測距儀、可見光測距儀、紅外線測距儀或步進馬達。 According to yet another embodiment, the distance measuring unit includes a laser distance meter, a visible light distance meter, an infrared distance meter or a stepping motor.

依據又一實施例,其中上述物件例如可包括印刷電路板、半導體晶圓或其他電子產品。 According to yet another embodiment, the above-mentioned objects may include, for example, printed circuit boards, semiconductor wafers, or other electronic products.

依據又一實施例,其中上述計算模組之計算方式包括迴歸分析法。 According to yet another embodiment, the calculation method of the above-mentioned calculation module includes a regression analysis method.

本發明之實施例更提供一種智慧取像與量測方法,包括以下步驟。準備多個個標準尺寸資訊,其中每一標準尺寸資訊分別包括一單位面積之解析度、取像距離、對應之畫素矩陣以及對應的實際尺寸。擷取物件之影像,獲得原始影像檔以及擷取上述原始影像檔之解析度資訊以及取像距離資訊。透過上述多個標準尺寸資訊,計算上述原始影像檔之實際尺寸資訊,並附加至上述原始影像檔上,得到處理後影像檔。將上述物件之設計圖與上述處理後影像檔疊合後,並將所得之一疊合影像顯示於顯示裝置上。對上述疊合影像進行虛擬量測。 Embodiments of the present invention further provide an intelligent image acquisition and measurement method, which includes the following steps. A plurality of standard size information are prepared, wherein each standard size information respectively includes a resolution per unit area, an imaging distance, a corresponding pixel matrix and a corresponding actual size. Capture the image of the object, obtain the original image file, and capture the resolution information and the distance information of the original image file. The actual size information of the original image file is calculated through the plurality of standard size information, and added to the original image file to obtain a processed image file. After superimposing the above-mentioned design drawing of the object and the above-mentioned processed image file, a superimposed image obtained is displayed on the display device. A virtual measurement is performed on the above-mentioned superimposed image.

依據又一實施例,其中計算上述原始影像檔之一實際尺寸資訊的方法包括迴歸分析法。 According to yet another embodiment, the method for calculating the actual size information of one of the original image files includes a regression analysis method.

綜合上述實施例之技術特徵,因此可具體主張以下功效。 Combining the technical features of the above embodiments, the following effects can be specifically claimed.

(1)不需定期執行系統校正,且不需事先量測取像距離,可簡化設置取像系統的流程。 (1) There is no need to perform system calibration regularly, and there is no need to measure the image acquisition distance in advance, which can simplify the process of setting up the imaging system.

(2)本系統在取像後可即時計算影像中物件的實際尺寸,並可配合相容的虛擬量測模組以量測物件的特定位置,例如:使用者透過顯示裝置檢視處理後影像,並當點選至少兩個點(即座標)時,即時計算兩個點的實際距離。並可應用於虛擬量測產品的瑕疵位置,不像如過去需要人工實地量測。 (2) The system can immediately calculate the actual size of the object in the image after taking the image, and can cooperate with a compatible virtual measurement module to measure the specific position of the object. For example, the user can view the processed image through the display device, And when at least two points (ie coordinates) are clicked, the actual distance between the two points is calculated in real time. It can also be applied to virtual measurement of the defect position of the product, unlike the need for manual field measurement in the past.

(3)對於不規則形狀的物件,本系統之測距單元可透過完整掃描物件的上表面或取得物件上複數個取樣點的方式得到多個取像距離,以取得完整的物件的高度資訊。例如:在物件的上表面,進行10萬個點的取樣,分別獲得對應這些取樣點之取像距離資訊,以推定物件之面的高度資訊。因此,使用者在透過顯示裝置觀看影像時2D影像時,實則為俯視一個立體的物件。故當物件的上表面具有不一致的高度時,使用者點選處理後影像兩個點進行虛擬計算,實際上是計算兩個三維座標(X,Y,Z)間的距離,以得到物件的實際尺寸,而更接近真實量測的結果。 (3) For objects with irregular shapes, the ranging unit of the system can obtain multiple imaging distances by completely scanning the upper surface of the object or obtaining multiple sampling points on the object to obtain complete height information of the object. For example, 100,000 points are sampled on the upper surface of the object, and the distance information corresponding to these sampling points is obtained respectively, so as to estimate the height information of the surface of the object. Therefore, when the user views the 2D image through the display device, he is actually looking down on a three-dimensional object. Therefore, when the upper surface of the object has inconsistent heights, the user clicks two points in the processed image to perform virtual calculation, in fact, the distance between the two three-dimensional coordinates (X, Y, Z) is calculated to obtain the actual object. size, which is closer to the actual measurement result.

100:智慧取像與量測系統 100:Intelligent imaging and measurement system

120:測距取像裝置 120: Ranging and imaging device

122:取像單元 122: Acquisition unit

124:測距單元 124: Ranging unit

140:影像處理裝置 140: Image processing device

142:資料庫 142:Database

144:計算模組 144: Computing Module

146:疊合模組 146: Stacking module

148:量測模組 148: Measurement module

160:顯示裝置 160: Display device

200:物件 200:Object

220:原始影像檔 220: Original image file

240:處理後影像檔 240: processed image file

301-307:步驟 301-307: Steps

為讓本發明之上述和其他目的、特徵、優點與實施例能更明顯易懂,所附附圖之說明如下: In order to make the above and other objects, features, advantages and embodiments of the present invention more clearly understood, the accompanying drawings are described as follows:

圖1所繪為根據本發明之一實施例之一種智慧取像與量測系統之裝置示意圖。 FIG. 1 is a schematic diagram of a device of an intelligent imaging and measurement system according to an embodiment of the present invention.

圖2所繪為根據本發明之一實施例之一種智慧取像與量測系統之流程圖。 FIG. 2 is a flowchart of an intelligent imaging and measurement system according to an embodiment of the present invention.

圖3所繪為根據本發明之一實施例之一種智慧取像與量測系統之影像顯示示意圖。 FIG. 3 is a schematic diagram of an image display of an intelligent imaging and measurement system according to an embodiment of the present invention.

為更具體說明本發明之各實施例,以下輔以附圖進行說明。 In order to describe the various embodiments of the present invention more specifically, the following description is supplemented by the accompanying drawings.

請參閱圖1,圖1所繪為根據本發明之一實施例之一種智慧取像與量測系統之架構示意圖。在圖1中,依據一實施例,提供一種智慧取像與量測系統100。智慧取像與量測系統100包括至少一個測距取像裝置120、影像處理裝置140以及顯示裝置160。 Please refer to FIG. 1 . FIG. 1 is a schematic diagram illustrating the structure of an intelligent imaging and measurement system according to an embodiment of the present invention. In FIG. 1 , according to an embodiment, an intelligent imaging and measurement system 100 is provided. The intelligent imaging and measurement system 100 includes at least one ranging imaging device 120 , an image processing device 140 and a display device 160 .

上述測距取像系統120包括至少一個取像單元122以及至少一個測距單元124。上述取像單元122係對物件200執行靜態或動態的影像擷取,並產生原始影像檔220。上述取像單元122在擷取物件200的影像前可調整影像擷取之解析度,並在擷取後,將解析度資訊附加存於上述原始影像檔220中。上述取像單元122可為具有靜態或動態影像擷取功能之相機、攝影機或掃描器。上述測距單元124可測量上述取像單元122與該物件200之間的取像距離,並將取像距離資訊存於上述原始影像檔220之中。根據本發明之另一實施例,上述測距單元124包括雷射測距儀、可見光測距儀、紅外線測距儀或步進馬達。 The above-mentioned ranging and imaging system 120 includes at least one imaging unit 122 and at least one ranging unit 124 . The above-mentioned image capturing unit 122 performs static or dynamic image capturing of the object 200 and generates an original image file 220 . The image capturing unit 122 can adjust the resolution of the captured image before capturing the image of the object 200 , and additionally stores the resolution information in the original image file 220 after capturing. The above-mentioned image capturing unit 122 may be a camera, a video camera or a scanner with the function of capturing still or moving images. The distance measuring unit 124 can measure the image capturing distance between the image capturing unit 122 and the object 200 , and store the image capturing distance information in the original image file 220 . According to another embodiment of the present invention, the distance measuring unit 124 includes a laser distance meter, a visible light distance meter, an infrared distance meter or a stepping motor.

上述影像處理裝置140係將上述原始影像檔220之上述解析度資訊以及上述取像距離資訊經過計算,產生具有實際尺寸資訊之處理後影像檔240,並可依據需求進一步執行影像疊合或虛擬量測。上述影像處理裝置140係為具有運算功能之計算機或可攜式設備。上述影像處理裝置140包括資料庫142、計算模組144、疊合模組146以及量測模組148。 The above-mentioned image processing device 140 calculates the above-mentioned resolution information and the above-mentioned image capturing distance information of the above-mentioned original image file 220 to generate a processed image file 240 with actual size information, and can further perform image overlay or virtual measurement according to requirements. Measurement. The above-mentioned image processing device 140 is a computer or a portable device with computing functions. The above-mentioned image processing device 140 includes a database 142 , a calculation module 144 , a stacking module 146 and a measurement module 148 .

上述資料庫142係事先儲存多個標準尺寸資訊,每一個標準尺寸資訊都包括對應一單位面積之解析度、取像距離、對應之畫素矩陣,例如:於1m的取像距離與1920×1080的取像解析度之影像擷取的條件下,1mm2的單位面積所對應的畫素矩陣為2×2的矩陣,亦即1mm2的單位面積係使用顯示裝置之4個畫素來顯示。上述資料庫142係為具有儲存功能之硬碟,例如可為機械式硬碟、固態硬碟或外接式硬碟。 The above-mentioned database 142 stores a plurality of standard size information in advance, and each standard size information includes a resolution corresponding to a unit area, an imaging distance, and a corresponding pixel matrix. Under the condition of image capture with high resolution, the pixel matrix corresponding to a unit area of 1mm 2 is a 2×2 matrix, that is, a unit area of 1mm 2 is displayed using 4 pixels of the display device. The above-mentioned database 142 is a hard disk with a storage function, such as a mechanical hard disk, a solid-state hard disk or an external hard disk.

上述計算模組144係根據上述原始影像檔220之上述解析度資訊以及上述取像距離資訊,在上述資料庫142之上述多個標準尺寸資訊之中,尋找具有相同影像擷取條件的標準尺寸資訊,使用來計算物件200的實際尺寸。然後將物件200的實際尺寸資訊附加到原始影像檔220之後,成為處理後影像檔240。根據本發明之另一實施例,上述計算模組144之計算方式包括迴歸分析法。 The calculation module 144 searches for the standard size information with the same image capturing conditions among the plurality of standard size information in the database 142 according to the resolution information and the image capturing distance information of the original image file 220 , used to calculate the actual size of the object 200. Then, the actual size information of the object 200 is appended to the original image file 220 to become the processed image file 240 . According to another embodiment of the present invention, the calculation method of the calculation module 144 includes a regression analysis method.

當上述物件200具有設計圖時,上述疊合模組146可將上述設計圖與上述處理後影像檔240疊合,並同時顯示在該顯示裝置160上,可供使用者比對上述物件200之設計圖與處理後影像240。 When the object 200 has a design drawing, the superimposing module 146 can overlay the design drawing with the processed image file 240 and display it on the display device 160 at the same time, so that the user can compare the object 200 Design drawings and processed images 240 .

上述量測模組148可讓人工對上述處理後影像檔240執行虛擬量測,產生尺寸量測資料。 The measurement module 148 can manually perform virtual measurement on the processed image file 240 to generate dimensional measurement data.

根據本發明之另一實施例,當上述物件200高度起伏在容忍數值內,例如±0.1mm,可視為平整物體時,上述測距單元124可透過上述物件200事先設置的基準點取得對應至基準點的取像距離資訊,上述計算模組144再根據上述取像距離資訊,計算上述物件200在基準點外之其他區域的實際尺寸。而透過基準點取得上述取像距離資訊之用途,可應用於印刷電路板的製程中。例如:上述物件200為印刷電路板,可事先在製造上述印刷電路板上預設一基準點,作為取得上述取像距離資訊的位置。係因上述印刷電路板為高度大約一致的物體,即可經由基準點的單點測距所獲得的上述取像距離資訊,進而推算上述印刷電路板位於基準點外之其他區域之實際尺寸。上述基準點在印刷電路板上可為任意一個點,例如:在印刷電路板上事先標記的一個點或未上阻焊油墨的位置。 According to another embodiment of the present invention, when the height of the object 200 fluctuates within a tolerance value, such as ±0.1 mm, which can be regarded as a flat object, the distance measuring unit 124 can obtain the corresponding reference point through the reference point preset on the object 200 For the image capturing distance information of the point, the calculation module 144 then calculates the actual size of the object 200 in other regions other than the reference point according to the image capturing distance information. The purpose of obtaining the above-mentioned imaging distance information through the reference point can be applied to the manufacturing process of the printed circuit board. For example, the above-mentioned object 200 is a printed circuit board, and a reference point can be preset on the above-mentioned printed circuit board as a position for obtaining the above-mentioned imaging distance information. Since the printed circuit boards are objects of approximately the same height, the image capturing distance information obtained by single-point ranging of the reference point can be used to calculate the actual size of the printed circuit board in other areas outside the reference point. The above-mentioned reference point can be any point on the printed circuit board, for example: a point marked in advance on the printed circuit board or a position where no solder resist ink is applied.

根據本發明的實施方式,請同時參閱圖1和圖2以及圖3。圖2所繪為根據本發明之一實施例之一種智慧取像與量測之方法流程圖。 According to an embodiment of the present invention, please refer to FIG. 1 and FIG. 2 and FIG. 3 simultaneously. FIG. 2 is a flowchart of a method for intelligent imaging and measurement according to an embodiment of the present invention.

在圖2中,步驟301為開始。 In Figure 2, step 301 is the start.

在步驟302中,事先將用來比對計算之多個標準尺寸資訊存入影像處理裝置140的資料庫142之中。上述標準尺寸資訊以詳述如上,在此不再贅述之。 In step 302, a plurality of standard size information for comparison and calculation are stored in the database 142 of the image processing device 140 in advance. The above standard size information is described in detail as above, and will not be repeated here.

在步驟303中,測距取像裝置120擷取物件200的至少一個影像,並存成對應的原始影像檔220。上述原始影像檔220包含解析度資訊以及取像距離資訊,解析度資訊以及取像距離資訊來源如前文所述,在此不再贅述之。 In step 303 , the distance measuring and imaging device 120 captures at least one image of the object 200 and saves it as a corresponding original image file 220 . The above-mentioned original image file 220 includes resolution information and imaging distance information. The sources of the resolution information and imaging distance information are as described above, and will not be repeated here.

在步驟304中,影像處理裝置140根據上述原始影像檔220之解析度資訊以及取像距離資訊,計算出上述原始影像檔220中物件200的實際尺寸 資訊,並產生處理後影像檔240。例如在1m的取像距離與1920*1080的取像解析度之影像擷取的條件下,1mm2的單位面積所對應的畫素矩陣為2×2的矩陣,上述物件200在原始影像檔220中長以及寬為200×200的矩陣所組成,即算出上述物件200實際面積為10000mm2。並將計算後的實際尺寸資訊附加至上述原始影像檔220,產生處理後影像檔240。 In step 304 , the image processing device 140 calculates the actual size information of the object 200 in the original image file 220 according to the resolution information and the acquisition distance information of the original image file 220 , and generates the processed image file 240 . For example, under the conditions of image capture with an image capture distance of 1m and an image capture resolution of 1920*1080, the pixel matrix corresponding to a unit area of 1mm 2 is a 2×2 matrix, and the above-mentioned object 200 is in the original image file 220 The middle length and width are composed of a matrix of 200×200, that is, the actual area of the object 200 is calculated to be 10000mm 2 . The calculated actual size information is appended to the above-mentioned original image file 220 to generate a processed image file 240 .

在步驟305中,根據上述顯示裝置160設定的解析度,將欲顯示的處理後影像檔240等比例放大或縮小顯示於上述顯示裝置160中。並可參考圖3影像顯示示意圖,圖3所繪為根據本發明之一實施例之一種智慧取像與量測系統之影像顯示的示意圖。當上述物件200為不規則形狀時,透過上述測距取像裝置120的測距功能,可記錄物件200之三維尺寸,並在上述顯示裝置160中的2D影像顯示上,進一步標示高度資訊。在圖3中,係以顏色深淺漸層的方式呈現物件200的上表面之高度資訊。但不限於上述的呈現方式,高度資訊也可以其他適合的方式來表現。上述測距取像裝置120之測距功能可為單點測距、掃描測距或多點測距。上述單點測距適合用於物件200為高度一致的型態;上述掃描測距或多點測距適合用於物件200具有不規則高度的上表面。 In step 305 , according to the resolution set by the display device 160 , the processed image file 240 to be displayed is proportionally enlarged or reduced and displayed on the display device 160 . Also refer to FIG. 3 , which is a schematic diagram of an image display, which is a schematic diagram of an image display of an intelligent imaging and measurement system according to an embodiment of the present invention. When the object 200 has an irregular shape, the three-dimensional size of the object 200 can be recorded through the ranging function of the distance measuring and imaging device 120 , and the height information can be further marked on the 2D image display in the display device 160 . In FIG. 3 , the height information of the upper surface of the object 200 is presented in the form of shades of color. However, it is not limited to the above-mentioned presentation methods, and the height information can also be presented in other suitable manners. The ranging function of the above-mentioned ranging and imaging device 120 may be single-point ranging, scanning ranging or multi-point ranging. The single-point ranging is suitable for the object 200 having a uniform height; the scanning ranging or multi-point ranging is suitable for the upper surface of the object 200 having irregular heights.

在步驟306中,透過顯示於上述顯示裝置160之處理後影像檔240,提供使用者執行虛擬量測。舉例來說,使用者透過上述顯示裝置160所顯示的處理後影像中,點選兩個點,即可計算出上述兩個點之間的實際距離。而實際上影像處理裝置140之量測裝置148將計算上述兩個點間在三維座標(X,Y,Z)上的距離,並非單純在二維座標(X,Y)上的距離。因此可以達到一個準確的虛擬量測結果。 In step 306 , the user is provided to perform virtual measurement through the processed image file 240 displayed on the display device 160 . For example, the user may click on two points in the processed image displayed by the above-mentioned display device 160 to calculate the actual distance between the above-mentioned two points. In fact, the measuring device 148 of the image processing device 140 will calculate the distance between the two points on the three-dimensional coordinates (X, Y, Z), not the distance on the two-dimensional coordinates (X, Y). Therefore, an accurate virtual measurement result can be achieved.

在步驟307中,係為流程結束。 In step 307, the process ends.

綜合上述,本發明之實施例一種智慧取像與量測系統,係可提供使用者不需實地量測物件200的尺寸,而是透過擷取上述物件200的影像後,再透過顯示裝置160執行虛擬測量,以有效節省人工量測的成本。再者,透過本發明系統計算影像中上述物件200長、寬、高的資訊後,可輕易的在顯示裝置160虛擬量測不規則形狀的物件200尺寸,有效克服人工量測時的困難。 In view of the above, an embodiment of the present invention is an intelligent image capturing and measuring system, which can provide the user without the need to measure the size of the object 200 on the spot, but by capturing the image of the object 200 and then executing it through the display device 160 . Virtual measurement to effectively save the cost of manual measurement. Furthermore, after calculating the length, width and height information of the object 200 in the image through the system of the present invention, the size of the irregularly shaped object 200 can be easily measured virtually on the display device 160, effectively overcoming the difficulty of manual measurement.

本發明在本文中僅以較佳實施例揭露,然任何熟習本技術領域者應能理解的是,上述實施例僅用於描述本發明,並非用以限定本發明所主張之專利權利範圍。舉凡與上述實施例均等或等效之變化或置換,皆應解讀為涵蓋於本發明之精神或範疇內。因此,本發明之保護範圍應以下述之申請專利範圍所界定者為準。 The present invention is only disclosed by preferred embodiments herein, however, any person skilled in the art should understand that the above-mentioned embodiments are only used to describe the present invention, and are not intended to limit the scope of the patent rights claimed by the present invention. All changes or substitutions that are equal or equivalent to the above-mentioned embodiments should be construed as being covered within the spirit or scope of the present invention. Therefore, the protection scope of the present invention should be defined by the following patent application scope.

100:智慧取像與量測系統 100:Intelligent imaging and measurement system

120:測距取像裝置 120: Ranging and imaging device

122:取像單元 122: Acquisition unit

124:測距單元 124: Ranging unit

140:影像處理裝置 140: Image processing device

142:資料庫 142:Database

144:計算模組 144: Computing Module

146:疊合模組 146: Stacking module

148:量測模組 148: Measurement module

160:顯示裝置 160: Display device

200:物件 200:Object

220:原始影像檔 220: Original image file

240:處理後影像檔 240: processed image file

Claims (10)

一種智慧取像與量測系統,該系統包括:至少一測距取像裝置,包括:至少一取像單元,用以擷取一物件的影像,並產生至少一原始影像檔,並取得該原始影像檔之一解析度資訊;至少一測距單元,用以測量該取像單元與該物件之一取像距離,以產生一取像距離資訊;一影像處理裝置,訊號連接該測距取像裝置,用以計算該原始影像檔中該物件之實際尺寸,該影像處理裝置包括:一資料庫,用以儲存複數個標準尺寸資訊,每一該些標準尺寸資訊分別包括一單位面積之解析度、取像距離、對應之畫素矩陣以及對應的實際尺寸;一計算模組,訊號連接該資料庫,根據該原始影像檔之該解析度資訊以及該取像距離資訊,比對該資料庫中之該標準尺寸資訊,計算產生具有實際尺寸資訊之一處理後影像檔;以及一顯示裝置,訊號連接該影像處理裝置,用以顯示該原始影像檔或該處理後影像檔。 An intelligent image capturing and measuring system, the system includes: at least one ranging image capturing device, including: at least one image capturing unit, used to capture an image of an object, and generate at least one original image file, and obtain the original image file A resolution information of the image file; at least one distance measuring unit for measuring a distance between the imaging unit and the object to generate a picture distance information; an image processing device, the signal is connected to the distance measuring and imaging an apparatus for calculating the actual size of the object in the original image file, the image processing apparatus includes: a database for storing a plurality of standard size information, each of which respectively includes a resolution per unit area , the acquisition distance, the corresponding pixel matrix and the corresponding actual size; a calculation module, the signal is connected to the database, according to the resolution information and the acquisition distance information of the original image file, compare the data in the database The standard size information is calculated to generate a processed image file with actual size information; and a display device is connected to the image processing device with a signal for displaying the original image file or the processed image file. 如請求項1所述之智慧取像與量測系統,其中該系統更包括一疊合模組,當該物件具有一設計圖,用以將該設計圖與該處理後影像檔疊合,並同時顯示在該顯示裝置上。 The intelligent imaging and measurement system according to claim 1, wherein the system further comprises a superimposing module, when the object has a design drawing, for superimposing the design drawing and the processed image file, and Also displayed on the display device. 如請求項1所述之智慧取像與量測系統,其中該系統更包括一量測模組,用以提供人工對該處理後影像檔執行虛擬量測,產生一尺寸量測資料。 The intelligent imaging and measurement system according to claim 1, wherein the system further includes a measurement module for manually performing virtual measurement on the processed image file to generate a size measurement data. 如請求項1所述之智慧取像與量測系統,其中該測距單元包括雷射測距儀、可見光測距儀、紅外線測距儀或步進馬達。 The intelligent imaging and measurement system according to claim 1, wherein the distance measuring unit comprises a laser range finder, a visible light range finder, an infrared range finder or a stepping motor. 如請求項1所述之智慧取像與量測系統,其中該計算模組之計算方式包括迴歸分析法。 The intelligent imaging and measurement system according to claim 1, wherein the calculation method of the calculation module includes a regression analysis method. 一種智慧取像與量測之方法,包括以下步驟:準備複數個標準尺寸資訊,其中每一該些標準尺寸資訊分別包括單位面積之解析度、取像距離、對應之畫素矩陣以及對應的實際尺寸;擷取一物件之影像,獲得一原始影像檔以及擷取該原始影像檔之一解析度資訊以及一取像距離資訊;透過該些標準尺寸資訊,計算該原始影像檔之一實際尺寸資訊,並附加至該原始影像檔上,得到一處理後影像檔;將該物件之設計圖與該處理後影像檔疊合後,並將所得之一疊合影像顯示於一顯示裝置上;以及對該疊合影像進行虛擬量測。 A method for intelligent image acquisition and measurement, comprising the following steps: preparing a plurality of standard size information, wherein each of the standard size information includes resolution per unit area, image acquisition distance, corresponding pixel matrix and corresponding actual size information respectively. size; capture an image of an object, obtain an original image file, and capture resolution information and image-taking distance information of the original image file; calculate an actual size information of the original image file through the standard size information , and append it to the original image file to obtain a processed image file; after superimposing the design drawing of the object with the processed image file, display the resulting superimposed image on a display device; and The superimposed image is subjected to virtual measurement. 如請求項6所述之智慧取像之方法,其中計算該原始影像檔之該實際尺寸資訊的方法包括迴歸分析法。 The intelligent image acquisition method as claimed in claim 6, wherein the method for calculating the actual size information of the original image file includes a regression analysis method. 一種智慧取像與量測之方法,包括以下步驟:準備複數個標準尺寸資訊,其中每一該些標準尺寸資訊分別包括單位面積之解析度、取像距離、對應之畫素矩陣以及對應的實際尺寸; 擷取一物件之影像,獲得一原始影像檔以及擷取該原始影像檔之一解析度資訊以及一取像距離資訊;透過該些標準尺寸資訊,計算該原始影像檔之一實際尺寸資訊,並附加至該原始影像檔上,得到一處理後影像檔;以及將該處理後影像檔顯示於一顯示裝置上。 A method for intelligent image acquisition and measurement, comprising the following steps: preparing a plurality of standard size information, wherein each of the standard size information includes resolution per unit area, image acquisition distance, corresponding pixel matrix and corresponding actual size information respectively. size; Capture an image of an object, obtain an original image file, and capture resolution information and image capturing distance information of the original image file; calculate an actual size information of the original image file through the standard size information, and Attaching to the original image file to obtain a processed image file; and displaying the processed image file on a display device. 如請求項8所述之智慧取像之方法,更包括處理後影像檔顯示於該顯示裝置上後的步驟:對該處理後影像檔進行虛擬量測。 The intelligent image capturing method according to claim 8 further includes the step of displaying the processed image file on the display device: performing virtual measurement on the processed image file. 如請求項8所述之智慧取像之方法,其中計算該原始影像檔之該實際尺寸資訊的方法包括迴歸分析法。 The intelligent image acquisition method as claimed in claim 8, wherein the method for calculating the actual size information of the original image file includes a regression analysis method.
TW110107077A 2021-02-26 2021-02-26 Intelligent imaging and measurement system and method TWI765587B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW110107077A TWI765587B (en) 2021-02-26 2021-02-26 Intelligent imaging and measurement system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW110107077A TWI765587B (en) 2021-02-26 2021-02-26 Intelligent imaging and measurement system and method

Publications (2)

Publication Number Publication Date
TWI765587B true TWI765587B (en) 2022-05-21
TW202234017A TW202234017A (en) 2022-09-01

Family

ID=82594341

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110107077A TWI765587B (en) 2021-02-26 2021-02-26 Intelligent imaging and measurement system and method

Country Status (1)

Country Link
TW (1) TWI765587B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201144747A (en) * 2010-03-02 2011-12-16 Witrins S R O Method and device for optically measuring the surface of a product
CN102549374A (en) * 2009-09-30 2012-07-04 Og技术公司 A method and apparatus of a portable imaging-based measurement with self calibration
TW201502466A (en) * 2013-07-12 2015-01-16 Univ Nat Taiwan Science Tech Method and system for three-dimensional model reconstruction
TW201624422A (en) * 2014-12-17 2016-07-01 光寶電子(廣州)有限公司 Image processing method and electronic device thereof
CN110375717A (en) * 2019-08-02 2019-10-25 桂林理工大学 A kind of close range photogrammetry method of real-time area measuring

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102549374A (en) * 2009-09-30 2012-07-04 Og技术公司 A method and apparatus of a portable imaging-based measurement with self calibration
TW201144747A (en) * 2010-03-02 2011-12-16 Witrins S R O Method and device for optically measuring the surface of a product
TW201502466A (en) * 2013-07-12 2015-01-16 Univ Nat Taiwan Science Tech Method and system for three-dimensional model reconstruction
TW201624422A (en) * 2014-12-17 2016-07-01 光寶電子(廣州)有限公司 Image processing method and electronic device thereof
CN110375717A (en) * 2019-08-02 2019-10-25 桂林理工大学 A kind of close range photogrammetry method of real-time area measuring

Also Published As

Publication number Publication date
TW202234017A (en) 2022-09-01

Similar Documents

Publication Publication Date Title
US9230330B2 (en) Three dimensional sensing method and three dimensional sensing apparatus
CN107860337B (en) Structured light three-dimensional reconstruction method and device based on array camera
JP2010008352A (en) Size measuring method and size measuring device
CN107578047B (en) Eccentricity detection method for power cable
CN104197846B (en) A kind of mirror displacements measuring method of feature based pattern reflection
CN115797359B (en) Detection method, equipment and storage medium based on solder paste on circuit board
Boehm Accuracy investigation for structured-light based consumer 3D sensors
CN109357637B (en) Method for measuring curvature radius and thickness of plate rolling machine plate rolling based on depth camera
JP6928217B1 (en) Measurement processing equipment, methods and programs
TWI765587B (en) Intelligent imaging and measurement system and method
JP2008281481A (en) Apparatus and method for measuring resolution
CN111336942A (en) Shooting method for three-dimensional strain deformation measurement
TWM616271U (en) Smart image taking and measurement system
CN107274449B (en) Space positioning system and method for object by optical photo
CN115082538A (en) System and method for three-dimensional reconstruction of surface of multi-view vision balance ring part based on line structure light projection
JP7369588B2 (en) Imaging equipment and imaging method
TW201833510A (en) Item size calculation system capable of capturing the image through using two cameras for obtaining the actual size
US9083871B2 (en) Plant image capture device and image capture method thereof
CN114963971A (en) Intelligent image taking and measuring system and method
KR101165340B1 (en) Projector calibration system using camera and method using this
JP2004170277A (en) 3-dimensional measurement method, 3-dimensional measurement system, image processing apparatus, and computer program
AU2009249001B2 (en) Stereoscopic measurement system and method
TWI674422B (en) Non-contact optical measurement method and system
WO2018061430A1 (en) Measurement apparatus, measurement method, measurement program, and recording medium
JP4760072B2 (en) X-ray inspection apparatus and X-ray inspection method