Skip navigation

Data: images of ex-president George W. Bush and monkeys

Data cleaning: crop out individual 50 by 50 image of each face, and then turn them into grayscale.

Usage: user select one of the faces, and it will be turned into a collage of all input faces.


  1. compute the average brightness of each input face
  2. replace each pixel of the selected face by one of the input faces that has the most similar brightness

Source code: download


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: