SoftwarePractice.org: Home | Courseware | Wiki | Archive

Noise.m Code

From SoftwarePractice.org

% this function reduce noise from the in put image
function ans1= noise(barcode)
% K = filter2(fspecial('average',3),barcode)/255;
L = medfilt2(barcode,[3 3]);  %medianfilater is better than specical filter in this case
K = wiener2(L ,[5 5]);          %Adaptive Filtering
ans1=K;



Back to Deblurring and Noise

Personal tools