how will use imwrite() function to save 10 images in different different folder at same or diffident directory
No products are associated with this question.
Im1=rand(100,100,3) % example of image imwrite(Im1,'yourfolder/Image1.jpg')
Azzi, your sample code uses 5 as the number of color panes. You need to use 3 for RGB images.
Yes walter, it's a typing error
Im1=rand(100,100,3) % example of image imwrite(Im1,'yourfolder/Image1.jpg')
1 Comment
Direct link to this comment:
http://mathworks.com/matlabcentral/answers/56056#comment_116037
same directory different folder; now am just need to save an image into some folder in same directory which i was created already