do you have the matlab code for finding edge preservation index??
이전 댓글 표시
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
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Object Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!