1. A method comprising: receiving N light field (LF) images from which multi-view images can be generated at different angles, and each LF image overlapping its adjacent LF image; selecting a view of a first multi-view image of LF image i as a reference view; registering view images of the adjacent LF image with the selected reference view by calculating perspectivity of pairs of each view of the adjacent LF image and the reference view image and embedding each perspectivity in a registration matrix, wherein registering view images comprises finding a correspondence between corner points of a respective view of the adjacent LF image and the reference view image in an overlap region; warping view images of the adjacent LF image based on the registration matrix in order to align the view images; determining parallax error for each view image of the adjacent LF image as a sum of an absolute difference between each warped view image of the adjacent LF image and the reference view in the overlap region; and storing the parallax error between the reference view of LF image i and each view of the adjacent LF image(i+1) in a three dimensional trellis.