Skip to content
This repository was archived by the owner on Jul 10, 2025. It is now read-only.

Releases: albumentations-team/albumentations

Albumentations 1.4.3 Release Notes

03 Apr 01:50
657977e

Choose a tag to compare

Albumentations 1.4.3 Release Notes

  • Request
  • Highlights
  • New transform
  • Minor improvements and bug fixes

Support Our Work

  1. 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.
  2. Haven't starred our repo yet? Show your support with a ⭐! It's just only one mouse click.
  3. 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 for Albumentations

New transform

Screenshot 2024-04-02 at 18 43 51
  • Added Morphological transform that modifies the structure of the image. Dilation expands the white (foreground) regions in a binary or grayscale image, while erosion shrinks them.

Minor improvements and bug fixes

1.4.2

18 Mar 23:02
36719bf

Choose a tag to compare

Albumentations 1.4.2 Release Notes

  • Request
  • Highlights
  • New transform
  • New functionality
  • Improvements and bug fixes

Request

  1. If you enjoy using the library as an individual developer or as a representative of the company please consider becoming a sponsor for the library. Every dollar helps.
  2. If you did not give our repo a ⭐, it is only one mouse click
  3. If you have feature requests or proposals or encounter issues - submit your request to issues or ask in Discord server for Albumentations

New transform

Left: Original, Middle: Chromatic aberration (default args, mode="green_purple"), Right: Chromatic aberration (default args, mode="red_blue")
(Image is from our internal mobile mapping dataset)

  • Added ChromaticAbberation transform that adds chromatic distortion to the image. Wiki by @mrsmrynk

New functionality

Improvements and Bugfixes

  • Do not throw deprecation warning when people do not use deprecated parameters in AdvancedBlur by @Aloqeely
  • Updated CONTRIBUTORS.md for Windows users by @Aloqeely
  • Fixed Docstring for DownScale transform by @ryoryon66
  • Bugfix in PadIfNeeded serialization @ternaus

1.4.1

05 Mar 00:25
fb81e6c

Choose a tag to compare

Albumentations 1.4.1 Release Notes

  • Request
  • Highlights
  • New transform
  • Improvements
  • Bug fixes

Request

  1. If you enjoy using the library as an individual developer or during the day job as a part of the company, please consider becoming a sponsor for the library. Every dollar helps.
  2. If you did not give our repo a ⭐, it is only one mouse click
  3. If you have feature requests or proposals or encounter issues - submit your request to issues or our new initiative, - Discord server for albumentations

New transform

Screenshot 2024-03-04 at 14 52 15
  • Added MixUp transform: which linearly combines an input (image, mask, and class label) with another set from a predefined reference dataset. The mixing degree is controlled by a parameter λ (lambda), sampled from a Beta distribution. This method is known for improving model generalization by promoting linear behavior between classes and smoothing decision boundaries.

Minor changes and Bug Fixes

  • Moved from isort, flake8, black to ruff
  • Added extra checks for docstrings to match Google Style.
  • Updated Who's using
  • Removed quidda dependency, which addresses opencv library inconsistencies issues
  • New, updated version of benchmark.

1.4.0

17 Feb 21:19
004fabb

Choose a tag to compare

Albumentations 1.4.0 Release Notes

  • Request
  • Highlights
  • New transform
  • Backwards Incompatible Changes
  • Improvements
  • Bug fixes

