TW201725527A - Method of employing super spectral image to identify cancerous lesions determining whether a principal component score of a simulated spectrum of a pathological image falls within a certain triangular range - Google Patents

Method of employing super spectral image to identify cancerous lesions determining whether a principal component score of a simulated spectrum of a pathological image falls within a certain triangular range Download PDF

Info

Publication number
TW201725527A
TW201725527A TW105100829A TW105100829A TW201725527A TW 201725527 A TW201725527 A TW 201725527A TW 105100829 A TW105100829 A TW 105100829A TW 105100829 A TW105100829 A TW 105100829A TW 201725527 A TW201725527 A TW 201725527A
Authority
TW
Taiwan
Prior art keywords
image
pathological
images
component score
spectrum
Prior art date
Application number
TW105100829A
Other languages
Chinese (zh)
Other versions
TWI537762B (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 TW105100829A priority Critical patent/TWI537762B/en
Application granted granted Critical
Publication of TWI537762B publication Critical patent/TWI537762B/en
Publication of TW201725527A publication Critical patent/TW201725527A/en

Links

Landscapes

  • Endoscopes (AREA)

Abstract

A method of employing super spectral image to identify cancerous lesions includes steps of: obtaining a plurality of first pathological images from an endoscope, wherein the plurality of first pathological images refer to a plurality of cancerous lesions images; feeding the first pathological images into an image processing module to obtain the first simulated spectrums of the first pathological images and drawing a principal component score graph based on the first simulated spectrums; defining a plurality of triangular ranges according to the first simulated spectrum; determining whether a principal component score of a second simulated spectrum of a second pathological image falls within a certain triangular range; and when the principal component score of the second simulated spectrum falls within a certain triangular range, determining that the second pathological image is one of the cancer lesion images.

Description

應用超頻譜影像辨識癌病變方法Method for identifying cancer lesions by using hyperspectral image

本創作是有關於一種辨識癌病變方法,特別是應用超頻譜影像與主成份分析以辨識癌病變的方法。This creation is about a method for identifying cancerous lesions, especially the application of hyperspectral imaging and principal component analysis to identify cancerous lesions.

隨著超頻譜(Hyperspectral Image Technique)影像技術的成熟,開始將超頻譜影像技術應用於醫療檢測上。例如,初期的口腔癌檢測、腸病毒口腔病變檢測或直腸黏膜檢測等。依照儀器設備的不同有著不同種類的超頻譜影像技術。其中,一種現有的超頻譜影像系統係利用單點頻譜儀搭配二維掃描系統,雖然這種超頻譜影像系統能夠得到最佳的模擬頻譜以及空間解析度,不過卻需要花費較長的時間讀取資料。另一種超頻譜影像系統為利用數位相機搭配液晶可協調濾波片以及顯微鏡,其可應用於骨髓細胞的檢測,雖然這種方法可以將骨髓細胞中的成份分類出來,但因為受到液晶可協調濾波片控制的影響,會限制了頻譜資料讀取的速度。另外,又一種超頻譜影像系統則是使用超頻譜相機進行頻譜以及影像的分析,已應用在美容以及皮膚檢測上,雖然具有非常高的成像解析度但需要處理龐大的數據以及較高的成本。With the maturity of Hyperspectral Image Technique imaging technology, hyperspectral imaging technology began to be applied to medical detection. For example, initial oral cancer detection, enterovirus oral lesion detection, or rectal mucosal detection. There are different types of hyperspectral imaging technology depending on the instrument and equipment. Among them, an existing hyperspectral imaging system uses a single-point spectrum analyzer with a two-dimensional scanning system. Although this hyperspectral imaging system can obtain the best analog spectrum and spatial resolution, it takes a long time to read. data. Another hyperspectral imaging system uses a digital camera with a liquid crystal-coordinated filter and a microscope, which can be applied to the detection of bone marrow cells. Although this method can classify the components in bone marrow cells, it is affected by the liquid crystal-coordinated filter. The impact of control limits the speed at which spectral data is read. In addition, another hyperspectral imaging system uses a hyperspectral camera for spectrum and image analysis. It has been applied to beauty and skin detection. Although it has a very high imaging resolution, it needs to process huge data and high cost.

早期的內視鏡局部檢測與診斷,是降低死亡率的關鍵,然而過去醫療上主要用來檢測食道早期癌的內視鏡技術為白光內視鏡術。白光內視鏡檢測依據早期食道癌黏膜呈三種特徵性變化:(1)黏膜顏色改變,有紅色與白色兩種形式。紅色變化為呈現邊界清楚的紅色區域,黏膜稍粗糙混濁,而少數則呈邊界不清的大片紅色區域;白色變化即黏膜白斑,呈分散、邊界清楚、大小不等、較粗糙、無光澤、稍隆起狀;(2)黏膜增厚與血管結構產生變化:正常食道黏膜上皮呈半透明狀,黏膜下血管網絡清晰可見,黏膜上皮癌變時,血管網絡則不能透見;(3)黏膜型態學變化,包括糜爛、斑塊、粗糙以及結節等,多呈混合性變化,上述三種變化均會使食道黏膜失去正常的結構和光澤,然而常規白光內視鏡檢測時,無法清楚地觀察到食道黏膜的細微構造,須透過活檢及染色技術的方式診斷。染色內視鏡術的檢測方式是指透過口服、注射、直接噴灑染劑,使病灶與正常黏膜顏色對比更加明顯,從而助於癌變的辨識及目標性活檢,提高早期食道癌檢測的診斷,而染色內視鏡術有以下幾種形式,如碘染色法,由於正常食道黏膜屬於鱗狀上皮細胞(Squamous Cell Epithelium),細胞中含有許多肝糖(Glycogen),因肝糖對碘溶液有強親和力而會被染成褐色;相反地,一旦黏膜出現病變時,富含肝糖的細胞會減少或消失,因此不容易被碘溶液染上顏色,所以依據此原理,在進行內視鏡檢查時,可以在食道表面噴灑碘溶液,若發現碘無法染色的區域,即高度懷疑是早期食道癌的可能,是最為普遍的染色鏡內鏡術。甲苯胺藍染色法,其為一種嗜酸性的染液,對癌細胞及細胞癌變前的DNA與RNA有親和力,故可用於檢測癌變病變與癌變。亞甲藍染色法,為一種吸收性染劑,正常食道鱗狀上皮細胞不吸收亞甲藍而不染色,但可被腸化細胞與柱狀細胞吸收而染成藍色,因此常用於食道腺癌的檢測,但在醫學文獻上表明亞甲藍可能造成DNA損傷,且耗時又仰賴操作者的經驗。醋酸染色法,其可使細胞內的細胞質蛋白產生可逆性變化,常用濃度為1.5~3%,噴灑2-3分鐘後食道鱗狀上皮黏膜仍維持白色,而柱狀上皮則轉為紅色,藉以識別殘存的柱狀細胞。由於染劑濃度分配不一、噴灑方法不當即染劑本身的限制等因素,可使病變處產生染色深淺、定位不準確或病灶遺漏等結果,經上述可得知單一染色法有一定的限制性,故可藉由雙重染色法來改善。Early detection and diagnosis of endoscopy is the key to reducing mortality. However, the endoscopic technique used in medical treatment to detect early esophageal cancer is white endoscopy. White light endoscopy detection has three characteristic changes according to the early esophageal cancer mucosa: (1) mucosal color changes, there are two forms of red and white. The red color changes to a red area with a clear boundary, the mucous membrane is slightly rough and turbid, and a few are large red areas with unclear borders; white changes are mucous white spots, which are scattered, clear boundaries, varying in size, rough, dull, slightly (2) Mucosal thickening and changes in vascular structure: normal esophageal mucosa epithelium is translucent, submucosal vascular network is clearly visible, and mucosal epithelial carcinogenesis, vascular network is not transparent; (3) mucosal morphology Changes, including erosion, plaque, roughness, and nodules, are mixed, and all three of these changes will cause the esophageal mucosa to lose its normal structure and luster. However, the conventional esophageal mucosa cannot clearly observe the esophageal mucosa. The fine structure must be diagnosed by means of biopsy and staining techniques. The method of staining endoscopic surgery refers to the comparison of the color of the lesion with the normal mucosa through oral, injection, and direct spraying of the dye, thereby facilitating the identification of cancer and the target biopsy, and improving the diagnosis of early esophageal cancer detection. Dyeing endoscopy has the following forms, such as iodine staining, because the normal esophageal mucosa belongs to Squamous Cell Epithelium, which contains many glycogen (Glycogen), because hepatic sugar has strong affinity for iodine solution. It will be stained brown; on the contrary, once the mucosa is lesioned, the glycogen-rich cells will be reduced or disappeared, so it is not easily stained with iodine solution, so according to this principle, when performing endoscopy, Iodine solution can be sprayed on the surface of the esophagus. If it is found that the area where iodine cannot be stained, that is, it is highly suspected to be the possibility of early esophageal cancer, it is the most common stain endoscopy. Toluidine blue staining method, which is an eosinophilic dyeing solution, has affinity for cancer cells and cells before cancer, and can be used for detecting cancerous lesions and cancerous changes. Methylene blue staining is an absorbent dye. Normal esophageal squamous cells do not absorb methylene blue without staining, but can be absorbed by intestinal cells and columnar cells and stained blue. Therefore, they are commonly used in esophageal glands. The detection of cancer, but in the medical literature shows that methylene blue may cause DNA damage, and time-consuming depends on the operator's experience. Acetic acid staining method, which can make the cytoplasmic protein in the cell produce reversible changes. The commonly used concentration is 1.5~3%. After spraying for 2-3 minutes, the esophageal squamous epithelium still maintains white color, while the columnar epithelium turns red. Identify residual columnar cells. Due to the different distribution of dye concentration, the limitation of the spraying method, the limitation of the dyeing agent itself, etc., the staining depth, the inaccurate positioning or the omission of the lesion may be caused by the staining, and the single staining method has certain limitations. Therefore, it can be improved by double staining.

然而除了上述化學方式的染色內視鏡術,還有藉由光學變化的電子染色成像技術,如窄頻成像(Narrow Band Imaging,NBI)、智能電子分子分光比色內視鏡系統(Fujinon Intelligent Chromoendoscopy,FICE),兩種方法都是以一定波長光譜的選擇為基礎,但NBI是利用濾波器縮窄光譜的頻寬,而FICE則是將傳統白光影像分解成許多單一波長的分光影像,然後從中擷取合適波長的影像並加以合成。However, in addition to the above-mentioned chemical dyeing endoscopy, there are electronic dye imaging techniques by optical changes, such as Narrow Band Imaging (NBI), Intelligent Electron Molecular Spectroscopic Endoscopy System (Fujinon Intelligent Chromoendoscopy). , FICE), both methods are based on the choice of a certain wavelength spectrum, but NBI is to use the filter to narrow the spectrum bandwidth, while FICE is to decompose the traditional white light image into many single wavelength spectral images, and then from Capture and synthesize images of the appropriate wavelength.

