dictionary learning of tissue patches wip