You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, but the highest value is 255. So if the expression results in something between 0 and 1.0, we have to multiply by the largest value, no?
Maybe I'm misunderstanding something but it looks as if this code could generate color values of 256 which would be invalid for 8 bit rgb.
I see your point and I think you're right. If we have a max las RGB value of 65535 this would indeed cause the code to generate a value of 256 in 8 bit which would be incorrect. I'll modify the code accordingly, thanks a lot for pointing out this important detail!
las2pcd/las2pcd.cpp
Line 78 in 2d6707a
The code multiplies by 256 here, should it not be 255?
The text was updated successfully, but these errors were encountered: