A Picture is Worth…. 140 Words
Thursday, May 21st, 2009Came across this interesting project today - the goal is to devise a scheme to compress an image so that it can be transmitted in a single tweet, which comprises a mere 140 characters - barely long enough to describe the four course meal you’re part way through consuming.
To illustrate the magnitude of the task at hand, that opening paragraph weighs in at about two tweets. Quasimondo’s solution utilises some neat tricks.
Firstly using Chinese characters increases the available storage as the set is larger than the standard western character set (which presumably enables anyone fluent in Cantonese to exchange essays over twitter).
The clever part as far as I’m concerned is the decoded image is generated using the Voronoi tessellation, which means each of the multi-sided shapes that make up the image can stored as a single point with x and y coordinates (plus a colour).
This enables large and potentially complex regions to be transmitted very efficiently. This does, however require the careful placing of points to generate salient shapes, whereupon the next clever idea is utilised. The points, or ’seeds’ are generated randomly at first and then mutated over many generations of a genetic algorithm to find the arrangement that best replicates the original image.
Click the thumbnail for a more complete description from the man himself.
MG


