필터 지우기
필터 지우기

can you explain me about these code?

조회 수: 1 (최근 30일)
Tia
Tia 2013년 3월 31일
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
Image Analyst
Image Analyst 2013년 3월 31일
편집: Image Analyst 2013년 3월 31일
Great.
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에서 Argument Definitions에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by