[go: up one dir, main page]

TWI460679B - Section length enhancement unit and method - Google Patents

Section length enhancement unit and method Download PDF

Info

Publication number
TWI460679B
TWI460679B TW099145528A TW99145528A TWI460679B TW I460679 B TWI460679 B TW I460679B TW 099145528 A TW099145528 A TW 099145528A TW 99145528 A TW99145528 A TW 99145528A TW I460679 B TWI460679 B TW I460679B
Authority
TW
Taiwan
Prior art keywords
enhancement
pixel
value
pixels
minimum
Prior art date
Application number
TW099145528A
Other languages
Chinese (zh)
Other versions
TW201227611A (en
Original Assignee
Nat Univ Chung Hsing
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 Nat Univ Chung Hsing filed Critical Nat Univ Chung Hsing
Priority to TW099145528A priority Critical patent/TWI460679B/en
Publication of TW201227611A publication Critical patent/TW201227611A/en
Application granted granted Critical
Publication of TWI460679B publication Critical patent/TWI460679B/en

Links

Landscapes

  • Image Processing (AREA)

Description

區段長度增強單元及方法Section length enhancement unit and method

本發明是有關於一種單元及方法,特別是指一種區段長度增強單元及方法。The present invention relates to a unit and method, and more particularly to a section length enhancement unit and method.

一般傳統的影像增強方法通常為全域性影像增強,缺點為:無法對區域性的影像細節有效地加強。Generally, the conventional image enhancement method is generally a global image enhancement, and the disadvantage is that the regional image details cannot be effectively enhanced.

如圖1所示,於「R.C.Gonzalez and R.E.Woods,Digital image processing,3rd ed.Upper Saddle River,N.J.:Prentice Hall,2008.」提及一種習知可進行區域性的影像加強的空間濾波(Spatial Filtering)影像增強方法,適用於接收一具有多個像素的原始畫面,並根據使用者需求利用不同的核心遮罩(kernel masks)來對該原始畫面進行影像加強,以得到一增強畫面,且包含以下步驟:As shown in Fig. 1, "RC Gonzalez and REWoods, Digital image processing, 3rd ed. Upper Saddle River, NJ: Prentice Hall, 2008." refers to a conventional spatial filtering that can perform regional image enhancement (Spatial). Filtering) image enhancement method, which is suitable for receiving an original picture with multiple pixels, and using different kernel masks to enhance the original picture according to user requirements, to obtain an enhanced picture, and The following steps:

步驟A1:根據使用者需求選定一適合的核心遮罩,該核心遮罩可以某一種濾波器實現,例如:低通濾波器(Low-Poss Filter)、高通濾波器(High-Pass Filter)、平均濾波器(Mean Filter)和分類濾波器(Sort Filter)。Step A1: Select a suitable core mask according to user requirements. The core mask can be implemented by a certain filter, such as Low-Poss Filter, High-Pass Filter, and average. Filter (Mean Filter) and Sort Filter.

步驟A2:利用選定之核心遮罩的值 w (x,y ) 對該原始影像的所有像素值 f (x,y ) 進行迴旋積(convolution)運算而獲得該增強畫面,該增強畫面具有多個增強像素值 g (x,y ) ,如式(1)所示: g (x,y )=f (x,y )*w (x,y ) 式(1)Step A2: performing a convolution operation on all pixel values f ( x, y ) of the original image by using the value w ( x, y ) of the selected core mask to obtain the enhanced picture, the enhanced picture having multiple Enhance the pixel value g ( x, y ) as shown in equation (1): g ( x, y ) = f ( x, y ) * w ( x, y ) (1)

上述式(1)為連續格式的表示方式,在離散格式中,迴 旋積運算則變成 g i,j = f i,j *w i,j ,參數gi,j 、fi,j w i,j 分別定義為增強像素值、該原始影像的像素值、核心遮罩的值,又 w i,j 可以視為一個權重遮罩。The above formula (1) is a representation of a continuous format in which the gyro product becomes g i,j = f i,j * w i,j , the parameters g i,j , f i,j , w i , j is defined as the enhancement pixel value, the pixel value of the original image, the value of the core mask, and w i, j can be regarded as a weight mask.

