TransWikia.com

How to extract depth map from .heif image created with iphone X using imagemagick

Photography Asked on April 3, 2021

i created an image with my own iPhone app. The image is in .heif format and it contains the depth map. (i know this because the Photos app recognizes it)
I now downloaded and installed imagemagick.
and ran the following command:

magick identify -verbose orginal.HEIC

This shows me only three channels (Channel 0, Channel 1, Channel 2). I guess these are the rgb colors of the image.

How can I access the depth data of this image?

2 Answers

I don’t know about using ImageMagick itself, but ImageMagick relies on libheif, and if that’s installed, e.g., with brew install libheif, then the heif-convert example program will do this.

# heif-convert IMG_0123.HEIC blah.jpg
File contains 1 images
Written to blah.jpg
Depth image written to blah-depth.jpg

Correct answer by andrewdotn on April 3, 2021

Good luck ! Without developer accees snd signing a non disclosure you wont get aceess to the IP

Answered by RoseEatsRice on April 3, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP