-
Notifications
You must be signed in to change notification settings - Fork 15
Data cleaning & preprocessing
Basic scheme: https://drive.google.com/file/d/1ooGtgptBMmHt6cuFXs1TAkPeOpHFMQOL/view?usp=sharing
The first one is to transform the current images. The second one is to use GANs to produce new images
- Different styles of transformation:
light augmentation: only flipping etc. heavier augmentation (see light and heavier augmentation)
- GAN:
Use GAN to produce new images similar to the current images to feed them in the model.
- offline augmentation: Extend the present data set. The images will be transformed (for example with numpy) and stored.
- online augmentation (augmentation on the fly): Extend the data set on each mini-batch. The transformed images won't be stored physically and will be used in a subset in mini-batches. Set seed to make it reproducible.
- Use traditional transformation like flipping. Don't move the images because it can result in missing parts of the hand and lead to a not normal hand.
Data augmentation (medium) introduction
light and heavier augmentation
Using GANs to generate new data for x-ray
Using GANs to improve CNN classification
Data augmentation techniques II
-DOPING: Generative Data Augmentation for Unsupervised Anomaly Detection with GAN:
- "Show that our oversampling pipeline is a unified one: it is generally applicable to datasets with different complex data distributions. To the best of our knowledge, our method is the first data augmentation technique focused on improving performance in unsupervised anomaly detection. "
Image Augmentation Examples in Python: Medium. Numpy
Types of Data Augmentation: MXNet
DATA AUGMENTATION TECHNIQUES AND PITFALLS FOR SMALL DATASETS
Building powerful image classification models using very little data: Keras
Data augmentation in PyTorch: Forum
Data augmentation : boost your image dataset with few lines of Python: skimage
Data Augmentation for Computer Vision with PyTorch (Part 1: Image Classification)
Data Augmentation and Sampling for Pytorch
In order to crop XRAY images, preprocessing is done using the opencv library.
Rectangle shapes are found by using the opencv method findContours.
- Skewed rectangles are found and accepted by the algorithm as well.
- In case when a rectangle is skewed or part of the shape is not in the image, the minimal area rectangle is found around the shape to crop.
- When a big part of a rectangle is not in the image frames, there are problems with detecting it.