MATLAB: How to read EXIF information of image data

dataexiffileimageImage Processing ToolboximfinfoMATLABread

How to read EXIF information of image data?

Best Answer

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.