Azzera filtri
Azzera filtri

saving the output image

2 visualizzazioni (ultimi 30 giorni)
Sneha P S
Sneha P S il 9 Feb 2018
Commentato: Image Analyst il 20 Lug 2020
Ineed to save my output image using a filename in one folder? How is it possible?

Risposta accettata

Jan
Jan il 8 Mar 2018
Modificato: Jan il 8 Mar 2018
Folder = 'C:\Your\Folder';
File = 'Image.png';
Img = rand(640, 480, 3);
imwrite(Img, fullfile(Folder, File));
  3 Commenti
Kashyap Koshti
Kashyap Koshti il 20 Lug 2020
can it rewrite on same image?
Image Analyst
Image Analyst il 20 Lug 2020
Yes, you can overwrite an existing image.

Accedi per commentare.

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by