This code contains algorithm to pop up a 3D plane model from images. Given a RGB and ground segmentation image, the algorithm detects edges and selecs the ground-wall boundary edges then pops up 3D point cloud.
NOTE It is updated and extended to multi-view pop-up plane slam. See the pop_up_wall
package there.
Authors: Shichao Yang
Related Paper:
If you use the code in your research work, please cite the above paper. Please do not hesitate to contact the authors if you have any further questions.
This code contains several ros packages. We test it in ROS indigo/kinetic, Ubuntu 14.04/16.04, Opencv 2/3. Create or use existing a ros workspace.
mkdir -p ~/popup_ws/src
cd ~/popup_ws/src
catkin_init_workspace
git clone git@github.com:shichaoy/pop_up_image.git
cd pop_up_image
sh install_dependenices.sh
cd ~/popup_ws
catkin_make
source devel/setup.bash
roslaunch pop_up_wall pop_main_sample.launch
You will see point cloud in Rviz. Change the image id in the launch file to test more examples stored under pop_up_wall/data.