Skip to content

Conversation

@andreped
Copy link
Collaborator

@andreped andreped commented Sep 9, 2021

I believe there was a bug related to when a clipping operation is applied before casting to uint8. The wrong value (254) was assigned to the values higher than the natural limit of uint8 (255).

The same bug was observed for both the Macenko and the Numpy implementations.

@carloalbertobarbano
Copy link
Member

Hi andreped, thanks a lot for your contribution! Nice catch.
I will gladly accept this contribution.
Could you rebase your commits and move ef59f58 to a new branch/PR?
Thanks

@andreped
Copy link
Collaborator Author

Had some issues doing it, but I believe it should be in the state you wanted now.
When current PR is accepted, I will make a new PR considering the GPU support update.

@carloalbertobarbano
Copy link
Member

Thanks a lot!

@carloalbertobarbano carloalbertobarbano merged commit 0296439 into EIDOSLAB:main Sep 12, 2021
@swamidass swamidass mentioned this pull request Jan 3, 2023
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