Recovering Intrinsic Images from a Single Image