<?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 Intensity Transformation in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/LUT-Intensity-Transformation/m-p/894433#M11887</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/404199"&gt;Ying H (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;
&lt;P&gt;Or modify at least pLevel or pValue. &lt;BR /&gt;for example,&lt;/P&gt;
&lt;P&gt;for (&lt;STRONG&gt;int i = 1;&lt;/STRONG&gt; i &amp;lt;= 255; i++ ) {&lt;/P&gt;
&lt;P&gt;redvals&lt;I&gt; = i;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;grnvals&lt;I&gt; = this-&amp;gt;trackBar1-&amp;gt;Value;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;bluvals&lt;I&gt; = this-&amp;gt;trackBar2-&amp;gt;Value;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;Because according to the manual, &lt;BR /&gt;&amp;lt;* 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. *&amp;gt;&lt;/P&gt;
&lt;P&gt;If you has&lt;BR /&gt; numblevel[1] = 256;&lt;BR /&gt; numblevel[2] = 256;&lt;/P&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;P&gt;for (int i = 0; i &amp;lt;= 255; i++ ) {&lt;/P&gt;
&lt;P&gt;redvals&lt;I&gt; = i;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;grnvals&lt;I&gt; = this-&amp;gt;trackBar1-&amp;gt;Value;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;bluvals&lt;I&gt; = this-&amp;gt;trackBar2-&amp;gt;Value;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;Then the grn and blu's pLevels[0]=pLevels[1]=....=pLevels[255]= (trackBar value). Thus&lt;/P&gt;
&lt;P&gt;the pixel =(trackBar value) map to =(trackBar value)&lt;/P&gt;
&lt;P&gt;the pixel !=(trackBar value) map to orig pSrc.the result image isalways same as Src image, which is not you wanted, isn't?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ying&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Thank you man, with this i get it :)&lt;BR /&gt;</description>
    <pubDate>Wed, 11 Nov 2009 10:09:03 GMT</pubDate>
    <dc:creator>Andreoli__Carlo</dc:creator>
    <dc:date>2009-11-11T10:09:03Z</dc:date>
    <item>
      <title>LUT Intensity Transformation</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/LUT-Intensity-Transformation/m-p/894430#M11884</link>
      <description>Hi, i'm having some problem using th LUT transformation. I'm developing on visual studio express 2008, using ipp 6.1 and microsoft CLR&lt;BR /&gt;i used quite the same code with opencv and it function so maybe i have some problem getting the image information, what i do is:&lt;BR /&gt;&lt;BR /&gt;
&lt;PRE&gt;[cpp]Imaging::BitmapData^ bmpData =this-&amp;gt;buffer-&amp;gt;LockBits(&lt;BR /&gt;		System::Drawing::Rectangle(Point(0,0),this-&amp;gt;buffer-&amp;gt;Size),&lt;BR /&gt;		Imaging::ImageLockMode::ReadOnly,&lt;BR /&gt;		this-&amp;gt;buffer-&amp;gt;PixelFormat);&lt;BR /&gt;&lt;BR /&gt;Imaging::BitmapData^ bmpData2 =this-&amp;gt;buffer2-&amp;gt;LockBits(&lt;BR /&gt;		System::Drawing::Rectangle(Point(0,0),this-&amp;gt;buffer2-&amp;gt;Size),&lt;BR /&gt;		Imaging::ImageLockMode::WriteOnly,&lt;BR /&gt;		this-&amp;gt;buffer2-&amp;gt;PixelFormat);&lt;BR /&gt;Ipp8u* pPixelData = (Ipp8u*) bmpData-&amp;gt;Scan0.ToPointer();&lt;BR /&gt;IppiSize roiSz;&lt;BR /&gt;roiSz.width = this-&amp;gt;buffer-&amp;gt;Width;&lt;BR /&gt;roiSz.height = this-&amp;gt;buffer-&amp;gt;Height;&lt;BR /&gt;Ipp8u* pPixelDataDst = (Ipp8u*) bmpData2-&amp;gt;Scan0.ToPointer();&lt;BR /&gt;&lt;BR /&gt;/* setting various lut trasformation&lt;BR /&gt;............&lt;BR /&gt;*/&lt;BR /&gt;&lt;BR /&gt;ippiLUT_8u_C3R(pPixelData,&lt;BR /&gt;			bmpData-&amp;gt;Stride,&lt;BR /&gt;			pPixelDataDst,&lt;BR /&gt;			bmpData2-&amp;gt;Stride,&lt;BR /&gt;			roiSz,&lt;BR /&gt;			lutval,&lt;BR /&gt;			lutval2,&lt;BR /&gt;			numblevel&lt;BR /&gt;		);[/cpp]&lt;/PRE&gt;
my question is...."is these thing good?"&lt;BR /&gt;&lt;BR /&gt;1) Ipp8u* pPixelData = (Ipp8u*) bmpData-&amp;gt;Scan0.ToPointer();&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;i attach a simple example on how it doesn't function :(&lt;BR /&gt;&lt;BR /&gt;thank in advance, Andreoli Carlo</description>
      <pubDate>Wed, 04 Nov 2009 09:20:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/LUT-Intensity-Transformation/m-p/894430#M11884</guid>
      <dc:creator>Andreoli__Carlo</dc:creator>
      <dc:date>2009-11-04T09:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: LUT Intensity Transformation</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/LUT-Intensity-Transformation/m-p/894431#M11885</link>
      <description>Hi Andreoli, &lt;BR /&gt;&lt;BR /&gt;You may try to change the &lt;BR /&gt; numblevel[0] = 257;&lt;BR /&gt;numblevel[1] = 257;&lt;BR /&gt;numblevel[2] = 257;&lt;BR /&gt;and see ifitworks? &lt;BR /&gt;(as the setting inLUT sampleof ippiDemo.exe. (It'ssource code areipp-samplesimage-processingimage-processing-functions)&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ying</description>
      <pubDate>Fri, 06 Nov 2009 09:05:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/LUT-Intensity-Transformation/m-p/894431#M11885</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2009-11-06T09:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: LUT Intensity Transformation</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/LUT-Intensity-Transformation/m-p/894432#M11886</link>
      <description>&lt;BR /&gt;
&lt;P&gt;Or modify at least pLevel or pValue. &lt;BR /&gt;for example,&lt;/P&gt;
&lt;P&gt;for (&lt;STRONG&gt;int i = 1;&lt;/STRONG&gt; i &amp;lt;= 255; i++ ) {&lt;/P&gt;
&lt;P&gt; redvals&lt;I&gt; = i;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt; grnvals&lt;I&gt; = this-&amp;gt;trackBar1-&amp;gt;Value;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt; bluvals&lt;I&gt; = this-&amp;gt;trackBar2-&amp;gt;Value;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt; }&lt;/P&gt;
&lt;P&gt;Because according to the manual, &lt;BR /&gt;&amp;lt;* 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. *&amp;gt;&lt;/P&gt;
&lt;P&gt;If you has&lt;BR /&gt;numblevel[1] = 256;&lt;BR /&gt;numblevel[2] = 256;&lt;/P&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;P&gt;for (int i = 0; i &amp;lt;= 255; i++ ) {&lt;/P&gt;
&lt;P&gt; redvals&lt;I&gt; = i;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt; grnvals&lt;I&gt; = this-&amp;gt;trackBar1-&amp;gt;Value;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt; bluvals&lt;I&gt; = this-&amp;gt;trackBar2-&amp;gt;Value;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt; }&lt;/P&gt;
&lt;P&gt;Then the grn and blu's pLevels[0]=pLevels[1]=....=pLevels[255]= (trackBar value). Thus&lt;/P&gt;
&lt;P&gt;the pixel =(trackBar value) map to =(trackBar value)&lt;/P&gt;
&lt;P&gt;the pixel !=(trackBar value) map to orig pSrc.the result image isalways same as Src image, which is not you wanted, isn't?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ying&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2009 12:38:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/LUT-Intensity-Transformation/m-p/894432#M11886</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2009-11-06T12:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: LUT Intensity Transformation</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/LUT-Intensity-Transformation/m-p/894433#M11887</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/404199"&gt;Ying H (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;
&lt;P&gt;Or modify at least pLevel or pValue. &lt;BR /&gt;for example,&lt;/P&gt;
&lt;P&gt;for (&lt;STRONG&gt;int i = 1;&lt;/STRONG&gt; i &amp;lt;= 255; i++ ) {&lt;/P&gt;
&lt;P&gt;redvals&lt;I&gt; = i;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;grnvals&lt;I&gt; = this-&amp;gt;trackBar1-&amp;gt;Value;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;bluvals&lt;I&gt; = this-&amp;gt;trackBar2-&amp;gt;Value;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;Because according to the manual, &lt;BR /&gt;&amp;lt;* 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. *&amp;gt;&lt;/P&gt;
&lt;P&gt;If you has&lt;BR /&gt; numblevel[1] = 256;&lt;BR /&gt; numblevel[2] = 256;&lt;/P&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;P&gt;for (int i = 0; i &amp;lt;= 255; i++ ) {&lt;/P&gt;
&lt;P&gt;redvals&lt;I&gt; = i;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;grnvals&lt;I&gt; = this-&amp;gt;trackBar1-&amp;gt;Value;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;bluvals&lt;I&gt; = this-&amp;gt;trackBar2-&amp;gt;Value;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;Then the grn and blu's pLevels[0]=pLevels[1]=....=pLevels[255]= (trackBar value). Thus&lt;/P&gt;
&lt;P&gt;the pixel =(trackBar value) map to =(trackBar value)&lt;/P&gt;
&lt;P&gt;the pixel !=(trackBar value) map to orig pSrc.the result image isalways same as Src image, which is not you wanted, isn't?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ying&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Thank you man, with this i get it :)&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Nov 2009 10:09:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/LUT-Intensity-Transformation/m-p/894433#M11887</guid>
      <dc:creator>Andreoli__Carlo</dc:creator>
      <dc:date>2009-11-11T10:09:03Z</dc:date>
    </item>
  </channel>
</rss>

