* The curvature of a region indicated by 1's in the pixel-mask
*
* @return The curvature of a region indicated by 1's in the pixel-mask
*/
public static double curvature(short[] pixels, int width, int height) {
return (new AvgCurvature()).measure(pixels, width, height);
}