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

legacy BDV server transforms on-the-fly the data to gray16 for BDV #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

xulman
Copy link
Member

@xulman xulman commented Sep 25, 2023

The server does on-the-fly (server-side) transform of individual blocks when they are not already of gray16 pixel type. Fights issue #24.

The server does on-the-fly (server-side) transform of individual
blocks when they are not already of gray16 pixel type.
Fights issue #24.
@xulman
Copy link
Member Author

xulman commented Sep 25, 2023

the implemented policy is the following:

byte data go to unsigned short.. so staying on an interval <0;255> rather than <-128;127>

larger data types are directly cast to short, with all the risks... e.g. overfloating:
Screenshot_20230925_171749

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.

1 participant