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

ippiForegroundHistogram_8u_C1R

douglaswinfield
Beginner
1,003 Views
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 );
0 Kudos
1 Reply
Intel_C_Intel
Employee
1,007 Views

Hi,

You initialixe ppState by the first call and use the non-initialized pointer pState in the second call

Thanks,

Alexander

0 Kudos
Reply