Total Variation Homotopy