A method for generating a three-dimensional video stream by starting from a sequence of video images, said sequence comprising a first view (V 0), at least one second view (V 1) of a scene, as well as a depth map (D 0) of said first view (V 0), or a disparity map of said at least one second view (V 1) with respect to said first view (V C), the method comprising, for one image, the following steps: - determining at least one first occlusion map (OM 0,1) of at least one first estimated sequence (Vsyn 1) of said at least one second view (V 1), wherein said first occlusion map (OM 0,1) comprises a representation of the positions of the occluded pixels of said at least one second view (V 1); - determining at least one occlusion image (O 1) including said occluded pixels of said at least one second view (V 1), said pixels having values corresponding to those of said at least one second view (V 1) of said image in positions corresponding to those of the occlusions represented in said at least one first occlusion map (OM 0,1), wherein said occluded pixels are present within said at least one occlusion image in form of regions of occluded pixels (A, B, C, D, E); - determining a spatial compaction of said at least one occlusion image (O 1), by moving at least one first of said regions (A, B, C, D, E) towards at least a second of said regions (A, B, C, D, E) within said at least one occlusion image (O 1); - obtaining at least one compacted occlusion image (OC 1) of said at least one second view (V 1) through said spatial compaction of said occluded regions of said at least one occlusion image (O 1); - said three-dimensional video stream comprising, for one image, said first view (V 0), said depth map (D 0) or said disparity map, and said at least one compacted occlusion image (OC 1). - determining at least one first occlusion map (OM 0,1) of at least one first estimated sequence (Vsyn 1) of said at least one second view (V 1), wherein said first occlusion map (OM 0,1) comprises a representation of the positions of the occluded pixels of said at least one second view (V 1); - determining at least one occlusion image (O 1) including said occluded pixels of said at least one second view (V 1), said pixels having values corresponding to those of said at least one second view (V 1) of said image in positions corresponding to those of the occlusions represented in said at least one first occlusion map (OM 0,1), wherein said occluded pixels are present within said at least one occlusion image in form of regions of occluded pixels (A, B, C, D, E); - determining a spatial compaction of said at least one occlusion image (O 1), by moving at least one first of said regions (A, B, C, D, E) towards at least a second of said regions (A, B, C, D, E) within said at least one occlusion image (O 1); - obtaining at least one compacted occlusion image (OC 1) of said at least one second view (V 1) through said spatial compaction of said occluded regions of said at least one occlusion image (O 1); - said three-dimensional video stream comprising, for one image, said first view (V 0), said depth map (D 0) or said disparity map, and said at least one compacted occlusion image (OC 1).