Request

  1. If you enjoy using the library as an individual developer or during the day job as a part of the company, please consider becoming a sponsor for the library. Every dollar helps.
  2. If you did not give our repo a ⭐, it is [only one mouse click].(https://github.com/albumentations-team/albumentations)
  3. If you have feature requests, proposals, or encounter issues - submit your request to issues or, our new initiative, - Discord server for albumentations

Highlights

In this release, we mainly focused on the technical debt as its decrease allows faster iterations and bug fixes in the codebase. We added only one new transform, did not work on speeding up transforms, and other changes are minor.

  1. We are removing the dependency on the imgaug library. The library was one of our inspirations when we created Albumentations, but maintainers of imgaug ceased its support which caused inconsistencies in library versions. It was done in 2021, say commit ba44eff by @Dipet .

But, somehow, we are cutting this dependency only in 2024.

  1. Added typing in all of the codebase. When we started the library, Python 2 was still widely used; hence, none of the original codebases had types specified for function arguments and return types. Since the end of the support for Python 2, we added types to the new or updated code, but only now have we covered all the codebase.

New transform

Screenshot 2024-02-17 at 13 09 01
  • Added XYMasking transform: applies masking strips to an image, either horizontally (X axis) or vertically (Y axis), simulating occlusions. This transform is helpful for training models to recognize images with varied visibility conditions. It's particularly effective for spectrogram images, allowing spectral and frequency masking to improve model robustness.
    As other dropout transforms CoarseDropout, MaskDropout, GridDropout it supports images, masks and keypoints as targets. (004fabb by @ternaus )

Backward Incompatible Changes

The deprecated code, including 15 transforms, was removed.
Dependency on the imgaug library was removed.

(be6a217 by @ternaus )

Deleted Transforms

  1. JpegCompression. Use ImageCompression instead.
  2. RandomBrightness. Use RandomBrigtnessContrast instead.
  3. RandomContrast. Use RandomBrigtnessContrast instead.
  4. Cutout. Use CoarseDropout instead.
  5. ToTensor. Use ToTensorV2 instead.
  6. IAAAdditiveGaussianNoise. Use GaussNoise instead.
  7. IAAAffine. Use Affine instead.
  8. IAACropAndPad. Use CropAndPad instead.
  9. IAAEmboss. Use Emboss instead.
  10. IAAFliplr. Use HorizontalFlip instead.
  11. IAAFlipud. Use VerticalFlip instead.
  12. IAAPerspective. Use Perspective instead.
  13. IAAPiecewiseAffine. Use PiecewiseAffine instead.
  14. IAASharpen. Use Sharpen instead.
  15. IAASuperpixels. Use Superpixels instead.

Other deprecated functionality

  • Removed eps parameter in RandomGamma
  • Removed lambda_transformsin serialization.from_dict function.

Minor changes and Bug Fixes

1.3.1

10 Jun 07:44
e3b47b3

Choose a tag to compare

image

New augmentations

Minor changes

Bugfixes

1.3.0

20 Sep 07:33
2a857a8

Choose a tag to compare

albu_1_3_0

Breaking changes

New augmentations

Bugfixes

Minor changes:

1.2.1

12 Jul 13:42
ed7626f

Choose a tag to compare

175977113-5874a3f9-515b-42d3-a01f-73297934b912(2)

Minor changes

  • A.Rotate and A.ShiftScaleRotate now support new rotation method for bounding boxes, ellipse. (#1203 by @victor1cea)
  • A.Rotate now supports new argument crop_border. If set to True, the rotated image will be cropped as much as possible to eliminate pixel values at the edges that were not well defined after rotation. (#1214 by @bonlime)
  • Tests that use multiprocessing now run much faster (#1218 by @Dipet)
  • Improved type hints (#1219 by @Dipet )
  • Fixed a deprecation warning in match_histograms. (#1121 by @BloodAxe)

Bugfixes

1.2.0

15 Jun 08:27
fe856c2

Choose a tag to compare

New augmentations

New augmentations

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

Minor changes:

1.1.0

04 Oct 09:30
dd0c5db

Choose a tag to compare

133947365-6cba891b-4537-4d97-8b84-5ac9ce908d1d

New augmentations

  • TemplateTransform. This transform allows the blending of an input image with specified templates. (#572 by @akarsakov )
  • PixelDistributionAdaptation. A new domain adaptation augmentation. It fits a simple transform on both the original and reference image, transforms the original image with transform trained on this image, and performs inverse transformation using transform fitted on the reference image. See the examples of this transform in the qudida repository. (#959 by @arsenyinfo)

Minor changes:

Bugfixes

1.0.3

15 Jul 10:11
929cbd8

Choose a tag to compare

  • Fixed problem with incorrect shape at keypoints and bboxes processors after ToTensorV2 #963
  • Fixed problems with float values in YOLO format in edge cases #958