有鑑於內視鏡術檢測的困難,另外有醫學文獻提出兩個靈敏且方便的臨床方法來辨別良性或惡性的病灶,即多光子顯微技術(Multiphoton Microscopy,MPM),以及隨著生物科學的進步,利用奈米粒子聚合物的表面增強拉曼光譜(Surface-enhanced Raman Scattering,SERS)也應用於癌細胞的檢測上。透過多光子顯微(MPM)技術中的雙光子激發螢光法(Two-Photon Excited Fluorescence,TPEF)及二倍頻(Second Harmonic Generation,SHG)之訊號,可以從背景訊號與自體螢光的差異性,得以辨識食道癌變病灶。如圖8所示,可以從SHG與TPEF的訊號強度比得知,癌化組織明顯低於正常組織,這清楚地表明膠原蛋白的含量、分佈,以及形態結構,會因為癌細胞占據黏膜下組織產生變化,因此該訊號強度比可作為一定量指標來區分正常、癌前病變與食道癌組織。另一方面,拉曼光譜可提供分子組成與生物組織結構的特定指紋形式之資訊,在診斷與評估癌症方面是可行的光學技術。然而一般的拉曼光譜技術主要有兩個缺失,即背景螢光干擾太強,以及拉曼散射的效率太低,造成實際臨床應用的困難,因此表面增強拉曼光譜(SERS)可以解決這些問題,微弱的拉曼訊號可增強至10的14次方倍,且背景的螢光訊號也會因奈米粒金屬表面上的分子吸收而大幅降低,如圖9所示,在未將奈米銀粒子滴入待測食道癌組織樣本時,其拉曼訊號相當薄弱,如圖9的拉曼光譜波形,而滴入平均直徑約25nm的奈米銀粒子於食道癌組織後兩分鐘,經量測後其拉曼訊號強度便大幅提升,如圖9的表面增強拉曼光譜波形。最後再透過圖10所示的結果,比較正常組織波形與癌變組織波形的表面增強拉曼光譜訊號,可以看出其頻譜差異性的波形。In view of the difficulty of endoscopic detection, there are two medically sensitive and convenient clinical methods to identify benign or malignant lesions, namely Multiphoton Microscopy (MPM), and with the biological sciences. Progressively, surface-enhanced Raman Scattering (SERS) using nanoparticle polymers is also applied to the detection of cancer cells. Two-Photon Excited Fluorescence (TPEF) and Second Harmonic Generation (SHG) signals in multiphoton microscopy (MPM) technology, from background signals to autofluorescence Differences were made to identify esophageal cancer lesions. As shown in Figure 8, it can be seen from the signal intensity ratio of SHG and TPEF that the cancerous tissue is significantly lower than normal tissue, which clearly indicates the collagen content, distribution, and morphological structure, because cancer cells occupy submucosal tissue. Changes occur, so the signal intensity ratio can be used as a quantitative indicator to distinguish between normal, precancerous lesions and esophageal cancer tissue. On the other hand, Raman spectroscopy provides information on the molecular composition and specific fingerprint forms of biological tissue structures, and is a viable optical technique for diagnosing and evaluating cancer. However, there are two main defects in the general Raman spectroscopy technique, that is, the background fluorescence interference is too strong, and the efficiency of Raman scattering is too low, which makes the practical clinical application difficult, so surface enhanced Raman spectroscopy (SERS) can solve these problems. The weak Raman signal can be increased to the 14th power of 10, and the background fluorescent signal is also greatly reduced by the molecular absorption on the surface of the nanoparticle metal, as shown in Figure 9, in the absence of nano silver particles. When the sample of esophageal cancer tissue to be tested is dropped, the Raman signal is quite weak. As shown in the Raman spectrum of Fig. 9, the nano silver particles with an average diameter of about 25 nm are dropped into the esophageal cancer tissue for two minutes. Its Raman signal strength is greatly improved, as shown in the surface-enhanced Raman spectrum of Figure 9. Finally, through the results shown in FIG. 10, the surface-enhanced Raman spectroscopy signals of the normal tissue waveform and the cancerous tissue waveform are compared, and the waveform difference spectrum can be seen.

然而,早期病灶在白光下檢視並不明顯,容易被忽略進而延誤治療。隨著近年來內視鏡技術的進展,利用內視鏡結合一些化學及光學的原理,能將微小的食道癌變病灶突顯出來,提高早期癌症的診斷率,如碘染色內視鏡術與窄頻成像內視鏡術(Narrow-band Imaging,NBI)。然而碘染色內視鏡術過程中會噴灑染劑來達到顯影的效果,因染劑分布不均勻而導致判別上的困難,另外染劑也可能令病患的胸口產生刺痛或灼熱等不適感。NBI則對影像分析存在著一定的主觀性,且受一些因素影響,例如若有出血或發炎性病灶出現時,便會導致視野較模糊、影像解析度較差,另外病患若有重大器官功能障礙,例如心臟、肺臟疾病、病情不穩定者,也須詳細評估其器官功能狀況,權衡是否適合接受檢查。目前在食道癌的檢測方面,係由NBI技術為目前主流,因不需噴灑染劑便能達到光學染色的效果且操作上相當容易,只需按一個按鍵便可任意從白光切換至NBI模式藉以反覆觀察,然而檢測的依據主要是觀察表層血管如上皮內乳頭狀微血管環(Intra-epithelial Papillary Capillary Loop,IPCL)的變化,但卻非常仰賴臨床醫師主觀的判斷。However, early lesions are not apparent under white light and are easily overlooked to delay treatment. With the advancement of endoscopic techniques in recent years, the use of endoscopes combined with some chemical and optical principles can highlight small esophageal cancer lesions and improve the diagnosis rate of early cancer, such as iodine staining endoscopy and narrow frequency. Narrow-band Imaging (NBI). However, in the process of iodine-stained endoscopy, the dyeing agent is sprayed to achieve the development effect, and the uneven distribution of the dyeing agent may cause difficulty in discrimination. In addition, the dye may cause irritations such as stinging or burning in the chest of the patient. . NBI has some subjectivity for image analysis, and it is affected by some factors. For example, if there is bleeding or inflammatory lesions, it will result in blurred vision, poor image resolution, and significant organ dysfunction in patients. For example, the heart, lung disease, and unstable conditions must also be evaluated in detail for their organ function and whether the balance is suitable for examination. At present, in the detection of esophageal cancer, the NBI technology is currently the mainstream, because the dyeing effect can be achieved without spraying the dye, and the operation is quite easy, and the white light can be switched to the NBI mode at the push of a button. Repeated observation, however, the basis of the test is mainly to observe changes in the superficial blood vessels such as the intra-epithelial Papillary Capillary Loop (IPCL), but it relies heavily on the subjective judgment of the clinician.

