Title: Post-processing depth images · Issue #5 · immersive-limit/Unity-ComputerVisionSim · GitHub
Open Graph Title: Post-processing depth images · Issue #5 · immersive-limit/Unity-ComputerVisionSim
X Title: Post-processing depth images · Issue #5 · immersive-limit/Unity-ComputerVisionSim
Description: Hi, thanks a lot for this nice tutorial! I have a (basic) question about the depth images. In the following, I refer to this part of the code. If I got it right, the process is as follows: The shader gets the depth value; The value is ma...
Open Graph Description: Hi, thanks a lot for this nice tutorial! I have a (basic) question about the depth images. In the following, I refer to this part of the code. If I got it right, the process is as follows: The shad...
X Description: Hi, thanks a lot for this nice tutorial! I have a (basic) question about the depth images. In the following, I refer to this part of the code. If I got it right, the process is as follows: The shad...
Opengraph URL: https://github.com/immersive-limit/Unity-ComputerVisionSim/issues/5
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Post-processing depth images","articleBody":"Hi,\r\n\r\nthanks a lot for this nice tutorial!\r\nI have a (basic) question about the depth images. In the following, I refer to [this part](https://github.com/immersive-limit/Unity-ComputerVisionSim/blob/263e87c9cb58141afa2692ef9bf4bfac48afeca3/Unity/Assets/ImageSynthesis/Shaders/UberReplacement.shader#L48-L53) of the code. If I got it right, the process is as follows:\r\n1. The shader gets the depth value;\r\n2. The value is mapped between 0 and 1 considering the near and far planes;\r\n3. The output value then gets \"compressed\";\r\n4. The final output is then the depth image, which is saved to a PNG file.\r\n\r\nI now need to do some offline post-processing (i.e. outside Unity). How can I get back the original depth value for every pixel from the stored image?\r\nThanks a lot for the help!","author":{"url":"https://github.com/lucaBartolomei","@type":"Person","name":"lucaBartolomei"},"datePublished":"2020-10-23T07:33:47.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/5/Unity-ComputerVisionSim/issues/5"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:280d5577-ac24-8863-5468-6be4d5959c4b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D56A:3F6E8D:63AA021:88F7EBC:6A5E6D1D |
| html-safe-nonce | c6f7c5cd36eb84320b96dd791b2f3a9710c2c07b5efe38cdf49242098c9ee972 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTZBOjNGNkU4RDo2M0FBMDIxOjg4RjdFQkM6NkE1RTZEMUQiLCJ2aXNpdG9yX2lkIjoiMzA2MzMyODE2MDg1NzYxNTY0NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d9cea83e9e12e05750a8acb8a82d4ce17bb1d6fa74f562eafcc5c8289d49759a |
| hovercard-subject-tag | issue:727987577 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/immersive-limit/Unity-ComputerVisionSim/5/issue_layout |
| twitter:image | https://opengraph.githubassets.com/051a00466ef0dbd8ea72ba1d04aa8237fc0f21e5fa869639a008847742110639/immersive-limit/Unity-ComputerVisionSim/issues/5 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/051a00466ef0dbd8ea72ba1d04aa8237fc0f21e5fa869639a008847742110639/immersive-limit/Unity-ComputerVisionSim/issues/5 |
| og:image:alt | Hi, thanks a lot for this nice tutorial! I have a (basic) question about the depth images. In the following, I refer to this part of the code. If I got it right, the process is as follows: The shad... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lucaBartolomei |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0e33eedeef87e76d6b013d348ad423a9e503a88efa7080eec1ed2ddba90606bd |
| turbo-cache-control | no-preview |
| go-import | github.com/immersive-limit/Unity-ComputerVisionSim git https://github.com/immersive-limit/Unity-ComputerVisionSim.git |
| octolytics-dimension-user_id | 52203678 |
| octolytics-dimension-user_login | immersive-limit |
| octolytics-dimension-repository_id | 194946779 |
| octolytics-dimension-repository_nwo | immersive-limit/Unity-ComputerVisionSim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 194946779 |
| octolytics-dimension-repository_network_root_nwo | immersive-limit/Unity-ComputerVisionSim |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 15c56e0437fea28b3adfecf1764d0b42db481e03 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width