馬麗圓 常錦才



摘? 要: 本文針對(duì)自適應(yīng)中值濾波算法對(duì)高密度固定值脈沖噪聲去噪效果欠佳的缺陷,提出一種擴(kuò)大窗口時(shí)利用上次濾波結(jié)果的迭代方法,同時(shí)為了提高去噪效果,將最大濾波窗口調(diào)整至9×9。通過(guò)仿真分析,相比于現(xiàn)有的自適應(yīng)中值濾波算法,新算法的去噪效果得到明顯提高。
關(guān)鍵詞: 固定值脈沖噪聲;中值濾波;迭代方法
中圖分類號(hào): TN911.73? ? 文獻(xiàn)標(biāo)識(shí)碼: A? ? DOI:10.3969/j.issn.1003-6970.2020.09.019
本文著錄格式:馬麗圓,常錦才. 一種迭代的自適應(yīng)中值濾波算法[J]. 軟件,2020,41(09):6971
【Abstract】: This paper proposes an iterative method that uses the previous filter results when expanding the window to address the shortcomings of the adaptive median filter algorithm's poor denoising effect on high-density fixed-value impulse noise. At the same time, in order to improve the denoising effect, the maximum filter window is adjusted to 9×9. Through simulation analysis, compared with the existing adaptive median filter algorithm, the denoising effect of the new algorithm has been significantly improved.
【Key words】: Fixed-value impulse noise; Median filtering; Iterative method
0? 引言
圖像作為現(xiàn)代社會(huì)的一種重要的信息來(lái)源之一,其在拍攝和處理的過(guò)程中經(jīng)常會(huì)產(chǎn)生噪聲,導(dǎo)致圖像的視覺(jué)效果差、信息質(zhì)量下降。因此,采用合理的方法去除圖像噪聲[1]尤為重要。脈沖噪聲[2]是一種常見(jiàn)的圖像噪聲,可分為隨機(jī)值脈沖噪聲和固定值脈沖噪聲,其中固定值脈沖噪聲隨機(jī)地產(chǎn)生值為0或255的像素點(diǎn),即產(chǎn)生黑白點(diǎn);隨機(jī)值脈沖噪聲隨機(jī)地將灰度值改為介于最大值和最小值之間的隨機(jī)值。中值濾波算法[3]是濾波算法中經(jīng)典的去除固定值脈沖噪聲的方法,但是由于中值濾波算法將所有像素點(diǎn)均改為領(lǐng)域中值,未將信號(hào)像素和噪聲像素區(qū)分開(kāi),并且濾波窗口固定為3×3,使得圖像的邊緣和細(xì)節(jié)容易模糊,當(dāng)噪聲密度較高時(shí),去噪效果不明顯。因此,又提出了一種自適應(yīng)的中值濾波算法[4],用領(lǐng)域內(nèi)的最值來(lái)識(shí)別噪聲像素,對(duì)識(shí)別出的噪聲像素用領(lǐng)域中值替換,取得了較好的效果,但其對(duì)于高密度的噪聲去噪效果仍然欠佳?!?br>