<?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: LUT Help please in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/LUT-Help-please/m-p/932386#M16857</link>
    <description>Hey Vladimir,&lt;BR /&gt;&lt;BR /&gt;I'm wondering if the LUT function prototype (&amp;amp; usage) have changed since you posted this solution. From the 5.1 IPPI reference manual:&lt;BR /&gt;&lt;BR /&gt;This function performs intensity transformation of the source image pSrc using the lookup table (LUT) specified by the arrays pLevels and pValues. Every source pixel pSrc(x,y) from the range [pLevels&lt;K&gt;, pLevels[k+1]) is mapped to the destination pixel pDst(x,y) whose value is equal to the intensity pValues&lt;K&gt;.&lt;BR /&gt;&lt;BR /&gt;Length of the pLevels and pValues arrays is defined by the nLevels parameter. Number of level and intensity values is less than nLevels by one. Pixels in the pSrc image that are not in the range [pLevels[0], pLevels[nLevels-1]) are copied to the pDst image without any transformation.&lt;BR /&gt;&lt;BR /&gt;Note that the pLevel ranges are inclusive [ at the bottom end and exclusive ) at the top end; of particular note is the statement that Pixels in the pSrc image that are not in the range [pLevels[0], Levels[nLevels-1]) are copied to the pDst image without any transformation. In the case of the code fragment, pLevels[nLevels-1] = 255, and thus the transformation will only take place for pixels in the range of [0, 255), which excludes the value of 255 from being transformed (in this case, it isnt a problem since the transformation is the identity function, but it would be a problem in some non-linear problems, such as classification  which just happens to be my problem ;)&lt;BR /&gt;&lt;BR /&gt;Also, I dont understand why the documentation states that both the number of levels and values should be nLevels-1. According to this statement in the manual: Every source pixel pSrc(x,y) from the range [pLevels&lt;K&gt;, pLevels[k+1]) is mapped to the destination pixel pDst(x,y) whose value is equal to the intensity pValues&lt;K&gt; it would seem like nLevels-1 of values and nLevels of Levels would be appropriate  I cant see how those two arrays should be the same length, given the need to index pLevels by k+1, but pValues by only k.&lt;BR /&gt;&lt;BR /&gt;Thanks for any clarification that you can provide,&lt;BR /&gt;-todd&lt;BR /&gt;&lt;BR /&gt;Todd Kelman, Engineering Consultant&lt;BR /&gt;Volcano Corporation&lt;BR /&gt;2870 Kilgore Rd.&lt;BR /&gt;Rancho Cordova, CA 95670&lt;BR /&gt;tkelman@volcanocorp.com&lt;/K&gt;&lt;/K&gt;&lt;/K&gt;&lt;/K&gt;</description>
    <pubDate>Tue, 13 Jun 2006 07:38:45 GMT</pubDate>
    <dc:creator>tjkelman</dc:creator>
    <dc:date>2006-06-13T07:38:45Z</dc:date>
    <item>
      <title>LUT Help please</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/LUT-Help-please/m-p/932382#M16853</link>
      <description>&lt;DIV&gt;I am trying to use one of the LUT calls and can get it to compile but it throws an exception on execution. Simplified code is below to try to get it to work but no luck yet. Any pointers :) would be appreciated. The problem is with my pValues and pLevels settings (same for this test) but I don't see where. &lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt; Ipp32s lutval[3];&lt;BR /&gt;const Ipp32s *p_lutval = lutval;&lt;/DIV&gt;
&lt;DIV&gt;int redvals [256];&lt;BR /&gt;int grnvals [256];&lt;BR /&gt;int bluvals [256];&lt;BR /&gt;&lt;BR /&gt;int *p_reds = redvals;&lt;BR /&gt;int *p_grns = grnvals;&lt;BR /&gt;int *p_blus = bluvals;&lt;/DIV&gt;
&lt;DIV&gt; lutval[0]= *p_reds;//set array to pointer to buffer&lt;BR /&gt; lutval[1]= *p_grns; &lt;BR /&gt; lutval[2]= *p_blus; &lt;BR /&gt;&lt;BR /&gt;int i;&lt;BR /&gt;for ( i = 0; i &amp;lt;= 255; i++ ) &lt;BR /&gt;{&lt;BR /&gt;redvals&lt;I&gt;=i;&lt;BR /&gt;grnvals&lt;I&gt;=i;&lt;BR /&gt;bluvals&lt;I&gt;=i;&lt;BR /&gt;}&lt;BR /&gt; &lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/DIV&gt;
&lt;DIV&gt;int numblevel[3];&lt;BR /&gt;numblevel[0] = 256;&lt;BR /&gt;numblevel[1] = 256 ;&lt;BR /&gt;numblevel[2] = 256 ;&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;rslt = ippiLUT_8u_C3R( p_mem, p_stepbyte,&lt;BR /&gt;(Ipp8u*) thisimg-&amp;gt;DataPtr(), thisimg-&amp;gt;Step(), imgsz ,&lt;BR /&gt; &amp;amp;p_lutval, &amp;amp;p_lutval, numblevel);&lt;/DIV&gt;</description>
      <pubDate>Fri, 22 Oct 2004 08:33:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/LUT-Help-please/m-p/932382#M16853</guid>
      <dc:creator>barehill</dc:creator>
      <dc:date>2004-10-22T08:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: LUT Help please</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/LUT-Help-please/m-p/932383#M16854</link>
      <description>&lt;DIV&gt;Hi,&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;it seems you are using wrong initialization. Could you please look at code below:&lt;/DIV&gt;&lt;FONT color="#0000ff" size="2"&gt;
