title: Image processing ideas
body: <p>Recently I've been messing about with algorithms on images, partly for fun and partly to keep my programming skills sharp.</p>
  
  <p>I've just implemented a 'nearest-neighbour' algorithm that picks n random pixels in an image, and then converts the colour of each other pixel in the image to the colour of its nearest neighbour in the set of n chosen pixels. The result is a kind of "frosted glass" effect on the image, for a reasonably large value of n (if n is too small then the image gets blocky).</p>
  
  <p>I'm just wondering if anyone has any other good/fun algorithms on images that might be interesting to implement?</p>
  
  <p>Tom</p>