hi,can I know how to save .jpg file that contains pixels value to a .txt file. fyi, i'm not sure why my .txt file is empty after I save as .txt file and also use ascii syntax.thanks!
No products are associated with this question.
MyImage = imread('MyJPEG.jpg');
save( 'MyTextJPEG.txt', 'MyImage', -ascii );
2 Comments
Direct link to this comment:
http://mathworks.com/matlabcentral/answers/42890#comment_88114
sir, please answer this question I posted.thanks!
Direct link to this comment:
http://mathworks.com/matlabcentral/answers/42890#comment_88280
http://www.mathworks.com/matlabcentral/answers/29922-why-your-question-is-not-urgent-or-an-emergency