<?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 Re: question about ipp reshape image in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/question-about-ipp-reshape-image/m-p/901597#M12840</link>
    <description>&lt;P&gt;Chao,&lt;/P&gt;
&lt;P&gt;Physically, processor see memory as 1D array of bytes. Your programmayconsider data as a 2D or 3D array or even more complicated waybut this is logical level.&lt;/P&gt;
&lt;P&gt;Basically, what I'm saying - there is nodifference in memory layout between&lt;/P&gt;
&lt;P&gt;[1 2 3 4]&lt;BR /&gt;[5 6 7 8]&lt;/P&gt;
&lt;P&gt;and &lt;BR /&gt;&lt;BR /&gt;[1 2 3 4 5 6 7 8]&lt;/P&gt;
&lt;P&gt;and so you can use ippiCopy function (which is faster for big enough arrays).&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
    <pubDate>Thu, 21 Aug 2008 08:41:04 GMT</pubDate>
    <dc:creator>Vladimir_Dudnik</dc:creator>
    <dc:date>2008-08-21T08:41:04Z</dc:date>
    <item>
      <title>question about ipp reshape image</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/question-about-ipp-reshape-image/m-p/901594#M12837</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'm new for ipp. There are too many pages for user's manual, and less samples step by step. Sorry about that!&lt;BR /&gt;&lt;BR /&gt;In matlab, there is a function called 'reshape', is there similar function in ipp? For example:&lt;BR /&gt;I have an image, how can I convert selected ROI to an array. &lt;BR /&gt;&lt;BR /&gt;Here is an image: pixel values show in following:&lt;BR /&gt;&lt;BR /&gt;1,0,0,0,2,0,0,1,0,9&lt;BR /&gt;
0,0,2,0,2,0,1,1,1,0&lt;BR /&gt;6,0,1,0,1,1,0,1,1,1&lt;BR /&gt;1,0,1,2,3,4,0,0,0,1&lt;BR /&gt;2,0,5,6,7,8,0,0,0,2&lt;BR /&gt;0,0,2,0,1,1,0,1,0,1&lt;BR /&gt;6,0,0,0,0,3,0,0,3,0&lt;BR /&gt;&lt;BR /&gt;and which function allow me copy from top-left x = 3, y = 4 to bottom-right x=6,y=5 to an array, then I can have a array like this:&lt;BR /&gt;nm = [1,2,3,4,5,6,7,8];&lt;BR /&gt;&lt;BR /&gt;Thank you very much!&lt;BR /&gt;Regards&lt;BR /&gt;Chao&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Aug 2008 04:46:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/question-about-ipp-reshape-image/m-p/901594#M12837</guid>
      <dc:creator>seaviewfc</dc:creator>
      <dc:date>2008-08-20T04:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: question about ipp reshape image</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/question-about-ipp-reshape-image/m-p/901595#M12838</link>
      <description>&lt;P&gt;Hi Chao,&lt;/P&gt;
&lt;P&gt;for IPP it still image Copy operation. You can consider your output array as an image. So, in you case it should be call to(in case of Ipp8u single channel image)ippiCopy_8u_C1R(src + 4*10 + 2, 10, dst, 4, roi), where&lt;BR /&gt;src is pointer to your input image&lt;BR /&gt;4*10+2 moves pointer to the beginning of your ROI,&lt;BR /&gt;10 is input image step (number of bytes between adjacent image rows),&lt;BR /&gt;dst is pointer to your output array,&lt;BR /&gt;4 is output image step,&lt;BR /&gt;roi is IppiSize roi = {2,4} - size of your ROI&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2008 19:49:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/question-about-ipp-reshape-image/m-p/901595#M12838</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2008-08-20T19:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: question about ipp reshape image</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/question-about-ipp-reshape-image/m-p/901596#M12839</link>
      <description>Hi Vladimir,&lt;BR /&gt;&lt;BR /&gt;Thank for reply.&lt;BR /&gt;&lt;BR /&gt;I see your idea, but I have two questions about that. &lt;BR /&gt;&lt;BR /&gt;1. The output dst is a two dimension matrix, it is not an array. if I still need an array do I have to convert it by setting value one by one?&lt;BR /&gt;&lt;BR /&gt;2. I can convert it to an array by assigning pixels by "for loop", instead of using image Copy operation. My question is which method is fast in your experience? &lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Chao&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Aug 2008 23:54:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/question-about-ipp-reshape-image/m-p/901596#M12839</guid>
      <dc:creator>seaviewfc</dc:creator>
      <dc:date>2008-08-20T23:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: question about ipp reshape image</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/question-about-ipp-reshape-image/m-p/901597#M12840</link>
      <description>&lt;P&gt;Chao,&lt;/P&gt;
&lt;P&gt;Physically, processor see memory as 1D array of bytes. Your programmayconsider data as a 2D or 3D array or even more complicated waybut this is logical level.&lt;/P&gt;
&lt;P&gt;Basically, what I'm saying - there is nodifference in memory layout between&lt;/P&gt;
&lt;P&gt;[1 2 3 4]&lt;BR /&gt;[5 6 7 8]&lt;/P&gt;
&lt;P&gt;and &lt;BR /&gt;&lt;BR /&gt;[1 2 3 4 5 6 7 8]&lt;/P&gt;
&lt;P&gt;and so you can use ippiCopy function (which is faster for big enough arrays).&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
      <pubDate>Thu, 21 Aug 2008 08:41:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/question-about-ipp-reshape-image/m-p/901597#M12840</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2008-08-21T08:41:04Z</dc:date>
    </item>
  </channel>
</rss>

