Disparity and Depth Image for Stereo Vision
Last updated
Last updated
Stereo processing: The node performs the duties of for a pair of cameras co-calibrated for stereo vision. It also uses stereo processing to produce disparity images and point clouds.
Disparity Image can be found using different algorithms, such as block-matching algorithm.
Do this step if you have not gotten a yaml file from the camera calibration process.
Luckily, image_pipeline provides a stereo_image_proc package that contains the launch file “stereo_image_proc.launch.py” that creates the following:
debayer node and rectifier nodes to perform processing for left and right cameras
disparity node that performs block matching to create disparity image (publishes to /disparity)
pointcloud node that subscribes to /disparity and publishes pointcloud2 message which can be used to create 3D maps at a later stage
stereo_image_proc.launch.py: launches stereo processing nodes + disparity node + pointcloud node
Some Examples:
Depth processing: provides nodelets for processing depth images (as produced by the , time-of-flight cameras, etc.), such as producing point clouds.\
depth_image_proc provides basic processing for depth images, much as does for traditional 2D images