This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

求教Vlib的库函数VLIB_createConnectedComponentsList()经常卡死问题!



 Create32BitPackedBinImage(Temp_Image,     final,     imageHeight,     imageInputData,      threshold);

 // 初始化  ccHandleSize  = VLIB_GetSizeOfCCHandle();  handle   = (VLIB_CCHandle*)MEM_alloc(ddr2Heap,ccHandleSize,8);  VLIB_initConnectedComponentsList(handle,      primaryBuff1,      48*1024,      primaryBuff2,      48*1024,      overFlowBuff1,      48*1024,      overFlowBuff2,      48*1024);

 status=VLIB_createConnectedComponentsList(handle,      (Uint16)final,      (Uint16)imageHeight,      (int*)imageInputData,      400,      1);// 8联通1  4联通0  

if(status!= 0)   printf("Faile!\n");

程序经常卡在红色位置,有时能够顺利执行整个连通域此操作,但有时会在红色库函数处卡死,求教大神解答 感激不尽!

  • 你好,

    请问你是在哪个芯片上使用哪个版本的Vlib?使用的硬件是你们自己做的么?

    请问Vlib包里面自带的例子里面有调用VLIB_createConnectedComponentsList函数的例子,是否能正常运行?