This section describes conversion between OpenCV and Intel® IPP Asynchronous C/C++ library. Getting Started Guide help you to install the library, configure header and library build paths.
Create hppiMatrix from Mat.
Parameters: |
|
---|
This function allocates and initializes the hppiMatrix that has the same size and type as input matrix, returns the hppiMatrix*.
If you want to use zero-copy for GPU you should to have 4KB aligned matrix data. See details hppiCreateSharedMatrix.
Supports CV_8U, CV_16U, CV_16S, CV_32S, CV_32F, CV_64F.
Note
The hppiMatrix pointer to the image buffer in system memory refers to the src.data. Control the lifetime of the matrix and don’t change its data, if there is no special need.
Create Mat from hppiMatrix.
Parameters: |
|
---|
This function allocates and initializes the Mat that has the same size and type as input matrix. Supports CV_8U, CV_16U, CV_16S, CV_32S, CV_32F, CV_64F.
Convert hppiMatrix to Mat.
Parameters: |
|
---|
This function allocates and initializes new matrix (if needed) that has the same size and type as input matrix. Supports CV_8U, CV_16U, CV_16S, CV_32S, CV_32F, CV_64F.