<?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 ippiFilterMin_16u_C1R crashed (IPP 8.2) in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiFilterMin-16u-C1R-crashed-IPP-8-2/m-p/1066087#M24359</link>
    <description>&lt;PRE class="brush:;"&gt;Could you please point me where I made a mistake doing ippiFilterMin_16u_C1R? Demo code below.
Thanks.

        ippInit();
	
	int mskSizeX = 3;
	int mskSizeY = 3;
	IppiSize roi={(int)imageW - (mskSizeX - 1),(int)imageH - (mskSizeY -1)}, mask={mskSizeX,mskSizeY};
	IppiPoint anchor =  {mskSizeX/2, mskSizeY/2};

	int stepBytes;
	int stepBytesf;
	Ipp16u* d_image1 = ippiMalloc_16u_C1(imageW, imageH, &amp;amp;stepBytes);
	Ipp16u* d_image2 = ippiMalloc_16u_C1(imageW, imageH, &amp;amp;stepBytes);
	Ipp16u* d_image11 = ippiMalloc_16u_C1(imageW, imageH, &amp;amp;stepBytes);
	Ipp16u* d_image22 = ippiMalloc_16u_C1(imageW, imageH, &amp;amp;stepBytes);


	ippiCopy_16u_C1R(h_average_noload,stepBytes,d_image1,stepBytes,roi);
	ippiCopy_16u_C1R( deviceListReal-&amp;gt;at(frameSlider-&amp;gt;value()).data(), stepBytes, d_image2, stepBytes,roi);
	
	IppStatus  a  =ippiLShiftC_16u_C1IR(4, d_image1, stepBytes, roi);
	IppStatus  b = ippiLShiftC_16u_C1IR(4, d_image2, stepBytes, roi);
	
	ippiFilterMin_16u_C1R( d_image1, stepBytes, d_image11, stepBytes, roi, mask, anchor ); ///exception here&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Feb 2016 18:15:21 GMT</pubDate>
    <dc:creator>Nik_G_</dc:creator>
    <dc:date>2016-02-09T18:15:21Z</dc:date>
    <item>
      <title>ippiFilterMin_16u_C1R crashed (IPP 8.2)</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiFilterMin-16u-C1R-crashed-IPP-8-2/m-p/1066087#M24359</link>
      <description>&lt;PRE class="brush:;"&gt;Could you please point me where I made a mistake doing ippiFilterMin_16u_C1R? Demo code below.
Thanks.

        ippInit();
	
	int mskSizeX = 3;
	int mskSizeY = 3;
	IppiSize roi={(int)imageW - (mskSizeX - 1),(int)imageH - (mskSizeY -1)}, mask={mskSizeX,mskSizeY};
	IppiPoint anchor =  {mskSizeX/2, mskSizeY/2};

	int stepBytes;
	int stepBytesf;
	Ipp16u* d_image1 = ippiMalloc_16u_C1(imageW, imageH, &amp;amp;stepBytes);
	Ipp16u* d_image2 = ippiMalloc_16u_C1(imageW, imageH, &amp;amp;stepBytes);
	Ipp16u* d_image11 = ippiMalloc_16u_C1(imageW, imageH, &amp;amp;stepBytes);
	Ipp16u* d_image22 = ippiMalloc_16u_C1(imageW, imageH, &amp;amp;stepBytes);


	ippiCopy_16u_C1R(h_average_noload,stepBytes,d_image1,stepBytes,roi);
	ippiCopy_16u_C1R( deviceListReal-&amp;gt;at(frameSlider-&amp;gt;value()).data(), stepBytes, d_image2, stepBytes,roi);
	
	IppStatus  a  =ippiLShiftC_16u_C1IR(4, d_image1, stepBytes, roi);
	IppStatus  b = ippiLShiftC_16u_C1IR(4, d_image2, stepBytes, roi);
	
	ippiFilterMin_16u_C1R( d_image1, stepBytes, d_image11, stepBytes, roi, mask, anchor ); ///exception here&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2016 18:15:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippiFilterMin-16u-C1R-crashed-IPP-8-2/m-p/1066087#M24359</guid>
      <dc:creator>Nik_G_</dc:creator>
      <dc:date>2016-02-09T18:15:21Z</dc:date>
    </item>
    <item>
      <title>Ok..</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiFilterMin-16u-C1R-crashed-IPP-8-2/m-p/1066088#M24360</link>
      <description>&lt;P&gt;Ok..&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 13:53:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippiFilterMin-16u-C1R-crashed-IPP-8-2/m-p/1066088#M24360</guid>
      <dc:creator>Nik_G_</dc:creator>
      <dc:date>2016-02-11T13:53:25Z</dc:date>
    </item>
    <item>
      <title>Hi,  It looks the image</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiFilterMin-16u-C1R-crashed-IPP-8-2/m-p/1066089#M24361</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Hi, &amp;nbsp;It looks the image border is not handled correctly in the code, &amp;nbsp;basically, for some filter functions, image need to have&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0080003738403px; line-height: 17.7381820678711px;"&gt;&amp;nbsp;border&amp;nbsp;&lt;/SPAN&gt;prepared for calling the function. &amp;nbsp;You can check this article for a few details:&amp;nbsp;&lt;BR /&gt;
	&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&lt;A href="https://software.intel.com/en-us/articles/intel-integrated-performance-primitives-intel-ipp-processing-an-image-from-edge-to-edge" target="_blank"&gt;https://software.intel.com/en-us/articles/intel-integrated-performance-primitives-intel-ipp-processing-an-image-from-edge-to-edge&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Thanks,&lt;BR /&gt;
	Chao&lt;/SPAN&gt;&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2016 02:48:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippiFilterMin-16u-C1R-crashed-IPP-8-2/m-p/1066089#M24361</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2016-02-16T02:48:08Z</dc:date>
    </item>
  </channel>
</rss>

