<?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: Integration with Image component in Visual C++ in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Integration-with-Image-component-in-Visual-C/m-p/877824#M9789</link>
    <description>&lt;DIV style="margin:0px;"&gt;Hi, Jose!&lt;/DIV&gt;&lt;DIV style="margin:0px;"&gt;Wish to hear good news from you. If anything you think I can help you, plese feal free to tell me.&lt;/DIV&gt;&lt;DIV style="margin:0px;"&gt;Regards,&lt;/DIV&gt;&lt;DIV style="margin:0px;"&gt;Albert&lt;/DIV&gt;&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Oct 2008 06:25:50 GMT</pubDate>
    <dc:creator>Albert_Stepanov</dc:creator>
    <dc:date>2008-10-01T06:25:50Z</dc:date>
    <item>
      <title>Integration with Image component in Visual C++</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Integration-with-Image-component-in-Visual-C/m-p/877820#M9785</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm having difficultiesin usingimage IPPfunctions with images loaded by using .NET CLR JPG loading.&lt;BR /&gt;Say, by using&lt;SPAN style="color: blue;"&gt; &lt;/SPAN&gt;Image^ FromFile (String^ filename) to load and show them in the form.&lt;BR /&gt;I know thatthey are32 bits per pixelin ARGB structure, but I have no success in passing them as arguments to IPP functions.&lt;/P&gt;&lt;P&gt;Are there sample codes whith images read in such way, passed to IPP functions?&lt;BR /&gt;Pardon me for so basic question, but unfortunately I'm not able to see the answer...&lt;/P&gt;&lt;P&gt;Thanks in advance for any hint...&lt;BR /&gt;Jose&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2008 15:34:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Integration-with-Image-component-in-Visual-C/m-p/877820#M9785</guid>
      <dc:creator>jmparrot</dc:creator>
      <dc:date>2008-09-29T15:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: Integration with Image component in Visual C++</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Integration-with-Image-component-in-Visual-C/m-p/877821#M9786</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/292212"&gt;jmparrot&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;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm having difficultiesin usingimage IPPfunctions with images loaded by using .NET CLR JPG loading.&lt;BR /&gt;Say, by using&lt;SPAN style="color: blue;"&gt; &lt;/SPAN&gt;Image^ FromFile (String^ filename) to load and show them in the form.&lt;BR /&gt;I know thatthey are32 bits per pixelin ARGB structure, but I have no success in passing them as arguments to IPP functions.&lt;/P&gt;&lt;P&gt;Are there sample codes whith images read in such way, passed to IPP functions?&lt;BR /&gt;Pardon me for so basic question, but unfortunately I'm not able to see the answer...&lt;/P&gt;&lt;P&gt;Thanks in advance for any hint...&lt;BR /&gt;Jose&lt;/P&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hi Jose,&lt;/P&gt;&lt;DIV&gt;I think you should use the Bitmap and BitmapData classes for operation with IPP functions. For example so:&lt;/DIV&gt;&lt;P&gt;&lt;SPAN style="font-size: x-small;"&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Bitmap^ img =&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt;dynamic_cast&lt;/SPAN&gt;&lt;SPAN style="font-size: x-small;"&gt;&lt;BITMAP&gt;(Image::FromFile(filename));&lt;/BITMAP&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt;switch&lt;/SPAN&gt;&lt;SPAN style="font-size: x-small;"&gt;( bmpData-&amp;gt;PixelFormat ) {&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt; case&lt;/SPAN&gt;&lt;SPAN style="font-size: x-small;"&gt;System::Drawing::Imaging::PixelFormat::Format8bppIndexed:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; ippiMirror_8u_C1IR(pSrcDst, bmpData-&amp;gt;Stride, roi, ippAxsBoth);&lt;/P&gt;&lt;FONT size="2"&gt;&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt; break&lt;/SPAN&gt;&lt;SPAN style="font-size: x-small;"&gt;;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt; case&lt;/SPAN&gt;&lt;SPAN style="font-size: x-small;"&gt; System::Drawing::Imaging::PixelFormat::Format24bppRgb:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; ippiMirror_8u_C3IR(pSrcDst, bmpData-&amp;gt;Stride, roi, ippAxsBoth);&lt;/P&gt;&lt;FONT size="2"&gt;&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt; break&lt;/SPAN&gt;&lt;SPAN style="font-size: x-small;"&gt;;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt; case&lt;/SPAN&gt;&lt;SPAN style="font-size: x-small;"&gt; System::Drawing::Imaging::PixelFormat::Format32bppArgb:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; ippiMirror_8u_C4IR(pSrcDst, bmpData-&amp;gt;Stride, roi, ippAxsBoth);&lt;/P&gt;&lt;FONT size="2"&gt;&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt; break&lt;/SPAN&gt;&lt;SPAN style="font-size: x-small;"&gt;;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt; default&lt;/SPAN&gt;&lt;SPAN style="font-size: x-small;"&gt;:&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: x-small; color: #0000ff;"&gt; break&lt;/SPAN&gt;&lt;SPAN style="font-size: x-small;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;img-&amp;gt;UnlockBits(bmpData);&lt;/P&gt;&lt;FONT size="2"&gt;&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this help you.&lt;/P&gt;&lt;P&gt;Albert&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN style="font-size: x-small;"&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2008 10:30:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Integration-with-Image-component-in-Visual-C/m-p/877821#M9786</guid>
      <dc:creator>Albert_Stepanov</dc:creator>
      <dc:date>2008-09-30T10:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Integration with Image component in Visual C++</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Integration-with-Image-component-in-Visual-C/m-p/877822#M9787</link>
      <description>&lt;DIV style="margin:0px;"&gt;Excuse me for the bad format.&lt;/DIV&gt;&lt;DIV style="margin:0px;"&gt;Again:&lt;/DIV&gt;&lt;DIV style="margin:0px;"&gt;Bitmap^ img = dynamic_cast&lt;BITMAP&gt;&lt;DIV style="margin:0px;"&gt;Rectangle rect = Rectangle(0, 0, img-&amp;gt;Width, img-&amp;gt;Height);&lt;/DIV&gt;&lt;DIV style="margin:0px;"&gt;System::Drawing::Imaging::BitmapData^ bmpData =&lt;/DIV&gt;&lt;DIV style="margin:0px;"&gt; img-&amp;gt;LockBits(rect, System::Drawing::Imaging::ImageLock&lt;:READWRITE&gt;PixelFormat);&lt;/:READWRITE&gt;&lt;/DIV&gt;&lt;DIV style="margin:0px;"&gt;Ipp8u* pSrcDst = (Ipp8u*)((bmpData-&amp;gt;Scan0).ToPointer());&lt;/DIV&gt;&lt;DIV style="margin:0px;"&gt;IppiSize roi = {img-&amp;gt;Width, img-&amp;gt;Height};&lt;/DIV&gt;&lt;DIV style="margin:0px;"&gt;switch( bmpData-&amp;gt;PixelFormat ) {&lt;/DIV&gt;&lt;DIV style="margin:0px;"&gt; case System::Drawing::Imaging::PixelFormat::Format8bppIndexed:&lt;/DIV&gt;&lt;DIV style="margin:0px;"&gt; ippiMirror_8u_C1IR(pSrcDst, bmpData-&amp;gt;Stride, roi, ippAxsBoth);&lt;/DIV&gt;&lt;DIV style="margin:0px;"&gt; break;&lt;/DIV&gt;&lt;DIV style="margin:0px;"&gt; case System::Drawing::Imaging::PixelFormat::Format24bppRgb:&lt;/DIV&gt;&lt;DIV style="margin:0px;"&gt; ippiMirror_8u_C3IR(pSrcDst, bmpData-&amp;gt;Stride, roi, ippAxsBoth);&lt;/DIV&gt;&lt;DIV style="margin:0px;"&gt; break;&lt;/DIV&gt;&lt;DIV style="margin:0px;"&gt; case System::Drawing::Imaging::PixelFormat::Format32bppArgb:&lt;/DIV&gt;&lt;DIV style="margin:0px;"&gt; ippiMirror_8u_C4IR(pSrcDst, bmpData-&amp;gt;Stride, roi, ippAxsBoth);&lt;/DIV&gt;&lt;DIV style="margin:0px;"&gt; break;&lt;/DIV&gt;&lt;DIV style="margin:0px;"&gt; default:&lt;/DIV&gt;&lt;DIV style="margin:0px;"&gt; break;&lt;/DIV&gt;&lt;DIV style="margin:0px;"&gt;}&lt;/DIV&gt;&lt;DIV style="margin:0px;"&gt;img-&amp;gt;UnlockBits(bmpData);&lt;/DIV&gt;&lt;DIV style="margin:0px;"&gt;Albert&lt;/DIV&gt;&lt;DIV style="margin:0px;"&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;/BITMAP&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 30 Sep 2008 10:53:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Integration-with-Image-component-in-Visual-C/m-p/877822#M9787</guid>
      <dc:creator>Albert_Stepanov</dc:creator>
      <dc:date>2008-09-30T10:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: Integration with Image component in Visual C++</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Integration-with-Image-component-in-Visual-C/m-p/877823#M9788</link>
      <description>&lt;DIV style="margin:0px;"&gt;Hi, Albert,&lt;/DIV&gt;&lt;DIV style="margin:0px;"&gt;Thanks a lot for your answer.Seems it solves what I have trouble with...&lt;/DIV&gt;&lt;DIV style="margin:0px;"&gt;I'll tryadapt your codeto myimage deconvolution application, andinform you ontheresults.&lt;/DIV&gt;&lt;DIV style="margin:0px;"&gt;No problem with the previouscommentformat, it isa normalcut&amp;amp;paste susprise!&lt;/DIV&gt;&lt;DIV style="margin:0px;"&gt;Jose&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2008 13:53:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Integration-with-Image-component-in-Visual-C/m-p/877823#M9788</guid>
      <dc:creator>jmparrot</dc:creator>
      <dc:date>2008-09-30T13:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: Integration with Image component in Visual C++</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Integration-with-Image-component-in-Visual-C/m-p/877824#M9789</link>
      <description>&lt;DIV style="margin:0px;"&gt;Hi, Jose!&lt;/DIV&gt;&lt;DIV style="margin:0px;"&gt;Wish to hear good news from you. If anything you think I can help you, plese feal free to tell me.&lt;/DIV&gt;&lt;DIV style="margin:0px;"&gt;Regards,&lt;/DIV&gt;&lt;DIV style="margin:0px;"&gt;Albert&lt;/DIV&gt;&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Oct 2008 06:25:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Integration-with-Image-component-in-Visual-C/m-p/877824#M9789</guid>
      <dc:creator>Albert_Stepanov</dc:creator>
      <dc:date>2008-10-01T06:25:50Z</dc:date>
    </item>
  </channel>
</rss>

