How can i print the value in gui of PSNR ?

2 visualizaciones (últimos 30 días)
prapti bhatt
prapti bhatt el 20 de Abr. de 2016
Comentada: Walter Roberson el 22 de Abr. de 2016
I have a project on digital image watermarking based on DCT algorithm. For the Image quality i check the PSNR of image and I want to print the value of PSNR in gui.

Respuestas (1)

Walter Roberson
Walter Roberson el 20 de Abr. de 2016
If it is to go into a graph then use text()
Otherwise use a uicontrol of style 'text', and set() the String property to the text you want to display.
  2 comentarios
prapti bhatt
prapti bhatt el 20 de Abr. de 2016
can u give one example?
Walter Roberson
Walter Roberson el 22 de Abr. de 2016
PSNR = 32.1343;
text(57, 13, sprintf('%g', PSNR))

Iniciar sesión para comentar.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by