1. A method for use at a computing device, the method for transmitting image data for a stereoscopic view of an image, the method comprising: receiving the image of one or more objects, wherein the image is a two-dimensional image with a superimposed spatial light pattern; generating depth data associated with the image based on at least a degree of blur of the superimposed spatial light pattern within the image, wherein the blur of the superimposed spatial light pattern within the image increases in a first depth direction of the image and decreases in a second depth direction of the image, and wherein generating the depth data associated with the image comprises: dividing the image into a plurality of blocks; for each block included in the plurality of blocks, obtaining a frequency component for the block; and detecting a local maximum of a spectrum attributable to the superimposed spatial light pattern by adding the frequency components for each block of the plurality of blocks together; and providing the image together with the depth data to enable the stereoscopic view of the image.