關於前述NBI的工作原理,是利用氙燈(Xenon)通過一個特殊的濾光器,過濾出兩種窄頻的藍光及綠光(415 nm and 540 nm),然而因食道癌發展初期,常伴隨著黏膜表層血管增生,且可見光波長穿透深度根據波長越長其穿透深度越深,因此捨棄紅光的成分而只考慮藍、綠光,接著感光耦合元件(Charge-coupled Device,CCD)會接收到窄頻的藍光與綠光入射至黏膜的反射光,將其轉換成數位訊號並根據人類色視覺敏感度以色彩重新分配的方式將數位訊號分配至R、G、B三個頻道,即藍光(415 nm)分配至B及G頻道;綠光(540 nm)則分配至R頻道,最後經由色彩轉換處理讓原本只具有藍、綠色成分的內視鏡影像能在螢幕上呈現彩色的影像,如附件6所示,可以看到表層的血管會呈現棕色,而較深層的血管則呈現綠色,這樣的方式能將黏膜表層的細微血管呈現的更加銳利,且對比更加強烈,若再搭配放大內視鏡的使用便可將病灶放大80倍以上,使臨床醫師更能夠清楚地觀察病灶表面的紋路、微血管排列與粗細之變化,因此只要藉由觀察這些棕色病變區域的差異,便可有效地提高早期食道癌的診斷率。The working principle of the aforementioned NBI is to use a special filter to filter out two narrow-band blue and green light (415 nm and 540 nm) by Xenon. However, due to the early development of esophageal cancer, it is often accompanied by The surface of the mucosa is hyperplasia, and the depth of visible light wavelength penetration is deeper according to the wavelength. The deeper the penetration depth, the blue light is discarded, and only the blue-and-green light is considered. Then the photosensitive-coupled device (CCD) receives To the narrow-band blue and green light incident on the mucous membrane, convert it into a digital signal and assign the digital signal to the R, G, B channels according to the color redistribution of human color vision, ie blue light (415 nm) is assigned to the B and G channels; green light (540 nm) is assigned to the R channel, and finally, through the color conversion process, the endoscope image originally having only the blue and green components can display a color image on the screen. As shown in Annex 6, it can be seen that the blood vessels in the surface layer will appear brown, while the blood vessels in the deeper layers will appear green. This way, the fine blood vessels on the surface of the mucosa will be sharper and more contrasting. If you use the magnifying endoscope together, you can magnify the lesion by more than 80 times, so that the clinician can clearly observe the changes in the texture, microvascular arrangement and thickness of the lesion surface. Therefore, by observing the difference of these brown lesions, It can effectively improve the diagnosis rate of early esophageal cancer.

主成份分析法(Principle Component Ananaysis)為多變量統計常用的方法,自從1960年後為人們應用在色彩科技上重要的一環,主成份分析的概念是在一個多變數的資料集合中,找出比原始變數少,而且可以保留其資料變化的子空間,將原始資料投影到此子空間分析。其主成份分析主要目的可分為兩個:第一個是定義出大量頻譜資訊的主軸方向,第二個是將資訊的數據精簡化,主要是將原始資料重組後,計算出相關性高且互相獨立之變數,再藉由分析得到主要成份,最後便可得到解釋原始資料中大部分數據的變異性。圖11中的例子來解釋主成份分析的幾何涵意,在圖11中有兩群分佈不均勻的資料點,從X1與Y1座標系看來,要單從X1或Y1座標來分出這兩群資料不太容易。因為資料從這兩個方向來看都無明顯分界區域。經過主成份分析運算後,可以得一個主軸方向如圖上的X2。因此將資料投影到X2後,所有資料都有一個新的座標值X2,顯然資料在X2上已有明顯分別,這就是主成份分析的特性。Principle Component Analysia (Principal Component Ananaysis) is a commonly used method for multivariate statistics. Since 1960, it has been applied to people in color technology. The concept of principal component analysis is to find the ratio in a multivariate data set. The original variables are small, and the subspace of the data changes can be retained, and the original data is projected to this subspace analysis. The main purpose of its principal component analysis can be divided into two: the first is to define the main axis direction of a large amount of spectrum information, and the second is to simplify the data of the information, mainly after reorganizing the original data, and calculating the correlation and Variables that are independent of each other, and then the main components are obtained by analysis, and finally the variability of most of the data in the original data can be explained. The example in Figure 11 explains the geometric meaning of the principal component analysis. In Figure 11, there are two groups of data points with uneven distribution. From the X1 and Y1 coordinate systems, the two points are separated from the X1 or Y1 coordinates. Group information is not easy. Because the data from these two directions, there is no obvious boundary area. After the principal component analysis operation, a spindle direction can be obtained as shown by X2. Therefore, after projecting the data to X2, all the data have a new coordinate value X2. Obviously, the data is obviously different on X2, which is the characteristic of principal component analysis.

因此若能利用超頻譜影像技術與主成份分析原理提供一種新的光學檢測方式,針對NBI內視鏡影像中食道癌變病灶的IPCL型態變化,以及白光與碘染色內視鏡影像中食道正常、癌前病變、癌變病灶的頻譜特徵,比較其主成份得分圖結果並藉由其頻譜特徵的趨勢,可協助臨床醫師快速地辨識食道早期癌變病灶。Therefore, if a new optical detection method can be provided by using the principle of hyperspectral imaging technology and principal component analysis, the IPCL pattern change of the esophageal cancer lesion in the NBI endoscope image, and the esophagus in the white light and iodine stained endoscope image are normal, The spectral characteristics of precancerous lesions and cancerous lesions, comparing the results of their main component score maps and their spectral characteristics, can help clinicians quickly identify early cancerous lesions in the esophagus.

本創作之目的在提供一種應用超頻譜影像辨識癌病變方法,以快速評估出病患在各個癌症分期的可能性。The purpose of this creation is to provide a method for identifying cancer lesions using hyperspectral imagery to quickly assess the likelihood of a patient's staging in each cancer.

根據上述之目的,本創作提供一種應用超頻譜影像辨識癌病變方法,包含下列步驟: 從一內視鏡獲得複數個第一病理影像,該複數個第一病理影像為複數個癌病變影像; 將該些第一病理影像匯入一影像處理模組以取得該些第一病理影像的複數個第一模擬頻譜,並根據該些第一模擬頻譜畫出一主成份得分圖; 根據該些第一模擬頻譜,在該主成份得分圖中定義複數個三角形範圍; 判斷一第二病理影像的一第二模擬頻譜的一主成份得分是否落入其中一個該些三角形範圍內; 當該第二模擬頻譜的該主成份得分落入其中一個該些三角形範圍內,確認該第二病理影像屬於某一該些癌病變影像。According to the above object, the present invention provides a method for identifying a cancer lesion by using a hyperspectral image, comprising the following steps: obtaining a plurality of first pathological images from an endoscope, the plurality of first pathological images being a plurality of cancer lesion images; The first pathological images are imported into an image processing module to obtain a plurality of first simulated spectra of the first pathological images, and a principal component score map is drawn according to the first simulated spectra; Simulating a spectrum, defining a plurality of triangle ranges in the principal component score map; determining whether a principal component score of a second analog spectrum of a second pathology image falls within one of the triangle ranges; when the second analog spectrum The main component score falls within one of the triangles, and the second pathological image is confirmed to belong to some of the cancer lesion images.

透過本創作之應用超頻譜影像辨識癌病變方法,可以將癌病變影像數據化,利用主成份分析,有效並快速地提升醫生診斷效率,幫助病患進行早期治療。Through the application of the hyperspectral image recognition cancer pathology method, the cancer lesion image can be digitized, and the principal component analysis can be used to effectively and quickly improve the diagnosis efficiency of the doctor and help the patient to perform early treatment.

