<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Wavelet in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Wavelet/m-p/863125#M8019</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;if I understand your code correctly, you are trying to decompose image, which is enlarged exactly by factor 2.0 (and cubic interpolation). In other words the result is enlarged picture, but smoothed, so such an image is actually will not contain high-frequency part of spectrum. In this case it's natural that details component of wavelet transforms contains mostly zero (or close to zero) data.&lt;BR /&gt;Please check that approximation contains valid data, than switch interpolation to NN (not the best for many pictures, but no smoothing) some non-zero data will appear in details component especially when original pictures really have high-frequency part of spectrum.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Mikhail</description>
    <pubDate>Wed, 31 Mar 2010 17:10:56 GMT</pubDate>
    <dc:creator>Mikhail_Kulikov__Int</dc:creator>
    <dc:date>2010-03-31T17:10:56Z</dc:date>
    <item>
      <title>Wavelet</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Wavelet/m-p/863124#M8018</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I'm trying to use ippiWTFwd. I'm confused when comparing the example in the manual, the 2d-wavelet-transform example, and the demo program. The demo program appears to put a border around the results = to the highest number of filter taps. Also, the demo appears to make an ROI in the input image and I'm guessing doesn't use ippiWrapBorder.&lt;BR /&gt;&lt;BR /&gt;I'm basically taking a rectangle (x,y,w,h) as shown below and resizing it to 2x scale so the decimated results will be the same size as the initial rectangle -- see below. The resulting x, y, and xyimages are almost 0 on any image I sent to the ippiWTFwd-- Am I doing something wrong?&lt;BR /&gt;&lt;BR /&gt;THANKS&lt;/P&gt;
