Info

This question is closed. Reopen it to edit or answer.

display clear JPEG image from hex characters in matlab R2018a

1 view (last 30 days)
</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

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!