Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ToF (time of flight) sensor data extraction #47

Open
msch72 opened this issue Dec 19, 2019 · 1 comment
Open

ToF (time of flight) sensor data extraction #47

msch72 opened this issue Dec 19, 2019 · 1 comment

Comments

@msch72
Copy link

msch72 commented Dec 19, 2019

Hi, JPEGsnoop is a great tool and project. The reason for this new "issue" is rather an idea for a potential new feature.

I am planning on getting one of those new phones that have a ToF sensor. This might be used for background-blur (bokeh) effects; some phones even allow to ally this after the photo has been taken. I believe that this requires the depth information to be stored along with the image. This might be interesting to extract, for example to use for 3D modeling purpose... and I would just find it interesting.

Unfortunately, I don't have such a phone, yet (my old one still works), so that I don't have any example pictures. A device that has the post processing-bokeh is for example the Huawei P30 pro.

Best regards,
Martin.

@ImpulseAdventure
Copy link
Owner

Hi Martin -- thanks for the feature suggestion!

Recent phones (eg. iPhones with iOS 11) can save images in the HEIC format which can include the depth map channel. It would definitely be interesting to incorporate decoding functionality for this format. I have not yet looked at the specification to see how similar the decoding may be (I understand that it still relies on DCT but variable-sized blocks).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants