The code is used to evaluate the shapeness of images.