Skip to content

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

Open
xulman wants to merge 1 commit into
masterfrom
legacy-server-data-transforms
Open

legacy BDV server transforms on-the-fly the data to gray16 for BDV#26
xulman wants to merge 1 commit into
masterfrom
legacy-server-data-transforms

Conversation

@xulman
Copy link
Copy Markdown
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
Copy Markdown
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