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

Convert Image from Real to Complex

Royi
Novice
247 Views

Hello,

In the Signal Processing part of IPP there is a function called `RealToCplx` which converts 1D Real Signal to 1D Complex Signal.

I wonder if there is an equivalent for images in Intel IPP.
If not there is an option to cast the image into 1D signal taking into account the padding.
The question is the casting in the other way will create a valid Complex Image (Namely do the Complex Format of 1D and 2D in IPP are compatible)?

Thank You.

0 Kudos
1 Reply
Chao_Y_Intel
Moderator
247 Views
Royi, 
 
what's is the data type?  For example, 32f input data, the following function can be used: 
ippsRealToCplx_32f
 
If there is no padding for each image line(image width * sizeof(date type) = image step), it can simply use this functions for the whole image data. 
If there is padding for each image line, this functions can be used for each image line.
 
thanks,
Chao
0 Kudos
Reply