如圖2所示,為一顯示多個物件的原始畫面,又該原始畫面經由上述空間濾波影像增強方法所得到之增強畫面如圖3所示,可看出圖3的箭頭R所指物件之間的相鄰邊界區隔的較模糊,又箭頭G所指物件內部紋理對比不清。As shown in FIG. 2, the original picture displayed by the plurality of objects, and the enhanced picture obtained by the original picture through the spatial filtering image enhancement method is as shown in FIG. 3, and the object indicated by the arrow R in FIG. 3 can be seen. The adjacent boundary between the two is relatively blurred, and the internal texture of the object indicated by the arrow G is unclear.

習知空間濾波影像增強方法的缺點為:The disadvantages of the conventional spatial filtering image enhancement method are:

1.影像增強後的每一物件的邊界較模糊,且內部紋理對比不清。1. The boundary of each object after image enhancement is blurred, and the internal texture is unclear.

2.由核心遮罩之尺寸不同而對應產生出不同的影像增強效果,所以隨著核心遮罩尺寸之變動而導致模糊掉重要的影像邊界資訊,也就是當核心遮罩尺寸越大時,模糊重要邊界資訊的情況更嚴重。2. The size of the core mask is different and corresponding to different image enhancement effects, so as the size of the core mask changes, the important image boundary information is blurred, that is, when the core mask size is larger, the blur The situation of important border information is more serious.

因此,本發明之第一目的,即在提供一種可以解決上述問題的區段長度增強單元。Accordingly, a first object of the present invention is to provide a segment length enhancement unit that can solve the above problems.

該區段長度增強單元,包含:一增強值運算模組,接收一具有多個像素的原始畫面,並根據每一像素在一預設範圍內遭多個方向通過的切割線上之所有像素的灰階值,進行比較以得到一最大增強值和一最小增強值;及一對比增強模組,接收該原始畫面的每一像素,並從該增強值運算模組接收每一像素所對應的該最大增強值和 該最小增強值,並據以增強該等像素間的對比度以得到一影像增強畫面。The segment length enhancement unit comprises: an enhancement value operation module, receiving an original picture having a plurality of pixels, and graying out all the pixels on the cutting line passing through the plurality of pixels in a predetermined range according to each pixel a step value, which is compared to obtain a maximum enhancement value and a minimum enhancement value; and a contrast enhancement module that receives each pixel of the original picture and receives the maximum corresponding to each pixel from the enhancement value operation module Enhanced value and The minimum enhancement value is used to enhance the contrast between the pixels to obtain an image enhancement picture.

本發明之第二目的,即在提供一種區段長度增強方法。A second object of the present invention is to provide a segment length enhancement method.

