How to convert the decimal value of the image to binary using matlab?

1 次查看(过去 30 天)
Whether it is possible to get binary value of an image and consider it as a string?

回答(1 个)

Image Analyst
Image Analyst 2017-1-7
Yes, use dec2bin()
binaryString = dec2bin(grayImage(row, column));

类别

Help CenterFile Exchange 中查找有关 Convert Image Type 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by