フィルターのクリア

How to convert the obtained pixel value of an image to a 8 bit binary value?

1 回表示 (過去 30 日間)
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.

採用された回答

Walter Roberson
Walter Roberson 2017 年 1 月 3 日
PixelsBinaryVector = reshape((dec2bin(PixelsArray, 8) - '0').', 1, [])

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeConvert Image Type についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by