Methods and codes of data amplification data-augmentation

Source: Internet
Author: User
Tags keras

In order to amplify the data set, 2 ways are used to amplify the data.

1. Data enhancement processing using Keras

2. Data enhancement processing using Skimage


Keras includes processing, there is featurewise visual image will be slightly dimmed, samplewise visual image will become class X-ray image form, ZCA processing visual image will become gray image, rotation range randomly rotated image, horizontal translation, vertical translation, Error-cutting transformation, image scaling, picture of the overall color transformation, horizontal flip operation, up and down operation, Rescale.

The problem is that the image transformation is random, that is, the image may not be transformed.

Skimage data enhancement processing, with resize, gray,rescale,noise,flip,rotate, shift, Zoom,gaussian ZOOM,SHEAR,CONTRAST,CHANNELSHIFT,PCA, Polar

At present polar coordinates transform polar, there are some problems, that is, after the conversion only grayscale, to be solved.


See the following address for the relevant code. For reference.

GitHub Address: Https://github.com/renwoxing2016/data-augmentation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.