該區段長度增強方法,適用於由一區段長度增強單元執行,該區段長度增強單元包含一增強值運算模組及一對比增強模組,該區段長度增強方法包含以下步驟:(A)利用該增強值運算模組接收一具有多個像素的原始畫面,並根據每一像素在一預設範圍內遭多個方向通過的切割線上之所有像素的灰階值,進行比較以得到一最大增強值和一最小增強值;及(B)利用該對比增強模組接收該原始畫面的每一像素,並從該增強值運算模組接收每一像素所對應的該最大增強值和最小增強值,並據以增強該等像素間的對比度以得到一影像增強畫面。The segment length enhancement method is applicable to a segment length enhancement unit, the segment length enhancement unit includes an enhancement value operation module and a contrast enhancement module, and the segment length enhancement method includes the following steps: (A Using the enhanced value computing module to receive an original picture having a plurality of pixels, and comparing the grayscale values of all the pixels on the cutting line that are passed in a plurality of directions within a predetermined range for each pixel to obtain a a maximum enhancement value and a minimum enhancement value; and (B) receiving, by the contrast enhancement module, each pixel of the original picture, and receiving, from the enhancement value operation module, the maximum enhancement value and minimum enhancement corresponding to each pixel Values, and accordingly enhance the contrast between the pixels to obtain an image enhancement picture.

有關本發明之前述及其他技術內容、特點與功效,在以下配合參考圖式之一個較佳實施例的詳細說明中,將可清楚的呈現。The above and other technical contents, features and advantages of the present invention will be apparent from the following detailed description of the preferred embodiments.

如圖4所示,本發明區段長度(run length)增強單元3之較佳實施例,適用於連接於一顯示模組6並接收一具有多個位於不同座標(x,y)的像素的原始畫面,並增強該等像素間的對比度以得到一影像增強畫面,且包含:一增強值運算模組4,及一對比增強模組5。As shown in FIG. 4, a preferred embodiment of the run length enhancement unit 3 of the present invention is adapted to be coupled to a display module 6 and receive a plurality of pixels having different coordinates (x, y). The original picture is enhanced, and the contrast between the pixels is enhanced to obtain an image enhancement picture, and includes: an enhancement value calculation module 4, and a contrast enhancement module 5.

該增強值運算模組4包括一方向特徵運算器41和一特徵比較器42。The enhancement value computing module 4 includes a directional feature operator 41 and a feature comparator 42.

該對比增強模組5包括一平均運算器51和一對比增強器52。The contrast enhancement module 5 includes an averaging operator 51 and a contrast enhancer 52.

如圖5所示,該區段長度增強單元3執行一種區段長度增強方法,該區段長度增強方法包含以下步驟:As shown in FIG. 5, the section length enhancement unit 3 performs a section length enhancement method, which includes the following steps:

步驟1:利用該增強值運算模組4接收該原始畫面的多個像素,並根據每一像素在一預設範圍內遭多個方向通過的切割線上之所有像素的灰階值chk ,進行比較以得到一最大增強值maxc 和一最小增強值minc ,分別如式(1)、式(2)所示: Step 1: using the enhanced value computing module 4 to receive a plurality of pixels of the original picture, and performing grayscale values c hk of all pixels on a cutting line that passes through a plurality of directions in a predetermined range according to each pixel. The comparison is to obtain a maximum enhancement value max c and a minimum enhancement value min c , as shown in equations (1) and (2), respectively:

其中,參數L的定義為切割線總數-1,如圖6所示,在本實施例中為8個方向(L=7)的切割線,分別是經過處於中心座標的像素fc(x,y)之 l 0 l 1 、...、 l 7 ,且 l h 與X軸的夾角各為 22.5 ×h ° ,又該預設範圍的大小為k×k個像素,k3,且是以每一像素之座標為該預設範圍的中心座標,但不限於此預設,也可以是其他預設方式。Wherein, the parameter L is defined as the total number of cutting lines -1, as shown in FIG. 6, in this embodiment, the cutting lines of 8 directions (L=7) are respectively passed through the pixel fc (x, y) at the center coordinate. ) of l 0, l 1, ..., l 7, l h and the angle of each X-axis 22.5 × h °, should the size of the predetermined range of pixels k × k, k 3, and the coordinates of each pixel are the central coordinates of the preset range, but are not limited to this preset, and may also be other preset manners.

又該步驟1包括以下子步驟:Again, step 1 includes the following sub-steps:

子步驟11:利用該方向特徵運算器41將每一像素預設 為該預設範圍的中心座標之像素,並根據通過中心座標的多個切割線上之所有像素的灰階值分別進行平均運算以得到每一切割線所對應的一平均灰階值~Sub-step 11: using the directional feature operator 41 to preset each pixel as a pixel of a central coordinate of the preset range, and perform averaging operations according to grayscale values of all pixels on the plurality of cutting lines passing through the center coordinate, respectively. Obtain an average grayscale value corresponding to each cutting line ~ .

子步驟12:利用該特徵比較器42從該方向特徵運算器41接收每一像素所對應的多個平均灰階值,並將該等平均灰階值進行比較,以得到其中最大的一者和最小的一者作為每一像素所對應的該最大增強值maxc 和最小增強值mincSub-step 12: using the feature comparator 42 to receive a plurality of average grayscale values corresponding to each pixel from the directional feature operator 41, and compare the average grayscale values to obtain one of the largest ones. The smallest one is the maximum enhancement value max c and the minimum enhancement value min c corresponding to each pixel.

