How can i print the value in gui of PSNR ?

2 visualizzazioni (ultimi 30 giorni)
prapti bhatt
prapti bhatt il 20 Apr 2016
Commentato: Walter Roberson il 22 Apr 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.

Risposte (1)

Walter Roberson
Walter Roberson il 20 Apr 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 Commenti
prapti bhatt
prapti bhatt il 20 Apr 2016
can u give one example?
Walter Roberson
Walter Roberson il 22 Apr 2016
PSNR = 32.1343;
text(57, 13, sprintf('%g', PSNR))

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by