1. A method of receiving an image data stream, the method comprising: receiving an image data stream comprising at least one image data period, wherein each of the at least one image data period comprises one of a two dimensional (2D) image data and a three dimensional (3D) image data; extracting at least one local 3D image parameter of the at least one image data period, from the image data stream; and restoring at least one of a 2D image and a 3D image by using the at least one local 3D image parameter, wherein the 3D image is based on a first image and a second image, and wherein the at least one local 3D image parameter comprises stereoscopic arrangement information indicating an arrangement of the first and the second images.