This is of course a late response to this post, but hopefully it helps who stumbled upon this post.
Here is an article I found on the Internet Preprocessing image data for neural networks , although I, of course, wrote a well article on how to train the network.
The main point of the article is:
1) As data (images) not numerous in NN, it should be scaled in accordance with the size of the image for which NN is designed, usually it is a square, i.e. 100x100,250x250
2) Consider the MEAN (left image) and STANDARD DEVIATION (right image) values ββfor all input images in your collection of a specific image set

3) Normalization of the input image data is performed by subtracting the average value from each pixel, and then dividing the result by the standard deviation, which accelerates convergence during training of the network. It will look like a Gaussian curve centered at zero 
4) Dimension reduction An image from RGB in grayscale, the performance of a neural network can be unchanged with respect to this measurement or make the learning task more convenient for solving. 
source share