---
# System prepended metadata

title: Untitled

---

## Ideas/ToDos for batchgenerators 


### (Currently) Supported Augmentations
We supports a variety of augmentations, all of which are compatible with **2D and 3D input data**! (This is something
that was missing in most other frameworks).

* **Spatial Augmentations**
  * mirroring
  * channel translation (to simulate registration errors)
  * elastic deformations
  * rotations
  * scaling
  * resampling
* **Color Augmentations**
  * augment_contrast
  * augment_brightness_additive
  * augment_brightness_multiplicative
  * augment_gamma
  * augment_illumination
  * augment_PCA_shift
* **Noise Augmentations**
  * Gaussian Noise
  * Rician Noise
  * Gaussian Blur
  * Blank Square "Noise"
* **Cropping**
  * random crop
  * center crop
  * padding
* **Normalization Augmentations**
  * range normalization (Rescales samplewise)
  * zero_mean_unit_variance_normalization (Sample wise)
  * mean_std_normalization (Receives mean and var from user -> Dataset wide statistics)
  * cut_off_outliers


### Additional Feature requests
* Proper Documentation? Many Augmentations don't explain what they are doing properly!
    * Update the state of the Transformations and create an examplary notebook with Augmentation examples.
* BoundingBox Support
* Keypoint Support
* Rework the \_\_init\_\_.py files, Make it so intellij functions with package properly.
    * Currently mean_std_normalization is not found when tryint to import (doesn't throw runtime error though)

### Desired Augmentations

* **Spatial**
  * Morphological operations on segmentation e.g. binary dilation/ binary erosion
  
* **Color**

    Also see: https://arxiv.org/pdf/2002.05709.pdf (SimCLR)
    
    There aren't Colorchannels in 3D however we also support 2D Images -> Add some 2D specific images
    - [ ] Biasfields
    - [ ] RGBShift  (Most from albumentations -> Transfer most of them to be competitive)
    - [ ] ChannelShuffle
    - [ ] ToGray
    - [ ] HueSaturationValue
    - [ ] CLAHE (Constrast Limited Adaptive Histogram Equalization) 
    - [ ] JPGCompression
* **Noise**
    - [x] MedianBlur 
    - [ ] MotionBlur
    - [ ] Additive/MultiplicativeNoise?
    - [ ] ISONoise?
* **Cropping**
  * **Cutout Augmentation** (to be tested&pushed)  
      ~~God damnit they already did it but in noise instead of crop and pad?!?!?~~
    * However the current version does not support margins and no non-square masking regions!  
  * Add More Downsampling / Upsampling methods? Currently only has Linear Downsampling (Maybe handled by skimage and resize transform)
  * 
* **Normalization**
  * Add offset and scaling (Without dependence on maximum/minimum sample values)



