MATLAB Answers

anyone can help?

1 view (last 30 days)
MOHAMED GILANI
MOHAMED GILANI on 26 May 2021
Answered: Manas Meena on 4 Jun 2021
facing error couldnt undrstand
Error using metricXydeas
Too many input arguments.
Error in main (line 47)
Qg1=metricXydeas(A,B,F);
code>>>
%fusion_perform_fn(F,x)
Qg1=metricXydeas(A,B,F);
Qy1=QY(A,B,F);
Qcb1=metricChenBlum(A,B,F);
gA = rgb2gray(A);
gB = rgb2gray(B);
gF = rgb2gray(F);
Qabfl = Qabf(gA, gB, gF);
Qmi1=QualityMetrics(round(gA * 255),round(gB * 255),round(gF * 255));
[Qg1 Qy1 Qcb1 Qabfl Qmi1]
[PSNRAF,PSNRBF,SSIMAF,SSIMBF,SFA,SFB,SFF,STDA,STDB,STDF,MIAF,MIBF] = EVAL(A,B,F);
[PSNRAF,PSNRBF,SSIMAF,SSIMBF,SFA,SFB,SFF,STDA,STDB,STDF,MIAF,MIBF]
  1 Comment
Jan
Jan on 26 May 2021
Where did you get the function "metricXydeas" from? This is not a part of Matlab's toolboxes.
What does the documentation of this command explain? See: help metricXydeas

Sign in to comment.

Answers (1)

Manas Meena
Manas Meena on 4 Jun 2021
The function metricXydeas is not a part of MATLAB toolboxes as jan mentioned. It is an open source function used to evaluate the fusion algorithm
function res=metricXydeas(img1,img2,fuse)
% im1, im2 -- input images;
% fim -- fused image;
% res -- metric value;
so there is probably some issue with your parameter values.

Community Treasure Hunt

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

Start Hunting!

Translated by