&lt;P&gt;int redvals [256];&lt;BR /&gt;int grnvals [256];&lt;BR /&gt;int bluvals [256];&lt;/P&gt;
&lt;P&gt;int i;&lt;/P&gt;
&lt;P&gt;for ( i = 0; i &amp;lt;= 255; i++ )&lt;BR /&gt;{&lt;BR /&gt; redvals&lt;I&gt; = i;&lt;BR /&gt; grnvals&lt;I&gt; = i;&lt;BR /&gt; bluvals&lt;I&gt; = i;&lt;BR /&gt;}&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;const Ipp32s&lt;/P&gt;&lt;/FONT&gt;&lt;B&gt;&lt;FONT color="#ff0000" size="2"&gt;*&lt;/FONT&gt;&lt;/B&gt;&lt;FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2"&gt; lutval[3];&lt;P&gt;&lt;/P&gt;
&lt;P&gt;lutval[0] = redvals;&lt;BR /&gt;lutval[1] = grnvals; &lt;BR /&gt;lutval[2] = &lt;/P&gt;&lt;/FONT&gt;&lt;FONT face="Arial" color="#0000ff" size="2"&gt;blu&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2"&gt;vals; &lt;P&gt;&lt;/P&gt;
&lt;P&gt;int numblevel[3];&lt;/P&gt;
&lt;P&gt;numblevel[0] = 256;&lt;BR /&gt;numblevel[1] = 256;&lt;BR /&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt;numblevel[2] = 256;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;rslt = ippiLUT_8u_C3R(p_mem, p_stepbyte, (Ipp8u*) thisimg-&amp;gt;DataPtr(), thisimg-&amp;gt;Step(), imgsz , &lt;/P&gt;&lt;/FONT&gt;&lt;B&gt;&lt;FONT face="Arial CYR" color="#ff0000" size="2"&gt;lutval&lt;/FONT&gt;&lt;/B&gt;&lt;FONT&gt;&lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt;, &lt;/FONT&gt;&lt;B&gt;&lt;FONT face="Arial CYR" color="#ff0000" size="2"&gt;lutval&lt;/FONT&gt;&lt;/B&gt;&lt;FONT&gt;&lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt;, numblevel);&lt;P&gt;&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;&lt;/FONT&gt;Regards,
&lt;DIV&gt; Vladimir&lt;/DIV&gt;</description>
      <pubDate>Tue, 26 Oct 2004 16:01:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/LUT-Help-please/m-p/932383#M16854</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2004-10-26T16:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: LUT Help please</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/LUT-Help-please/m-p/932384#M16855</link>
      <description>&lt;DIV&gt;Vladimir,&lt;/DIV&gt;
&lt;DIV&gt;Thanks once again for the assistance. Very simple solution once the fog lifted! LUT now working nicely. I use it to turn off color channels as needed for an anaglyph stereo vision application.&lt;/DIV&gt;
&lt;DIV&gt;Rick&lt;/DIV&gt;</description>
      <pubDate>Thu, 28 Oct 2004 20:50:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/LUT-Help-please/m-p/932384#M16855</guid>
      <dc:creator>barehill</dc:creator>
      <dc:date>2004-10-28T20:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: LUT Help please</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/LUT-Help-please/m-p/932385#M16856</link>
      <description>&lt;DIV&gt;Hi Rick,&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I'm glad if we can help you. You are welcome:)&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Regards,&lt;/DIV&gt;
