<?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 Function for color recognition  in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Function-for-color-recognition/m-p/784863#M1882</link>
    <description>hello there, &lt;BR /&gt;&lt;BR /&gt;I was using openCV library to implement some image processing functionalities .. and I used this function &lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;cvInRangeS&lt;/B&gt;(imgHSV, cvScalar(24, 100, 150), cvScalar(34, 255, 255),&lt;BR /&gt; imageTest[0]); &lt;BR /&gt;which basically filter out the colors in this range (This is a iyellow color)&lt;BR /&gt;&lt;BR /&gt;I fail to locate a function which is simmilar to it in IPP .. any help ?&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Sun, 25 Mar 2012 13:00:00 GMT</pubDate>
    <dc:creator>Shamma_Almarzooqi</dc:creator>
    <dc:date>2012-03-25T13:00:00Z</dc:date>
    <item>
      <title>Function for color recognition</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Function-for-color-recognition/m-p/784863#M1882</link>
      <description>hello there, &lt;BR /&gt;&lt;BR /&gt;I was using openCV library to implement some image processing functionalities .. and I used this function &lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;cvInRangeS&lt;/B&gt;(imgHSV, cvScalar(24, 100, 150), cvScalar(34, 255, 255),&lt;BR /&gt; imageTest[0]); &lt;BR /&gt;which basically filter out the colors in this range (This is a iyellow color)&lt;BR /&gt;&lt;BR /&gt;I fail to locate a function which is simmilar to it in IPP .. any help ?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 25 Mar 2012 13:00:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Function-for-color-recognition/m-p/784863#M1882</guid>
      <dc:creator>Shamma_Almarzooqi</dc:creator>
      <dc:date>2012-03-25T13:00:00Z</dc:date>
    </item>
    <item>
      <title>Function for color recognition</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Function-for-color-recognition/m-p/784864#M1883</link>
      <description>&lt;DIV id="tiny_quote"&gt;&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A jquery1332768128515="58" rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=557869" href="https://community.intel.com/en-us/profile/557869/" class="basic"&gt;Shamma Almarzooqi&lt;/A&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #e5e5e5; margin-left: 2px; margin-right: 2px; border: 1px inset; padding: 5px;"&gt;&lt;I&gt;hello there, &lt;BR /&gt;&lt;BR /&gt;I was using openCV library to implement some image processing functionalities .. and I used this function &lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;cvInRangeS&lt;/B&gt;(imgHSV, cvScalar(24, 100, 150), cvScalar(34, 255, 255),&lt;BR /&gt; imageTest[0]); &lt;BR /&gt;which basically filter out the colors in this range (This is a iyellow color)&lt;BR /&gt;&lt;BR /&gt;I fail to locate a function which is simmilar to it in IPP .. any help?&lt;BR /&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;I would try to look at a source code for&lt;STRONG&gt;cvInRangeS&lt;/STRONG&gt; function. Does it use any &lt;STRONG&gt;IPP&lt;/STRONG&gt; functions?Another optionto&lt;BR /&gt;consider is &lt;STRONG&gt;IPP&lt;/STRONG&gt; thresholding functions.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Sergey&lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2012 13:24:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Function-for-color-recognition/m-p/784864#M1883</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-03-26T13:24:43Z</dc:date>
    </item>
    <item>
      <title>Function for color recognition</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Function-for-color-recognition/m-p/784865#M1884</link>
      <description>&lt;PRE&gt;&lt;B&gt;void cvInRangeS( const CvArr* src, CvScalar lower, CvScalar upper, CvArr* dst );
