imwrite() function for save images
Ältere Kommentare anzeigen
how will use imwrite() function to save 10 images in different different folder at same or diffident directory
Antworten (1)
Azzi Abdelmalek
am 8 Dez. 2012
Bearbeitet: Azzi Abdelmalek
am 8 Dez. 2012
Im1=rand(100,100,3) % example of image
imwrite(Im1,'yourfolder/Image1.jpg')
4 Kommentare
live to l e a r n MATLAB
am 8 Dez. 2012
Azzi Abdelmalek
am 8 Dez. 2012
Post your code
Walter Roberson
am 8 Dez. 2012
Azzi, your sample code uses 5 as the number of color panes. You need to use 3 for RGB images.
Azzi Abdelmalek
am 8 Dez. 2012
Bearbeitet: Azzi Abdelmalek
am 8 Dez. 2012
Yes walter, it's a typing error
Im1=rand(100,100,3) % example of image
imwrite(Im1,'yourfolder/Image1.jpg')
Kategorien
Mehr zu Images finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!