<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/236245</link>
    <title>MATLAB Central Newsreader - I need to help?</title>
    <description>Feed for thread: I need to help?</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Fri, 19 Sep 2008 16:39:01 -0400</pubDate>
      <title>I need to help?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/236245#601081</link>
      <author>love </author>
      <description>Hello all&lt;br&gt;
&lt;br&gt;
run program in Matlab and try to understand the program:&lt;br&gt;
&lt;br&gt;
1- find the quality at different &amp;#8216;strength&amp;#8217; value. Plot a graph of the quality of  the stego image and the reconstructed image vs &amp;#8216;strength&amp;#8217;.&lt;br&gt;
&lt;br&gt;
--------------------program------------------&lt;br&gt;
clear all&lt;br&gt;
close all&lt;br&gt;
[InputFileName, InputPathName] = uigetfile('c:\images\256\*.tif', 'Select Input Image');&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;InputImageName = strcat(InputPathName,InputFileName)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cover=imread(InputImageName);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br&gt;
%     if(~isgray(cover))&lt;br&gt;
%         cover=rgb2gray(cover);&lt;br&gt;
%     end&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;figure&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;imshow(cover,[])   %Display the cover image&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[InputFileName, InputPathName] = uigetfile('c:\images\256\*.tif', 'Select  Image to hide');&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;InputImageName = strcat(InputPathName,InputFileName)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;hidden=imread(InputImageName);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;figure(1), title('Original image');&lt;br&gt;
%     if(~isgray(hidden))&lt;br&gt;
%         hidden=rgb2gray(hidden);&lt;br&gt;
%     end&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;figure, imshow(hidden,[])&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;figure(2),  title('To be hidden');&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;strength = input('Robustness of the watermark? (least = 1 to most = 50) ');&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;alpha = .01; %Strength of the hidden information&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;stego = (1-alpha) * cover + alpha * hidden;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;figure, imshow(stego, []);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;title('watermarked original');&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;reconstructed = (stego - (1-alpha) * cover)./alpha;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;figure, imshow(reconstructed, []);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;title('Extracted')&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;%%%See the difference between reconstructed and hidden&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;diff = hidden - reconstructed;&lt;br&gt;
------------------------------&lt;br&gt;
&lt;br&gt;
thanks</description>
    </item>
    <item>
      <pubDate>Fri, 19 Sep 2008 16:54:08 -0400</pubDate>
      <title>Re: I need to help?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/236245#601083</link>
      <author>ImageAnalyst</author>
      <description>On Sep 19, 12:39=A0pm, &quot;love &quot; &amp;lt;love.scre...@gmail.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; Hello all&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; run program in Matlab and try to understand the program:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; 1- find the quality at different &amp;#8216;strength&amp;#8217; value. Plot a gra=&lt;br&gt;
