Amodal completion and shape approximation