title: Photo cleaning to compare with a texture catalog
body: <p>I'm implementing an application to search a photo in a catalog of textures comparing the histogram.</p>
  
  <p>In order to enhance the accuracy, What processes should I apply to the photo to normalize/clean it before the matching with the catalog?</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I added a actual photo made with the Android camera, and the desired match image that it's saved in the catalog.</p>
  
  <p>How can I process the photo to correct colors, enhance and made posible a better match with the catalog.</p>
  
  <p><img src="https://i.stack.imgur.com/zYTHy.jpg" alt="Photo"></p>
  
  <p><img src="https://i.stack.imgur.com/R1M2a.jpg" alt="Catalog"></p>