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

Quick question regarding Range Transformation #1

Open
lschaupp opened this issue Feb 17, 2018 · 2 comments
Open

Quick question regarding Range Transformation #1

lschaupp opened this issue Feb 17, 2018 · 2 comments

Comments

@lschaupp
Copy link

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 :)

@shihongf
Copy link

Hi, can you give me some instructions about how to run these scripts? I'm new to this and this is important to my work. Thanks in advance !

@Petros626
Copy link

Hi, can you give me some instructions about how to run these scripts? I'm new to this and this is important to my work. Thanks in advance !

hey long time ago, did you solve it for your work?

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

3 participants