- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
What is the difference between the "morphological operations" e.g. ippiDilate_() and the filtering functions e.g. ippiFilterMax_(). These are defined to be identical.
Is there an implementation difference?
Is there a performance difference?
And if so why?
Thanks,
Adi
What is the difference between the "morphological operations" e.g. ippiDilate_() and the filtering functions e.g. ippiFilterMax_(). These are defined to be identical.
Is there an implementation difference?
Is there a performance difference?
And if so why?
Thanks,
Adi
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Adi,
Min/Max filters work as general filters with rectangular kernel. Morphological functions with rectangular kernel may have the same realization as Min/Max filters, but in addition they support arbitrary kernel/mask. So they have different API and functionality.
Regards,
Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I see, so basically for rectangular kernels the performance should be the same, or is the "simpler" implementation of min/max faster?
(Of course, I can check but I'm wondering implementation-wise.)
Adi
I see, so basically for rectangular kernels the performance should be the same, or is the "simpler" implementation of min/max faster?
(Of course, I can check but I'm wondering implementation-wise.)
Adi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Adi,
you can compare performance of different IPP functions on different architectures, just find IPP performance data in your IPP oolsperfsysdata folder.
For example, ippiFilterMax_8u_C1 function shows the folloving performance on 3050MHz Pentium 4 with HT tech with image 720x480:
ippiFilterMax_8u_C1R, image 720x480, kernel 3x3,4.3 cpe, 496 usec
ippiFilterMax_8u_C1R, image 720x480, kernel 5x5,6.4 cpe, 723 usec
ippiFilterMax_8u_C1R, image 720x480, kernel 5x5,6.4 cpe, 723 usec
whereas performance ofippiDilate_8u_C1 function in the same conditionslooks like:
ippiDilate_8u_C1R, image 720x480, kernel 3x3, 8.1 cpe, 922 usec
ippiDilate_8u_C1R, image 720x480, kernel 5x5, 20 cpe, 2.35e+003 usec
ippiDilate_8u_C1R, image 720x480, kernel 5x5, 20 cpe, 2.35e+003 usec
Here,
cpe is cpu clock per pixel
usec is microseconds per image
Regards,
Vladimir

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page