圖1為本創作應用超頻譜影像辨識癌病變方法之實施例的流程圖。如圖1所示,在步驟S101中,從一內視鏡獲得複數個第一病理影像,該些第一病理影像為癌病變病理影像。超頻譜影像系統建構在內視鏡主機與高解析度的光譜儀,超頻譜影像系統可擷取24色塊(X-Rite,Mini Color Checkers)影像資訊。為了判斷癌變,要得到每張第一病理影像中每個畫素的頻譜,需要先找到光譜儀與內視鏡之間的關係矩陣。24色塊的頻譜需要在內視鏡的環境下透過光譜儀進行量測,其頻譜的範圍設在可見光的波段(380nm~780nm)。為了方便分析,將這些頻譜整理成一個401*24的矩陣,矩陣的每一列為波長所對應的強度值,每一行則代表色塊的數目。FIG. 1 is a flow chart of an embodiment of a method for identifying a cancer lesion using a hyperspectral image. As shown in FIG. 1, in step S101, a plurality of first pathological images are obtained from an endoscope, and the first pathological images are cancer pathological images. The hyperspectral imaging system constructs an endoscope mainframe and a high-resolution spectrometer. The hyperspectral imaging system captures X-Rite (Mini Color Checkers) image information. In order to determine the cancer, to obtain the spectrum of each pixel in each first pathological image, it is necessary to first find the relationship matrix between the spectrometer and the endoscope. The spectrum of the 24 color patches needs to be measured by an optical spectrometer in an environment of an endoscope, and the spectrum is set in the visible light band (380 nm to 780 nm). For the convenience of analysis, these spectra are organized into a matrix of 401*24, each column of the matrix is the intensity value corresponding to the wavelength, and each row represents the number of color patches.

這些24色塊同時在內視鏡的環境下拍攝,這些24色塊輸出的格式為sRGB(JPEG 影像的資料)。藉由電腦的計算,可以得到每個色塊中的紅(Red,R)、綠(Green,G)、藍(Blue,B)值(0~255),並轉換到尺度更小的範圍(0~1)的R srgb 、G srgb 與B srgb 。藉由以下的公式,這些RGB值將被轉換成國際照明協會(International Commission on Illumination,CIE)規範下的三刺激值X、Y、Z,如下所示:These 24 color patches are simultaneously captured in an endoscope environment. These 24-color block output formats are sRGB (data for JPEG images). By computer calculation, you can get the red (Red, R), green (Green, G), blue (Blue, B) values (0 ~ 255) in each color block, and convert to a smaller scale ( 0~1) R srgb , G srgb and B srgb . With the following formula, these RGB values will be converted into tristimulus values X, Y, Z under the International Commission on Illumination (CIE) specifications, as follows:

(1) (1)

其中   (2) Of which (2)

(3) (3)

由於s(標準,standard)RGB空間中的標準白為D65光源下的參考白光,D65光源為標準光源中最常用的人工日光,其與光譜儀在內視鏡光源下所量到的頻譜是不同的參考白光,所以這些RGB值需要藉由色適應轉作修正。為了能夠準確地估計色塊的頻譜值,內視鏡校正是必須的。同樣的,光譜儀所量測的頻譜也會藉由以下的方程式(4)到方程式(7)被轉換成CIE規範下的三刺激值X、Y、Z,其中S(λ)為內視鏡的光源頻譜,R(λ)為每個色塊的頻譜值,而以及為配色函數。Since the standard white in s (standard, standard) RGB space is the reference white light under the D65 light source, the D65 light source is the most commonly used artificial daylight in the standard light source, which is different from the spectrum measured by the spectrometer under the endoscope light source. Refer to white light, so these RGB values need to be corrected by color adaptation. In order to be able to accurately estimate the spectral values of the patches, endoscope correction is necessary. Similarly, the spectrum measured by the spectrometer is also converted to the tristimulus values X, Y, Z under the CIE specification by equations (4) to (7) below, where S(λ) is the endoscope Source spectrum, R(λ) is the spectral value of each patch, and , as well as Is a color matching function.

(4) (4)

(5) (5)

(6) (6)

其中 (7) Of which (7)

透過方程式(4)到(7)的計算將24色塊頻譜轉成XYZ值,經過色適應轉換後可以得到新的XYZ值,將XYZ值轉換成RGB值,並將此RGB值設為矩陣[A],透過RGB的三階多項式回歸,便能找到光譜儀與內視鏡之間的轉換關係。以下為三階多項式回歸的矩陣。Through the calculation of equations (4) to (7), the 24-color block spectrum is converted into XYZ value. After color-adaptive conversion, a new XYZ value can be obtained, the XYZ value is converted into RGB value, and the RGB value is set as a matrix [ A], through the third-order polynomial regression of RGB, the conversion relationship between the spectrometer and the endoscope can be found. The following is a matrix of third-order polynomial regression.

(8) (8)

其中(9)among them (9)

其中“R”,“G”,“B” 為內視鏡拍攝每個色塊所相對應的RGB值。色塊的RGB校正後會被轉成CIE標準的三刺激值XYZ,設它為[β]。最後,內視鏡與光譜儀的轉換矩陣[M]可由下式得到:Where "R", "G", and "B" are the RGB values corresponding to each color block taken by the endoscope. The RGB correction of the color block is converted to the tristimulus value XYZ of the CIE standard, which is set to [β]. Finally, the conversion matrix [M] of the endoscope and spectrometer can be obtained from:

(10) (10)

對於內視鏡所拍攝的第一病理影像中的每個畫素,可以藉由RGB的相乘得到線性回歸矩陣[C]以及透過方程式(1)到(3)的計算得到相對應的XYZ值。每個色塊的模擬頻譜(Spectra)(波段由380nm到780nm)可藉由以下式子得到:For each pixel in the first pathological image taken by the endoscope, the linear regression matrix [C] can be obtained by multiplication of RGB and the corresponding XYZ value can be obtained by calculation of equations (1) to (3). . The spectrum of each patch (Spectra) (bands from 380 nm to 780 nm) can be obtained by the following equation:

(11) (11)

在此步驟下,光譜儀所量測出物體的反射或是穿透頻譜,可以帶入式子(11)中的左邊項而計算出顏色,一張影像中的每個畫素都可透過此計算而完成色彩影像之再現,此一色彩影像為模擬光譜儀的量測而計算所得。In this step, the spectrometer measures the reflection or penetration spectrum of the object, and can take the left term in equation (11) to calculate the color. Each pixel in an image can be calculated through this calculation. The reproduction of the color image is completed, and the color image is calculated for the measurement of the analog spectrometer.

因此可以得到24色塊的內視鏡模擬頻譜與實際量測頻譜的比較(請參閱附件1)。另外,為了證實色彩再現的可行性,以色差公式評估實際內視鏡所拍攝24色塊的顏色所模擬出24色塊的顏色進行色差計算。色差的計算流程如以下所示:Therefore, a comparison of the endoscopic analog spectrum of the 24-color block with the actual measured spectrum can be obtained (see Annex 1). In addition, in order to confirm the feasibility of color reproduction, the color of the 24 color patches captured by the actual endoscope is evaluated by the color difference formula to simulate the color of the 24 color patches for color difference calculation. The calculation process of color difference is as follows:

首先,將兩儀器所量到的三刺激值XYZ轉成CIE1976規範之空間中的色度座標值 (L*,a*,b*),其中:First, convert the tristimulus value XYZ measured by the two instruments into the chromaticity coordinate values (L*, a*, b*) in the space of the CIE1976 specification, where:

(12) (12)

(13) (13)

(14) (14)

(15) (15)

接著,計算CIE1976規範之色度座標中兩點的歐基里德距離即為兩點的色差:Next, calculate the Euclid distance of two points in the chromaticity coordinates of the CIE 1976 specification as the chromatic aberration of two points:

(16) (16)

運用以上公式計算24色塊的各個色差值,平均色差約為3.14(請參閱附件2),以一般標準來說,當色差值小於4時,人眼就很難判斷出差異。這樣的結果顯示上述的演算法能夠準確的實現色彩再現,因此能夠應用於任意影像的顏色表現。Using the above formula to calculate the color difference values of the 24 color blocks, the average color difference is about 3.14 (see Annex 2). In general terms, when the color difference is less than 4, it is difficult for the human eye to judge the difference. Such a result shows that the above algorithm can accurately achieve color reproduction, and thus can be applied to the color representation of any image.

在步驟S102中,將第一病理影像匯入一影像處理模組以取得該些第一病理影像的複數個第一模擬頻譜。影像處理模組可以是由安裝超頻譜影像處理功能的軟體的電腦所組成,而超頻譜影像處理功能的軟體可以藉由程式設計軟體(例如微軟Visual Basic等)撰寫而成。In step S102, the first pathological image is imported into an image processing module to obtain a plurality of first simulated spectra of the first pathological images. The image processing module can be composed of a computer with software for installing hyperspectral image processing functions, and the software for the hyperspectral image processing function can be written by a programming software (for example, Microsoft Visual Basic, etc.).

