How can i print the value in gui of PSNR ?

2 ビュー (過去 30 日間)
prapti bhatt
prapti bhatt 2016 年 4 月 20 日
コメント済み: Walter Roberson 2016 年 4 月 22 日
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.

回答 (1 件)

Walter Roberson
Walter Roberson 2016 年 4 月 20 日
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 件のコメント
prapti bhatt
prapti bhatt 2016 年 4 月 20 日
can u give one example?
Walter Roberson
Walter Roberson 2016 年 4 月 22 日
PSNR = 32.1343;
text(57, 13, sprintf('%g', PSNR))

サインインしてコメントする。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by