Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
Announcements
Important Update: Community Platform Migration​. Learn more​>

Complex images initialitzation

tesc
Beginner
1,612 Views

Hello All,

I'm using FFT to filter images in frequency domain by eliminating some frequency peaks. Aprox our proces is:

  1. Convert Image 8u -> 32fc
  2. MakeFFT
  3. Get Mag/Pha from complex FFT image
  4. Aply filtering inMag
  5. Restore complex image from Mag/Pha
  6. ApplyiFFT.
  7. Get filtered image as magnitude of 32fc iFFT result

Is there any function to convert a 8u image to a 32fc image?.We can not find any way to do this and we are doing pixel by pixel with and standard 'for' bucle.

Thanks for your help.

Francesc

0 Kudos
2 Replies
Vladimir_Dudnik
Employee
1,612 Views

Hello,

you can use ippiConvert_8u32f and then ippsRealToCplx onrow by row basis.

Regards,
Vladimir

0 Kudos
tesc
Beginner
1,612 Views

Hello Vladimir,

Thanks for your response and sorry for my late reply. We have been very busy with other project and I have notworkied with IPP for all this time.

I will try, but it seems a good solution, nevertheless a fastest solution.

Regards,

Francesc

0 Kudos
Reply