saving the output image

Ineed to save my output image using a filename in one folder? How is it possible?

 采纳的回答

Jan
Jan 2018-3-8
编辑:Jan 2018-3-8
Folder = 'C:\Your\Folder';
File = 'Image.png';
Img = rand(640, 480, 3);
imwrite(Img, fullfile(Folder, File));

3 个评论

Thank you it helped me.
can it rewrite on same image?
Yes, you can overwrite an existing image.

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Images 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by