missing functionality when using imfinfo instead of exifread
이전 댓글 표시
I use the function exifread in a script and get the warning:
EXIFREAD will be removed in a future release. Please use IMFINFO instead.
However, the information I want from the exif tag is the Orientation of the camera, which appears as a field with exifread but doesn't seem to be gathered by imfinfo. In fact, imfinfo has significantly fewer (and different) fields (see below). Could anyone shed some light on this? Why is some functionality being removed with the soon to be deprecated exifread? Is there a function to get an exhaustive exif read out?
Thanks for your help!
imfinfo =
Filename: '~'
FileModDate: '07-Aug-2014 09:55:22'
FileSize: 911121
Format: 'jpg'
FormatVersion: ''
Width: 4272
Height: 2848
BitDepth: 24
ColorType: 'truecolor'
FormatSignature: ''
NumberOfSamples: 3
CodingMethod: 'Huffman'
CodingProcess: 'Sequential'
Comment: {}
vs.
exiftag =
SceneCaptureType: 0
WhiteBalance: 0
ExposureMode: 1
CustomRendered: 0
FocalPlaneResolutionUnit: 2
FocalPlaneYResolution: 4.7866e+03
FocalPlaneXResolution: 4.7204e+03
PixelYDimension: 4272
PixelXDimension: 2848
ColorSpace: 1
FlashpixVersion: '0100'
SubSecTimeDigitized: '05'
SubSecTimeOriginal: '05'
SubSecTime: '05'
UserComment: [1x255 char]
FocalLength: 50
Flash: 16
MeteringMode: 5
ExposureBiasValue: 0
ApertureValue: 5.6250
ShutterSpeedValue: 5.6250
ComponentsConfiguration: [1 2 3 0]
DateTimeDigitized: '2014:05:14 15:55:54'
DateTimeOriginal: '2014:05:14 15:55:54'
ExifVersion: '0230'
ISOSpeedRatings: 100
ExposureProgram: 1
FNumber: 7.1000
ExposureTime: 0.0200
Copyright: ''
YCbCrPositioning: 2
Artist: ''
DateTime: '2014:06:04 17:20:19'
Software: 'Microsoft Windows Photo Viewer 6.2.9200.16384'
ResolutionUnit: 2
YResolution: 72
XResolution: 72
Orientation: 1
Model: 'Canon EOS 1100D'
Make: 'Canon'
Thumbnail: [1x1 struct]
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Sparse Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!