How to convert the obtained pixel value of an image to a 8 bit binary value?
1 回表示 (過去 30 日間)
古いコメントを表示
dhaarani chandrasekaran
2017 年 1 月 3 日
コメント済み: dhaarani chandrasekaran
2017 年 1 月 3 日
I have found the pixels of an image.But i don't know how to convert it to binary(8 bit).Can u please help me.
0 件のコメント
採用された回答
Walter Roberson
2017 年 1 月 3 日
PixelsBinaryVector = reshape((dec2bin(PixelsArray, 8) - '0').', 1, [])
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Convert Image Type についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!