Rank: 2902 based on 45 downloads (last 30 days) and 2 files submitted
photo

Sajid Khan

E-mail
Company/University
Hanyang Uni South Korea

Personal Profile:

I want to be good in Image processing


 

Watch this Author's files

 

Files Posted by Sajid Khan View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
16 Apr 2014 Screenshot Add salt or pepper or random valued impulse noise to image This function add wither salt or pepper or both type or random valued impulse noise to image. Author: Sajid Khan impulse noise, random valued impulse..., image processing, salt or pepper noise 22 0
07 Feb 2014 Rosin Thresholding Implementation of paper "Unimodal thresholding" Author: Sajid Khan edge detection, image processing, rosin thresholding, unimodal thresholding 23 0
Comments and Ratings by Sajid Khan View all
Updated File Comments Rating
02 Jun 2014 weighted median filter weighted median filter Author: MANISH KUMAR SHARMA

02 Jun 2014 weighted median filter weighted median filter Author: MANISH KUMAR SHARMA

16 Aug 2013 weighted median filter weighted median filter Author: MANISH KUMAR SHARMA

I have done a few changes in it

%% MANISH KUMAR SHARMA, cdac-noida, 2010
% ccc
%% weighted median filter on image with salt & pepper noise %%
I = rgb2gray(imread('lena.jpg'));
I = im2double(I);
Z = imnoise(I,'salt & pepper',0.02); % adding Noise
mask_size = 3;
mask_cent = ceil(mask_size/2);
mask_start = mask_cent - 1;
W = ones(mask_size);
W(mask_cent, mask_cent) = 4;
sum_W = sum(W(:));
W = W./sum_W; % the values should taken like that, the total sum of values of filter
% is divided by there sum and value should be equal to 1.
image_padded = padarray(Z,[mask_start, mask_start],'symmetric','both');
[row, col] = size(Z);
row_pad = row + 2 * mask_start;
col_pad = col + 2 * mask_start;
b = Z;

for x = mask_cent:row_pad - mask_start
for y = mask_cent:col_pad - mask_start
%% To make a 3x3 weighted mask into a 1x9 mask
patch_selected = image_padded(x - mask_start: x + mask_start, y - mask_start: y + mask_start);
a1 = W.*patch_selected;
med = median(a1(:))*sum_W; % the 5th value is the weighted median
b(x,y) = med;
end

end
figure(1); imshow((Z))
figure(2); imshow(b)

10 Jul 2013 Quran Comparison & Search Standalone-doesn't require Matlab Compare 10 tranlsations of qur'an with search Author: Aman Siddiqi

Nice submission.

Contact us