Open domef opened 1 year ago
alpha values are not supported by the visualization backend (filament), so we can't support them in Open3D. Please only provide an RGB image. This needs an error message....
Duplicate of this issue https://github.com/isl-org/Open3D/issues/1086
I think what's meant here is that the alpha channel is being written as the blue color component instead of being ignored, which would be more useful.
Eigen::Vector3d(pc[0], pc[(NC - 1) / 2], pc[NC - 1])
Using ((NC-1)/2)+(NC/3)
might be a better choice for blue.
Checklist
master
branch).Describe the issue
The point cloud has wrong colors when using source RGBA images depending on the alpha value. I don't know if the problem is linked to the point cloud creation or just to the visualization. This problem doesn't happen if the source image has just 3 channels.
This is the point cloud if using the RGB image: This is the point cloud if using RGBA image with
ALPHA_VALUE=0
: This is the point cloud if using RGBA image withALPHA_VALUE=100
: This is the point cloud if using RGBA image withALPHA_VALUE=255
:Steps to reproduce the bug
Error message
No response
Expected behavior
The point cloud should have the same color as the source image.
Open3D, Python and System information
Additional information
No response