- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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.
Link Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page