<?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: Ipp FloodFill return strange region (IppiConnectedComp) in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Ipp-FloodFill-return-strange-region-IppiConnectedComp/m-p/888374#M11071</link>
    <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
Thanks for reporting about this. Could you please also attach your source image (to help us to reproduce the issue)?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt; Vladimir&lt;BR /&gt;</description>
    <pubDate>Mon, 08 Jun 2009 15:38:54 GMT</pubDate>
    <dc:creator>Vladimir_Dudnik</dc:creator>
    <dc:date>2009-06-08T15:38:54Z</dc:date>
    <item>
      <title>Ipp FloodFill return strange region (IppiConnectedComp)</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Ipp-FloodFill-return-strange-region-IppiConnectedComp/m-p/888373#M11070</link>
      <description>Hello&lt;BR /&gt;I'm using IPP 6.0.2 with Delphi 2007 and found that IPP floddfill sometimes return strang region (IppiConnectedComp) such as when using ippiFloodFill_Range4Con_8u_C1IR with the image 1000x1000 pixel. Ipp return region as (2010230698, (0, 0, 0), (0, 0, 1000, 1000)) which mean region area = 2,010,230,698 while image size only 1000x1000 (1 channel, 1 byte per pixel) &lt;BR /&gt;&lt;BR /&gt;and sometimes it takes more than 1-5 minutes for flood fill image size (1000x1000) in CPU E2200. When it take long time than usual, it may return region area in minus (such as -1,853,045,006) or in bigger size than real image area, and filled area may be wrong. This often occur when use Min/MaxDelta with high value such as 100 or higher. &lt;BR /&gt;&lt;BR /&gt;How can i fix this? Thanks in advance.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;//This is my code. Test image is different color gradient image with 1000x1000 pixel in byte, 3 channel. &lt;BR /&gt;&lt;BR /&gt;roiSize.width := width;&lt;BR /&gt; roiSize.height := height;&lt;BR /&gt; MinDelta := ifthen(round(fuzzyness*1.28)&amp;lt;=128,round(fuzzyness*1.28),128);&lt;BR /&gt; MaxDelta := ifthen(round(fuzzyness*1.28)&amp;lt;=128,round(fuzzyness*1.28),128);&lt;BR /&gt; newVal := 0;&lt;BR /&gt; seed.x := origx;&lt;BR /&gt; seed.y := origy;&lt;BR /&gt; ippiFloodFillGetSize(roiSize,@BuffSize);&lt;BR /&gt; getmem(pBuffer,BuffSize);&lt;BR /&gt; pImageP3[0] := pipp8u(self.red.realPixel);&lt;BR /&gt; pImageP3[1] := pipp8u(self.gre.realPixel);&lt;BR /&gt; pImageP3[2] := pipp8u(self.blu.realPixel);&lt;BR /&gt;ippiFloodFill_Range4Con_8u_C1IR(pImageP3[0],width,roiSize,seed,newVal,minDelta,maxDelta,@Region,pBuffer);&lt;BR /&gt;ippiFloodFill_Range4Con_8u_C1IR(pImageP3[1],width,roiSize,seed,newVal,minDelta,maxDelta,@Region,pBuffer);&lt;BR /&gt;ippiFloodFill_Range4Con_8u_C1IR(pImageP3[2],width,roiSize,seed,newVal,minDelta,maxDelta,@Region,pBuffer);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;//IppiConnectedComp declare as below&lt;BR /&gt;IppiConnectedComp = record&lt;BR /&gt; area: double;&lt;BR /&gt; value: array[0..2] of double;&lt;BR /&gt; rect: IppiRect;&lt;BR /&gt; end;&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Jun 2009 09:36:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Ipp-FloodFill-return-strange-region-IppiConnectedComp/m-p/888373#M11070</guid>
      <dc:creator>Kittipong_Lim</dc:creator>
      <dc:date>2009-06-04T09:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Ipp FloodFill return strange region (IppiConnectedComp)</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Ipp-FloodFill-return-strange-region-IppiConnectedComp/m-p/888374#M11071</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