&lt;P&gt;double CCamera::CalcWaveletFromRect(int x, int y, int w, int h)&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;int len = w*h;&lt;/P&gt;
&lt;P&gt;Ipp32f pTapsLow[3] = {0.25, 0.5, 0.25};&lt;/P&gt;
&lt;P&gt;int lenLow = 3;&lt;/P&gt;
&lt;P&gt;int anchorLow = 1;&lt;/P&gt;
&lt;P&gt;Ipp32f pTapsHigh[3] = {0.75, -0.25, -0.125};&lt;/P&gt;
&lt;P&gt;int lenHigh = 3;&lt;/P&gt;
&lt;P&gt;int anchorHigh = 1;&lt;/P&gt;
&lt;P&gt;// Border (split top/bottom and right/left) is highest value lenLow and lenHigh&lt;/P&gt;
&lt;P&gt;int border = 6;&lt;/P&gt;
&lt;P&gt;IppiWTFwdSpec_32f_C1R* pSpec;&lt;/P&gt;
&lt;P&gt;ippiWTFwdInitAlloc_32f_C1R(&amp;amp;pSpec, pTapsLow, lenLow, anchorLow, pTapsHigh, lenHigh, anchorHigh);&lt;/P&gt;
&lt;P&gt;Ipp8u *pBuffer;&lt;/P&gt;
&lt;P&gt;int bufSize;&lt;/P&gt;
&lt;P&gt;ippiWTFwdGetBufSize_C1R(pSpec, &amp;amp;bufSize);&lt;/P&gt;
&lt;P&gt;pBuffer = ippsMalloc_8u(bufSize);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Ipp32f *pnew = new Ipp32f[w*h*4];&lt;/P&gt;
&lt;P&gt;IppiSize ROIbig;&lt;/P&gt;
&lt;P&gt;ROIbig.height = h*2;&lt;/P&gt;
&lt;P&gt;ROIbig.width = w*2;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;int ROIoffset = y*m_Width+x;&lt;/P&gt;
&lt;P&gt;IppiSize ROIrect;&lt;/P&gt;
&lt;P&gt;ROIrect.height = h;&lt;/P&gt;
&lt;P&gt;ROIrect.width = w;&lt;/P&gt;
&lt;P&gt;IppiRect rect;&lt;/P&gt;
&lt;P&gt;rect.x = x;&lt;/P&gt;
&lt;P&gt;rect.y = y;&lt;/P&gt;
&lt;P&gt;rect.width = w;&lt;/P&gt;
&lt;P&gt;rect.height = h;&lt;/P&gt;
&lt;P&gt;m_Status = ippiResize_32f_C1R(m_buffer32f, m_ROI, m_Width*4, rect, pnew, w*2*4, ROIbig, 2.0, 2.0, IPPI_INTER_CUBIC);&lt;/P&gt;
&lt;P&gt;Ipp32f *imgborder;&lt;/P&gt;
&lt;P&gt;imgborder = new Ipp32f[(w+border)*(h+border)*4];&lt;/P&gt;
&lt;P&gt;IppiSize ROIborder;&lt;/P&gt;
&lt;P&gt;ROIborder.height = (h+border)*2;&lt;/P&gt;
&lt;P&gt;ROIborder.width = (w+border)*2;&lt;/P&gt;
&lt;P&gt;ippiSet_32f_C1R(0.0, imgborder, (w+border)*2*4, ROIborder);&lt;/P&gt;
&lt;P&gt;m_Status = ippiCopyWrapBorder_32f_C1R(pnew, w*2*4, ROIbig, imgborder, (w+border)*2*4, ROIborder, border/2, border/2);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Ipp32f *pDetailXDst = new Ipp32f[w*h];&lt;/P&gt;
&lt;P&gt;Ipp32f *pDetailYDst = new Ipp32f[w*h];&lt;/P&gt;
&lt;P&gt;Ipp32f *pDetailXYDst = new Ipp32f[w*h];&lt;/P&gt;
&lt;P&gt;Ipp32f *pApproxDst = new Ipp32f[w*h];&lt;/P&gt;
&lt;P&gt;IppiSize dstROISize;&lt;/P&gt;
&lt;P&gt;dstROISize.height = h;&lt;/P&gt;
&lt;P&gt;dstROISize.width = w;&lt;/P&gt;
&lt;P&gt;m_Status = ippiWTFwd_32f_C1R(imgborder + (border/2*(w+border)*2+border/2)*4, (w+border)*2*4,&lt;/P&gt;
&lt;P&gt;pApproxDst, w*4, pDetailXDst, w*4, pDetailYDst, w*4, pDetailXYDst, w*4, dstROISize, pSpec, pBuffer);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;int val, loc;&lt;/P&gt;
&lt;P&gt;int val2, loc2;&lt;/P&gt;
&lt;P&gt;for (int col = x; col&lt;X&gt;
&lt;/X&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;for (int row = 0; row&lt;H&gt;
&lt;/H&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;val = y + row;&lt;/P&gt;
&lt;P&gt;//val = row;&lt;/P&gt;
&lt;P&gt;loc = val*m_Width + col;&lt;/P&gt;
&lt;P&gt;val2 = row;&lt;/P&gt;
&lt;P&gt;loc2 = row*w +(col-x);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;m_ImgGray-&amp;gt;imageData[loc] = (char)pDetailYDst[loc2];&lt;/P&gt;
&lt;P&gt;m_buffer8[loc] = (Ipp8u)pDetailYDst[loc2];&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;return 0.0;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;</description>
      <pubDate>Wed, 24 Mar 2010 13:33:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Wavelet/m-p/863124#M8018</guid>
      <dc:creator>dwinfield</dc:creator>
      <dc:date>2010-03-24T13:33:02Z</dc:date>
    </item>
    <item>
      <title>Wavelet</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Wavelet/m-p/863125#M8019</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;if I understand your code correctly, you are trying to decompose image, which is enlarged exactly by factor 2.0 (and cubic interpolation). In other words the result is enlarged picture, but smoothed, so such an image is actually will not contain high-frequency part of spectrum. In this case it's natural that details component of wavelet transforms contains mostly zero (or close to zero) data.&lt;BR /&gt;Please check that approximation contains valid data, than switch interpolation to NN (not the best for many pictures, but no smoothing) some non-zero data will appear in details component especially when original pictures really have high-frequency part of spectrum.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Mikhail</description>
      <pubDate>Wed, 31 Mar 2010 17:10:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Wavelet/m-p/863125#M8019</guid>
      <dc:creator>Mikhail_Kulikov__Int</dc:creator>
      <dc:date>2010-03-31T17:10:56Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Wavelet/m-p/863126#M8020</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I m using ippi-7.0.dll. I m runing example given in the manual, the 2d-wavelet-transform, in C#. Till fwd WT results are matched with given manual results. for Inv WT&amp;nbsp; ippiWTInvInitAlloc_32f_C1R and ippiWTInvGetBufSize_C1R give ippstatus = ippstsNoErr.&lt;/P&gt;

&lt;P&gt;But for ippiWTInv_32f_C1R give ippstatus = ippstsContxtMatchErr.I tred so many wrap options and match the code with manual also, but its not working.&lt;/P&gt;

&lt;P&gt;Plz help me.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 08:20:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Wavelet/m-p/863126#M8020</guid>
      <dc:creator>Chaubey__Nidhi</dc:creator>
      <dc:date>2018-02-20T08:20:43Z</dc:date>
    </item>
  </channel>
</rss>

