Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

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

1 visualización (últimos 30 días)
RACHEL LYN JAHIRIN
RACHEL LYN JAHIRIN el 30 de Dic. de 2023
Cerrada: Rena Berman el 4 de En. de 2024
William Rose ha marcado con alerta este/a pregunta
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 comentarios
Walter Roberson
Walter Roberson el 30 de Dic. de 2023
It would be easier if you had supplied the .mat file as well.

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Productos


Versión

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by