| Description |
During de-speckling, edges are blurred so to protect edges from blurring directional smoothing filter is used.
This function dsf implements Directional Smoothing Filter as specified in the paper entitlled as Despeckling of SAR Image Using Adaptive and Mean Filters, by Syed Musharaf Ali, Muhammad Younus Javed, and Naveed Sarfraz Khattak.
[http://www.waset.org/journals/waset/v13/v13-28.pdf]
Function Specifications:
INPUT:
I = Two Dimensional Matrix
ms = Window (Mask) Size
OUTPUT:
I = Processed Two Dimensional Matrix
USAGE EXAMPLES:
RGB = imread('football.jpg');
I = rgb2gray(RGB);
NI = imnoise(I,'speckle');
Y = dsf(I,3);
Z3 = dsf(NI,3);
Z5 = dsf(NI,5);
Z7 = dsf(NI,7);
subplot(2,3,1);imshow(I);title('Original Image');
subplot(2,3,2);imshow(NI);title('Speckled Image');
subplot(2,3,3);imshow(Y);title('Smooth Image of Original Image');
subplot(2,3,4);imshow(Z3);title({'Smooth Image of Speckled Image','with window = 3X3'});
subplot(2,3,5);imshow(Z5);title({'Smooth Image of Speckled Image','with window = 5X5'});
subplot(2,3,6);imshow(Z7);title({'Smooth Image of Speckled Image','with window = 7X7'})
|