Thanks for reporting about this. Could you please also attach your source image (to help us to reproduce the issue)?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt; Vladimir&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Jun 2009 15:38:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Ipp-FloodFill-return-strange-region-IppiConnectedComp/m-p/888374#M11071</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2009-06-08T15:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: Ipp FloodFill return strange region (IppiConnectedComp)</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Ipp-FloodFill-return-strange-region-IppiConnectedComp/m-p/888375#M11072</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/336498"&gt;Vladimir Dudnik (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; Thanks for reporting about this. Could you please also attach your source image (to help us to reproduce the issue)?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt; Vladimir&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;here is my test file.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.digitalmaster.co.th/images/1000x1000.jpg" target="_blank"&gt;http://www.digitalmaster.co.th/images/1000x1000.jpg&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Jun 2009 07:37:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Ipp-FloodFill-return-strange-region-IppiConnectedComp/m-p/888375#M11072</guid>
      <dc:creator>Kittipong_Lim</dc:creator>
      <dc:date>2009-06-09T07:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: Ipp FloodFill return strange region (IppiConnectedComp)</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Ipp-FloodFill-return-strange-region-IppiConnectedComp/m-p/888376#M11073</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/417884"&gt;Kittipong Lim&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;&lt;BR /&gt;here is my test file.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.digitalmaster.co.th/images/1000x1000.jpg" target="_blank"&gt;http://www.digitalmaster.co.th/images/1000x1000.jpg&lt;/A&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Hello,&lt;BR /&gt;Could you please provide exact values of seed and Min/MaxDelta parameters which lead to your problem?&lt;BR /&gt;&lt;BR /&gt;By the way there is ippiFloodFill_Range4Con_8u_C3IR function for colored input image.&lt;BR /&gt;&lt;BR /&gt;Igor.</description>
      <pubDate>Wed, 10 Jun 2009 12:40:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Ipp-FloodFill-return-strange-region-IppiConnectedComp/m-p/888376#M11073</guid>
      <dc:creator>Igor_B_Intel1</dc:creator>
      <dc:date>2009-06-10T12:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: Ipp FloodFill return strange region (IppiConnectedComp)</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Ipp-FloodFill-return-strange-region-IppiConnectedComp/m-p/888377#M11074</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/21073"&gt;Igor Belyakov (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; &lt;BR /&gt;Hello,&lt;BR /&gt;Could you please provide exact values of seed and Min/MaxDelta parameters which lead to your problem?&lt;BR /&gt;&lt;BR /&gt;By the way there is ippiFloodFill_Range4Con_8u_C3IR function for colored input image.&lt;BR /&gt;&lt;BR /&gt;Igor.&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Hello Igor&lt;BR /&gt;&lt;BR /&gt;I try&lt;BR /&gt;&lt;BR /&gt;seed = (483, 463) //(at this seed RGB = (124,100,100)&lt;BR /&gt;newval = 0&lt;BR /&gt;minDelta = (100,100,100)&lt;BR /&gt;maxDelta = (100,100,100)&lt;BR /&gt;roiSize = (1000,1000)&lt;BR /&gt;&lt;BR /&gt;then at the &lt;BR /&gt;- red channel. it return region = (197095, (0, 0, 0), (166, 288, 627, 316)). this seem work as it should be.&lt;BR /&gt;- green channel, it took CPU time for 3 minutes and return region = (-985044354, (0, 0, 0), (0, 288, 1000, 316))&lt;BR /&gt;- blue channel, it took CPU time for 3 minutes and return region = (-985044354, (0, 0, 0), (0, 288, 1000, 316))&lt;BR /&gt;&lt;BR /&gt;Since my app already design to keep the image in planar. So i often use 1c instead of 3c.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Jun 2009 07:29:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Ipp-FloodFill-return-strange-region-IppiConnectedComp/m-p/888377#M11074</guid>
      <dc:creator>Kittipong_Lim</dc:creator>
      <dc:date>2009-06-11T07:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Ipp FloodFill return strange region (IppiConnectedComp)</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Ipp-FloodFill-return-strange-region-IppiConnectedComp/m-p/888378#M11075</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/417884"&gt;Kittipong Lim&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; &lt;BR /&gt;Hello Igor&lt;BR /&gt;&lt;BR /&gt;I try&lt;BR /&gt;&lt;BR /&gt;seed = (483, 463) //(at this seed RGB = (124,100,100)&lt;BR /&gt;newval = 0&lt;BR /&gt;minDelta = (100,100,100)&lt;BR /&gt;maxDelta = (100,100,100)&lt;BR /&gt;roiSize = (1000,1000)&lt;BR /&gt;&lt;BR /&gt;then at the &lt;BR /&gt;- red channel. it return region = (197095, (0, 0, 0), (166, 288, 627, 316)). this seem work as it should be.&lt;BR /&gt;- green channel, it took CPU time for 3 minutes and return region = (-985044354, (0, 0, 0), (0, 288, 1000, 316))&lt;BR /&gt;- blue channel, it took CPU time for 3 minutes and return region = (-985044354, (0, 0, 0), (0, 288, 1000, 316))&lt;BR /&gt;&lt;BR /&gt;Since my app already design to keep the image in planar. So i often use 1c instead of 3c.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
Hello,
&lt;DIV&gt;In this case for green and blue chanels newval value is inside pixel's value range [0,200] ([100-minDelta,100+maxDelta]) to be filled. In such cases try to slightly correct min/MaxDelta get newVal out of pixel's value range to be filled.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;Igor&lt;/DIV&gt;</description>
      <pubDate>Thu, 11 Jun 2009 12:00:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Ipp-FloodFill-return-strange-region-IppiConnectedComp/m-p/888378#M11075</guid>
      <dc:creator>Igor_B_Intel1</dc:creator>
      <dc:date>2009-06-11T12:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: Ipp FloodFill return strange region (IppiConnectedComp)</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Ipp-FloodFill-return-strange-region-IppiConnectedComp/m-p/888379#M11076</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/21073"&gt;Igor Belyakov (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; Hello,
&lt;DIV&gt;In this case for green and blue chanels newval value is inside pixel's value range [0,200] ([100-minDelta,100+maxDelta]) to be filled. In such cases try to slightly correct min/MaxDelta get newVal out of pixel's value range to be filled.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;Igor&lt;/DIV&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;Did you mean that if i use minDelta = 128, maxDelta = 128  and seed value = 128  (this should fill every pixel) / or if i use minDelta,maxDelta = 255 .. this function will always return strange region like this since i cant find any newVal out of pixel's value range?    &lt;BR /&gt;</description>
      <pubDate>Fri, 12 Jun 2009 08:43:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Ipp-FloodFill-return-strange-region-IppiConnectedComp/m-p/888379#M11076</guid>
      <dc:creator>Kittipong_Lim</dc:creator>
      <dc:date>2009-06-12T08:43:18Z</dc:date>
    </item>
  </channel>
</rss>