步驟2:利用該對比增強模組5接收該原始畫面的每一像素,並從該增強值運算模組4接收每一像素所對應的該最大增強值maxc 和最小增強值minc ,並據以比較以增強該等像素間的對比度,而得到該影像增強畫面供該顯示模組6顯示。Step 2: The contrast enhancement module 5 receives each pixel of the original picture, and receives the maximum enhancement value max c and the minimum enhancement value min c corresponding to each pixel from the enhancement value calculation module 4, and according to The image enhancement screen is obtained for comparison by the contrast to enhance the contrast between the pixels.

又該步驟2包括以下子步驟:Again, step 2 includes the following substeps:

子步驟21:利用該平均運算器51接收該原始畫面的每一像素,並以每一像素為該預設範圍的中心座標之像素,並將該預設範圍內所有像素的灰階值進行平均運算,以得到該原始畫面的每一像素所對應的一臨界值。Sub-step 21: receiving, by the averaging operator 51, each pixel of the original picture, and taking each pixel as a pixel of a central coordinate of the preset range, and averaging grayscale values of all pixels in the preset range An operation is performed to obtain a critical value corresponding to each pixel of the original picture.

子步驟22:利用該對比增強器52接收該原始畫面的每一像素,並從該特徵比較器42接收每一像素所對應的該最大增強值maxc 和最小增強值minc ,從該平均運算器接收每一像素所對應的該臨界值,且將該等像素的灰階值f(x,y)分別比較於所對應的該臨界值,若大於該所對應臨界值則將該像素的灰階值指派為該最大增強值maxc ,反之,則將該 像素的灰階值指派為該最小增強值minc ,以得到該影像增強畫面。Sub-step 22: receiving, by the contrast enhancer 52, each pixel of the original picture, and receiving, from the feature comparator 42 the maximum enhancement value max c and the minimum enhancement value min c corresponding to each pixel, from the average operation Receiving the threshold value corresponding to each pixel, and comparing the grayscale values f(x, y) of the pixels to the corresponding threshold value respectively, and if the threshold value is greater than the corresponding threshold value, the gray of the pixel The order value is assigned to the maximum enhancement value max c , and conversely, the gray scale value of the pixel is assigned to the minimum enhancement value min c to obtain the image enhancement picture.

值得注意的是,上述實施例除了可以用軟體實現,也可以用硬體實現。It should be noted that the above embodiment can be implemented by using hardware instead of software.

<實驗結果><Experimental results>

如圖7所示,為圖2之原始畫面經由上述之區段長度增強單元處理3後所得到的該影像增強畫面,由圖7與圖3比較可看出:圖7的箭頭R所指物件之間的相鄰邊界區隔的較明顯,又箭頭G所指物件內部紋理對比增強。As shown in FIG. 7 , the image enhancement screen obtained after the original screen of FIG. 2 is processed by the section length enhancement unit 3 described above can be seen by comparing FIG. 7 with FIG. 3 : the object indicated by the arrow R of FIG. 7 . The adjacent boundary between the two is more obvious, and the internal texture of the object indicated by the arrow G is enhanced.

綜上所述,上述實施例具有以下優點:In summary, the above embodiment has the following advantages:

1.影像增強後的每一物件的邊界較明顯,且內部紋理對比增強。1. The boundary of each object after image enhancement is more obvious, and the internal texture contrast is enhanced.

2.利用方向性的區域影像增強技術,不會因核心遮罩尺寸之變動而模糊掉重要的影像邊界資訊。2. Using directional regional image enhancement technology, it will not obscure important image boundary information due to changes in core mask size.

3.能得到一區域強化的影像增強畫面,可以有效地強化像素間區域對比度,並具有去除雜訊之功用及達到斷線補強之效果。3. A region-enhanced image enhancement screen can be obtained, which can effectively enhance the contrast between pixels, and has the effect of removing noise and achieving the effect of disconnection.

