anyone can help?

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 个评论

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 个)

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.

类别

帮助中心File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by