Borrar filtros
Borrar filtros

can you explain me about these code?

1 visualización (últimos 30 días)
Tia
Tia el 31 de Mzo. de 2013
if (nargin < 2 || nargin > 5)
mssim = -Inf;
ssim_map = -Inf;
return;
end
Thanks

Respuesta aceptada

Image Analyst
Image Analyst el 31 de Mzo. de 2013
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 comentarios
Image Analyst
Image Analyst el 31 de Mzo. de 2013
Editada: Image Analyst el 31 de Mzo. de 2013
Great.
Yipeng Liu
Yipeng Liu el 19 de Abr. de 2013
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!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Argument Definitions en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by