<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/265278</link>
    <title>MATLAB Central Newsreader - Using wavelet decomposition function dwt2</title>
    <description>Feed for thread: Using wavelet decomposition function dwt2</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>Sun, 08 Nov 2009 09:42:03 -0500</pubDate>
      <title>Using wavelet decomposition function dwt2</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/265278#692975</link>
      <author>Minh Tran</author>
      <description>I'm having trouble with using dwt2 on my intensity image, specifically the LL output. From the examples I've seen elsewhere, the LL output shouldn't be very different from the original intensity image, yet mine is quite whitewashed/overexposed. Any suggestions about this problem ?&lt;br&gt;
&lt;br&gt;
My code : &lt;br&gt;
i = hsi_image(:,:,3);&lt;br&gt;
[LL,LH,HL,HH] = dwt2(i,'db4');</description>
    </item>
    <item>
      <pubDate>Sun, 08 Nov 2009 11:35:04 -0500</pubDate>
      <title>Re: Using wavelet decomposition function dwt2</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/265278#692994</link>
      <author>Wayne King</author>
      <description>&quot;Minh Tran&quot; &amp;lt;overseer47@gmail.com&amp;gt; wrote in message &amp;lt;hd63pb$bgc$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; I'm having trouble with using dwt2 on my intensity image, specifically the LL output. From the examples I've seen elsewhere, the LL output shouldn't be very different from the original intensity image, yet mine is quite whitewashed/overexposed. Any suggestions about this problem ?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; My code : &lt;br&gt;
&amp;gt; i = hsi_image(:,:,3);&lt;br&gt;
&amp;gt; [LL,LH,HL,HH] = dwt2(i,'db4');&lt;br&gt;
&lt;br&gt;
Hi Minh, what command(s) are you using to actually view the images? It's hard for anyone to say without seeing those commands and knowing something about your image. Can you reproduce this behavior with one of the images that come with the wavelet toolbox, so we can all see?&lt;br&gt;
&lt;br&gt;
&amp;gt;&amp;gt;load woman&lt;br&gt;
&lt;br&gt;
for example&lt;br&gt;
&lt;br&gt;
wayne</description>
    </item>
    <item>
      <pubDate>Sun, 08 Nov 2009 15:50:03 -0500</pubDate>
      <title>Re: Using wavelet decomposition function dwt2</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/265278#693018</link>
      <author>Minh Tran</author>
      <description>Thanks, Wayne. This is the image I'm working on and the LL output from dwt2:&lt;br&gt;
&lt;a href=&quot;http://yfrog.com/eldwtproblemp&quot;&gt;http://yfrog.com/eldwtproblemp&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
And this is the results they got on wikimedia :&lt;br&gt;
&lt;a href=&quot;http://commons.wikimedia.org/wiki/File:Jpeg2000_2-level_wavelet_transform-lichtenstein.png&quot;&gt;http://commons.wikimedia.org/wiki/File:Jpeg2000_2-level_wavelet_transform-lichtenstein.png&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
So apparently something's not right here. I tried grayscale conversion as the guy on wikimedia did instead of using RGB-&amp;gt;HSI conversion and it's still the same. The problem shouldn't be the filter - I mean JPEG2000 is different from db4 but shouldn't be that much, as I tried many other filters too (haar, db, bior, etc.). The situation's the same with all other images - whitewashed/overexposed and of course almost useless LL output.&lt;br&gt;
&lt;br&gt;
FYI, I'm using the colorspace converter by Pascal Getreuer (&lt;a href=&quot;http://www.mathworks.com/matlabcentral/fileexchange/7744)&quot;&gt;http://www.mathworks.com/matlabcentral/fileexchange/7744)&lt;/a&gt; to do RGB-&amp;gt;HSI conversion. I run the dwt2 on the intensity image immediately after doing the conversion.</description>
    </item>
    <item>
      <pubDate>Wed, 23 Dec 2009 14:59:06 -0500</pubDate>
      <title>Re: Using wavelet decomposition function dwt2</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/265278#704127</link>
      <author>Idil Selin</author>
      <description>Hi Minh,&lt;br&gt;
I was having the same problem. I am working with a grey scale image (a face of the YaleBkucuk database). I want to make 1 level wavelet transform and look at the result.&lt;br&gt;
This was my code:&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[cA1,cH1,cV1,cD1]=dwt2(face, 'haar'); &lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;subplot(2,2,1); imshow(cA1); %grey levels &amp;gt;256!!!&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;subplot(2,2,2); imshow(cH1);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;subplot(2,2,3); imshow(cV1);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;subplot(2,2,4); imshow(cD1);&lt;br&gt;
And the first picture was all white. I opened it and I found out that some grey levels were greater than 256. I solved the problems by doing like that:&lt;br&gt;
&lt;br&gt;
subplot(2,2,1); imshow(cA1, []); &lt;br&gt;
&lt;br&gt;
I hope it helps. Cheers, Idil</description>
    </item>
  </channel>
</rss>

