Info

此问题已关闭。 请重新打开它进行编辑或回答。

display clear JPEG image from hex characters in matlab R2018a

1 次查看(过去 30 天)
</matlabcentral/answers/uploaded_files/123324/display_image.JPG> The above link is the screenshot of how the image is displaying on screen Since i'm new to matlab,this is my code
fid=fopen('hexdata.txt','r'); img=fscanf(fid,'%2x',[256 120]); fclose(fid); resizedImage=imresize(img,[256 256]); resizedImage=resizedImage'; figure,imshow(resizedImage,[]); help me out please.... to display the image

回答(0 个)

此问题已关闭。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by