필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

how to get the accuracy for each type of distortion and accuracy for all ?

조회 수: 1 (최근 30일)
RACHEL LYN JAHIRIN
RACHEL LYN JAHIRIN 2023년 12월 30일
마감: Rena Berman 2024년 1월 4일
이 질문에 William Rose 님이 플래그를 지정함
what to change in this coding to get the accuracy for each type of distortion and accuracy value for all? can see the coding attach. thank you
load('dmos.mat');
FYPdatabase=cell(numel(dmos),4);
FYPdatabase(:,2)=num2cell(dmos);
feat=zeros(982,40);
for k=1:982
A=FYPdatabase{k,1};
featim=gmlog(A);
FYPdatabase{k,5}=featim;
feat(k,:)=featim
end
addpath('C:\Users\User\Desktop\LIVE database\databaserelease2\jp2k');
for i=1:227
A=imread(sprintf('img%d.bmp',i));
A1=rgb2gray(A);
A2=double(A1);
FYPdatabase{i,1}=A2;
FYPdatabase{i,3}=1;
end
addpath('C:\Users\User\Desktop\LIVE database\databaserelease2\jpeg');
for i=1:233
A=imread(sprintf('img%d.bmp',i));
A1=rgb2gray(A);
A2=double(A1);
FYPdatabase{227+i,1}=A2;
FYPdatabase{227+i,3}=2;
end
addpath('C:\Users\User\Desktop\LIVE database\databaserelease2\wn');
for i=1:174
A=imread(sprintf('img%d.bmp',i));
A1=rgb2gray(A);
A2=double(A1);
FYPdatabase{460+i,1}=A2;
FYPdatabase{460+i,3}=3;
end
addpath('C:\Users\User\Desktop\LIVE database\databaserelease2\gblur');
for i=1:174
A=imread(sprintf('img%d.bmp',i));
A1=rgb2gray(A);
A2=double(A1);
FYPdatabase{634+i,1}=A2;
FYPdatabase{634+i,3}=4;
end
addpath('C:\Users\User\Desktop\LIVE database\databaserelease2\fastfading');
for i=1:174
A=imread(sprintf('img%d.bmp',i));
A1=rgb2gray(A);
A2=double(A1);
FYPdatabase{808+i,1}=A2;
FYPdatabase{808+i,3}=5;
end
this is the coding for FYPdatabase (2).mat. i cannot attach the mat file because the size is bigger than 5MB
  댓글 수: 2
Walter Roberson
Walter Roberson 2023년 12월 30일
It would be easier if you had supplied the .mat file as well.

답변 (0개)

이 질문은 마감되었습니다.

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by