saving the output image

3 Ansichten (letzte 30 Tage)
Sneha P S
Sneha P S am 9 Feb. 2018
Kommentiert: Image Analyst am 20 Jul. 2020
Ineed to save my output image using a filename in one folder? How is it possible?

Akzeptierte Antwort

Jan
Jan am 8 Mär. 2018
Bearbeitet: Jan am 8 Mär. 2018
Folder = 'C:\Your\Folder';
File = 'Image.png';
Img = rand(640, 480, 3);
imwrite(Img, fullfile(Folder, File));
  3 Kommentare
Kashyap Koshti
Kashyap Koshti am 20 Jul. 2020
can it rewrite on same image?
Image Analyst
Image Analyst am 20 Jul. 2020
Yes, you can overwrite an existing image.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by