AirSim icon indicating copy to clipboard operation
AirSim copied to clipboard

Disparity Normalized

Open zaddan opened this issue 9 years ago • 1 comments

ROS messages of the type stereo_msgs/DisparityImage are not normalized. Based on the API description, DisparityNormalized uses the following equation (Xl - Xr)/Xmax for normalization. What is the value of Xmax? 255?

zaddan avatar Nov 02 '17 02:11 zaddan

disp = f * b / z where f = w/(2*tan fov), b is distance between cams = 0.25m. We normalize disparity by dividing by width so output is 0 to 1. Currently FOV = 90, width = 255, f * b/width = 0.125.

sytelus avatar Nov 13 '17 23:11 sytelus