Recovering “lost dimensions” of images and video