Ask Your Question
0

retina on 2.4.9 - no createRetina

asked 2014-06-26 01:26:38 -0500

Grecd gravatar image

Using OpenCV 2.4.9 on Windows 7.

cv::Mat inputFrame;
cv::VideoCapture videoCapture; // in case a video media is used, its manager is declared here
    videoCapture.open(0);
    cv::Ptr<cv::Retina> myRetina;
myRetina = new cv::Retina(inputFrame.size(), true, cv::RETINA_COLOR_BAYER, true, 2.0, 10.0);

new Retina does not work. Tryed to invoke createRetina but cv::Retina. doesnot contain it. Where it is?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-06-26 11:09:43 -0500

Did you check whether your inputFrame object is NULL? If yes, that may cause the error you got.

edit flag offensive delete link more

Comments

I checked in the debug mode inputFrame is not NULL, it fails when i do new Retina.. on "retval = HeapFree(_crtheap, 0, pBlock);"

Grecd gravatar imageGrecd ( 2014-06-27 11:53:04 -0500 )edit

Could you post more code, because your error is strange to me.

tuannhtn gravatar imagetuannhtn ( 2014-06-27 12:37:11 -0500 )edit

call stack ntdll.dll!771e15de()
ntdll.dll!771e15de()
ntdll.dll!771d014e()
KernelBase.dll!7687c41f()
KernelBase.dll!7687c41f()
> msvcr100d.dll!_free_base(void * pBlock) Line 50 + 0x13 bytes C msvcr100d.dll!_unlock(int locknum) Line 375 C msvcr100d.dll!_free_dbg(void * pUserData, int nBlockUse) Line 1270 + 0x7 bytes C++ msvcr100d.dll!_free_dbg(void * pUserData, int nBlockUse) Line 1267 + 0xc bytes C++ msvcr100d.dll!operator delete(void * pUserData) Line 57 + 0x7 bytes C++ msvcp100d.dll!_Mtxunlock(_RTL_CRITICAL_SECTION * _Mtx) Line 54 C 003ef07c()
KernelBase.dll!7687c41f()
KernelBase.dll!7687c41f()
msvcr100d.dll!_CxxThrowException(void * pExceptionObject, const brake in void __cdecl _free_base (void * pBlock)

Grecd gravatar imageGrecd ( 2014-06-28 00:58:27 -0500 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2014-06-26 01:26:38 -0500

Seen: 231 times

Last updated: Jun 26 '14