How to read EXIF information of image data?
68 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2019-11-11
回答: MathWorks Support Team
2019-11-11
How to read EXIF information of image data?
采纳的回答
MathWorks Support Team
2019-11-12
In order to read EXIF information in MATLAB from image files, please use the 'imfinfo' command which is documented here:
This returns a structure whose fields contain information about an image in a graphics file.
In the struct which will be returned, you can find the EXIF information in the 'DigitalCamera' field.
So you can access the EXIF information as follows:
%Read image information
info = imfinfo(filename);
%Output EXIF information
infoEXIF.DigitalCamera
This information is also described here:
If you have any further questions, please contact our technical support team.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 File Operations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!