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

Better default value for upper limit of intenstity range for uint16 layers #4381

Merged
merged 14 commits into from
Jan 14, 2020

Conversation

MichaelBuessemeyer
Copy link
Contributor

@MichaelBuessemeyer MichaelBuessemeyer commented Dec 17, 2019

This PR changes the default intensity range for uint16 data layers to the interval [0, 65535]. Previously it was [0, 255], causing uint16 data layers to be almost completely white by default. Now the data of uint16 layers should be visible by default.

URL of deployed dev instance (used for testing):

  • https://___.webknossos.xyz

Steps to test:

  • Open a dataset with a uint16 data layer. The data should initially visible without having to adjust the histogram.

Issues:


@MichaelBuessemeyer MichaelBuessemeyer requested review from philippotto and normanrz and removed request for philippotto December 17, 2019 11:44
@MichaelBuessemeyer MichaelBuessemeyer marked this pull request as ready for review December 17, 2019 11:48
@MichaelBuessemeyer MichaelBuessemeyer requested review from philippotto and removed request for normanrz January 6, 2020 09:50
@MichaelBuessemeyer
Copy link
Contributor Author

@philippotto Could you please re-review my code? Thanks :)

@MichaelBuessemeyer
Copy link
Contributor Author

@philippotto Could you please check my PR again? I just checked the data types uint8, uint16, uint24 and float manually. They should work.

Copy link
Member

@philippotto philippotto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome 👍

@MichaelBuessemeyer MichaelBuessemeyer merged commit 889d64a into master Jan 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Min/Max default for uint16
2 participants