Info
此问题已关闭。 请重新打开它进行编辑或回答。
I converted black and white image to bits and bits back into image. But the image totally different than original.I'm not getting any error. Please help me.
1 次查看(过去 30 天)
显示 更早的评论
Image='C:\Users\Rasanjalee\Desktop\Network Coding Simulator\3rdattempt\1'
B=dec2bin(Image);
C= reshape(B',1,numel(B));
D=reshape(C,size(B,2),size(B,1));
Imageout=reshape(bin2dec(D'),size(Image));
baseFileName = 'new flower1.jpg';
fullFileName = fullfile('C:\Users\Rasanjalee\Desktop\Network Coding Simulator\3rdattempt\', baseFileName);
%imwrite(rgbImage, fullFileName);
imwrite(Imageout, fullFileName);
0 个评论
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!