ph of the quality of =A0the stego image and the reconstructed image vs &amp;#82=&lt;br&gt;
16;strength&amp;#8217;.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; --------------------program------------------&lt;br&gt;
&amp;gt; clear all&lt;br&gt;
&amp;gt; close all&lt;br&gt;
&amp;gt; [InputFileName, InputPathName] =3D uigetfile('c:\images\256\*.tif', 'Sele=&lt;br&gt;
ct Input Image');&lt;br&gt;
&amp;gt; =A0 =A0InputImageName =3D strcat(InputPathName,InputFileName)&lt;br&gt;
&amp;gt; =A0 =A0 cover=3Dimread(InputImageName);&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; % =A0 =A0 if(~isgray(cover))&lt;br&gt;
&amp;gt; % =A0 =A0 =A0 =A0 cover=3Drgb2gray(cover);&lt;br&gt;
&amp;gt; % =A0 =A0 end&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; =A0 =A0 figure&lt;br&gt;
&amp;gt; =A0 =A0 imshow(cover,[]) =A0 %Display the cover image&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; =A0 =A0 [InputFileName, InputPathName] =3D uigetfile('c:\images\256\*.tif=&lt;br&gt;
', 'Select =A0Image to hide');&lt;br&gt;
&amp;gt; =A0 =A0InputImageName =3D strcat(InputPathName,InputFileName)&lt;br&gt;
&amp;gt; =A0 =A0 hidden=3Dimread(InputImageName);&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; =A0 =A0 figure(1), title('Original image');&lt;br&gt;
&amp;gt; % =A0 =A0 if(~isgray(hidden))&lt;br&gt;
&amp;gt; % =A0 =A0 =A0 =A0 hidden=3Drgb2gray(hidden);&lt;br&gt;
&amp;gt; % =A0 =A0 end&lt;br&gt;
&amp;gt; =A0 =A0 figure, imshow(hidden,[])&lt;br&gt;
&amp;gt; =A0 =A0figure(2), =A0title('To be hidden');&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; =A0 =A0 strength =3D input('Robustness of the watermark? (least =3D 1 to =&lt;br&gt;
most =3D 50) ');&lt;br&gt;
&amp;gt; =A0 =A0 alpha =3D .01; %Strength of the hidden information&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; =A0 =A0 stego =3D (1-alpha) * cover + alpha * hidden;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; =A0 =A0 figure, imshow(stego, []);&lt;br&gt;
&amp;gt; =A0 =A0 title('watermarked original');&lt;br&gt;
&amp;gt; =A0 =A0 reconstructed =3D (stego - (1-alpha) * cover)./alpha;&lt;br&gt;
&amp;gt; =A0 =A0 figure, imshow(reconstructed, []);&lt;br&gt;
&amp;gt; =A0 =A0 title('Extracted')&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; =A0 =A0 %%%See the difference between reconstructed and hidden&lt;br&gt;
&amp;gt; =A0 =A0 diff =3D hidden - reconstructed;&lt;br&gt;
&amp;gt; ------------------------------&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; thanks&lt;br&gt;
---------------------------------------------------------------------------=&lt;br&gt;
-----------&lt;br&gt;
&quot;love&quot;:&lt;br&gt;
I didn't need to run it - I can tell just from reading the code.&lt;br&gt;
Basically it blends two images together and asks you to give a&lt;br&gt;
subjective rating on the &quot;robustness&quot; (whatever that is) of the&lt;br&gt;
watermark.  You'd need to define &quot;robustness&quot; better and then, after&lt;br&gt;
you've plotted robustness vs. blending percentage, make some kind of&lt;br&gt;
subjective call about which blending factor is &quot;best.&quot;  This is a very&lt;br&gt;
simple to construct and very visible type of watermark.  It's not&lt;br&gt;
really steganography because it's not hidden.  There are so many ways&lt;br&gt;
to hide one image in another that can't be detected as easily as your&lt;br&gt;
method and can only be found with knowledge of how it was&lt;br&gt;
constructed.  You could think up your own with a little thought, but&lt;br&gt;
this blending method is not a very effective one.&lt;br&gt;
You're welcome.&lt;br&gt;
Did I win?&lt;br&gt;
Regards,&lt;br&gt;
ImageAnalyst</description>
    </item>
    <item>
      <pubDate>Fri, 19 Sep 2008 17:04:04 -0400</pubDate>
      <title>Re: I need to help?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/236245#601087</link>
      <author>ABUTALA </author>
      <description>&lt;br&gt;
&amp;gt; &quot;love&quot;:&lt;br&gt;
&amp;gt; I didn't need to run it - I can tell just from reading the code.&lt;br&gt;
&amp;gt; Basically it blends two images together and asks you to give a&lt;br&gt;
&amp;gt; subjective rating on the &quot;robustness&quot; (whatever that is) of the&lt;br&gt;
&amp;gt; watermark.  You'd need to define &quot;robustness&quot; better and then, after&lt;br&gt;
&amp;gt; you've plotted robustness vs. blending percentage, make some kind of&lt;br&gt;
&amp;gt; subjective call about which blending factor is &quot;best.&quot;  This is a very&lt;br&gt;
&amp;gt; simple to construct and very visible type of watermark.  It's not&lt;br&gt;
&amp;gt; really steganography because it's not hidden.  There are so many ways&lt;br&gt;
&amp;gt; to hide one image in another that can't be detected as easily as your&lt;br&gt;
&amp;gt; method and can only be found with knowledge of how it was&lt;br&gt;
&amp;gt; constructed.  You could think up your own with a little thought, but&lt;br&gt;
&amp;gt; this blending method is not a very effective one.&lt;br&gt;
&amp;gt; You're welcome.&lt;br&gt;
&amp;gt; Did I win?&lt;br&gt;
&amp;gt; Regards,&lt;br&gt;
&amp;gt; ImageAnalyst&lt;br&gt;
&lt;br&gt;
Thank ImageAnalyst &lt;br&gt;
&lt;br&gt;
I want to know the quality between images by PSNR(A,B)?&lt;br&gt;
&lt;br&gt;
THANKS</description>
    </item>
    <item>
      <pubDate>Fri, 19 Sep 2008 17:36:11 -0400</pubDate>
      <title>Re: I need to help?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/236245#601100</link>
      <author>ImageAnalyst</author>
      <description>On Sep 19, 1:04=A0pm, &quot;ABUTALA &quot; &amp;lt;love.scre...@gmail.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; &amp;gt; &quot;love&quot;:&lt;br&gt;
&amp;gt; &amp;gt; I didn't need to run it - I can tell just from reading the code.&lt;br&gt;
&amp;gt; &amp;gt; Basically it blends two images together and asks you to give a&lt;br&gt;
&amp;gt; &amp;gt; subjective rating on the &quot;robustness&quot; (whatever that is) of the&lt;br&gt;
&amp;gt; &amp;gt; watermark. =A0You'd need to define &quot;robustness&quot; better and then, after&lt;br&gt;
&amp;gt; &amp;gt; you've plotted robustness vs. blending percentage, make some kind of&lt;br&gt;
&amp;gt; &amp;gt; subjective call about which blending factor is &quot;best.&quot; =A0This is a ver=&lt;br&gt;
y&lt;br&gt;
&amp;gt; &amp;gt; simple to construct and very visible type of watermark. =A0It's not&lt;br&gt;
&amp;gt; &amp;gt; really steganography because it's not hidden. =A0There are so many ways&lt;br&gt;
&amp;gt; &amp;gt; to hide one image in another that can't be detected as easily as your&lt;br&gt;
&amp;gt; &amp;gt; method and can only be found with knowledge of how it was&lt;br&gt;
&amp;gt; &amp;gt; constructed. =A0You could think up your own with a little thought, but&lt;br&gt;
&amp;gt; &amp;gt; this blending method is not a very effective one.&lt;br&gt;
&amp;gt; &amp;gt; You're welcome.&lt;br&gt;
&amp;gt; &amp;gt; Did I win?&lt;br&gt;
&amp;gt; &amp;gt; Regards,&lt;br&gt;
&amp;gt; &amp;gt; ImageAnalyst&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Thank ImageAnalyst&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I want to know the quality between images by PSNR(A,B)?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; THANKS- Hide quoted text -&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; - Show quoted text -&lt;br&gt;
&lt;br&gt;
------------------------------------------------------------------------&lt;br&gt;
ABUTALA:&lt;br&gt;
MATLAB has a defnition of PSNR at&lt;br&gt;
&lt;a href=&quot;http://www.mathworks.com/access/helpdesk/help/toolbox/vipblks/ref/psnr.html&quot;&gt;http://www.mathworks.com/access/helpdesk/help/toolbox/vipblks/ref/psnr.html&lt;/a&gt;&lt;br&gt;
So you're going to plot psnr vs. human_visual_grade?&lt;br&gt;
By the way, is this related to love's question or is this some&lt;br&gt;
completely separate question?  How are you related to love?&lt;br&gt;
Regards,&lt;br&gt;
ImageAnalyst</description>
    </item>
    <item>
      <pubDate>Fri, 19 Sep 2008 18:51:02 -0400</pubDate>
      <title>Re: I need to help?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/236245#601111</link>
      <author>ABUTALA </author>
      <description>ImageAnalyst &amp;lt;imageanalyst@mailinator.com&amp;gt; wrote in message &amp;lt;5e356f60-dbfd-46b3-9034-0e72a4a0e71e@x35g2000hsb.googlegroups.com&amp;gt;...&lt;br&gt;
&amp;gt; On Sep 19, 1:04=A0pm, &quot;ABUTALA &quot; &amp;lt;love.scre...@gmail.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &quot;love&quot;:&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; I didn't need to run it - I can tell just from reading the code.&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; Basically it blends two images together and asks you to give a&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; subjective rating on the &quot;robustness&quot; (whatever that is) of the&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; watermark. =A0You'd need to define &quot;robustness&quot; better and then, after&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; you've plotted robustness vs. blending percentage, make some kind of&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; subjective call about which blending factor is &quot;best.&quot; =A0This is a ver=&lt;br&gt;
&amp;gt; y&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; simple to construct and very visible type of watermark. =A0It's not&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; really steganography because it's not hidden. =A0There are so many ways&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; to hide one image in another that can't be detected as easily as your&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; method and can only be found with knowledge of how it was&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; constructed. =A0You could think up your own with a little thought, but&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; this blending method is not a very effective one.&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; You're welcome.&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; Did I win?&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; Regards,&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; ImageAnalyst&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; Thank ImageAnalyst&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; I want to know the quality between images by PSNR(A,B)?&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; THANKS- Hide quoted text -&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; - Show quoted text -&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; ------------------------------------------------------------------------&lt;br&gt;
&amp;gt; ABUTALA:&lt;br&gt;
&amp;gt; MATLAB has a defnition of PSNR at&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://www.mathworks.com/access/helpdesk/help/toolbox/vipblks/ref/psnr.html&quot;&gt;http://www.mathworks.com/access/helpdesk/help/toolbox/vipblks/ref/psnr.html&lt;/a&gt;&lt;br&gt;
&amp;gt; So you're going to plot psnr vs. human_visual_grade?&lt;br&gt;
&amp;gt; By the way, is this related to love's question or is this some&lt;br&gt;
&amp;gt; completely separate question?  How are you related to love?&lt;br&gt;
&amp;gt; Regards,&lt;br&gt;
&amp;gt; ImageAnalyst&lt;br&gt;
&lt;br&gt;
thank you&lt;br&gt;
&lt;br&gt;
i did but i need to run program and i see thr result?&lt;br&gt;
&lt;br&gt;
love-- it is nickname only</description>
    </item>
    <item>
      <pubDate>Fri, 19 Sep 2008 19:37:27 -0400</pubDate>
      <title>Re: I need to help?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/236245#601118</link>
      <author>ImageAnalyst</author>
      <description>On Sep 19, 2:51=A0pm, &quot;ABUTALA &quot; &amp;lt;love.scre...@gmail.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; ImageAnalyst &amp;lt;imageanal...@mailinator.com&amp;gt; wrote in message &amp;lt;5e356f60-dbf=&lt;br&gt;
d-46b3-9034-0e72a4a0e...@x35g2000hsb.googlegroups.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; On Sep 19, 1:04=3DA0pm, &quot;ABUTALA &quot; &amp;lt;love.scre...@gmail.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; &quot;love&quot;:&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; I didn't need to run it - I can tell just from reading the code.&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; Basically it blends two images together and asks you to give a&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; subjective rating on the &quot;robustness&quot; (whatever that is) of the&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; watermark. =3DA0You'd need to define &quot;robustness&quot; better and then, =&lt;br&gt;
after&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; you've plotted robustness vs. blending percentage, make some kind o=&lt;br&gt;
f&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; subjective call about which blending factor is &quot;best.&quot; =3DA0This is=&lt;br&gt;
&amp;nbsp;a ver=3D&lt;br&gt;
&amp;gt; &amp;gt; y&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; simple to construct and very visible type of watermark. =3DA0It's n=&lt;br&gt;
ot&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; really steganography because it's not hidden. =3DA0There are so man=&lt;br&gt;
y ways&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; to hide one image in another that can't be detected as easily as yo=&lt;br&gt;
ur&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; method and can only be found with knowledge of how it was&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; constructed. =3DA0You could think up your own with a little thought=&lt;br&gt;
, but&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; this blending method is not a very effective one.&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; You're welcome.&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; Did I win?&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; Regards,&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; ImageAnalyst&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; Thank ImageAnalyst&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; I want to know the quality between images by PSNR(A,B)?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; THANKS- Hide quoted text -&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; - Show quoted text -&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; -----------------------------------------------------------------------=&lt;br&gt;
-&lt;br&gt;
&amp;gt; &amp;gt; ABUTALA:&lt;br&gt;
&amp;gt; &amp;gt; MATLAB has a defnition of PSNR at&lt;br&gt;
&amp;gt; &amp;gt;&lt;a href=&quot;http://www.mathworks.com/access/helpdesk/help/toolbox/vipblks/ref/psn...&quot;&gt;http://www.mathworks.com/access/helpdesk/help/toolbox/vipblks/ref/psn...&lt;/a&gt;&lt;br&gt;
&amp;gt; &amp;gt; So you're going to plot psnr vs. human_visual_grade?&lt;br&gt;
&amp;gt; &amp;gt; By the way, is this related to love's question or is this some&lt;br&gt;
&amp;gt; &amp;gt; completely separate question? =A0How are you related to love?&lt;br&gt;
&amp;gt; &amp;gt; Regards,&lt;br&gt;
&amp;gt; &amp;gt; ImageAnalyst&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; thank you&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; i did but i need to run program and i see thr result?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; love-- it is nickname only- Hide quoted text -&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; - Show quoted text -&lt;br&gt;
&lt;br&gt;
-----------------------------------------------------&lt;br&gt;
Well . . . Yeah!  How else are things going to happen?&lt;br&gt;
Good luck,&lt;br&gt;
ImageAnalyst</description>
    </item>
    <item>
      <pubDate>Fri, 19 Sep 2008 20:49:02 -0400</pubDate>
      <title>Re: I need to help?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/236245#601133</link>
      <author>ABUTALA </author>
      <description>Thank&lt;br&gt;
&lt;br&gt;
I run program :&lt;br&gt;
[&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
clear all&lt;br&gt;
close all&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
[InputFileName, InputPathName] = uigetfile('*.tif', 'Select Input Image');&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;InputImageName = strcat(InputPathName,InputFileName)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cover=imread(InputImageName);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if(~isgray(cover))&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cover=rgb2gray(cover);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;end&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;figure, imshow(cover,[])   %Display the cover image&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[InputFileName, InputPathName] = uigetfile('*.tif', 'Select  Image to hide');&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;InputImageName = strcat(InputPathName,InputFileName)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;hidden=imread(InputImageName);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if(~isgray(hidden))&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;hidden=rgb2gray(hidden);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;end&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;figure, imshow(hidden,[])&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;alpha = .02; %Strength of the hidden information&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;stego = (1-alpha) * cover + alpha * hidden;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;figure, imshow(stego, []);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;reconstructed = (stego - (1-alpha) * cover)./alpha;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;figure, imshow(reconstructed, []);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;%%%See the difference between reconstructed and hidden&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;diff = hidden - reconstructed;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&lt;br&gt;
if reconstructed == hidden&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;error('Images are identical: PSNR has infinite value')&lt;br&gt;
end&lt;br&gt;
&lt;br&gt;
max2_A = max(max(reconstructed));&lt;br&gt;
max2_B = max(max(hidden));&lt;br&gt;
min2_A = min(min(reconstructed));&lt;br&gt;
min2_B = min(min(hidden));&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
er = reconstructed - hidden;&lt;br&gt;
decibels = 20*log10(255/(sqrt(mean(mean(er.^2)))))&lt;br&gt;
plot(stego,reconstructed)&lt;br&gt;
&lt;br&gt;
]&lt;br&gt;
&lt;br&gt;
the result :&lt;br&gt;
&lt;br&gt;
&amp;gt;&amp;gt; f&lt;br&gt;
&lt;br&gt;
InputImageName =&lt;br&gt;
&lt;br&gt;
E:\MatLAB\work\NewFolder1\demi256.tif&lt;br&gt;
&lt;br&gt;
Warning: isgray is obsolete and may be removed in the future.&lt;br&gt;
See product release notes for more information.&lt;br&gt;
&amp;gt; In isgray at 27 % what is this?&lt;br&gt;
&amp;nbsp;&amp;nbsp;In f at 14 %what is this?Error or no ,i got it when i run.&lt;br&gt;
&lt;br&gt;
InputImageName =&lt;br&gt;
&lt;br&gt;
E:\MatLAB\work\NewFolder1\demi256.tif&lt;br&gt;
&lt;br&gt;
Warning: isgray is obsolete and may be removed in the future.&lt;br&gt;
See product release notes for more information.&lt;br&gt;
&amp;gt; In isgray at 27&lt;br&gt;
&amp;nbsp;&amp;nbsp;In f at 24&lt;br&gt;
&lt;br&gt;
decibels =&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;30.3911 % this is difference between images or no?&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Please help me?</description>
    </item>
    <item>
      <pubDate>Fri, 19 Sep 2008 21:49:22 -0400</pubDate>
      <title>Re: I need to help?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/236245#601141</link>
      <author>Walter Roberson</author>
      <description>ABUTALA wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt;     cover=imread(InputImageName);&lt;br&gt;
&amp;gt;     if(~isgray(cover))&lt;br&gt;
&amp;gt;         cover=rgb2gray(cover);&lt;br&gt;
&amp;gt;     end&lt;br&gt;
&lt;br&gt;
Replace those lines with:&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;cover = imread(InputImageName);&lt;br&gt;
&amp;nbsp;&amp;nbsp;if ndims(cover) == 3&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cover = rgb2gray(cover);&lt;br&gt;
&amp;nbsp;&amp;nbsp;end&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&amp;gt;     hidden=imread(InputImageName); &lt;br&gt;
&amp;gt;     if(~isgray(hidden))&lt;br&gt;
&amp;gt;         hidden=rgb2gray(hidden);&lt;br&gt;
&amp;gt;     end&lt;br&gt;
&lt;br&gt;
Replace those lines with:&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;hidden = imread(InputImageName);&lt;br&gt;
&amp;nbsp;&amp;nbsp;if ndims(hidden) == 3&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;hidden = rgb2gray(hidden);&lt;br&gt;
&amp;nbsp;&amp;nbsp;end&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&lt;br&gt;
&amp;gt; Warning: isgray is obsolete and may be removed in the future.&lt;br&gt;
&amp;gt; See product release notes for more information.&lt;br&gt;
&amp;gt;&amp;gt; In isgray at 27 % what is this?&lt;br&gt;
&lt;br&gt;
27 is the line number in the isgray() function at which the warning&lt;br&gt;
was issued. If you want more information about -why- isgray() is&lt;br&gt;
being made obsolete, following the instructions given in the&lt;br&gt;
warning message by reading the product release notes.&lt;br&gt;
&lt;br&gt;
&amp;gt;   In f at 14 %what is this?Error or no ,i got it when i run.&lt;br&gt;
&lt;br&gt;
14 is the line number in f which contained the call to isgray()&lt;br&gt;
that issued the warning.&lt;br&gt;
&lt;br&gt;
If this had been an error, the message would have started with&lt;br&gt;
'Error:'. But it starts with 'Warning:' so it is a warning,&lt;br&gt;
not an error.&lt;br&gt;
&lt;br&gt;
&amp;gt; decibels =&lt;br&gt;
&amp;gt;    30.3911 % this is difference between images or no?&lt;br&gt;
&lt;br&gt;
The -difference- between picture C and picture D is that picture C&lt;br&gt;
is an image of a cat, and picture D is an image of a dog.&lt;br&gt;
What you see printed out is a -measurement- of certain mathematical&lt;br&gt;
properties.&lt;br&gt;
&lt;br&gt;
&quot;Ceci, n'est pas une pipe.&quot;&lt;br&gt;
&lt;a href=&quot;http://en.wikipedia.org/wiki/The_Treachery_of_Images&quot;&gt;http://en.wikipedia.org/wiki/The_Treachery_of_Images&lt;/a&gt;</description>
    </item>
    <item>
      <pubDate>Fri, 19 Sep 2008 23:57:01 -0400</pubDate>
      <title>Re: I need to help?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/236245#601150</link>
      <author>ABUTALA </author>
      <description>Walter Roberson &amp;lt;roberson@hushmail.com&amp;gt; wrote in message &amp;lt;j7VAk.522$zk7.162@newsfe06.iad&amp;gt;...&lt;br&gt;
&amp;gt; ABUTALA wrote:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &amp;gt;     cover=imread(InputImageName);&lt;br&gt;
&amp;gt; &amp;gt;     if(~isgray(cover))&lt;br&gt;
&amp;gt; &amp;gt;         cover=rgb2gray(cover);&lt;br&gt;
&amp;gt; &amp;gt;     end&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Replace those lines with:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt;   cover = imread(InputImageName);&lt;br&gt;
&amp;gt;   if ndims(cover) == 3&lt;br&gt;
&amp;gt;     cover = rgb2gray(cover);&lt;br&gt;
&amp;gt;   end&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &amp;gt;     hidden=imread(InputImageName); &lt;br&gt;
&amp;gt; &amp;gt;     if(~isgray(hidden))&lt;br&gt;
&amp;gt; &amp;gt;         hidden=rgb2gray(hidden);&lt;br&gt;
&amp;gt; &amp;gt;     end&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Replace those lines with:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt;   hidden = imread(InputImageName);&lt;br&gt;
&amp;gt;   if ndims(hidden) == 3&lt;br&gt;
&amp;gt;     hidden = rgb2gray(hidden);&lt;br&gt;
&amp;gt;   end&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt;  &lt;br&gt;
&amp;gt; &amp;gt; Warning: isgray is obsolete and may be removed in the future.&lt;br&gt;
&amp;gt; &amp;gt; See product release notes for more information.&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; In isgray at 27 % what is this?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; 27 is the line number in the isgray() function at which the warning&lt;br&gt;
&amp;gt; was issued. If you want more information about -why- isgray() is&lt;br&gt;
&amp;gt; being made obsolete, following the instructions given in the&lt;br&gt;
&amp;gt; warning message by reading the product release notes.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &amp;gt;   In f at 14 %what is this?Error or no ,i got it when i run.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; 14 is the line number in f which contained the call to isgray()&lt;br&gt;
&amp;gt; that issued the warning.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Thank you so much, I run program again after replaced the lines and i didnt see error.&lt;br&gt;
the result:&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&amp;gt;&amp;gt; f&lt;br&gt;
&lt;br&gt;
InputImageName =&lt;br&gt;
&lt;br&gt;
E:\MatLAB\work\NewFolder1\kids.tif&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
InputImageName =&lt;br&gt;
&lt;br&gt;
E:\MatLAB\work\NewFolder1\kids.tif&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
decibels =&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;29.4771&lt;br&gt;
&lt;br&gt;
What is this number because i want to know (find the quality at different &amp;#8216;strength&amp;#8217; value. Plot a graph of the quality of  the stego image and the reconstructed image vs &amp;#8216;strength&amp;#8217;.)&lt;br&gt;
Can you help to answer this?&lt;br&gt;
&lt;br&gt;
regards&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; If this had been an error, the message would have started with&lt;br&gt;
&amp;gt; 'Error:'. But it starts with 'Warning:' so it is a warning,&lt;br&gt;
&amp;gt; not an error.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; decibels =&lt;br&gt;
&amp;gt; &amp;gt;    30.3911 % this is difference between images or no?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; The -difference- between picture C and picture D is that picture C&lt;br&gt;
&amp;gt; is an image of a cat, and picture D is an image of a dog.&lt;br&gt;
&amp;gt; What you see printed out is a -measurement- of certain mathematical&lt;br&gt;
&amp;gt; properties.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &quot;Ceci, n'est pas une pipe.&quot;&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://en.wikipedia.org/wiki/The_Treachery_of_Images&quot;&gt;http://en.wikipedia.org/wiki/The_Treachery_of_Images&lt;/a&gt;</description>
    </item>
    <item>
      <pubDate>Sun, 21 Sep 2008 03:13:09 -0400</pubDate>
      <title>Re: I need to help?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/236245#601231</link>
      <author>ABUTALA </author>
      <description>No one help me?</description>
    </item>
    <item>
      <pubDate>Sun, 21 Sep 2008 08:38:17 -0400</pubDate>
      <title>Re: I need to help?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/236245#601246</link>
      <author>Walter Roberson</author>
      <description>ABUTALA wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt; decibels =&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt;    29.4771&lt;br&gt;
&amp;nbsp;&lt;br&gt;
&amp;gt; What is this number&lt;br&gt;
&lt;br&gt;
The number is an arbitrary value calculated by the program for no apparent&lt;br&gt;
reason and accidentally printed out because the line that calculates it&lt;br&gt;
has a missing semi-colon at the end.&lt;br&gt;
&lt;br&gt;
&amp;gt; because i want to know (find the quality at different &amp;#8216;strength&amp;#8217; value.&lt;br&gt;
&amp;gt; Plot a graph of the quality of  the stego image and the reconstructed image&lt;br&gt;
&amp;gt;  vs &amp;#8216;strength&amp;#8217;.)&lt;br&gt;
&amp;gt; Can you help to answer this?&lt;br&gt;
&lt;br&gt;
I would say that to answer that, you are going to have to choose a precise&lt;br&gt;
definition for &quot;quality&quot;, and you are going to have to choose a value&lt;br&gt;
range for &quot;strength&quot;. At least the code -mentions- &quot;strength&quot; (in one of&lt;br&gt;
the comments) so you have a fighting chance of figuring out what the&lt;br&gt;
valid range is for &quot;strength&quot;. Unfortunately there is no scientific definition&lt;br&gt;
for &quot;quality&quot; when it comes to images built from mathematical arrays.&lt;br&gt;
What is the &quot;quality&quot; associated with an image of a cat? What is the &quot;quality&quot;&lt;br&gt;
associated with an image of a dog? How does the image of the cat differ from&lt;br&gt;
the cat itself?</description>
    </item>
    <item>
      <pubDate>Sun, 21 Sep 2008 10:37:02 -0400</pubDate>
      <title>Re: I need to help?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/236245#601258</link>
      <author>ABUTALA </author>
      <description>Thank Walter Roberson&lt;br&gt;
&lt;br&gt;
Please run program and show me how can calculate quality at different &amp;#8216;strength&amp;#8217; value?&lt;br&gt;
and &lt;br&gt;
Plot a graph of the quality of the stego image and the reconstructed image vs &amp;#8216;strength&amp;#8217;?&lt;br&gt;
&lt;br&gt;
yours</description>
    </item>
    <item>
      <pubDate>Sun, 21 Sep 2008 13:34:32 -0400</pubDate>
      <title>Re: I need to help?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/236245#601266</link>
      <author>ImageAnalyst</author>
      <description>On Sep 21, 4:38=A0am, Walter Roberson &amp;lt;rober...@hushmail.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; ABUTALA wrote:&lt;br&gt;
&amp;gt; &amp;gt; decibels =3D&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; =A0 =A029.4771&lt;br&gt;
&amp;gt; &amp;gt; What is this number&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; The number is an arbitrary value calculated by the program for no apparen=&lt;br&gt;
t&lt;br&gt;
&amp;gt; reason and accidentally printed out because the line that calculates it&lt;br&gt;
&amp;gt; has a missing semi-colon at the end.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; because i want to know (find the quality at different &amp;#8216;strength&amp;#=&lt;br&gt;
8217; value.&lt;br&gt;
&amp;gt; &amp;gt; Plot a graph of the quality of =A0the stego image and the reconstructed=&lt;br&gt;
&amp;nbsp;image&lt;br&gt;
&amp;gt; &amp;gt; =A0vs &amp;#8216;strength&amp;#8217;.)&lt;br&gt;
&amp;gt; &amp;gt; Can you help to answer this?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I would say that to answer that, you are going to have to choose a precis=&lt;br&gt;
e&lt;br&gt;
&amp;gt; definition for &quot;quality&quot;, and you are going to have to choose a value&lt;br&gt;
&amp;gt; range for &quot;strength&quot;. At least the code -mentions- &quot;strength&quot; (in one of&lt;br&gt;
&amp;gt; the comments) so you have a fighting chance of figuring out what the&lt;br&gt;
&amp;gt; valid range is for &quot;strength&quot;. Unfortunately there is no scientific defin=&lt;br&gt;
ition&lt;br&gt;
&amp;gt; for &quot;quality&quot; when it comes to images built from mathematical arrays.&lt;br&gt;
&amp;gt; What is the &quot;quality&quot; associated with an image of a cat? What is the &quot;qua=&lt;br&gt;
lity&quot;&lt;br&gt;
&amp;gt; associated with an image of a dog? How does the image of the cat differ f=&lt;br&gt;
rom&lt;br&gt;
&amp;gt; the cat itself?&lt;br&gt;
&lt;br&gt;
---------------------------------------------------------------------------=&lt;br&gt;
----&lt;br&gt;
Walter's right again as usual.  PSNR is not really a quality metric in&lt;br&gt;
the context that you're using it.  It's meant to be used to determine&lt;br&gt;
how close a reconstructed image is to the original image, For example&lt;br&gt;
if you take an image and then compress it and decompress it, and then&lt;br&gt;
compare that to the original.  I don't think it really makes too much&lt;br&gt;
sense in watermarking.  PSNR will be max for no watermark at all and&lt;br&gt;
get less as the watermark gets bigger or more contrasty, neither of&lt;br&gt;
which is related to the &quot;quality&quot; ro effectiveness of the watermark in&lt;br&gt;
doing its job.  I think you should use a different criteria to assess&lt;br&gt;
the effectiveness of your watermarking.&lt;br&gt;
Regards,&lt;br&gt;
ImageAnalyst</description>
    </item>
    <item>
      <pubDate>Sun, 21 Sep 2008 16:54:47 -0400</pubDate>
      <title>Re: I need to help?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/236245#601287</link>
      <author>Walter Roberson</author>
      <description>ABUTALA wrote:&lt;br&gt;
&amp;gt; Thank Walter Roberson&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Please run program and show me how can calculate quality at different&lt;br&gt;
&amp;gt;  &amp;#8216;strength&amp;#8217; value?&lt;br&gt;
&lt;br&gt;
Well, since you have left it to me to define what &quot;quality&quot; is, I suggest&lt;br&gt;
that you simply add&lt;br&gt;
&lt;br&gt;
quality = -8.3156;&lt;br&gt;
&lt;br&gt;
near the beginning of your program. The plot of quality versus strength&lt;br&gt;
would then of course be simply a horizontal line, trivial to plot.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
If you were feeling particularly creative, instead of using a constant&lt;br&gt;
for quality, you could put&lt;br&gt;
&lt;br&gt;
tic&lt;br&gt;
&lt;br&gt;
after you read the second image&lt;br&gt;
&lt;br&gt;
and then&lt;br&gt;
&lt;br&gt;
quality = toc;&lt;br&gt;
&lt;br&gt;
after you finish reconstructing the image. That would define &quot;quality&quot; as&lt;br&gt;
the amount of time required to do the image processing, which is at&lt;br&gt;
least a better random definition of &quot;quality&quot; than many of the other&lt;br&gt;
possibilities.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
But if I were you, I would go back to the beginning of the chapter and re-read&lt;br&gt;
the text (or course notes) looking for references to &quot;quality&quot; and seeing&lt;br&gt;
how it is defined -for the purposes of your assignment-.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
But you are clearly lost on another aspect of your assignment other than just&lt;br&gt;
what &quot;quality&quot; means. In order to plot quality vs strength, after you read&lt;br&gt;
in the two images, loop over the main part of your code, using a different&lt;br&gt;
strength for each iteration, calculating the quality at that strength&lt;br&gt;
and recording the. After the end of your loop, after having processed&lt;br&gt;
all of the different strengths, plot the remembered qualities against&lt;br&gt;
the strengths.&lt;br&gt;
&lt;br&gt;
For example,&lt;br&gt;
&lt;br&gt;
M=-8,MM=11,S=111;&lt;br&gt;
Q=M(M~=M);&lt;br&gt;
for strength=M:(MM-M)/S:MM&lt;br&gt;
&amp;nbsp;&amp;nbsp;%at this point, watermark the image with the current strength, and&lt;br&gt;
&amp;nbsp;&amp;nbsp;%calculate the quality of the resulting image. Then,&lt;br&gt;
&amp;nbsp;&amp;nbsp;Q(end+1)=quality;&lt;br&gt;
end&lt;br&gt;
&lt;br&gt;
plot(M:(MM-M)/S:MM,Q);&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
(Yes, this code -has- been deliberately written poorly: it is a brief&lt;br&gt;
example to outline what has to be done, with the expectation that&lt;br&gt;
once you have seen the bare concept, you will do whatever re-writing&lt;br&gt;
is appropriate.</description>
    </item>
    <item>
      <pubDate>Sun, 21 Sep 2008 18:48:03 -0400</pubDate>
      <title>Re: I need to help?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/236245#601298</link>
      <author>ABUTALA </author>
      <description>Thank Walter Roberson.&lt;br&gt;
&lt;br&gt;
Well, what is code that i add it to program and then program find the quality?&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
program :&lt;br&gt;
clear all&lt;br&gt;
close all&lt;br&gt;
[InputFileName, InputPathName] = uigetfile('*.tif', 'Select Input Image');&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;InputImageName = strcat(InputPathName,InputFileName)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cover=imread(InputImageName);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if ndims(cover) == 3&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cover = rgb2gray(cover);&lt;br&gt;
&amp;nbsp;&amp;nbsp;end&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;figure, imshow(cover,[])   %Display the cover image&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[InputFileName, InputPathName] = uigetfile('*.tif', 'Select  Image to hide');&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;InputImageName = strcat(InputPathName,InputFileName)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;hidden=imread(InputImageName);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if ndims(hidden) == 3&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;hidden = rgb2gray(hidden);&lt;br&gt;
&amp;nbsp;&amp;nbsp;end&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;figure, imshow(hidden,[])&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;alpha = .02; %Strength of the hidden information&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;stego = (1-alpha) * cover + alpha * hidden;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;figure, imshow(stego, []);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;reconstructed = (stego - (1-alpha) * cover)./alpha;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;figure, imshow(reconstructed, []);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;%%%See the difference between reconstructed and hidden&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;diff = hidden - reconstructed;&lt;br&gt;
&amp;nbsp;if reconstructed == hidden&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;error('Images are identical: PSNR has infinite value')&lt;br&gt;
end&lt;br&gt;
max2_A = max(max(reconstructed));&lt;br&gt;
max2_B = max(max(hidden));&lt;br&gt;
min2_A = min(min(reconstructed));&lt;br&gt;
min2_B = min(min(hidden));&lt;br&gt;
er = reconstructed - hidden;&lt;br&gt;
decibels = 20*log10(1/(sqrt(mean(mean(er.^2)))))&lt;br&gt;
plot(stego,reconstructed)&lt;br&gt;
---------------------------------------------------------&lt;br&gt;
Thanks</description>
    </item>
    <item>
      <pubDate>Mon, 22 Sep 2008 18:56:39 -0400</pubDate>
      <title>Re: I need to help?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/236245#601468</link>
      <author>Walter Roberson</author>
      <description>ABUTALA wrote:&lt;br&gt;
&amp;gt; Thank Walter Roberson.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Well, what is code that i add it to program and then program find the quality?&lt;br&gt;
&lt;br&gt;
I have indicated the necessary change below.&lt;br&gt;
&lt;br&gt;
&amp;gt; clear all&lt;br&gt;
&amp;gt; close all&lt;br&gt;
&lt;br&gt;
Right here, add the statement&lt;br&gt;
&lt;br&gt;
quality = -8.3156;&lt;br&gt;
&lt;br&gt;
The rest of your program remains the same.&lt;br&gt;
&lt;br&gt;
The quality of *every* image is -8.3156, no matter what the image contains&lt;br&gt;
(with the exception that the quality of images which are 0 by 0 is NaN.)&lt;br&gt;
&lt;br&gt;
But be cautioned that markers are often very stubborn, and often&lt;br&gt;
issue &quot;Fail&quot; marks for programs that are correct but which disagree&lt;br&gt;
with what was taught in the reference material, so it would probably be&lt;br&gt;
-safer- for you to use the definition of quality given in your course&lt;br&gt;
instead of using the Universal Quality Constant of -8.3156 that I show here.&lt;br&gt;
&lt;br&gt;
Just out of curiosity, how does your course reference material define &quot;quality&quot; ?&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&amp;gt; [InputFileName, InputPathName] = uigetfile('*.tif', 'Select Input Image');&lt;br&gt;
&amp;gt;    InputImageName = strcat(InputPathName,InputFileName)&lt;br&gt;
&amp;gt;     cover=imread(InputImageName);&lt;br&gt;
&amp;gt;     &lt;br&gt;
&amp;gt;     if ndims(cover) == 3&lt;br&gt;
&amp;gt;     cover = rgb2gray(cover);&lt;br&gt;
&amp;gt;   end&lt;br&gt;
&amp;gt;     &lt;br&gt;
&amp;gt;     figure, imshow(cover,[])   %Display the cover image&lt;br&gt;
&amp;gt;     &lt;br&gt;
&amp;gt;     [InputFileName, InputPathName] = uigetfile('*.tif', 'Select  Image to hide');&lt;br&gt;
&amp;gt;    InputImageName = strcat(InputPathName,InputFileName)&lt;br&gt;
&amp;gt;     hidden=imread(InputImageName);&lt;br&gt;
&amp;gt;     if ndims(hidden) == 3&lt;br&gt;
&amp;gt;     hidden = rgb2gray(hidden);&lt;br&gt;
&amp;gt;   end&lt;br&gt;
&amp;gt;     figure, imshow(hidden,[])&lt;br&gt;
&amp;gt;     alpha = .02; %Strength of the hidden information&lt;br&gt;
&amp;gt;     stego = (1-alpha) * cover + alpha * hidden;&lt;br&gt;
&amp;gt;     &lt;br&gt;
&amp;gt;     figure, imshow(stego, []);&lt;br&gt;
&amp;gt;     reconstructed = (stego - (1-alpha) * cover)./alpha;&lt;br&gt;
&amp;gt;     figure, imshow(reconstructed, []);&lt;br&gt;
&amp;gt;     &lt;br&gt;
&amp;gt;     %%%See the difference between reconstructed and hidden&lt;br&gt;
&amp;gt;     diff = hidden - reconstructed;&lt;br&gt;
&amp;gt;  if reconstructed == hidden&lt;br&gt;
&amp;gt;    error('Images are identical: PSNR has infinite value')&lt;br&gt;
&amp;gt; end&lt;br&gt;
&amp;gt; max2_A = max(max(reconstructed));&lt;br&gt;
&amp;gt; max2_B = max(max(hidden));&lt;br&gt;
&amp;gt; min2_A = min(min(reconstructed));&lt;br&gt;
&amp;gt; min2_B = min(min(hidden));&lt;br&gt;
&amp;gt; er = reconstructed - hidden;&lt;br&gt;
&amp;gt; decibels = 20*log10(1/(sqrt(mean(mean(er.^2)))))&lt;br&gt;
&amp;gt; plot(stego,reconstructed)</description>
    </item>
    <item>
      <pubDate>Mon, 22 Sep 2008 19:22:03 -0400</pubDate>
      <title>Re: I need to help?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/236245#601470</link>
      <author>ABUTALA </author>
      <description>Thank you so much for helping&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Walter Roberson &amp;lt;roberson@hushmail.com&amp;gt; wrote in message &amp;lt;6TRBk.14$Cl1.13@newsfe01.iad&amp;gt;...&lt;br&gt;
&amp;gt; ABUTALA wrote:&lt;br&gt;
&amp;gt; &amp;gt; Thank Walter Roberson.&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Well, what is code that i add it to program and then program find the quality?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I have indicated the necessary change below.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; clear all&lt;br&gt;
&amp;gt; &amp;gt; close all&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Right here, add the statement&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; quality = -8.3156;&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; The rest of your program remains the same.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; The quality of *every* image is -8.3156, no matter what the image contains&lt;br&gt;
&amp;gt; (with the exception that the quality of images which are 0 by 0 is NaN.)&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; But be cautioned that markers are often very stubborn, and often&lt;br&gt;
&amp;gt; issue &quot;Fail&quot; marks for programs that are correct but which disagree&lt;br&gt;
&amp;gt; with what was taught in the reference material, so it would probably be&lt;br&gt;
&amp;gt; -safer- for you to use the definition of quality given in your course&lt;br&gt;
&amp;gt; instead of using the Universal Quality Constant of -8.3156 that I show here.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Just out of curiosity, how does your course reference material define &quot;quality&quot; ?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; [InputFileName, InputPathName] = uigetfile('*.tif', 'Select Input Image');&lt;br&gt;
&amp;gt; &amp;gt;    InputImageName = strcat(InputPathName,InputFileName)&lt;br&gt;
&amp;gt; &amp;gt;     cover=imread(InputImageName);&lt;br&gt;
&amp;gt; &amp;gt;     &lt;br&gt;
&amp;gt; &amp;gt;     if ndims(cover) == 3&lt;br&gt;
&amp;gt; &amp;gt;     cover = rgb2gray(cover);&lt;br&gt;
&amp;gt; &amp;gt;   end&lt;br&gt;
&amp;gt; &amp;gt;     &lt;br&gt;
&amp;gt; &amp;gt;     figure, imshow(cover,[])   %Display the cover image&lt;br&gt;
&amp;gt; &amp;gt;     &lt;br&gt;
&amp;gt; &amp;gt;     [InputFileName, InputPathName] = uigetfile('*.tif', 'Select  Image to hide');&lt;br&gt;
&amp;gt; &amp;gt;    InputImageName = strcat(InputPathName,InputFileName)&lt;br&gt;
&amp;gt; &amp;gt;     hidden=imread(InputImageName);&lt;br&gt;
&amp;gt; &amp;gt;     if ndims(hidden) == 3&lt;br&gt;
&amp;gt; &amp;gt;     hidden = rgb2gray(hidden);&lt;br&gt;
&amp;gt; &amp;gt;   end&lt;br&gt;
&amp;gt; &amp;gt;     figure, imshow(hidden,[])&lt;br&gt;
&amp;gt; &amp;gt;     alpha = .02; %Strength of the hidden information&lt;br&gt;
&amp;gt; &amp;gt;     stego = (1-alpha) * cover + alpha * hidden;&lt;br&gt;
&amp;gt; &amp;gt;     &lt;br&gt;
&amp;gt; &amp;gt;     figure, imshow(stego, []);&lt;br&gt;
&amp;gt; &amp;gt;     reconstructed = (stego - (1-alpha) * cover)./alpha;&lt;br&gt;
&amp;gt; &amp;gt;     figure, imshow(reconstructed, []);&lt;br&gt;
&amp;gt; &amp;gt;     &lt;br&gt;
&amp;gt; &amp;gt;     %%%See the difference between reconstructed and hidden&lt;br&gt;
&amp;gt; &amp;gt;     diff = hidden - reconstructed;&lt;br&gt;
&amp;gt; &amp;gt;  if reconstructed == hidden&lt;br&gt;
&amp;gt; &amp;gt;    error('Images are identical: PSNR has infinite value')&lt;br&gt;
&amp;gt; &amp;gt; end&lt;br&gt;
&amp;gt; &amp;gt; max2_A = max(max(reconstructed));&lt;br&gt;
&amp;gt; &amp;gt; max2_B = max(max(hidden));&lt;br&gt;
&amp;gt; &amp;gt; min2_A = min(min(reconstructed));&lt;br&gt;
&amp;gt; &amp;gt; min2_B = min(min(hidden));&lt;br&gt;
&amp;gt; &amp;gt; er = reconstructed - hidden;&lt;br&gt;
&amp;gt; &amp;gt; decibels = 20*log10(1/(sqrt(mean(mean(er.^2)))))&lt;br&gt;
&amp;gt; &amp;gt; plot(stego,reconstructed)</description>
    </item>
    <item>
      <pubDate>Mon, 22 Sep 2008 20:01:44 -0400</pubDate>
      <title>Re: I need to help?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/236245#601473</link>
      <author>ImageAnalyst</author>
      <description>Walter said:&lt;br&gt;
&amp;gt;Just out of curiosity, how does your course reference material define &quot;quality&quot; ?&lt;br&gt;
-----------------------------------------------------------------------------------------------------------------------&lt;br&gt;
&lt;br&gt;
Ha! I bet it's not by his PSNR definition.  Like I said in the other&lt;br&gt;
post, I think this is an irrelevant measure for watermarking.&lt;br&gt;
Regards,&lt;br&gt;
ImageAnalyst</description>
    </item>
    <item>
      <pubDate>Tue, 23 Sep 2008 03:37:01 -0400</pubDate>
      <title>Re: I need to help?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/236245#601536</link>
      <author>ABUTALA </author>
      <description>&lt;br&gt;
&amp;gt; Walter said:&lt;br&gt;
&amp;gt; &amp;gt;Just out of curiosity, how does your course reference material define &quot;quality&quot; ?&lt;br&gt;
&amp;gt; -----------------------------------------------------------------------------------------------------------------------&lt;br&gt;
Quality means  the different between images detaction</description>
    </item>
    <item>
      <pubDate>Tue, 23 Sep 2008 05:38:06 -0400</pubDate>
      <title>Re: I need to help?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/236245#601553</link>
      <author>Walter Roberson</author>
      <description>ABUTALA wrote:&lt;br&gt;
&amp;gt;&amp;gt; Walter said:&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; Just out of curiosity, how does your course reference material define &quot;quality&quot; ?&lt;br&gt;
&lt;br&gt;
&amp;gt; Quality means  the different between images detaction&lt;br&gt;
&lt;br&gt;
&quot;Image detection&quot; implies that something is doing the&lt;br&gt;
image detection -- that there is an image detector, whether electro-&lt;br&gt;
mechanical or human. But different humans and different electro- mechanical&lt;br&gt;
detection systems are relatively better at detecting specific image aspects&lt;br&gt;
than other specific detectors. There are some things that humans in general&lt;br&gt;
are excellent at detecting, and there are other things that even relatively&lt;br&gt;
simple electro- mechanical systems are better at than most humans. Though&lt;br&gt;
of course people like me who are very near-sighted are not very good at&lt;br&gt;
any kind of image detection without our glasses!&lt;br&gt;
&lt;br&gt;
So for your situation, who is doing the image detection or what&lt;br&gt;
are the characteristics of the electro-mechanical image detector&lt;br&gt;
(and how is the software for it programmed) ?&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
I am, by the way, being *completely* serious about the possibility&lt;br&gt;
that the image detection is being done by a human and that &quot;quality&quot;&lt;br&gt;
might be based upon what the human perceives, rather than upon what&lt;br&gt;
a program calculates. There is a classic paper that studied the&lt;br&gt;
feasibility of using JPEG DCT compression in medical x-rays. The&lt;br&gt;
traditional assumption was that lossy compression would be unacceptable&lt;br&gt;
for something as important as medical x-rays (chest, I think they were),&lt;br&gt;
that &quot;surely&quot; the lossy compression would introduce features that were&lt;br&gt;
not really present, or remove features that were present. So the&lt;br&gt;
paper authors put together a panel of expert x-ray image readers,&lt;br&gt;
and presented them with pairs of images compressed (or not) to some degree,&lt;br&gt;
and had the experts rate the quality of the images (the experts weren't&lt;br&gt;
told which image was which.) Using this blind-comparison method, the&lt;br&gt;
authors of the paper were able to determine a level of JPEG lossy compression&lt;br&gt;
which the experts were unable to tell apart from the images that had not&lt;br&gt;
had any lossy compression at all. The amount of JPEG DCT lossy compression that&lt;br&gt;
was undetectable to the x-ray experts was much higher than one might expect&lt;br&gt;
(but I do not recall the amount at the moment.)&lt;br&gt;
&lt;br&gt;
So for the purposes of that study, &quot;quality&quot; was very much based upon&lt;br&gt;
&quot;what is (un-) detectable to a trained and experienced human expert&quot;.&lt;br&gt;
For -that- study, mathematical statistics comparing images were completely&lt;br&gt;
unimportant in determinations of &quot;quality&quot;.&lt;br&gt;
&lt;br&gt;
For that kind of &quot;quality&quot; measurement, the -only- way to proceed is to&lt;br&gt;
show the images to a human and have the human rate the quality somehow.&lt;br&gt;
Preferably multiple humans, and preferably in a random order, and definitely&lt;br&gt;
with the human not being told which image is which (not even any feedback&lt;br&gt;
after each image about whether they were &quot;right&quot; or &quot;wrong&quot; about which image&lt;br&gt;
was which.)&lt;br&gt;
&lt;br&gt;
But that kind of measurement of &quot;quality&quot; is not the only valid measure&lt;br&gt;
of &quot;quality&quot;: &quot;quality&quot; is whatever you define it as for a given situation.&lt;br&gt;
&quot;Quality&quot; is a word similar to &quot;better&quot;: you have to ask yourself&lt;br&gt;
&quot;Better for what purpose? Better as measured how?&quot;.&lt;br&gt;
&lt;br&gt;
ImageAnalyst has indicated that he believes that PSNR is a bad measure&lt;br&gt;
of &quot;quality&quot; for your purpose. Based upon my suspicions of what you&lt;br&gt;
-should- really be trying to do, I believe that he is right that PSNR&lt;br&gt;
is not good for your situation. On the other hand, because &quot;quality&quot;&lt;br&gt;
is situational, without objective meaning, if you were to *define* &quot;quality&quot;&lt;br&gt;
in terms of PSNR for the purposes of your assignment, then of course it&lt;br&gt;
would be (tautologically) be the right thing to calculate. (But I don't&lt;br&gt;
know if the &quot;decibels&quot; calculated by your program has any relationship to&lt;br&gt;
PSNR; you would have to look up the definition of PSNR to determine that.)</description>
    </item>
    <item>
      <pubDate>Tue, 23 Sep 2008 07:55:03 -0400</pubDate>
      <title>Re: I need to help?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/236245#601567</link>
      <author>ABUTALA </author>
      <description>Thanks so much for all;</description>
    </item>
  </channel>
</rss>

