Filter löschen
Filter löschen

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

2 Ansichten (letzte 30 Tage)
BERLY SUSAN BABU
BERLY SUSAN BABU am 4 Okt. 2015
Kommentiert: Walter Roberson am 4 Okt. 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

Antworten (0)

Tags

Noch keine Tags eingegeben.

Community Treasure Hunt

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

Start Hunting!

Translated by