how to convert demodulated binary bits into image
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
inverse of
x=reshape((dec2bin(typecast(a(:),'uint8'),8)-'0').',1,[]);
0 commentaires
Réponse acceptée
Azzi Abdelmalek
le 20 Fév 2014
s=num2cell(reshape(x,8,[])',2)
b=cellfun(@(x) bin2dec(strrep(num2str(x),' ','')),s);
out=reshape(b,n,m); % your original image is nxm
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Convert Image Type dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!