How can i print the value in gui of PSNR ?

2 vues (au cours des 30 derniers jours)
prapti bhatt
prapti bhatt le 20 Avr 2016
Commenté : Walter Roberson le 22 Avr 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.

Réponses (1)

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

Connectez-vous pour commenter.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by