diff --git a/LICENSE b/LICENSE index adb953134..ae9c7cffc 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2015 aleju +Copyright (c) 2015 marcown Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 4fe9ea4dc..361876d1d 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,9 @@ This python library helps you with augmenting images for your machine learning projects. It converts a set of input images into a new, much larger set of slightly altered images. -[![Build Status](https://travis-ci.org/aleju/imgaug.svg?branch=master)](https://travis-ci.org/aleju/imgaug) -[![codecov](https://codecov.io/gh/aleju/imgaug/branch/master/graph/badge.svg)](https://codecov.io/gh/aleju/imgaug) -[![Codacy Badge](https://api.codacy.com/project/badge/Grade/1370ce38e99e40af842d47a8dd721444)](https://www.codacy.com/app/aleju/imgaug?utm_source=github.com&utm_medium=referral&utm_content=aleju/imgaug&utm_campaign=Badge_Grade) +[![Build Status](https://travis-ci.org/marcown/imgaug.svg?branch=master)](https://travis-ci.org/marcown/imgaug) +[![codecov](https://codecov.io/gh/marcown/imgaug/branch/master/graph/badge.svg)](https://codecov.io/gh/marcown/imgaug) +[![Codacy Badge](https://api.codacy.com/project/badge/Grade/1370ce38e99e40af842d47a8dd721444)](https://www.codacy.com/app/marcown/imgaug?utm_source=github.com&utm_medium=referral&utm_content=marcown/imgaug&utm_campaign=Badge_Grade) @@ -21,51 +21,51 @@ It converts a set of input images into a new, much larger set of slightly altere - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + +
Original Inputinput imagesinput heatmapsinput segmentation mapsinput keypointsinput bounding boxesinput imagesinput heatmapsinput segmentation mapsinput keypointsinput bounding boxes
Gauss. Noise
+ Contrast
+ Sharpen
non geometric augmentations, applied to imagesnon geometric augmentations, applied to heatmapsnon geometric augmentations, applied to segmentation mapsnon geometric augmentations, applied to keypointsnon geometric augmentations, applied to bounding boxesnon geometric augmentations, applied to imagesnon geometric augmentations, applied to heatmapsnon geometric augmentations, applied to segmentation mapsnon geometric augmentations, applied to keypointsnon geometric augmentations, applied to bounding boxes
Affineaffine augmentations, applied to imagesaffine augmentations, applied to heatmapsaffine augmentations, applied to segmentation mapsaffine augmentations, applied to keypointsaffine augmentations, applied to bounding boxesaffine augmentations, applied to imagesaffine augmentations, applied to heatmapsaffine augmentations, applied to segmentation mapsaffine augmentations, applied to keypointsaffine augmentations, applied to bounding boxes
Crop
+ Pad
crop and pad augmentations, applied to imagescrop and pad augmentations, applied to heatmapscrop and pad augmentations, applied to segmentation mapscrop and pad augmentations, applied to keypointscrop and pad augmentations, applied to bounding boxescrop and pad augmentations, applied to imagescrop and pad augmentations, applied to heatmapscrop and pad augmentations, applied to segmentation mapscrop and pad augmentations, applied to keypointscrop and pad augmentations, applied to bounding boxes
Fliplr
+ Perspective
Horizontal flip and perspective transform augmentations, applied to imagesHorizontal flip and perspective transform augmentations, applied to heatmapsHorizontal flip and perspective transform augmentations, applied to segmentation mapsHorizontal flip and perspective transform augmentations, applied to keypointsHorizontal flip and perspective transform augmentations, applied to bounding boxesHorizontal flip and perspective transform augmentations, applied to imagesHorizontal flip and perspective transform augmentations, applied to heatmapsHorizontal flip and perspective transform augmentations, applied to segmentation mapsHorizontal flip and perspective transform augmentations, applied to keypointsHorizontal flip and perspective transform augmentations, applied to bounding boxes
@@ -73,7 +73,7 @@ It converts a set of input images into a new, much larger set of slightly altere **More (strong) example augmentations of one input image:** -![64 quokkas](https://raw.githubusercontent.com/aleju/imgaug-doc/master/readme_images/examples_grid.jpg?raw=true "64 quokkas") +![64 quokkas](https://raw.githubusercontent.com/marcown/imgaug-doc/master/readme_images/examples_grid.jpg?raw=true "64 quokkas") ## Table of Contents @@ -142,7 +142,7 @@ pip install imgaug or install the latest version directly from github: ```bash -pip install git+https://github.com/aleju/imgaug.git +pip install git+https://github.com/marcown/imgaug.git ``` For more details, see the [install guide](https://imgaug.readthedocs.io/en/latest/source/installation.html) @@ -155,16 +155,16 @@ To deinstall the library, just execute `pip uninstall imgaug`. ## Documentation Example jupyter notebooks: - * [Load and Augment an Image](https://nbviewer.jupyter.org/github/aleju/imgaug-doc/blob/master/notebooks/A01%20-%20Load%20and%20Augment%20an%20Image.ipynb) - * [Multicore Augmentation](https://nbviewer.jupyter.org/github/aleju/imgaug-doc/blob/master/notebooks/A03%20-%20Multicore%20Augmentation.ipynb) - * Augment and work with: [Keypoints/Landmarks](https://nbviewer.jupyter.org/github/aleju/imgaug-doc/blob/master/notebooks/B01%20-%20Augment%20Keypoints.ipynb), - [Bounding Boxes](https://nbviewer.jupyter.org/github/aleju/imgaug-doc/blob/master/notebooks/B02%20-%20Augment%20Bounding%20Boxes.ipynb), - [Polygons](https://nbviewer.jupyter.org/github/aleju/imgaug-doc/blob/master/notebooks/B03%20-%20Augment%20Polygons.ipynb), - [Line Strings](https://nbviewer.jupyter.org/github/aleju/imgaug-doc/blob/master/notebooks/B06%20-%20Augment%20Line%20Strings.ipynb), - [Heatmaps](https://nbviewer.jupyter.org/github/aleju/imgaug-doc/blob/master/notebooks/B04%20-%20Augment%20Heatmaps.ipynb), - [Segmentation Maps](https://nbviewer.jupyter.org/github/aleju/imgaug-doc/blob/master/notebooks/B05%20-%20Augment%20Segmentation%20Maps.ipynb) + * [Load and Augment an Image](https://nbviewer.jupyter.org/github/marcown/imgaug-doc/blob/master/notebooks/A01%20-%20Load%20and%20Augment%20an%20Image.ipynb) + * [Multicore Augmentation](https://nbviewer.jupyter.org/github/marcown/imgaug-doc/blob/master/notebooks/A03%20-%20Multicore%20Augmentation.ipynb) + * Augment and work with: [Keypoints/Landmarks](https://nbviewer.jupyter.org/github/marcown/imgaug-doc/blob/master/notebooks/B01%20-%20Augment%20Keypoints.ipynb), + [Bounding Boxes](https://nbviewer.jupyter.org/github/marcown/imgaug-doc/blob/master/notebooks/B02%20-%20Augment%20Bounding%20Boxes.ipynb), + [Polygons](https://nbviewer.jupyter.org/github/marcown/imgaug-doc/blob/master/notebooks/B03%20-%20Augment%20Polygons.ipynb), + [Line Strings](https://nbviewer.jupyter.org/github/marcown/imgaug-doc/blob/master/notebooks/B06%20-%20Augment%20Line%20Strings.ipynb), + [Heatmaps](https://nbviewer.jupyter.org/github/marcown/imgaug-doc/blob/master/notebooks/B04%20-%20Augment%20Heatmaps.ipynb), + [Segmentation Maps](https://nbviewer.jupyter.org/github/marcown/imgaug-doc/blob/master/notebooks/B05%20-%20Augment%20Segmentation%20Maps.ipynb) -More notebooks: [imgaug-doc/notebooks](https://github.com/aleju/imgaug-doc/tree/master/notebooks). +More notebooks: [imgaug-doc/notebooks](https://github.com/marcown/imgaug-doc/tree/master/notebooks). Example ReadTheDocs pages: * [Quick example code on how to use the library](http://imgaug.readthedocs.io/en/latest/source/examples_basics.html) @@ -174,7 +174,7 @@ Example ReadTheDocs pages: More RTD documentation: [imgaug.readthedocs.io](http://imgaug.readthedocs.io/en/latest/source/examples_basics.html). All documentation related files of this project are hosted in the -repository [imgaug-doc](https://github.com/aleju/imgaug-doc). +repository [imgaug-doc](https://github.com/marcown/imgaug-doc). @@ -214,8 +214,8 @@ visualized here.   -Identity -ChannelShuffle +Identity +ChannelShuffle       @@ -235,11 +235,11 @@ visualized here. Multiply -Add -Add per_channel=True -AdditiveGaussianNoise -AdditiveGaussianNoise per_channel=True -Multiply +Add +Add per_channel=True +AdditiveGaussianNoise +AdditiveGaussianNoise per_channel=True +Multiply Cutout @@ -249,11 +249,11 @@ visualized here. Dropout2d -Cutout -Dropout -CoarseDropout p=0.2 -CoarseDropout p=0.2, per_channel=True -Dropout2d +Cutout +Dropout +CoarseDropout p=0.2 +CoarseDropout p=0.2, per_channel=True +Dropout2d SaltAndPepper @@ -263,11 +263,11 @@ visualized here. JpegCompression -SaltAndPepper -CoarseSaltAndPepper p=0.2 -Invert -Solarize -JpegCompression +SaltAndPepper +CoarseSaltAndPepper p=0.2 +Invert +Solarize +JpegCompression @@ -284,7 +284,7 @@ visualized here.   -Cartoon +Cartoon       @@ -299,11 +299,11 @@ visualized here. BlendAlphaRegularGrid
with Multiply((0.0, 0.5))
-BlendAlpha with EdgeDetect1.0 -BlendAlphaSimplexNoise with EdgeDetect1.0 -BlendAlphaFrequencyNoise with EdgeDetect1.0 -BlendAlphaSomeColors with RemoveSaturation1.0 -BlendAlphaRegularGrid with Multiply0.0, 0.5 +BlendAlpha with EdgeDetect1.0 +BlendAlphaSimplexNoise with EdgeDetect1.0 +BlendAlphaFrequencyNoise with EdgeDetect1.0 +BlendAlphaSomeColors with RemoveSaturation1.0 +BlendAlphaRegularGrid with Multiply0.0, 0.5 @@ -320,11 +320,11 @@ visualized here. MotionBlur
(angle=0)
-GaussianBlur -AverageBlur -MedianBlur -BilateralBlur sigma_color=250, sigma_space=250 -MotionBlur angle=0 +GaussianBlur +AverageBlur +MedianBlur +BilateralBlur sigma_color=250, sigma_space=250 +MotionBlur angle=0 MotionBlur
(k=5)
@@ -334,8 +334,8 @@ visualized here.   -MotionBlur k=5 -MeanShiftBlur +MotionBlur k=5 +MeanShiftBlur       @@ -349,7 +349,7 @@ visualized here.   -RandAugment +RandAugment       @@ -364,11 +364,11 @@ visualized here. AddToHueAndSaturation -MultiplyAndAddToBrightness -MultiplyHueAndSaturation -MultiplyHue -MultiplySaturation -AddToHueAndSaturation +MultiplyAndAddToBrightness +MultiplyHueAndSaturation +MultiplyHue +MultiplySaturation +AddToHueAndSaturation Grayscale @@ -378,11 +378,11 @@ visualized here. UniformColorQuantization
(to_colorspace=RGB)
-Grayscale -RemoveSaturation -ChangeColorTemperature -KMeansColorQuantization to_colorspace=RGB -UniformColorQuantization to_colorspace=RGB +Grayscale +RemoveSaturation +ChangeColorTemperature +KMeansColorQuantization to_colorspace=RGB +UniformColorQuantization to_colorspace=RGB @@ -399,11 +399,11 @@ visualized here. LogContrast -GammaContrast -GammaContrast per_channel=True -SigmoidContrast cutoff=0.5 -SigmoidContrast gain=10 -LogContrast +GammaContrast +GammaContrast per_channel=True +SigmoidContrast cutoff=0.5 +SigmoidContrast gain=10 +LogContrast LinearContrast @@ -413,11 +413,11 @@ visualized here. CLAHE -LinearContrast -AllChannels- HistogramEqualization -HistogramEqualization -AllChannelsCLAHE -CLAHE +LinearContrast +AllChannels- HistogramEqualization +HistogramEqualization +AllChannelsCLAHE +CLAHE @@ -434,10 +434,10 @@ visualized here.   -Sharpen alpha=1 -Emboss alpha=1 -EdgeDetect -DirectedEdgeDetect alpha=1 +Sharpen alpha=1 +Emboss alpha=1 +EdgeDetect +DirectedEdgeDetect alpha=1   @@ -460,7 +460,7 @@ visualized here.   -Canny +Canny       @@ -473,8 +473,8 @@ visualized here.   -Fliplr -Flipud +Fliplr +Flipud   @@ -490,8 +490,8 @@ visualized here.   -Affine -Affine: Modes +Affine +Affine: Modes   @@ -500,8 +500,8 @@ visualized here.   -Affine: cval -PiecewiseAffine +Affine: cval +PiecewiseAffine   @@ -510,8 +510,8 @@ visualized here.   -PerspectiveTransform -ElasticTransformation sigma=1.0 +PerspectiveTransform +ElasticTransformation sigma=1.0   @@ -520,8 +520,8 @@ visualized here.   -ElasticTransformation sigma=4.0 -Rot90 +ElasticTransformation sigma=4.0 +Rot90   @@ -530,8 +530,8 @@ visualized here.   -WithPolarWarping +Affine -Jigsaw 5x5 grid +WithPolarWarping +Affine +Jigsaw 5x5 grid   @@ -549,11 +549,11 @@ visualized here. Spatter -GlassBlur -DefocusBlur -ZoomBlur -Snow -Spatter +GlassBlur +DefocusBlur +ZoomBlur +Snow +Spatter @@ -570,11 +570,11 @@ visualized here. FilterContour -Autocontrast -EnhanceColor -EnhanceSharpness -FilterEdgeEnhanceMore -FilterContour +Autocontrast +EnhanceColor +EnhanceSharpness +FilterEdgeEnhanceMore +FilterContour @@ -591,10 +591,10 @@ visualized here.   -AveragePooling -MaxPooling -MinPooling -MedianPooling +AveragePooling +MaxPooling +MinPooling +MedianPooling   segmentation @@ -606,11 +606,11 @@ visualized here. RegularGridVoronoi: p_drop_points
(n_rows=n_cols=30)
-Superpixels p_replace=1 -Superpixels n_segments=100 -UniformVoronoi -RegularGridVoronoi: rows/cols p_drop_points=0 -RegularGridVoronoi: p_drop_points n_rows=n_cols=30 +Superpixels p_replace=1 +Superpixels n_segments=100 +UniformVoronoi +RegularGridVoronoi: rows/cols p_drop_points=0 +RegularGridVoronoi: p_drop_points n_rows=n_cols=30 RegularGridVoronoi: p_replace
(n_rows=n_cols=16)
@@ -620,7 +620,7 @@ visualized here.   -RegularGridVoronoi: p_replace n_rows=n_cols=16 +RegularGridVoronoi: p_replace n_rows=n_cols=16       @@ -639,8 +639,8 @@ visualized here.   -CropAndPad -Crop +CropAndPad +Crop   @@ -649,8 +649,8 @@ visualized here.   -Pad -PadToFixedSize height'=height+32, width'=width+32 +Pad +PadToFixedSize height'=height+32, width'=width+32   @@ -660,7 +660,7 @@ visualized here.   -CropToFixedSize height'=height-32, width'=width-32 +CropToFixedSize height'=height-32, width'=width-32       @@ -680,11 +680,11 @@ visualized here. Rain -FastSnowyLandscape lightness_multiplier=2.0 -Clouds -Fog -Snowflakes -Rain +FastSnowyLandscape lightness_multiplier=2.0 +Clouds +Fog +Snowflakes +Rain @@ -1120,7 +1120,7 @@ for images_aug in augseq.augment_batches(batches, background=True): If you need more control over the background augmentation, e.g. to set seeds, control the number of used CPU cores or constraint the memory usage, see the corresponding -[multicore augmentation notebook](https://nbviewer.jupyter.org/github/aleju/imgaug-doc/blob/master/notebooks/A03%20-%20Multicore%20Augmentation.ipynb) +[multicore augmentation notebook](https://nbviewer.jupyter.org/github/marcown/imgaug-doc/blob/master/notebooks/A03%20-%20Multicore%20Augmentation.ipynb) or the API about [Augmenter.pool()](https://imgaug.readthedocs.io/en/latest/source/api_augmenters_meta.html#imgaug.augmenters.meta.Augmenter.pool) and @@ -1189,7 +1189,7 @@ Note: the table only lists people who have their real names (publicly) set in their github List of username-realname matching based on -https://github.com/aleju/imgaug/graphs/contributors ordered by commits: +https://github.com/marcown/imgaug/graphs/contributors ordered by commits: wkentaro Wada, Kentaro Erotemic Crall, Jon @@ -1244,7 +1244,7 @@ If this library has helped you during your research, feel free to cite it: and Laporte, Matias and others}, title = {{imgaug}}, - howpublished = {\url{https://github.com/aleju/imgaug}}, + howpublished = {\url{https://github.com/marcown/imgaug}}, year = {2020}, note = {Online; accessed 01-Feb-2020} } diff --git a/changelogs/v0.2.9.summary.md b/changelogs/v0.2.9.summary.md index d8f473c81..4cc5c9087 100644 --- a/changelogs/v0.2.9.summary.md +++ b/changelogs/v0.2.9.summary.md @@ -64,7 +64,7 @@ image_aug, psoi_aug = iaa.Affine(rotate=45).augment( ) ``` -See [imgaug-doc/notebooks](https://github.com/aleju/imgaug-doc/tree/master/notebooks) +See [imgaug-doc/notebooks](https://github.com/marcown/imgaug-doc/tree/master/notebooks) for a jupyter notebook with many more examples. Changes related to polygon augmentation: @@ -134,7 +134,7 @@ image_aug, lsoi_aug = iaa.Affine(rotate=45).augment( ) ``` -See [imgaug-doc/notebooks](https://github.com/aleju/imgaug-doc/tree/master/notebooks) +See [imgaug-doc/notebooks](https://github.com/marcown/imgaug-doc/tree/master/notebooks) for a jupyter notebook with many more examples. ## Simplified Augmentation Interface diff --git a/changelogs/v0.4.0.summary.md b/changelogs/v0.4.0.summary.md index dc55fdcfd..0dc553f1b 100644 --- a/changelogs/v0.4.0.summary.md +++ b/changelogs/v0.4.0.summary.md @@ -133,7 +133,7 @@ Three new brightness-related augmenters are introduced. The example below shows `AddToBrightness`. First image is the input, the others show `AddToBrightness(-100)` to `AddToBrightness(100)`. - + ## Cartoon @@ -141,7 +141,7 @@ shows `AddToBrightness`. First image is the input, the others show A new cartoon style filter is introduced, shown below. Each row starts with the input image. - + ## ChangeColorTemperature @@ -150,7 +150,7 @@ The color temperature of images can now be modified. The example below shows `ChangeColorTemperature(kelvin=1000)` to `ChangeColorTemperature(kelvin=5000)`, with the first image being the input. - + ## Cutout @@ -160,7 +160,7 @@ were used in the corresponding paper. The second row shows two cutout iterations per image, using intensity values, random RGB values and gaussian noise to fill in the pixels. First image in each row is the input. - + ## Dropout2d and TotalDropout @@ -168,7 +168,7 @@ noise to fill in the pixels. First image in each row is the input. Two new dropout augmenters, `Dropout2d` and `TotalDropout`, are added. The example below shows `Dropout2d`. First image is the input. - + ## Jigsaw @@ -177,7 +177,7 @@ A jigsaw puzzle augmenter is added. The first row below shows its effects using a grid size of `5x5`. The second row shows `10x10`. First image in each row is the input. - + ## MeanShiftBlur @@ -185,7 +185,7 @@ First image in each row is the input. A mean shift-based blur augmenter is added. First image below shows the input, followed by `MeanShiftBlur(5.0)` to `MeanShiftBlur(40.0)`. - + ## Posterize @@ -193,7 +193,7 @@ followed by `MeanShiftBlur(5.0)` to `MeanShiftBlur(40.0)`. The example below shows `Posterize` (aka `UniformQuantizationToNBits`) with `n_bits=8` to `n_bits=1`. First image is the input. - + ## Solarize @@ -201,14 +201,14 @@ with `n_bits=8` to `n_bits=1`. First image is the input. The example below shows `Solarize`, which is the same as `Invert` with a threshold. First image is the input. - + ## Rain The example below shows the new `Rain` augmenter. First image is the input. - + ## RandAugment @@ -216,7 +216,7 @@ The example below shows the new `Rain` augmenter. First image is the input. This release adds an implementation of `RandAugment` the following example shows `RandAugment(n=2, m=20)`. First image is the input. - + ## WithPolarWarping @@ -225,7 +225,7 @@ The example below shows `WithPolarWarping()` in combination with `CropAndPad` (first row), `Affine` (second row) and `AveragePooling` (third row). First image in each row is the input. - + The augmenter supports all input types, but bounding boxes and polygons should be used with caution. (Bounding boxes, because they tend to produce @@ -242,7 +242,7 @@ Neural Network Robustness to Common Corruptions and Surface Variations`. The methods were used in some recent papers. The example below shows their effects, always with `severity=3`. - + ## PIL wrappers @@ -257,7 +257,7 @@ various convolution-based filters (`FilterBlur`, `FilterSmooth`, with the top-left as the transformation origin. The first image in each row is the input. - + ## More Blending Augmenters @@ -272,8 +272,8 @@ in order to modify some colors within the car classes. Left is the input image, right is the output:

- - + +

Note that `BlendAlphaSegMapClassIds` must be called with all inputs @@ -283,7 +283,7 @@ This example changes the train color using `BlendAlphaSegMapClassIds(AddToHueAndSaturation(...))`. The train has a separate class in the segmentation map. - + The next example applies blending to some non color-based augmenters. It uses roughly `BlendAlphaSegMapClassIds(AdditiveGaussianNoise(...))` (left) @@ -291,8 +291,8 @@ and `BlendAlphaSegMapClassIds(Emboss(...))` (right). The street has a separate class in the segmentation map.

- - + +

This example shows how blending can be used to achieve dropout effects. @@ -300,14 +300,14 @@ It uses roughly `BlendAlphaRegularGrid(Multiply(0.0))` (left) and `BlendAlphaCheckerboard(Multiply(0.0))` (right).

- - + +

This example shows `BlendAlphaSomeColors(RemoveSaturation(1.0))`, applied to a more colorful image: - + This release also adds `BlendAlphaBoundingBoxes`, `BlendAlphaHorizontalLinearGradient` and @@ -320,7 +320,7 @@ A new debug helper -- `SaveDebugImageEveryNBatches` -- was added. The example below shows one of its outputs for a batch containing images, segmentation maps and bounding boxes. - + Note that this augmenter must be called with all inputs at the same time, e.g. via `augmenters(images=..., segmentation_maps...)` for image + segmap @@ -331,7 +331,7 @@ inputs. # Mixed-Category Patches -## Reworked Augmentation Methods [#451](https://github.com/aleju/imgaug/pull/451) [#566](https://github.com/aleju/imgaug/pull/566) +## Reworked Augmentation Methods [#451](https://github.com/marcown/imgaug/pull/451) [#566](https://github.com/marcown/imgaug/pull/566) The internal backend of the library was changed so that augmentation now happens batchwise instead of input-type-wise. Child augmenters still have @@ -440,7 +440,7 @@ Other changes: `BoundingBoxesOnImage.from_xyxy_array()`. -## Reworked Quantization [#467](https://github.com/aleju/imgaug/pull/467) +## Reworked Quantization [#467](https://github.com/marcown/imgaug/pull/467) This patch reworked the quantization routines to also support quantization to `N` bits instead of `N` colors in a way that is similar to posterization @@ -485,7 +485,7 @@ function. arrays. -## Improved Invert [#469](https://github.com/aleju/imgaug/pull/469) +## Improved Invert [#469](https://github.com/marcown/imgaug/pull/469) Added thresholds to `Invert` and the corresponding functions. This enables solarization (inversion with thresholds). The patch also added @@ -506,7 +506,7 @@ a corresponding `Solarize` augmenter and two solarization functions. `imgaug.augmenters.arithmetic.Invert` for `uint8` images. -## All Augmenters are now Pickle-able [#493](https://github.com/aleju/imgaug/pull/493) [#575](https://github.com/aleju/imgaug/pull/575) +## All Augmenters are now Pickle-able [#493](https://github.com/marcown/imgaug/pull/493) [#575](https://github.com/marcown/imgaug/pull/575) Ensured that all augmenters can be pickled and un-pickled without errors. @@ -518,7 +518,7 @@ Ensured that all augmenters can be pickled and un-pickled without errors. all standard RNG datatypes for `random_state`. -## Extended Cropping and Padding Augmenters [#459](https://github.com/aleju/imgaug/pull/459) +## Extended Cropping and Padding Augmenters [#459](https://github.com/marcown/imgaug/pull/459) This patch extended the cropping and padding augmenters. It added augmenters that crop/pad towards multiples of values (e.g. crop the @@ -613,7 +613,7 @@ Fixes: `compute_paddings_to_reach_multiples_of()`. -## More Choices for Image Blending [#462](https://github.com/aleju/imgaug/pull/462) [#556](https://github.com/aleju/imgaug/pull/556) +## More Choices for Image Blending [#462](https://github.com/marcown/imgaug/pull/462) [#556](https://github.com/marcown/imgaug/pull/556) The available augmenters for alpha-blending of images were significantly extended. There are now new blending @@ -715,7 +715,7 @@ List of changes: # Added -## Unwrapped Bounding Box Augmentation [#446](https://github.com/aleju/imgaug/pull/446) +## Unwrapped Bounding Box Augmentation [#446](https://github.com/marcown/imgaug/pull/446) The bounding box augmentation was previously a wrapper around keypoint augmentation. Bounding Boxes were simply converted to keypoints at the @@ -761,7 +761,7 @@ augmentations specific to bounding boxes. of their names. -## Unwrapped Line String Augmentation [#450](https://github.com/aleju/imgaug/pull/450) +## Unwrapped Line String Augmentation [#450](https://github.com/marcown/imgaug/pull/450) This patch is the same as the bounding box unwrapping above, only applied to line strings. @@ -781,7 +781,7 @@ line strings. of their names. -## Added fit_output to PerspectiveTransform [#452](https://github.com/aleju/imgaug/pull/452) [#456](https://github.com/aleju/imgaug/pull/456) +## Added fit_output to PerspectiveTransform [#452](https://github.com/marcown/imgaug/pull/452) [#456](https://github.com/marcown/imgaug/pull/456) This patch added `fit_output` to `PerspectiveTransform`. @@ -792,7 +792,7 @@ This patch added `fit_output` to `PerspectiveTransform`. be faster. -# Added `ChangeColorTemperature` Augmenter [#454](https://github.com/aleju/imgaug/pull/454) +# Added `ChangeColorTemperature` Augmenter [#454](https://github.com/marcown/imgaug/pull/454) This patch added an augmenter and corresponding function to change the color temperature of images. This adds e.g. red, orange or blue tints. @@ -802,7 +802,7 @@ color temperature of images. This adds e.g. red, orange or blue tints. * Added function `imgaug.augmenters.color.change_color_temperature_()`. -## Added Brightness Augmenters [#455](https://github.com/aleju/imgaug/pull/455) +## Added Brightness Augmenters [#455](https://github.com/marcown/imgaug/pull/455) This patch added brightness-related augmenters. At the core is `WithBrightnessChannels`, which converts images to a choice of @@ -820,7 +820,7 @@ a child augmenter and convert the modified `L*a*b*` back to `RGB`. argument `to_colorspaces`, not just `list`. -## Added More Dropout Augmenters [#458](https://github.com/aleju/imgaug/pull/458) +## Added More Dropout Augmenters [#458](https://github.com/marcown/imgaug/pull/458) This patch added more dropout augmenters. `Dropout2d` randomly zeros whole channels, while `TotalDropout` randomly zeros whole images. @@ -840,13 +840,13 @@ to be unchanged.) with e.g. blend augmenters. -## Added `RemoveSaturation` [#462](https://github.com/aleju/imgaug/pull/462) +## Added `RemoveSaturation` [#462](https://github.com/marcown/imgaug/pull/462) * Added `RemoveSaturation`, a shortcut for `MultiplySaturation((0.0, 1.0))` with outputs similar to `Grayscale((0.0, 1.0))`. -## Added `Cartoon` Augmenter [#463](https://github.com/aleju/imgaug/pull/463) +## Added `Cartoon` Augmenter [#463](https://github.com/marcown/imgaug/pull/463) This patch added a filter to change the style of images to one that looks more cartoon-ish. The filter used classical methods. As such it works well @@ -858,7 +858,7 @@ that already have rather saturated colors and pronounced edges. * Added augmenter `imgaug.augmenters.artistic.Cartoon`. -## Added `MeanShiftBlur` Augmenter [#466](https://github.com/aleju/imgaug/pull/466) +## Added `MeanShiftBlur` Augmenter [#466](https://github.com/marcown/imgaug/pull/466) This patch added a mean shift-based blur filter. Note that it is very slow when using the default parameters (high radius). @@ -867,14 +867,14 @@ slow when using the default parameters (high radius). * Added augmenter `imgaug.augmenters.blur.MeanShiftBlur`. -## Added `DeterministicList` Parameter [#475](https://github.com/aleju/imgaug/pull/475) +## Added `DeterministicList` Parameter [#475](https://github.com/marcown/imgaug/pull/475) Added `imgaug.parameters.DeterministicList`. Upon a request to generate samples of shape `S`, this parameter will create a new array of shape `S` and fill it by cycling over its list of values repeatedly. -## Added `Jigsaw` Augmenter [#476](https://github.com/aleju/imgaug/pull/476) [#577](https://github.com/aleju/imgaug/pull/577) +## Added `Jigsaw` Augmenter [#476](https://github.com/marcown/imgaug/pull/476) [#577](https://github.com/marcown/imgaug/pull/577) This patch added a jigsaw puzzle augmenter and corresponding functions. The augmenter splits each image into a regular grid of cells, then @@ -889,7 +889,7 @@ polygons or line strings. * Added function `imgaug.augmenters.geometric.generate_jigsaw_destinations()`. -## Added Wrappers around Package `PIL` [#479](https://github.com/aleju/imgaug/pull/479) [#480](https://github.com/aleju/imgaug/pull/480) [#538](https://github.com/aleju/imgaug/pull/538) +## Added Wrappers around Package `PIL` [#479](https://github.com/marcown/imgaug/pull/479) [#480](https://github.com/marcown/imgaug/pull/480) [#538](https://github.com/marcown/imgaug/pull/538) This patch added wrapper functions and augmenters around popular `PIL` functions. The outputs of these functions and augmenters are @@ -947,7 +947,7 @@ accurately as possible. * `imgaug.augmenters.pillike.Affine` -## Added `Identity` [#481](https://github.com/aleju/imgaug/pull/481) +## Added `Identity` [#481](https://github.com/marcown/imgaug/pull/481) This patch added an identity function augmenter (`Identity`), which is the same as `Noop` and will replace the latter one in the long run. @@ -961,7 +961,7 @@ the same as `Noop` and will replace the latter one in the long run. is now deprecated. -## Added Shearing on the Y-Axis to `Affine` [#482](https://github.com/aleju/imgaug/pull/482) +## Added Shearing on the Y-Axis to `Affine` [#482](https://github.com/marcown/imgaug/pull/482) `Affine` was changed to now also support shearing on the y-axis. Previously, only the x-axis was supported. Use e.g. @@ -978,7 +978,7 @@ Previously, only the x-axis was supported. Use e.g. the dictionary form. -## Added Wrappers around `Affine` [#484](https://github.com/aleju/imgaug/pull/484) +## Added Wrappers around `Affine` [#484](https://github.com/marcown/imgaug/pull/484) This patch added a few convenience wrappers around `Affine`. @@ -991,7 +991,7 @@ This patch added a few convenience wrappers around `Affine`. * Added `imgaug.augmenters.geometric.ShearY`. -## Added More Methods to Remove Out-of-Image Augmentables [#487](https://github.com/aleju/imgaug/pull/487) +## Added More Methods to Remove Out-of-Image Augmentables [#487](https://github.com/marcown/imgaug/pull/487) This patch extended the methods to handle coordinate-based augmentables, e.g. bounding boxes, that are partially/fully outside of the image plane. @@ -1029,14 +1029,14 @@ augmentables that are outside of the image plane. three points (previously: exception). -## Added Bounding Box to Polygon Conversion [#489](https://github.com/aleju/imgaug/pull/489) +## Added Bounding Box to Polygon Conversion [#489](https://github.com/marcown/imgaug/pull/489) * Added method `imgaug.augmentables.bbs.BoundingBox.to_polygon()`. * Added method `imgaug.augmentables.bbs.BoundingBoxesOnImage.to_polygons_on_image()`. -## Added Polygon Subdivision [#489](https://github.com/aleju/imgaug/pull/489) +## Added Polygon Subdivision [#489](https://github.com/marcown/imgaug/pull/489) * Added method `imgaug.augmentables.polys.Polygon.subdivide(N)`. The method increases the polygon's corner point count by interpolating @@ -1044,7 +1044,7 @@ augmentables that are outside of the image plane. * Added method `imgaug.augmentables.polys.PolygonsOnImage.subdivide(N)`. -## Added `WithPolarWarping` Augmenter [#489](https://github.com/aleju/imgaug/pull/489) +## Added `WithPolarWarping` Augmenter [#489](https://github.com/marcown/imgaug/pull/489) This patch added an augmenter to transform images to polar coordinates and apply child augmenters within that space. This leads to interesting @@ -1056,7 +1056,7 @@ as cropping or affine transformations. image. -## Added Convenient Access Methods to Coordinate-Based Augmentables [#495](https://github.com/aleju/imgaug/pull/495) [#541](https://github.com/aleju/imgaug/pull/541) +## Added Convenient Access Methods to Coordinate-Based Augmentables [#495](https://github.com/marcown/imgaug/pull/495) [#541](https://github.com/marcown/imgaug/pull/541) This patch added various magic functions to coordinate-based augmentables that make their usage more convenient. Example: @@ -1093,7 +1093,7 @@ for bb in bbsoi: # looping is now supported * Added property `Keypoint.xy_int`. -## Added `SaveDebugImageEveryNBatches` Augmenter [#502](https://github.com/aleju/imgaug/pull/502) +## Added `SaveDebugImageEveryNBatches` Augmenter [#502](https://github.com/marcown/imgaug/pull/502) This patch added a debug augmenter `SaveDebugImageEveryNBatches` that visualizes a whole batch and saves the corresponding image to a directory. @@ -1124,13 +1124,13 @@ The augmenter might be useful even if no augmentation is actually performed. n-th batch into a provided folder. -## Added Multi-Channel cvals in `pad()` [#502](https://github.com/aleju/imgaug/pull/502) +## Added Multi-Channel cvals in `pad()` [#502](https://github.com/marcown/imgaug/pull/502) Improved `imgaug.augmenters.size.pad()` to support multi-channel values for the `cval` parameter (e.g. RGB colors). -## Added Wrappers around Package `imagecorruptions` [#530](https://github.com/aleju/imgaug/pull/530) +## Added Wrappers around Package `imagecorruptions` [#530](https://github.com/marcown/imgaug/pull/530) Added wrappers around the functions from package [bethgelab/imagecorruptions](https://github.com/bethgelab/imagecorruptions). @@ -1194,7 +1194,7 @@ The interfaces of the wrapper functions are identical to the * Added context `imgaug.random.temporary_numpy_seed()`. -## Added `Cutout` Augmenter [#531](https://github.com/aleju/imgaug/pull/531) [#570](https://github.com/aleju/imgaug/pull/570) +## Added `Cutout` Augmenter [#531](https://github.com/marcown/imgaug/pull/531) [#570](https://github.com/marcown/imgaug/pull/570) This patch added Cutout augmentation, similar to the paper proposal. The augmetner has some similarity with `CoarseDropout`. @@ -1208,7 +1208,7 @@ The augmetner has some similarity with `CoarseDropout`. * Added `imgaug.augmenters.arithmetic.Cutout`. -## Added in-place Methods for Coordinate-based Augmentables [#532](https://github.com/aleju/imgaug/pull/532) +## Added in-place Methods for Coordinate-based Augmentables [#532](https://github.com/marcown/imgaug/pull/532) This patch added for many already existing methods corresponding in-place variations. They are now used throughout the library, improving the @@ -1268,7 +1268,7 @@ performance of augmentation in the case of e.g. bounding boxes. bounding boxes, line strings and polygons. -## Added Standardized LUT Methods [#542](https://github.com/aleju/imgaug/pull/542) +## Added Standardized LUT Methods [#542](https://github.com/marcown/imgaug/pull/542) This patch standardized the handling of lookup tables throughout the library. @@ -1279,7 +1279,7 @@ This patch standardized the handling of lookup tables throughout the library. tables. -## Added Drawing of Bounding Box Labels [#545](https://github.com/aleju/imgaug/pull/545) +## Added Drawing of Bounding Box Labels [#545](https://github.com/marcown/imgaug/pull/545) When drawing bounding boxes on images via `BoundingBox.draw_on_image()` or `BoundingBoxesOnImage.draw_on_image()`, a box containing the label will now @@ -1293,7 +1293,7 @@ use `BoundingBox.draw_label_on_image()`. to automatically draw a bounding box's label. -## Added Index-based Access to Coordinate-based `*OnImage` Instances [#547](https://github.com/aleju/imgaug/pull/547) +## Added Index-based Access to Coordinate-based `*OnImage` Instances [#547](https://github.com/marcown/imgaug/pull/547) Enabled index-based access to coordinate-based `*OnImage` instances, i.e. to `KeypointsOnImage`, `BoundingBoxesOnImage`, `LineStringsOnImage` and @@ -1306,7 +1306,7 @@ Enabled index-based access to coordinate-based `*OnImage` instances, i.e. to * Added `imgaug.augmentables.polys.PolygonsOnImage.__getitem__()`. -## Added `Rain` and `RainLayer` Augmenters [#551](https://github.com/aleju/imgaug/pull/551) +## Added `Rain` and `RainLayer` Augmenters [#551](https://github.com/marcown/imgaug/pull/551) Added augmenter(s) to create fake rain effects. They currently seem to work best at around medium-sized images (~224px). @@ -1315,13 +1315,13 @@ best at around medium-sized images (~224px). * Added `imgaug.augmenters.weather.RainLayer`. -## Added `round` Parameter to `Discretize` [#553](https://github.com/aleju/imgaug/pull/553) +## Added `round` Parameter to `Discretize` [#553](https://github.com/marcown/imgaug/pull/553) Added the parameter `round` to `imgaug.parameters.Discretize`. The parameter defaults to `True`, i.e. the default behaviour of `Discretize` did not change. -## Added `RandAugment` Augmenter [#553](https://github.com/aleju/imgaug/pull/553) +## Added `RandAugment` Augmenter [#553](https://github.com/marcown/imgaug/pull/553) Added a RandAugment augmenter, similar to the one described in the paper "RandAugment: Practical automated data augmentation with a reduced @@ -1343,7 +1343,7 @@ types (e.g. bounding boxes) will be rejected. * Added augmenter `imgaug.augmenters.collections.RandAugment`. -## Added and Improved Warnings for Probably-Wrong Image Inputs [#594](https://github.com/aleju/imgaug/pull/594) +## Added and Improved Warnings for Probably-Wrong Image Inputs [#594](https://github.com/marcown/imgaug/pull/594) Improved the errors and warnings on image augmentation calls. `augment_image()` will now produce a more self-explanatory error @@ -1377,7 +1377,7 @@ was actually provided.) # Changed -## Improved RNG Handling during Polygon Augmentation [#447](https://github.com/aleju/imgaug/pull/447) +## Improved RNG Handling during Polygon Augmentation [#447](https://github.com/marcown/imgaug/pull/447) Changed `Augmenter.augment_polygons()` to copy the augmenter's RNG before starting concave polygon recovery. This is done for cleanliness and @@ -1385,7 +1385,7 @@ should not have any effects for users. Also removed RNG copies in `_ConcavePolygonRecoverer` to improve performance. -## Pooling Augmenters now Affect Maps [#457](https://github.com/aleju/imgaug/pull/457) +## Pooling Augmenters now Affect Maps [#457](https://github.com/marcown/imgaug/pull/457) Pooling augmenters were previously implemented so that they did not pool the arrays of maps (i.e. heatmap arrays, segmentation map arrays). Only @@ -1398,14 +1398,14 @@ changed and pooling augmenters will also pool map arrays behaviour was unintuitive and inconsistent with other augmenters (e.g. `Crop`). -## Affine Translation Precision [#489](https://github.com/aleju/imgaug/pull/489) +## Affine Translation Precision [#489](https://github.com/marcown/imgaug/pull/489) Removed a rounding operation in `Affine` translation that would unnecessarily round floats to integers. This should make coordinate augmentation overall more accurate. -## `Affine.get_parameters()` and `translate_px`/`translate_percent` [#508](https://github.com/aleju/imgaug/pull/508) +## `Affine.get_parameters()` and `translate_px`/`translate_percent` [#508](https://github.com/marcown/imgaug/pull/508) Changed `Affine.get_parameters()` to always return a tuple `(x, y, mode)` for translation, where `mode` is either `px` or `percent`, @@ -1413,7 +1413,7 @@ and `x` and `y` are stochastic parameters. `y` may be `None` if the same parameter (and hence samples) are used for both axes. -## Removed Outdated "Don't Import from this Module" Messages [#539](https://github.com/aleju/imgaug/pull/539) +## Removed Outdated "Don't Import from this Module" Messages [#539](https://github.com/marcown/imgaug/pull/539) The docstring of each module in ``imgaug.augmenters`` previously included a suggestion to not directly import from that module, but instead use @@ -1425,7 +1425,7 @@ for a long time, the suggestion was removed from all modules. Calling preferred way. -## Standardized `shift()` Interfaces of Coordinate-Based Augmentables [#548](https://github.com/aleju/imgaug/pull/548) +## Standardized `shift()` Interfaces of Coordinate-Based Augmentables [#548](https://github.com/marcown/imgaug/pull/548) The interfaces for shift operations of all coordinate-based augmentables (Keypoints, BoundingBoxes, LineStrings, Polygons) @@ -1459,7 +1459,7 @@ work as expected. * Added function `testutils.wrap_shift_deprecation()`. -## Simplified Standard Parameters of Augmenters [#567](https://github.com/aleju/imgaug/pull/567) [#595](https://github.com/aleju/imgaug/pull/595) +## Simplified Standard Parameters of Augmenters [#567](https://github.com/marcown/imgaug/pull/567) [#595](https://github.com/marcown/imgaug/pull/595) The patch changed the standard parameters shared by all augmenters to a reduced and more self-explanatory set. Previously, all augmenters @@ -1495,7 +1495,7 @@ as opposed to previously `name=..., deterministic=..., random_state=...`. -## Improved Default Values of Augmenters [#582](https://github.com/aleju/imgaug/pull/582) +## Improved Default Values of Augmenters [#582](https://github.com/marcown/imgaug/pull/582) **[breaking]** Most augmenters had previously default values that made them equivalent to identity functions. Users had to explicitly @@ -1739,7 +1739,7 @@ The exact changes to default values are listed below. neither `px` nor `percent`. -## `setup.py` Now Accepts any `opencv-*` Installation [#586](https://github.com/aleju/imgaug/pull/586) +## `setup.py` Now Accepts any `opencv-*` Installation [#586](https://github.com/marcown/imgaug/pull/586) `setup.py` was changed so that it now accepts `opencv-python`, `opencv-python-headless`, `opencv-contrib-python` and @@ -1758,13 +1758,13 @@ library requests. Try to ensure that the other library is installed first in these cases. -## Unified OpenCV Input Normalization [#565](https://github.com/aleju/imgaug/pull/565) +## Unified OpenCV Input Normalization [#565](https://github.com/marcown/imgaug/pull/565) Changed various augmenters to use the same normalization for OpenCV inputs. This probably fixes some previously undiscovered bugs. -## Renamed In-place Methods [#444](https://github.com/aleju/imgaug/pull/444) +## Renamed In-place Methods [#444](https://github.com/marcown/imgaug/pull/444) * Renamed `Augmenter.reseed()` to `Augmenter.seed_()`. The old name is now deprecated. @@ -1772,17 +1772,17 @@ inputs. This probably fixes some previously undiscovered bugs. `Augmenter.remove_augmenters_()`. The old name is now deprecated. -## Deprecated `AffineCv2` [#540](https://github.com/aleju/imgaug/pull/540) +## Deprecated `AffineCv2` [#540](https://github.com/marcown/imgaug/pull/540) Deprecated `imgaug.augmenters.geometric.AffineCv2`. -Use `imgaug.augmenters.geometric.Affine` instead. [#540](https://github.com/aleju/imgaug/pull/540) +Use `imgaug.augmenters.geometric.Affine` instead. [#540](https://github.com/marcown/imgaug/pull/540) # Refactored -## Refactored According to pylint Requirements [#504](https://github.com/aleju/imgaug/pull/504) +## Refactored According to pylint Requirements [#504](https://github.com/marcown/imgaug/pull/504) * Refactored all core library files to fulfill (most) pylint requirements. * [rarely breaking] Renamed @@ -1796,70 +1796,70 @@ Use `imgaug.augmenters.geometric.Affine` instead. [#540](https://github.com/alej * Fixed `Resize` always returning an `uint8` array during image augmentation if the input was a single numpy array and all augmented images had the - same shape. [#442](https://github.com/aleju/imgaug/pull/442) [#443](https://github.com/aleju/imgaug/pull/443) + same shape. [#442](https://github.com/marcown/imgaug/pull/442) [#443](https://github.com/marcown/imgaug/pull/443) * Fixed `Affine` coordinate-based augmentation applying wrong offset when shifting images to/from top-left corner. This would lead to an error - of around 0.5 to 1.0 pixels. [#446](https://github.com/aleju/imgaug/pull/446) + of around 0.5 to 1.0 pixels. [#446](https://github.com/marcown/imgaug/pull/446) * Fixed keypoint augmentation in `PiecewiseAffine` potentially being - unaligned if a `KeypointsOnImage` instance contained no keypoints. [#446](https://github.com/aleju/imgaug/pull/446) + unaligned if a `KeypointsOnImage` instance contained no keypoints. [#446](https://github.com/marcown/imgaug/pull/446) * Fixed `imgaug.validation.convert_iterable_to_string_of_types()` crashing due - to not converting types to strings before joining them. [#446](https://github.com/aleju/imgaug/pull/446) + to not converting types to strings before joining them. [#446](https://github.com/marcown/imgaug/pull/446) * Fixed `imgaug.validation.assert_is_iterable_of()` producing a not - well-designed error if the input was not an iterable. [#446](https://github.com/aleju/imgaug/pull/446) + well-designed error if the input was not an iterable. [#446](https://github.com/marcown/imgaug/pull/446) * Fixed image normalization crashing when an input ndarray of multiple images was changed during augmentation to a list of multiple images with different shapes *and* the original input ndarray represented a single image or a collection of 2D `(H,W)` images. This problem affected `augment()`, `augment_batch()` and `augment_batches()`. -* Fixed a typo in an image normalization error message. [#451](https://github.com/aleju/imgaug/pull/451) +* Fixed a typo in an image normalization error message. [#451](https://github.com/marcown/imgaug/pull/451) * Fixed a problem in `WithChannels` that could lead random sampling in child augmenters being unaligned between images and corresponding non-image - data. [#451](https://github.com/aleju/imgaug/pull/451) + data. [#451](https://github.com/marcown/imgaug/pull/451) * Added aliases to `imgaug.random.RNG` for some outdated numpy random number sampling methods that existed in `numpy.random.RandomState` but not in numpy's new RNG system (1.17+). These old methods are not used in `imgaug`, but some custom augmenters and `Lambda` calls may require them when - interacting with the provided `random_state` instances. [#486](https://github.com/aleju/imgaug/pull/486) + interacting with the provided `random_state` instances. [#486](https://github.com/marcown/imgaug/pull/486) * Fixed `Affine` producing unaligned augmentations between images and segmentation maps or heatmaps when using `translate_px` and the segmentation - map or heatmap had a different height/width than corresponding image. [#489](https://github.com/aleju/imgaug/pull/489) + map or heatmap had a different height/width than corresponding image. [#489](https://github.com/marcown/imgaug/pull/489) * Fixed a crash in `SnowflakesLayer` that could occur when using values - close to `1.0` for `flake_size`. [#471](https://github.com/aleju/imgaug/pull/471) + close to `1.0` for `flake_size`. [#471](https://github.com/marcown/imgaug/pull/471) * Fixed `MultiplyHueAndSaturation` crashing if the RNG provided via - `random_state` was not `None` or `imgaug.random.RNG`. [#493](https://github.com/aleju/imgaug/pull/493) + `random_state` was not `None` or `imgaug.random.RNG`. [#493](https://github.com/marcown/imgaug/pull/493) * Fixed `CloudLayer.draw_on_image()` producing tuples instead of arrays - as output for `float` input images. [#540](https://github.com/aleju/imgaug/pull/540) + as output for `float` input images. [#540](https://github.com/marcown/imgaug/pull/540) * Fixed `Affine` parameter `translate_px` behaving like `translate_percent` if a continuous stochastic parameter was provided. Analogously `translate_percent` would behave like `translate_px` if - a discrete stochastic parameter was provided. [#508](https://github.com/aleju/imgaug/pull/508) + a discrete stochastic parameter was provided. [#508](https://github.com/marcown/imgaug/pull/508) * Fixed code hanging indefinitely when using multicore augmentation - on NixOS. [#414](https://github.com/aleju/imgaug/issues/414) [#510](https://github.com/aleju/imgaug/pull/510) + on NixOS. [#414](https://github.com/marcown/imgaug/issues/414) [#510](https://github.com/marcown/imgaug/pull/510) * Fixed a deprecation warning and potential crash in python 3.8 - related to the use of `collections` instead of `collections.abc`. [#527](https://github.com/aleju/imgaug/pull/527) -* Fixed deprecated `scipy.fromfunction()` being called. [#529](https://github.com/aleju/imgaug/pull/529) + related to the use of `collections` instead of `collections.abc`. [#527](https://github.com/marcown/imgaug/pull/527) +* Fixed deprecated `scipy.fromfunction()` being called. [#529](https://github.com/marcown/imgaug/pull/529) * Fixed `imgaug.random.normalize_generator()` crashing in numpy 1.18. The function relied on `numpy.random.bit_generator.BitGenerator`, which was moved in numpy 1.18 to `numpy.random.BitGenerator` without a - deprecation period for the old name. [#534](https://github.com/aleju/imgaug/pull/534) + deprecation period for the old name. [#534](https://github.com/marcown/imgaug/pull/534) * Fixed an issue that could lead to endlessly hanging programs on some OS when using multicore augmentation (e.g. via pool) and augmenters using - OpenCV. [#535](https://github.com/aleju/imgaug/pull/535) + OpenCV. [#535](https://github.com/marcown/imgaug/pull/535) * Fixed `imgaug.random.seed()` not seeding the global `RNG` in-place in numpy 1.17+. The (unfixed) function instead created a new global `RNG` with the given seed. This set the seed of augmenters created *after* the `seed()` call, but not of augmenters created *before* the `seed()` call as they would continue to use the old - global RNG. [#557](https://github.com/aleju/imgaug/pull/557) + global RNG. [#557](https://github.com/marcown/imgaug/pull/557) * Fixed `cval` in `ElasticTransformation` resulting in new pixels in RGB images - being filled with `(cval, 0, 0)` instead of `(cval, cval, cval)`. [#561](https://github.com/aleju/imgaug/pull/561) [#562](https://github.com/aleju/imgaug/pull/562) + being filled with `(cval, 0, 0)` instead of `(cval, cval, cval)`. [#561](https://github.com/marcown/imgaug/pull/561) [#562](https://github.com/marcown/imgaug/pull/562) * Fixed some augmenters in module `weather` not transferring seed values - or random states that were provided upon creation to child augmenters. [#568](https://github.com/aleju/imgaug/pull/568) + or random states that were provided upon creation to child augmenters. [#568](https://github.com/marcown/imgaug/pull/568) * Fixed an inaccuracy in `PerspectiveTransform` that could lead to slightly misaligned transformations between images and coordinate-based augmentables (e.g. bounding boxes). The problem was more significant the smaller the images and larger the `scale` values were. It was also - worsened by using `fit_output`. [#585](https://github.com/aleju/imgaug/pull/585) + worsened by using `fit_output`. [#585](https://github.com/marcown/imgaug/pull/585) * Fixed `KeepSizeByResize` potentially crashing if a single numpy array was provided as the input for an iterable of images (as opposed to - a list of numpy arrays). [#590](https://github.com/aleju/imgaug/pull/590) + a list of numpy arrays). [#590](https://github.com/marcown/imgaug/pull/590) diff --git a/setup.py b/setup.py index 711e25601..6eda5418a 100644 --- a/setup.py +++ b/setup.py @@ -61,8 +61,8 @@ def get_install_requirements(main_requires, alternative_requires): version="0.4.0", author="Alexander Jung", author_email="kontakt@ajung.name", - url="https://github.com/aleju/imgaug", - download_url="https://github.com/aleju/imgaug/archive/0.4.0.tar.gz", + url="https://github.com/marcown/imgaug", + download_url="https://github.com/marcown/imgaug/archive/0.4.1.tar.gz", install_requires=INSTALL_REQUIRES, packages=find_packages(), include_package_data=True, diff --git a/test/augmenters/test_meta.py b/test/augmenters/test_meta.py index ea7b83572..5c7788a15 100644 --- a/test/augmenters/test_meta.py +++ b/test/augmenters/test_meta.py @@ -6606,7 +6606,7 @@ def test_invalid_none_none_tuple_as_n(self): assert got_exception def test_with_children_that_change_shapes_keep_size_false(self): - # test for https://github.com/aleju/imgaug/issues/143 + # test for https://github.com/marcown/imgaug/issues/143 # (shapes change in child augmenters, leading to problems if input # arrays are assumed to stay input arrays) image = np.zeros((8, 8, 3), dtype=np.uint8) @@ -7720,7 +7720,7 @@ def test___str___and___repr___with_nones_as_children(self): assert observed_repr == expected def test_shapes_changed_by_children__no_keep_size_non_stochastic(self): - # Test for https://github.com/aleju/imgaug/issues/143 + # Test for https://github.com/marcown/imgaug/issues/143 # (shapes change in child augmenters, leading to problems if input # arrays are assumed to stay input arrays) def _assert_all_valid_shapes(images):