Effacer les filtres
Effacer les filtres

Hi! I've converted a grayscale img to binary using im2bw() now i wanna do the opposite i.e convert the binary image to a grayscale image. How can I do that?

1 vue (au cours des 30 derniers jours)
A=imread('Color-Meaning-Gray-Feature-Image-1024x831.jpg');
A=im2bw(A);
figure,imshow(A);
% binary-t0-grayscale?

Réponse acceptée

KLR
KLR le 12 Juil 2020
Modifié(e) : KLR le 12 Juil 2020
In order to convert back to the original grey scale you could multiply the binarizedImage with the original Image.
Walter Roberson and Image analyst do a better job in explaining the same in this link

Plus de réponses (0)

Catégories

En savoir plus sur Convert Image Type dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by