Thanks
If you are interested in rectifying an entire image, please see here:
https://github.com/ethz-asl/kalibr/blob/98d7d17b4d5f044ef33bbe2c24096ba0b09cb724/aslam_cv/aslam_imgproc/include/aslam/OmniUndistorter.hpp
If, instead, you are only interested in obtaining the ray in the direction of the point expressed in camera coordinates, please see here:
https://github.com/ethz-asl/kalibr/blob/a9d5b0ee4e18c05bceee1339e27ba63e358c6c93/aslam_cv/aslam_cameras/include/aslam/cameras/implementation/OmniProjection.hpp#L231-L263
Cheers, Joern
Cheers!