TWI837015B - Process for rendering real-time ultrasound images used in virtual reality - Google Patents
Process for rendering real-time ultrasound images used in virtual reality Download PDFInfo
- Publication number
- TWI837015B TWI837015B TW112121110A TW112121110A TWI837015B TW I837015 B TWI837015 B TW I837015B TW 112121110 A TW112121110 A TW 112121110A TW 112121110 A TW112121110 A TW 112121110A TW I837015 B TWI837015 B TW I837015B
- Authority
- TW
- Taiwan
- Prior art keywords
- image
- scattered light
- virtual reality
- real
- background
- Prior art date
Links
- 238000002604 ultrasonography Methods 0.000 title claims abstract description 69
- 238000000034 method Methods 0.000 title claims abstract description 45
- 238000009877 rendering Methods 0.000 title claims abstract description 33
- 230000008569 process Effects 0.000 title claims abstract description 17
- 210000000056 organ Anatomy 0.000 claims abstract description 49
- 230000036548 skin texture Effects 0.000 claims abstract description 20
- 230000003902 lesion Effects 0.000 claims description 22
- 230000000694 effects Effects 0.000 claims description 11
- 239000000463 material Substances 0.000 claims description 7
- 238000013461 design Methods 0.000 claims description 5
- 230000008859 change Effects 0.000 claims description 4
- 238000004040 coloring Methods 0.000 claims description 3
- 235000000391 Lepidium draba Nutrition 0.000 claims 3
- 238000010586 diagram Methods 0.000 description 14
- 238000005516 engineering process Methods 0.000 description 11
- 210000004185 liver Anatomy 0.000 description 8
- 238000003384 imaging method Methods 0.000 description 7
- 238000012549 training Methods 0.000 description 7
- 230000003187 abdominal effect Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 206010011732 Cyst Diseases 0.000 description 4
- 238000013473 artificial intelligence Methods 0.000 description 4
- 208000031513 cyst Diseases 0.000 description 4
- 210000000232 gallbladder Anatomy 0.000 description 4
- 238000004088 simulation Methods 0.000 description 4
- 238000003745 diagnosis Methods 0.000 description 3
- 201000010099 disease Diseases 0.000 description 3
- 208000037265 diseases, disorders, signs and symptoms Diseases 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 239000000523 sample Substances 0.000 description 2
- 239000004575 stone Substances 0.000 description 2
- 238000012800 visualization Methods 0.000 description 2
- 241000282412 Homo Species 0.000 description 1
- 238000005481 NMR spectroscopy Methods 0.000 description 1
- 238000013542 behavioral therapy Methods 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000003759 clinical diagnosis Methods 0.000 description 1
- 238000002059 diagnostic imaging Methods 0.000 description 1
- 238000009792 diffusion process Methods 0.000 description 1
- 239000003814 drug Substances 0.000 description 1
- 230000003631 expected effect Effects 0.000 description 1
- 208000001130 gallstones Diseases 0.000 description 1
- 230000002496 gastric effect Effects 0.000 description 1
- 230000003862 health status Effects 0.000 description 1
- 239000007788 liquid Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000035515 penetration Effects 0.000 description 1
- 230000005855 radiation Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 210000001835 viscera Anatomy 0.000 description 1
Images
Landscapes
- Ultra Sonic Daignosis Equipment (AREA)
Abstract
Description
本發明係有關於一種圖像的渲染方法,尤其是指一種用於虛擬實境之即時超音波圖像的渲染方法。 The present invention relates to a method for rendering an image, and more particularly to a method for rendering a real-time ultrasonic image for virtual reality.
隨著科學及醫療技術的蓬勃發展,人類能夠使用更精密的儀器進行疾病的診斷與分析,除了能提高診斷的正確性,同時令疾病早期發現,提高治癒效果。 With the rapid development of science and medical technology, humans can use more sophisticated instruments to diagnose and analyze diseases. In addition to improving the accuracy of diagnosis, it can also detect diseases at an early stage and improve treatment effects.
其中,超音波檢查,是利用高頻音波的醫學影像學診斷技術,無輻射疑慮,因此,是一種安全、無侵襲性的診療方式;常見的腹部超音波檢查,能幫助消化系內科的醫師輕易觀察到腹部器官(如肝、膽等)的健康狀態,是消化系內科醫師臨床診療時的一大利器。然而,腹部超音波檢查的病灶判斷正確性與操作者的經驗有相當大的關係。雖然在現有的技術中,能令AI(人工智 慧,artificial intelligence)經過適切的學習技術從超音波掃描的影像中找出病灶。惟判斷病灶的過程當中尚有諸多不確定因子存在,而影響判斷的正確性;因此AI的病灶判斷僅為參考性質,在臨床上最終還是得交由醫師判斷。而醫師必須經過相當程度的超音波掃描訓練方能在診療時做出正確的病灶判斷。 Among them, ultrasound examination is a medical imaging diagnostic technology that uses high-frequency sound waves and has no radiation concerns. Therefore, it is a safe and non-invasive diagnosis and treatment method; common abdominal ultrasound examination can help doctors in the Department of Gastroenterology easily Observing the health status of abdominal organs (such as liver, gallbladder, etc.) is a great tool for gastrointestinal physicians in clinical diagnosis and treatment. However, the accuracy of lesion identification in abdominal ultrasound examination has a considerable relationship with the experience of the operator. Although in the existing technology, AI (artificial intelligence) can Smart, artificial intelligence) finds lesions from ultrasound scan images through appropriate learning technology. However, there are still many uncertain factors in the process of judging lesions, which affect the accuracy of the judgment; therefore, AI's lesion judgment is only for reference, and ultimately must be left to the physician's judgment in clinical practice. Doctors must undergo a considerable degree of ultrasound scanning training before they can make correct judgments on lesions during diagnosis and treatment.
隨著資訊科技的日新月異,虛擬實境的應用也越發蓬勃發展。舉凡醫療、軍事、教育、觀光、遊戲...等皆有其應用的痕跡。在醫療方面,已有相當多的應用,例如手術模擬訓練、超音波掃描模擬訓練、行為治療、胺體復健等。 With the rapid development of information technology, the application of virtual reality is also booming. For example, medicine, military, education, tourism, games, etc. all have traces of its application. In the medical field, there are already quite a lot of applications, such as surgical simulation training, ultrasound scanning simulation training, behavioral therapy, body rehabilitation, etc.
目前虛擬實境中模擬超音波掃描影像的技術係先以醫用超音波影像設備取得實際超音波影像,再配合空間定位裝置取得空間座標,進而建立一套超音波影像資料集,並以核磁共振造影技術為基礎建立三維視覺化人體結構,提供任意切平面的掃描參考位置,然後再由資料庫中及時計算並顯示該切平面所對應的超音波影像(參見蕭樺鴻,「三維視覺化暨影像參照之超音波虛擬實境系統」,碩士論文,國立陽明大學醫學工程研究所,2008。<https://hdl.handle.net/11296/s8gm6g>)。 The current technology for simulating ultrasonic scanning images in virtual reality is to first obtain actual ultrasonic images with medical ultrasonic imaging equipment, then cooperate with the spatial positioning device to obtain spatial coordinates, and then establish an ultrasonic image data set, and use nuclear magnetic resonance to Establish a three-dimensional visualization of the human body structure based on contrast imaging technology, provide the scanning reference position of any cut plane, and then calculate and display the ultrasound image corresponding to the cut plane in real time from the database (see Xiao Huahong, "3D Visualization and Image Reference Ultrasound Virtual Reality System", Master's Thesis, Institute of Medical Engineering, National Yang-Ming University, 2008. <https://hdl.handle.net/11296/s8gm6g>).
然而上述揭示的技術必須事先以醫用超音波影像設備取得數量龐大的實際超音波影像,以及建立數量龐大的超音波影像資料集,方能在後續以虛擬探頭掃描任意角度時顯示對應切面的超 音波影像,建立的過程相當繁瑣,且費時費工,尤其需要極大的記憶空間來儲存這些影像及相關的空間座標資料。 However, the technology disclosed above requires the use of medical ultrasound imaging equipment to obtain a large number of actual ultrasound images in advance and the establishment of a large number of ultrasound image data sets, in order to subsequently display the ultrasound of the corresponding section when the virtual probe is scanned at any angle. The process of creating sonic images is quite cumbersome, time-consuming and labor-intensive, and requires a large amount of memory space to store these images and related spatial coordinate data.
此外,因病灶的種類、位置、大小皆係事先建立,導致訓練的模型固定,缺乏變化,而影響訓練的成效。 In addition, because the type, location, and size of the lesions are all established in advance, the training model is fixed and lacks change, which affects the effectiveness of the training.
又,若想改變病灶的種類、位置、大小,就必須重新建立超音波影像資料集,處理過程相當麻煩。 Furthermore, if you want to change the type, location, or size of the lesion, you must re-establish the ultrasound image data set, which is a very troublesome process.
今,發明人即是鑒於上述情形,於是開發出本發明,提供一種用於虛擬實境之即時超音波圖像的渲染方法。 Now, in view of the above situation, the inventor has developed the present invention to provide a method for rendering real-time ultrasonic images for virtual reality.
本發明的主要目的,係為提供一種用於虛擬實境之即時超音波圖像的渲染方法,主要係令於虛擬實境下以超音波對人體器官進行掃描時,能透過即時性的渲染使影像呈現有如真實性的超音波掃描影像的逼真效果。 The main purpose of the present invention is to provide a method for rendering real-time ultrasound images in virtual reality. The main purpose is to enable real-time rendering when scanning human organs with ultrasound in virtual reality. The image appears as realistic as a real ultrasound scan image.
本發明之另一目的,為透過在虛擬實境中的3D器官模型上設置病灶,並依據該病灶的位置及材質在超音波掃描時的回聲反彈係數給予預設像素,使回聲反彈影像中包含病灶影像,提供使用者在虛擬實境中透過超音波尋找病灶的案例練習。 Another purpose of the present invention is to set a lesion on a 3D organ model in virtual reality, and to give a preset pixel according to the location and material of the lesion during ultrasound scanning, so that the echo rebound image includes the lesion image, providing users with a case study of finding lesions through ultrasound in virtual reality.
上述本發明之目的,係由以下技術實現: The above-mentioned objects of the present invention are achieved by the following technologies:
一種用於虛擬實境之即時超音波圖像的渲染方法,包含以下步驟: A rendering method for real-time ultrasound images in virtual reality, including the following steps:
建構回聲反射影像,係將一經由軟體定義的3D器官模型套用一透明渲染著色器,並以alpha值表現,進而生成對應的器官回聲反射影像;其中,所述透明渲染著色器的著色原則係根據超音波掃描一3D器官模型時,因材質、位置、交疊情況不同以致回聲反射係數不同,依據不同的所述回聲反射係數給予對應的影像成像不同的灰階像素,回聲反射係數越強則相對影像成像的像素越白,反之越黑,以據此建構出一模擬所述超音波掃描所述3D器官時所形成對應的所述回聲反射影像; To construct an echo-reflection image, a transparent rendering shader is applied to a 3D organ model defined by software and expressed with an alpha value, thereby generating a corresponding organ echo-reflection image; wherein, the coloring principle of the transparent rendering shader is based on When ultrasound scans a 3D organ model, the echo reflection coefficients are different due to different materials, positions, and overlaps. According to the different echo reflection coefficients, different grayscale pixels are given to the corresponding image. The stronger the echo reflection coefficient, the corresponding The whiter the pixels of the image are, the darker they are on the contrary, so as to construct a corresponding echo reflection image formed when the ultrasound scans the 3D organ;
建構邊緣強化影像,將所述回聲反射影像通過邊緣高光強化程序,以得到邊緣強化影像; Constructing an edge enhanced image, passing the echo reflection image through an edge highlight enhancement procedure to obtain an edge enhanced image;
形成具散射光和顆粒感影像,設計一散射光背景,並將所述散射光背景與所述邊緣強化影像相互套疊,使所述邊緣強化影像上疊加一由上而下的散射光,接著將所述邊緣強化影像套疊所述散射光背景後的影像通過徑向模糊程序,產生模擬漫射光所造成之雜訊與顆粒感,以據此套疊形成具散射光和顆粒感影像; Form an image with scattered light and graininess, design a scattered light background, and overlap the scattered light background and the edge-enhanced image so that a top-down scattered light is superimposed on the edge-enhanced image, and then The edge-enhanced image is superimposed on the scattered light background through a radial blur process to generate noise and graininess caused by simulated diffuse light, so that an image with scattered light and graininess is formed by overlaying the image;
形成具上層皮膚質感影像,設計一模擬所述超音波掃描人體所得到之上層皮膚質感的背景影像,將所述具散射光和顆粒感影像與所述背景影像套疊,使所述具散射光和顆粒感影像上具有超音波掃描產生的上層皮膚質感的效果,而形成具上層皮膚質感影像; To form an image with the texture of the upper skin, a background image is designed to simulate the texture of the upper skin obtained by ultrasonic scanning of the human body, and the image with scattered light and granularity is overlapped with the background image, so that the image with scattered light and granularity has the effect of the texture of the upper skin produced by ultrasonic scanning, thereby forming an image with the texture of the upper skin;
產生超音波掃描影像,將所述具上層皮膚質感影像扇形化,並設計一扇形遮罩對經扇形化的所述具上層皮膚質感影像進行裁切,裁切後即得到在虛擬實境中以超音波掃描人體器官的即時影像。 Generate an ultrasonic scan image, fan the image with upper skin texture, and design a fan-shaped mask to crop the fanned image with upper skin texture. After cropping, the image with upper skin texture is obtained in virtual reality. Ultrasound scans instant images of human body organs.
如上所述之用於虛擬實境之即時超音波圖像的渲染方法,其中,經由軟體定義的所述3D器官模型上還包含至少一病灶。 The method for rendering real-time ultrasound images for virtual reality as described above, wherein the 3D organ model defined by the software also includes at least one lesion.
如上所述之用於虛擬實境之即時超音波圖像的渲染方法,其中,所述邊緣高光強化程序係將所述回聲反射影像經卷積運算得到。 The rendering method of real-time ultrasound images for virtual reality as described above, wherein the edge highlight enhancement process is to obtain the echo reflection image by convolution operation.
如上所述之用於虛擬實境之即時超音波圖像的渲染方法,其中,所述散射光背景係將一內部具有圓球的矩形體的像素座標轉成極座標系統(r,θ)後,再計算其各像素往上卷積的不透明度總合,於反轉後得到模擬超音波陰影效果的所述散射光背景。 In the rendering method of real-time ultrasound images for virtual reality as described above, the scattered light background is obtained by converting the pixel coordinates of a rectangular body with a sphere inside into a polar coordinate system (r, θ), and then calculating the total opacity of each pixel rolled up, and then inverting to obtain the scattered light background simulating the ultrasound shadow effect.
如上所述之用於虛擬實境之即時超音波圖像的渲染方法,其中,所述徑向模糊程序係取所述邊緣強化影像套疊所述散射光背景後的影像的鄰近像素座標(r,θ)=(r,θ±l/2)平均值。 The method for rendering real-time ultrasound images in virtual reality as described above, wherein the radial blur procedure is to obtain the adjacent pixel coordinates (r) of the image after the edge-enhanced image overlaps the scattered light background ,θ)=(r,θ±l/2) average value.
如上所述之用於虛擬實境之即時超音波圖像的渲染方法,其中,所述背景影像係將一黑色影像經tanh函數濾波器後得到一上方偏白影像,再將所述上方偏白影像雜訊化,即得具雜訊且上方偏白的所述背景影像。 As described above, the method for rendering real-time ultrasound images in virtual reality, wherein the background image is a black image that is filtered by a tanh function to obtain an upper white image, and then the upper white image is obtained. The image is noisy, that is, the background image is noisy and has a white upper part.
S1:建構回聲反射影像 S1: Construct echo reflection image
S2:建構邊緣強化影像 S2: Construct edge enhancement image
S3:形成具散射光和顆粒感影像 S3: Forming images with scattered light and granularity
S4:形成具上層皮膚質感影像 S4: Creates an image with the texture of upper skin
S5:產生超音波掃描影像 S5: Generate ultrasound scan image
A:肝囊腫 A: Liver cyst
B:結石 B: Stones
1:手部操作桿 1: Hand lever
2:枕頭 2:Pillow
第一圖:為本發明用於虛擬實境之即時超音波圖像的渲染方法的處理步驟流程圖。 Figure 1: A flowchart of the processing steps of the method for rendering real-time ultrasound images in virtual reality according to the present invention.
第二圖:為腹部3D器官模型經過透明渲染著色器渲染,並以alpha值表現,所形成的具透視感的器官回聲反射影像的示意圖。 The second picture is a schematic diagram of the abdominal 3D organ model rendered by a transparent rendering shader and represented by alpha value, forming a perspective organ echo reflection image.
第三圖:係以矩形體為人體、圓球體為器官做為示意具透視感的回聲反射影像通過邊緣高光強化後,所得到的邊緣強化影像示意圖。 The third figure: A rectangular body is used as a human body and a sphere is used as an organ to illustrate the edge-enhanced image obtained after the edge highlight is enhanced.
第四圖:揭示將回聲反射影像的像素座標轉成極座標系統,再計算在極座標系統中其各像素的不透明度並往上卷積運算,於反轉後得到的散射光背景示意圖。 Figure 4: Reveals the schematic diagram of the scattered light background obtained by converting the pixel coordinates of the echo reflection image into a polar coordinate system, then calculating the opacity of each pixel in the polar coordinate system and convolving it upward, and then inverting it.
第五圖:揭示將邊緣強化影像套疊該散射光背景並經徑向模糊程序處理後所得到的具散射光和顆粒感影像示意圖。 Figure 5: A schematic diagram showing the image with scattered light and graininess obtained by overlaying the edge-enhanced image on the scattered light background and processing it with a radial blurring process.
第六圖:揭示一黑色影像經tanh函數濾波器後得到一上方偏白影像,再將該上方偏白影像雜訊化,產生的具雜訊且上方偏白的背景影像示意圖。 Figure 6: A schematic diagram showing a black image that is filtered through a tanh function to obtain an image with a white upper portion, and then the image with a white upper portion is noised to generate a background image with noise and a white upper portion.
第七圖:為將具散射光和顆粒感影像套疊背景影像後所形成的具上層皮膚質感影像示意圖。 Figure 7: A schematic diagram of an image with the texture of the upper skin layer formed by overlaying the image with scattered light and granularity on the background image.
第八圖:為將具上層皮膚質感影像扇形化後,再以扇形遮罩裁切形成扇形的超音波掃描即時影像示意圖。 Figure 8: A schematic diagram of real-time ultrasonic scanning images after fanning the upper skin texture image and then cutting it with a fan mask to form a fan shape.
第九圖:揭示在肝的模型上設計肝囊腫病灶後最終產生的超音波掃描影像示意圖。 Figure 9: A schematic diagram showing the final ultrasonic scanning image produced after designing liver cyst lesions on the liver model.
第十圖:第十圖揭示在膽的模型上設計結石病灶後最終產生的超音波掃描影像示意圖。 Figure 10: Figure 10 shows the final ultrasound scan image after designing the stone lesion on the gallbladder model.
第十一圖:揭示一進入超音波掃描的虛擬實境場景的使用者其在實際環境中將手部操作桿反握持拿並接觸枕頭表面的超音波掃描模擬示意圖。 Figure 11: A user entering a virtual reality scene of ultrasound scanning shows a user holding the hand control lever in reverse and touching the surface of a pillow in a real environment.
為令本發明所運用之技術內容、發明目的及其達成之功效有更完整且清楚的揭露,茲於下詳細說明之,並請一併參閱所揭之圖式及圖號: In order to have a more complete and clear disclosure of the technical content, the purpose of the invention and the effects achieved by the present invention, they are described in detail below, and please refer to the disclosed drawings and drawing numbers:
請參見第一圖,為本發明用於虛擬實境之即時超音波圖像的渲染方法的處理步驟流程圖。 Please refer to the first figure, which is a flowchart of the processing steps of the rendering method of the real-time ultrasonic image for virtual reality of the present invention.
首先,欲得到一用於虛擬實境中以超音波對人體內器官掃描產生的超音波圖像,需先透過軟體定義出一3D器官模型,惟該3D器官模型的建模非本案訴求特徵,且軟體3D建模為一既有技術,常見用於人體或器官3D建模的軟體3ds Max等。 First, in order to obtain an ultrasound image for ultrasonic scanning of human organs in virtual reality, a 3D organ model must be defined through software. However, the modeling of the 3D organ model is not a feature of this case, and software 3D modeling is an existing technology, such as 3ds Max, which is commonly used for 3D modeling of the human body or organs.
本發明之用於虛擬實境之即時超音波圖像的渲染方法,依序 包含以下處理步驟:建構回聲反射影像S1、建構邊緣強化影像S2、形成具散射光和顆粒感影像S3、形成具上層皮膚質感影像S4、產生超音波掃描影像S5;其中: The rendering method of real-time ultrasound images for virtual reality of the present invention, in sequence It includes the following processing steps: constructing an echo reflection image S1, constructing an edge-enhanced image S2, forming an image with scattered light and graininess S3, forming an image with upper skin texture S4, and generating an ultrasonic scanning image S5; among which:
在建構回聲反射影像S1步驟中,係將一經由軟體定義的3D器官模型套用一透明渲染著色器,並以alpha值表現,以生成具透視感的器官回聲反射影像;其中,這個透明渲染著色器對該3D器官模型的著色原則,係根據超音波掃描該3D器官模型時,因3D器官模型的交疊、材質及位置的不同產生的回聲反射係數強弱的不同,而給予不同灰階像素,當回聲反射係數越強時,則給予的像素越白,反之則越黑,以據此建構出一模擬超音波掃描該3D器官時所對應形成之具透視感的回聲反射影像。本發明在圖式中係揭示以腹部器官做為實施例,尤其是肝、膽。如第二圖所示為腹部3D器官模型經過透明渲染著色器渲染,並以alpha值表現,所形成的具透視感的器官回聲反射影像的示意圖。 In step S1 of constructing echo reflection image, a transparent rendering shader is applied to a 3D organ model defined by software, and is expressed by alpha value to generate an organ echo reflection image with a sense of perspective; wherein, the transparent rendering shader renders the 3D organ model according to the principle of coloring the 3D organ model, which is to give different grayscale pixels according to the different echo reflection coefficients generated by the overlap, material and position of the 3D organ model when the 3D organ model is scanned by ultrasound. When the echo reflection coefficient is stronger, the pixel is whiter, and vice versa, the pixel is blacker, so as to construct an echo reflection image with a sense of perspective corresponding to the formation of the 3D organ when the ultrasound scan is simulated. The present invention discloses abdominal organs as an example in the drawings, especially the liver and gallbladder. As shown in the second figure, the abdominal 3D organ model is rendered by a transparent rendering shader and represented by an alpha value, forming a schematic diagram of the organ echo reflection image with a sense of perspective.
其中,對於內臟與超音波掃描成像可以整理出以下規則: Among them, the following rules can be summarized for internal organs and ultrasound scanning imaging:
(1)液體和空氣幾乎沒有回聲,所以超音波掃描成像是黑的。 (1) Liquid and air have almost no echo, so the ultrasonic scanning image is dark.
(2)從一組織到另一個組織時,若材質差異大,超音波掃描成像會產生邊緣高光(specular)反射。 (2) When moving from one tissue to another, if the material difference is large, ultrasound scanning imaging will produce edge specular reflections.
(3)器官表面不平,會產生音波漫射,導致超音波掃描成像有雜訊、顆粒感。 (3) The uneven surface of the organ will cause sound wave diffusion, resulting in noise and granularity in the ultrasound scan image.
(4)聲波每經過一層會反射的物質,其強度減弱,超音波掃描成像產生陰影。 (4) Every time the sound wave passes through a layer of reflective material, its intensity weakens, and a shadow is produced in the ultrasound scanning image.
(5)離感測器最近的組織回聲最強,隨著滲透越深,強度漸為衰弱(attenuation)。 (5) The tissue closest to the sensor has the strongest echo, and the intensity gradually weakens as the penetration goes deeper (attenuation).
本發明之透明渲染著色器對該3D器官模型的著色原則,即是基於上述超音波掃描成像的特性並依據3D器官模型的交疊、材質及位置的不同產生的回聲反射係數強弱的不同給予不同灰階像素。 The transparent rendering shader of the present invention renders the 3D organ model based on the above-mentioned characteristics of ultrasound scanning imaging and gives different grayscale pixels according to the different echo reflection coefficients generated by the overlap, material and position of the 3D organ model.
在建構邊緣強化影像S2步驟中,係將上一步驟所得到的回聲反射影像通過邊緣高光強化程序,以得到邊緣強化影像。其中,該邊緣高光強化程序係將回聲反射影像經卷積運算得到。具體是假設超音波來源為成像上方,因此採樣每點像素與其上方像素之顏色變化,形成強度圖,之後再降低解析度使其模糊,以方便觀察。以下為方便說明本發明的處理過程,故將人體簡化為矩形體,器官簡化為圓球體,來進行下面步驟的模擬。請參見第三圖,係在矩形體(即指人體)、圓球體(即指器官)經建構回聲反射影像S1步驟處理後的具透視感的回聲反射影像,再將該影像通過邊緣高光強化處理,所得到的邊緣強化影像示意圖。 In the step S2 of constructing the edge-enhanced image, the echo reflection image obtained in the previous step is passed through an edge highlight enhancement process to obtain an edge-enhanced image. Among them, the edge highlight enhancement program is obtained by convolving the echo reflection image. Specifically, it is assumed that the source of the ultrasound is above the imaging, so the color change of each pixel and the pixel above it is sampled to form an intensity map, and then the resolution is reduced to blur it for easier observation. In order to facilitate the explanation of the processing process of the present invention below, the human body is simplified into a rectangular body and the organs are simplified into spherical bodies to simulate the following steps. Please refer to the third picture, which is a perspective echo reflection image processed by the step S1 of constructing an echo reflection image of a rectangular body (i.e., the human body) and a spherical body (i.e., an organ), and then the image is enhanced through edge highlighting. , a schematic diagram of the obtained edge enhancement image.
在形成具散射光和顆粒感影像S3步驟中,先設計一散射光背景,該散射光背景的設計方式,係將經步驟1之回聲反射影像的像素座標轉成極座標系統(r,θ),然後計算在極座標系統中其各
像素的不透明度,再進行往上卷積運算,於反轉後便能得到模擬超音波陰影效果的散射光背景。接著,將所得到的散射光背景與上一步驟形成的邊緣強化影像相互套疊,使邊緣強化影像上疊加一由上而下的散射光,然後將邊緣強化影像套疊散射光背景後的影像再通過徑向模糊程序,使影像產生模擬漫射光所造成之雜訊與顆粒感,並據此形成具散射光和顆粒感影像。其中,該徑向模糊程序係取鄰近像素座標的平均值(r,θ)=(r,θ±1/2)後所輸出的徑向模糊效果,以此使邊緣強化影像套疊散射光背景後的影像產生雜訊與顆粒感。如第四圖所示,即是揭示將經步驟1處理後之回聲反射影像的像素座標轉成極座標系統,再計算在極座標系統中其各像素的不透明度並進行往上卷積運算,於反轉後得到的散射光背景示意圖;第五圖揭示將邊緣強化影像套疊該散射光背景並經徑向模糊程序處理後所得到的具散射光和顆粒感影像示意圖。
In step S3 of forming an image with scattered light and granularity, a scattered light background is first designed. The design method of the scattered light background is to convert the pixel coordinates of the echo reflection image obtained in
在形成具上層皮膚質感影像S4步驟中,係設計一模擬超音波掃描人體所得到之上層皮膚質感的背景影像,並將上一步驟所得到的具散射光和顆粒感影像與該背景影像套疊,使具散射光和顆粒感影像上具有超音波掃描產生的上層皮膚質感的效果,而形成具上層皮膚質感影像。其中,該背景影像的設計方式,係取一黑色影像經tanh函數濾波器後得到一上方偏白影像,再將該上方偏白影像雜訊化,即得具雜訊且上方偏白的背景影像,如第六圖 所示。請參看第七圖,為將第五圖的具散射光和顆粒感影像套疊本步驟設計的背景影像後所形成的具上層皮膚質感影像示意圖。 In step S4 of forming an image with upper skin texture, a background image is designed to simulate the upper skin texture obtained by ultrasonic scanning of a human body, and the image with scattered light and granularity obtained in the previous step is overlapped with the background image, so that the image with scattered light and granularity has the effect of the upper skin texture produced by ultrasonic scanning, thereby forming an image with upper skin texture. Among them, the design method of the background image is to take a black image and pass it through a tanh function filter to obtain an upper white image, and then the upper white image is noised, so as to obtain a background image with noise and upper white, as shown in Figure 6. Please refer to Figure 7, which is a schematic diagram of the image with upper skin texture formed by overlaying the image with scattered light and graininess in Figure 5 with the background image designed in this step.
在產生超音波掃描影像S5步驟中,係將具上層皮膚質感影像扇形化,並設計一扇形遮罩,接著利用該扇形遮罩對經扇形化的具上層皮膚質感影像進行扇形裁切,裁切後即得到一超音波掃描人體器官的扇形即時影像。其中,第八圖所示為將第七圖的具上層皮膚質感影像扇形化後,再以扇形遮罩裁切形成扇形的超音波掃描即時影像示意圖。 In step S5 of generating an ultrasonic scan image, the image with upper skin texture is sectorized, and a sector mask is designed. Then, the sectorized image with upper skin texture is sector-cut using the sector mask. After cutting, a sector-shaped real-time ultrasonic scan image of a human organ is obtained. The eighth figure shows a schematic diagram of a real-time ultrasonic scan image formed by sectorizing the image with upper skin texture in the seventh figure and then cutting it with a sector mask to form a sector-shaped real-time ultrasonic scan image.
透過上述處理步驟,在虛擬實境中操作超音波對人體器官的掃描時,便能得到一與實體超音波掃描人體器官產生的超音波影像無異的影像,提供一種在沒有真實資料的情況下達到逼真的操作模擬技術,讓使用者以花費更少成本的虛擬實境進行器官學理與超音波掃描訓練,而不需再以昂貴的超音波設備及實際人體進行訓練。 Through the above processing steps, when operating ultrasound to scan human organs in virtual reality, an image that is no different from the ultrasound image produced by physical ultrasound scanning of human organs can be obtained, providing a way to scan human organs without real data. Achieve realistic operation simulation technology, allowing users to conduct organ theory and ultrasound scanning training in a less-cost virtual reality, instead of using expensive ultrasound equipment and actual human bodies for training.
除此之外,為了進一步訓練學生識別病症,可以令經由軟體定義的3D器官模型上設計至少一病灶,且該具有病灶的3D器官模型在經過建構回聲反射影像、建構邊緣強化影像、形成具散射光和顆粒感影像、形成具上層皮膚質感影像、產生超音波掃描影像步驟之後,於產生的超音波掃描影像的器官上顯示出該病灶。如在第九圖中即揭示在肝的模型上設計肝囊腫病灶後最終產生的超音波掃描影像示意圖,圖中的元件符號A即代表在超音波掃描 影像下發現的肝囊腫,而第十圖則揭示在膽的模型上設計結石病灶後最終產生的超音波掃描影像示意圖,圖中的元件符號B即代表在超音波掃描影像下發現的結石。又,病灶的位置隨時可以移動,只需要直接在由軟體定義的3D器官模型上調整位置即可,操作相當簡單,因此,可以提供多樣的實施例供學生練習測驗。 In addition, in order to further train students to identify diseases, at least one lesion can be designed on the 3D organ model defined by the software, and after the steps of constructing an echo reflection image, constructing an edge enhancement image, forming an image with scattered light and granularity, forming an image with upper skin texture, and generating an ultrasound scan image, the 3D organ model with the lesion displays the lesion on the organ in the generated ultrasound scan image. For example, the ninth figure shows the final ultrasound scan image after designing a liver cyst lesion on the liver model. The component symbol A in the figure represents the liver cyst found under the ultrasound scan image. The tenth figure shows the final ultrasound scan image after designing a gallbladder lesion. The component symbol B in the figure represents the gallstone found under the ultrasound scan image. In addition, the position of the lesion can be moved at any time. It only needs to adjust the position directly on the 3D organ model defined by the software. The operation is quite simple. Therefore, a variety of implementation examples can be provided for students to practice and test.
再者,於操作使用以本發明之方法所開發的超音波掃描器官的虛擬實境系統時,為令其手部操作桿更符合實際超音波探頭的握持狀態,故令使用者將手部操作桿以上下相反方式持拿,同時為了模擬超音波探頭接觸人體的彈性效果,提供一枕頭供使用者握持手部操作桿與之接觸,而不再懸空操作手部操作桿。參見第十一圖,係揭示一進入超音波掃描的虛擬實境場景的使用者其在實際環境中將手部操作桿1反握持拿並接觸枕頭2表面的超音波掃描模擬示意圖。
Furthermore, when operating the virtual reality system for ultrasonic organ scanning developed by the method of the present invention, in order to make the hand operating rod more consistent with the actual holding state of the ultrasonic probe, the user is required to hold the hand operating rod in an upside-down manner. At the same time, in order to simulate the elastic effect of the ultrasonic probe contacting the human body, a pillow is provided for the user to hold the hand operating rod and contact it, instead of operating the hand operating rod in the air. See Figure 11, which is a schematic diagram of an ultrasonic scanning simulation in which a user who enters the virtual reality scene of ultrasonic scanning holds the
以上所舉者僅係本發明之部份實施例,並非用以限制本發明,致依本發明之創意精神及特徵,稍加變化修飾而成者,亦應包括在本專利範圍之內。 The above examples are only some of the embodiments of the present invention and are not intended to limit the present invention. Any slight changes and modifications based on the creative spirit and characteristics of the present invention should also be included in the scope of this patent.
綜上所述,本發明實施例確能達到所預期之使用功效,又其所揭露之具體技術手段,不僅未曾見諸於同類產品中,亦未曾公開於申請前,誠已完全符合專利法之規定與要求,爰依法提出發明專利之申請,懇請惠予審查,並賜准專利,則實感德便。 To sum up, the embodiments of the present invention can indeed achieve the expected effects, and the specific technical means disclosed have not only not been seen in similar products, but have also not been disclosed before the application, and they are fully in compliance with the patent law. According to the regulations and requirements, if you submit an application for an invention patent in accordance with the law, it will be very convenient for you to be reviewed and granted a patent.
S1:建構回聲反射影像 S1: Construct echo reflection image
S2:建構邊緣強化影像 S2: Construct edge-enhanced images
S3:形成具散射光和顆粒感影像 S3: Form images with scattered light and graininess
S4:形成具上層皮膚質感影像 S4: Form an image with upper skin texture
S5:產生超音波掃描影像 S5: Generate ultrasound scan image
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW112121110A TWI837015B (en) | 2023-06-06 | 2023-06-06 | Process for rendering real-time ultrasound images used in virtual reality |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW112121110A TWI837015B (en) | 2023-06-06 | 2023-06-06 | Process for rendering real-time ultrasound images used in virtual reality |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TWI837015B true TWI837015B (en) | 2024-03-21 |
| TW202448386A TW202448386A (en) | 2024-12-16 |
Family
ID=91269807
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW112121110A TWI837015B (en) | 2023-06-06 | 2023-06-06 | Process for rendering real-time ultrasound images used in virtual reality |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI837015B (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI868019B (en) * | 2024-05-10 | 2024-12-21 | 中國醫藥大學 | Operation training system for ultrasound and operation training method for ultrasound |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1636521A (en) * | 2003-12-31 | 2005-07-13 | 株式会社美蒂森 | Apparatus and method for displaying sectional planes of target object utilizing 3-dimensional ultrasound data |
| CN109310392A (en) * | 2016-06-06 | 2019-02-05 | 埃达技术股份有限公司 | Method and system for interactive laparoscopic ultrasound-guided ablation planning and surgical procedure simulation |
| US20200037983A1 (en) * | 2017-02-14 | 2020-02-06 | Koninklijke Philips N.V. | Path tracking in ultrasound system for device tracking |
| CN115457008A (en) * | 2022-09-23 | 2022-12-09 | 艾瑞迈迪医疗科技(北京)有限公司 | Real-time abdominal puncture virtual simulation training method and device |
-
2023
- 2023-06-06 TW TW112121110A patent/TWI837015B/en active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1636521A (en) * | 2003-12-31 | 2005-07-13 | 株式会社美蒂森 | Apparatus and method for displaying sectional planes of target object utilizing 3-dimensional ultrasound data |
| CN109310392A (en) * | 2016-06-06 | 2019-02-05 | 埃达技术股份有限公司 | Method and system for interactive laparoscopic ultrasound-guided ablation planning and surgical procedure simulation |
| US20200037983A1 (en) * | 2017-02-14 | 2020-02-06 | Koninklijke Philips N.V. | Path tracking in ultrasound system for device tracking |
| CN115457008A (en) * | 2022-09-23 | 2022-12-09 | 艾瑞迈迪医疗科技(北京)有限公司 | Real-time abdominal puncture virtual simulation training method and device |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI868019B (en) * | 2024-05-10 | 2024-12-21 | 中國醫藥大學 | Operation training system for ultrasound and operation training method for ultrasound |
Also Published As
| Publication number | Publication date |
|---|---|
| TW202448386A (en) | 2024-12-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Tom et al. | Simulating patho-realistic ultrasound images using deep generative networks with adversarial learning | |
| KR101717695B1 (en) | Simulation of medical imaging | |
| Vitale et al. | Improving realism in patient-specific abdominal ultrasound simulation using CycleGANs | |
| US9501955B2 (en) | Endoscopic ultrasonography simulation | |
| US20180137784A1 (en) | System and Method for Teaching Basic Ultrasound Skills | |
| Burger et al. | Real-time GPU-based ultrasound simulation using deformable mesh models | |
| CN109661684B (en) | Ray tracing method for real interactive ultrasonic simulation | |
| CN109389590A (en) | Colon image data processing system and method | |
| EP3654292B1 (en) | Three-dimensional ultrasound image display method | |
| TWI837015B (en) | Process for rendering real-time ultrasound images used in virtual reality | |
| WO2007100263A1 (en) | Method for simulation of ultrasound images | |
| CN118429534A (en) | A virtual image generation system based on CT plain scan images | |
| Allgaier et al. | LiVRSono-virtual reality training with haptics for intraoperative ultrasound | |
| Barnouin et al. | A real-time ultrasound rendering with model-based tissue deformation for needle insertion | |
| Li et al. | Realistic ultrasound synthesis based on diagnostic CT to facilitate ultrasound-guided robotic spine surgery | |
| JP2025532575A (en) | Neural network simulator for ultrasound images and clips | |
| CN109872395B (en) | A Simulation Method of X-ray Image Based on Surface Model | |
| KR101657285B1 (en) | Ultrasonography simulation system | |
| CN119700007B (en) | OCT lesion simulation image generation method, device, equipment and storage medium | |
| CN113947662A (en) | Ultrasonic simulation method and system based on medical tomography | |
| Szostek et al. | Real-time simulation of ultrasound refraction phenomena using ray-trace based wavefront construction method | |
| CN112001998B (en) | Real-time simulation ultrasonic imaging method based on OptiX and Unity3D virtual reality platforms | |
| Starkov et al. | Ultrasound simulation with animated anatomical models and on-the-fly fusion with real images via path-tracing | |
| CN115953532A (en) | Method and device for displaying ultrasonic image for teaching and teaching system of ultrasonic image | |
| Yao et al. | Spatial compounding of large numbers of multi-view 3D echocardiography images using feature consistency |