MATLAB Answers

How to export an image from matlab after processing it and save it in any location

52 views (last 30 days)
haider alnaqeeb
haider alnaqeeb on 9 Mar 2016
Commented: haider alnaqeeb on 9 Mar 2016
Dear Gen.
Kindly, i need your kind support to explain to me how to export an image from matlab after processing it and save it in any location i determine it in my laptop. Kind Regards

  0 Comments

Sign in to comment.

Answers (1)

Chad Greene
Chad Greene on 9 Mar 2016
You can use imwrite.

  2 Comments

Image Analyst
Image Analyst on 9 Mar 2016
with fullfile().
And if you want a non-integer image that you're not going to open in any other program, you can store it in a .mat file with save() and recall it with load().
haider alnaqeeb
haider alnaqeeb on 9 Mar 2016
i need to export image from matlab to desktop of my computer not to import image. for example:
img =im2double(imread('finger.png'));
img = imresize(img,0.5);
how can i export img to desktop or any location as jpg,png ? kind regards

Sign in to comment.

Sign in to answer this question.