&lt;/B&gt;&lt;/PRE&gt;&lt;DL&gt;&lt;DT&gt;&lt;B&gt;src&lt;/B&gt;&lt;/DT&gt;&lt;DD&gt;The first source array.
&lt;/DD&gt;&lt;DT&gt;&lt;B&gt;lower&lt;/B&gt;&lt;/DT&gt;&lt;DD&gt;The inclusive lower boundary.
&lt;/DD&gt;&lt;DT&gt;&lt;B&gt;upper&lt;/B&gt;&lt;/DT&gt;&lt;DD&gt;The exclusive upper boundary.
&lt;/DD&gt;&lt;DT&gt;&lt;B&gt;dst&lt;/B&gt;&lt;/DT&gt;&lt;DD&gt;The destination array, must have 8u or 8s type.
&lt;/DD&gt;&lt;DT&gt;&lt;/DT&gt;&lt;/DL&gt;&lt;P&gt;
The function &lt;CODE&gt;cvInRangeS&lt;/CODE&gt; does the range check for every element of the input array:&lt;/P&gt;
&lt;PRE&gt;&lt;B&gt;dst(I)=lower&lt;SUB&gt;0&lt;/SUB&gt; &amp;lt;= src(I)&lt;SUB&gt;0&lt;/SUB&gt; &amp;lt; upper&lt;SUB&gt;0&lt;/SUB&gt;
&lt;/B&gt;&lt;/PRE&gt;
&lt;P&gt;for a single-channel array,&lt;/P&gt;
&lt;PRE&gt;&lt;B&gt;dst(I)=lower&lt;SUB&gt;0&lt;/SUB&gt; &amp;lt;= src(I)&lt;SUB&gt;0&lt;/SUB&gt; &amp;lt; upper&lt;SUB&gt;0&lt;/SUB&gt; &amp;amp;&amp;amp;
     lower&lt;SUB&gt;1&lt;/SUB&gt; &amp;lt;= src(I)&lt;SUB&gt;1&lt;/SUB&gt; &amp;lt; upper&lt;SUB&gt;1&lt;/SUB&gt;
&lt;/B&gt;&lt;/PRE&gt;&lt;P&gt;for a two-channel array etc.&lt;/P&gt;
&lt;P&gt;&lt;B&gt;&lt;BR /&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;CODE&gt;dst(I)&lt;/CODE&gt; is set to 0xff (all '1'-bits) if &lt;CODE&gt;src(I)&lt;/CODE&gt; is within the range and 0 otherwise.
All the arrays must have the same size (or ROI size)&lt;/B&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------&lt;/P&gt;&lt;P&gt;so it is basically like the threshold function, but instead of having ony the minimum or only the maximum value... it has both the max and min .. to include all the values between them..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2012 07:01:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Function-for-color-recognition/m-p/784865#M1884</guid>
      <dc:creator>Shamma_Almarzooqi</dc:creator>
      <dc:date>2012-03-27T07:01:58Z</dc:date>
    </item>
    <item>
      <title>Function for color recognition</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Function-for-color-recognition/m-p/784866#M1885</link>
      <description>&lt;DIV id="tiny_quote"&gt;&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A jquery1332852323609="58" rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=557869" href="https://community.intel.com/en-us/profile/557869/" class="basic"&gt;Shamma Almarzooqi&lt;/A&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #e5e5e5; margin-left: 2px; margin-right: 2px; border: 1px inset; padding: 5px;"&gt;&lt;I&gt;&lt;B&gt;void cvInRangeS( const CvArr* src, CvScalar lower, CvScalar upper, CvArr* dst );&lt;BR /&gt;&lt;/B&gt;&lt;DL&gt;&lt;DT&gt;&lt;B&gt;src&lt;/B&gt;&lt;/DT&gt;&lt;DD&gt;The first source array. &lt;/DD&gt;&lt;DT&gt;&lt;B&gt;lower&lt;/B&gt;&lt;/DT&gt;&lt;DD&gt;The inclusive lower boundary. &lt;/DD&gt;&lt;DT&gt;&lt;B&gt;upper&lt;/B&gt;&lt;/DT&gt;&lt;DD&gt;The exclusive upper boundary. &lt;/DD&gt;&lt;DT&gt;&lt;B&gt;dst&lt;/B&gt;&lt;/DT&gt;&lt;DD&gt;The destination array, must have 8u or 8s type. &lt;/DD&gt;&lt;DT&gt;&lt;/DT&gt;&lt;/DL&gt;&lt;P&gt;The function &lt;CODE&gt;cvInRangeS&lt;/CODE&gt; does the range check for every element of the input array:&lt;BR /&gt;&lt;B&gt;&lt;BR /&gt;dst(I)=lower&lt;SUB&gt;0&lt;/SUB&gt; &amp;lt;= src(I)&lt;SUB&gt;0&lt;/SUB&gt; &amp;lt; upper&lt;SUB&gt;0&lt;/SUB&gt;&lt;BR /&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;for a single-channel array,&lt;/P&gt;&lt;/I&gt;&lt;PRE&gt;&lt;I&gt;&lt;B&gt;dst(I)=lower&lt;SUB&gt;0&lt;/SUB&gt; &amp;lt;= src(I)&lt;SUB&gt;0&lt;/SUB&gt; &amp;lt; upper&lt;SUB&gt;0&lt;/SUB&gt; &amp;amp;&amp;amp;
     lower&lt;SUB&gt;1&lt;/SUB&gt; &amp;lt;= src(I)&lt;SUB&gt;1&lt;/SUB&gt; &amp;lt; upper&lt;SUB&gt;1&lt;/SUB&gt;
