# imgaug
**Repository Path**: miracle111/imgaug
## Basic Information
- **Project Name**: imgaug
- **Description**: Image augmentation for machine learning experiments.
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-05-30
- **Last Updated**: 2021-11-03
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# imgaug
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.
[](https://travis-ci.org/aleju/imgaug)
[](https://codecov.io/gh/aleju/imgaug)
[](https://www.codacy.com/app/aleju/imgaug?utm_source=github.com&utm_medium=referral&utm_content=aleju/imgaug&utm_campaign=Badge_Grade)
| meta |
| Identity |
ChannelShuffle |
|
|
|
 |
 |
|
|
|
| See also: Sequential, SomeOf, OneOf, Sometimes, WithChannels, Lambda, AssertLambda, AssertShape, RemoveCBAsByOutOfImageFraction, ClipCBAsToImagePlanes |
| arithmetic |
| Add |
Add (per_channel=True) |
AdditiveGaussianNoise |
AdditiveGaussianNoise (per_channel=True) |
Multiply |
 |
 |
 |
 |
 |
| Cutout |
Dropout |
CoarseDropout (p=0.2) |
CoarseDropout (p=0.2, per_channel=True) |
Dropout2d |
 |
 |
 |
 |
 |
| SaltAndPepper |
CoarseSaltAndPepper (p=0.2) |
Invert |
Solarize |
JpegCompression |
 |
 |
 |
 |
 |
| See also: AddElementwise, AdditiveLaplaceNoise, AdditivePoissonNoise, MultiplyElementwise, TotalDropout, ReplaceElementwise, ImpulseNoise, Salt, Pepper, CoarseSalt, CoarsePepper, Solarize |
| artistic |
| Cartoon |
|
|
|
|
 |
|
|
|
|
| blend |
BlendAlpha with EdgeDetect(1.0) |
BlendAlphaSimplexNoise with EdgeDetect(1.0) |
BlendAlphaFrequencyNoise with EdgeDetect(1.0) |
BlendAlphaSomeColors with RemoveSaturation(1.0) |
BlendAlphaRegularGrid with Multiply((0.0, 0.5)) |
 |
 |
 |
 |
 |
| See also: BlendAlphaMask, BlendAlphaElementwise, BlendAlphaVerticalLinearGradient, BlendAlphaHorizontalLinearGradient, BlendAlphaSegMapClassIds, BlendAlphaBoundingBoxes, BlendAlphaCheckerboard, SomeColorsMaskGen, HorizontalLinearGradientMaskGen, VerticalLinearGradientMaskGen, RegularGridMaskGen, CheckerboardMaskGen, SegMapClassIdsMaskGen, BoundingBoxesMaskGen, InvertMaskGen |
| blur |
| GaussianBlur |
AverageBlur |
MedianBlur |
BilateralBlur (sigma_color=250, sigma_space=250) |
MotionBlur (angle=0) |
 |
 |
 |
 |
 |
MotionBlur (k=5) |
MeanShiftBlur |
|
|
|
 |
 |
|
|
|
| collections |
| RandAugment |
|
|
|
|
 |
|
|
|
|
| color |
| MultiplyAndAddToBrightness |
MultiplyHueAndSaturation |
MultiplyHue |
MultiplySaturation |
AddToHueAndSaturation |
 |
 |
 |
 |
 |
| Grayscale |
RemoveSaturation |
ChangeColorTemperature |
KMeansColorQuantization (to_colorspace=RGB) |
UniformColorQuantization (to_colorspace=RGB) |
 |
 |
 |
 |
 |
| See also: WithColorspace, WithBrightnessChannels, MultiplyBrightness, AddToBrightness, WithHueAndSaturation, AddToHue, AddToSaturation, ChangeColorspace, Posterize |
| contrast |
| GammaContrast |
GammaContrast (per_channel=True) |
SigmoidContrast (cutoff=0.5) |
SigmoidContrast (gain=10) |
LogContrast |
 |
 |
 |
 |
 |
| LinearContrast |
AllChannels- HistogramEqualization |
HistogramEqualization |
AllChannelsCLAHE |
CLAHE |
 |
 |
 |
 |
 |
| See also: Equalize |
| convolutional |
Sharpen (alpha=1) |
Emboss (alpha=1) |
EdgeDetect |
DirectedEdgeDetect (alpha=1) |
|
 |
 |
 |
 |
|
| See also: Convolve |
| debug |
| See also: SaveDebugImageEveryNBatches |
| edges |
| Canny |
|
|
|
|
 |
|
|
|
|
| flip |
| Fliplr |
Flipud |
|
 |
 |
|
| See also: HorizontalFlip, VerticalFlip |
| geometric |
| Affine |
Affine: Modes |
|
 |
 |
|
| Affine: cval |
PiecewiseAffine |
|
 |
 |
|
| PerspectiveTransform |
ElasticTransformation (sigma=1.0) |
|
 |
 |
|
ElasticTransformation (sigma=4.0) |
Rot90 |
|
 |
 |
|
WithPolarWarping +Affine |
Jigsaw (5x5 grid) |
|
 |
 |
|
| See also: ScaleX, ScaleY, TranslateX, TranslateY, Rotate |
| imgcorruptlike |
| GlassBlur |
DefocusBlur |
ZoomBlur |
Snow |
Spatter |
 |
 |
 |
 |
 |
| See also: GaussianNoise, ShotNoise, ImpulseNoise, SpeckleNoise, GaussianBlur, MotionBlur, Fog, Frost, Contrast, Brightness, Saturate, JpegCompression, Pixelate, ElasticTransform |
| pillike |
| Autocontrast |
EnhanceColor |
EnhanceSharpness |
FilterEdgeEnhanceMore |
FilterContour |
 |
 |
 |
 |
 |
| See also: Solarize, Posterize, Equalize, EnhanceContrast, EnhanceBrightness, FilterBlur, FilterSmooth, FilterSmoothMore, FilterEdgeEnhance, FilterFindEdges, FilterEmboss, FilterSharpen, FilterDetail, Affine |
| pooling |
| AveragePooling |
MaxPooling |
MinPooling |
MedianPooling |
|
 |
 |
 |
 |
|
| segmentation |
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) |
|
|
|
|
 |
|
|
|
|
| See also: Voronoi, RelativeRegularGridVoronoi, RegularGridPointsSampler, RelativeRegularGridPointsSampler, DropoutPointsSampler, UniformPointsSampler, SubsamplingPointsSampler |
| size |
| CropAndPad |
Crop |
|
 |
 |
|
| Pad |
PadToFixedSize (height'=height+32, width'=width+32) |
|
 |
 |
|
CropToFixedSize (height'=height-32, width'=width-32) |
|
|
|
 |
|
|
|
| See also: Resize, CropToMultiplesOf, PadToMultiplesOf, CropToPowersOf, PadToPowersOf, CropToAspectRatio, PadToAspectRatio, CropToSquare, PadToSquare, CenterCropToFixedSize, CenterPadToFixedSize, CenterCropToMultiplesOf, CenterPadToMultiplesOf, CenterCropToPowersOf, CenterPadToPowersOf, CenterCropToAspectRatio, CenterPadToAspectRatio, CenterCropToSquare, CenterPadToSquare, KeepSizeByResize |
| weather |
FastSnowyLandscape (lightness_multiplier=2.0) |
Clouds |
Fog |
Snowflakes |
Rain |
 |
 |
 |
 |
 |
| See also: CloudLayer, SnowflakesLayer, RainLayer |