Please check our project page for details.
If you use this code for your academic research, please cite the following paper.
@article{komatsu2020fvp,
title={Free viewpoint image generation system using fisheye cameras and a laser rangefinder for indoor robot teleoperation},
author={Komatsu, Ren and Fujii, Hiromitsu and Tamura, Yusuke and Yamashita, Atsushi and Asama, Hajime},
journal={ROBOMECH Journal},
volume={7},
number={15},
pages={1--10},
year={2020},
publisher={Springer}
}
Windows: Visual Studio 2015, 2017, 2019
Ubuntu16.04
Please install OpenCV first.
Clone repository:
git clone --recurse-submodules https://github.com/matsuren/fvp_viewer.git
After that, run build_script_win.bat
for Visual Studio 2019.
(If you use Visual Studio 2015 or 2017, please change GENERATOR_NAME
in build_script_win.bat
.)
Please install OpenCV first.
git clone --recurse-submodules https://github.com/matsuren/fvp_viewer.git
cd fvp_viewer
sh build_script_ubuntu.sh
cd build/example
./simple_example
git clone --recurse-submodules https://github.com/matsuren/fvp_viewer.git
cd fvp_viewer
sh build_script_ubuntu.sh
sudo make install
cd ../ros
catkin_make
source devel/setup.bash
rosparam set /fvp_viewer/config $fvp_viewer/config_FVP_parameters.json
rosrun fvp_viewer fvp_node
After running fvp_node, please publish LaserScan (/scan
) and images (/camera{i}/image_raw
).
git clone --recurse-submodules https://github.com/matsuren/fvp_viewer.git
cd fvp_viewer
sh build_script_ubuntu.sh
sudo make install
cd ../ros2
colcon build
source install/local_setup.bash
ros2 run fvp_viewer fvp_node --ros-args -p config:=../config_FVP_parameters.json
After running fvp_node, please publish LaserScan (/scan
) and images (/camera{i}/image_raw
).
- Attach four fisheye cameras and a LRF on a robot.
- Estimate the poses of the cameras, the LRF, and the robot model using our calibration program.
The structure of data
folder is the followings:
data/
├── calib_results_{i}.txt (The intrinsic parameter of the fisheye cameras estimated by OcamCalib
├── img{i}.jpg (Fisheye images that were used for our calibration program)
├── urg_xy.csv (LRF measurement that was used for our calibration program)
├── final_camera_poses.yml (Fisheye camera poses estimated using our calibration program)
├── lrf_align_matrix.yml (LRF pose estimated using our calibration program)
└── robot_align_matrix.yml (Robot model pose estimated using our calibration program)
You can modify the serial number of the cameras, the COM port for LRF, etc. in config_FVP_parameters.json
.