http://www.cs.berkeley.edu/~rbg/latent/