TWI595449B - Image enhance method - Google Patents

Image enhance method Download PDF

Info

Publication number
TWI595449B
TWI595449B TW104144503A TW104144503A TWI595449B TW I595449 B TWI595449 B TW I595449B TW 104144503 A TW104144503 A TW 104144503A TW 104144503 A TW104144503 A TW 104144503A TW I595449 B TWI595449 B TW I595449B
Authority
TW
Taiwan
Prior art keywords
image
grayscale
original
composite
correction value
Prior art date
Application number
TW104144503A
Other languages
Chinese (zh)
Other versions
TW201724014A (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 TW104144503A priority Critical patent/TWI595449B/en
Publication of TW201724014A publication Critical patent/TW201724014A/en
Application granted granted Critical
Publication of TWI595449B publication Critical patent/TWI595449B/en

Links

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

影像增強方法 Image enhancement method

本發明是一種影像增強方法,特別是指一種可保留影像原有之色相,同時能夠增加對比度的影像增強方法。 The invention is an image enhancement method, in particular to an image enhancement method capable of retaining an original hue of an image while increasing contrast.

自從數位影像成為顯像媒介的主流,影像處理之發展也就應運而生。影像處理係對數位或是類比媒體以數位方式定義出無數個像素,並對各個像素的色彩參數做種種調變的統稱。 Since digital imaging has become the mainstream of imaging media, the development of image processing has emerged. Image processing is a general term for digitally or analogous media to define an infinite number of pixels in a digital manner and to make various modulations for the color parameters of each pixel.

由於影像處理是對目標像素以同一規則進行的,因此經處理過後的影像常難以避免地產生缺陷,例如對比過強、彩度降低或過飽、色溫偏高、偏冷或是雜訊增強。整體言之,影像處理品質的關鍵,除在於如何突顯出特定圖像外,更在於如何在不過度失真的前提下,仍能夠達成上述目的,此亦為影像處理一困難之處。 Since the image processing is performed on the target pixel by the same rule, the processed image is often inevitably caused to have defects such as excessive contrast, reduced chroma or over saturation, high color temperature, cold or noise enhancement. In a nutshell, the key to image processing quality is not only how to highlight a specific image, but also how to achieve the above goal without excessive distortion. This is also a difficult point for image processing.

習用影像增強方法之一為直方圖等化法,其用於增強影像的全局對比度。但因此方法是無差異地累加所有像素的灰階值,並進行等化,故相當容易使影像中的雜訊也一併受到強化。此外,原始影像中亦可能有局部區域受雜訊 影響而使亮度產生偏差,故經由直方圖等化法運算後,可能出現實際上顏色相同的區域卻形成不同顏色的問題。 One of the conventional image enhancement methods is the histogram equalization method, which is used to enhance the global contrast of an image. However, the method is to accumulate the grayscale values of all the pixels without any difference and equalize them, so it is quite easy to enhance the noise in the image. In addition, there may be local areas in the original image that are subject to noise. Since the brightness is deviated by the influence, after the histogram equalization method, there is a possibility that the regions having the same color actually form different colors.

此外,傳統的直方圖等化法並未考慮到色相保留,故以此種方式進行對比度增強後,雖然影像之輪廓因全局對比度提升而變得較明顯,但僅適用各個像素的灰階值差異不太大的情況,若像素之間的灰階值差異較大,處理後之影像的色相將嚴重偏移失真。 In addition, the traditional histogram equalization method does not consider the hue retention, so after the contrast enhancement in this way, although the contour of the image becomes more obvious due to the global contrast enhancement, only the grayscale value difference of each pixel is applied. Not too big, if the grayscale value difference between pixels is large, the hue of the processed image will be seriously offset and distorted.

鑒於現有技術在影像增強時所造成的缺陷,本發明提出一種能夠保留原始影像之色相的影像增強方法,期望解決現有技術增強影像後,使色相產生嚴重偏差的問題。 In view of the defects caused by the prior art in image enhancement, the present invention proposes an image enhancement method capable of retaining the hue of the original image, and it is desirable to solve the problem of causing serious deviation of the hue after the prior art enhanced image.

依據本發明之一實施方式,提供一種影像增強方法,包含以下步驟:讀取一原始影像,並將原始影像轉換成為一第一灰階影像。使用一Gabor濾波器增強第一灰階影像而形成一第二灰階影像。合併第一灰階影像及第二灰階影像而形成一複合灰階影像。取得複合灰階影像之一影像參數。利用前述影像參數對前述複合灰階影像進行一直方圖等化步驟。比對經直方圖等化步驟後之複合灰階影像以及第一灰階影像之強度值而得到一校正值。以及透過校正值強化原始影像,藉以取得一等化影像。 According to an embodiment of the present invention, an image enhancement method includes the steps of: reading an original image and converting the original image into a first grayscale image. A Gabor filter is used to enhance the first grayscale image to form a second grayscale image. Combining the first grayscale image and the second grayscale image to form a composite grayscale image. Obtain one of the image parameters of the composite grayscale image. The histogram equalization step is performed on the composite gray scale image by using the image parameters. A correction value is obtained by comparing the intensity values of the composite grayscale image and the first grayscale image after the histogram equalization step. And the original image is enhanced by the correction value to obtain a first-class image.

由上述可知,本實施方式不直接採用直方圖等化來對原始影像強化,而是利用複合灰階影像以及原始影像的灰階影像的特徵關係生成校正值。如此,本實施方式僅依 校正值對原始影像進行處理,進而保留原有原始影像的色相。 As can be seen from the above, in the present embodiment, instead of directly using the histogram equalization to enhance the original image, the correction value is generated by using the characteristic relationship between the composite grayscale image and the grayscale image of the original image. Thus, the present embodiment only relies on The correction value processes the original image to preserve the hue of the original original image.

前述實施方式中,校正值可以為複合灰階影像與第一灰階影像之強度值的比值或是差值;在校正值為上述兩種不同計算方式的情況下,等化影像之色相值分別可以為原始影像之色相值與校正值的乘積以及相加總和。前述的影像參數可以包含一機率密度函數以及一累積分佈函數,但不在此限。前述的Gabor濾波器可藉由一演算程序增強第一灰階影像而形成第二灰階影像,且演算程序可以為: 其中,u=x cos θ+y sin θ,v=-x sin θ+y cos θ,θ為Gabor濾波器的方向,σu和σv分別為高斯函數在u軸和v軸上的標準差,ω為調製頻率。 In the foregoing embodiment, the correction value may be a ratio or a difference between the intensity values of the composite grayscale image and the first grayscale image; and in the case where the correction value is the two different calculation modes, the hue values of the equalized image are respectively It can be the product of the hue value of the original image and the correction value and the sum of the additions. The aforementioned image parameters may include a probability density function and a cumulative distribution function, but are not limited thereto. The foregoing Gabor filter can enhance the first grayscale image by a calculation program to form a second grayscale image, and the calculation program can be: Where u=x cos θ+y sin θ, v=-x sin θ+y cos θ, θ is the direction of the Gabor filter, and σ u and σ v are the standard deviations of the Gaussian function on the u and v axes, respectively , ω is the modulation frequency.

藉此,本實施方式可利用所生成的複合灰階影像和第一灰階影像之強度值的校正值採取不同強化方式,保留等化影像之強化結果的靈活性。 Therefore, in the embodiment, the correction values of the intensity values of the generated composite gray scale image and the first gray scale image are differently strengthened, and the flexibility of the enhancement result of the equalized image is retained.

100‧‧‧影像增強方法 100‧‧‧Image enhancement method

110~170‧‧‧步驟 110~170‧‧‧Steps

第1圖係繪示本發明之一實施方式之影像增強方法的步驟流程圖;第2A圖係繪示原始影像之彩色影像圖;第2B圖係繪示原始影像之第一灰階影像圖; 第2C圖係繪示第2B圖之第一灰階影像圖的直方圖等化彩色影像圖;第3A圖係繪示第2B圖之第一灰階影像圖經Gabor濾波後之第二灰階影像;第3B圖係繪示第2B圖與第3A圖合併之複合灰階影像圖;第4A圖係繪示第一種等化影像之彩色影像圖;第4B圖係繪示第二種等化影像之彩色影像圖;第5A圖係繪示視網膜影像之彩色影像圖;第5B圖係繪示第5A圖之第一種等化影像之彩色影像圖;以及第5C圖係繪示第5A圖之第二種等化影像之彩色影像圖。 1 is a flow chart showing the steps of an image enhancement method according to an embodiment of the present invention; FIG. 2A is a color image view of the original image; and FIG. 2B is a first gray-scale image view of the original image; 2C is a histogram equalization color image of the first grayscale image of FIG. 2B; FIG. 3A is a second grayscale of the first grayscale image of FIG. 2B after Gabor filtering. Image; Figure 3B shows the composite grayscale image of Figure 2B and Figure 3A; Figure 4A shows the color image of the first equalized image; Figure 4B shows the second image. Color image of the image; Figure 5A shows the color image of the retinal image; Figure 5B shows the color image of the first equalized image of Figure 5A; and Figure 5C shows the 5A The color image of the second equalized image of the figure.

請參照第1圖,其係繪示本發明之一實施方式之影像增強方法100的步驟流程圖。影像增強方法100包含步驟110至步驟170。步驟110為讀取一原始影像,並將原始影像轉換成為一第一灰階影像。步驟120為使用一Gabor濾波器(Gabor Filter)增強第一灰階影像而形成一第二灰階影像。步驟130為合併第一灰階影像及第二灰階影像而形成一複合灰階影像。步驟140為取得複合灰階影像之一影像參數。步驟150為利用前述影像參數對前述複合灰階影像進行一直方圖等化步驟。步驟160為比對經直方圖等化步驟後之複合灰階影像以及第一灰階影像之強度值而得到一校正值。步驟170為透過校正值強化原始影像,藉以取得一等化 影像。 Please refer to FIG. 1 , which is a flow chart showing the steps of the image enhancement method 100 according to an embodiment of the present invention. Image enhancement method 100 includes steps 110 through 170. Step 110 is to read an original image and convert the original image into a first grayscale image. Step 120 is to use a Gabor filter to enhance the first grayscale image to form a second grayscale image. Step 130 is to combine the first grayscale image and the second grayscale image to form a composite grayscale image. Step 140 is to obtain one of the image parameters of the composite grayscale image. Step 150 is a histogram equalization step of the composite grayscale image by using the image parameters. Step 160 is to obtain a correction value by comparing the intensity values of the composite grayscale image and the first grayscale image after the histogram equalization step. Step 170 is to enhance the original image by using the correction value to obtain the first-class image. image.

請一併配合參照第2A圖、第2B圖以及第2C圖。第2A圖係繪示原始影像之彩色影像圖。第2B圖係繪示原始影像之第一灰階影像圖。第2C圖係繪示第2B圖之第一灰階影像圖的直方圖等化彩色影像圖。上述步驟110為習知影像處理常見的灰階化,故此處不說明第2B圖的實施細節。如第2C圖所示,現有技術對第2A圖之原始影像是直接取灰階化的第2B圖作直方圖等化處理,處理過後的影像出現因對比增加而使線條輪廓較為清晰,但色調與第2A圖差異過大,亦即色相產生偏差。 Please refer to the 2A, 2B, and 2C drawings together. Figure 2A shows a color image of the original image. Figure 2B shows the first grayscale image of the original image. 2C is a histogram equalized color image of the first grayscale image of FIG. 2B. The above step 110 is a grayscale common in conventional image processing, so the implementation details of FIG. 2B are not described here. As shown in FIG. 2C, in the prior art, the original image of FIG. 2A is directly subjected to histogram equalization processing according to FIG. 2B of the gray-scaled image, and the processed image appears to have a clear outline of the line due to the contrast increase, but the hue is The difference from Figure 2A is too large, that is, the hue is deviated.

步驟120係對第一灰階影像以Gabor濾波器進行影像增強,Gabor濾波器之演算程序為: 上述之x與y為各個像素在原始影像中被定義的座標。其中,u=x cos θ+y sin θ,v=-x sin θ+y cos θθ為Gabor濾波器的方向,σ u σ v 分別為高斯函數在u軸和v軸上的標準差,ω為調製頻率。 Step 120 is to perform image enhancement on the first grayscale image by using a Gabor filter. The calculation procedure of the Gabor filter is: The above x and y are coordinates defined by the respective pixels in the original image. Where u=x cos θ + y sin θ , v =- x sin θ + y cos θ , θ is the direction of the Gabor filter, and σ u and σ v are the standard deviations of the Gaussian function on the u and v axes, respectively , ω is the modulation frequency.

第3A圖係繪示第2B圖之第一灰階影像圖經Gabor濾波後之第二灰階影像。請參照第3A圖,第二灰階影像係將第2B圖的第一灰階影像與Gabor濾波器進行卷積分而獲得之結果,其方程式為: 其中G(x,y)為原始影像、(x,y)為濾波過後影像、h(n,m)為M×N大小的濾波器模板。濾波過後之影像(x,y)即如同第3A圖所示。 FIG. 3A is a second gray-scale image after Gabor filtering of the first gray-scale image of FIG. 2B. Referring to FIG. 3A, the second grayscale image is obtained by volume-integrating the first grayscale image of FIG. 2B with the Gabor filter, and the equation is: Where G(x, y) is the original image, (x, y) is a filtered filter image, and h(n, m) is a filter template of M×N size. Filtered image (x, y) is as shown in Figure 3A.

詳細說明之,原始影像為一原始欲處理的影像,在一般的直方圖等化中,係直接將第一灰階影像中各個灰階值出現的次數進行統計,並且畫出直方圖、直接進行等化,此等處理方式的好處是快速且可逆,缺點則為未考慮局部像素的特性,等化後可能使原始影像產生嚴重色相偏差。 In detail, the original image is an original image to be processed. In the general histogram equalization, the number of occurrences of each grayscale value in the first grayscale image is directly counted, and a histogram is drawn and directly performed. Equalization, the benefits of these processing methods are fast and reversible, the disadvantage is that the characteristics of the local pixels are not considered, and the original image may cause serious hue deviation after equalization.

本實施方式利用Gabor濾波器對原始之原始影像的第一灰階影像進行濾波,藉以產生第二灰階影像,Gabor濾波的好處是能夠較好地提取影像中各部的細節部分,改善直接以直方圖等化所造成的色相偏差問題。 In this embodiment, the first grayscale image of the original original image is filtered by the Gabor filter to generate the second grayscale image. The advantage of the Gabor filter is that the detail portion of each part of the image can be better extracted, and the direct improvement is directly performed. The problem of hue deviation caused by graph equalization.

複合灰階影像係將前述的第一灰階影像以及第二灰階影像合併,如此能夠使第一灰階影像的細節顯現得較為清楚。此後,計算複合灰階影像的影像參數,諸如機率密度函數(probability density function,PDF)與累積分佈函數(cumulative distribution function,CDF),用於進行後續直方圖等化步驟。直方圖等化步驟後,本實施方式針對複合灰階影像以及第一灰階影像的強度值進行比對而取得一校正值,例如比值或差值,但不在此限。其後利用此一校正值建立等化影像和原始的原始影像之運算關係,藉此強化原始影像。 The composite grayscale image combines the aforementioned first grayscale image and the second grayscale image, so that the details of the first grayscale image can be made clearer. Thereafter, image parameters of the composite grayscale image, such as a probability density function (PDF) and a cumulative distribution function (CDF), are calculated for subsequent histogram equalization steps. After the histogram equalization step, the present embodiment compares the intensity values of the composite grayscale image and the first grayscale image to obtain a correction value, such as a ratio or a difference, but not limited thereto. The correction value is then used to establish an operational relationship between the equalized image and the original original image, thereby enhancing the original image.

第3B圖係繪示第2B圖與第3A圖合併之複合灰 階影像圖。在本實施方式中,第3A圖是用於標示第一灰階影像圖的細節部分,步驟130為合併第2B圖以及第3A圖,進而生成第3B圖的複合灰階影像圖。與原始的第2B圖之第一灰階影像圖相較,可見第2B圖之細部線條較為模糊,而合併後的複合灰階影像圖之線條較銳利,能夠清楚地顯現影像之細節部分。 Figure 3B shows the composite ash merged between Figure 2B and Figure 3A. Order image. In the present embodiment, FIG. 3A is a detail portion for indicating the first gray scale image map, and step 130 is a combination of the second B map and the third A map to generate a composite gray scale image map of FIG. 3B. Compared with the original grayscale image of the original 2B image, it can be seen that the detail of the 2B image is relatively blurred, and the combined composite grayscale image has a sharper line, which can clearly show the details of the image.

上述步驟140所提及的影像參數,是指應用於後端直方圖等化法的參數,如機率密度函數(PDF),可表示如下: 其中,L為影像之灰階數,nk為影像中灰階值k的出現次數,P(k)表示灰階值k出現機率。以及累積分佈函數(CDF),可表示如下: C為灰階值累積分布函數。此處所介紹的兩個影像參數為直方圖等化法中所常見,故步驟150的等化過程之細節不多作說明。 The image parameters mentioned in the above step 140 refer to parameters applied to the back-end histogram equalization method, such as the probability density function (PDF), which can be expressed as follows: Where L is the gray level of the image, n k is the number of occurrences of the grayscale value k in the image, and P(k) is the probability of the grayscale value k. And the cumulative distribution function (CDF), which can be expressed as follows: C is a cumulative distribution function of gray scale values. The two image parameters introduced here are common in the histogram equalization method, so the details of the equalization process of step 150 are not described.

請繼續參照第4A圖以及第4B圖。第4A圖係繪示第一種等化影像之彩色影像圖。第4B圖係繪示第二種等化影像之彩色影像圖。以下說明步驟160中,兩種校正值的生成方式。 Please continue to refer to Figure 4A and Figure 4B. Figure 4A shows a color image of the first equalized image. Figure 4B shows a color image of the second equalized image. The manner in which the two correction values are generated in step 160 will be described below.

假設彩色原圖為O (i,j),第一灰階影像圖強度值為G (i,j),其中(i,j)代表像素座標。經過步驟150之直方圖等化後的強度值為G' (i,j),而最終保留色相的等化影像為O' (i,j)。以下示例步驟160之兩種校正值、以及對應之步驟170的等化影像生成方式,第一種為: O' k(i,j)=O k(i,j)×R;此方式為將等化影像和原始影像視為倍數乘積關係,詳而言之,第一種方式是將複合灰階影像相對於第一灰階影像之強度值視為一個影像強化的比率R(每個像素經運算後會有不同的比率),在校正值求得以後,再將其與原始影像相乘積,而得到色相經過校正的等化影像O' (i,j),其結果如第4A圖所示。 Assuming that the color original image is O (i, j) , the first grayscale image intensity value is G ( i , j ) , where (i, j) represents the pixel coordinates. The intensity value after the histogram equalization in step 150 is G' ( i , j ) , and the equalized image of the final retained hue is O' ( i , j ) . The following two correction values of the example step 160, and the corresponding equalization image generation method of the step 170, the first one is: O' k ( i , j ) = O k ( i , j ) ×R; in this way, the equalized image and the original image are regarded as a multiplicative product relationship. In detail, the first way is to combine the gray scale image. The intensity value relative to the first grayscale image is regarded as an image enhancement ratio R (each pixel has a different ratio after calculation), and after the correction value is obtained, it is multiplied with the original image, and The corrected image O' ( i , j ) whose hue is corrected is obtained, and the result is as shown in Fig. 4A.

第二種方式為:D=G' (i,j)-G (i,j)O' k(i,j)=O k(i,j)+D;此方式為將等化影像和原始影像視為線性差異關係,即將複合灰階影像相對於第一灰階影像之強度值的差距視為一個校正值D,在校正值求得以後,再將其與原始影像相加,而得到色相經過校正的等化影像O' (i,j),其結果如第4B圖所示。 The second way is: D = G' ( i , j ) - G ( i , j ) ; O' k ( i , j ) = O k ( i , j ) + D; this way is to equalize the image and The original image is regarded as a linear difference relationship, that is, the difference between the intensity values of the composite gray scale image and the first gray scale image is regarded as a correction value D, and after the correction value is obtained, the original image is added to the original image to obtain The hue is corrected for the equalized image O' ( i , j ) and the result is shown in Fig. 4B.

上述係說明如何在使用直方圖等法方法增強影像對比後,依然能使色相不產生偏移,而獲得對比較原始影像強,但色調與原始影像相近之等化影像。 The above description shows how to enhance the image contrast after using the histogram method and the like, and still make the hue not shift, and obtain an equalized image that is stronger than the original image but has a hue similar to the original image.

請續參照第5A圖至第5C圖,第5A圖係繪示視網膜影像之彩色影像圖。第5B圖係繪示第5A圖之第一種等化影像之彩色影像圖。第5C圖係繪示第5A圖之第二種等化影像之彩色影像圖。於第5A圖至第5C圖中,以視網膜影像做為本發明之影像增強方法的說明,其目的在於突顯視網膜影像中的細微血管影像,但仍然保留原視網膜影像之色相以解決增加對比後影像失真的問題。在未經影像增強方法100處理的第5A圖中,視網膜影像中的血管較不明顯,第5B圖以及第5C圖係展示使用影像增強方法100進行處理,並分別使用比率R以及校正值D來進行影像增強的結果。可視得不僅血管被突顯,而其色相不致偏移,可得到較為正確的增強對比後的視網膜血管影像。 Please refer to FIG. 5A to FIG. 5C, and FIG. 5A is a color image diagram of the retinal image. Figure 5B is a color image of the first equalized image of Figure 5A. Figure 5C shows a color image of the second equalized image of Figure 5A. In pictures 5A to 5C, the retinal image is used as an illustration of the image enhancement method of the present invention, the purpose of which is to highlight the fine blood vessel image in the retinal image, but still preserve the hue of the original retinal image to solve the increase of the contrasted image. Distortion problem. In Figure 5A, which is not processed by the image enhancement method 100, the blood vessels in the retinal image are less pronounced. Figures 5B and 5C show the processing using the image enhancement method 100, using the ratio R and the correction value D, respectively. The result of image enhancement. It can be seen that not only the blood vessels are highlighted, but the hue is not offset, and a relatively correct contrast retinal blood vessel image can be obtained.

上述兩種校正方式之選用係視原始影像的特性以及影像增強的目的而定,兩者的處理結果並無一定的優劣關係。在其他未示例的影像增強方法中,上述校正值也可以使用其餘方式,並不限定於本發明所揭示之比例或差值。原則上,只要校正值的來源兼顧複合灰階影像以及第一灰階影像的強度值,則兩強度值在校正值中的運算關係、及其對應之等化影像的校正方式皆可以自行以合理方式實施之。 The selection of the above two correction methods depends on the characteristics of the original image and the purpose of image enhancement. There is no good relationship between the two. In other image enhancement methods that are not illustrated, the above-mentioned correction values may also use other modes, and are not limited to the ratios or differences disclosed in the present invention. In principle, as long as the source of the correction value takes into account the composite grayscale image and the intensity value of the first grayscale image, the operational relationship between the two intensity values in the correction value and the corresponding correction method of the equalized image can be reasonable The way to implement it.

藉由上述所介紹之實施方式,本發明至少具有以下優點:第一,利用Gabor濾波器來產生第二灰階影像, 取代習知技術直接以原始灰階影像進行直方圖等化,可以保留原始影像的色相。第二,將濾波影像與原始灰階影像進行合併時不涉及對原始彩色影像的破壞,且同時能夠得到更好的影像細節表現。第三,校正值的產生具有開放性,依據影像處理的目標不同,校正值可自行調整,且各種校正值計算程序簡易,能夠較快速地得到等化影像。 With the above-described embodiments, the present invention has at least the following advantages: First, a Gabor filter is used to generate a second grayscale image, Instead of the conventional technique, the histogram equalization is directly performed on the original grayscale image, and the hue of the original image can be preserved. Second, the combination of the filtered image and the original grayscale image does not involve the destruction of the original color image, and at the same time, better image detail performance can be obtained. Third, the generation of the correction value is open. According to the target of the image processing, the correction value can be adjusted by itself, and the calculation procedures of various correction values are simple, and the equalized image can be obtained relatively quickly.

雖然本發明已以實施方式揭露如上,然其並非用以限定本發明,任何熟習此技藝者,在不脫離本發明之精神和範圍內,當可作各種之更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。 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.

100‧‧‧影像增強方法 100‧‧‧Image enhancement method

110~170‧‧‧步驟 110~170‧‧‧Steps

Claims (5)

一種影像增強方法,包含:讀取一原始影像,並將該原始影像轉換成為一第一灰階影像;使用一Gabor濾波器(Gabor Filter)增強該第一灰階影像而形成一第二灰階影像;合併該第一灰階影像及該第二灰階影像而形成一複合灰階影像;取得該複合灰階影像之一影像參數;利用該影像參數對該複合灰階影像進行一直方圖等化步驟;比對經該直方圖等化步驟後之該複合灰階影像以及該第一灰階影像之強度值而得到一校正值,其中該校正值為該複合灰階影像與該第一灰階影像之強度值的比值或差值;以及透過該校正值強化該原始影像,藉以取得一等化影像。 An image enhancement method includes: reading an original image and converting the original image into a first grayscale image; using a Gabor filter to enhance the first grayscale image to form a second grayscale Combining the first grayscale image and the second grayscale image to form a composite grayscale image; obtaining one image parameter of the composite grayscale image; using the image parameter to perform a histogram of the composite grayscale image And calibrating the composite gray scale image after the histogram equalization step and the intensity value of the first gray scale image to obtain a correction value, wherein the correction value is the composite gray scale image and the first gray a ratio or difference of intensity values of the order image; and enhancing the original image by the correction value to obtain a first-order image. 如申請專利範圍第1項所述之影像增強方法,其中該影像參數包含一機率密度函數(probability density function)以及一累積分佈函數(cumulative distribution function)。 The image enhancement method of claim 1, wherein the image parameter comprises a probability density function and a cumulative distribution function. 如申請專利範圍第1項所述之影像增強方法,其中該Gabor濾波器藉由一演算程序增強該第一灰階影像而形成該第二灰階影像,該演算程序為: 其中,u=xcosθ+ysinθ,v=-xsinθ+ycosθ,θ為Gabor濾波器的方向,σu和σv分別為高斯函數在u軸和v軸上的標準差,ω為調製頻率。 The image enhancement method of claim 1, wherein the Gabor filter enhances the first grayscale image by a calculation program to form the second grayscale image, the calculation program is: Where u = xcos θ + ysin θ, v = - xsin θ + ycos θ, θ is the direction of the Gabor filter, σ u and σ v are the standard deviations of the Gaussian function on the u-axis and the v-axis, respectively, and ω is the modulation frequency. 如申請專利範圍第1項所述之影像增強方法,更包含:以該原始影像之色相值與該校正值相乘而得到該等化影像之色相值。 The image enhancement method of claim 1, further comprising: multiplying the hue value of the original image by the correction value to obtain a hue value of the equalized image. 如申請專利範圍第1項所述之影像增強方法,更包含:以該原始影像之色相值與該校正值相加而得到該等化影像之色相值。 The image enhancement method of claim 1, further comprising: adding a hue value of the original image to the correction value to obtain a hue value of the equalized image.
TW104144503A 2015-12-30 2015-12-30 Image enhance method TWI595449B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW104144503A TWI595449B (en) 2015-12-30 2015-12-30 Image enhance method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW104144503A TWI595449B (en) 2015-12-30 2015-12-30 Image enhance method

Publications (2)

Publication Number Publication Date
TW201724014A TW201724014A (en) 2017-07-01
TWI595449B true TWI595449B (en) 2017-08-11

Family

ID=60048074

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104144503A TWI595449B (en) 2015-12-30 2015-12-30 Image enhance method

Country Status (1)

Country Link
TW (1) TWI595449B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI816019B (en) * 2020-02-11 2023-09-21 友達光電股份有限公司 Real/fake fingerprint read device, method, and non-transitory computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7072523B2 (en) * 2000-09-01 2006-07-04 Lenovo (Singapore) Pte. Ltd. System and method for fingerprint image enhancement using partitioned least-squared filters
CN102270297A (en) * 2011-07-21 2011-12-07 中国人民解放军国防科学技术大学 Fingerprint image enhancement method
TW201432621A (en) * 2013-02-14 2014-08-16 Lsi Corp Method and apparatus for image enhancement and edge verification using at least one additional image

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7072523B2 (en) * 2000-09-01 2006-07-04 Lenovo (Singapore) Pte. Ltd. System and method for fingerprint image enhancement using partitioned least-squared filters
CN102270297A (en) * 2011-07-21 2011-12-07 中国人民解放军国防科学技术大学 Fingerprint image enhancement method
TW201432621A (en) * 2013-02-14 2014-08-16 Lsi Corp Method and apparatus for image enhancement and edge verification using at least one additional image

Also Published As

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

Similar Documents

Publication Publication Date Title
US10223772B2 (en) Method and system for denoising and demosaicing artifact suppression in digital images
US8514303B2 (en) Advanced imaging systems and methods utilizing nonlinear and/or spatially varying image processing
JP5197414B2 (en) Image processing apparatus and image processing method
US8165419B2 (en) Histogram stretching apparatus and histogram stretching method for enhancing contrast of image
Park et al. Sand-dust image enhancement using successive color balance with coincident chromatic histogram
US20040057623A1 (en) Method for automated processing of digital image data
JP2008181520A (en) System and method for reconstructing restored facial image from video
WO2012042771A1 (en) Image processor, image processing method, and integrated circuit
Nikonorov et al. Comparative evaluation of deblurring techniques for Fresnel lens computational imaging
US7269296B2 (en) Method and apparatus for shoot suppression in image detail enhancement
WO2017169039A1 (en) Image processing device, imaging device, image processing method, and program
Mohan et al. Underwater image enhancement based on histogram manipulation and multiscale fusion
Al-Hatmi et al. A review of Image Enhancement Systems and a case study of Salt &pepper noise removing
WO2018100950A1 (en) Image processing device, digital camera, image processing program, and recording medium
CN109919922B (en) Quality detection method for silicon-silicon direct bonding based on combination of spatial domain and morphology
TWI595449B (en) Image enhance method
WO2020093441A1 (en) Detail processing method and device for image saturation enhancement
Al-Ameen Contrast enhancement for color images using an adjustable contrast stretching technique
Hsin et al. Color to grayscale transform preserving natural order of hues
JP5614550B2 (en) Image processing method, image processing apparatus, and program
Anjana et al. Color image enhancement using edge based histogram equalization
CN110545414B (en) Image sharpening method
Huang et al. An effective algorithm for specular reflection image enhancement
El Hassani et al. Efficient image denoising method based on mathematical morphology reconstruction and the Non-Local Means filter for the MRI of the head
Deperlioglu et al. Practical method for the underwater image enhancement with adjusted CLAHE