Perimeter-to-area ration on binary images