How can i save a output image into a folder ?

10 views (last 30 days)
sam  CP
sam CP on 16 Apr 2017
Commented: Image Analyst on 30 Aug 2020
imwrite(yourImageArray, filename);
How can i save the output displayed image by using above code?

Answers (1)

Image Analyst
Image Analyst on 16 Apr 2017
That code is correct. Just supply a valid image variable, and a valid filename, and it will work. If it doesn't, read this thoroughly and edit your question so that it's answerable.
  6 Comments
Image Analyst
Image Analyst on 30 Aug 2020
You can use copyfile(). I use it all the time to copy files back and forth to a shared folder on a server.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by