can you explain me about these code?
조회 수: 1 (최근 30일)
이전 댓글 표시
if (nargin < 2 || nargin > 5)
mssim = -Inf;
ssim_map = -Inf;
return;
end
Thanks
댓글 수: 0
채택된 답변
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
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 Center 및 File Exchange에서 Argument Definitions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!