&lt;DIV&gt; Vladimir&lt;/DIV&gt;</description>
      <pubDate>Thu, 28 Oct 2004 23:02:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/LUT-Help-please/m-p/932385#M16856</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2004-10-28T23:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: LUT Help please</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/LUT-Help-please/m-p/932386#M16857</link>
      <description>Hey Vladimir,&lt;BR /&gt;&lt;BR /&gt;I'm wondering if the LUT function prototype (&amp;amp; usage) have changed since you posted this solution. From the 5.1 IPPI reference manual:&lt;BR /&gt;&lt;BR /&gt;This function performs intensity transformation of the source image pSrc using the lookup table (LUT) specified by the arrays pLevels and pValues. Every source pixel pSrc(x,y) from the range [pLevels&lt;K&gt;, pLevels[k+1]) is mapped to the destination pixel pDst(x,y) whose value is equal to the intensity pValues&lt;K&gt;.&lt;BR /&gt;&lt;BR /&gt;Length of the pLevels and pValues arrays is defined by the nLevels parameter. Number of level and intensity values is less than nLevels by one. Pixels in the pSrc image that are not in the range [pLevels[0], pLevels[nLevels-1]) are copied to the pDst image without any transformation.&lt;BR /&gt;&lt;BR /&gt;Note that the pLevel ranges are inclusive [ at the bottom end and exclusive ) at the top end; of particular note is the statement that Pixels in the pSrc image that are not in the range [pLevels[0], Levels[nLevels-1]) are copied to the pDst image without any transformation. In the case of the code fragment, pLevels[nLevels-1] = 255, and thus the transformation will only take place for pixels in the range of [0, 255), which excludes the value of 255 from being transformed (in this case, it isnt a problem since the transformation is the identity function, but it would be a problem in some non-linear problems, such as classification  which just happens to be my problem ;)&lt;BR /&gt;&lt;BR /&gt;Also, I dont understand why the documentation states that both the number of levels and values should be nLevels-1. According to this statement in the manual: Every source pixel pSrc(x,y) from the range [pLevels&lt;K&gt;, pLevels[k+1]) is mapped to the destination pixel pDst(x,y) whose value is equal to the intensity pValues&lt;K&gt; it would seem like nLevels-1 of values and nLevels of Levels would be appropriate  I cant see how those two arrays should be the same length, given the need to index pLevels by k+1, but pValues by only k.&lt;BR /&gt;&lt;BR /&gt;Thanks for any clarification that you can provide,&lt;BR /&gt;-todd&lt;BR /&gt;&lt;BR /&gt;Todd Kelman, Engineering Consultant&lt;BR /&gt;Volcano Corporation&lt;BR /&gt;2870 Kilgore Rd.&lt;BR /&gt;Rancho Cordova, CA 95670&lt;BR /&gt;tkelman@volcanocorp.com&lt;/K&gt;&lt;/K&gt;&lt;/K&gt;&lt;/K&gt;</description>
      <pubDate>Tue, 13 Jun 2006 07:38:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/LUT-Help-please/m-p/932386#M16857</guid>
      <dc:creator>tjkelman</dc:creator>
      <dc:date>2006-06-13T07:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: LUT Help please</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/LUT-Help-please/m-p/932387#M16858</link>
      <description>&lt;P&gt;Hello Todd,&lt;/P&gt;
