In this article
Library-provided camera transforms can already include rectification and camera offset; inspect the destination frame before adding more calibration matrices.
Name the destination camera representation
A KITTI overlay projects lidar points near the correct objects but remains systematically displaced. The pipeline combines a library-provided camera transform with a rectification matrix copied from a calibration example. Before adjusting the projection empirically, identify the destination frame already represented by the library. A raw camera extrinsic, a rectified reference camera and a selected stereo camera are related representations, but their matrices cannot be substituted or multiplied indiscriminately merely because their dimensions agree.
Preserve the selected sensor context
The official KITTI setup page describes the sensor arrangement and notes that rectification changes camera imagery. Select the actual camera stream and its corresponding calibration rather than treating all camera images as a single generic view. The monochrome and color stereo observations come from different sensor positions. A projection can look approximately correct while still using the wrong camera geometry, especially for distant surfaces where an offset produces a less obvious visual error.
Inspect the library’s frame notation
The pykitti documentation defines transforms by destination and origin frame and requires associated calibration files. Retain that convention in an adapter rather than interpreting a variable name through another library’s notation. A transformation that maps lidar coordinates into a camera frame is not its inverse. Keep the source sequence’s calibration with the derived cache, and do not treat a readable image directory as proof that a compatible calibration archive was selected.
Trace rectification and camera offset composition
The raw-data loader implementation composes rectification and camera-specific offsets when constructing camera transforms. Inspect that construction for the version actually used. Adding the same rectification again can produce a numerically valid matrix with incorrect meaning. Likewise, dropping the selected camera offset changes which camera receives the projected points. Record whether the downstream function expects lidar coordinates, rectified camera coordinates or already projected image coordinates before attaching another transformation stage.
Validate the chain without empirical compensation
Choose visible structural edges, project a limited lidar subset and inspect whether the declared chain aligns across nearby and distant surfaces. Preserve image resolution and any later crop independently of the extrinsic chain. Image coordinate guidance supports projection checks; software reproducibility preserves loader behavior. Correct the representation contract rather than adding an unexplained image offset, so a convincing overlay reflects the selected calibration instead of compensating for a duplicated or omitted transformation.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.