How can i save a output image into a folder ?

3 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
Min Min
Min Min on 29 Aug 2020
Dear sir: I want to transfer image from host pc to another pc's folder. What type of function should I use?
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.

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!