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

Mapping mat-lab function to IPP API

Lamp
Beginner
539 Views
Hi,

Is there any mapping between matlab function and IPP APIs, i'm going to covert a matlab method to c++ method, the matlab method contains some function like 'ordfilt2' and 'cell', so how can i find out the corresponding IPP API?

Thanks
0 Kudos
1 Solution
Ying_H_Intel
Employee
539 Views
Hello,

The function IPP offers mainly covers frequently-used fundamental algorithms, likeAdd, Muliply,Filter,FFT,convolutionetc. You can check all IPP API in IPP manual: ippiman.pdf, which is for image processing, ippsman.pdf, it is for singal processing.If you have installed IPP, then the documentations are in /doc/
or see on line doc: http://software.intel.com/en-us/articles/intel-integrated-performance-primitives-documentation/

For example, you can find many IPP filterfunctions (like Median Filters, general linear Filter, Laplace, Gauss Filter)under ippiman.pdf=>chapter 9: Filtering Functions. and choose one to match the ordfilt2.
There is not corresponding function about createcell array in IPP, but you may use c++ language to creat array directly.
Here is some IPP and C++sample for your reference.
http://software.intel.com/en-us/articles/intel-integrated-performance-primitives-intel-ipp-intel-ipp-source-code-examples/.

Regards,
Ying

View solution in original post

0 Kudos
3 Replies
Ying_H_Intel
Employee
540 Views
Hello,

The function IPP offers mainly covers frequently-used fundamental algorithms, likeAdd, Muliply,Filter,FFT,convolutionetc. You can check all IPP API in IPP manual: ippiman.pdf, which is for image processing, ippsman.pdf, it is for singal processing.If you have installed IPP, then the documentations are in /doc/
or see on line doc: http://software.intel.com/en-us/articles/intel-integrated-performance-primitives-documentation/

For example, you can find many IPP filterfunctions (like Median Filters, general linear Filter, Laplace, Gauss Filter)under ippiman.pdf=>chapter 9: Filtering Functions. and choose one to match the ordfilt2.
There is not corresponding function about createcell array in IPP, but you may use c++ language to creat array directly.
Here is some IPP and C++sample for your reference.
http://software.intel.com/en-us/articles/intel-integrated-performance-primitives-intel-ipp-intel-ipp-source-code-examples/.

Regards,
Ying
0 Kudos
Lamp
Beginner
539 Views

Thanks for your reply, I'm new for IPP

the description of ordfilt2 function in matlab is'ORDFILT2 Perform 2-D order-statistic filtering', but I go through the ippiman cannot found any filter matches the order-statistic, maybe we can use Median filter to get the same result?

Regards,
Xie

0 Kudos
Ying_H_Intel
Employee
539 Views
Hello Xie,

Yes, maybe you can use Media filter or FilterMin/Max to get same result in some cases.

Regards,
Ying
0 Kudos
Reply