Skip to content

Commit c40315f

Browse files
committed
Add equidistant distortion model
This is a forward-port from ROS1 noetic: ros/common_msgs#109 The model is based on the following publication: J. Kannala and S. Brandt (2006). A Generic Camera Model and Calibration Method for Conventional, Wide-Angle, and Fish-Eye Lenses, IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 28, no. 8, pp. 1335-1340 There are many different names for this distortion model: * Kannala and Brandt call it "Generic Camera Model". Sometimes they also call it "equidistance projection model". * Kalibr calls it "equidistant": https://github.com/ethz-asl/kalibr/wiki/supported-models * Camodocal calls it "kannala-brandt": https://github.com/hengli/camodocal * OpenCV calls it "fisheye": https://stackoverflow.com/a/34309644/3036576 All of these are just different names for the same model.
1 parent a3a0dde commit c40315f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sensor_msgs/include/sensor_msgs/distortion_models.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ namespace distortion_models
4343
{
4444
const char PLUMB_BOB[] = "plumb_bob";
4545
const char RATIONAL_POLYNOMIAL[] = "rational_polynomial";
46+
const char EQUIDISTANT[] = "equidistant";
4647
}
4748
}
4849

0 commit comments

Comments
 (0)