How to translate the Region of interest to the Center of gravity of the image?
I'm using Opencv 3.0 c++.I have been able to find the COG of an irregular object but now I need to translate the ROI to the COG of the image,that is to make it in the center.
Any suggestions how to do it?