Borrar filtros
Borrar filtros

PNSR formula psnr=20.0* (log10(255/sqrt(mse)));

8 visualizaciones (últimos 30 días)
Faizullah khan
Faizullah khan el 30 de Mayo de 2019
Comentada: Murugan C el 3 de Jun. de 2019
Can we type the formula like this: psnr=20.0* (log10(1/sqrt(mse)));
I mean can we write 1 intstead of 255.
Plz explain.

Respuesta aceptada

Murugan C
Murugan C el 31 de Mayo de 2019
Hi Faizullah
We can use 1 instead of 255, if your input image is logical (max pixel range is 1 ) or your image is uint8 then you should use maximum of image pixel range is 255.
  3 comentarios
Faizullah khan
Faizullah khan el 2 de Jun. de 2019
Plz Explain that for weighted median filter 1 will be ok or 255?. Image is lena.tif.
Thanks & Regards
Murugan C
Murugan C el 3 de Jun. de 2019
Hi,
PSNR shoud be more than 100. Please find max value from your output image and use it as below
psnr= 10.0* (log10((max(max(output_img))/sqrt(mse)));

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by