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

Fixed getColor method for HSV to RGB conversion #772

Merged
merged 1 commit into from
Jun 26, 2014
Merged

Fixed getColor method for HSV to RGB conversion #772

merged 1 commit into from
Jun 26, 2014

Conversation

jgarstka
Copy link
Contributor

Within the method getColor for HSV colored points the following issues
have been fixed:

  • conversion from HSV to RGB values
  • faulty return lines
  • behaviour for H values > 360 and < 0, so that the color
    gradient is continuous.

The following things have been added:

  • limited s and v to [0.0,1.0], that values < 0.0 are set to 0.0 and
    values > 1.0 are set to 1.0.

Within the method getColor for HSV colored points the following issues
have been fixed:
- conversion from HSV to RGB values
- faulty return lines
- behaviour for H values > 360 and < 0, so that the color
  gradient is continuous.

The following things have been added:
- limited s and v to [0.0,1.0], that values < 0.0 are set to 0.0 and
  values > 1.0 are set to 1.0.
jspricke added a commit that referenced this pull request Jun 26, 2014
Fixed getColor method for HSV to RGB conversion
@jspricke jspricke merged commit a5af676 into PointCloudLibrary:master Jun 26, 2014
@jgarstka jgarstka deleted the color_handler_fix branch June 26, 2014 13:57
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

Successfully merging this pull request may close these issues.

2 participants