根據組織病理學將白光、碘染色影像分成正常(Normal)、化生不良(Dysplasia)、介於化生不良與食道癌化(Dysplasia-ECA)之間、食道癌(ECA)四種型態,其中,發生不正常變化而成為腫瘤細胞時稱為化生不良。NBI放大影像則分為表皮內血管(Intraepithelial papillary capillary loop,IPCL)第4型,IPCL-IV,嚴重化生不良(Severe Dysplasia)、IPCL第5-1型,IPCL-V1嚴重化生不良、IPCL第5-1型,IPCL-V1食道鱗狀細胞癌(Squamous Cell Carcinoma,SCC)、IPCL第5-3型,食道鱗狀細胞癌(IPCL-V3 SCC)四種。According to histopathology, white light and iodine staining images were divided into normal (Normal), metaplastic (Dysplasia), between metaplasia and esophageal cancer (Dysplasia-ECA), and esophageal cancer (ECA). Among them, when an abnormal change occurs and becomes a tumor cell, it is called a metaplastic defect. NBI magnified images are classified into Intraepithelial papillary capillary loop (IPCL) type 4, IPCL-IV, severe degeneration (Severe Dysplasia), IPCL type 5-1, IPCL-V1 severe dysplasia, IPCL Type 5-1, IPCL-V1 Squamous Cell Carcinoma (SCC), IPCL Type 5-3, and esophageal squamous cell carcinoma (IPCL-V3 SCC).

圖2為本創作之影像處理模組處理影像的步驟流程圖。如圖2所示,為了自動圈選IPCL並記錄第一病理影像的畫素座標,首先在步驟S201中,透過一影像灰階轉換模組將內視鏡所獲得之第一病理影像轉成灰階,影像灰階可以藉由具有影像處理功能的電腦來達成。接著在步驟S202中,利用一影像增強模組將將第一病理影像的影像對比增強,影像的對比增強同樣可以是具有影像處理功能的電腦所達成。然後在步驟S203中,在增強第一病理影像的對比後,再透過影像二值化模組將第一病理影像二值化,影像二值化模組可以透過在電腦中藉由程式設計軟體計算影像二值化。在步驟S204中,記錄二值化後之第一病理影像的畫素座標。然後在步驟S205中,透過細線化處理,便能根據二值化後之第一病理影像外圍的細線而將第一病理影像圈選出來,在步驟S206中,將已記錄的畫素座標匯出至一記事本。再利用具有超頻譜影像技術軟體的電腦讀取NBI內視鏡的病理影像,並同時讀取記事本中的畫素座標。FIG. 2 is a flow chart of steps of processing an image by the image processing module of the present invention. As shown in FIG. 2, in order to automatically circle the IPCL and record the pixel coordinates of the first pathological image, first, in step S201, the first pathological image obtained by the endoscope is converted into gray through an image grayscale conversion module. Level, image gray level can be achieved by a computer with image processing function. Then, in step S202, the image enhancement of the first pathological image is enhanced by using an image enhancement module, and the contrast enhancement of the image can also be achieved by a computer having an image processing function. Then, in step S203, after enhancing the comparison of the first pathological image, the first pathological image is binarized by the image binarization module, and the image binarization module can be calculated by the programming software in the computer. Image binarization. In step S204, the pixel coordinates of the binarized first pathological image are recorded. Then, in step S205, through the thinning process, the first pathological image can be circled according to the thin line around the binarized first pathological image, and in step S206, the recorded pixel coordinates are exported. To a notepad. The computer with the hyperspectral imaging technology software is then used to read the pathological image of the NBI endoscope and simultaneously read the pixel coordinates in the notebook.

透過上述之步驟,藉由超頻譜影像技術轉換第一病理影像,並取得該第一病理影像的模擬頻譜。上述之影像處理步驟如灰階處理、影像對比增強、影像細線化處理與影像讀取等可以透過本創作的一影像處理模組來達成,影像處理模組為透過電腦行影像處理應用程式來進行影像處理的工作,而這些影像處理為本領域具有通常知識者所熟知,在此不再詳述。Through the above steps, the first pathological image is converted by the hyperspectral imaging technique, and the simulated spectrum of the first pathological image is obtained. The above image processing steps, such as grayscale processing, image contrast enhancement, image thinning processing and image reading, can be achieved by an image processing module of the present invention. The image processing module is implemented by a computer image processing application. The work of image processing, which is well known to those of ordinary skill in the art, will not be described in detail herein.

透過超頻譜影像技術可得白光、碘染色、NBI內視鏡影像中病灶之平均反射頻譜,然而白光與碘染色內視鏡影像皆是取樣20X20共400個畫素;NBI內視鏡的複數個第一病理影像則是直接透過自動圈選IPCL型態,因此取樣的畫素較大量,但實驗過程中統一取一千個座標點,即會有一千組反射頻譜。The average reflectance spectrum of lesions in white light, iodine staining, and NBI endoscopic images can be obtained by hyperspectral imaging technology. However, white light and iodine stained endoscopic images are sampled by a total of 400 pixels of 20×20; a plurality of NBI endoscopes The first pathological image is directly through the automatic circle selection of the IPCL type, so the pixels of the sample are relatively large, but in the course of the experiment, one thousand coordinate points are uniformly obtained, that is, there are one thousand sets of reflection spectra.

由圖3可知其反射頻譜差異是依照病變之程度(正常、癌前病變、癌)而具有頻譜反射率逐漸下降的趨勢,一般而言正常食道黏膜會比胃黏膜的顏色更白,當產生癌前病變與癌的病灶時,食道黏膜表面可能會因為凹陷或隆起的病灶產生而造成平整度不均,且黏膜上的病灶處相較於周圍黏膜更為暗紅,導致病灶越嚴重而頻譜反射率越低。此外,藍光與綠光的波段所對應的頻譜反射率明顯低於紅光波段處,且發現波長為530 nm處的頻譜反射率有下降的情形,係因食道癌產生伴隨黏膜組織內血管增生(angiogenesis),以供應癌細胞增額的營養與氧氣,而增多的血紅蛋白(heloglobin)對於藍光與綠光的吸收率較強所致,另外在波長約410 nm與520 nm處各有一波峰,該結果還需要研究更多的相關文獻才能確定其成因。相反地,碘染色內視鏡影像之反射頻譜差異如圖4所示,頻譜差異則是照正常、癌前病變、癌而具有頻譜反射率逐漸上升的趨勢,係因正常食道黏膜屬於鱗狀上皮細胞,碘溶液會與細胞內的肝糖反應而將黏膜染成褐色,在癌細胞占據上皮後造成肝糖減少或消失,碘溶液便無法將病灶處染色,因此黏膜上未被染色的區域為癌變病灶的可能性極高,且該區域依病灶嚴重程度而較周圍黏膜顏色漸白。NBI內視鏡影像之反射頻譜趨勢則如圖5所示,其差異為IPCL會根據病灶癌變程度而呈現更擴張、扭曲、不規整的型態而造成頻譜反射率大致呈現逐漸下降的趨勢。上述三種內視鏡影像的平均反射頻譜並不因內視鏡光源本身的影響而改變,內視鏡光源頻譜則如圖6所示。It can be seen from Fig. 3 that the difference in reflectance spectrum is in accordance with the degree of lesions (normal, precancerous lesions, cancer), and the spectral reflectance gradually decreases. Generally, the normal esophageal mucosa is whiter than the color of the gastric mucosa when it produces cancer. In the pre-lesion and cancer lesions, the surface of the esophageal mucosa may be uneven due to the formation of depressions or bulging lesions, and the lesions on the mucosa are darker red than the surrounding mucosa, resulting in more severe lesions and spectral reflectance. The lower. In addition, the spectral reflectance corresponding to the band of blue light and green light is significantly lower than that of the red light band, and the spectral reflectance at a wavelength of 530 nm is found to decrease, which is caused by esophageal cancer with vascular proliferation in the mucosal tissue ( Angiogenesis), which supplies the nutrition and oxygen of cancer cells, and the increased hemoglobin absorbs blue and green light. In addition, there is a peak at about 410 nm and 520 nm. More relevant literature needs to be studied to determine its cause. Conversely, the difference in the reflectance spectrum of the iodine-stained endoscopic image is shown in Fig. 4. The difference in spectrum is that the spectrum reflectance gradually increases according to normal, precancerous lesions and cancer, because the normal esophageal mucosa belongs to the squamous epithelium. The cells, the iodine solution reacts with the glycogen in the cells to stain the mucosa brown, and the hepatic sugar is reduced or disappeared after the cancer cells occupy the epithelium. The iodine solution cannot stain the lesion, so the unstained area on the mucosa is The possibility of cancerous lesions is extremely high, and the area is gradually whiter than the surrounding mucosa depending on the severity of the lesion. The trend of the reflected spectrum of NBI endoscopic images is shown in Figure 5. The difference is that IPCL will show a more divergent, distorted, and irregular pattern according to the degree of canceration of the lesion, and the spectral reflectivity will gradually decrease. The average reflection spectrum of the above three kinds of endoscope images is not changed by the influence of the endoscope light source itself, and the spectrum of the endoscope source is as shown in FIG. 6.