&lt;P&gt;there is answer from our expert:&lt;/P&gt;&lt;FONT color="#0000ff" size="2"&gt;
&lt;P&gt;The manual states - "number of levels and values should be nLevels-1". But actually pLevels are &lt;B&gt;boundaries&lt;/B&gt; so number of elements of pLevel must be nLevel.&lt;/P&gt;
&lt;P&gt;May be short example will explain more clearly.&lt;/P&gt;&lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt;
&lt;P&gt;Ipp32s val&lt;/P&gt;&lt;/FONT&gt;&lt;FONT face="Arial" color="#0000ff" size="2"&gt;ue&lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt;s[&lt;/FONT&gt;&lt;FONT face="Arial" color="#0000ff" size="2"&gt;4&lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt;]&lt;/FONT&gt;&lt;FONT face="Arial" color="#0000ff" size="2"&gt;, boundaries&lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt;[&lt;/FONT&gt;&lt;FONT face="Arial" color="#0000ff" size="2"&gt;5&lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt;];&lt;BR /&gt;const Ipp32s&lt;/FONT&gt;&lt;FONT face="Arial" color="#0000ff" size="2"&gt;*&lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt; &lt;/FONT&gt;&lt;FONT face="Arial" color="#0000ff" size="2"&gt;pV&lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt;a&lt;/FONT&gt;&lt;FONT face="Arial" color="#0000ff" size="2"&gt;l&lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt;[3]&lt;/FONT&gt;&lt;FONT face="Arial" color="#0000ff" size="2"&gt;, pLev[3]&lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt;;&lt;BR /&gt;int numblevel[3];&lt;P&gt;&lt;/P&gt;
&lt;P&gt;val&lt;/P&gt;&lt;/FONT&gt;&lt;FONT face="Arial" color="#0000ff" size="2"&gt;ue&lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt;s&lt;/FONT&gt;&lt;FONT face="Arial" color="#0000ff" size="2"&gt;[0] = 11; &lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt;val&lt;/FONT&gt;&lt;FONT face="Arial" color="#0000ff" size="2"&gt;ue&lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt;s&lt;/FONT&gt;&lt;FONT face="Arial" color="#0000ff" size="2"&gt;[1] = 44; &lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt;val&lt;/FONT&gt;&lt;FONT face="Arial" color="#0000ff" size="2"&gt;ue&lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt;s&lt;/FONT&gt;&lt;FONT face="Arial" color="#0000ff" size="2"&gt;[2] = 88; &lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt;val&lt;/FONT&gt;&lt;FONT face="Arial" color="#0000ff" size="2"&gt;ue&lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt;s&lt;/FONT&gt;&lt;FONT face="Arial" color="#0000ff" size="2"&gt;[3] = 222;&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT face="Arial" color="#0000ff" size="2"&gt;boundaries&lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt;[&lt;/FONT&gt;&lt;FONT face="Arial" color="#0000ff" size="2"&gt;0&lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt;]&lt;/FONT&gt;&lt;FONT face="Arial" color="#0000ff" size="2"&gt; = 0; boundaries&lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt;[&lt;/FONT&gt;&lt;FONT face="Arial" color="#0000ff" size="2"&gt;1] = 30; boundaries&lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt;[&lt;/FONT&gt;&lt;FONT face="Arial" color="#0000ff" size="2"&gt;2&lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt;]&lt;/FONT&gt;&lt;FONT face="Arial" color="#0000ff" size="2"&gt; = 60; boundaries&lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt;[&lt;/FONT&gt;&lt;FONT face="Arial" color="#0000ff" size="2"&gt;3&lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt;]&lt;/FONT&gt;&lt;FONT face="Arial" color="#0000ff" size="2"&gt; = 120; boundaries&lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt;[&lt;/FONT&gt;&lt;FONT face="Arial" color="#0000ff" size="2"&gt;4&lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt;]&lt;/FONT&gt;&lt;FONT face="Arial" color="#0000ff" size="2"&gt; = 256;&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT face="Arial" color="#0000ff" size="2"&gt;pVal&lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt;[0]&lt;/FONT&gt;&lt;FONT face="Arial" color="#0000ff" size="2"&gt; &lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt;= &lt;/FONT&gt;&lt;FONT face="Arial" color="#0000ff" size="2"&gt;pVal&lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt;[&lt;/FONT&gt;&lt;FONT face="Arial" color="#0000ff" size="2"&gt;1&lt;/FONT&gt;&amp;lt;
FONT face="Arial CYR" color=#0000ff size=2&amp;gt;]&lt;FONT face="Arial" color="#0000ff" size="2"&gt; &lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt;= &lt;/FONT&gt;&lt;FONT face="Arial" color="#0000ff" size="2"&gt;pVal&lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt;[&lt;/FONT&gt;&lt;FONT face="Arial" color="#0000ff" size="2"&gt;2&lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt;]&lt;/FONT&gt;&lt;FONT face="Arial" color="#0000ff" size="2"&gt; &lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt;= &lt;/FONT&gt;&lt;FONT face="Arial" color="#0000ff" size="2"&gt;values&lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt;;&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT face="Arial" color="#0000ff" size="2"&gt;pLev&lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt;[0]&lt;/FONT&gt;&lt;FONT face="Arial" color="#0000ff" size="2"&gt; &lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt;= &lt;/FONT&gt;&lt;FONT face="Arial" color="#0000ff" size="2"&gt;pLev[1] = pLev[2] = boundaries&lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt;;&lt;BR /&gt;numblevel[0] = numblevel[1] = numblevel[2] = &lt;/FONT&gt;&lt;FONT face="Arial" color="#0000ff" size="2"&gt;5&lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt;;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;rslt = ippiLUT_8u_C3R( p_mem, p_stepbyte, (Ipp8u*) thisimg-&amp;gt;DataPtr(), thisimg-&amp;gt;Step(), imgsz , &lt;/P&gt;&lt;/FONT&gt;&lt;FONT face="Arial" color="#0000ff" size="2"&gt;pVal, pLev&lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#0000ff" size="2"&gt;, numblevel);&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;
&lt;P&gt;&lt;FONT size="2"&gt;In this example&lt;BR /&gt;if src value lies in [0; 30) than correspondend dst will have value 11;&lt;BR /&gt;if src value lies in [30; 60) than correspondend dst will have value 44;&lt;BR /&gt;if src value lies in [60; 120) than correspondend dst will have value 88;&lt;BR /&gt;if src value lies in [120; 256) than correspondend dst will have value 222;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;We have 4 levels, 4 values but 5 boundaries&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;11 44 88 222&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;|------|------|------|------|&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;03060120256&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
      <pubDate>Sat, 01 Jul 2006 02:51:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/LUT-Help-please/m-p/932387#M16858</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2006-07-01T02:51:51Z</dc:date>
    </item>
  </channel>
</rss>

