<?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 Using LUTPalette in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Using-LUTPalette/m-p/981596#M21403</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have an RGB555 image and want to apply a LUT operation on it, in order to get an image with only a few colors. I.e., I want to get a one plane image where in each (x,y) I get one index in a predefined range.&lt;BR /&gt;&lt;BR /&gt;From what I've read, I can segment an RGB555 image using the LUTPalette function, since this origin image as 16bits. To do this probably I will have to set nBitSize=16 and use the mod=16u8u_C1R. I now that the RGB555 is a 3 channel image, but I don't see why it won't work if I just pretend it is a one channel, 16 bits image.&lt;BR /&gt;&lt;BR /&gt;Well, what I'm asking is for clarification on these assumptions, and I would appreciate much if someone could post a piece of code illustrating the use of this function.&lt;BR /&gt;&lt;BR /&gt;Thanks in advanced for your help.&lt;BR /&gt;&lt;BR /&gt;Bitwise, I'm using IPP 5.0 beta.&lt;BR /&gt;&lt;BR /&gt;Hugo</description>
    <pubDate>Fri, 05 Aug 2005 23:23:58 GMT</pubDate>
    <dc:creator>costelha1</dc:creator>
    <dc:date>2005-08-05T23:23:58Z</dc:date>
    <item>
      <title>Using LUTPalette</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Using-LUTPalette/m-p/981596#M21403</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have an RGB555 image and want to apply a LUT operation on it, in order to get an image with only a few colors. I.e., I want to get a one plane image where in each (x,y) I get one index in a predefined range.&lt;BR /&gt;&lt;BR /&gt;From what I've read, I can segment an RGB555 image using the LUTPalette function, since this origin image as 16bits. To do this probably I will have to set nBitSize=16 and use the mod=16u8u_C1R. I now that the RGB555 is a 3 channel image, but I don't see why it won't work if I just pretend it is a one channel, 16 bits image.&lt;BR /&gt;&lt;BR /&gt;Well, what I'm asking is for clarification on these assumptions, and I would appreciate much if someone could post a piece of code illustrating the use of this function.&lt;BR /&gt;&lt;BR /&gt;Thanks in advanced for your help.&lt;BR /&gt;&lt;BR /&gt;Bitwise, I'm using IPP 5.0 beta.&lt;BR /&gt;&lt;BR /&gt;Hugo</description>
      <pubDate>Fri, 05 Aug 2005 23:23:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Using-LUTPalette/m-p/981596#M21403</guid>
      <dc:creator>costelha1</dc:creator>
      <dc:date>2005-08-05T23:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: Using LUTPalette</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Using-LUTPalette/m-p/981597#M21404</link>
      <description>&lt;DIV&gt;Hi,&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;there is recommendation from our expert:&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;you can do like this&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;pTable = ippsMalloc_8u(1 &amp;lt;&amp;lt; 15);
// prepare LUT table
for (i = 0; i &amp;lt; (1 &amp;lt;&amp;lt; 15); i ++)
    pTable&lt;I&gt; = something;
// applay LUT
ippiLUTPalette_16u8u_C1R(pSrc, srcStep, pDst, dstStep, roiSize, pTable, 15);
&lt;/I&gt;&lt;/PRE&gt;&lt;/DIV&gt;&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, 25 Aug 2005 23:13:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Using-LUTPalette/m-p/981597#M21404</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2005-08-25T23:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: Using LUTPalette</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Using-LUTPalette/m-p/981598#M21405</link>
      <description>Thanks, I think that was exactly what I was looking for. I'll try it as soon as possible.&lt;BR /&gt;&lt;BR /&gt;Hugo Costelha</description>
      <pubDate>Thu, 15 Sep 2005 22:31:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Using-LUTPalette/m-p/981598#M21405</guid>
      <dc:creator>costelha1</dc:creator>
      <dc:date>2005-09-15T22:31:31Z</dc:date>
    </item>
  </channel>
</rss>

