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