透過主成份分析可得白光、碘染色、NBI內視鏡影像之頻譜特徵,再將其第一主成份與第二主成份透過Original軟體畫出如附件3、附件4與附件5所示之主成份得分圖。附件3為白光內視鏡影像其頻譜特徵的結果,可以發現癌(ECA)的落點約位於第一主成份(First Principle Component,FPC)-1.90~0.25之間,第二主成份(Second Principle Component,SPC)-0.35~0.35之間;化生不良-癌(Dysplasia-ECA)其範圍約為-0.90<FPC<0.05,-0.30<SPC<0.30;化生不良(Dysplasia)其範圍約為-0.75<FPC<1.00,-0.20<SPC<0.35;正常(Normal)則約為0.30<FPC<3.25,-0.75<SPC<1.25,然而化生不良、化生不良-癌、癌這三者之間有重疊處而將其視為模糊地帶,且正常食道黏膜其內視鏡影像的頻譜特徵有發散的趨勢,但大致上仍可看出正常食道黏膜至癌化的差異性,其具有由右至左的趨勢。碘染色內視鏡影像的頻譜特徵則如附件4所示,正常(Normal)其範圍約落在-1.90<FPC<-0.90,-0.19<SPC<0.10;化生不良(Dysplasia)其範圍約落在-0.80<FPC<0.50,-0.16<SPC<0.28;化生不良-癌(Dysplasia-ECA)其範圍約落在-0.40<FPC<1.70,-0.42<SPC<0.56;癌(ECA)其範圍則約落在0.00<FPC<2.20,-0.74<SPC<0.18,然而同樣地,在化生不良、化生不良-癌、癌這三者之間也具有模糊地帶,且食道黏膜化生不良-癌以及癌化的內視鏡影像皆有發散的趨勢,但大致上仍可看出其頻譜特徵差異性,相反地,其趨勢依正常食道黏膜至癌化則為由左至右。NBI內視鏡影像的頻譜特徵則如附件5所示,IPCL-V3 SCC約落在-1.70<FPC<-0.90,-0.15<SPC<0.02的範圍內;IPCL-V1 SCC其範圍約為-1.40<FPC<-0.30,-0.02<SPC<0.40;IPCL-V1嚴重化生不良(Severe Dysplasia)其範圍約為-0.75<FPC<1.25,-0.68<SPC<-0.01;IPCL-IV嚴重化生不良(Severe Dysplasia)其範圍則約為-0.60<FPC<1.60,0.05<SPC<0.31,可以發現這四種頻譜特徵所形成的模糊地帶範圍較小,且IPCL型態的頻譜特徵隨食道癌化程度越大有越收斂的情形。The main component analysis can obtain the spectral characteristics of white light, iodine staining and NBI endoscope image, and then the first main component and the second main component are drawn through the Original software through the software as shown in Annex 3, Annex 4 and Annex 5. Component score chart. Attachment 3 is the result of the spectral characteristics of the white light endoscopic image. It can be found that the fall point of the cancer (ECA) is located between the first principal component (FPC) - 1.90~0.25, and the second principal component (Second Principle Component, SPC) - between 0.35 and 0.35; Dysplasia-ECA has a range of about -0.90 <FPC<0.05, -0.30<SPC<0.30; the range of Dysplasia is about - 0.75<FPC<1.00,-0.20<SPC<0.35; Normal is about 0.30<FPC<3.25, -0.75<SPC<1.25, but between metaplasia, metaplasia-cancer, cancer There is overlap and it is regarded as a fuzzy zone, and the spectrum features of the endoscopic image of normal esophageal mucosa have a tendency to diverge, but the difference of normal esophageal mucosa to canceration can still be seen from the right Left trend. The spectral characteristics of the iodine-stained endoscopic image are shown in Annex 4. The range of normal is about -1.90<FPC<-0.90, -0.19<SPC<0.10; the range of Dysplasia is about At -0.80<FPC<0.50, -0.16<SPC<0.28; metaplasia-cancer (Dysplasia-ECA) ranged from -0.40<FPC<1.70, -0.42<SPC<0.56; cancer (ECA) range Then, it is about 0.00<FPC<2.20, -0.74<SPC<0.18. However, in the same way, there is a blur zone between the metaplasia, metaplasia-cancer, and cancer, and the esophageal mucosa is poor. Both cancer and cancerous endoscopic images have a tendency to diverge, but the spectral characteristics are still roughly different. Conversely, the trend is from left to right depending on the normal esophageal mucosa to cancer. The spectral characteristics of the NBI endoscopic image are shown in Annex 5. The IPCL-V3 SCC falls within the range of -1.70<FPC<-0.90, -0.15<SPC<0.02; the IPCL-V1 SCC has a range of approximately -1.40. <FPC<-0.30, -0.02<SPC<0.40; IPCL-V1 Severe Dysplasia has a range of about -0.75<FPC<1.25, -0.68<SPC<-0.01; IPCL-IV is severely ill-posed (Severe Dysplasia) has a range of about -0.60<FPC<1.60, 0.05<SPC<0.31. It can be found that the four spectral features form a small blurring range, and the spectral characteristics of the IPCL pattern are related to the degree of esophageal canceration. The larger the more converging.

繼續參閱圖1,應用超頻譜影像辨識癌病變方法即可將經過影像處理後的畫素座標配合主成份分析,評估出病患在各個癌症分期的可能性。在本創作的應用超頻譜影像辨識癌病變方法的步驟S103中,在該主成份分析圖中定義複數個三角形範圍。並在步驟S104中,判斷一第二病理影像的一第二模擬頻譜的一主成份得分是否落入其中一個該些三角形範圍內。Continuing to refer to Figure 1, the image-processed pixel coordinates can be combined with principal component analysis using hyperspectral image recognition cancer lesions to assess the patient's likelihood of staging in each cancer. In step S103 of the present application for applying the hyperspectral image recognition cancer lesion method, a plurality of triangle ranges are defined in the principal component analysis map. And in step S104, it is determined whether a principal component score of a second simulated spectrum of the second pathological image falls within one of the triangle ranges.

主成份是從容易觀望資料角度來觀察,所以也可以使各個數據的特徵更為清楚可見。而從主成份所看的各個樣本值可稱為主成份分數(Principle Component Score)。主成份分數的公式如下所示:The main component is observed from the perspective of easy-to-view data, so the characteristics of each data can be made more visible. The individual sample values seen from the principal component can be referred to as the Principle Component Score. The formula for the principal component score is as follows:

(17) (17)

其中x1i 、x2i 、...、xni 為第一個、第二個到第n個波長下對應的頻譜強度值;而x1i 、x2i 、...、xni 為第一個、第二個到第n個波長下的平均頻譜強度值。這些係數aj1 、aj2 、...、ajn 為頻譜取共變異矩陣後的特徵向量的係數。根據主成份分析法的理論基礎,第一主成份(y1 )佔了原資料中最多的資訊,可視為綜合性的指標,第二主成份(y2 )佔原資料部分的資訊,可用來將各群組做分類。因此可利用前面章節所述的影像處理而得到的模擬頻譜,應用主成份分析模組畫出主成份得分圖,便能從中觀察病理影像的頻譜特徵之趨勢。Where x 1i , x 2i , . . . , x ni are the corresponding spectral intensity values for the first, second to nth wavelengths; and x 1i , x 2i , . . . , x ni are the first The average spectral intensity value from the second to the nth wavelength. These coefficients a j1 , a j2 , . . . , a jn are coefficients of the feature vector after the spectrum takes the covariation matrix. According to the theoretical basis of principal component analysis, the first principal component (y 1 ) accounts for the most information in the original data and can be regarded as a comprehensive indicator. The second principal component (y 2 ) accounts for the information of the original data and can be used. Classify each group. Therefore, the analog spectrum obtained by the image processing described in the previous section can be used, and the principal component analysis module can be used to draw the main component score map, and the trend of the spectral features of the pathological image can be observed therefrom.

