Filter löschen
Filter löschen

How to save 4 images in 4 sub folders in the directory

1 Ansicht (letzte 30 Tage)
devabhaktuni phaneendrababu
devabhaktuni phaneendrababu am 11 Okt. 2013
Beantwortet: Image Analyst am 11 Okt. 2013
I want to save 4 different images 4 different sub folders in directory using fullfile command . how to give command in matlab

Antworten (2)

Image Analyst
Image Analyst am 11 Okt. 2013
baseFileName1 = 'image1.png'
folder1 = 'd:\images1';
fullFileName = fullfile(folder1, baseFileName1);
imwrite(yourImageArray, fullFileName);
% Repeat for files and folders 2, 3, and 4.

Azzi Abdelmalek
Azzi Abdelmalek am 11 Okt. 2013
file1=fullfile(sub_folder1,filename1)
imwrite(im1,file1)
% Do the same for the other files

Kategorien

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

Community Treasure Hunt

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

Start Hunting!

Translated by