Effacer les filtres
Effacer les filtres

do you have the matlab code for finding edge preservation index??

2 vues (au cours des 30 derniers jours)
BERLY SUSAN BABU
BERLY SUSAN BABU le 4 Oct 2015
ENL is commonly used to measure the speckle suppression of different SAR image filters. When the ENL value is bigger, it indicates the image is smoothed well.EPI measures the ability to maintain details of the image
function[y] = epi(Io, If)
[a,b] = size(Io);
o=0;
p=0;
for i = 1:a
for j = 1:b
if(((i+1)<=a) && ((j+1)<=b))
r= abs(Io(i,j) - Io(i+1,j));
t= abs(Io(i,j) - Io(i,j+1));
l=abs(If(i,j) - If(i+1,j));
u=abs(If(i,j) - If(i,j+1));
o = o+ r + t;
p= p +l+ u;
r;
t;
l;
u;
o;
p;
end
end
end
y =(o./p )
my code is this. but it doest working

Réponses (0)

Catégories

En savoir plus sur Image Filtering and Enhancement dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by