




版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
Chapter3
IntensityTransformationand
SpatialFilteringPart3SpatialFiltering3.4FundamentalsofSpatialFilteringLinearnonlinearsmoothSmoothLinearFiltersSmoothnonlinearFiltersSharpeningSharpeningLinearfiltersSharpeningnonlinearfilters3.4FundamentalsofSpatialFilteringfloatr=0;for(intm=-M;m<=M;m++) for(intn=-N;n<=N;n++) { r+=f[x+m,y+n]*mask[M+m,N+n]; }g[x,y]=S(r);FundamentalsofSpatialFiltering*554474443#0-10-15-10-10*0*-1*0*-1*5*-1*0*-1*03.4FundamentalsofSpatialFiltering3.5SmoothingSpatialFilters3.5.1SmoothingLinearFilters3.5.1SmoothingLinearFiltersDirectionalBlur0.20.20.20.20.20.20.20.20.20.20.20.20.20.20.23.5.1SmoothingLinearFilters[Programmingofaveragefilter]GaussianBlurMask(x,y)=G(x,y)=exp(-(x*x+y*y)/(2*r*r)HowtomakeaGaussianFilterMask
(1)Sampling:G(x,y)=G[m,n];
(2)Normalized
s=∑G[m,n],G[m,n]=G[m,n]/s[ProgrammingofGaussianBlur]3.5.2Order-Statistic(Nonlinear)FiltersMedianFilterMedianFiltersareparticularlyeffectiveinthepresenceofimpulsenoise(alsocalledsalt-andpeppernoise)SaltandpeppernoiseRandomlocation;Dependentvalue;[ProgrammingofSaltandpeppernoise]Saltandpepper3.5.2Order-Statistic(Nonlinear)FiltersMedianOperationMedian{3,2,1,5,4}=?{3,2,1,5,4}=>(queue)=>{1,2,3,4,5}=>3[ProgrammingofMedianFilter]3.5.2Order-Statistic(Nonlinear)Filters3.6SharpeningSpatialFilters3.6.1Foundation1D:derivativefsubx.FirstderivativeMustbezerooftheareaofconstantintensity;MustbenonzeroattheonsetofanintensitysteporrampMustnonzeroalongramps.SecondderivativeMustbezeroinconstantareaMustbenonzeroattheonsetandendofanintensitysteporrampMustbezeroalongrampsofconstantslope3.6.1FoundationofSharpeningSpatialFilters3.6SharpeningSpatialFilters2D:Gx: partialderivativefsubx.Gy: partialderivativefsuby3.6.2Laplacian(SecondDerivative)3.6.2Laplacian(SecondDerivative)3.6.2Laplacian(SecondDerivative)input44477771-2103-300-12-10-3300HighPassfilter[Programmingofhighpassfilter]3.6.2Laplacian(SecondDerivative)[ProgrammingofLaplacian]SharpeningFilter3.6.2Laplacian(SecondDerivative)[ProgrammingofSharpeningFilter]-c-c1+4*c-c-c3.6.3UnsharpMaskingandHighboostFilteringUnsharpMaskingBlurtheoriginalImageSubtracttheblurredimagefromtheoriginal(theresultingdifferencecalledthemask)Addthemasktotheoriginal(10-10)3.6.3UnsharpMaskingandHighboostFiltering3.6.3UnsharpMaskingandHighboostFiltering3.6.4UsingtheFirst-OrderDerivativesfor(Nonlinear)ImageSharpening–TheGradientGradientMagnitudeofGradientGradientApproximateofmagnitude(suitablecomputationaly)First-OrderDerivativesQuestion:maxvalueof3.6.4UsingtheFirst-OrderDerivativesfor(Nonlinear)ImageSharpening–TheGradientSobelmaskGxGy-101-202-101-1-2-1000121YaxisProgrammingofSobelreliefeffectSunkenorRaised?3.6.4UsingtheFirst-OrderDerivativ
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經權益所有人同意不得將文件中的內容挪作商業或盈利用途。
- 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 煤礦節能知識課件
- 臨滄2024年云南臨滄永德縣農業農村局招聘特聘動物防疫專員筆試歷年參考題庫附帶答案詳解
- 二零二五明星代言協議書
- 辦公樓辦公室租賃合同范例二零二五年
- 二零二五房屋居間合同書范文集合
- 品管圈醫療QC提高孕婦從穿刺到分娩后留置針的完好率6
- 技術聘用合同書范例二零二五年
- 簽訂施工合同書必須應當具備的條件
- 稅收基礎知識課件
- 法律基礎知識課件
- 河南省氣象部門招聘真題2024
- 2025年水工維護(高級工)職業技能理論考試題庫(含答案)
- 2025年自考學位英語試題及答案
- 2025國家糧食和物資儲備局直屬和垂直管理系統事業單位招聘統一筆試自考難、易點模擬試卷(共500題附帶答案詳解)
- 短期資金拆借合同樣本
- 汽車液壓主動懸架系統的設計與仿真
- 第五講-鑄牢中華民族共同體意識-2024年形勢與政策(講稿)
- 水泵電機年度維修項目方案投標文件(技術方案)
- 數學-天一大聯考2025屆高三四省聯考(陜晉青寧)試題和解析
- 《生物科技》課件
- 2025全國輔警考試題庫及參考答案
評論
0/150
提交評論