A non-transitory computer-readable medium having instructions that, when executed by a control circuit of a camera image processing system, causes the control circuit:
- to receive a first depth map, wherein the first depth map is received from the non-transitory computer-readable medium of the camera image processing system, or via a communication interface of the camera image processing system, wherein the communication interface is configured to communicate with a first camera that has a first camera field of view, and wherein the first depth map is generated based on information sensed by the first camera with which the communication interface is configured to communicate, and wherein the first depth map includes a first set of coordinates that represent a first set of respective physical locations in the first camera field of view and that indicate a first set of respective depth values for the first set of respective physical locations, wherein the first set of respective depth values are relative to the first camera with which the communication interface is configured to communicate;
- to receive a second depth map, wherein the second depth map is received from the non-transitory computer-readable medium of the camera image processing system, or via the communication interface of the camera image processing system, wherein the communication interface is configured to communicate with a second camera that has a second camera field of view which overlaps with the first camera field of view, and wherein the second depth map is generated based on information sensed by the second camera with which the communication interface is configured to communicate, wherein the second depth map includes a second set of coordinates that represent a second set of respective physical locations in the second camera field of view and that indicate a second set of respective depth values for the second set of respective physical locations, wherein the second set of respective depth values are relative to the second camera with which the communication interface is configured to communicate;
- to identify a third set of coordinates of the first depth map that also represent the second set of respective physical locations, such that the third set of coordinates correspond to the second set of coordinates of the second depth map;
- to identify one or more empty coordinates from the third set of coordinates, wherein each empty coordinate of the one or more empty coordinates is a coordinate of the first depth map that has no depth value assigned to the coordinate;
- and
- to update the first depth map by assigning to each empty coordinate of the one or more empty coordinates a respective depth value that is based on a depth value of a corresponding coordinate of the second set of coordinates of the second depth map, wherein the corresponding coordinate for the empty coordinate is a coordinate of the second set of coordinates of the second depth map that represents a same physical location as the empty coordinate.