Hey,
I had a quick question regarding the transformation of the pointcloud to rangeImage within the code:
float range = (!std::isinf(r))?
std::max(0.0f, std::min(1.0f, factor * (r + offset))) :
0.0;
_rangeImage.at<ushort>(j, i) = static_cast<ushort>((range) * MAX_USHORT);
I'm guessing you are converting the range values to a 16bit image, is this correct?
Could you elaborate this section a bit more though?
Thanks :)
Hey,
I had a quick question regarding the transformation of the pointcloud to rangeImage within the code:
I'm guessing you are converting the range values to a 16bit image, is this correct?
Could you elaborate this section a bit more though?
Thanks :)