要評估出病患在各個癌症分期的可能性,可藉由判斷病患內視鏡影像(第二病理影像)的模擬頻譜(第二模擬頻譜)的主成份得分是否落在所定義的三角形範圍內,可以透過三角形面積的判別方式進行辨別。如圖7所示,利用超頻譜影像系統分析模擬所得到的內視鏡的影像頻譜,將其應用到主成份得分圖中,將所得到的平均模擬頻譜做分類,然後找出前述之三角形範圍的主成份分析所畫出的主成份得分圖中具有最大三角型面積為所定義的三角形範圍,舉例來說,先選取x軸最左側的點為基準點,然後任選兩點,利用電腦算出這三點的三角形面積,然後再任選兩點算出另外一個三角形面積,比較兩個三角形面積的大小,透過上述三角形面積的比較方法與電腦運算可以很快找到在主成份分析圖中具有最大面積的三角形範圍與其三點座標。當知道三角形三點的座標,就可以寫出向量AB與向量AC的座標表示。如:令三角形的三點座標為A(a1, a2)、B(b1, b2)、C(c1, c2),則向量AB=(b1-a1, b2-a2),向量AC=(c1-a1, c2-a2),而△ABC之面積可表示為:To assess the likelihood of a patient's staging in each cancer, it is possible to determine whether the principal component score of the simulated spectrum (second simulated spectrum) of the patient's endoscopic image (second pathological image) falls within the defined triangle range. Within, it can be discriminated by the method of discriminating the area of the triangle. As shown in Fig. 7, the hyperspectral image system is used to analyze the image spectrum of the obtained endoscope, apply it to the principal component score map, classify the obtained average analog spectrum, and then find the aforementioned triangle range. The main component analysis plots the main component score map with the largest triangle area as the defined triangle range. For example, first select the leftmost point of the x-axis as the reference point, then select two points and use the computer to calculate The triangle area of these three points, and then choose two points to calculate the other triangle area, compare the size of the two triangle areas, through the above-mentioned triangle area comparison method and computer operation can quickly find the largest area in the principal component analysis chart The triangle range is with its three-point coordinates. When you know the coordinates of the three points of the triangle, you can write the coordinate representation of the vector AB and the vector AC. For example, let the three coordinates of the triangle be A(a1, a2), B(b1, b2), C(c1, c2), then the vector AB=(b1-a1, b2-a2), the vector AC=(c1- A1, c2-a2), and the area of △ABC can be expressed as:

(18) (18)

依照上述表示△ABC面積,若任給X點且其座標為X(s,t),則可以再表示出△XAB,△XBC,△XAC三塊面積。可知道X點落在△ABC外部時,將會滿足下列條件:According to the above-mentioned ΔABC area, if X point is given and its coordinate is X(s, t), the area of ΔXAB, ΔXBC, △XAC can be further represented. It can be known that when the X point falls outside the ΔABC, the following conditions will be met:

△XAB+△XBC+△XAC>△ABC                         (19)△XAB+△XBC+△XAC>△ABC (19)

如果落在△ABC內部或者邊界上時,將會滿足下列條件:If it falls inside △ABC or on the boundary, the following conditions will be met:

△XAB+△XBC+△XAC=△ABC                                               (20)△XAB+△XBC+△XAC=△ABC (20)

以三角形面積的判別方法,可以得知病患內視鏡影像模擬頻譜的主成份得分是否落在上述所定義的三角形範圍內,和落在IPCL-IV嚴重化生不良(Severe Dysplasia)、IPCL-V1嚴重化生不良(Severe Dysplasia)、IPCL-V1 SCC,以及IPCL-V3 SCC 哪一個分期的三角形範圍內。According to the method of discriminating the area of the triangle, it can be known whether the main component score of the simulated spectrum of the patient's endoscope image falls within the above-defined triangle range, and falls on the IPCL-IV Severe Dysplasia, IPCL- V1 is severely deficient (Severe Dysplasia), IPCL-V1 SCC, and IPCL-V3 SCC which is within the triangle range of the staging.

最後在步驟S105中,當該第二模擬頻譜的該主成份得分落入其中一個該些三角形範圍內,確認該第二病理影像屬於一癌病變影像。四種不同癌化程度的辨別方式如下所示:Finally, in step S105, when the main component score of the second analog spectrum falls within one of the triangles, it is confirmed that the second pathological image belongs to a cancer lesion image. The four different degrees of canceration are identified as follows:

將主成份得分設為一待測點,若此待測點落於該三角形的範圍內,則可判定該病理影像為此癌症病理期。舉例來說,食道癌第1~4期:The main component score is set as a point to be measured, and if the point to be measured falls within the range of the triangle, the pathological image can be determined as the pathological period of the cancer. For example, esophageal cancer stage 1~4:

1. IPCL-V3 SCC食道鱗狀細胞癌:設U點為待測點,若滿足下列條件,△UAB+△UBC+△UAC=△ABC,則病患為此食道癌分期。1. IPCL-V3 SCC esophageal squamous cell carcinoma: Set U point as the point to be tested. If the following conditions are met, △UAB+△UBC+△UAC=△ABC, the patient will stage the esophageal cancer.

2. IPCL-V1 SCC食道鱗狀細胞癌:設U點為待測點,若滿足下列條件,△UDE+△UEF+△UDF=△DEF,則病患為此癌症分期。2. IPCL-V1 SCC esophageal squamous cell carcinoma: Set U point as the point to be tested. If the following conditions are met, △UDE+△UEF+△UDF=△DEF, the patient will stage the cancer.

3. IPCL-V1嚴重化生不良IPCL第5-1型,嚴重化生不良(IPCL-V1 Severe Dysplasia),設U點為待測點,若滿足下列條件,△UGH+△UHI+△UGI=△GHI,則病患為此癌症分期。3. IPCL-V1 severely degenerate IPCL type 5-1, severe malformation (IPCL-V1 Severe Dysplasia), set U point as the point to be tested, if the following conditions are met, △UGH+△UHI+△UGI=△GHI The patient is staged for this cancer.

4. IPCL-IV Severe Dysplasia,嚴重化生不良,設U點為待測點,若滿足下列條件:△UJK+△UKL+△UJL=△JKL,則病患為此癌症分期。4. IPCL-IV Severe Dysplasia, severe dysplasia, set U point as the point to be tested, if the following conditions are met: △ UJK + △ UKL + △ UJL = △ JKL, the patient staging this cancer.

5. 若U點皆不滿足以上條件,則無法辨識。5. If the U point does not satisfy the above conditions, it will not be recognized.

透過上述之應用超頻譜影像辨識癌病變方法的,可以將癌病變影像數據化,利用主成份分析,可以快速評估出病患在各個癌症分期的可能性,有效並快速地提升醫生診斷效率,幫助病患進行早期治療。Through the above-mentioned application of hyperspectral image recognition cancer lesions, cancer lesion images can be digitized, and principal component analysis can be used to quickly assess the likelihood of patients in each cancer stage, effectively and quickly improve the diagnosis efficiency of doctors, and help The patient is treated early.

no

圖1為本創作應用超頻譜影像辨識癌病變方法之實施例的流程圖。 圖2為本創作之影像處理模組處理影像的步驟流程圖。 圖3、圖4與圖5為反射頻譜平均結果的波形示意圖。 圖6為內視鏡光源頻譜圖。 圖7為主成份分析定義三角形範圍圖。 圖8為正常與癌變之SHG與TPEF的訊號強度比的比較示意圖。 圖9為食道組織滴入銀奈米粒子與未滴入之拉曼訊號強度比較圖。 圖10為正常食道組織與癌變之拉曼平均頻譜比較圖。 圖11為主成份分析主軸示意圖。FIG. 1 is a flow chart of an embodiment of a method for identifying a cancer lesion using a hyperspectral image. FIG. 2 is a flow chart of steps of processing an image by the image processing module of the present invention. 3, 4 and 5 are waveform diagrams showing the average result of the reflected spectrum. Figure 6 is a spectrum diagram of the endoscope source. Figure 7 shows a triangle range map for the main component analysis. Figure 8 is a graphical representation of the comparison of the signal intensity ratios of normal and cancerous SHG and TPEF. Figure 9 is a graph comparing the intensity of the infiltration of silver nanoparticles into the esophageal tissue and the intensity of the Raman signal without instillation. Figure 10 is a comparison of the Raman mean spectrum of normal esophageal tissue and carcinogenesis. Figure 11 is a schematic diagram of the main component analysis spindle.

Claims (8)

