Text this: Otsu thresholding method based on projection of cross section for image segmentation