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

Updated augmentations for histology images #179

Merged
merged 8 commits into from Jan 11, 2022
Merged

Conversation

maxilse
Copy link
Contributor

@maxilse maxilse commented Jan 10, 2022

Fixed HEDJitter augmentation, the previous version was also jittering the D channel
Removed dependency of StainNormalization on skimage, which makes it also faster
Added GaussianBlur that is faster than the torchvision version
Added rotation by multiples of 90 degrees
Adjusted/added the test for all augmentations.
All the above augmentations are frequently used for histopathology.

Added torchvision to the environment since it is necessary for the augmentations.

@maxilse maxilse merged commit a33c1ed into main Jan 11, 2022
@maxilse maxilse deleted the maxilse/update_augs branch January 11, 2022 13:16
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.

None yet

2 participants