Converting from grayscale to binary image gives error
1 visualizzazione (ultimi 30 giorni)
Hi everybody I convert my image from grayscale to binary image, however, the result is completely black. I attached my code and images. Could you please help me with that?
binaryImage = im2bw(grayImage,0.4);
binaryImage = imfill(binaryImage, 'holes');