How to convert the decimal value of the image to binary using matlab?
1 view (last 30 days)
Show older comments
Whether it is possible to get binary value of an image and consider it as a string?
0 Comments
Answers (1)
Image Analyst
on 7 Jan 2017
Yes, use dec2bin()
binaryString = dec2bin(grayImage(row, column));
0 Comments
See Also
Categories
Find more on Convert Image Type in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!