- Support Our Work
- Transforms
- Bug fixes and speedups
Support Our Work
- Help Us Grow - If you find value in Albumentations, consider becoming a sponsor. Every contribution, no matter the size, helps us maintain and improve the library for everyone.
- Show Your Support - If you enjoy using Albumentations, consider giving us a ⭐ on GitHub. It helps others discover the library and motivates our team.
- Join Our Community - Have suggestions or ran into issues? We welcome your input! Share your experience in our GitHub issues or connect with us on Discord.
Transforms
Added HEStain transform
Applies H&E (Hematoxylin and Eosin) stain augmentation to histopathology images.
This transform simulates different H&E staining conditions using either:
1. Predefined stain matrices (8 standard references)
2. Vahadane method for stain extraction
3. Macenko method for stain extraction
4. Custom stain matrices
![](https://private-user-images.githubusercontent.com/5481618/412177426-cdb9d823-aef3-4045-8f79-75a0b3334b1b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMTE1MzYsIm5iZiI6MTczOTMxMTIzNiwicGF0aCI6Ii81NDgxNjE4LzQxMjE3NzQyNi1jZGI5ZDgyMy1hZWYzLTQwNDUtOGY3OS03NWEwYjMzMzRiMWIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTFUMjIwMDM2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MmMwMTM2M2E2M2I3OTcxOWNjNjcyOTc4ODgwN2E3ZGU4ZTc1YjU5OTc3YWM3NDgzMGRiNzM2MjE0ZTA4ZDJiMCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.CE0Ta_RibOzlkudnaFeQjN0YpOkA4ebtD6P59jF4Xmw)
Bug fixes and speedups
- Fix in docstring in Rotate by @MalteEbner
- Extended and clarified docstring in Compose on how to fix random seed also added this info to FAQ
- Bugfix in RandomRain
- 1.5 times speedup in GaussNoise by @vedantdalimkar