Double threshold ostu image segmentation