ExifTool Forum

ExifTool => Newbies => Topic started by: tez on September 05, 2020, 12:45:39 PM

Title: Extract depth data from iphone heic?
Post by: tez on September 05, 2020, 12:45:39 PM
Is there a way to extract the depth/disparity data from an iPhone-created .heic file? (Hopefully) relevant portions of the metadata below:

$ exiftool -a -G APC_0005.heic


[ExifTool]      ExifTool Version Number         : 12.05
[File]          File Name                       : APC_0005.heic

[QuickTime]     Num Temporal Layers             : 1
[QuickTime]     Temporal ID Nested              : No
[QuickTime]     Image Spatial Extent            : 768x576
[QuickTime]     Image Pixel Depth               : 8
[QuickTime]     Auxiliary Image Type            : urn:mpeg:hevc:2015:auxid:2
[QuickTime]     Media Data Size                 : 2852148
[QuickTime]     Media Data Offset               : 3730

[XMP]           XMP Toolkit                     : XMP Core 5.4.0
[XMP]           Auxiliary Image Type            : disparity
[XMP]           Native Format                   : 1751411059
[XMP]           Float Max Value                 : 2.621094
[XMP]           Stored Format                   : 1278226488
[XMP]           Int Max Value                   : 255
[XMP]           Int Min Value                   : 0

[EXIF]          Make                            : Apple
[EXIF]          Camera Model Name               : iPhone XS
[EXIF]          Lens Model                      : iPhone XS back dual camera 6mm f/2.4



Title: Re: Extract depth data from iphone heic?
Post by: Phil Harvey on September 05, 2020, 03:04:21 PM
Mail me a sample and I'll take a look (philharvey66 at gmail.com).

- Phil
Title: Re: Extract depth data from iphone heic?
Post by: Phil Harvey on September 05, 2020, 09:19:38 PM
I got the sample, thanks.  I've taken a quick look, and it isn't obvious how to get this image, but I'll look into it more closely when I get a chance.

- Phil