Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Lamp
Beginner
69 Views

Mapping mat-lab function to IPP API

Jump to solution
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

Accepted Solutions
Ying_H_Intel
Employee
69 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....

Regards,
Ying

View solution in original post

3 Replies
Ying_H_Intel
Employee
70 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....

Regards,
Ying

View solution in original post

Lamp
Beginner
69 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

Ying_H_Intel
Employee
69 Views
Hello Xie,

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

Regards,
Ying