Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Maybe you forgot to allocate memory for muCircle vector?

muCircle.resize(contours.size());

for (unsigned int i =0; i<contours.size(); i++){
    muCircle[i] = moments (contours[i],false);