필터 지우기
필터 지우기

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Convert Image Type에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by