惟以上所述者,僅為本發明之較佳實施例而已,當不能以此限定本發明實施之範圍,即大凡依本發明申請專利範圍及發明說明內容所作之簡單的等效變化與修飾,皆仍屬本發明專利涵蓋之範圍內。The above is only the preferred embodiment of the present invention, and the scope of the invention is not limited thereto, that is, the simple equivalent changes and modifications made by the scope of the invention and the description of the invention are All remain within the scope of the invention patent.

1~2‧‧‧增強的步驟1~2‧‧‧Enhanced steps

11~12‧‧‧比較的步驟11~12‧‧‧Compare steps

21~22‧‧‧對比的步驟21~22‧‧‧Steps for comparison

R、G‧‧‧箭頭R, G‧‧‧ arrows

3‧‧‧區段長度增強單元3‧‧‧ Section length enhancement unit

4‧‧‧增強值運算模組4‧‧‧Enhanced Value Computing Module

41‧‧‧方向特徵運算器41‧‧‧ Directional Feature Operator

42‧‧‧特徵比較器42‧‧‧Character Comparator

5‧‧‧對比增強模組5‧‧‧Contrast Enhancement Module

51‧‧‧平均運算器51‧‧‧Average Operator

52‧‧‧對比增強器52‧‧‧Contrast enhancer

6‧‧‧顯示模組6‧‧‧Display module

圖1是一種習知的空間濾波影像增強方法的流程圖;圖2是一種原始畫面; 圖3是該原始畫面經由上述空間濾波影像增強方法所得到之增強畫面;圖4是本發明區段長度增強單元之較佳實施例的方塊圖;圖5是該較佳實施例執行一種區段長度增強方法的流程圖;圖6是一顯示八條切割線的示意圖;及圖7是一種相關於該原始畫面之影像增強畫面。1 is a flow chart of a conventional spatial filtering image enhancement method; FIG. 2 is an original picture; 3 is a block diagram of the original picture obtained by the spatial filtering image enhancement method; FIG. 4 is a block diagram of a preferred embodiment of the segment length enhancement unit of the present invention; FIG. 5 is a block diagram of the preferred embodiment. A flowchart of the length enhancement method; FIG. 6 is a schematic diagram showing eight cutting lines; and FIG. 7 is an image enhancement screen related to the original image.

3‧‧‧區段長度增強單元3‧‧‧ Section length enhancement unit

4‧‧‧增強值運算模組4‧‧‧Enhanced Value Computing Module

41‧‧‧方向特徵運算器41‧‧‧ Directional Feature Operator

42‧‧‧特徵比較器42‧‧‧Character Comparator

5‧‧‧對比增強模組5‧‧‧Contrast Enhancement Module

51‧‧‧平均運算器51‧‧‧Average Operator

52‧‧‧對比增強器52‧‧‧Contrast enhancer

6‧‧‧顯示模組6‧‧‧Display module

Claims (8)

