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

Incorrect colour in highly saturated areas [solved] #41

Closed
JSewell-8 opened this issue Feb 23, 2016 · 1 comment
Closed

Incorrect colour in highly saturated areas [solved] #41

JSewell-8 opened this issue Feb 23, 2016 · 1 comment

Comments

@JSewell-8
Copy link

I have noticed a recurring issue which I also had with the RealSense SDK. When I create a colourised point cloud in PCL, areas which are very dark will have scatterings of dark blue colours and cyan colours. Similarly areas of white might contain red colours instead in the point cloud.

http://s13.postimg.org/nw4qhz8nr/Capture.png

My initial assumption was some kind of overflow. As I understand, very dark areas are not suitable for reliable depth values. However, if you were to infill some depth from surrounding areas then it should be possible to get a colour from the mapping function.The points in my cloud are valid and at the correct depth just the colour is off.

I use the following 3 functions to determine the pixel colour and check the output pixel is within the bounds of the RGB image:

rs_deproject_pixel_to_point(...)
rs_transform_point_to_point(,...)
rs_project_point_to_pixel(...)

So my question is whether this is a problem with the colour mapping or just an issue with PCL? Sorry, this is more of a forum type question.

@JSewell-8 JSewell-8 changed the title Incorrect colour in highly saturated areas Incorrect colour in highly saturated areas [solved] Feb 23, 2016
@JSewell-8
Copy link
Author

I have managed to work out that this is an issue with PCL's .pcd file format when loading XYZRGB clouds from file. Apologies, this does not seem to be an issue with the library.

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

No branches or pull requests

1 participant