In the example we used: depthFrame[i, j] / 16384f; This means that we divided the depth by 16384 millimeters (approximately ~16 meters) to get an approximation to the normalized values (many sensors work up to 16 meters and we thought that this would be enough).