Neural Network algorithm Learning---Preprocessing of image data 1

Source: Internet
Author: User


An example of image recognition based on convolutional neural network is the preprocessing of input image in common use.

Step1:resize

STEP2: Go to mean value. It should be noted here that the average is calculated for all training sample images, and then the average is subtracted from each sample picture. The test picture is also subtracted from the mean when it is preprocessed (note that it is not the mean of the minus test picture, but the average of all training sample images)


Normalization Processing: Image processing applications generally do not need to be normalized, because the RGB channel data range has been 0~255, is inherently normalized, so there is no need for normalization processing.


PCA dimensionality Reduction Processing: When the data volume is large, it can be reduced by PCA to reduce the computational amount and improve the processing speed. But in the image processing application, because the general first carries on the image resize processing, reduces the data quantity, therefore generally does not need to carry on the PCA dimensionality reduction processing.



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.