一種區段長度增強單元,包含:一增強值運算模組,接收一具有多個像素的原始畫面,並根據每一像素在一預設範圍內遭多個方向通過的切割線上之所有像素的灰階值,進行比較以得到一最大增強值和一最小增強值;及一對比增強模組,接收該原始畫面的每一像素,並從該增強值運算模組接收每一像素所對應的該最大增強值和該最小增強值,並據以增強該等像素間的對比度以得到一影像增強畫面,該對比增強模組包括:一平均運算器,接收該原始畫面的每一像素,並以每一像素為該預設範圍的中心座標之像素,並將該預設範圍內所有像素的灰階值進行平均運算,以得到該原始畫面的每一像素所對應的一臨界值;及一對比增強器,接收該原始畫面的每一像素,並從該增強值運算模組接收每一像素所對應的該最大增強值和該最小增強值,從該平均運算器接收每一像素所對應的該臨界值,且將該等像素的灰階值分別比較於所對應的該臨界值,若大於該所對應臨界值則將該像素的灰階值指派為該最大增強值,反之,則將該像素的灰階值指派為該最小增強值,以得到該影像增強畫面。 A segment length enhancement unit includes: an enhancement value operation module that receives an original picture having a plurality of pixels and grays out all pixels on a cutting line that passes through a plurality of directions in a predetermined range for each pixel a step value, which is compared to obtain a maximum enhancement value and a minimum enhancement value; and a contrast enhancement module that receives each pixel of the original picture and receives the maximum corresponding to each pixel from the enhancement value operation module An enhancement value and the minimum enhancement value, and thereby enhancing the contrast between the pixels to obtain an image enhancement picture, the contrast enhancement module comprising: an averaging operator, receiving each pixel of the original picture, and each The pixel is a pixel of a central coordinate of the preset range, and averaging gray scale values of all pixels in the preset range to obtain a threshold corresponding to each pixel of the original picture; and a contrast enhancer Receiving each pixel of the original picture, and receiving, from the enhanced value operation module, the maximum enhancement value and the minimum enhancement value corresponding to each pixel, from the average operation Receiving the threshold value corresponding to each pixel, and comparing the grayscale values of the pixels to the corresponding threshold value respectively, and if greater than the corresponding threshold value, assigning the grayscale value of the pixel to the maximum enhancement The value, otherwise, assigns the grayscale value of the pixel to the minimum enhancement value to obtain the image enhancement picture. 依據申請專利範圍第1項所述之區段長度增強單元,其中,該增強值運算模組包括:一方向特徵運算器,將每一像素預設為該預設範圍 的中心座標之像素,並根據通過中心座標的多個切割線上之所有像素的灰階值分別進行平均運算以得到每一切割線所對應的一平均灰階值;及一特徵比較器,從該方向特徵運算器接收每一像素所對應的多個平均灰階值,並將該等平均灰階值進行比較,以得到其中最大的一者和最小的一者作為每一像素所對應的該最大增強值和該最小增強值。 The segment length enhancement unit of claim 1, wherein the enhancement value calculation module comprises: a directional feature operator, each pixel is preset to the preset range a pixel of the center coordinate, and performing an average operation on the gray scale values of all the pixels on the plurality of cutting lines passing through the center coordinate to obtain an average gray scale value corresponding to each cutting line; and a feature comparator from the The directional feature operator receives a plurality of average grayscale values corresponding to each pixel, and compares the average grayscale values to obtain the largest one and the smallest one as the maximum corresponding to each pixel The enhancement value and the minimum enhancement value. 依據申請專利範圍第1項所述之區段長度增強單元,其中,該增強值運算模組根據以下方式得到每一像素所對應的該最大增強值: 其中,參數L、k、chk 分別是切割線總數-1、像素的數目、像素的灰階值。The segment length enhancement unit according to claim 1, wherein the enhancement value operation module obtains the maximum enhancement value corresponding to each pixel according to the following manner: The parameters L, k, and c hk are the total number of cut lines -1, the number of pixels, and the gray scale value of the pixel. 依據申請專利範圍第1項所述之區段長度增強單元,其中,該增強值運算模組根據以下方式得到每一像素所對應的該最小增強值: 其中,參數L、k、chk 分別是切割線總數-1、像素的數目、像素的灰階值。The segment length enhancement unit according to claim 1, wherein the enhancement value calculation module obtains the minimum enhancement value corresponding to each pixel according to the following manner: The parameters L, k, and c hk are the total number of cut lines -1, the number of pixels, and the gray scale value of the pixel. 一種區段長度增強方法,適用於由一區段長度增強單元執行,該區段長度增強單元包含一增強值運算模組及一 對比增強模組,該對比增強模組包括一平均運算器和一對比增強器,該區段長度增強方法包含以下步驟:(A)利用該增強值運算模組接收一具有多個像素的原始畫面,並根據每一像素在一預設範圍內遭多個方向通過的切割線上之所有像素的灰階值,進行比較以得到一最大增強值和一最小增強值;及(B)利用該對比增強模組接收該原始畫面的每一像素,並從該增強值運算模組接收每一像素所對應的該最大增強值和最小增強值,並據以增強該等像素間的對比度以得到一影像增強畫面,該步驟(B)包括以下子步驟:(B1)利用該平均運算器接收該原始畫面的每一像素,並以每一像素為該預設範圍的中心座標之像素,並將該預設範圍內所有像素的灰階值進行平均運算,以得到該原始畫面的每一像素所對應的一臨界值;及(B2)利用該對比增強器接收該原始畫面的每一像素,並從該增強值運算模組接收每一像素所對應的該最大增強值和該最小增強值,從該平均運算器接收每一像素所對應的該臨界值,且將該等像素的灰階值分別比較於所對應的該臨界值,若大於該所對應臨界值則將該像素的灰階值指派為該最大增強值,反之,則將該像素的灰階值指派為該最小增強值,以得到該影像增強畫面。 A segment length enhancement method, which is suitable for being executed by a segment length enhancement unit, the segment length enhancement unit includes an enhancement value operation module and a The contrast enhancement module includes an averaging operator and a contrast enhancer. The segment length enhancement method includes the following steps: (A) receiving an original image having a plurality of pixels by using the enhanced value computing module And comparing the grayscale values of all the pixels on the cutting line that each pixel passes through in a plurality of directions within a predetermined range to obtain a maximum enhancement value and a minimum enhancement value; and (B) using the contrast enhancement The module receives each pixel of the original picture, and receives the maximum enhancement value and the minimum enhancement value corresponding to each pixel from the enhancement value operation module, and accordingly enhances the contrast between the pixels to obtain an image enhancement. Screen, the step (B) includes the following sub-steps: (B1) receiving, by the averaging operator, each pixel of the original picture, and taking each pixel as a pixel of a central coordinate of the preset range, and the preset The grayscale values of all pixels in the range are averaged to obtain a threshold corresponding to each pixel of the original picture; and (B2) each image of the original picture is received by the contrast enhancer Receiving, from the enhanced value computing module, the maximum enhancement value and the minimum enhancement value corresponding to each pixel, receiving the threshold corresponding to each pixel from the averaging operator, and setting the grayscale of the pixels The value is respectively compared with the corresponding threshold value, and if it is greater than the corresponding threshold value, the grayscale value of the pixel is assigned as the maximum enhancement value, and vice versa, the grayscale value of the pixel is assigned as the minimum enhancement value. To obtain the image enhancement screen. 依據申請專利範圍第5項所述之區段長度增強方法,其中,該增強值運算模組包括一方向特徵運算器和一特徵比較器,且該步驟(A)包括以下子步驟: (A1)利用該方向特徵運算器將每一像素預設為該預設範圍的中心座標之像素,並根據通過中心座標的多個切割線上之所有像素的灰階值分別進行平均運算以得到每一切割線所對應的一平均灰階值;及(A2)利用該特徵比較器從該方向特徵運算器接收每一像素所對應的多個平均灰階值,並將該等平均灰階值進行比較,以得到其中最大的一者和最小的一者作為每一像素所對應的該最大增強值和該最小增強值。 The segment length enhancement method according to claim 5, wherein the enhancement value calculation module comprises a directional feature operator and a feature comparator, and the step (A) comprises the following substeps: (A1) using the directional feature operator to preset each pixel as a pixel of a central coordinate of the preset range, and performing averaging operations according to grayscale values of all pixels on the plurality of cutting lines passing through the center coordinate to obtain each An average grayscale value corresponding to a cutting line; and (A2) receiving, by the characteristic comparator, a plurality of average grayscale values corresponding to each pixel from the directional component operator, and performing the average grayscale values The comparison is to obtain the largest one and the smallest one as the maximum enhancement value and the minimum enhancement value corresponding to each pixel. 依據申請專利範圍第5項所述之區段長度增強方法,其中,在步驟(A)中,是根據以下方式得到每一像素所對應的該最大增強值: 其中,參數L、k、chk 分別是切割線總數-1、像素的數目、像素的灰階值。The segment length enhancement method according to claim 5, wherein in the step (A), the maximum enhancement value corresponding to each pixel is obtained according to the following manner: The parameters L, k, and c hk are the total number of cut lines -1, the number of pixels, and the gray scale value of the pixel. 依據申請專利範圍第5項所述之區段長度增強方法,其中,在步驟(A)中,是根據以下方式得到每一像素所對應的該最小增強值: 其中,參數L、k、chk 分別是切割線總數-1、像素的數目、像素的灰階值。The segment length enhancement method according to claim 5, wherein in the step (A), the minimum enhancement value corresponding to each pixel is obtained according to the following manner: The parameters L, k, and c hk are the total number of cut lines -1, the number of pixels, and the gray scale value of the pixel.
TW099145528A 2010-12-23 2010-12-23 Section length enhancement unit and method TWI460679B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW099145528A TWI460679B (en) 2010-12-23 2010-12-23 Section length enhancement unit and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW099145528A TWI460679B (en) 2010-12-23 2010-12-23 Section length enhancement unit and method

