Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

IPPI Morphological operations vs. Min/Max Filtering

adi_shavit
初學者
899 檢視
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
0 積分
3 回應
Vladimir_Dudnik
899 檢視
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

adi_shavit
初學者
899 檢視
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
Vladimir_Dudnik
899 檢視
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
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
Here,
cpe is cpu clock per pixel
usec is microseconds per image
Regards,
Vladimir
回覆