Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Intel Community
- Software
- Software Development SDKs and Libraries
- Intel® Integrated Performance Primitives
- ippiFilterGaussianBorder

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

Adriaan_van_Os

New Contributor I

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

12-03-2018
01:13 AM

49 Views

ippiFilterGaussianBorder

The ippiFilterGaussianBorder puzzles me, notably the sigma parameter. Compared to doing the Gaussian Blur with a matrix, ippiFilterGaussianBorder gives me what looks like unprecise results. This is with a typical kernel size 15 or 31. Of course, a Gaussian Blur is separable, so we can replace the matrix with two one-dimensional matrices.

Can you give an example of a matrix or two separable matrices where ippiFilterGaussianBorder is (or should be) equivalent to ippiFilterBorder ?

Regards,

Adriaan van Os

Link Copied

4 Replies

Adriaan_van_Os

New Contributor I

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

01-28-2019
12:58 AM

49 Views

Asking above question again. Either my understanding of ippiFilterGaussianBorder is wrong, or it has some bugs.

Can you give an example of a matrix or two separable matrices where ippiFilterGaussianBorder is (or should be) equivalent to ippiFilterBorder ?

Regards,

Adriaan van Os

Igor_A_Intel

Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

01-28-2019
06:08 AM

49 Views

Hi Adriaan van Os,

for kernelSize = 15 and sigma = .5.5 coefficients are the next:

k0 = 0.038978182

k1 = 0.048321572

k2 = 0.057956705

k3 = 0.067252662

k4 = 0.075501995

k5 = 0.082006926

k6 = 0.086175894

k7 = 0.087612126

k8 = 0.086175894

k9 = 0.082006926

k10 = 0.075501995

k11 = 0.067252662

k12 = 0.057956705

k13 = 0.048321572

k14 = 0.038978182

the filter itself is separable - therefore row/column coefficients are the same. The only 1 fact that is not reflected in the documentation - that these coefficients are normalized on their initial sum (coeff are obtained according to the formula in the manual and then divided by their sum).

regards, Igor

Adriaan_van_Os

New Contributor I

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

01-30-2019
04:05 AM

49 Views

Thanks.

What sigma is ".5.5" ?

Regards,

Adriaan van Os

Igor_A_Intel

Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

01-30-2019
05:43 AM

49 Views

Hi,

this one (in bold):

IPPAPI(IppStatus, ippiFilterGaussianInit,(IppiSize roiSize, Ipp32u kernelSize, **Ipp32f sigma**,

IppiBorderType borderType, IppDataType dataType, int numChannels,

IppFilterGaussianSpec* pSpec, Ipp8u* pBuffer))

regards, Igor

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

For more complete information about compiler optimizations, see our Optimization Notice.