I am trying to find the functional details for the calculation of "data energy" in the ImageMeasurements function in Mathematica. Does anyone know how this is calculated?