Azzera filtri
Azzera filtri

Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

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

1 visualizzazione (ultimi 30 giorni)
Questo/a domanda è stato/a segnalato/a da 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

Risposte (0)

Questa domanda è chiusa.

Prodotti


Release

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by