Filter löschen
Filter löschen

How can i print the value in gui of PSNR ?

2 Ansichten (letzte 30 Tage)
prapti bhatt
prapti bhatt am 20 Apr. 2016
Kommentiert: Walter Roberson am 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.

Antworten (1)

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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Convert Image Type finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by