4 releases (2 breaking)

new 0.3.0 Dec 2, 2024
0.2.1 Dec 2, 2024
0.2.0 Dec 2, 2024
0.1.0 Dec 2, 2024

#253 in Robotics

Download history 342/week @ 2024-11-27

342 downloads per month
Used in camera-intrinsic-calibrat…

Apache-2.0

56KB
1.5K SLoC

camera-intrinsic-model

crate

A pure rust camera intrinsic model library. Including

  • project / unproject points
  • undistort and remap image

Supported camera models are

  • Extended Unified (EUCM)
  • Extended Unified with Tangential (EUCMT)
  • Unified Camera Model (UCM)
  • Kannala Brandt (KB4) aka OpenCV Fisheye
  • OpenCV (OPENCV5) aka plumb_bob in ROS
  • F-theta (FTHETA) by NVidia

For calibration to get the precise parameters. Please use camera-intrinsic-calibration

Examples

# undistort and remap
cargo run -r --example remap

# undistort and rectify
cargo run -r --example stereo_rectify

Acknowledgements

Links:

Papers:

  • Usenko, Vladyslav, Nikolaus Demmel, and Daniel Cremers. "The double sphere camera model." 2018 International Conference on 3D Vision (3DV). IEEE, 2018.

TODO

  • Stereo Rectify
  • FTheta Model
  • Python bindings

Dependencies

~7MB
~141K SLoC