can you explain me about these code?

1 次查看(过去 30 天)
if (nargin < 2 || nargin > 5)
mssim = -Inf;
ssim_map = -Inf;
return;
end
Thanks

采纳的回答

Image Analyst
Image Analyst 2013-3-31
It is code to assign some default return arguments for a function when the user does not pass in the expected number of input arguments.
  5 个评论
Yipeng Liu
Yipeng Liu 2013-4-19
Do you know why there are negative value in the ssim_map using the SSIM_index.m? It is not consistent to the paper description [0 1]. And how to transfer the ssim_map to [0 1]?
Thank you!

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Modify Image Colors 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by