First time here? Check out the FAQ!
answered 2013-06-07 08:51:09 -0600
Maybe you forgot to allocate memory for muCircle vector?
muCircle
muCircle.resize(contours.size()); for (unsigned int i =0; i<contours.size(); i++){ muCircle[i] = moments (contours[i],false);