Answers.Body: <p>Let me answer your question in two parts.</p>
  
  <ol>
  <li>If the Network is to be trained on images with <strong>high detail information</strong>(<em>content</em>); like, if you want to train a Network capable enough to pick and classify even <strong>smallest of the elements</strong> in that image. 
  <br>Eg- An image in a family picnic and you want to classify each fruit in the basket lying on the table, which would only acquire about 5% of total image space.
  <br>
  If you decrease the pixel resolution(<em>compress pixel information</em>) of such an image then you would end up blurring the basket part(<em>due to information overlap</em>) and <strong>would highly affect your Network; lead to bad trained parameters.</strong>
  <br><em>Note-The fruit basket is not only the single object in focus for classifier, would also include other things in background(trees, landscape...), thus you would require the whole image for training.</em>
  <br><br>
  2.When the object to classify contains <strong>redundant</strong> (<em>or less distinctive</em>) <strong>information</strong>.
  <br>Eg- The most trivial use of NN to train on a set of characters (<em>[a-z0-9]</em>); now high pixel resolution of such images wouldn't do any benefit to the Network. The improvement in classification for <strong>High density images will be minimal in comparison to the overhead experienced due to storage and training time</strong>(<em>high training time does not affect your network and is not a criteria to measure the accuracy of your network, i.e. to say a network with high training time and low training time are equivalent</em>).
  <br>We can easily reduce the pixel densities to the point where still we can retain the desired information.
  <br><em>Note- In the picnic image, our focus is only on the basket, so we can cut out that part from the frame and reduce it's pixel to an extent where each fruits still retains it's information, no information leakage.</em></li>
  </ol>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-26T05:18:28.487Z
Answers.LastActivityDate: 2017-09-26T08:14:16.003Z
Answers.LastEditDate: 2017-09-26T08:14:16.003Z
Answers.UserDisplayName: Karan Chopra
Answers.Body: <p>For most of the current use cases, where NNs are used in conjunction with images, the image quality (resolution, color depth) can be low.</p>
  
  <p>Consider image classification for example. The CNN extracts features from the image to tell different types of objects apart. Those features are pretty independent from the quality of the image (in reasonable bounds). Compare it with your own visual experience. Try to reduce the resolution of an image of a car step by step to figure out how little details you need until you can no longer distinguish it from a plane. This is similar to modern CNNs, which can even outperform human vision in some regards.</p>
  
  <p>This changes when small details start to matter. Maybe you need to be able to detect small differences in fur patterns to tell different cat breeds apart. As soon as you lose those details, the detection rate will drop significantly.</p>
  
  <p>So the answer to your question is, it depends. As long as you do not lose the important features of the image, you'll be fine with low resolution.</p>
  
  <hr>
  
  <p>In case you care about the reason for the low quality of images used in machine learning - The resolution is an easy factor you can manipulate to scale the speed of your NN. Decreasing resolution will reduce the computational demands significantly.</p>
  
  <p>Many CNNs even include pooling layers in their architecture, which artificially reduce the resolution further after certain processing steps. This is usually a good idea as long as you are fine with loosing positional information. You shouldn't do this when teaching the CNN to play a game, because location is highly important, but for image classification this has become an established method to increase performance.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-26T05:13:28.930Z
Answers.LastActivityDate: 2017-09-26T05:13:28.930Z
Answers.UserDisplayName: Demento
Body: <p>I just got into AI few months ago. I noticed most of the images in training datasets are usually low quality( almost pixelated). </p>
  
  <p>Does the quality of training images affect the accuracy of the neural network? </p>
  
  <p>I tried googling, but I couldn't find an answer.</p>
  
Tags: <neural-networks><machine-learning><datasets><performance>
Title: Does the quality of training images affect the accuracy of the neural network?
UserDisplayName: Jerry U
ThreadText: # Does the quality of training images affect the accuracy of the neural network?
  
  (Asked by: username_0 on 2017-09-25)
  
  I just got into AI few months ago. I noticed most of the images in training datasets are usually low quality( almost pixelated).
  
  Does the quality of training images affect the accuracy of the neural network?
  
  I tried googling, but I couldn't find an answer.
  
  **Tags:** neural-networks, machine-learning, datasets, performance
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2017-09-26. Score: 3 | Accepted answer
  
  For most of the current use cases, where NNs are used in conjunction with images, the image quality (resolution, color depth) can be low.
  
  Consider image classification for example. The CNN extracts features from the image to tell different types of objects apart. Those features are pretty independent from the quality of the image (in reasonable bounds). Compare it with your own visual experience. Try to reduce the resolution of an image of a car step by step to figure out how little details you need until you can no longer distinguish it from a plane. This is similar to modern CNNs, which can even outperform human vision in some regards.
  
  This changes when small details start to matter. Maybe you need to be able to detect small differences in fur patterns to tell different cat breeds apart. As soon as you lose those details, the detection rate will drop significantly.
  
  So the answer to your question is, it depends. As long as you do not lose the important features of the image, you'll be fine with low resolution.
  
  ---
  
  In case you care about the reason for the low quality of images used in machine learning - The resolution is an easy factor you can manipulate to scale the speed of your NN. Decreasing resolution will reduce the computational demands significantly.
  
  Many CNNs even include pooling layers in their architecture, which artificially reduce the resolution further after certain processing steps. This is usually a good idea as long as you are fine with loosing positional information. You shouldn't do this when teaching the CNN to play a game, because location is highly important, but for image classification this has become an established method to increase performance.
  
  
  ---
  
  ### Answer by username_1 on 2017-09-26. Score: 1
  
  Let me answer your question in two parts.
  
  1. If the Network is to be trained on images with **high detail information**(*content*); like, if you want to train a Network capable enough to pick and classify even **smallest of the elements** in that image.
       
     Eg- An image in a family picnic and you want to classify each fruit in the basket lying on the table, which would only acquire about 5% of total image space.
       
     If you decrease the pixel resolution(*compress pixel information*) of such an image then you would end up blurring the basket part(*due to information overlap*) and **would highly affect your Network; lead to bad trained parameters.**
       
     *Note-The fruit basket is not only the single object in focus for classifier, would also include other things in background(trees, landscape...), thus you would require the whole image for training.*
       
       
     2.When the object to classify contains **redundant** (*or less distinctive*) **information**.
       
     Eg- The most trivial use of NN to train on a set of characters (*[a-z0-9]*); now high pixel resolution of such images wouldn't do any benefit to the Network. The improvement in classification for **High density images will be minimal in comparison to the overhead experienced due to storage and training time**(*high training time does not affect your network and is not a criteria to measure the accuracy of your network, i.e. to say a network with high training time and low training time are equivalent*).
       
     We can easily reduce the pixel densities to the point where still we can retain the desired information.
       
     *Note- In the picnic image, our focus is only on the basket, so we can cut out that part from the frame and reduce it's pixel to an extent where each fruits still retains it's information, no information leakage.*
  
  
  ---
  
  