Publications (2)

Publication Number Publication Date
TW201227611A TW201227611A (en) 2012-07-01
TWI460679B true TWI460679B (en) 2014-11-11

Family

ID=46933340

Family Applications (1)

Application Number Title Priority Date Filing Date
TW099145528A TWI460679B (en) 2010-12-23 2010-12-23 Section length enhancement unit and method

Country Status (1)

Country Link
TW (1) TWI460679B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110490262B (en) * 2019-08-22 2022-06-03 京东方科技集团股份有限公司 Image processing model generation method, image processing method, device and electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200618614A (en) * 2004-11-30 2006-06-01 Mediatek Inc Systems and methods for image processing
US20060232823A1 (en) * 2005-04-13 2006-10-19 Hooper David S Image contrast enhancement
US20100166334A1 (en) * 2008-12-29 2010-07-01 Arcsoft Hangzhou Co., Ltd. Method for magnifying images and videos

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200618614A (en) * 2004-11-30 2006-06-01 Mediatek Inc Systems and methods for image processing
US20060232823A1 (en) * 2005-04-13 2006-10-19 Hooper David S Image contrast enhancement
US20100166334A1 (en) * 2008-12-29 2010-07-01 Arcsoft Hangzhou Co., Ltd. Method for magnifying images and videos