&lt;/B&gt;&lt;/I&gt;&lt;/PRE&gt;&lt;P&gt;for a two-channel array etc.&lt;BR /&gt;&lt;B&gt;&lt;CODE&gt;&lt;BR /&gt;dst(I)&lt;/CODE&gt; is set to 0xff (all '1'-bits) if &lt;CODE&gt;src(I)&lt;/CODE&gt; is within the range and 0 otherwise. All the arrays must have the same size (or ROI size)&lt;/B&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;Do you have the source codes for the &lt;STRONG&gt;OpenCV&lt;/STRONG&gt; library? If Yes, try to look at how the &lt;STRONG&gt;cvInRangeS&lt;/STRONG&gt;function is implemented.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2012 12:47:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Function-for-color-recognition/m-p/784866#M1885</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-03-27T12:47:35Z</dc:date>
    </item>
    <item>
      <title>Function for color recognition</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Function-for-color-recognition/m-p/784867#M1886</link>
      <description>I looked at the implementation... I can re-code it using IPP basic functions such as the one which give you access to each pixel and then set the value of it .. but I thought there will be a ready function which do such a thing in IPP and will take care of managing the memory ...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Apr 2012 07:05:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Function-for-color-recognition/m-p/784867#M1886</guid>
      <dc:creator>Shamma_Almarzooqi</dc:creator>
      <dc:date>2012-04-09T07:05:48Z</dc:date>
    </item>
    <item>
      <title>Function for color recognition</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Function-for-color-recognition/m-p/784868#M1887</link>
      <description>Hi shamma, &lt;BR /&gt;&lt;BR /&gt;IPP haven'texact function for this. But as sergey suggested, ipp thresholdshould be ofhelp. &lt;BR /&gt;&lt;H1 class="topictitle1"&gt;&lt;BR /&gt;&lt;STRONG&gt;for example,&lt;BR /&gt;&lt;/STRONG&gt;ippThreshold_LTValGTVal&lt;/H1&gt;&lt;!--Performs double thresholding of pixel values in an image buffer.--&gt;&lt;DIV&gt;&lt;P&gt;Performs double thresholding of pixel values in an image buffer.&lt;/P&gt;&lt;DIV class="section"&gt;&lt;BR /&gt;&lt;P&gt;&lt;B&gt;Case 4: In-place operation on multi-channel data&lt;/B&gt;&lt;/P&gt;&lt;P class="dlsyntaxpara"&gt;IppStatus ippiThreshold_LTValGTVal_&lt;MOD&gt;(Ipp&lt;DATATYPE&gt;* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp&lt;DATATYPE&gt; thresholdLT[3], const Ipp&lt;DATATYPE&gt; valueLT[3], const Ipp&lt;DATATYPE&gt; thresholdGT[3], const Ipp&lt;DATATYPE&gt; valueGT[3]);&lt;/DATATYPE&gt;&lt;/DATATYPE&gt;&lt;/DATATYPE&gt;&lt;/DATATYPE&gt;&lt;/DATATYPE&gt;&lt;/MOD&gt;&lt;/P&gt;&lt;H2 MSHELP="http://www.microsoft.com/MSHelp/"&gt;Description&lt;/H2&gt;&lt;P MSHELP="http://www.microsoft.com/MSHelp/"&gt;The function ippiThreshold_LTValGTVal is declared in the ippi.h file. It operates with ROI (see &lt;A&gt;Regions of Interest in Intel IPP&lt;/A&gt;).&lt;/P&gt;&lt;P MSHELP="http://www.microsoft.com/MSHelp/"&gt;This function thresholds pixels in the source image pSrc using two specified levels thresholdLT and thresholdGT. Pixel values in the source image are compared to these levels. If the pixel value is less than thresholdLT, the corresponding output pixel is set to valueLT. If the pixel value is greater than thresholdGT, the output pixel is set to valueGT. Otherwise, it is set to the source pixel value. The value of thresholdLT should be less than or equal to thresholdGT.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Ying H.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 09 Apr 2012 07:40:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Function-for-color-recognition/m-p/784868#M1887</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2012-04-09T07:40:31Z</dc:date>
    </item>
  </channel>
</rss>

