<?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 Morphological Operations in IPP 5 in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Morphological-Operations-in-IPP-5/m-p/867602#M8469</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;As I understood from the ippi manual, we should use some primary functions like MorphologyInit and MorphologyInitAlloc before any call to the basic morphological functions such as Dilate. But unfortunately, I couldn't understand the main goal of such functions. For example, I don't know what is the rule of the "IppiMorphState pState"?! Or even, what is the definition of IppiMorphState and where can I find its related definition? In fact, I want to know how can I first define a structure element with an arbitrary size and then use it in a basic morphological operation like the Dilate operation.I would be grateful if you could give me a completeexample to do so (Delphi or C). Thanks&lt;/P&gt;
&lt;P&gt;Hadi&lt;/P&gt;</description>
    <pubDate>Sat, 21 Apr 2007 04:55:40 GMT</pubDate>
    <dc:creator>hadipardis</dc:creator>
    <dc:date>2007-04-21T04:55:40Z</dc:date>
    <item>
      <title>Morphological Operations in IPP 5</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Morphological-Operations-in-IPP-5/m-p/867602#M8469</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;As I understood from the ippi manual, we should use some primary functions like MorphologyInit and MorphologyInitAlloc before any call to the basic morphological functions such as Dilate. But unfortunately, I couldn't understand the main goal of such functions. For example, I don't know what is the rule of the "IppiMorphState pState"?! Or even, what is the definition of IppiMorphState and where can I find its related definition? In fact, I want to know how can I first define a structure element with an arbitrary size and then use it in a basic morphological operation like the Dilate operation.I would be grateful if you could give me a completeexample to do so (Delphi or C). Thanks&lt;/P&gt;
&lt;P&gt;Hadi&lt;/P&gt;</description>
      <pubDate>Sat, 21 Apr 2007 04:55:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Morphological-Operations-in-IPP-5/m-p/867602#M8469</guid>
      <dc:creator>hadipardis</dc:creator>
      <dc:date>2007-04-21T04:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Morphological Operations in IPP 5</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Morphological-Operations-in-IPP-5/m-p/867603#M8470</link>
      <description>&lt;P&gt;Hi, Hadi,&lt;/P&gt;
&lt;P&gt;&lt;FONT size="1"&gt;As I understood from the ippi manual, we should use some primary functions like MorphologyInit and MorphologyInitAlloc before any call to the basic morphological functions such as Dilate. But unfortunately, I couldn't understand the main goal of such functions.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;IPP is the library of highly optimized functions for different Intel platforms. Methods of optimization depend on CPU and can require using of different data structures. A lot of IPP functions including morphology allocate memory and/or create in this memory data structures for optimized implementation. So, memory allocation and data structure creation is performed only once for all successive calls of optimized functions. Some functions have GetSize/external alloc/Init interface for applications with prohibited memory allocation (eg drivers).&lt;/P&gt;
&lt;P&gt;&lt;FONT size="1"&gt;For example, I don't know what is the rule of the "IppiMorphState pState"?! Or even, what is the definition of IppiMorphState and where can I find its related definition?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Suchstructures (eg IppiMorphState pState) contain data (for morphology it is the special representation of thestructuring element) for fast implementation of operations. These structures are used "as is". It is not quite clear what benefit customers could get from knowing the definition of this structure (different for PX, A6, W7 and other platforms). &lt;/P&gt;
&lt;P&gt;&lt;FONT size="1"&gt;In fact, I want to know how can I first define a structure element with an arbitrary size and then use it in a basic morphological operation like the Dilate operation.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;The preface of Chapter 8 of the manual and the description of MorphologyInitAlloc function contain the description of the structuring element: the row-wise array of length height*width. Its non-zero elements compose the erosion or dilatiom mask (SE)&lt;/P&gt;
&lt;P&gt;&lt;FONT size="1"&gt;I would be grateful if you could give me a completeexample to do so (Delphi or C).&lt;/FONT&gt; &lt;/P&gt;
&lt;P&gt;See Example 8-2 (pp 8-20 - 8-21 of the manual)&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Alexander&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2007 11:31:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Morphological-Operations-in-IPP-5/m-p/867603#M8470</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2007-04-25T11:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: Morphological Operations in IPP 5</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Morphological-Operations-in-IPP-5/m-p/867604#M8471</link>
      <description>&lt;P&gt;Thank you for your reply and attention. If I understood correctly, the fields or elements of the IppiMorphState is not known for the programmers and when we call ippiMorphologyInitAlloc_8u_C1R or similar functions its fields are created and initalized. And that is why in ippcv.h , we only see this:&lt;/P&gt;
&lt;P&gt;struct ipcvMorphAdvState;&lt;/P&gt;
&lt;P&gt;typedef struct ipcvMorphAdvState IppiMorphAdvState;&lt;/P&gt;
&lt;P&gt;That is, we don't need to know the elements of such structures. But is it true? I am going to try that example in Delphi (example 8-2) and I will tell you the results. Thanks again!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2007 11:44:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Morphological-Operations-in-IPP-5/m-p/867604#M8471</guid>
      <dc:creator>hadipardis</dc:creator>
      <dc:date>2007-04-25T11:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: Morphological Operations in IPP 5</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Morphological-Operations-in-IPP-5/m-p/867605#M8472</link>
      <description>Fortunately, I could solve my problem. Thank you for your help!</description>
      <pubDate>Wed, 25 Apr 2007 13:03:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Morphological-Operations-in-IPP-5/m-p/867605#M8472</guid>
      <dc:creator>hadipardis</dc:creator>
      <dc:date>2007-04-25T13:03:21Z</dc:date>
    </item>
  </channel>
</rss>

