<?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 IPP color conversion function RGBToYCrCb422 distorts original picture in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-color-conversion-function-RGBToYCrCb422-distorts-original/m-p/802452#M3367</link>
    <description>&lt;DIV id="_mcePaste"&gt;Hi to everyone&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;IPP 7.0.6.300&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;We have tried to use IPP for RGB24 -&amp;gt; YUY2color space conversion (csc)and we found that this IPP function distorts the picture.&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Lets look at the examplehttp://dl.dropbox.com/u/10903775/SC_RGB_YUV.png&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;(red lines in YUY2 seems more brightly, other pictures will have color artefacts also)&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;To repeat the bug, please convert RGB picture to YUY2 picture using RGBToYCrCb422 and compare them.&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;If we convert RGB24 to YUY2 using our not optimised csc function, we don't see any problem.&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Can you check and confirm the problem?&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 24 Feb 2012 10:43:40 GMT</pubDate>
    <dc:creator>Ilya_Zarezenko</dc:creator>
    <dc:date>2012-02-24T10:43:40Z</dc:date>
    <item>
      <title>IPP color conversion function RGBToYCrCb422 distorts original picture</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-color-conversion-function-RGBToYCrCb422-distorts-original/m-p/802452#M3367</link>
      <description>&lt;DIV id="_mcePaste"&gt;Hi to everyone&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;IPP 7.0.6.300&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;We have tried to use IPP for RGB24 -&amp;gt; YUY2color space conversion (csc)and we found that this IPP function distorts the picture.&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Lets look at the examplehttp://dl.dropbox.com/u/10903775/SC_RGB_YUV.png&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;(red lines in YUY2 seems more brightly, other pictures will have color artefacts also)&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;To repeat the bug, please convert RGB picture to YUY2 picture using RGBToYCrCb422 and compare them.&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;If we convert RGB24 to YUY2 using our not optimised csc function, we don't see any problem.&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Can you check and confirm the problem?&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 24 Feb 2012 10:43:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-color-conversion-function-RGBToYCrCb422-distorts-original/m-p/802452#M3367</guid>
      <dc:creator>Ilya_Zarezenko</dc:creator>
      <dc:date>2012-02-24T10:43:40Z</dc:date>
    </item>
    <item>
      <title>IPP color conversion function RGBToYCrCb422 distorts original p</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-color-conversion-function-RGBToYCrCb422-distorts-original/m-p/802453#M3368</link>
      <description>Hello Ilya.&lt;BR /&gt;Could you please be more specificand provide small C code example how you use RGBToYCrCb422 function? I'd likecompare your formulas with IPP's.&lt;BR /&gt;Thank for your message.</description>
      <pubDate>Mon, 27 Feb 2012 11:06:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-color-conversion-function-RGBToYCrCb422-distorts-original/m-p/802453#M3368</guid>
      <dc:creator>Andrey_B_Intel</dc:creator>
      <dc:date>2012-02-27T11:06:05Z</dc:date>
    </item>
    <item>
      <title>IPP color conversion function RGBToYCrCb422 distorts original p</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-color-conversion-function-RGBToYCrCb422-distorts-original/m-p/802454#M3369</link>
      <description>Hi Andrey,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks for your quick answer.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Please have a look at test application with IPP&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="http://dl.dropbox.com/u/10903775/Intel/ConversionTestApp.zip" target="_blank"&gt;http://dl.dropbox.com/u/10903775/Intel/ConversionTestApp.zip&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;It takes original picture &lt;A href="http://dl.dropbox.com/u/10903775/Intel/TestImage.pngand" target="_blank"&gt;http://dl.dropbox.com/u/10903775/Intel/TestImage.pngand&lt;/A&gt; displays the result of one conversion RGB to YUY2&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="http://dl.dropbox.com/u/10903775/Intel/Penguins_left_RGB_right_YUY2.png" target="_blank"&gt;http://dl.dropbox.com/u/10903775/Intel/Penguins_left_RGB_right_YUY2.png&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;As you can see, yellow colors are changed to orange in YUY2 picture (right side).&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Also application does conversion RGB to YUY2 and back 100 times andcreates file in the app folder:&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="http://dl.dropbox.com/u/10903775/Intel/Penguins_conversion_RGB_to_YUY2_and_YUY2_to_RGB_100_times.bmp" target="_blank"&gt;http://dl.dropbox.com/u/10903775/Intel/Penguins_conversion_RGB_to_YUY2_and_YUY2_to_RGB_100_times.bmp&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;As you can see youl get absolutely distorted picture.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Could you check an IPP functionippiRGBToYCrCb422_8u_C3C2R and answer what is the problem: incorrect usage or bug in the function?&lt;/DIV&gt;</description>
      <pubDate>Tue, 28 Feb 2012 11:21:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-color-conversion-function-RGBToYCrCb422-distorts-original/m-p/802454#M3369</guid>
      <dc:creator>Ilya_Zarezenko</dc:creator>
      <dc:date>2012-02-28T11:21:13Z</dc:date>
    </item>
    <item>
      <title>IPP color conversion function RGBToYCrCb422 distorts original p</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-color-conversion-function-RGBToYCrCb422-distorts-original/m-p/802455#M3370</link>
      <description>&lt;P&gt;Thanks for example.&lt;BR /&gt;The IPP function ippiRGBToYCrCb422_8u_C3C2R convert image from RGB to YCrCb using formulas&lt;/P&gt;&lt;P&gt;// Y = 0.257*R' + 0.504*G' + 0.098*B' + 16&lt;/P&gt;&lt;P&gt;// Cr = 0.439*R' - 0.368*G' - 0.071*B' + 128&lt;/P&gt;&lt;P&gt;// Cb = -0.148*R' - 0.291*G' + 0.439*B' + 128&lt;BR /&gt;&lt;BR /&gt;IPP CC domain has many color conversion function. Look please at ippcc.h or to ippiman.pdf to make sure that you use correct function. May be you should use ippiRGBToYUV422 &lt;/P&gt;&lt;P&gt;// Y' = 0.299*R' + 0.587*G' + 0.114*B'&lt;/P&gt;&lt;P&gt;// U = -0.147*R' - 0.289*G' + 0.436*B' = 0.492*(B' - Y' )&lt;/P&gt;&lt;P&gt;// V = 0.615*R' - 0.515*G' - 0.100*B' = 0.877*(R' - Y' )&lt;/P&gt;</description>
      <pubDate>Wed, 29 Feb 2012 12:37:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-color-conversion-function-RGBToYCrCb422-distorts-original/m-p/802455#M3370</guid>
      <dc:creator>Andrey_B_Intel</dc:creator>
      <dc:date>2012-02-29T12:37:03Z</dc:date>
    </item>
    <item>
      <title>IPP color conversion function RGBToYCrCb422 distorts original p</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-color-conversion-function-RGBToYCrCb422-distorts-original/m-p/802456#M3371</link>
      <description>&lt;P&gt;I've studied your example, it's wrong.&lt;/P&gt;&lt;P&gt;1. Example used src image B0,G0,R0. B1,G1,R1 not R0,G0,B0. R1,G1,B1 &lt;/P&gt;&lt;P&gt;2. Example wanted convert src image RGB to dst image YUY2&lt;/P&gt;&lt;P&gt;Actually you used convert RGB to UYVY (ippiRGBToYCrCb422_8u_C3C2R) and UYVY to RGB (ippiYCrCb422ToRGB_8u_C2C3R).&lt;/P&gt;&lt;P&gt;Use functions ippiBGRToYCbCr422_8u_C3C2R( BGR to YUY2) and ippiYCbCr422ToBGR_8u_C2C3R(YUY2 to BGR ) and everything will be ok. &lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2012 12:09:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-color-conversion-function-RGBToYCrCb422-distorts-original/m-p/802456#M3371</guid>
      <dc:creator>Sergey_P_Intel1</dc:creator>
      <dc:date>2012-03-01T12:09:19Z</dc:date>
    </item>
    <item>
      <title>IPP color conversion function RGBToYCrCb422 distorts original p</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-color-conversion-function-RGBToYCrCb422-distorts-original/m-p/802457#M3372</link>
      <description>Andrey and Sergey, thanks for your replies, it helped us to solve the problem.</description>
      <pubDate>Mon, 12 Mar 2012 11:21:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-color-conversion-function-RGBToYCrCb422-distorts-original/m-p/802457#M3372</guid>
      <dc:creator>Ilya_Zarezenko</dc:creator>
      <dc:date>2012-03-12T11:21:10Z</dc:date>
    </item>
  </channel>
</rss>

