建立自動化內視鏡手術影像即時追蹤放大之研究
Research on Establishing Automated Real-time Tracking Magnification of Endoscopic Surgical Images
摘要
本論文主旨是在研究內視鏡即時影像追蹤放大系統。本系統以支架固定內視鏡頭,透過內視鏡的即時影像追蹤手術器械並放大病徵位置,並依照手術器械移動的方向來調整放大區域。在影像追蹤控制方面,本論文使用Webcam即時影像以及內視鏡手術影片進行追蹤,利用機器學習特徵來訓練YOLO模型達到此功能,並調整好放大位置及倍率,使手術器械如同放大鏡一般移動,另外設計子母畫面,原始影像與放大影像可同時觀察,更有利於醫師進行診斷。在影像內插的部份,本論文提出基於誤差擴散圖像縮放技術的方式進行影像放大,透過圖像縮放來補足解析度,使醫師更為容易的觀察病徵位置進行手術,此方法將與不同內插方法進行比較,比較結果在肉眼的觀察下,最鄰近內插效果最差,與原圖畫質最為接近,而雙線性及雙立方的圖較為接近屬於中等,而誤差擴散圖像縮放增強了細節邊緣及明亮度,屬於四種方法中看起來不錯的。由於肉眼無法證明圖片品質的好壞,本論文使用了無參考圖像品質評估分析來佐證,分別是NIQE、BRISQUE及PIQE方法,並針對Webcam實際即時影像與臨床內視鏡影像進行分析,根據實驗結果顯示,誤差擴散技術在NIQE、BRISQUE及PIQE的平均得分為4.1、35.3、65.1,而另外三種內插方法平均得分為5、43.8、70.5,得分數越少代表圖片品質越高,由此可以得知誤差擴散技術比起測試的內插方法結果是要更好的,除了肉眼觀察有優化之外,在品質分析平均得分上也略勝一籌,是一個不錯的影像放大內插選擇。本研究訓練好的YOLO模型在內視鏡影片的平均辨識率為89%,FPS平均為22,而Webcam實際即時影像的追蹤辨識率有來到94.3%,成功驗證本論文研究方法的有效性。
The purpose of this study was to study an endoscopic real-time image tracking magnification system. This system uses a bracket to fix the endoscope, track the surgical instruments in real-time and zoom in on the symptoms, and adjust the magnified area according to the direction of the surgical instruments. In terms of tracking control, this paper uses Webcam real-time images and endoscopic surgery videos for tracking. We use machine learning features to train the YOLO model to achieve this function and adjust the magnification position and magnification to make the surgical instruments move like a magnifying glass. Also, design the picture-in-picture screen, the original image, and the enlarged image can be observed at the same time, which is more conducive to the diagnosis of the doctor. In the part of image interpolation, this paper proposes a method based on error diffusion image zooming technology. The image zooming is used to improve the resolution, which makes it easier for the doctor to observe the location of the symptoms for surgery. This method is compared with different interpolation methods. In the image quality evaluation and analysis part, this paper uses non-reference image quality evaluation analysis to support it, namely the NIQE, BRISQUE, and PIQE methods, and analyzes the actual real-time images of Webcam and clinical endoscopic images. According to the experimental results, the average quality scores of the error diffusion technology in NIQE, BRISQUE, PIQE are 4.1, 35.3, 65.1, while the average scores of the other three interpolation methods are 5, 43.8, 70.5. The smaller the number of scores, the higher the quality of the picture, which is the error diffusion technique is better than the tested interpolation method. In addition to the optimization of visual observation, it is also better than other methods in the average score of quality analysis. It is a good choice for image enlargement and interpolation. The average recognition rate of the researched method is 89% in endoscopic films, and the average FPS is 22, while the tracking recognition rate of Webcam's actual real-time images has reached 94.3%, which successfully verifies the validity of the research method of this paper.