New augmentations:
A.UnsharpMask
. This transform sharpens the input image using Unsharp Masking processing and overlays the result with the original image. (#1063 by @zakajd)A.RingingOvershoot
. This transform creates ringing or overshoot artifacts by convolving the image with a 2D sinc filter. (#1064 by @zakajd)A.AdvancedBlur
. This transform blurs the input image using a Generalized Normal filter with randomly selected parameters. It also adds multiplicative noise to generated kernel before convolution. (#1066 by @zakajd)A.PixelDropout
. This transformation randomly replaces pixels with the passed value. (#1082 by @Dipet)
Bugfixes
- Fixed a problem that prevented
A.RandomShadow
from working with non-contiguous input. (#1117 by @i-aki-y) A.PadIfNeeded
now works with an arbitrary number of channels. (#1069 by @BloodAxe)- Fixed all
np.random
use cases to prevent identical values when using multiprocessing. (#1070 by @Dipet) - The
slant
param now has an effect inA.RandomRain
. (#1179 by @victor1cea) translate_percent
now uses 0 as a default value in theA.Affine
transform. (#1183 by @victor1cea)A.SafeRotate
no longer loses blocks and keypoints. (#1109 by @Dipet)A.CropAndPad
now correctly handles bboxes whenkeep_size=True
. (#1059 by @cannon)A.RandomCrop
,A.RandomSizedCrop
, andA.RandomSizedBBoxSafeCrop
now sample last pixel. (#1080 by @Multihuntr)
Minor changes:
- Old code is refactored, and more type hints are added (#1052 by @Dipet).
A.Compose
now warns the user if it receives a single augmentation instead of a sequence of augmentations. (#1055 by @Dipet)A.CoarseDropout
andA.RandomGridShuffle
now support keypoints. (#1084 by @BloodAxe)A.ToTensorV2
now supports themasks
target. (#1097 by @alessiobonfiglio)A.PadIfNeeded
now supports random padding. (#1160 by @mys007 )- Improved and corrected documentation: #1047 by @shyn, #1164 by @notplus, #1105 by @i-aki-y
- Speeded up tests by removing unnecessary tests. (#1188 by @creafz)
A.Affine
now haskeep_ratio
flag. (#1104 by @i-aki-y)