Extract depth data from iphone heic?

Started by tez, September 05, 2020, 12:45:39 PM

Previous topic - Next topic

tez

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




Phil Harvey

Mail me a sample and I'll take a look (philharvey66 at gmail.com).

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Phil Harvey

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
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).