1. A method comprising: coding at least one holographic pattern recording a light signal representative of the light received by at least one perspective object in a scene, said coding comprising the following steps performed by a coding device: determining, from said light signal and for each point x j (1≦j≦M) of said holographic pattern, a set of N light rays passing through said point and corresponding respectively to N different viewing positions for viewing said pattern; generating, from the M sets of N determined light rays a plurality N of two-dimensional views of said object corresponding respectively to said N viewing positions of said pattern, by causing M determined rays to intersect at each of said viewing positions that are contained in a viewing plane parallel to a plane containing said holographic pattern; arranging said N generated views as a multi-view image of said object, said N views corresponding respectively to the sub-images of said multi-view image; and compressing said multi-view image.