- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am new to the Intel IPP. I have looked through the documentation and played with the ippIP Demo program. I am looking for functions that would output a 1-dimensional array of the sum across rows or along columns of an image or sub-image defined by an ROI. Do such functions exist in the IPP?
Thanks,
Dave
Link Copied
6 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dave, please look at the Image Statistics Functins ( see Image Processing manual) which implements the list of functions that can be used to compute many statisctical parameters of an image.
--Gennady
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Gennady, I have looked at the Image Statistics Functions and did not see any that performed the operations I am looking for. The Sum operation produces a single sum of all the pixels in a specified region. The Integral function also does not sum across rows or down columns. If the IPP does not contain these I can write them myself, but if it did I wanted to use them.
To clarify, using the data below:
pSrc -> 1 2
34
5 6
7 8
SumRows would return a 4-element array containing: 3, 7, 11, 15
SumColumns would return a 2-element array containing: 16, 20
--Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
The IPPfunctionsippsSumRows_x() adn ippsSumColumns_() in ipps manual ippsman.pdfseemsbe able to perform the operations.
Regards,
Ying
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello everybody,
I'm also with the need of using a sum of rows/columns for my application (actually I need the mean of all rows/columns in an image, but if I get the sum I can divide this by the size of the columns/rows) but can't find the ippsSumColumns_() or ippsSumRows_()... It seems they have been removed from the new ipps libraries, is this so? In ippi exists something similar:ippiSumWindowRow_8u32f_C1R, my problem is that my source matrix is a Ipp32f* and this function needs a Ipp8u*, do you guys know how to solve this?
Boris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Boris,
ippsSumColumns_()/ippsSumRows were speech recognition functions, which are not included in the IPP 7.0.
To sum a row, you can use ippsSum_32f as a replacement.
Thanks,
Chao
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi I need this function to row sum or column sum as well. This seems like a very common need. The result must return the 1D array of values, not a single value, so ippsSum_32f is not correct. Is there an easy way to get this from IPP?

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