I have a segmentation dataset with PIL image mode '1'. What does it mean and how can I proceed? I have gone through documentation https://pillow.readthedocs.io/en/stable/handbook/concepts.html, and the explanation given is, 1 - (1-bit pixels, black and white, stored with one pixel per byte).
Is it a grayscale image? or a binary image? Any reference to know about it more? And if we try to convert this into RGB image, will it be correct?