- Load the Calibration data in MATLAB by either reading the data from a file or directly assigning the values to the variables.
- You can create the "cameraIntrinsics" object using the provided Intrinsic Camera Parameter as shown in the code provided below.
- Create a transformation Matrix that represents the rotation and translation between the lidar, and the camera coordinate systems as shown in the code provided below.
- For lidar data, you can transform the lidar points to the camera coordinate system using the "transformPointsForward" function as shown in the code provided below.
- For camera data, you can undistort the distorted image points using the “undistortPoints” function as shown in the code provided below.