TW201833657A - Method For Image Calibration Of X-ray Machine Based On A Movable Calibration Plate - Google Patents

Method For Image Calibration Of X-ray Machine Based On A Movable Calibration Plate Download PDF

Info

Publication number
TW201833657A
TW201833657A TW106107688A TW106107688A TW201833657A TW 201833657 A TW201833657 A TW 201833657A TW 106107688 A TW106107688 A TW 106107688A TW 106107688 A TW106107688 A TW 106107688A TW 201833657 A TW201833657 A TW 201833657A
Authority
TW
Taiwan
Prior art keywords
image
correction
plate
ray
calibration
Prior art date
Application number
TW106107688A
Other languages
Chinese (zh)
Other versions
TWI611249B (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 TW106107688A priority Critical patent/TWI611249B/en
Application granted granted Critical
Publication of TWI611249B publication Critical patent/TWI611249B/en
Publication of TW201833657A publication Critical patent/TW201833657A/en

Links

Landscapes

  • Analysing Materials By The Use Of Radiation (AREA)
  • Apparatus For Radiation Diagnosis (AREA)

Abstract

This invention provides a method for image calibration of an X-ray machine based on a movable calibration plate. The calibration plate comprises a main body and multiples calibration members. The main body includes a first plate portion and a second plate portion that are coupled and not parallel to each other. The calibration members corresponds to world coordinates respectively, and are spacingly disposed on the first plate portion and the second plate portion, such that the calibration members are not overlapped in the image of the calibration plate produced by the X-ray machine in a first orientation. The method comprises the following steps: Producing a first image of the calibration plate by the X-ray machine in the first orientation; Recognizing the calibration members and their respective corresponding image coordinates in the first image by a computing device; and calculating, by the computing device, multiple calibration parameters according to the world coordinates and the image coordinates corresponding the calibration members.

Description

基於活動式校正板的X光機影像校正方法X-ray machine image correction method based on movable calibration plate

本發明是有關於一種X光機影像校正的方法,特別是指一種利用一活動式校正板來進行X光機影像校正的方法。The invention relates to a method for image correction of an X-ray machine, in particular to a method for performing image correction of an X-ray machine by using a movable calibration plate.

如同一般的相機,現有的X光機的成像機制也適於利用針孔相機模型(Pinhole camera model)來描述;所以,X光機的影像校正也如同一般的相機校正,也就是在獲取針孔相機模型的內部參數與外部參數。Like a general camera, the imaging mechanism of the existing X-ray machine is also suitable for description using a pinhole camera model; therefore, the image correction of the X-ray machine is also like a general camera correction, that is, obtaining a pinhole. Internal and external parameters of the camera model.

現有的X光機影像校正方法均需利用一校正板來進行校正,其中校正板的設計與設置位置扮演了重要的角色。參閱圖1,在現有的校正方法中,有利用一金屬箍架2將一校正板3固定在X光機1的X光發射部11上的方式;然而,此方式不僅有校正板裝卸麻煩的缺點,還會使得使用者在操作X光機1時的活動空間變小,且該金屬箍架2與該校正板3增加了X光發射部11的重量,而使得X光發射部11在操作過程中較難被轉動,且容易與人或物發生碰撞。The existing X-ray image correction methods need to be corrected by using a calibration plate, and the design and setting position of the calibration plate play an important role. Referring to Fig. 1, in the conventional correction method, there is a method of fixing a correction plate 3 to the X-ray emitting portion 11 of the X-ray machine 1 by means of a metal hoop 2; however, this method not only has troubles in loading and unloading the correction plate. Disadvantages also make the user's active space when operating the X-ray machine 1 small, and the metal hoop 2 and the correction plate 3 increase the weight of the X-ray emitting portion 11, so that the X-ray emitting portion 11 is operating. It is difficult to be rotated during the process and is easy to collide with people or objects.

在現有的校正方法中,也有利用一與X光機1分離的平面校正板來進行校正的方式,但此方式通常需要利用該平面校正板的多張由不同拍攝角度所拍攝的影像來進行校正才能達到校正目的。In the conventional correction method, there is also a method of performing correction using a plane correction plate separated from the X-ray machine 1, but this method usually requires correction by using a plurality of images of the plane correction plate taken by different shooting angles. In order to achieve the purpose of calibration.

因此,本發明之目的,即在提供一種基於活動式校正板的X光機影像校正方法。Accordingly, it is an object of the present invention to provide an X-ray image correction method based on a movable correction plate.

於是,本發明基於活動式校正板的X光機影像校正方法由一X光機與一計算裝置實施。該X光機包含一X光發射部與一X光接收部,該校正板適於與該X光機保持一段距離地設置在該X光發射部及該X光接收部之間,並包含一不可在X光影像上成像的基板本體及多個可在X光影像上成像的校正件。該基板本體包括相互聯結且相互不平行的一第一板部與一第二板部,該等校正件分別對應一個三維座標,且間隔地設置於該第一板部與該第二板部,其中當藉由該X光機以一第一方位拍攝該校正板來產生一對應該第一方位的影像時,該等校正件在該影像中相互不重疊。該基於活動式校正板的X光機影像校正方法包含一步驟(a)、一步驟(b),及一步驟(c)。Therefore, the X-ray machine image correction method based on the movable calibration plate of the present invention is implemented by an X-ray machine and a computing device. The X-ray machine includes an X-ray emitting portion and an X-ray receiving portion, and the calibration plate is adapted to be disposed at a distance from the X-ray device between the X-ray emitting portion and the X-ray receiving portion, and includes a A substrate body that cannot be imaged on an X-ray image and a plurality of correction members that can be imaged on the X-ray image. The substrate body includes a first plate portion and a second plate portion that are coupled to each other and are not parallel to each other, and the correction members respectively correspond to a three-dimensional coordinate and are spaced apart from the first plate portion and the second plate portion. Wherein when the calibration plate is photographed in the first orientation by the X-ray machine to generate a pair of images corresponding to the first orientation, the correction members do not overlap each other in the image. The X-ray image correction method based on the movable calibration plate comprises a step (a), a step (b), and a step (c).

該步驟(a)是該X光機以該第一方位拍攝該校正板而產生一第一影像。In the step (a), the X-ray machine captures the calibration plate in the first orientation to generate a first image.

該步驟(b)是該計算裝置辨識出在該第一影像中的多個校正件與該等校正件所分別對應的影像座標。The step (b) is that the computing device recognizes image coordinates corresponding to the plurality of correcting members in the first image and the correcting members.

該步驟(c)是該計算裝置根據該等校正件所分別對應的三維座標及在該第一影像中所分別對應的影像座標計算出多個校正參數。In the step (c), the computing device calculates a plurality of correction parameters according to the three-dimensional coordinates corresponding to the correction components and the image coordinates corresponding to the first image.

本發明之功效在於:本發明的校正板不必固定於X光機上,在操作上具有易安裝、輕便、可攜等優點,且本發明僅需利用單一影像即能達到校正目的。The invention has the advantages that the calibration plate of the invention does not need to be fixed on the X-ray machine, and has the advantages of easy installation, lightness, portability, etc., and the invention can achieve the purpose of calibration only by using a single image.

參閱圖2與圖3,本發明基於活動式校正板的X光機影像校正方法的一實施方式由一X光機1與一計算裝置(圖未示)實施。Referring to FIG. 2 and FIG. 3, an embodiment of the X-ray machine image correction method based on the movable calibration plate of the present invention is implemented by an X-ray machine 1 and a computing device (not shown).

該X光機1包含一X光發射部11與一X光接收部12。該活動式校正板4適於與該X光機1保持一段距離地設置在該X光發射部11及該X光接收部12之間,並包含一不可在X光影像上成像的基板本體41及多個可在X光影像上成像的校正件42。The X-ray machine 1 includes an X-ray emitting portion 11 and an X-ray receiving portion 12. The movable correction plate 4 is adapted to be disposed at a distance from the X-ray machine 1 between the X-ray emitting portion 11 and the X-ray receiving portion 12, and includes a substrate body 41 that is not imaged on the X-ray image. And a plurality of correcting members 42 that can be imaged on the X-ray image.

該基板本體41呈斜向山型,並包括相互聯結且相互不平行的一第一板部411與一第二板部412;且當平置時,該第一板部411與該第二板部412均不和鉛垂線平行。The substrate body 41 has an oblique mountain shape and includes a first plate portion 411 and a second plate portion 412 which are coupled to each other and are not parallel to each other; and when laid flat, the first plate portion 411 and the second plate portion 412 are not parallel to the plumb line.

一併參閱圖4~6,該等校正件42間隔地設置於該第一板部411與該第二板部412,設置於該第一板部411的多個校正件42在該第一板部411上形成多個排,且設置於該第二板部412的多個校正件42在該第二板部412上形成多個排,其中該等校正件42的設置還滿足以下特性:該等校正件42在該X光機1以如圖2所示的前後方位(anteroposterior)拍攝該校正板4所產生的一前後方位影像51中相互不重疊,且在該X光機1以如圖5所示的側向方位(lateral)拍攝該校正板4所產生的一側向方位影像52中相互不重疊。Referring to FIGS. 4-6, the correcting members 42 are disposed at intervals in the first plate portion 411 and the second plate portion 412, and the plurality of correcting members 42 disposed on the first plate portion 411 are on the first plate. A plurality of rows are formed on the portion 411, and the plurality of correcting members 42 disposed on the second plate portion 412 form a plurality of rows on the second plate portion 412, wherein the setting of the correcting members 42 further satisfies the following characteristics: The correcting member 42 does not overlap each other in the front and rear azimuth image 51 generated by the X-ray machine 1 in the front-back orientation (anteroposterior) as shown in FIG. 2, and the X-ray machine 1 is as shown in the figure. The lateral orientation shown in FIG. 5 does not overlap each other in the side orientation image 52 produced by the correction plate 4.

此外,該基板本體41的材質屬於塑膠而使得該基板本體41不可在X光影像上成像,例如是壓克力或聚醚醚酮(PEEK)等;且每一校正件42的材質屬於金屬或陶瓷而使得該校正件42可在X光影像上成像,例如是鋼珠、鋁珠,或陶瓷珠等。In addition, the material of the substrate body 41 belongs to the plastic, so that the substrate body 41 cannot be imaged on the X-ray image, such as acrylic or polyetheretherketone (PEEK); and the material of each correcting member 42 belongs to metal or The ceramic allows the correcting member 42 to be imaged on an X-ray image, such as steel beads, aluminum beads, or ceramic beads.

參閱圖7,本發明基於活動式校正板的X光機影像校正方法的一實施方式包含以下步驟。Referring to FIG. 7, an embodiment of the X-ray machine image correction method based on the movable calibration plate of the present invention includes the following steps.

首先在步驟61,利用三次元量測儀(coordinate measuring machine)測得每一校正件的三維的世界座標(world coordinate)。First, at step 61, the three-dimensional world coordinate of each of the correcting members is measured using a coordinate measuring machine.

接著在步驟62,該X光機以一第一方位拍攝該校正板而產生一第一影像。在此,若要針對該前後方位進行X光機影像校正,則該第一方位為該前後方位且該第一影像為一前後方位影像;而若要針對該側向方位進行X光機影像校正,則該第一方位為該側向方位且該第一影像為一側向方位影像。Next, in step 62, the X-ray machine captures the calibration plate in a first orientation to generate a first image. Here, if the X-ray machine image correction is to be performed on the front and rear orientations, the first orientation is the front-rear orientation and the first image is a front-rear orientation image; and if the X-ray image correction is to be performed for the lateral orientation The first orientation is the lateral orientation and the first image is a lateral orientation image.

接著在步驟63,該計算裝置利用現有的影像辨識技術來辨識出在該第一影像中的該等校正件與該等校正件所分別對應的影像座標。Next, in step 63, the computing device uses the existing image recognition technology to identify the image coordinates corresponding to the correcting members and the correcting members in the first image.

接著在步驟64,該計算裝置用現有的影像校正演算法,例如蔡氏校正,來根據該等校正件所分別對應的世界座標及在該第一影像中所分別對應的影像座標計算出多個校正參數,如此即完成了該X光機的影像校正。Next, in step 64, the computing device uses an existing image correction algorithm, such as Chua's correction, to calculate a plurality of corrections according to the world coordinates corresponding to the correcting members and the corresponding image coordinates in the first image. The parameters, thus completing the image correction of the X-ray machine.

特別地,藉由該校正板4的設計,能使得該第一影像模擬了至少二個從不同拍攝角度所拍攝到的平面校正板的影像的組合,因此本發明僅需利用單一影像即能達到校正目的。此外,在均是利用單一影像來進行校正的情況下,相較於習知利用活動式平面校正板來進行X光機影像校正的方法,本發明也具有較高的校正精確度。此外,本發明也不需將該校正板4固定於該X光機1上,在操作上具有易安裝、輕便、可攜等優點。In particular, by the design of the correction plate 4, the first image can simulate at least two combinations of images of the plane correction plate captured from different shooting angles, so the invention can be achieved only by using a single image. Corrective purpose. In addition, in the case where the correction is performed using a single image, the present invention also has higher correction accuracy than the conventional method of performing X-ray machine image correction using the movable plane correction plate. In addition, the present invention does not need to fix the calibration plate 4 to the X-ray machine 1, and has the advantages of easy installation, light weight, and portability.

此外,要特別說明的是,上述本發明的校正板4的斜向山型是同時針對前後方位與側向方位的X光機影像校正設計的,目的在於使得該等校正件42在該前後方位影像51中相互不重疊,且在該側向方位影像52中也相互不重疊。然而,若在需求上是要針對一特定拍攝方位進行X光機影像校正,該校正板的設計只需要滿足「該第一板部與該第二板部相互聯結且相互不平行」與「該等校正件在從該特定拍攝方位所拍攝的影像中相互不重疊」的條件即可。例如,若需求上僅是要對該前後方位進行校正,該校正板可有其他實施方式,如圖8所示的L型校正板9,其第一板部911與第二板部912相互聯結且相互不平行;當用於前後方位的影像校正時,如圖9所示,將該校正板9橫向平置,此時雖然其校正件92在該側向方位影像中會重疊,但在該前後方位影像中相互不重疊。In addition, it should be particularly noted that the oblique mountain type of the calibration plate 4 of the present invention is designed for both X-ray image correction of the front-rear direction and the lateral orientation, and the purpose is to make the correction member 42 in the front-rear orientation image. 51 does not overlap each other, and does not overlap each other in the lateral orientation image 52. However, if it is required to perform X-ray image correction for a specific shooting orientation, the calibration plate is only designed to satisfy that "the first plate portion and the second plate portion are coupled to each other and are not parallel to each other" and "the The condition that the correction member does not overlap each other in the image captured from the specific imaging direction may be used. For example, if the front and rear orientations are only required to be corrected, the correction plate may have other embodiments, such as the L-type correction plate 9 shown in FIG. 8, and the first plate portion 911 and the second plate portion 912 are coupled to each other. And not parallel to each other; when used for image correction of the front and rear orientation, as shown in FIG. 9, the correction plate 9 is laterally flat, and although the correcting member 92 overlaps in the lateral orientation image, The front and rear azimuth images do not overlap each other.

參閱圖10~12,在另一實施方式中,本發明設計了另一種活動式校正板7。該校正板7包含一不可在X光影像上成像的基板本體71及多個可在X光影像上成像的校正件72。該基板本體71呈X型,並包括相互聯結且相互不平行的一第一板部711與一第二板部712;且當平置時,該第一板部711與該第二板部712均不和鉛垂線平行。該第一板部711將該第二板部712的每一排校正件分隔成分別位於該第一板部711兩側的一第一子排與一第二子排,該第二板部712也將該第一板部711的每一排校正件分隔成分別位於該第二板部712兩側的一第一子排與一第二子排。該等校正件72在該前後方位影像與該側向方位影像中也相互不重疊。Referring to Figures 10-12, in another embodiment, the present invention contemplates another movable calibration plate 7. The calibration plate 7 includes a substrate body 71 that is not imageable on the X-ray image and a plurality of correction members 72 that are imageable on the X-ray image. The substrate body 71 is X-shaped and includes a first plate portion 711 and a second plate portion 712 that are coupled to each other and are not parallel to each other; and when laid flat, the first plate portion 711 and the second plate portion 712 None of them are parallel to the plumb line. The first plate portion 711 divides each row of the correcting members of the second plate portion 712 into a first sub-row and a second sub-row, respectively located on opposite sides of the first plate portion 711, and the second plate portion 712 Each row of the correcting members of the first plate portion 711 is also partitioned into a first sub-row and a second sub-row, respectively located on opposite sides of the second plate portion 712. The correcting members 72 also do not overlap each other in the front and rear azimuth images and the lateral azimuth images.

特別地,設置於該第一板部711的多個校正件排所包含的校正件72的數量不同一,以致該第一板部711具有兩個對應該等校正件排且不設置有校正件72的空區域73、74。如圖10、11所示,該第一板部711的第二排的第二子排7111與第三排的第二子排7112的校正件72數量均為四,而在該第一板部711上的其他子排的校正件72數量均為五,而使得該第一板部711的第二排與第三排分別對應一空區域73、74,其中對應該第二排的空區域73位於該第二排的第二子排7111的一端,且對應該第三排的空區域74位於該第三排的第二子排7112的一第一校正件72a與一第二校正件72b之間。In particular, the number of the correcting members 72 included in the plurality of correcting member rows disposed in the first plate portion 711 is different, so that the first plate portion 711 has two corresponding correcting member rows and is not provided with the correcting member. Empty areas 73, 74 of 72. As shown in FIGS. 10 and 11, the number of the correcting members 72 of the second sub-row 7111 of the second row of the first plate portion 711 and the second sub-row 7111 of the third row is four, and in the first plate portion. The number of the correcting members 72 of the other sub-rows on the 711 is five, so that the second row and the third row of the first plate portion 711 respectively correspond to an empty region 73, 74, wherein the empty region 73 corresponding to the second row is located. One end of the second sub-row 7111 of the second row, and the empty area 74 corresponding to the third row is located between a first correcting member 72a and a second correcting member 72b of the second sub-row 7112 of the third row .

在習知的X光機影像校正方法中,需要人工去判斷出在X光機的輸出影像中該校正板4、7的擺放方向,然後才能進一步定義出影像中的每一校正件在該校正板上所對應的實體校正件,及其所對應的世界座標。In the conventional X-ray image correction method, it is necessary to manually determine the orientation of the correction plates 4, 7 in the output image of the X-ray machine, and then further define each correction component in the image. The physical correction component corresponding to the calibration plate and its corresponding world coordinates.

舉例來說,圖13列示了利用X光機拍攝該校正板7的前後方位影像的四種可能的輸出影像,其中圖13(b)、圖13(c)、圖13(d)分別為圖13(a)在順時鐘方向的90度、180度,及270度旋轉。一併參閱圖10與圖13,在習知的X光機影像校正方法中,需要人工去判斷X光機的輸出影像是屬於圖13所列那一種影像輸出,即判斷在影像中該校正板7的擺放方向,並據以定義出影像中的每一校正件對應的實體校正件及其世界座標,例如透過編號的方式來定義對應關係,如影像中編號為N1的校正件對應編號為N1的實體校正件及其世界座標、影像中編號為N2的校正件對應編號為N2的實體校正件及其世界座標等等。For example, FIG. 13 lists four possible output images of the front and rear azimuth images of the correction plate 7 taken by an X-ray machine, wherein FIG. 13(b), FIG. 13(c), and FIG. 13(d) are respectively Fig. 13(a) is rotated 90 degrees, 180 degrees, and 270 degrees in the clockwise direction. Referring to FIG. 10 and FIG. 13 , in the conventional X-ray image correction method, it is necessary to manually determine whether the output image of the X-ray machine belongs to the image output listed in FIG. 13 , that is, the correction plate is determined in the image. The orientation direction of 7 is defined, and the physical correction component corresponding to each correction component in the image and its world coordinates are defined, for example, the correspondence relationship is defined by numbering, for example, the corresponding number of the calibration component numbered N1 in the image is The entity correction piece of N1 and its world coordinates, the correction piece numbered N2 in the image correspond to the entity correction piece numbered N2 and its world coordinates, and the like.

藉由該校正板7的該等空區域73、74的設計,本發明能自動判斷出在影像中該校正板7的擺放方向,從而定義出每一校正件72的影像座標所對應的世界座標。本發明利用該等空區域73、74來自動判斷出在該第一影像中該校正板7的擺放方向的方式如下:首先,在利用該第一影像進行影像校正之前,以該第一方位拍攝該校正板7而產生一第二影像;接著,根據該第二影像中的一參考影像區塊及其多個不同角度的旋轉,在該第一影像中比對出與該參考影像區塊最相似的一目標影像區塊,其中該參考影像區塊包含該第二影像中的該等空區域73、74與多個相鄰於該等空區域73、74的校正件72;接著,根據該目標影像區塊對應的該參考影像區塊的旋轉角度判斷出在該第一影像中該校正板7的擺放方向。By designing the equal-space regions 73, 74 of the correction plate 7, the present invention can automatically determine the direction in which the correction plate 7 is placed in the image, thereby defining the world corresponding to the image coordinates of each of the correction members 72. coordinate. The method for automatically determining the direction in which the correction plate 7 is placed in the first image by using the same area 73, 74 is as follows: First, before the image correction is performed by using the first image, the first orientation is used Shooting the calibration plate 7 to generate a second image; then, comparing the reference image block and the plurality of different angles in the second image, comparing the reference image block in the first image a most similar target image block, wherein the reference image block includes the equal-space regions 73, 74 in the second image and a plurality of calibrators 72 adjacent to the equal-space regions 73, 74; The rotation angle of the reference image block corresponding to the target image block determines the direction in which the correction plate 7 is placed in the first image.

承上述之例來說明,參閱圖14,若要對X光機進行前後方位的影像校正,則預先拍攝該校正板7的一前後方位影像,即該第二影像8,接著人工地在該第二影像8中判斷出該校正板7的擺放方向並定義出該參考影像區塊81,且以該參考影像區塊81及其在順時鐘方向的90度、180度,及270度旋轉,在欲用來進行影像校正的前後方位影像(第一影像)中搜尋與比對,當比對出與該參考影像區塊81最相似的該目標影像區塊時,即可根據該第二影像中該校正板7的擺放方向與該參考影像區塊81的旋轉角度來判斷出在欲用來進行影像校正的前後方位影像(第一影像)中該校正板7的擺放方向是屬於圖13中的四種擺放方向的那一種。在此例中,該第二影像8中該校正板7的擺放方向相同於圖13(a),若該參考影像區塊81順時鐘旋轉90度後在欲用來進行影像校正的前後方位影像(第一影像)中搜尋出該目標影像區塊,則在欲用來進行影像校正的前後方位影像(第一影像)中該校正板7的擺放方向相同於圖13(b)。According to the above example, referring to FIG. 14, if the X-ray machine is to perform image correction of the front and rear orientation, a front and rear azimuth image of the correction plate 7 is captured, that is, the second image 8 is then manually The second image 8 determines the direction in which the correction plate 7 is placed and defines the reference image block 81, and rotates the reference image block 81 and its 90 degrees, 180 degrees, and 270 degrees in the clockwise direction. Searching and comparing in the front and rear azimuth image (first image) to be used for image correction, and comparing the target image block most similar to the reference image block 81, according to the second image The direction of the correction plate 7 and the rotation angle of the reference image block 81 determine that the direction of the correction plate 7 is in the front and rear azimuth image (first image) to be used for image correction. The four of the 13 orientations. In this example, the orientation of the calibration plate 7 in the second image 8 is the same as that of FIG. 13(a). If the reference image block 81 is rotated 90 degrees clockwise, the front and rear orientations of the correction image to be used for image correction are used. When the target image block is searched for in the image (first image), the direction of the correction plate 7 is the same as that of FIG. 13(b) in the front and rear azimuth image (first image) to be used for image correction.

特別地,上述人工地在該第二影像8中判斷出該校正板7的擺放方向並定義出該參考影像區塊81僅需要執行一次,之後每當需要判斷一前後方位影像中該校正板7的擺放方向時,即可利用上述的方式來自動判斷。此外,雖然在此實施方式中該校正板7上的該等空區域73、74的數量為二,但可不限於此,在其他實施方式中其數量也可為一或更多。In particular, the above-mentioned manually determining the direction in which the correction plate 7 is placed in the second image 8 and defining the reference image block 81 need only be performed once, and then it is necessary to determine the correction plate in a front and rear azimuth image. When the direction of 7 is placed, the above method can be used to automatically judge. Further, although the number of the equal-space areas 73, 74 on the correction plate 7 is two in this embodiment, it may not be limited thereto, and the number may be one or more in other embodiments.

綜上所述,本發明基於活動式校正板的X光機影像校正方法,藉由該校正板4、7的設計,該校正板4、7不必固定於X光機上,在操作上具有易安裝、輕便、可攜等優點,且能使得該校正板4、7的影像模擬了至少二個從不同拍攝角度所拍攝到的平面校正板的影像的組合,而使得本發明僅需利用單一影像即能達到校正目的,且藉由該校正板7的該等空區域73、74的設計,能自動判斷出在影像中該校正板7的擺放方向,從而定義出每一校正件的影像座標所對應的世界座標,並據以估計出X光機的校正參數,故確實能達成本發明的目的。In summary, the present invention is based on the X-ray machine image correction method of the movable calibration plate. By the design of the correction plates 4 and 7, the calibration plates 4 and 7 do not have to be fixed on the X-ray machine, and the operation is easy. The advantages of installation, lightness, portability, etc., and the image of the calibration plate 4, 7 can simulate the combination of at least two images of the plane correction plate captured from different shooting angles, so that the present invention only needs to utilize a single image. That is, the calibration purpose can be achieved, and by the design of the equal-space regions 73, 74 of the calibration plate 7, the orientation of the correction plate 7 in the image can be automatically determined, thereby defining the image coordinates of each correction member. The corresponding world coordinates, and the calibration parameters of the X-ray machine are estimated, so that the object of the present invention can be achieved.

惟以上所述者,僅為本發明的實施例而已,當不能以此限定本發明實施的範圍,凡是依本發明申請專利範圍及專利說明書內容所作的簡單的等效變化與修飾,皆仍屬本發明專利涵蓋的範圍內。However, the above is only the embodiment of the present invention, and the scope of the invention is not limited thereto, and all the simple equivalent changes and modifications according to the scope of the patent application and the patent specification of the present invention are still Within the scope of the invention patent.

1‧‧‧X光機1‧‧‧X-ray machine

11‧‧‧X光發射部11‧‧‧X-ray emission department

12‧‧‧X光接收部12‧‧‧X-ray receiver

2‧‧‧金屬箍架2‧‧‧Metal hoop

3‧‧‧校正板3‧‧‧ calibration board

4‧‧‧校正板4‧‧‧ calibration board

41‧‧‧基板本體41‧‧‧Substrate body

411‧‧‧第一板部411‧‧‧First Board

412‧‧‧第二板部412‧‧‧ Second Board

42‧‧‧校正件42‧‧‧calibration

51‧‧‧前後方位影像51‧‧‧ front and rear azimuth images

52‧‧‧側向方位影像52‧‧‧ Lateral azimuth image

61~64‧‧‧步驟61~64‧‧‧Steps

7‧‧‧校正板7‧‧‧ calibration board

71‧‧‧基板本體71‧‧‧Substrate body

711‧‧‧第一板部711‧‧‧First Board

7111‧‧‧第二子排7111‧‧‧Second sub-row

7112‧‧‧第二子排7112‧‧‧Second sub-row

712‧‧‧第二板部712‧‧‧ Second Board

72‧‧‧校正件72‧‧‧calibration

72a‧‧‧第一校正件72a‧‧‧First Corrector

72b‧‧‧第二校正件72b‧‧‧Second Correction

73‧‧‧空區域73‧‧‧empty area

74‧‧‧空區域74‧‧‧ empty area

N1~N3‧‧‧編號N1~N3‧‧‧ number

8‧‧‧第二影像8‧‧‧Second image

81‧‧‧參考影像區塊81‧‧‧Reference image block

9‧‧‧校正板9‧‧‧ calibration board

911‧‧‧第一板部911‧‧‧First Board

912‧‧‧第二板部912‧‧‧ Second Board

92‧‧‧校正件92‧‧‧calibration

本發明的其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中: 圖1是一立體示意圖,說明習知利用固定於X光機的X光發射部上的校正板來進行影像校正; 圖2是一立體示意圖,說明本發明利用一活動式校正板的一第一實施態樣來進行前後方位的X光機影像校正; 圖3是一立體圖,說明該校正板的該第一實施態樣; 圖4是一X光影像,說明該校正板的該第一實施態樣的前後方位影像; 圖5是一立體示意圖,說明利用該校正板的該第一實施態樣來進行側向方位的X光機影像校正; 圖6是一X光影像,說明該校正板的該第一實施態樣的側向方位影像; 圖7是一流程圖,說明本發明基於活動式校正板的X光機影像校正方法所包含的步驟; 圖8是一立體圖,說明該校正板的一第二實施態樣; 圖9是一立體示意圖,說明利用該校正板的該第二實施態樣來進行前後方位的X光機影像校正; 圖10是一立體圖,說明該校正板的一第三實施態樣; 圖11是一俯視圖,配合圖10說明該校正板的該第三實施態樣; 圖12是一側視圖,配合圖10、11說明該校正板的該第三實施態樣; 圖13(a)~(d)均是X光影像,說明利用X光機拍攝該校正板的該第三實施態樣的前後方位影像的四種可能的影像輸出;及 圖14是一X光影像,說明在預先拍攝的該校正板的該第三實施態樣的一前後方位影像上決定出一參考影像區塊。Other features and advantages of the present invention will be apparent from the embodiments of the present invention, wherein: FIG. 1 is a perspective view illustrating a conventional use of a calibration plate attached to an X-ray emitting portion of an X-ray machine. FIG. 2 is a perspective view showing a first embodiment of a movable calibration plate for correcting X-ray image of front and rear orientation; FIG. 3 is a perspective view illustrating the calibration plate. FIG. 4 is an X-ray image illustrating the front and rear azimuth images of the first embodiment of the calibration plate; FIG. 5 is a perspective view illustrating the first embodiment of the calibration plate. Performing a lateral orientation of the X-ray machine image correction; FIG. 6 is an X-ray image illustrating the lateral orientation image of the first embodiment of the calibration plate; FIG. 7 is a flow chart illustrating the present invention based on the motion correction FIG. 8 is a perspective view showing a second embodiment of the calibration plate; FIG. 9 is a perspective view showing the second embodiment of the calibration plate. Before coming FIG. 10 is a perspective view showing a third embodiment of the calibration plate; FIG. 11 is a plan view showing the third embodiment of the calibration plate in conjunction with FIG. 10; Is a side view, the third embodiment of the calibration plate is described with reference to FIGS. 10 and 11; FIGS. 13(a) to (d) are both X-ray images, illustrating the third of the calibration plate being photographed by an X-ray machine. Four possible image outputs of the front and rear azimuth images of the embodiment; and FIG. 14 is an X-ray image, which indicates that a reference image is determined on a front and rear azimuth image of the third embodiment of the calibration plate that is pre-photographed. Block.

Claims (8)

一種基於活動式校正板的X光機影像校正方法,由一X光機與一計算裝置實施,該X光機包含一X光發射部與一X光接收部,該校正板適於與該X光機保持一段距離地設置在該X光發射部及該X光接收部之間,並包含一不可在X光影像上成像的基板本體及多個可在X光影像上成像的校正件,該基板本體包括相互聯結且相互不平行的一第一板部與一第二板部,該等校正件分別對應一個三維座標,且間隔地設置於該第一板部與該第二板部,其中當藉由該X光機以一第一方位拍攝該校正板來產生一對應該第一方位的影像時,該等校正件在該影像中相互不重疊,該基於活動式校正板的X光機影像校正方法包含以下步驟: (a)該X光機以該第一方位拍攝該校正板而產生一第一影像; (b)該計算裝置辨識出在該第一影像中的多個校正件與該等校正件所分別對應的影像座標;及 (c)該計算裝置根據該等校正件所分別對應的三維座標及在該第一影像中所分別對應的影像座標計算出多個校正參數。An X-ray machine image correction method based on a movable calibration plate is implemented by an X-ray machine and a computing device, the X-ray machine comprising an X-ray emitting portion and an X-ray receiving portion, the calibration plate being adapted to be X The optical machine is disposed at a distance between the X-ray emitting portion and the X-ray receiving portion, and includes a substrate body that cannot be imaged on the X-ray image and a plurality of correcting members that can be imaged on the X-ray image. The substrate body includes a first plate portion and a second plate portion that are coupled to each other and are not parallel to each other, and the correction members respectively correspond to a three-dimensional coordinate and are disposed at intervals in the first plate portion and the second plate portion, wherein When the correcting plate is photographed by the X-ray machine in a first orientation to generate a pair of images corresponding to the first orientation, the correcting members do not overlap each other in the image, and the X-ray machine based on the movable calibration plate The image correction method comprises the following steps: (a) the X-ray machine captures the calibration plate in the first orientation to generate a first image; (b) the computing device recognizes the plurality of correction components in the first image and Image coordinates corresponding to the correcting parts; and (c) the meter The calculating device calculates a plurality of correction parameters according to the three-dimensional coordinates corresponding to the correcting members and the image coordinates corresponding to the first image. 如請求項1所述的基於活動式校正板的X光機影像校正方法,當平置時,該第一板部與該第二板部均不和鉛垂線平行,其中在該步驟(a),該第一方位為前後方位及側向方位的其中一者。The method for correcting an X-ray image based on the movable calibration plate according to claim 1, wherein when the device is placed flat, the first plate portion and the second plate portion are not parallel to the vertical line, wherein in the step (a) The first orientation is one of a front-rear orientation and a lateral orientation. 如請求項1所述的基於活動式校正板的X光機影像校正方法,其中設置於該第一板部的多個校正件在該第一板部上形成多個排,且設置於該第二板部的多個校正件在該第二板部上形成多個排。The movable correction plate-based X-ray image correction method according to claim 1, wherein the plurality of correction members disposed on the first plate portion form a plurality of rows on the first plate portion, and are disposed in the first A plurality of correcting members of the second plate portion form a plurality of rows on the second plate portion. 如請求項3所述的基於活動式校正板的X光機影像校正方法,其中設置於該第一板部的多個校正件排所包含的校正件的數量不同一,以致該第一板部具有至少一對應該等校正件排且不設置有校正件的空區域。The movable correction plate-based X-ray machine image correction method according to claim 3, wherein the plurality of correction member rows disposed in the first plate portion have different numbers of correction members, such that the first plate portion There is at least one pair of empty areas that should be aligned with the correcting member and not provided with the correcting member. 如請求項4所述的基於活動式校正板的X光機影像校正方法,還包含在該步驟(c)之前進行的以下步驟: (d)該X光機以該第一方位拍攝該校正板而產生一第二影像; (e)該計算裝置根據該第二影像中的一參考影像區塊及其至少一旋轉,在該第一影像中比對出與該參考影像區塊相似的一目標影像區塊,其中該參考影像區塊包含該第二影像中的該至少一空區域與多個相鄰於該至少一空區域的校正件;及 (f)該計算裝置根據該目標影像區塊對應的該參考影像區塊的旋轉判斷出該校正板的擺放方向,並根據該校正板的擺放方向判斷出該校正板的多個校正件所對應三維座標與在該第一影像中所對應影像座標之間的對應關係。The method for correcting the X-ray image based on the movable calibration plate according to claim 4, further comprising the following steps performed before the step (c): (d) the X-ray machine photographs the calibration plate in the first orientation And generating a second image; (e) the computing device compares a reference image block in the second image and at least one rotation thereof, and compares a target similar to the reference image block in the first image An image block, wherein the reference image block includes the at least one empty area in the second image and a plurality of correction elements adjacent to the at least one empty area; and (f) the computing device corresponds to the target image block The rotation of the reference image block determines the direction in which the calibration plate is placed, and determines the three-dimensional coordinate corresponding to the plurality of correction components of the calibration plate and the image corresponding to the first image according to the direction in which the calibration plate is placed. The correspondence between the coordinates. 如請求項3所述的基於活動式校正板的X光機影像校正方法,其中該基板本體呈X型,且該第一板部將該第二板部的每一排校正件分隔成分別位於該第一板部兩側的一第一子排與一第二子排。The movable correction plate-based X-ray machine image correction method according to claim 3, wherein the substrate body is X-shaped, and the first plate portion separates each row of the correction members of the second plate portion into respectively a first sub-row and a second sub-row on both sides of the first plate portion. 如請求項3所述的基於活動式校正板的X光機影像校正方法,其中該基板本體呈斜向山型。The movable calibration plate-based X-ray machine image correction method according to claim 3, wherein the substrate body is in an oblique mountain shape. 如請求項1所述的基於活動式校正板的X光機影像校正方法,其中該基板本體的材質屬於塑膠,且每一校正件的材質屬於金屬及陶瓷的其中一者。The X-ray image correction method based on the movable calibration plate according to claim 1, wherein the material of the substrate body belongs to a plastic, and the material of each correction component belongs to one of metal and ceramic.
TW106107688A 2017-03-09 2017-03-09 Method for image calibration of x-ray machine based on a movable calibration plate TWI611249B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW106107688A TWI611249B (en) 2017-03-09 2017-03-09 Method for image calibration of x-ray machine based on a movable calibration plate

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106107688A TWI611249B (en) 2017-03-09 2017-03-09 Method for image calibration of x-ray machine based on a movable calibration plate

Publications (2)

Publication Number Publication Date
TWI611249B TWI611249B (en) 2018-01-11
TW201833657A true TW201833657A (en) 2018-09-16

Family

ID=61728595

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106107688A TWI611249B (en) 2017-03-09 2017-03-09 Method for image calibration of x-ray machine based on a movable calibration plate

Country Status (1)

Country Link
TW (1) TWI611249B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI685710B (en) * 2018-12-03 2020-02-21 財團法人金屬工業研究發展中心 X-ray device and image-acquiring method thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI396038B (en) * 2009-07-29 2013-05-11 Univ Nat Taiwan A portable inspection platform for x-ray tomography
TW201410212A (en) * 2012-09-05 2014-03-16 Show Chwan Memorial Hospital Camera correction method and system applicable to X-ray machine
CN103519833B (en) * 2013-06-05 2015-10-07 东南大学 A kind of three-dimensional correction method for reconstructing rotating C-arm X-ray production apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI685710B (en) * 2018-12-03 2020-02-21 財團法人金屬工業研究發展中心 X-ray device and image-acquiring method thereof

Also Published As

Publication number Publication date
TWI611249B (en) 2018-01-11

Similar Documents

Publication Publication Date Title
WO2021103347A1 (en) Projector keystone correction method, apparatus, and system, and readable storage medium
US9605961B2 (en) Information processing apparatus that performs three-dimensional shape measurement, information processing method, and storage medium
CN109523595B (en) Visual measurement method for linear angular spacing of building engineering
US8126260B2 (en) System and method for locating a three-dimensional object using machine vision
CN110099267A (en) Trapezoidal correcting system, method and projector
US9679224B2 (en) Semi-supervised method for training multiple pattern recognition and registration tool models
JP5999615B2 (en) Camera calibration information generating apparatus, camera calibration information generating method, and camera calibration information generating program
CN111210468A (en) Image depth information acquisition method and device
CN102169573A (en) Real-time distortion correction method and system of lens with high precision and wide field of view
JP6519265B2 (en) Image processing method
JP2005269528A5 (en)
US20170361188A1 (en) Baseball game system
WO2016145582A1 (en) Phase deviation calibration method, 3d shape detection method and system, and projection system
CN107610183B (en) Calibration method of fringe projection phase height conversion mapping model
CN109285195B (en) Monocular projection system pixel-by-pixel distortion correction method based on large-size target and application thereof
US20120108354A1 (en) Golf swing analysis apparatus
CN106485758A (en) Implementation method demarcated by a kind of unmanned plane camera calibration device, scaling method and streamline
ES2316413T3 (en) PROCEDURE FOR THE RECOGNITION OF DEVIATIONS OF THE SURFACE FORM IN A DEFAULT FORM.
WO2022222291A1 (en) Optical axis calibration method and apparatus of optical axis detection system, terminal, system, and medium
JP2005017286A (en) Method and system for camera calibration
JP2016024052A (en) Three-dimensional measurement system, three-dimensional measurement method and program
CN113465573A (en) Monocular distance measuring method and device and intelligent device
TWI611249B (en) Method for image calibration of x-ray machine based on a movable calibration plate
EP3232153A1 (en) Precision hand-held scanner
JP6425406B2 (en) INFORMATION PROCESSING APPARATUS, INFORMATION PROCESSING METHOD, AND PROGRAM

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees