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.

VLIB2.2 Memory usage

Hi,

Im using the connected components labeling api implemented in the vision library. The Api VLIB_calcConnectedComponentsMaxBufferSize offers the number of bytes required. For a 352x225 image this api is returning the value 2419180(about 2 mb).  First of all, this value seems to be very large.The other problem is that even this value is not enough. When 2419180 bytes is allocated statically, the creation of a connected components list fails. When allocating 2xmaxbytes, the creation of a connected components list works. Is there a bug in the library???

Thank you.

Omar