- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm having trouble with ippiForegroundHistogram_8u_C1R
The last line returns a "Null Pointer error"
I'm also getting a linker notice: warning LNK4248: unresolved typeref token (01000027) for 'ipcvFGHistogramState_8u_C1R'; image may not run.
THANKS
____________________________________
IppFGHistogramModel pModel;
IppFGHistogramState_8u_C1R* pState;
IppFGHistogramState_8u_C1R* ppState;
status = ippiForegroundHistogramInitAlloc_8u_C1R(imgIPP, width, ROI, &pModel, &ppState);
msg = ippGetStatusString( status );
status = ippiForegroundHistogram_8u_C1R(imgIPP, width, binIPP, width, ROI, pState);
msg = ippGetStatusString( status );
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You initialixe ppState by the first call and use the non-initialized pointer pState in the second call
Thanks,
Alexander
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