TWI584226B - Method for extracting retina vessel image - Google Patents

Method for extracting retina vessel image Download PDF

Info

Publication number
TWI584226B
TWI584226B TW104144504A TW104144504A TWI584226B TW I584226 B TWI584226 B TW I584226B TW 104144504 A TW104144504 A TW 104144504A TW 104144504 A TW104144504 A TW 104144504A TW I584226 B TWI584226 B TW I584226B
Authority
TW
Taiwan
Prior art keywords
image
retinal
images
blood vessel
pixel
Prior art date
Application number
TW104144504A
Other languages
Chinese (zh)
Other versions
TW201724019A (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 TW104144504A priority Critical patent/TWI584226B/en
Application granted granted Critical
Publication of TWI584226B publication Critical patent/TWI584226B/en
Publication of TW201724019A publication Critical patent/TW201724019A/en

Links

Description

視網膜血管影像的攫取方法 Retinal vascular image acquisition method

本發明係關於一種影像的攫取方法;特別言之,係關於一種視網膜血管影像的攫取方法。 The present invention relates to a method of capturing an image; in particular, to a method of capturing a retinal blood vessel image.

於人體或動物器官中,眼睛係提供視覺辨識功能,換言之,可透過眼睛辨別物體之色彩、形狀甚至距離等各式訊息。一失明之人可能因視覺辨識問題而失去空間之判斷力,進而遭致危險。故眼睛被稱為靈魂之窗,係為彰顯其重要性。 In human or animal organs, the eye provides visual recognition, in other words, the color, shape, and even distance of the object can be identified through the eyes. A blind person may lose the judgment of space due to visual identification problems, and thus be at risk. Therefore, the eyes are called the window of the soul, which is to show its importance.

於眼睛構造中,視網膜為相當重要部分。於視網膜上之血管透露諸多重要訊息,通常與高血壓、糖尿病、心血管疾病或青光眼等眼睛相關疾病之病情判斷息息相關,故如何獲得視網膜影像且正確判讀視網膜上血管之訊息,尤為重要。 In the eye structure, the retina is a very important part. The blood vessels on the retina reveal a lot of important information, which is usually related to the judgment of eye diseases such as hypertension, diabetes, cardiovascular disease or glaucoma. Therefore, it is especially important to obtain retinal images and correctly interpret the blood vessels in the retina.

以習知方式所攫取的原始彩色視網膜影像如第1圖所示。此彩色視網膜影像常存在一些問題而致無法正確判讀其中之血管影像。例如,習知此等彩色視網膜影像常有細微血管特徵不明顯、影像色塊差異、旋轉變形或因視角不同導致血管重疊區域大小等問題。 再者,此種視網膜影像的對比度較低,故常具有除血管影像外多餘雜訊。 The original color retinal image captured in a conventional manner is shown in Figure 1. This color retinal image often has some problems that prevent the correct interpretation of the blood vessel image. For example, it is known that such color retinal images often have problems such as insignificant microvascular features, differences in image patches, rotational deformation, or size of blood vessel overlapping regions due to different viewing angles. Moreover, the contrast of such retinal images is low, so there is often extra noise in addition to the vascular image.

隨着影像學技術的發展,已有提出各種增強視網膜血管影像的方法。然而,此等方法皆存在無法準確判讀影像的問題,大幅降低以視網膜血管影像判斷各種疾病病情的準確率。 With the development of imaging technology, various methods for enhancing retinal vascular images have been proposed. However, these methods have the problem of not being able to accurately interpret the image, and greatly reduce the accuracy of retinal vascular imaging to judge various diseases.

緣此,仍亟需開發能準確取出視網膜血管影像的方法,以便於能擴展視網膜血管影像的應用領域。 For this reason, there is still an urgent need to develop a method for accurately taking out retinal blood vessel images in order to expand the application field of retinal blood vessel images.

明確言之,本發明提供一種視網膜血管影像的攫取方法。其藉由:取出彩色視網膜影像的G通道影像;以Gabor濾波器(Gabor filter)對G通道影像進行轉換;對濾波影像進行二值化以判斷血管位置;由各濾波影像中,對位置相對應之各像素點進行逐一比對,並取出具最大值之像素點當成一合成像素點;以各合成像素點構成合成視網膜影像;執行去噪化步驟去除非屬血管影像的雜訊而得到所需視網膜血管影像;透過膨脹(dilation)型態學方法對視網膜血管影像進行處理而得到增強視網膜血管影像等步驟,可準確取出視網膜血管影像以利於後續判讀。 In particular, the present invention provides a method of capturing retinal blood vessel images. By: extracting the G channel image of the color retinal image; converting the G channel image by the Gabor filter; binarizing the filtered image to determine the position of the blood vessel; corresponding to the position of each filtered image Each pixel is compared one by one, and the pixel with the largest value is taken out as a composite pixel; the synthesized retina image is formed by each synthesized pixel; the denoising step is performed to remove the noise of the non-vascular image to obtain the required Retinal vascular imaging; the retinal vascular image is processed by dilation pattern method to obtain enhanced retinal angiography, and the retinal vascular image can be accurately taken for subsequent interpretation.

為達上述目的,於一實施例中,本發明提供一種視網膜血管影像的攫取方法,包含:讀取一彩色視網膜影像;將彩色視網膜影像分離為分別對應R、G、B三通道之影像;僅選取彩色視網膜影像之G通道影像;使用一Gabor濾波器(Gabor filter)對G通道影像進行轉 換,取出多個濾波影像,其中各濾波影像係各自對應至一相異轉換角度;對各濾波影像進行一區域二值化步驟,以取出各濾波影像之一二值化影像,並判斷各二值化影像內之像素點是否對應至視網膜影像中之血管部位;於各濾波影像中,對位置相對應之各像素點進行逐一比對,並取出具最大值之像素點當成一合成像素點;合併各合成像素點得到一合成視網膜影像;執行一去噪化步驟以去除合成視網膜影像中不屬於血管部位的雜訊以取得一視網膜血管影像;以及使用一膨脹(dilation)型態學方法對視網膜血管影像進行處理,以便取出增強後之視網膜血管影像。 In an embodiment, the present invention provides a method for capturing a retinal blood vessel image, comprising: reading a color retinal image; and separating the color retinal image into images corresponding to R, G, and B channels; Select the G channel image of the color retinal image; use a Gabor filter to convert the G channel image And replacing a plurality of filtered images, wherein each of the filtered images respectively corresponds to a different conversion angle; performing a region binarization step on each of the filtered images to extract a binarized image of each of the filtered images, and determining each of the two Whether the pixel points in the image are corresponding to the blood vessel part in the retinal image; in each filtered image, each pixel corresponding to the position is compared one by one, and the pixel with the largest value is taken as a composite pixel; Combining each synthetic pixel to obtain a synthetic retinal image; performing a denoising step to remove noise in the synthetic retinal image that is not part of the vascular site to obtain a retinal vascular image; and using a dilation type method for the retina The vascular image is processed to remove the enhanced retinal vascular image.

上述視網膜血管影像的攫取方法中,去噪化步驟係為透過一罩遮(Masking)去除合成視網膜影像中不屬於血管部位的雜訊。 In the above method for capturing retinal blood vessel images, the denoising step is to remove noise that is not part of the blood vessel portion of the synthetic retinal image through a masking.

上述視網膜血管影像的攫取方法中,Gabor濾波器係可以下列關係式表示之: 公式(1)、(2)分別對應至實部及虛部;其中:x’=x cos θ+y sin θ;y’=-x sin θ+y cos θ;λ:波長;θ:核函數方向;Ψ:相位偏移;σ:高斯函數標準差;γ:長寬比。 In the above method for capturing retinal blood vessel images, the Gabor filter system can be expressed by the following relationship: Equations (1) and (2) correspond to the real part and the imaginary part respectively; where: x' = x cos θ+ y sin θ; y' =- x sin θ+ y cos θ; λ: wavelength; θ: kernel function Direction; Ψ: phase offset; σ: Gaussian function standard deviation; γ: aspect ratio.

上述視網膜血管影像的攫取方法中,係使用如上述之公式(1)及公式(2)對G通道影像分別進行四個角度(0°,45°,90°,135°)的 轉換;並將各角度對應之實部影像與虛部影像進行絕對值相加而得到各角度對應之各濾波影像,如下列關係式(3)所示: 其中,為實部影像,為虛部影像,θ {0°,45°,90°,135°}。 In the above method for capturing retinal blood vessel images, the G channel images are respectively converted into four angles (0°, 45°, 90°, 135°) using the above formulas (1) and (2); The real image and the imaginary image corresponding to each angle are added together to obtain respective filtered images corresponding to the respective angles, as shown in the following relation (3): among them, For real images, For the imaginary image, θ {0°, 45°, 90°, 135°}.

上述視網膜血管影像的攫取方法中,對各濾波影像進行區域二值化步驟包含:選取一n*n(n=3,5,7,...)模板;取得模板內所有像素點的平均值,並和模板內的各像素點之值逐一進行比對;若像素點之值大於平均值,則將像素點之值設為255;若否,則將像素點之值設為0。 In the method for capturing retinal blood vessel images, the step of performing regional binarization on each filtered image includes: selecting an n*n (n=3, 5, 7, ...) template; obtaining an average value of all pixels in the template. And compare the values of the pixels in the template one by one; if the value of the pixel is larger than the average value, the value of the pixel is set to 255; if not, the value of the pixel is set to 0.

上述視網膜血管影像的攫取方法中,套用膨脹(dilation)型態學方法對視網膜血管影像進行處理之步驟包含:設置一n*n(n=3,5,7,...)的圓形膨脹模板;根據圓形膨脹模板使用膨脹(dilation)型態學方法至視網膜血管影像,以取出增強之視網膜血管影像。 In the above method for capturing retinal blood vessel images, the step of processing the retinal blood vessel image by applying a dilation type method includes: setting a circular expansion of n*n (n=3, 5, 7, ...) Template; use a dilation pattern method to retinal vascular images according to a circular expansion template to remove enhanced retinal vascular images.

S101~S109‧‧‧步驟 S101~S109‧‧‧Steps

101‧‧‧濾波影像 101‧‧‧Filter image

102‧‧‧濾波影像 102‧‧‧Filter image

103‧‧‧濾波影像 103‧‧‧Filter image

104‧‧‧濾波影像 104‧‧‧Filter image

S1‧‧‧像素點 S1‧‧‧ pixels

S2‧‧‧像素點 S2‧‧‧ pixels

S3‧‧‧像素點 S3‧‧‧ pixels

S4‧‧‧像素點 S4‧‧‧ pixels

第1圖係繪示一原始之彩色視網膜影像圖;第2圖係繪示依據本發明一實施例之視網膜血管影像的攫取方法流程圖;第3圖係繪示取出如第1圖中之彩色視網膜影像之G通道影像;第4(a)至4(d)圖係繪示第3圖中之G通道影像經過Gabor濾波及區域二值化後對應各轉換角度之二值化影像圖; 第5圖係繪示依據Gabor濾波之不同轉換角度取出合成像素點示意圖;第6圖係繪示將5圖中取出之合成像素點合併為一合成視網膜影像圖;以及第7圖係繪示將第6圖中之合成視網膜影像經去噪化步驟並經膨脹型態學方法所取得之最終視網膜血管影像圖。 1 is a view showing an original color retinal image; FIG. 2 is a flow chart showing a method for capturing retinal blood vessel images according to an embodiment of the present invention; and FIG. 3 is a view showing a color as shown in FIG. The G channel image of the retinal image; the 4th (a) to 4 (d) diagram shows the binarized image map corresponding to each conversion angle after the Ga channel filtering and the area binarization in the G channel image in FIG. 3; Figure 5 is a schematic diagram showing the extraction of synthesized pixels according to different conversion angles of Gabor filtering; Figure 6 is a diagram showing the combination of the synthesized pixels extracted in Figure 5 into a composite retinal image; and Figure 7 shows The final retinal angiogram obtained by the de-synthesis step of the synthetic retinal image in Fig. 6 and obtained by the expansion pattern method.

以下將參照圖式說明本發明之複數個實施例。為明確說明起見,許多實務上的細節將在以下敘述中一併說明。然而,應瞭解到,這些實務上的細節不應用以限制本發明。也就是說,在本發明部分實施例中,這些實務上的細節是非必要的。此外,為簡化圖式起見,一些習知慣用的結構與元件在圖式中將以簡單示意的方式繪示之。 Hereinafter, a plurality of embodiments of the present invention will be described with reference to the drawings. For the sake of clarity, many practical details will be explained in the following description. However, it should be understood that these practical details are not intended to limit the invention. That is, in some embodiments of the invention, these practical details are not necessary. In addition, some of the conventional structures and elements are shown in the drawings in a simplified schematic manner in order to simplify the drawings.

請參照第2圖,其係繪示依據本發明一實施例之視網膜血管影像的攫取方法流程圖。視網膜血管影像的攫取方法係包含下列步驟S101至S109。 Please refer to FIG. 2, which is a flow chart of a method for capturing retinal blood vessel images according to an embodiment of the present invention. The method of capturing retinal blood vessel images includes the following steps S101 to S109.

步驟S101,讀取一彩色視網膜影像。 In step S101, a color retinal image is read.

步驟S102,將彩色視網膜影像分離為分別對應R、G、B三通道之影像。 In step S102, the color retinal image is separated into images corresponding to three channels of R, G, and B, respectively.

步驟S103,僅選取彩色視網膜影像之G通道影像。 In step S103, only the G channel image of the color retinal image is selected.

步驟S104,使用一Gabor濾波器(Gabor filter)對G通道影像進行轉換,取出多個濾波影像,其中各濾波影像係各自對應至一相異轉換角度。 Step S104: Convert a G channel image by using a Gabor filter to extract a plurality of filtered images, wherein each of the filtered image systems respectively corresponds to a different conversion angle.

步驟S105,對各濾波影像進行一區域二值化步驟,以取出各濾波影像之一二值化影像,並判斷各二值化影像內之像素點是否對應至視網膜影像中之血管部位。 Step S105: Perform a region binarization step on each filtered image to extract a binarized image of each filtered image, and determine whether a pixel in each binarized image corresponds to a blood vessel portion in the retinal image.

步驟S106,於各濾波影像中,對位置相對應之各像素點進行逐一比對,並取出具最大值之像素點當成一合成像素點。 In step S106, in each of the filtered images, each pixel corresponding to the position is compared one by one, and the pixel having the largest value is taken out as a synthesized pixel.

步驟S107,合併各合成像素點得到一合成視網膜影像。 Step S107, combining the synthesized pixels to obtain a synthetic retinal image.

步驟S108,執行一去噪化步驟以去除合成視網膜影像中不屬於血管部位的雜訊以取得一視網膜血管影像。 Step S108, performing a denoising step to remove noise in the synthetic retinal image that does not belong to the blood vessel portion to obtain a retinal blood vessel image.

步驟S109,使用一膨脹(dilation)型態學方法對視網膜血管影像進行處理,以便取出經增強後之視網膜血管影像。 In step S109, the retinal blood vessel image is processed using a dilation type method to extract the enhanced retinal blood vessel image.

後續將針對各步驟作詳細說明以便於理解本發明之技術特徵。同時,請一併配合參照第3圖至第7圖。第3圖係繪示取出第1圖中之原始彩色視網膜影像之G通道影像;第4(a)至4(d)圖係繪示第3圖中之G通道影像經過Gabor濾波及區域二值化後對應各轉換角度之二值化視網膜影像圖;第5圖係繪示依據Gabor濾波之不同轉換角度取出合成像素點示意圖;第6圖係繪示將5圖中取出之合成像素點合併為一合成視網膜影像圖;以及第7圖係繪示將第6圖中之合成視網膜影像經去噪化步驟並經膨脹型態學方法所取得之最終視網膜血管影像圖。 Each step will be described in detail later to facilitate understanding of the technical features of the present invention. At the same time, please refer to Figure 3 to Figure 7 together. Figure 3 shows the G channel image of the original color retinal image in Figure 1; the 4th (a) to 4 (d) shows the G channel image in Figure 3 after Gabor filtering and region binary After the transformation, the binarized retinal image map corresponding to each conversion angle is shown; the fifth figure shows the schematic diagram of extracting the synthesized pixel points according to the different conversion angles of the Gabor filter; and the sixth figure shows that the synthesized pixel points taken out in the 5 figure are merged into A synthetic retinal image; and Fig. 7 is a diagram showing the final retinal angiogram obtained by subjecting the synthetic retinal image of Fig. 6 to a denoising step and by an expansion pattern method.

於步驟S101中,先讀取一原始彩色視網膜影像,如第1圖所繪示,可視得其形貌相當複雜,包含血管及其餘非血管部分在內。 In step S101, an original color retinal image is first read. As shown in FIG. 1, it can be seen that the shape is quite complicated, including blood vessels and other non-vascular parts.

接續,於步驟S102中,將彩色視網膜影像依照R、G、B三通道(Channel)分離,形成各自對應R通道、G通道及B通道之影像。 Next, in step S102, the color retinal images are separated according to R, G, and B channels to form images corresponding to the R channel, the G channel, and the B channel.

接續,於步驟S103中,僅選取G通道影像作為後續影像處理基礎,G通道影像如第3圖所繪示。選取G通道影像係因眼球血管於G通道下最為清晰。 In the step S103, only the G channel image is selected as the basis of the subsequent image processing, and the G channel image is as shown in FIG. The G channel image was selected because the eyeball was the clearest under the G channel.

接續,於步驟S104中,使用一Gabor濾波器(Gabor filter)對G通道影像進行轉換。於此實施例中,以Gabor濾波器演算程序中之四個相異角度(0°,45°,90°,135°)進行轉換,取出四個濾波影像。Gabor濾波器演算程序可以下列關係式表示之: 其中公式(1)、(2)分別對應至實部及虛部;x’=x cos θ+y sin θ;y’=-x sin θ+y cos θ;λ:波長;θ:核函數方向;Ψ:相位偏移;σ:高斯函數標準差;γ:長寬比。 Next, in step S104, the G channel image is converted using a Gabor filter. In this embodiment, the four different angles (0°, 45°, 90°, 135°) in the Gabor filter calculation program are converted, and four filtered images are taken out. The Gabor filter calculus program can be expressed in the following relation: Where equations (1) and (2) correspond to the real and imaginary parts, respectively; x' = x cos θ + y sin θ; y' = - x sin θ + y cos θ; λ: wavelength; θ: kernel function direction ;Ψ: phase offset; σ: Gaussian function standard deviation; γ: aspect ratio.

接續,透過上述公式(1)及公式(2)對G通道影像進行轉換;將各角度對應之實部影像與虛部影像進行絕對值相加而得到各角度對應之各濾波影像,如下列關係式(3)所示: 其中,為實部影像,為虛部影像,θ {0°,45°,90°,135°}。 In the continuation, the G channel image is converted by the above formula (1) and formula (2); the real image corresponding to each angle and the imaginary image are added together to obtain the filtered images corresponding to the respective angles, as the following relationship Equation (3): among them, For real images, For the imaginary image, θ {0°, 45°, 90°, 135°}.

需知上述角度數量之選擇並無特別限制,得視實際應用狀況選取適當數量之角度。 It should be noted that the selection of the number of angles mentioned above is not particularly limited, and an appropriate number of angles may be selected depending on the actual application.

得到對應相異轉換角度之多個濾波影像後,如步驟S105,對各濾波影像進行一區域二值化步驟,以取出各濾波影像之一二值化影像。二值化的方式,係應用所稱之Otsu法,其係先選取一n*n(n=3,5,7,...)模板;再取得模板內所有像素點的平均值,並和模板內的各像素點之值逐一進行比對;若像素點之值大於平均值,則將像素點之值設為255;若否,則將像素點之值設為0。以上述方式所得出對應各轉換角度之二值化視網膜影像圖繪示於第4(a)圖至第4(d)圖,可視得各圖皆有些微差異。藉此二值化影像,可清楚地判斷各二值化影像內之像素點是否對應至原視網膜影像中之血管部位,以利後續對視網膜血管影像的判讀。 After obtaining a plurality of filtered images corresponding to the different conversion angles, in step S105, a region binarization step is performed on each of the filtered images to extract a binarized image of each of the filtered images. The binarization method is applied to the so-called Otsu method, which first selects an n * n ( n = 3, 5, 7, ...) template; then obtains the average value of all the pixels in the template, and The values of the pixels in the template are compared one by one; if the value of the pixel is greater than the average value, the value of the pixel is set to 255; if not, the value of the pixel is set to zero. The binarized retinal images obtained in the above manner corresponding to the respective conversion angles are shown in Figures 4(a) to 4(d), and it can be seen that the figures are slightly different. By binarizing the image, it is possible to clearly determine whether the pixel in each binarized image corresponds to a blood vessel site in the original retinal image, so as to facilitate subsequent interpretation of the retinal blood vessel image.

接續,於步驟S106中,對上述於步驟S104所形成之各濾波影像中,選取位置相對應之各像素點進行逐一比對,並取出具最大值之像素點當成一合成像素點之值。取出合成像素點之方式繪示於第5圖中。於第5圖中,濾波影像101~104分別對應轉換角度0°,45°,90°,135°。選取濾波影像101~104中,對應相同位置之像素點S1~S4。比對像素點S1~S4之值,並選取其中具最大值者為合成像素點,並以其值作 為欲合成視網膜影像對應相同位置之像素點之值。以此方式將所有像素點位置逐一比對後,於步驟S107中,可將所有合成像素點合併成一合成視網膜影像,如第5圖所繪示。 Next, in step S106, for each of the filtered images formed in step S104, each pixel corresponding to the selected position is compared one by one, and the pixel having the largest value is taken as a value of the synthesized pixel. The manner in which the synthesized pixel points are taken out is shown in FIG. In Fig. 5, the filtered images 101 to 104 correspond to conversion angles of 0°, 45°, 90°, and 135°, respectively. The filtered images 101 to 104 are selected to correspond to the pixel points S1 to S4 at the same position. Compare the values of the pixel points S1~S4, and select the one with the largest value as the synthesized pixel point, and use its value as the value The value of the pixel corresponding to the same position for synthesizing the retina image. After all the pixel point positions are aligned one by one in this way, in step S107, all the synthesized pixel points can be combined into one synthetic retinal image, as shown in FIG.

接續,於步驟S108中,執行一去噪化步驟以去除合成視網膜影像中不屬於血管部位的雜訊以取得一視網膜血管影像。基於上述步驟S105中,已透過各濾波影像之二值化影像判斷出非屬血管部位。因此,透過一罩遮(Masking)方式進行去噪化步驟,將非屬血管部位之雜訊去除,以便取得真正所需之視網膜血管影像。 Next, in step S108, a denoising step is performed to remove noise in the synthetic retinal image that does not belong to the blood vessel site to obtain a retinal blood vessel image. Based on the above-described step S105, the non-vascular site has been determined through the binarized image of each filtered image. Therefore, the denoising step is performed by a Masking method to remove noise from non-vascular sites in order to obtain a truly desired retinal blood vessel image.

接續,於步驟S109中,為能更增強視網膜血管影像特徵,透過一膨脹(dilation)型態學方法對視網膜血管影像進行處理,以便取出增強後之視網膜血管影像。其步驟首先設置一n*n(n=3,5,7,...)的圓形膨脹模板;再根據圓形膨脹模板使用膨脹(dilation)型態學方法至視網膜血管影像,最終可取出如第7圖中所繪示之視網膜血管影像。由第7圖中,可視得經膨脹(dilation)型態學方法處理後,血管部位的影像特徵更加明顯,有利於對視網膜血管影像的判斷。本發明係基於透過膨脹型態學方法,可將視網膜血管連通起來。 Subsequently, in step S109, in order to further enhance the retinal vascular image features, the retinal vascular image is processed through a dilation type method to extract the enhanced retinal blood vessel image. The first step is to set a circular expansion template of n * n ( n = 3, 5, 7, ...); then use the dilation type method to retinal vascular image according to the circular expansion template, and finally take out Retinal vascular images as depicted in Figure 7. From Fig. 7, it can be seen that the image characteristics of the blood vessel site are more obvious after being treated by the dilation type method, which is favorable for the judgment of the retinal blood vessel image. The present invention is based on a transdermal morphology method in which retinal blood vessels can be connected.

綜上,本發明所揭示之視網膜血管影像的攫取方法中,利用了Gabor濾波器取出對應多個轉換角度的濾波影像,並取出各濾波影像中具最大值之像素點構成合成視網膜影像。同時,執行區域二值化步驟以判斷血管位置,並執行去噪化步驟及透過膨脹型態學方法對視網膜影像進行處理,可準確取出視網膜血管影像以利於後續判讀。 In summary, in the method for capturing retinal blood vessel images disclosed by the present invention, a Gabor filter is used to extract filtered images corresponding to a plurality of conversion angles, and pixels having maximum values among the filtered images are taken out to form a synthetic retinal image. At the same time, the regional binarization step is performed to determine the position of the blood vessel, and the denoising step is performed and the retinal image is processed by the expansion pattern method, so that the retinal blood vessel image can be accurately taken out for subsequent interpretation.

雖然本發明已以實施方式揭露如上,然其並非用以限定本發明,任何熟習此技藝者,在不脫離本發明之精神和範圍內,當可作各種之更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。 Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention, and the present invention can be modified and modified without departing from the spirit and scope of the present invention. The scope is subject to the definition of the scope of the patent application attached.

S101~S109‧‧‧步驟 S101~S109‧‧‧Steps

Claims (4)

一種視網膜血管影像的攫取方法,其係依序以下列步驟執行之:讀取一彩色視網膜影像;將該彩色視網膜影像分離為分別對應R、G、B三通道之影像;僅選取該彩色視網膜影像之該G通道影像;使用一Gabor濾波器(Gabor filter)對該G通道影像進行轉換,取出多個濾波影像,其中各該濾波影像係各自對應至一相異轉換角度;對各該濾波影像進行一區域二值化步驟,以取出各該濾波影像之一二值化影像,並判斷各該二值化影像內之像素點是否對應至視網膜影像中之血管部位;於各該濾波影像中,對位置相對應之各像素點進行逐一比對,並取出各該濾波影像中,具最大值之像素點當成一合成像素點;合併各該合成像素點得到一合成視網膜影像;執行一去噪化步驟以去除該合成視網膜影像中不屬於血管部位的雜訊以取得一視網膜血管影像;以及使用一膨脹(dilation)型態學方法對該視網膜血管影像進行處理,以便取出經增強後之該視網膜血管影像;其中對各該濾波影像進行該區域二值化步驟包含:選取一n*n(n=3,5,7,...)模板;以及取得該模板內所有像素點的平均值,並和該模板內的各像素點之值逐一進行比對;若該像素點之值大於平均值,則將該像素點之值設為255;若否,則將該像素點之值設為0; 其中套用該膨脹(dilation)型態學方法對該視網膜血管影像進行處理之步驟包含:設置一n*n(n=3,5,7,...)的圓形膨脹模板;以及根據該圓形膨脹模板使用該膨脹(dilation)型態學方法至該視網膜血管影像,以取出增強後之該視網膜血管影像。 A method for capturing retinal blood vessel images is performed in the following steps: reading a color retinal image; separating the color retinal image into images corresponding to R, G, and B channels; selecting only the color retinal image The G channel image is converted by using a Gabor filter to extract a plurality of filtered images, wherein each of the filtered images corresponds to a different conversion angle; and each of the filtered images is performed An area binarization step is performed to take out a binarized image of each of the filtered images, and determine whether a pixel point in each of the binarized images corresponds to a blood vessel portion in the retinal image; in each of the filtered images, Each pixel corresponding to the position is compared one by one, and the pixel with the largest value is taken as a composite pixel in each of the filtered images; combining the synthesized pixels to obtain a synthetic retinal image; performing a denoising step To remove noise from the vascular site of the synthetic retinal image to obtain a retinal vascular image; and to use a dilation type The morphological method processes the retinal vascular image to extract the enhanced retinal vascular image; wherein the step of binarizing the region for each of the filtered images comprises: selecting an n * n ( n =3, 5, 7 ,...) a template; and obtaining an average value of all the pixels in the template, and comparing the values of the pixels in the template one by one; if the value of the pixel is greater than the average, the pixel is The value is set to 255; if not, the value of the pixel is set to 0; wherein the step of processing the retinal blood vessel image by applying the dilation type method includes: setting an n * n ( n = a circular expansion template of 3, 5, 7, ...; and using the dilation pattern method to the retinal blood vessel image according to the circular expansion template to remove the enhanced retinal blood vessel image. 如申請專利範圍第1項所述之視網膜血管影像的攫取方法,其中執行該去噪化步驟係透過一罩遮(Masking)去除該合成視網膜影像中不屬於血管部位的雜訊。 The method for extracting retinal blood vessel images according to claim 1, wherein the performing the denoising step removes noise in the synthetic retinal image that does not belong to the blood vessel portion through a masking. 如申請專利範圍第1項所述之視網膜血管影像的攫取方法,其中該Gabor濾波器係以下列關係式表示之: 公式(1)、(2)分別對應至實部及虛部;其中:x’=x cos θ+y sin θ;y’=-x sin θ+y cos θ;λ:波長;θ:核函數方向;Ψ:相位偏移;σ:高斯函數標準差;γ:長寬比。 The method for extracting retinal blood vessel images according to claim 1, wherein the Gabor filter is expressed by the following relationship: Equations (1) and (2) correspond to the real part and the imaginary part respectively; where: x' = x cos θ+ y sin θ; y' =- x sin θ+ y cos θ; λ: wavelength; θ: kernel function Direction; Ψ: phase offset; σ: Gaussian function standard deviation; γ: aspect ratio. 如申請專利範圍第3項所述之視網膜血管影像的攫取方法,其中係使用如申請專利範圍第3項之公式(1)及公式(2)對該G通道影像分別進行四個角度(0°,45°,90°,135°)的轉換;將各角度對應之實部影像與虛部影像進行絕對值相加而得到各角度對應之各該濾波影像,如下列關係式(3)所示: 其中,(x,y)為實部影像,(x,y)為虛部影像,θ {0°,45°,90°,135°}。 The method for extracting retinal blood vessel images according to claim 3, wherein the G channel images are respectively subjected to four angles (0°) according to formula (1) and formula (2) of claim 3; , 45°, 90°, 135°) conversion; adding the absolute value of the real image corresponding to each angle to the imaginary image to obtain each of the filtered images corresponding to each angle, as shown in the following relation (3) : among them, (x, y) is the real image, (x, y) is the imaginary image, θ {0°, 45°, 90°, 135°}.
TW104144504A 2015-12-30 2015-12-30 Method for extracting retina vessel image TWI584226B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW104144504A TWI584226B (en) 2015-12-30 2015-12-30 Method for extracting retina vessel image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW104144504A TWI584226B (en) 2015-12-30 2015-12-30 Method for extracting retina vessel image

Publications (2)

Publication Number Publication Date
TWI584226B true TWI584226B (en) 2017-05-21
TW201724019A TW201724019A (en) 2017-07-01

Family

ID=59367345

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104144504A TWI584226B (en) 2015-12-30 2015-12-30 Method for extracting retina vessel image

Country Status (1)

Country Link
TW (1) TWI584226B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5291560A (en) * 1991-07-15 1994-03-01 Iri Scan Incorporated Biometric personal identification system based on iris analysis
CN1290060C (en) * 2001-02-28 2006-12-13 松下电器产业株式会社 Person discriminating method and device
CN101460097A (en) * 2006-06-07 2009-06-17 国立大学法人九州工业大学 Personal authentication method and personal authentication device that use eye fundus blood flow measurement by laser light
US20120163678A1 (en) * 2009-01-14 2012-06-28 Indiana University Research & Technology Corporation System and method for identifying a person with reference to a sclera image
CN202948456U (en) * 2012-09-20 2013-05-22 艾塔斯科技(镇江)有限公司 Scanner capable of identifying ocular region biological information
TW201406343A (en) * 2012-08-01 2014-02-16 Altek Corp Image capture device for fundus and imaging methods thereof
TW201427645A (en) * 2013-01-14 2014-07-16 Altek Corp Image stitching method and camera system
TW201446214A (en) * 2013-04-11 2014-12-16 Novartis Ag A method and system to detect ophthalmic tissue structure and pathologies

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5291560A (en) * 1991-07-15 1994-03-01 Iri Scan Incorporated Biometric personal identification system based on iris analysis
CN1290060C (en) * 2001-02-28 2006-12-13 松下电器产业株式会社 Person discriminating method and device
CN101460097A (en) * 2006-06-07 2009-06-17 国立大学法人九州工业大学 Personal authentication method and personal authentication device that use eye fundus blood flow measurement by laser light
US20120163678A1 (en) * 2009-01-14 2012-06-28 Indiana University Research & Technology Corporation System and method for identifying a person with reference to a sclera image
TW201406343A (en) * 2012-08-01 2014-02-16 Altek Corp Image capture device for fundus and imaging methods thereof
CN202948456U (en) * 2012-09-20 2013-05-22 艾塔斯科技(镇江)有限公司 Scanner capable of identifying ocular region biological information
TW201427645A (en) * 2013-01-14 2014-07-16 Altek Corp Image stitching method and camera system
TW201446214A (en) * 2013-04-11 2014-12-16 Novartis Ag A method and system to detect ophthalmic tissue structure and pathologies

Also Published As

Publication number Publication date
TW201724019A (en) 2017-07-01

Similar Documents

Publication Publication Date Title
CN105761258B (en) A kind of color fundus photograph image bleeding automatic identification method
JP5080944B2 (en) Panorama fundus image synthesis apparatus and method
JP6588462B2 (en) Wide-field retinal image acquisition system and method
US20110103655A1 (en) Fundus information processing apparatus and fundus information processing method
JP2007207009A (en) Image processing method and image processor
Odstrcilik et al. Thickness related textural properties of retinal nerve fiber layer in color fundus images
JP6512738B2 (en) Image processing apparatus, image processing method and program
JP2011120657A (en) Image processing apparatus, image processing method, and program
CN110751605A (en) Image processing method and device, electronic equipment and readable storage medium
Lu et al. Vessel enhancement of low quality fundus image using mathematical morphology and combination of Gabor and matched filter
EP3338619B1 (en) Image processing device, image processing method, and image processing program
JP2015180045A (en) image processing apparatus, image processing method and program
Lu et al. Automatic optic disc detection through background estimation
TWI584226B (en) Method for extracting retina vessel image
JP2009189586A (en) Fundus image analysis method, its instrument and program
JP6351408B2 (en) Image inspection apparatus and image inspection method
Moccia et al. Automatic workflow for narrow-band laryngeal video stitching
CN110652660A (en) Patient positioning detection method and system
Medhi et al. Analysis of maculopathy in color fundus images
Al-Fahdawi et al. An automatic corneal subbasal nerve registration system using FFT and phase correlation techniques for an accurate DPN diagnosis
US10039446B2 (en) Method for detecting defective zone of retinal nerve fiber layer
Zheng et al. New simplified fovea and optic disc localization method for retinal images
JP5634587B2 (en) Image processing apparatus, image processing method, and program
Ardizzone et al. Blood vessels and feature points detection on retinal images
WO2017046377A1 (en) Method and computer program product for processing an examination record comprising a plurality of images of at least parts of at least one retina of a patient

Legal Events

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