title: How to detect a image texture?
body: <p>So we have a photo like this</p>
  
  <p><a href="https://i.stack.imgur.com/6vpyP.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6vpyP.jpg" alt="alt text"></a><br>
  <sub>(source: <a href="http://cs343.vkontakte.ru/u17748582/91038418/x_631450c8.jpg" rel="nofollow noreferrer">vkontakte.ru</a>)</sub>  </p>
  
  <p>How to detect that a red wall has a white figure painted on it and that that white figure is a texture and than how to cut that wall from the picture? I need an algorithm for performing such operation programaticly (not by hand)</p>