information of a folder of images
1 view (last 30 days)
Show older comments
How we can get information of a folder of images using imfinfo() and I also want to get bit depth of all images. And this bit depth values want to store in a xlsheet. Please someone help me. Its very urgent.
5 Comments
KALYAN ACHARJYA
on 17 Oct 2019
Edited: KALYAN ACHARJYA
on 17 Oct 2019
Then call the images one by one (for loop) from the folder and do operation as per requirement.
Answers (1)
Sid Singh
on 22 Oct 2019
Hi, from the documentation
this function takes in a filename and gives you the information about that image. If you pass a folder name, it would give an error which is the standard behavior.
You can use the following command to list directory contents and extract individual file information in a for loop.
Regarding writing the data to excel, you can refer this documentation
0 Comments
See Also
Categories
Find more on Environment and Settings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!