I have a vector of a 2-dimensional points in OpenCV
std::vector points;
I would like to calculate the mean values for x and
Add them all up and divide by the total number of points.