title: How does one find center of mass of 2d array of sensors with sensor value as 3rd dimension
body: <p>I have an input device that gives me the pressures of a 2d array of sensors.</p>
  
  <p>If I treat these pressures as the Z dimension, and the column and row of the sensor as the X and Y, what is the opencv way to find the center of mass, assuming a uniform density?</p>