Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
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 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (0)
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!