anyone can help?

8 次查看(过去 30 天)
MOHAMED GILANI
MOHAMED GILANI 2021-5-26
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 个评论
Jan
Jan 2021-5-26
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

请先登录,再进行评论。

回答(1 个)

Manas Meena
Manas Meena 2021-6-4
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