Albumentations 1.4.19 Release Notes
- Support Our Work
- Transforms
- Core
- Bug Fixes
Support Our Work
- Love the library? You can contribute to its development by becoming a sponsor for the library. Your support is invaluable, and every contribution makes a difference.
- Haven't starred our repo yet? Show your support with a ⭐! It's just only one mouse click away.
- Got ideas or facing issues? We'd love to hear from you. Share your thoughts in our issues or join the conversation on our Discord server
Transforms
Added mask_interpolation
to all transforms that use mask interpolation, including:
- RandomSizedCrop
- RandomResizedCrop
- RandomSizedBBoxSafeCrop
- CropAndPad
- Resize
- RandomScale
- LongestMaxSize
- SmallestMaxSize
- Rotate
- SafeRotate
- OpticalDistortion
- GridDistortion
- ElasticTransform
- Perspective
- PiecewiseAffine
by @ternaus
Core
- Minimal supported python version is 3.9
- Removed dependency on scikit-image
- Updated Random number generator from np.random.state to np.random.generator. Second is 50% faster => speedups in all transforms that heavily use random generator
- Where possible moved from
cv2.LUT
tostringzilla lut
- Added parameter
mask_interpolation
to Compose that overrides mask interpolation value in all transforms in that Compose, now can use more accuratecv2.INTER_NEAREST_EXACT
for semantic segmentation and can work with depth and heatmap estimation using cubic, area, linear, etc
BugFixes
- Bugfix in ISONoise
- Bugfix: Ensure that transforms masks are contiguous arrays, by @Callidior
- Bugfix in Solarize
- Bugfix in bounding box filtering
- Bugfix in OpticalDistortion
- Bugfix in balanced scale in Affine