フィルターのクリア

how to convert demodulated binary bits into image

1 回表示 (過去 30 日間)
ashok
ashok 2014 年 2 月 20 日
コメント済み: ashok 2014 年 2 月 25 日
inverse of
x=reshape((dec2bin(typecast(a(:),'uint8'),8)-'0').',1,[]);

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2014 年 2 月 20 日
s=num2cell(reshape(x,8,[])',2)
b=cellfun(@(x) bin2dec(strrep(num2str(x),' ','')),s);
out=reshape(b,n,m); % your original image is nxm
  1 件のコメント
ashok
ashok 2014 年 2 月 25 日
thank you so much...

サインインしてコメントする。

その他の回答 (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