一種應用超頻譜影像辨識癌病變方法,包含步驟: 從一內視鏡獲得複數個第一病理影像,該複數個第一病理影像為複數個癌病變影像; 將該些第一病理影像匯入一影像處理模組以取得該些第一病理影像的複數個第一模擬頻譜,並根據該些第一模擬頻譜畫出一主成份得分圖; 根據該些第一模擬頻譜,在該主成份得分圖中定義複數個三角形範圍; 判斷一第二病理影像的一第二模擬頻譜的一主成份得分是否落入其中一個該些三角形範圍內; 當該第二模擬頻譜的該主成份得分落入其中一個該些三角形範圍內,確認該第二病理影像屬於某一該些癌病變影像。A method for identifying a cancer lesion by using a hyperspectral image, comprising the steps of: obtaining a plurality of first pathological images from an endoscope, wherein the plurality of first pathological images are a plurality of cancer lesion images; and the first pathological images are merged into one The image processing module obtains a plurality of first simulated spectra of the first pathological images, and draws a principal component score map according to the first simulated spectra; and according to the first simulated spectra, the primary component score map Defining a plurality of triangle ranges; determining whether a principal component score of a second simulated spectrum of a second pathological image falls within one of the triangle ranges; and when the principal component score of the second analog spectrum falls into one of Within the range of the triangles, it is confirmed that the second pathological image belongs to some of the cancer lesion images. 如請求項1所述之應用超頻譜影像辨識癌病變方法,其中該些第一病理影像與該第二病理影像透過一超頻譜影像系統以獲得該些第一模擬頻譜與該第二模擬頻譜。The method for identifying a cancer lesion by applying a hyperspectral image according to claim 1, wherein the first pathological image and the second pathological image are transmitted through a hyperspectral image system to obtain the first analog spectrum and the second analog spectrum. 如請求項1所述之應用超頻譜影像辨識癌病變方法,其中在將該些第一病理影像匯入該影像處理模組以取得該些第一病理影像的該第一模擬頻譜,並根據該些第一模擬頻譜畫出該主成份得分圖的該步驟更包含: 透過一影像灰階轉換模組將該些第一病理影像轉成灰階; 利用一影像增強模組將該些第一病理影像對比增強; 透過一影像二值化模組將該些第一病理影像二值化; 記錄二值化後的該些第一病理影像的複數個畫素座標; 將已記錄之該些第一病理影像的該些畫素座標匯出,以畫出該主成份得分圖。The method for applying a hyperspectral image recognition cancer lesion according to claim 1, wherein the first pathological image is imported into the image processing module to obtain the first simulated spectrum of the first pathological images, and according to the The step of drawing the main component score map of the first analog spectrum further includes: converting the first pathological images into gray scales through an image gray scale conversion module; using the image enhancement module to perform the first pathology Image contrast enhancement; binarizing the first pathological images through an image binarization module; recording a plurality of pixel coordinates of the first pathological images after binarization; The pixel coordinates of the pathological image are remitted to draw the main component score map. 如請求項1所述之應用超頻譜影像辨識癌病變方法,其中在該主成份得分圖中定義複數個三角形範圍的該步驟係應用一主成份分析法畫出該主成份得分圖,再判斷該第二病理影像的該第二模擬頻譜的該主成份得分是否落入其中一個該些三角形範圍內。The method for applying a hyperspectral image recognition cancer lesion according to claim 1, wherein the step of defining a plurality of triangle ranges in the main component score map is to apply a principal component analysis method to draw the main component score map, and then determine the Whether the main component score of the second simulated spectrum of the second pathological image falls within one of the triangles. 如請求項1所述之應用超頻譜影像辨識癌病變方法,其中當該第二模擬頻譜的該主成份得分落入其中一個該些三角形範圍內,確認該第二病理影像屬於某一該些癌病變影像的該步驟中,該主成份得分為一待測點,當該待測點位於其中一個該些三角形的範圍內,則可判定該第二病理影像為對應此其中一個該些三角形的一癌症病理期。The method for applying a hyperspectral image recognition cancer lesion according to claim 1, wherein when the main component score of the second simulated spectrum falls within one of the triangles, confirming that the second pathological image belongs to a certain of the cancers In the step of the lesion image, the main component score is a point to be measured, and when the point to be measured is located in a range of one of the triangles, the second pathological image may be determined to correspond to one of the triangles. Cancer pathology. 如請求項1所述之應用超頻譜影像辨識癌病變方法,其中該複數個第一病理影像為複數個食道癌病變影像。The method for identifying a cancer lesion by applying a hyperspectral image according to claim 1, wherein the plurality of first pathological images are images of a plurality of esophageal cancer lesions. 如請求項1所述之應用超頻譜影像辨識癌病變方法,其中該些第一病理影像與該第二病理影像為表皮內血管的影像。The method for identifying a cancer lesion by applying a hyperspectral image according to claim 1, wherein the first pathological image and the second pathological image are images of blood vessels in the epidermis. 如請求項1所述之應用超頻譜影像辨識癌病變方法,其中根據該些第一模擬頻譜,在該主成份得分圖中定義複數個三角形範圍的該步驟中,該些三角形範圍係找到該些第一模擬頻譜在該主成分得分圖中具有最大三角形面積者為該些三角形範圍。The method for applying a hyperspectral image recognition cancer lesion according to claim 1, wherein in the step of defining a plurality of triangle ranges in the principal component score map, the triangle ranges are found according to the first simulated spectrum. The first analog spectrum has the largest triangle area in the principal component score map as the triangle ranges.
TW105100829A 2016-01-12 2016-01-12 Application of hyperfamily imaging to identification of cancerous lesions TWI537762B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW105100829A TWI537762B (en) 2016-01-12 2016-01-12 Application of hyperfamily imaging to identification of cancerous lesions

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW105100829A TWI537762B (en) 2016-01-12 2016-01-12 Application of hyperfamily imaging to identification of cancerous lesions

Publications (2)

Publication Number Publication Date
TWI537762B TWI537762B (en) 2016-06-11
TW201725527A true TW201725527A (en) 2017-07-16

Family

ID=56755888

Family Applications (1)

Application Number Title Priority Date Filing Date
TW105100829A TWI537762B (en) 2016-01-12 2016-01-12 Application of hyperfamily imaging to identification of cancerous lesions

Country Status (1)

Country Link
TW (1) TWI537762B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI673683B (en) * 2018-03-28 2019-10-01 National Yunlin University Of Science And Technology System and method for identification of symptom image
CN111601536A (en) * 2017-12-27 2020-08-28 爱惜康有限责任公司 Hyperspectral imaging in a light deficient environment

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7033146B2 (en) 2017-10-17 2022-03-09 富士フイルム株式会社 Medical image processing equipment and endoscopic equipment
TWI762388B (en) * 2021-07-16 2022-04-21 國立中正大學 Method for detecting image of esophageal cancer using hyperspectral imaging

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111601536A (en) * 2017-12-27 2020-08-28 爱惜康有限责任公司 Hyperspectral imaging in a light deficient environment
CN111601536B (en) * 2017-12-27 2023-12-15 爱惜康有限责任公司 Hyperspectral imaging in light deficient environments
TWI673683B (en) * 2018-03-28 2019-10-01 National Yunlin University Of Science And Technology System and method for identification of symptom image

Also Published As

Publication number Publication date
TWI537762B (en) 2016-06-11

Similar Documents

Publication Publication Date Title
Yang et al. Noninvasive diagnostic adjuncts for the evaluation of potentially premalignant oral epithelial lesions: current limitations and future directions
US20170319147A1 (en) Cancerous lesion identifying method via hyper-spectral imaging technique
Huang et al. In vivo detection of epithelial neoplasia in the stomach using image-guided Raman endoscopy
Quang et al. A tablet-interfaced high-resolution microendoscope with automated image interpretation for real-time evaluation of esophageal squamous cell neoplasia
Osawa et al. Optimal band imaging system can facilitate detection of changes in depressed-type early gastric cancer
TWI537762B (en) Application of hyperfamily imaging to identification of cancerous lesions
Bergholt et al. Raman endoscopy for in vivo differentiation between benign and malignant ulcers in the stomach
Jang The past, present, and future of image-enhanced endoscopy
US8000776B2 (en) Imaging apparatus
Coda et al. State of the art in advanced endoscopic imaging for the detection and evaluation of dysplasia and early cancer of the gastrointestinal tract
Tomie et al. Blue laser imaging‐bright improves endoscopic recognition of superficial esophageal squamous cell carcinoma
Song et al. Endoscopic detection of early upper GI cancers
US20150185151A1 (en) Formulaic imaging for tissue diagnosis
Curvers et al. Novel imaging modalities in the detection of oesophageal neoplasia
Song et al. Early detection of early gastric cancer using image-enhanced endoscopy: Current trends
Wu et al. Early identification of esophageal squamous neoplasm by hyperspectral endoscopic imaging
Burian et al. Fluorescence based characterization of early oral squamous cell carcinoma using the Visually Enhanced Light Scope technique
Shin et al. Quantitative analysis of high-resolution microendoscopic images for diagnosis of neoplasia in patients with Barrett’s esophagus
Maher et al. In vivo reflectance confocal microscopy for evaluating melanoma of the lip and its differential diagnoses
Yoshizawa et al. Diagnosis of elevated-type early gastric cancers by the optimal band imaging system
Saito et al. Linked-color Imaging May Help Improve the Visibility of Superficial Barrett's Esophageal Adenocarcinoma by Increasing the Color Difference
Lee et al. Image-enhanced endoscopy in lower gastrointestinal diseases: Present and future
Glover et al. A review of new and emerging techniques for optical diagnosis of colonic polyps
Bratchenko et al. In vivo hyperspectral analysis of skin hemoglobin and melanin content for neoplasia detection
Banerjee et al. Advances in endoscopic imaging: Advantages and limitations