endo segmentation v1.0 with binary threshold, diation, and simple inpainting