Also Published As

Publication number Publication date
TW201227611A (en) 2012-07-01

Similar Documents

Publication Publication Date Title
CN108038833B (en) Image self-adaptive sharpening method for gradient correlation detection and storage medium
WO2016206087A1 (en) Low-illumination image processing method and device
US8693783B2 (en) Processing method for image interpolation
CN107615331B (en) System and method for supporting image denoising based on neighborhood block dimension reduction
CN106599783B (en) Video occlusion detection method and device
WO2014169579A1 (en) Color enhancement method and device
CN103116876B (en) Method and device for image defogging
CN106663311B (en) System and method for increasing the bit depth of an image
CN101964859A (en) Image processing method and associated apparatus
CN105825478A (en) Structure analysis method for recovering missing structures in an image after object removal
CN107169932A (en) A kind of image recovery method based on Gauss Poisson mixed noise model suitable for neutron imaging system diagram picture
CN104376540B (en) Bayer image denoising method
CN104778672B (en) The bilateral image filtering method of one kind mixing
CN105243651B (en) Image edge enhancement method based on approximating variances and dark-coloured block pixels statistics information
CN104835127A (en) Adaptive smooth filtering method
CN102118547A (en) Image weighted filtering method
CN110503611A (en) The method and apparatus of image procossing
TWI460679B (en) Section length enhancement unit and method
CN105809677B (en) Image edge detection method and system based on bilateral filter
WO2014102876A1 (en) Image processing device and image processing method
CN103559690A (en) Method for achieving smoothness of image edges
CN110738656B (en) Definition evaluation method of certificate photo, storage medium and processor
WO2013161838A1 (en) Image processing method and image processing device
CN115131502B (en) Video stream filtering method, device, equipment and storage medium
CN114399447A (en) Mean filtering method and system

Legal Events

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