Breaking changes
- Albumentations now explicitly checks that all inputs to augmentations are named arguments and raise an exception otherwise. So if an augmentation receives input like aug(image) instead of aug(image=image), Albumentations will raise an exception. (#560)
- Dropped support of Python 3.5 (#709)
- Keypoints and bboxes are checked for visibility after each transform (#566)
New transformations
A.FDA
transform for Fourier-based domain adaptation. (#685)A.HistogramMatching
transform that applies histogram matching. (#708)A.ColorJitter
transform that behaves similarly toColorJitter
from torchvision (though there are some minor differences due to different internal logic for working with HSV colorspace in Pillow, which is used in torchvision and OpenCV, which is used in Albumentations). (#705)
Minor changes
A.PadIfNeeded
now accepts additionalpad_width_divisor
,pad_height_divisor
(None
by default) to ensure image has width & height that is dividable by given values. (#700)- Added support to apply
A.CoarseDropout
to masks viamask_fill_value
. (#699) A.GaussianBlur
now supports the sigma parameter that sets standard deviation for Gaussian kernel. (#674, #673) .
Bugfixes
- Fixed bugs in
A.HueSaturationValue
for float dtype. (#696, #710) - Fixed incorrect rounding error on bboxes in
YOLO
format. (#688)