I am working on the defect segmentation. But I am facing a problem. I have created a mask image manually using grab cut tool in matlab. And after that I took that \'mask image\'