Turn on suggestions

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
- Vector Multiply and Matrix

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

Derek_Woodman

Beginner

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

02-02-2010
03:47 PM

77 Views

Vector Multiply and Matrix

I am looking for an IPP function that can help me accomplished the following task:

I have a small array, call it a window. I also have an image represented as an array like all ippi functions use. I want to move the window through the array and for each pixel mutliply the window by the pixel and the few surrounding it. I then want that pixel value to take the sum of all the multiplication that was just done. Then move on to the next pixel in the image.

I found all the filter function in ippi. There is a max window function that moves a window through the image and sets each pixel to highest pixel value in the window. I want to pretty much do the same thing, but mutliply all these values everytime by the window and then sum the window.

I can accomplish this with the matrix multiply and moving my own window through the image, but I'm just checking to see if there is a function for this since it will probably be more optimized.

Thanks!

Link Copied

2 Replies

Andrey_B_Intel

Employee

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

02-04-2010
06:12 AM

77 Views

Hi, Derek.

Could you provide reference code of your algorithm to understand if it is possible to use ippiFilter_32f_C1R function?

Derek_Woodman

Beginner

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

02-08-2010
11:53 AM

77 Views

Andrey,

That function worked perfectly. Thank you!

Derek

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

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