<?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 Stride value for RGB Planar image in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Stride-value-for-RGB-Planar-image/m-p/829068#M5398</link>
    <description>Hi,&lt;BR /&gt;I need to use ippiCopy_32f_C3P3R to convert an RGB image pixel order image to planar. I have to use this planar image and perform certain operations on each of the color planes.&lt;BR /&gt;But I am not sure what value of stride for the RGB Planar image to be given in ippiCopy_32f_C3P3.&lt;BR /&gt;&lt;BR /&gt;This is the info I have:&lt;BR /&gt;1. I have a RGB(pixel order) image pointed by pSrc of size (width*height)&lt;BR /&gt;2. I allocated memory for RGB Planar image as follows:&lt;BR /&gt;&lt;P&gt;for (int i = 0; i &amp;lt; 3; i++)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;pImageBuff&lt;I&gt; = ippiMalloc_32f_C1(width, height, &amp;amp;stride&lt;I&gt;);&lt;/I&gt;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;should the width and height be same as the RGB(pixel order) image here?&lt;BR /&gt;&lt;BR /&gt;3. I use the ippi Copy function convert from c3 to p3 with the strid evalue for RGB planar taken from step2.&lt;BR /&gt;&lt;BR /&gt;Can anyone please let me know if I am going wrong anywhere.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 06 Sep 2010 08:22:56 GMT</pubDate>
    <dc:creator>sribug</dc:creator>
    <dc:date>2010-09-06T08:22:56Z</dc:date>
    <item>
      <title>Stride value for RGB Planar image</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Stride-value-for-RGB-Planar-image/m-p/829068#M5398</link>
      <description>Hi,&lt;BR /&gt;I need to use ippiCopy_32f_C3P3R to convert an RGB image pixel order image to planar. I have to use this planar image and perform certain operations on each of the color planes.&lt;BR /&gt;But I am not sure what value of stride for the RGB Planar image to be given in ippiCopy_32f_C3P3.&lt;BR /&gt;&lt;BR /&gt;This is the info I have:&lt;BR /&gt;1. I have a RGB(pixel order) image pointed by pSrc of size (width*height)&lt;BR /&gt;2. I allocated memory for RGB Planar image as follows:&lt;BR /&gt;&lt;P&gt;for (int i = 0; i &amp;lt; 3; i++)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;pImageBuff&lt;I&gt; = ippiMalloc_32f_C1(width, height, &amp;amp;stride&lt;I&gt;);&lt;/I&gt;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;should the width and height be same as the RGB(pixel order) image here?&lt;BR /&gt;&lt;BR /&gt;3. I use the ippi Copy function convert from c3 to p3 with the strid evalue for RGB planar taken from step2.&lt;BR /&gt;&lt;BR /&gt;Can anyone please let me know if I am going wrong anywhere.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2010 08:22:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Stride-value-for-RGB-Planar-image/m-p/829068#M5398</guid>
      <dc:creator>sribug</dc:creator>
      <dc:date>2010-09-06T08:22:56Z</dc:date>
    </item>
    <item>
      <title>Stride value for RGB Planar image</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Stride-value-for-RGB-Planar-image/m-p/829069#M5399</link>
      <description>&lt;DIV id="_mcePaste"&gt;&lt;P style="background: white;" class="MsoNormal"&gt;&lt;SPAN style="color: #333333; font-size: medium;"&gt;&lt;SPAN style="font-size: 16px;"&gt;&lt;SPAN style="color: #000000; font-size: medium;"&gt;&lt;SPAN style="font-size: 16px;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;" class="MsoNormal"&gt;&lt;SPAN style="font-size: 8.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: " times="" new="" roman=""&gt;yes, as it seems to me, all
stuff you are doing is correct.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;" class="MsoNormal"&gt;&lt;SPAN style="font-size: 8.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: " times="" new="" roman=""&gt;O&lt;/SPAN&gt;&lt;SPAN style="font-size: 15.8333px;"&gt;&lt;SPAN style="font-size: 8.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: " times="" new="" roman=""&gt;ne note - please pay
attention thatstride&lt;I&gt;will not be exactly equal&lt;/I&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: " times="" new="" roman=""&gt;width&lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: " times="" new="" roman=""&gt;*&lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: " times="" new="" roman=""&gt;height&lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: " times="" new="" roman=""&gt;because
of&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="background: white;" class="MsoNormal"&gt;&lt;SPAN style="font-size: 8.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: " times="" new="" roman=""&gt;ippiMalloc (&lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: " times="" new="" roman=""&gt;width,height,&lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: " times="" new="" roman=""&gt;StepBytes)allocates
a memory block aligned to a 32-byte boundary.&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="background: white;" class="MsoNormal"&gt;&lt;SPAN style="font-size: 8.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: " times="" new="" roman=""&gt;therefore each stride&lt;I&gt; ==
stepBytes *&lt;/I&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: " times="" new="" roman=""&gt;height&lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: " times="" new="" roman=""&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;" class="MsoNormal"&gt;&lt;SPAN style="font-size: 8.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: " times="" new="" roman=""&gt;--Gennady&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 10 Sep 2010 11:58:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Stride-value-for-RGB-Planar-image/m-p/829069#M5399</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2010-09-10T11:58:58Z</dc:date>
    </item>
  </channel>
</rss>

