DMIP FFT Nodes

DMIP FFT Nodes

Kishor Desai的头像

Hi,

I tried using SrcFFTNode and DstFFTNode. I initialized both nodes using 1-channel images(ippC1) with ipp8u data. But graph is not compiling following trace messages are logged in log file :

Trace to file FFTLog.txt started
Wrong data type for 0 output of Sourse inverse FFT node 0234C870, input type ipp8u, input channels ippC1, operation -1 1
Failed to initialize type check in Graph 024849C0
Error of data type check in Graph 024849C0
Execution aborted - wrong status Compiling of Graph 024849C0

Code Snippet :

Image dmpImgInput(pui8Input,ipp8u,ippC1,roi,srcImg->widthStep);
Image dmpImgOutput(pui8Output,ipp8u,ippC1,roi,srcImg->widthStep);

Image *pdmpImgInput = &dmpImgInput;
Image *pdmpImgOutput = &dmpImgOutput;

SrcFFTNode *ndSrcFFT = new SrcFFTNode();
ndSrcFFT->Init(pdmpImgInput,1,1);

DstFFTNode *ndDstFFT = new DstFFTNode();
ndDstFFT->Init(pdmpImgOutput,1,1);

Graph *grphFFT = new Graph();
grphFFT->Add(ndSrcFFT);
grphFFT->Add(ndDstFFT);

grphFFT->Link(0,0,1,0);

grphFFT->Compile();
grphFFT->Execute();

Is this correct way to do this? Please help.

Thanks,
Regards,
Kishor.

1 条帖子 / 0 全新
如需更全面地了解编译器优化,请参阅优化注意事项