* Calculates the bending energy of a region
*
* @return The bending energy of the non-zero region in pixels
*/
public static double bendingEnergy(short[] pixels, int width, int height) {
return (new BendingEnergyDescriptor()).measure(pixels, width, height);
}