% Modified decision based unsymmetric trimmed median filter for gray image
% im = input image
% K = length to compute window win=(2*l)+1
% n = Noise density of Salt & Pepper Noise
% out = output image
% Code developed by: Suraj Kamya
% Other used files
% rpadd - removing padding
% trimf - trimmed meadian filter
% PSN - Peak Signal to noise ratio
% IEF - Image Enhancement Factor
when I run this program I get the error like this
Error using median(line 28)
First input must be single or double.
Error in trimf(line 17)
y=median(y(:));% Meadin of the required data
Error in mdbutmfg (line 66)
rp=trimf(wnim); %calling Trimmed mean
Please refer to updated submission and follow the example.
Sorry, I don't know some how file is missing.
This is Rajalakshmi When i try to Run this code (MDBUTMF )i get and error like this
Maximum recursion limit of 500 reached. Use set(0,'RecursionLimit',N) to change the limit. Be aware that exceeding your
available stack space can crash MATLAB and/or your computer.
Error in trimf
unable to resolve.Kindly help
Previously trimf.m file is missing. Its updated now and follow the example given.