版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、<p><b> 中文4440字</b></p><p><b> 畢業(yè)設(shè)計(jì)/論文</b></p><p> 外 文 文 獻(xiàn) 翻 譯</p><p> 系 別 計(jì)算機(jī)與電子系 </p><p> 專 業(yè) 班 級(jí) 計(jì)算機(jī)科學(xué)與技術(shù)
2、 </p><p> 姓 名 </p><p> 原 文 出 處 Digital Image Processing 2/E</p><p> 評(píng) 分 </p><p> 指 導(dǎo) 教 師
3、 </p><p> 2012 年 3 月</p><p><b> 圖像分割</b></p><p> 前一章的資料使我們所研究的圖像處理方法開始發(fā)生了轉(zhuǎn)變。從輸人輸出均為圖像的處理方法轉(zhuǎn)變?yōu)檩斎藶閳D像而輸出為從這些圖像中提取出來的屬性的處理方法〔這方面在1.1節(jié)中定義過)。圖像分
4、割是這一方向的另一主要步驟。</p><p> 分割將圖像細(xì)分為構(gòu)成它的子區(qū)域或?qū)ο?。分割的程度取決于要解決的問題。就是說當(dāng)感興趣的對(duì)象已經(jīng)被分離出來時(shí)就停止分割。例如,在電子元件的自動(dòng)檢測(cè)方面,我們關(guān)注的是分析產(chǎn)品的圖像,檢測(cè)是否存在特定的異常狀態(tài),比如,缺失的元件或斷裂的連接線路。超過識(shí)別這此元件所需的分割是沒有意義的。</p><p> 異常圖像的分割是圖像處理中最困難的任務(wù)之一
5、。精確的分割決定著計(jì)算分析過程的成敗。因此,應(yīng)該特別的關(guān)注分割的穩(wěn)定性。在某些情況下,比如工業(yè)檢測(cè)應(yīng)用,至少有可能對(duì)環(huán)境進(jìn)行適度控制的檢測(cè)。有經(jīng)驗(yàn)的圖像處理系統(tǒng)設(shè)計(jì)師總是將相當(dāng)大的注意力放在這類可能性上。在其他應(yīng)用方面,比如自動(dòng)目標(biāo)采集,系統(tǒng)設(shè)計(jì)者無法對(duì)環(huán)境進(jìn)行控制。所以,通常的方法是將注意力集中于傳感器類型的選擇上,這樣可以增強(qiáng)獲取所關(guān)注對(duì)象的能力,從而減少圖像無關(guān)細(xì)節(jié)的影響。一個(gè)很好的例子就是,軍方利用紅外線圖像發(fā)現(xiàn)有很強(qiáng)熱信號(hào)的目
6、標(biāo),比如移動(dòng)中的裝備和部隊(duì)。</p><p> 圖像分割算法一般是基于亮度值的不連續(xù)性和相似性兩個(gè)基本特性之一。第一類性質(zhì)的應(yīng)用途徑是基于亮度的不連續(xù)變化分割圖像,比如圖像的邊緣。第二類的主要應(yīng)用途徑是依據(jù)事先制定的準(zhǔn)則將圖像分割為相似的區(qū)域,門限處理、區(qū)域生長(zhǎng)、區(qū)域分離和聚合都是這類方法的實(shí)例。</p><p> 本章中,我們將對(duì)剛剛提到的兩類特性各討論一些方法。我們先從適合于檢測(cè)灰
7、度級(jí)的不連續(xù)性的方法展開,如點(diǎn)、線和邊緣。特別是邊緣檢測(cè)近年來已經(jīng)成為分割算法的主題。除了邊緣檢測(cè)本身,我們還會(huì)討論一些連接邊緣線段和把邊緣“組裝”為邊界的方法。關(guān)于邊緣檢測(cè)的討論將在介紹了各種門限處理技術(shù)之后進(jìn)行。門限處理也是一種人們普遍關(guān)注的用于分割處理的基礎(chǔ)性方法,特別是在速度因素占重要地位的應(yīng)用中。關(guān)于門限處理的討論將在幾種面向區(qū)域的分割方法展開的討論之后進(jìn)行。之后,我們將討論一種稱為分水嶺分割法的形態(tài)學(xué)圖像分割方法。這種方法特
8、別具有吸引力,因?yàn)樗鼘⒈菊碌谝徊糠痔岬降膸追N分割屬性技術(shù)結(jié)合起來了。我們將以圖像分割的應(yīng)用方面進(jìn)行討論來結(jié)束本章。</p><p><b> 10.1間斷檢測(cè)</b></p><p> 在本節(jié)中,我們介紹幾種用于檢測(cè)數(shù)字圖像中三種基本的灰度級(jí)間斷技術(shù):點(diǎn)、線和邊緣。尋找間斷最一般的方法是以3.5節(jié)中描述的方式對(duì)整幅圖像使用一個(gè)模板進(jìn)行檢測(cè)。圖10-1所示的3x3模
9、板,這一過程包括計(jì)算模板所包圍區(qū)域內(nèi)灰度級(jí)與模板系數(shù)的乘積之和。就是說,關(guān)于式(3.5.3),在圖像中任意點(diǎn)的模板響應(yīng)由下列公式給出:</p><p><b> ?。?0.1.1)</b></p><p> 圖10-1 一個(gè)一般的3*3模板</p><p> 這里Zi是與模板系數(shù)Wi相聯(lián)系的像素的灰度級(jí)。照例,模板響應(yīng)是它的中心位置。有關(guān)執(zhí)
10、行模板操作的細(xì)節(jié)在3.5節(jié)中討論。</p><p><b> 10.1.1點(diǎn)檢測(cè)</b></p><p> 在一幅圖像中,孤立點(diǎn)的檢測(cè)在理論上是簡(jiǎn)單的。使用如圖10-2(a)所示的模板,如果</p><p> |R| ≥ T (10.1.2)</p><p> 我們說在模板中心的位置上已經(jīng)檢測(cè)到一個(gè)點(diǎn)。這里
11、T是一個(gè)非負(fù)門限,R由式(10.1.1)給出。基本上,這個(gè)公式是測(cè)量中心點(diǎn)和它的相鄰點(diǎn)之間加權(quán)的差值?;舅枷刖褪?如果一個(gè)孤立的點(diǎn)(此點(diǎn)的灰度級(jí)與其背景的差異相當(dāng)大并且它所在的位置是一個(gè)均勻的或近似均勻的區(qū)域)與它周圍的點(diǎn)很不相同,則很容易被這類模板檢測(cè)到。注意,圖10-2(a)中的模板同圖3.39(d)中給出的模板在拉普拉斯操作方而是相同的。嚴(yán)格地講,這里強(qiáng)調(diào)的是點(diǎn)的檢測(cè)。即我們著重考慮的差別是那些足以識(shí)別為孤立點(diǎn)的差異(由T決定)
12、。注意,模板系數(shù)之和為零表示在灰度級(jí)為常數(shù)的區(qū)域,模板響應(yīng)為零。</p><p><b> ?。╝)</b></p><p> ?。╞) (c) (d)</p><p> 圖10-2 (a)點(diǎn)檢測(cè)模板,(b)帶有通孔的渦輪葉片的X射線,(c)點(diǎn)檢測(cè)的<
13、/p><p> 結(jié)果,(d)使用式(10.1.2)得到的結(jié)果(原圖由X-TEK系統(tǒng)公司提供)</p><p> 例10.1圖像中孤立點(diǎn)的檢瀏</p><p> 我們以圖10-2(b)功為輔助說明如何從一幅圖中將孤立點(diǎn)分割出來.這幅X射線圖顯示了一個(gè)帶有通孔的噴氣發(fā)動(dòng)抓渦槍葉片,通孔位于圈像的右上象限。在孔中只嵌有一個(gè)黑色像素。圖10-2(c)是將點(diǎn)檢測(cè)模板應(yīng)用于X
14、射線圖像后得到的結(jié)果.圖10-2(d)顯示了當(dāng)T取圖10-2(c)中像素最高絕襯值的90%時(shí),應(yīng)用式(10.1.2)所得的結(jié)果(門限選擇將在10.3節(jié)中詳細(xì)討論)。圖中的這個(gè)單一的像素清晰可見(這個(gè)像素被人為放大以便印刷后可以看到)。由于這類檢測(cè)是基于單像素間斷,并且檢測(cè)器模板的區(qū)域有一個(gè)均勻的背景,所以這個(gè)檢測(cè)過程是相當(dāng)有專用性的當(dāng)這一條件不能滿足時(shí),本章中計(jì)論的其他方法會(huì)更適合檢測(cè)灰度級(jí)間斷</p><p>
15、<b> 10.1.2線檢測(cè)</b></p><p> 復(fù)雜程度更高一級(jí)的檢測(cè)是線檢測(cè),考慮圖10-3中顯示的模板。如果第l個(gè)模板在圖像中移動(dòng),這個(gè)模板將對(duì)水平方向的線條(一個(gè)像素寬度)有更強(qiáng)的響應(yīng)。在一個(gè)不變的背景上,當(dāng)線條經(jīng)過模板的中間一行時(shí)會(huì)產(chǎn)生響應(yīng)的最大值。畫一個(gè)元素為1的簡(jiǎn)單陣列,并且使具有不同灰度級(jí)(如5)的一行水平穿過陣列,可以很容易驗(yàn)證這一點(diǎn)。同樣的實(shí)驗(yàn)可以顯示出圖10-
16、3中的第2個(gè)模板對(duì)于</p><p> 45°方向線有最佳響應(yīng);第3個(gè)模板對(duì)于垂直線有最佳響應(yīng);第4個(gè)模板對(duì)于</p><p> -45°方向線有最佳響應(yīng);這些方向也可以通過注釋每個(gè)模板的優(yōu)選方向來設(shè)置,即在這些方向上用比別的方向更大的系數(shù)(為2)設(shè)置權(quán)值。注意每個(gè)模板系數(shù)相加的總和為零,表示在灰度級(jí)恒定的區(qū)域來自模板的響應(yīng)為零。</p><p&
17、gt; Horizontal +45° Vertical -45°</p><p><b> 圖10-3 線模板</b></p><p> 令R1,R2,R3和R4。從左到右代表圖10-3中模板的響應(yīng),這里R的值由式(10.1.1)給出。</p><p>
18、 假設(shè)4個(gè)模板分別應(yīng)用于一幅圖像,在圖像中心的點(diǎn),如果|Ri|>|Rj| ,</p><p> j≠i,則此點(diǎn)被認(rèn)為與在模板i方向上的線更相關(guān)。例如,如果在圖中的一點(diǎn)有|Ri|>|Rj| ,j=2,3,4,我們說此特定點(diǎn)與水平線有更大的聯(lián)系。</p><p> 換句話說,我們可能對(duì)檢測(cè)特定方向上的線感興趣。在這種情況下,我們應(yīng)使用與這一方向有關(guān)的模板,并設(shè)置該模板的輸出門
19、限,如式(10.1.2)所示。換句話說,如果我們對(duì)檢測(cè)圖像中由給定模板定義的方向上的所有線感興趣.只需要簡(jiǎn)單地通過整幅圖像運(yùn)行模板,并對(duì)得到的結(jié)果的絕對(duì)值設(shè)置門限即可。留下的點(diǎn)是有最強(qiáng)響應(yīng)的點(diǎn)。對(duì)于一個(gè)像素寬度的線,這些響應(yīng)最靠近模板定義的對(duì)應(yīng)方向。下列例子說明了這一過程。</p><p> 例 10.2特定方向上的線檢測(cè)</p><p> 圖10-4(a)顯示了一幅電路接線模板的數(shù)字
20、化(二值的)圖像。假設(shè)我們要找到一個(gè)像素寬度的并且方向?yàn)?45°的線條?;谶@個(gè)假設(shè),使用圖10-3中最后一個(gè)模板。圖10-4(b)顯示了得到的結(jié)果的絕對(duì)值。注意,圖像中所有水平和垂直的部分都被除去了。并且在圖10-4(b)中所有原圖中接近-45°方向的部分產(chǎn)生了最強(qiáng)響應(yīng)。</p><p><b> ?。╝)</b></p><p> ?。╞)
21、 (c)</p><p> 圖10-4 線檢測(cè)的說明。(a)二進(jìn)制電路接線模板,(b)使用-45°線檢測(cè)器</p><p> 處理后得到的絕對(duì)值,(c)對(duì)圖像(b)設(shè)置門限得到的結(jié)果</p><p> 為了決定哪一條線擬合模板最好,只需要簡(jiǎn)單地對(duì)圖像設(shè)置門限。圖10-4(c)顯示了使門限等于圖像中最大值后得到
22、的結(jié)果。對(duì)于與這個(gè)例子類似的應(yīng)用,讓門限等于最大值是一個(gè)好的選擇,因?yàn)檩斎雸D像是二值的,并且我們要尋找的是最強(qiáng)響應(yīng)。圖10-4(c)顯示了在白色區(qū)所有通過門限檢測(cè)的點(diǎn)。此時(shí),這一過程只提取了一個(gè)像素寬且方向?yàn)?45°的線段(圖像中在左上象限中也有此方向上的圖像部分,但寬度不是一個(gè)像素)。圖10-4(c)中顯示的孤立點(diǎn)是對(duì)于模板也有相同強(qiáng)度響應(yīng)的點(diǎn)。在原圖中,這些點(diǎn)和與它們緊接著的相鄰點(diǎn),是用模板在這些孤立位置上生成最大響應(yīng)的方
23、法來定向的。這些孤立點(diǎn)也可以使用圖10-2(a)中的模板進(jìn)行檢測(cè),然后刪除,或者使用下一章中討論的形態(tài)學(xué)腐蝕法刪除。</p><p> 10.1.3邊緣檢側(cè)</p><p> 盡管在任何關(guān)于分割的討論中,點(diǎn)和線檢測(cè)都是很重要的,但是邊緣檢測(cè)對(duì)于灰度級(jí)間斷的檢測(cè)是最為普遍的檢測(cè)方法。本節(jié)中,我們討論實(shí)現(xiàn)一階和二階數(shù)字導(dǎo)數(shù)檢測(cè)一幅圖像中邊緣的方法。在3.7節(jié)介紹圖像增強(qiáng)的內(nèi)容中介紹過這些導(dǎo)
24、數(shù)。本節(jié)的重點(diǎn)將放在邊緣檢測(cè)的特性上。某些前面介紹的概念在這里為了敘述的連續(xù)性將進(jìn)行簡(jiǎn)要的重述。</p><p><b> 基本說明</b></p><p> 在3.7.1節(jié)中我們非正式地介紹過邊緣。本節(jié)中我們更進(jìn)一步地了解數(shù)字化邊緣的概念。直觀上,一條邊緣是一組相連的像素集合。這些像素位于兩個(gè)區(qū)域的邊界上。然而,我們已經(jīng)在2.5.2節(jié)中用一定的篇幅解釋了一條邊緣
25、和一條邊界的區(qū)別。從根本上講,如我們將要看到的,一條邊緣是一個(gè)“局部”概念,而由于其定義的方式,一個(gè)區(qū)域的邊界是一個(gè)更具有整體性的概念。給邊緣下一個(gè)更合理的定義需要具有以某種有意義的方式測(cè)量灰度級(jí)躍變的能力。</p><p> 我們先從直觀上對(duì)邊緣建模開始。這樣做可以將我們引領(lǐng)至一個(gè)能測(cè)量灰度級(jí)有意義的躍變的形式體系中。從感覺上說,一條理想的邊緣具有如圖10-5(a)所示模型的特性。依據(jù)這個(gè)模型生成的完美邊緣是
26、一組相連的像素的集合(此處為在垂直方向上),每個(gè)像素都處在灰度級(jí)躍變的一個(gè)垂直的臺(tái)階上(如圖形中所示的水平剖面圖)。</p><p> 實(shí)際上,光學(xué)系統(tǒng)、取樣和其他圖像采集的不完善性使得到的邊緣是模糊的,模糊的程度取決于諸如圖像采集系統(tǒng)的性能、取樣率和獲得圖像的照明條件等因素。結(jié)果,邊緣被更精確地模擬成具有“類斜面”的剖面,如圖10-5(b)所示。斜坡部分與邊緣的模糊程度成比例。在這個(gè)模型中,不再有細(xì)線(一個(gè)像
27、素寬的線條)。相反,現(xiàn)在邊緣的點(diǎn)是包含于斜坡中的任意點(diǎn),并且邊緣成為一組彼此相連接的點(diǎn)集。邊緣的“寬度”取決于從初始灰度級(jí)躍變到最終灰度級(jí)的斜坡的長(zhǎng)度。這個(gè)長(zhǎng)度又取決于斜度,斜度又取決于模糊程度。這使我們明白:模糊的邊緣使其變粗而清晰的邊緣使其變得較細(xì)。</p><p> 圖10-6(a)顯示的圖像是從圖10-5(b)的放大特寫中提取出來的。圖10-6(b)顯示了兩個(gè)區(qū)域之間邊緣的一條水平的灰度級(jí)剖面線。這個(gè)圖
28、形也顯示出灰度級(jí)剖面線的一階和二階導(dǎo)數(shù)。當(dāng)我們沿著剖面線從左到右經(jīng)過時(shí),在進(jìn)人和離開斜面的變化點(diǎn),一階導(dǎo)數(shù)為正。在灰度級(jí)不變的區(qū)域一階導(dǎo)數(shù)為零。在邊緣與黑色一邊相關(guān)的躍變點(diǎn)二階導(dǎo)數(shù)為正,在邊緣與亮色一邊相關(guān)的躍變點(diǎn)二階導(dǎo)數(shù)為負(fù),沿著斜坡和灰度為常數(shù)的區(qū)域?yàn)榱?。在圖10-6(b)中導(dǎo)數(shù)的符號(hào)在從亮到暗的躍變邊緣處取反。</p><p> ?。╝) (b)</p&
29、gt;<p> 圖10-5 (a)理想的數(shù)字邊緣模型,(b)斜坡數(shù)字邊緣模型。</p><p> 斜坡部分與邊緣的模糊程度成正比</p><p> 圖10-6 (a)由一條垂直邊緣分開的兩個(gè)不同區(qū)域,(b)邊界附近的細(xì)</p><p> 節(jié)顯示了一個(gè)灰度級(jí)剖面圖和一階與二階導(dǎo)數(shù)的剖面圖</p><p> 由這些現(xiàn)象我們
30、可以得到的結(jié)論是:一階導(dǎo)數(shù)可以用于檢測(cè)圖像中的一個(gè)點(diǎn)是否是邊緣的點(diǎn)(也就是判斷一個(gè)點(diǎn)是否在斜坡上)。同樣,二階導(dǎo)數(shù)的符號(hào)可以用于判斷一個(gè)邊緣像素是在邊緣亮的一邊還是暗的一邊。我們注意到圍繞一條邊緣,二階導(dǎo)數(shù)的兩條附加性質(zhì)(1)對(duì)圖像中的每條邊緣二階導(dǎo)數(shù)生成兩個(gè)值(一個(gè)不希望得到的特點(diǎn));(2)一條連接二階導(dǎo)數(shù)正極值和負(fù)極值的虛構(gòu)直線將在邊緣中點(diǎn)附近穿過零點(diǎn)。將在本節(jié)后面說明,二階導(dǎo)數(shù)的這個(gè)過零點(diǎn)的性質(zhì)對(duì)于確定粗邊線的中心非常有用。<
31、;/p><p> 最后,注意到某些邊緣模型利用了在進(jìn)人和離開斜坡地方的平滑過渡(習(xí)題10.5)。然而,我們?cè)诮酉聛淼挠懻撝袑⒌贸鐾瑯拥慕Y(jié)論。而且,這一點(diǎn)從我們使用局部檢測(cè)進(jìn)行處理就可以很明顯地看出(因此,2.5.2節(jié)中對(duì)于邊緣的局部性質(zhì)進(jìn)行了說明)。</p><p> 盡管到此為止我們的注意力被限制在一維水平剖面線范圍內(nèi),但同樣的結(jié)論可以應(yīng)用于圖像中的任何方向上。我們僅僅定義了一條與任何需
32、要考察的點(diǎn)所在的邊緣方向相垂直的剖面線,并如前面討論的那樣,對(duì)結(jié)果進(jìn)行了解釋。</p><p><b> 注:出自</b></p><p> Digital Image Processing 2nd Edition . Prentice Hall</p><p> Image Segmentation</p><p&
33、gt; The material in the previous chapter began a transition from image processing methods whose input and output are images, to methods in which the inputs are images, but the outputs are attributes extracted from those
34、 images (in the sense defined is Section 1.1). Segmentation is another major step in that direction.</p><p> Segmentation subdivides an image into its constituent regions or objects. The level to which the
35、subdivision is carried depends on the problem being solved. That is, segmentation should stop when the objects of interest in an application have been isolated. For example, in the automated inspection of electronic asse
36、mblies, interest lies in analyzing images of the products with the objective of determining the presence or absence of specific anomalies, such as missing components or broken connect</p><p> Segmentation o
37、f nontrivial images is one of the most difficult tasks in image processing. Segmentation accuracy determines the eventual success or failure of computerized analysis procedures. For this reason, considerable care should
38、be taken to improve the probability of rugged segmentation. In some situations , such as industrial inspection applications, at least some measure of control over the environment is possible at times. The experienced ima
39、ge processing system designer invariably pays </p><p> Image segmentation algorithms generally are based on one of two basic properties of intensity values: discontinuity and similarity. In the first catego
40、ry, the approach is to partition an image based on abrupt changes in intensity, such as edges in an image. The principal approaches in the second category are based on partitioning an image into regions that are similar
41、according to a set of predefined criteria. Thresholding, region growing, and region splitting and merging are examples of methods</p><p> In this chapter we discuss a number of approaches in the two categor
42、ies just mentioned. We begin the development with methods suitable for detecting gray level discontinuities such as points, lines, and edges. Edge detection in particular has been a staple of segmentation algorithms for
43、many years. In addition to edge detection per se, we also discuss methods for connecting edge segments and for "assembling" edges into region boundaries. The discussion on edge detection is followed by the intr
44、od</p><p> 10.1Detection of Discontinuities</p><p> In this section we present several techniques for detecting the three basic types of gray-level discontinuities in a digital image: points,
45、lines, and edges. The most common way to look for discontinuities is to run a mask through the image in the manner described in Section 3.5. For the 3 x 3 mask shown in Fig. 10.1, this procedure involves computing the su
46、m of products of the coefficients with the gray levels contained in the region encompassed by the mask. That is. with reference to Eq. (3.5-</p><p><b> ?。?0.1.1)</b></p><p> FIGURE
47、10.1 A general 3 x 3 mask.</p><p> where z; is the gray level of the pixel associated with mask coefficient Wi. As usual, the response of the mask is defined with respect to its center location. The details
48、 for implementing mask operations are discussed in Section 3.5.</p><p> 10.1.1 Point Detection</p><p> The detection of isolated points in an image. is straightforward in principle. Using the
49、mask shown in Fig. 10.2(a), we say that a point has been detected at the location on which the mask is centered if</p><p> |R| ≥ T (10.1.2)</p><p> where T is a nonnegative threshold and R
50、is given by Eq. (10.1-1). Basically,this formulation measures the weighted differences between the center point and its neighbors. The idea is that an isolated point (a point whose gray level is significantly different f
51、rom its background and which is located in a homogeneous or nearly homogeneous area) will be quite different from its surroundings, and thus be easily detectable by this type of mask. Note that the mask in Fig. 10.2(a) i
52、s the same as the m</p><p><b> ?。╝)</b></p><p> (b) (c) (d)</p><p> FIGURE 10.2(a) Pointdetection mask. (b) X-ray image of a
53、 turbine blade with a porosity. (c) Result of point detection. (d) Result of using Eq. (10.1-2).(Original image courtesy of X-TEK Systems Ltd.)</p><p> EXAMPLE 10.1:Detection of isolated points in an image.
54、</p><p> We illustrate segmentation of isolated points from an image with the aid of Fig. 10.2(6), which shows an X-ray image of a jet-engine turbine blade with a porosity in the upper, right quadrant of th
55、e image. There is a single black pixel embedded within the porosity. Figure 10.2(c) is the result of applying the point detector mask to the X-ray image, and Fig. 10.2(d) shows the result of using Eq. (10.1.2) with T equ
56、al to 90% of the highest absolute pixel value of the image in Fig. 10.2(c). (Thresh</p><p> 10.1.2 Line Detection</p><p> The next level of complexity is line detection. Consider the masks sho
57、wn in Fig. 10.3. If the first mask were moved around an image, it would respond more strongly to lines (one pixel thick) oriented horizontally. With a constant background, the maximum response would result when the line
58、passed through the middle row of the mask. This is easily verified by sketching a simple array of 1's with a line of a different gray level (say, 5's) running horizontally through the array. A similar experimen&l
59、t;/p><p> Horizontal +45° Vertical -45°</p><p> FIGURE 10.3 Line masks.</p><p> Let R1, R2, R3, and R4 denote the responses of the masks in
60、 Fig. 10.3, from left to right, where the R's are given by Eq. (10.1-1). Suppose that the four masks are run individually through an image. If, at a certain point in the image, |Ri| > |Rj|, for all j ≠ i, that po
61、int is said to be more likely associated with a line in the direction of mask i. For example, if at a point in the image, |Ri|>|Rj|, for j = 2, 3. 4, that particular point is said to be more likely associated with a h
62、orizontal l</p><p> EXAMPLE 10.2:Detection of lines in a specified direction</p><p> Figure 10.4(a) shows a digitized (binary) portion of a wire-bond mask for an electronic circuit. Suppose th
63、at we are interested in finding all the lines that are one pixel thick and are oriented at-45". For this purpose, we use the last mask shown in Fig. 10.3.The absolute value of the result is shown in Fig. 10.4(b). No
64、te that all vertical and horizontal components of the image were eliminated, and that the components of the original image that tend toward a -45° direction</p><p><b> ?。╝)</b></p>&l
65、t;p> ?。╞) (c)</p><p> FIGURE 10.4 Illustration of line detection (a) Binary wirebond mask.</p><p> (b) Absolute value of result after processing with -45° line d
66、etector. (c) Result of thresholding image. (b) produced the strongest responses in Fig. 10.4(b).</p><p> In order to determine which lines best fit the mask, we simply threshold this image. The result of us
67、ing a threshold equal to the maximum value in the image is shown in Fig. 10.4(c).The maximum value is a good choice for a threshold in applications such as this because the input image is binary and we are looking for th
68、e strongest responses. Figure 10.4(c) shows in white all points that passed the threshold test. In this case, the procedure extracted the only line segment that was one pixel thic</p><p> 10.1.3 Edge Detect
69、ion</p><p> Although point and line detection certainly are important in any discussion on segmentation, edge detection is by far the most common approach for detecting meaningful discontinuities in gray le
70、vel. In this section we discuss approaches for implementing first- and second-order digital derivatives for the detection of edges in an image. We introduced these derivatives in Section 3.7 in the context of image enhan
71、cement. The focus in this section is on their properties for edge detection. Some of t</p><p> Basic formulation </p><p> Edges were introduced informally in Section 3.7.1. In this section we
72、look at the concept of a digital edge a little closer. Intuitively, an edge is a set of connected pixels that lie on the boundary between two regions. However, we already went through some length in Section 2.5.2 to expl
73、ain the difference between an edge and a boundary. Fundamentally, as we shall see shortly, an edge is a "local" concept whereas a region boundary, owing to the way it is defined, is a more global idea. A reason
74、</p><p> We start by modeling an edge intuitively. This will lead us to a formalism to which "meaningful" transitions in gray levels can be measured. Intuitively, an ideal edge has the properties
75、of the model shown in Figure 10.5(a). An ideal edge according to this model is a set of connected pixels (in the vertical direction here), each of which is located at an orthogonal step transition in gray level (as shown
76、 by the horizontal profile in the figure).</p><p> In practice, optics, sampling, and other image acquisition imperfections yield edges that are blurred, with the degree of blurring being determined by fact
77、ors. such as the quality of the image acquisition system, the sampling rate, and illumination conditions under which the image is acquired. As a result, edges are more closely modeled as having a "ramplike" pro
78、file, such as the one shown in Figure 10.5(b). The slope of the ramp is inversely proportional to the degree of blurring in the edge. I</p><p> Figure 10.6(a) shows the image from which the close-up in Fig.
79、 10.5(b) was extracted. Figure 10.6(b) shows a horizontal gray-level profile of the edge between the two regions. This figure also shows the first and second derivatives of the gray-level profile. The first derivative is
80、 positive at the points of transition into and out of the ramp as we move from left to right along the profile: it is constant for points in the ramp: and is zero in areas of constant gray level.丁he second derivative i&l
81、t;/p><p> a b</p><p> FIGURE 10.5 (a) Model of an ideal digital edge. (b) Model of a ramp edge. The slope of the ramp is proportional to the degree of blurring in the edge.
82、</p><p> FIGURE 10.6 (a) Two regions separated by a vertical edge. (b) Detail near the edge, showing a gray-level profile, and the first and second derivatives of the profile</p><p> We concl
83、ude from these observations that the magnitude of the first derivative can be used to detect the presence of an edge at a point in an image (i.e.,to determine if a point is on a ramp). Similarly, the sign of the second d
84、erivative can be used to determine whether an edge pixel lies on the dark or light side of an edge. We note two additional properties of the second derivative around an edge: (7 ) II produces two values for every edge in
85、 an image (an undesirable feature); and (2) an imagi</p><p> Although attention thus far has been limited to a I -D horizontal profile. A similar argument applies to an edge of any orientation in an image.
86、We simply define a profile perpendicular to the edge direction at any desired point and interpret the results as in the preceding discussion.</p><p><b> From: </b></p><p> Introduc
87、tion to Algorithms Digital Image Processing 2nd Edition . Prentice Hall封面</p><p><b> 山東建筑大學(xué)</b></p><p> 2009級(jí)工程造價(jià)專業(yè)畢業(yè)設(shè)計(jì)任務(wù)書</p><p> 題 目: 山東省職業(yè)技術(shù)學(xué)院辦公樓工程項(xiàng)目商務(wù)標(biāo)書</
88、p><p> 設(shè)計(jì)期限: 自2011年7月</p><p><b> 至2011年10月</b></p><p> 班 級(jí): 0720913141</p><p><b> 學(xué)生姓名: </b></p><p><b> 學(xué) 號(hào): </b
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 眾賞文庫僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 外文翻譯--圖像分割
- 圖像分割-畢業(yè)論文外文翻譯
- [雙語翻譯]--外文翻譯---使用閾值技術(shù)的圖像分割
- 外文翻譯---特征空間穩(wěn)健性分析彩色圖像分割
- 2010年--外文翻譯---使用閾值技術(shù)的圖像分割
- [雙語翻譯]--圖像處理外文翻譯--最大類間方差算法的圖像分割綜述
- 2010年--外文翻譯---使用閾值技術(shù)的圖像分割
- 外文翻譯---特征空間穩(wěn)健性分析彩色圖像分割
- 外文翻譯---特征空間穩(wěn)健性分析彩色圖像分割
- 外文翻譯---特征空間穩(wěn)健性分析:彩色圖像分割
- [雙語翻譯]---外文翻譯--運(yùn)用網(wǎng)格分割和變形的方法進(jìn)行圖像分割的誤差校正
- 2010年--外文翻譯---使用閾值技術(shù)的圖像分割(譯文)
- 外文翻譯---特征空間穩(wěn)健性分析彩色圖像分割 英文
- 2010年--外文翻譯---使用閾值技術(shù)的圖像分割(英文)
- 外文翻譯--基于偏微分方程的圖像分割
- 外文翻譯--基于偏微分方程的圖像分割
- 外文翻譯---特征空間穩(wěn)健性分析:彩色圖像分割.docx
- 外文翻譯---特征空間穩(wěn)健性分析:彩色圖像分割.docx
- 外文翻譯--基于偏微分方程的彩色圖像分割
- 外文翻譯---特征空間穩(wěn)健性分析:彩色圖像分割 英文.pdf
評(píng)論
0/150
提交評(píng)論