The disclosure provides an approach for generating a sparse representation of a
light field. In one configuration, a sparse representation application receives a
light field constructed from multiple images, and samples and stores a set of line segments originating at various locations in epipolar-plane images (EPI), until the EPIs are entirely represented and redundancy is eliminated to the extent possible. In addition, the sparse representation application determines and stores difference EPIs that account for variations in the
light field. Taken together, the line segments and the difference EPIs compactly store all
relevant information that is necessary to reconstruct the full 3D light field and extract an arbitrary input image with a corresponding
depth map, or a full 3D
point cloud, among other things. This concept also generalizes to higher dimensions. In a 4D light field, for example, the principles of eliminating redundancy and storing a difference volume remain valid.