A system for determining extrinsic parameters of a plurality of cameras (402, 404), the system comprising: a plurality of diffractive optical elements (502, 504); a plurality of cameras (402, 404) configured to remain in an eye box (508, 510) of each one of the plurality of diffractive optical elements (502, 504) when the plurality of cameras (402, 404) are positioned at a first position, a second position and a third position relative to the plurality of diffractive optical elements (502, 504); and a processor coupled to the plurality of cameras (402, 404) to receive image data from the plurality of cameras (402, 404), wherein the processor stores executable instructions that, when executed by the processor, cause the processor to: at each one of the first position, the second position and the third position: receive a plurality of images from the plurality of cameras (402, 404), wherein each one of the plurality of cameras (402, 404) takes at least one image when positioned at each one of the first position, the second position and the third position; for each image, identify data pairs, each data pair including pixel coordinates of an intensity peak in the image and virtual light source produced by the diffractive optical element (502, 504) that corresponds to the intensity peak; determine extrinsic parameters of the plurality of cameras (402, 404) using the identified data pairs for each image; determine extrinsic parameters of the plurality of diffractive optical elements (502, 504), using the identified data pairs for each image at each one of the first position, the second position and the third position, the system characterized in that the extrinsic parameters of the plurality of diffractive optical elements (502, 504) map a coordinate system of a given diffractive optical element (502, 504) of the plurality of diffractive optical elements (502, 504) to coordinate systems of other diffractive optical elements (502, 504) of the plurality of diffractive optical elements (502, 504). a plurality of diffractive optical elements (502, 504); a plurality of cameras (402, 404) configured to remain in an eye box (508, 510) of each one of the plurality of diffractive optical elements (502, 504) when the plurality of cameras (402, 404) are positioned at a first position, a second position and a third position relative to the plurality of diffractive optical elements (502, 504); and a processor coupled to the plurality of cameras (402, 404) to receive image data from the plurality of cameras (402, 404), wherein the processor stores executable instructions that, when executed by the processor, cause the processor to: at each one of the first position, the second position and the third position: receive a plurality of images from the plurality of cameras (402, 404), wherein each one of the plurality of cameras (402, 404) takes at least one image when positioned at each one of the first position, the second position and the third position; for each image, identify data pairs, each data pair including pixel coordinates of an intensity peak in the image and virtual light source produced by the diffractive optical element (502, 504) that corresponds to the intensity peak; determine extrinsic parameters of the plurality of cameras (402, 404) using the identified data pairs for each image; determine extrinsic parameters of the plurality of diffractive optical elements (502, 504), using the identified data pairs for each image at each one of the first position, the second position and the third position, the system characterized in that the extrinsic parameters of the plurality of diffractive optical elements (502, 504) map a coordinate system of a given diffractive optical element (502, 504) of the plurality of diffractive optical elements (502, 504) to coordinate systems of other diffractive optical elements (502, 504) of the plurality of diffractive optical elements (502, 504). receive a plurality of images from the plurality of cameras (402, 404), wherein each one of the plurality of cameras (402, 404) takes at least one image when positioned at each one of the first position, the second position and the third position; for each image, identify data pairs, each data pair including pixel coordinates of an intensity peak in the image and virtual light source produced by the diffractive optical element (502, 504) that corresponds to the intensity peak; determine extrinsic parameters of the plurality of cameras (402, 404) using the identified data pairs for each image; determine extrinsic parameters of the plurality of diffractive optical elements (502, 504), using the identified data pairs for each image at each one of the first position, the second position and the third position, the system characterized in that the extrinsic parameters of the plurality of diffractive optical elements (502, 504) map a coordinate system of a given diffractive optical element (502, 504) of the plurality of diffractive optical elements (502, 504) to coordinate systems of other diffractive optical elements (502, 504) of the plurality of diffractive optical elements (502, 504).