-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
I try to use ImageType.Depthplanar output depth image, but it outputs a gray scale image. Not depth image. #3716
Comments
I had this same issue too, with AirSim 1.5.0 on Unreal 4.25.4. This issue was there since the name of depth type has changed to depthplanar( >= 1.4.0) and not resolved yet. |
Hi @skykim0609, do you happen to know the commit ID before which this issue did not exist? I just tested with the version of the code before the DepthPlanar change was made, and I still see this issue, although I was getting an RGB image, not a single channel image. |
According to my memory, until AirSim 1.3.0 I didn't have this issue... |
Hi, I am on AirSim 1.5.0 too and have the same issue of AirSim DepthPlanar acquisitions having pixel values which unfortunately seem not to follow what specified in the official documentation:
The retrieved image seems to be instead a grayscale image with a single float channel. For clarity, in the following section I report both the code I use to retrieve the image and the AirSim configurations I use. API code:
AirSim settings:
Any advance on the topic? Although DepthPerspective works fine, for my task I actually need the planar depth. Any possible workaround? Thanks in advance and have a good day. |
Bug report
What's the issue you encountered?
I try to use ImageType.Depthplanar output depth image, but it outputs a gray scale image. Not depth image.
Settings
How can the issue be reproduced?
Include full error message in text form
What's better than filing an issue? Filing a pull request :).
The text was updated successfully, but these errors were encountered: