how to convert demodulated binary bits into image
1 次查看(过去 30 天)
显示 更早的评论
inverse of
x=reshape((dec2bin(typecast(a(:),'uint8'),8)-'0').',1,[]);
0 个评论
采纳的回答
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
更多回答(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!