Circularity measures based on mathematical morphology