title: iOS: Decompose UIImageView image into shapes and change their colors
body: <p>I have been making an iPhone App where I need to identify and decompose different shapes(e.g Wall, Chair, Book, etc..) in UIImageView's image and change their color. So far I have implemented code to allow user to select color and apply it to selected area (pixel base) using gesture recogniser but what I am looking for is far more than what I have done!</p>
  
  <p>Is it posible to detect the different shapes available in given image and change their color?</p>
  
  <p>Thanks.</p>