<?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 Use of ROI in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Use-of-ROI/m-p/949790#M18522</link>
    <description>&lt;DIV&gt;Hi,&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I'am a new User at the IPP.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I will usethe ROI feature with some IPP functions, but I'am not sure if I understand the use of ROI in the right way.&lt;/DIV&gt;
&lt;DIV&gt;I tryed a Histogram calculation inside the ippisample application in the following way:&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV style="BORDER-RIGHT: black 1px solid; PADDING-RIGHT: 10px; BORDER-TOP: black 1px solid; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; BORDER-LEFT: black 1px solid; PADDING-TOP: 10px; BORDER-BOTTOM: black 1px solid"&gt;&lt;SPAN class="text_smallest"&gt;Code:&lt;/SPAN&gt;&lt;PRE&gt;IppStatus status = ippiHistogramEven_8u_C3R((Ipp8u*)pSrc-&amp;gt;DataPtr(), pSrc-&amp;gt;Step(), imgSize, his, lev, levels, minLevel, maxLevel);&lt;/PRE&gt;&lt;/DIV&gt;It works fine and now I will try to do this just with a part of the image.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;For example with a rectangle from the 3rd line and 3rd colum to the 10th line and 10th column. Is the following code correct for this use ?&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV style="BORDER-RIGHT: black 1px solid; PADDING-RIGHT: 10px; BORDER-TOP: black 1px solid; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; BORDER-LEFT: black 1px solid; PADDING-TOP: 10px; BORDER-BOTTOM: black 1px solid"&gt;&lt;SPAN class="text_smallest"&gt;Code:&lt;/SPAN&gt;&lt;PRE&gt;IppStatus status = ippiHistogramEven_8u_C3R(  ((Ipp8u*)pSrc-&amp;gt;DataPtr()+ 2*pSrc-&amp;gt;Step()+2) , 10-3, (10-3)*(10-3), his, lev, levels, minLevel, maxLevel);&lt;/PRE&gt;&lt;/DIV&gt;I moved the source pointer to the left top corner of my ROI and use the width of the ROI as srcStep and the width*height of the ROI as imagesize.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Thanx beforehand&lt;/DIV&gt;
&lt;DIV&gt;Peter&lt;/DIV&gt;</description>
    <pubDate>Thu, 08 Jul 2004 19:04:25 GMT</pubDate>
    <dc:creator>hrhfhgemt</dc:creator>
    <dc:date>2004-07-08T19:04:25Z</dc:date>
    <item>
      <title>Use of ROI</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Use-of-ROI/m-p/949790#M18522</link>
      <description>&lt;DIV&gt;Hi,&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I'am a new User at the IPP.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I will usethe ROI feature with some IPP functions, but I'am not sure if I understand the use of ROI in the right way.&lt;/DIV&gt;
&lt;DIV&gt;I tryed a Histogram calculation inside the ippisample application in the following way:&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV style="BORDER-RIGHT: black 1px solid; PADDING-RIGHT: 10px; BORDER-TOP: black 1px solid; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; BORDER-LEFT: black 1px solid; PADDING-TOP: 10px; BORDER-BOTTOM: black 1px solid"&gt;&lt;SPAN class="text_smallest"&gt;Code:&lt;/SPAN&gt;&lt;PRE&gt;IppStatus status = ippiHistogramEven_8u_C3R((Ipp8u*)pSrc-&amp;gt;DataPtr(), pSrc-&amp;gt;Step(), imgSize, his, lev, levels, minLevel, maxLevel);&lt;/PRE&gt;&lt;/DIV&gt;It works fine and now I will try to do this just with a part of the image.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;For example with a rectangle from the 3rd line and 3rd colum to the 10th line and 10th column. Is the following code correct for this use ?&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV style="BORDER-RIGHT: black 1px solid; PADDING-RIGHT: 10px; BORDER-TOP: black 1px solid; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; BORDER-LEFT: black 1px solid; PADDING-TOP: 10px; BORDER-BOTTOM: black 1px solid"&gt;&lt;SPAN class="text_smallest"&gt;Code:&lt;/SPAN&gt;&lt;PRE&gt;IppStatus status = ippiHistogramEven_8u_C3R(  ((Ipp8u*)pSrc-&amp;gt;DataPtr()+ 2*pSrc-&amp;gt;Step()+2) , 10-3, (10-3)*(10-3), his, lev, levels, minLevel, maxLevel);&lt;/PRE&gt;&lt;/DIV&gt;I moved the source pointer to the left top corner of my ROI and use the width of the ROI as srcStep and the width*height of the ROI as imagesize.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Thanx beforehand&lt;/DIV&gt;
&lt;DIV&gt;Peter&lt;/DIV&gt;</description>
      <pubDate>Thu, 08 Jul 2004 19:04:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Use-of-ROI/m-p/949790#M18522</guid>
      <dc:creator>hrhfhgemt</dc:creator>
      <dc:date>2004-07-08T19:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Use of ROI</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Use-of-ROI/m-p/949791#M18523</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;IppiSize roi={10-3,10-3};&lt;BR /&gt;ippiHistogramEven_8u_C3R( &lt;BR /&gt; ((Ipp8u*)pSrc-&amp;gt;DataPtr() + 2 * pSrc-&amp;gt;Step() + 2 &lt;STRONG&gt;* 3&lt;/STRONG&gt;), &lt;BR /&gt; &lt;STRONG&gt;pSrc-&amp;gt;Step(), &lt;/STRONG&gt;&lt;BR /&gt; &lt;STRONG&gt;roi&lt;/STRONG&gt;, &lt;BR /&gt; his, &lt;BR /&gt; lev, &lt;BR /&gt; levels, &lt;BR /&gt; minLevel, &lt;BR /&gt; maxLevel);&lt;BR /&gt;&lt;/DIV&gt;
&lt;P&gt;Message Edited by Seiji-Torigoe on &lt;SPAN class="date_text"&gt;07-08-2004&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;09:51 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Message Edited by Seiji-Torigoe on &lt;SPAN class="date_text"&gt;07-13-2004&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;05:36 PM&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jul 2004 11:30:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Use-of-ROI/m-p/949791#M18523</guid>
      <dc:creator>seiji-torigoe</dc:creator>
      <dc:date>2004-07-09T11:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: Use of ROI</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Use-of-ROI/m-p/949792#M18524</link>
      <description>&lt;DIV&gt;What is advantage of using roi over shifting source pointer ?&lt;/DIV&gt;</description>
      <pubDate>Fri, 09 Jul 2004 18:12:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Use-of-ROI/m-p/949792#M18524</guid>
      <dc:creator>Maciej_K_</dc:creator>
      <dc:date>2004-07-09T18:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Use of ROI</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Use-of-ROI/m-p/949793#M18525</link>
      <description>&lt;DIV&gt;In general, the machine vision does not process the entire huge image.&lt;/DIV&gt;
&lt;DIV&gt;It secures the performance by processing only a necessary region.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;The performance of this example is uncertain.&lt;/DIV&gt;
&lt;DIV&gt;However, it is easy.&lt;/DIV&gt;
&lt;DIV&gt;It might be fast to process it on cashe with the copy of the region in the buffer according to the size and processing.&lt;/DIV&gt;</description>
      <pubDate>Mon, 12 Jul 2004 08:56:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Use-of-ROI/m-p/949793#M18525</guid>
      <dc:creator>seiji-torigoe</dc:creator>
      <dc:date>2004-07-12T08:56:23Z</dc:date>
    </item>
  </channel>
</rss>

