第五章 實驗結果與模擬分析
6.3 即時色彩校正硬體架構
本論文的硬體架構如圖6.7所示,用CMOS影像感測器拍攝影像,將影像經由S-Video傳輸到FPGA,再經由FPGA運算完後,再經由DVI傳送到螢幕,實際架構圖如圖 6.8。
圖6.7 FPGA硬體架構圖
圖6.8 FPGA實際架構圖
第 七 章
結 論 與 未 來 展 望
7.1 結論
本論文為內視鏡之色彩影像校正,利用環場式膠囊內視鏡進行腸道假體拍攝,將 腸道假體影像進行重建,但是受到環場式膠囊內視鏡的錐狀鏡機構影響,造成影像接 合時產生不連續問題,本論文採用平均加權平滑法與最佳化縫隙法減少縫隙的產生,
由未改善的峰值訊號雜訊比17.56改善至35.82。
內視鏡與環場式膠囊內視鏡進行色票拍攝,將拍攝到的色票儲存於電腦中,利用 Matlab軟體計算出色度圖與色票所定義的色度圖比較,可以發現到色票所定義的資訊 與所拍攝到的色票影像有所不同,代表著內視鏡受到影像感測器、光源與機構而造成 影像色偏。色票所定義的D65燈源下拍攝色票,由色度圖可以察覺白色色點位置並不相 同,是因受到影像感測器的色彩濾光片影響,造成所拍攝到色彩資訊不相同,接著利 用將燈源更換為LED燈源進行拍攝,由色度圖上可發現並不相同,由此可以推估色彩 資訊也會受到燈源不同所影響,故需將所拍攝的色彩資訊校正至正確位置;再者環場 式膠囊內視鏡因受到膠囊殼影響造成影像偏黃,造成環場式膠囊內視鏡所拍攝影像與 原始色票所定義色彩色差為21.448,利用係數法與複數映射轉換多項式法,分別可以將 色差值降為1.539與1.324,最後將演算法利用Verilog語法撰寫完成,利用ModelSim模擬 FPGA結果與Matlab模擬結果比較,兩者之間的色差為0.9725。以上的色差值低於美國 國家標準與技術局所定義的色差在3以下人眼所可容忍色差之內。
7.2 未來展望
環場式膠囊內視鏡擁有錐狀鏡光學元件的關係而產生雜散光,而造成投光不平均 使得越靠近中心影像過曝,未來可以將環場式膠囊內視鏡的LED燈源照射於腸道壁
上,減少雜散光的產生。目前腸道影像接合時,所使用平均加權平滑法與最佳化縫隙 法為將影像模糊化,這樣會造成整體影像銳利度降低,造成影像品質只有小幅度的上 升。環場式膠囊內視鏡產生縫隙的問題在於投光不平均,所以可以由色彩空間的方式 將亮度拉為一致再進行接合影像減少縫隙產生。
本論文所提出演算法並非只侷限於內視鏡與環場式膠囊內視鏡,更適用於不同用 途之影像感測器,可以利用不同用途的影像感測器使用此演算法實現色彩校正,提升 此演算法價值並且由實驗中改善演算法的缺失。
影像感測器的暗雜訊較大,可以重新校正影像感測器,將暗雜訊影像降為最低。
FPGA實現色彩校正時因為雜訊的關係,將原本的雜訊放大,使得畫面不清楚,可以加 入數位影像處理的技術,將擷取到的影像先利用影像處理的技術將影像雜訊部分濾 除,再利用色彩校正演算法實現即時色彩校正。目前FPGA演算法利用三階層去實現即 時色彩校正,但是三階所能呈現的精準度並非最高,可以利用數位訊號處理將其運算 速度提升將演算法階數提升至八階,此階數可將色差降至1.324,提升影像色彩精確 度。現在已經完成FPGA即時色彩校正硬體實現,未來可以利用Design compiler 跟 IC compiler 將其演算法以IC形式呈現。
由於目前微創手術的盛行,內視鏡所利用的範圍將會越來的寬廣,目前的內視鏡 因為使用單一鏡頭,無法呈現出3D立體效果,造成在手術過程中因為景深的誤判,造 成傷害到其他的組織。傳統的3D攝影技術利用兩顆鏡頭去產生立體效果,但是內視鏡 會因為旋轉造成視平面改變,而無法產生全視角立體影像,故可以利用三顆鏡頭進行 產生3D立體影像,三顆鏡頭擁有著全視場的優勢,可以隨著內視鏡的旋轉改變視角產 生3D立體效果。
參 考 文 獻
[1] M. E. Riccioni, R. Urgesi, R. Cianci, C. Spada, E. C. Nista, and G. Costamagna, “Single-balloon push-and-pull enteroscopy system: does it work? A single-center, 3-year experience,”
Surgical Endoscopy and Other Interventional Techniques, vol. 25, pp. 3050-3056, Sep 2011.
[2] G. Iddan, G. Meron, A. Glukhovsky, and P. Swain, “Wireless capsule endoscopy,” Nature, vol. 405, pp. 417-417, May 2000.
[3] N. Almeida, P. Figueiredo, P. Freire, S. Lopes, F. Portela, M. Ferreira, H. Gouveia, and M. C.
Leitao, “Simultaneous failure of Pillcam Colon (TM) and Pillcam SB (TM),” Revista Espanola De Enfermedades Digestivas, vol. 100, pp. 731-733, Nov 2008.
[4] I. Fernandez-Urien, C. Carretero, R. Armendariz, and M. Munoz-Navas, “New applications of capsule endoscopy: PILLCAM (TM) ESO,” Anales Del Sistema Sanitario De Navarra, vol.
30, pp. 331-342, Sep-Dec 2007.
[5] A. Uehara and K. Hoshina, “Capsule endoscope NORIKA system,” Minimally Invasive Therapy & Allied Technologies, vol. 12, pp. 227-234, Sep 2003.
[6] RF Lab: Syaka System, from http://www.givenimaging.com/.
[7] C. Gheorghe, R. Iacob, and I. Bancila, “Olympus capsule endoscopy for small bowel
examination,” Journal of Gastrointestinal and Liver Diseases, vol. 16, pp. 309-313, Sep 2007.
[8] K. Gono, “Recent development in multifunctional endoscope,” in Design and Quality for Biomedical Technologies. vol. 6849 , pp. U3-U13, May 2008.
[9] H. Ogata, K. Kumai, H. Imaeda, K. Aiura, T. Hisamatsu, S. Okamoto, Y. Iwao, Y. Sugino, M.
Kitajima, and T. Hibi, “Clinical impact of a newly developed capsule endoscope: usefulness of a real-time image viewer for gastric transit abnormality,” Journal of Gastroenterology, vol.
43, pp. 186-192, Mar 2008.
[10] 鄭偉德,「環場式膠囊內視鏡之影像處理」,國立中央大學光電科學所碩士論文,民國
99年。
[11] D. W. Rees and M. Lisic, “PANORAMIC VIEWING UTILIZING HYPERBOLIC
ELLIPSOIDAL REFLECTING OPTICS,” Photographic Science and Engineering, vol. 6, pp.
113-113, May 1962.
[12] M. Ou-Yang and W. D. Jeng, “Design and analysis of radial imaging capsule endoscope (RICE) system,” Optics Express, vol. 19, pp. 4369-4383,Feb 2011.
[13] 薛博文,程啓正,周家至,張津魁,「全方位視覺感測系統之介紹與建置」,工程科技
與教育學刊,第三卷,264~283頁,民國95年。
[14] M. Zampoglou, M. Szenher, and B. Webb, “Adaptation of controllers for image-based homing,” Adaptive Behavior, vol. 14, pp. 381-399, May 2006.
[15] T. K. Dang, M. Worring, and T. D. Bui, “A semi-interactive panorama based 3D reconstruction framework for indoor scenes,” Computer Vision and Image Understanding, vol. 115, pp. 1516-1524, Nov 2011.
[16] H. M. Lu, S. W. Yang, H. Zhang, and Z. Q. Zheng, “A robust omnidirectional vision sensor for soccer robots,” Mechatronics, vol. 21, pp. 373-389, Mar 2011.
[17] C. Plagemann, C. Stachniss, J. Hess, F. Endres, and N. Franklin, “A nonparametric learning approach to range sensing from omnidirectional vision,” Robotics and Autonomous Systems, vol. 58, pp. 762-772, Jun 2010.
[18] M. Ou-Yang, S. W. Huang, Y. L. Chen, H. H. Lee, and P. K. Weng, “Design of wide-angle lenses for wireless capsule endoscopes,” Optical Engineering, vol. 46, pp. 103002.1-11, Oct 2007.
[19] H. Wakabayashi and J. Yamakita, “Color Specification for Structural Colors by Using Reflection Spectrum,” IEEE Transactions on Electrical and Electronic Engineering, vol. 4, pp. 790-792, Nov 2009.
[20] D. Hinks, L. M. Cardenas, R. G. Kuehni, and R. Shamey, “Unique-hue stimulus selection using Munsell color chips,” Journal of the Optical Society of America a-Optics Image Science and Vision, vol. 24, pp. 3371-3378, Oct 2007.
[21] A. Hard, L. Sivik, and G. Tonnquist, “NCS, natural color system - From concept to research and applications .1,” Color Research and Application, vol. 21, pp. 180-205, Jun 1996.
[22] A. Shams-Nateri, “Estimation of CIE Tristimulus Values Under Various Illuminants,” Color Research and Application, vol. 34, pp. 100-107, Apr 2009.
[23] B. K. Kim and R. H. Park, “Detection and correction of purple fringing using color
desaturation in the xy chromaticity diagram and the gradient information,” Image and Vision Computing, vol. 28, pp. 952-964, Jun 2010.
[24] K. L. Woon, “CIE 1931 colour space movement of organic light emitting diode,”
Optoelectronics and Advanced Materials-Rapid Communications, vol. 4, pp. 121-124, Feb 2010.
[25] D. K. Son, E. B. Cho, I. Moon, Y. Park, and C. G. Lee, “Development of an Illumination Measurement Device for Color Distribution Based on a CIE 1931 XYZ Sensor,” Journal of the Optical Society of Korea, vol. 15, pp. 44-51, Mar 2011.
[26] S. C. Bell, H. D. Nawrocki, and K. B. Morris, “Forensic discrimination of glass using cathodoluminescence and CIE LAB color coordinates: A feasibility study,” Forensic Science International, vol. 189, pp. 93-99, Aug 2009.
[27] Z. T. Kosztyan, G. P. Eppeldauer, and J. D. Schanda, “Matrix-based color measurement corrections of tristimulus colorimeters,” Applied Optics, vol. 49, pp. 2288-2301, Apr 2010.
[28] J. L. Gardner, “Comparison of calibration methods for tristimulus colorimeters,” Journal of Research of the National Institute of Standards and Technology, vol. 112, pp. 129-138, May-Jun 2007.
[29] S.-M. Liu, “The Development of a Portable Spectrophotometerfor Noncontact Color Measurement,” IEEE TRANSACTIONS ON INSTRUMENTATION AND MEASUREMENT, vol. 53,NO. 1, p. 155-162, Feb 2004.
[30] F. Martinez-Verdu, J. Pujol, and P. Capilla, “Characterization of a digital camera as an absolute tristimulus colorimeter,” Journal of Imaging Science and Technology, vol. 47, pp.
279-295, Aug 2003.
[31] P. Bodrogi, B. Sinka, A. Borbely, N. Geiger, and J. Schanda, “On the use of the sRGB colour space: the 'Gamma' problem,” Displays, vol. 23, pp. 165-170, Sep 2002.
[32] Y. K. Lee and J. M. Powers, “Comparison of CIE Lab, CIEDE 2000, and DIN 99 color differences between various shades of resin composites,” International Journal of Prosthodontics, vol. 18, pp. 150-155, Mar-Apr 2005.
[33] J. Y. Hardeberg, E. Bando, and M. Pedersen, “Evaluating colour image difference metrics for gamut-mapped images,” Coloration Technology, vol. 124, pp. 243-253, May 2008.
[34] M. R. Luo, G. Cui, and B. Rigg, “The development of the CIE 2000 colour-difference formula:
CIEDE2000,” Color Research and Application, vol. 26, pp. 340-350, Oct 2001.
[35] National Institute of Standards and Technology: NIST, from http://cie2.nist.gov/TC1-69/Darmstadt/cie-tc-1-69-darmstadt-rcri-method.pdf
[36] G. Freilich, “ON THE MEASURE OF CARTESIAN PRODUCT SETS,” Transactions of the American Mathematical Society, vol. 69, pp. 232-275, May 1950.
[37] S. Williams, “Pearson’s correlation coefficient,” New Zealand Medical Journal, vol. 109, No.
1, pp. 38-38, May 1996.
[38] A. Zomet, A. Levin, S. Peleg, and Y. Weiss, “Seamless image stitching by minimizing false edges,” Ieee Transactions on Image Processing, vol. 15, pp. 969-977, Apr 2006.
[39] M. J. Ye, J. Li, Y. Y. Liang, Z. C. Cai, and Z. S. Tang, “Automatic seamless stitching method for CCD images of Chang'E-1 lunar mission,” Journal of Earth Science, vol. 22, pp. 610-618, Oct 2011.
[40] J. Davis and S. O. C. Ieee Comp, “Mosaics of scenes with moving objects,” in 1998 Ieee Computer Society Conference on Computer Vision and Pattern Recognition, Proceedings, vol.
22, pp. 354-360, May 1998.
[41] A. A. Efros, W. T. Freeman, and Acm, “Image quilting for texture synthesis and transfer,” in Siggraph 2001 Conference Proceedings, vol. 22, pp. 341-346, May 2001.
[42] S. Forchhammer, H. Y. Li, and J. D. Andersen, “No-reference analysis of decoded MPEG
[43] G. W. Hong, M. R. Luo, and P. A. Rhodes, “A study of digital camera colorimetric
characterization based on polynomial modeling,” Color Research and Application, vol. 26, pp.
76-84, Feb 2001.
[44] T. Johnson, “Methods for characterizing colour scanners and digital cameras,” Displays, vol.
16, pp. 183-191, May 1996.
[45] NASCO Life Form: LF1084U from http://www.nist.gov/index.html [46] ALTERA : Cyclone III FPGA development kit from
http://www.altera.com/products/devkits/altera/kit-cyc3.html [47] Bitec : HSMC Quad Video Board from http://www.bitec.ltd.uk/
個人著作
研討會:
[1] C. C. Lai, W. D. Jeng and M. Ou-Yang, “Improving Seams of Image Stitching in Ring Field Capsule Endoscope ,” Conference on Optics and Photonics, Dec 2010.
[2] W. D. Jeng, M. Ou-Yang, Y. F. Hsieh, Y. T. Chen, C. C. Lai and H. M. Wu, “Design of omni-direction image for capsule endoscope,” International Conference on Microoptics, Nov 2010.
[3] W. D. Jeng, M. Ou-Yang, C. C. Lai and H. M. Wu, “Improve the image discontinuous problem by using color temperature mapping method,” Proc. SPIE Optics and Photonics conference, vol. 8135, pp. 8135-8139, Aug 2011.
專利:
[1] 歐陽盟,鄭偉德,賴建成,湯禹舜,「利用光纖成像之膠囊內視鏡」,專利申請中,
中華民國、日本、美國與大陸,民國99年。
[2] 歐陽盟,鄭偉德,賴建成,龔益群,陶冠亨,「全景式膠囊影像之裝置與方法」,專
利申請中,中華民國、日本、美國與大陸,民國100年。
[3] 歐陽盟,鄭偉德,賴建成,龔益群,陶冠亨,「3D全視場內視鏡系統」,專利申請
中,中華民國、日本、美國與大陸,民國100年。
競賽:
[1] 歐陽盟,鄭偉德,賴建成,龔益群,陶冠亨, 「3D全視場攝影之膠囊內視鏡系統」,
龍騰微笑競賽佳作,民國100年。