All Projects → hiroaki-santo → light-structure-from-pin-motion

hiroaki-santo / light-structure-from-pin-motion

Licence: other
This is the project page for our IJCV paper 'Light structure from pin motion: Geometric point light source calibration' by Hiroaki Santo, Michael Waechter, Wen-Yan Lin, Yusuke Sugano, and Yasuyuki Matsushita (An earlier version was presented in ECCV 2018).

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to light-structure-from-pin-motion

Libcbdetect
automatic sub-pixel checkerboard / chessboard / deltille pattern detection
Stars: ✭ 86 (+218.52%)
Mutual labels:  calibration
Stereo Vision
This program has been developed as part of a project at the University of Karlsruhe in Germany. The final purpose of the algorithm is to measure the distance to an object by combining two webcams and use them as a Stereo Camera.
Stars: ✭ 160 (+492.59%)
Mutual labels:  calibration
ACSC
Automatic Calibration for Non-repetitive Scanning Solid-State LiDAR and Camera Systems
Stars: ✭ 210 (+677.78%)
Mutual labels:  calibration
Laser Camera Calibration Toolbox
A Laser-Camera Calibration Toolbox extending from that at http://www.cs.cmu.edu/~ranjith/lcct.html
Stars: ✭ 99 (+266.67%)
Mutual labels:  calibration
Extrinsic lidar camera calibration
This is a package for extrinsic calibration between a 3D LiDAR and a camera, described in paper: Improvements to Target-Based 3D LiDAR to Camera Calibration. This package is used for Cassie Blue's 3D LiDAR semantic mapping and automation.
Stars: ✭ 149 (+451.85%)
Mutual labels:  calibration
Kalibr
The Kalibr visual-inertial calibration toolbox
Stars: ✭ 2,410 (+8825.93%)
Mutual labels:  calibration
Testing Video
Generator of test video files for testing your media playback devices and calibrate TV sets
Stars: ✭ 70 (+159.26%)
Mutual labels:  calibration
LiDARTag
This is a package for LiDARTag, described in paper: LiDARTag: A Real-Time Fiducial Tag System for Point Clouds
Stars: ✭ 161 (+496.3%)
Mutual labels:  calibration
Robot calibration
Generic calibration for robots
Stars: ✭ 154 (+470.37%)
Mutual labels:  calibration
Volumetriccapture
A multi-sensor capture system for free viewpoint video.
Stars: ✭ 243 (+800%)
Mutual labels:  calibration
Grl
Robotics tools in C++11. Implements soft real time arm drivers for Kuka LBR iiwa plus V-REP, ROS, Constrained Optimization based planning, Hand Eye Calibration and Inverse Kinematics integration.
Stars: ✭ 105 (+288.89%)
Mutual labels:  calibration
Arucounity
Bring augmented reality to Unity by tracking Aruco markers in real time.
Stars: ✭ 144 (+433.33%)
Mutual labels:  calibration
Pybotics
The Python Toolbox for Robotics
Stars: ✭ 192 (+611.11%)
Mutual labels:  calibration
Robot cal tools
A suite of tools focused on calibration of sensors for robotic workcell development
Stars: ✭ 96 (+255.56%)
Mutual labels:  calibration
UQ360
Uncertainty Quantification 360 (UQ360) is an extensible open-source toolkit that can help you estimate, communicate and use uncertainty in machine learning model predictions.
Stars: ✭ 211 (+681.48%)
Mutual labels:  calibration
Mads.jl
MADS: Model Analysis & Decision Support
Stars: ✭ 71 (+162.96%)
Mutual labels:  calibration
Anipose
🐜🐀🐒🚶 A toolkit for robust markerless 3D pose estimation
Stars: ✭ 162 (+500%)
Mutual labels:  calibration
calico
code for: Calibration of Asynchronous Camera Networks: CALICO
Stars: ✭ 52 (+92.59%)
Mutual labels:  calibration
pre-training
Pre-Training Buys Better Robustness and Uncertainty Estimates (ICML 2019)
Stars: ✭ 90 (+233.33%)
Mutual labels:  calibration
Ilcc
Intensity-based_Lidar_Camera_Calibration
Stars: ✭ 231 (+755.56%)
Mutual labels:  calibration

Light Structure from Pin Motion

This is the project page for our IJCV paper 'Light Structure from Pin Motion: Geometric point light source calibration' by Hiroaki Santo, Michael Waechter, Wen-Yan Lin, Yusuke Sugano, and Yasuyuki Matsushita. Here you can find a link to our preprint version.

An earlier version was presented at ECCV 2018: 'Light Structure from Pin Motion: Simple and Accurate Point Light Calibration for Physics-based Modeling' by Hiroaki Santo, Michael Waechter, Masaki Samejima, Yusuke Sugano, and Yasuyuki Matsushita. Here you can find links to our paper, supplemental material, and Youtube video.

If you use our papers or code for research purposes, please cite our papers:

@article{santo2020light,
	title = {Light structure from pin motion: Geometric point light source calibration},
	author = {Hiroaki Santo and Michael Waechter and Wen-Yan Lin and Yusuke Sugano and Yasuyuki Matsushita},
	journal = {International Journal of Computer Vision (IJCV)},
	doi = {10.1007/s11263-020-01312-3},
	year = {2020}
}

@inproceedings{santo2018light,
	title = {Light Structure from Pin Motion: Simple and Accurate Point Light Calibration for Physics-based Modeling},
	author = {Hiroaki Santo and Michael Waechter and Masaki Samejima and Yusuke Sugano and Yasuyuki Matsushita},
	booktitle = {European Conference on Computer Vision (ECCV)},
	year = {2018}
}

How to Run

You can get help on how to run the code:

$ python calibration.py --help

Simulation

One example call for generating a synthetic dataset and solving it would be

$ python calibration.py --sim_type near --pin_num 5 --sim_pose_num 10 --sim_noise_shadow 0.01 --sim_board_distance 500

The program outputs the ground truth as well as the estimated result for the light position/direction and the pin head positions.

Real-world data

Data Preparation

You need to prepare following files:

  • Images (*.png)
  • board_size.txt (Information of 2D marker. Two lines text file: Length of a marker and separation.)
  • params_*.npz (Result of camera calibration. Keywords with intrinsic and dist (distortion) should be provided.)

Please put all of them into one directory (DATA_PATH).

(Camera Calibration)

We provide calibration_camera_aruco.py for camera calibration with ArUco markers. You can use images of our calibration target, but we recommend to use the calibration target with full markers for the camera.

$ python calibration_camera_aruco.py -i IMAGES_DIR

Pre-processing

Detecting 2D markers and shadows by using following two codes. Output files are stored to DATA_PATH.

$ python detect_markers.py -i DATA_PATH
$ python detect_shadows.py -i DATA_PATH

Our shadow detection method uses a simple template-matching technique. The program outputs the images to ./DATA_PATH/tmp which illustrate the detected shadow points.

Estimation

$ python calibration.py -i DATA_PATH

The program outputs the estimated light source position/direction and the pin head positions.

The file methods.py contains the functions that estimate the light source and pin head positions from projected_points (the shadow positions), Rs (the various rotations of the calibration board), and tvecs (translations of the calibration board).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].