alignMeanShape.m
: Performs rotation and translation on the mean shape and deformation vectors of the car based on the alignment of the car labels with the camera and also returns the coordinates of the mean shape projected onto the imageceresPoseOptimizer.m
: Creates the input file required by thesingleViewPoseAdjuster.cc
script in theceres
directory. Then, executes this script and returns the image coordinates of the optimized pose of the carsdistinguishable_colors.m
: Generates visually different colors for plottinggetKpLookup.m
: Returns the lookup table for the keypoints of the carsgetKpNetMatrix.m
: Returns a matrix containing the 2D pixel coordinates of the keypoints of each of the car labels along with their confidence values. Also resizes the image coordinates so that the coordinates are relative to the original image of the car and not just the scaled bounding box of the car, with dimensions 64*64getTracklets.m
: Extracts all the required fields from the tracklets obtained from thereadLabels.m
script given in thedevkit
packagekpWeights.m
: Returns the weight matrix corresponding to the keypoints of the cars based on both their confidence values and also the lookup table- This script requires the directory path to the labels relative to the
devkit/matlab
directory
- This script requires the directory path to the labels relative to the
mobili.m
: Generates the 3D bounding box projection using the tracklet data- This script is implemented based on the paper Robust Scale Estimation in Real-Time Monocular SFM for Autonomous Driving
- This script requires the directory path to the labels relative to the
devkit/matlab
directory
plotKpLocalization.m
: Plots the predicted image coordinates of the keypoints of the car on the image of the carreorientDeformationVectors.m
: Reorients the deformation vectors based on the standards followed in the KITTI datasetreorientMeanShape.m
: Reorients the mean shape vector based on the standards followed in the KITTI datasetscaleMeanShape.m
: Scales the dimensions of the mean shape vector based on given average dimensions of the carseqFrmId.m
: Helper script to return theseq
,frm
andid
arrays used in all other filestrackletInstances.m
: Returns an array containing 8 attributes for each of the required instances- This script requires the directory path to the labels relative to the
devkit/matlab
directory
- This script requires the directory path to the labels relative to the
visualizeAdjusting.m
: Plots the mean shape of the car before and after reorientation based on the KITTI standards using thescaleMeanShape.m
,reorientMeanShape.m
andvisualizeWireFrame3D.m
scriptsvisualizeAlignedWireframe.m
: Plots the aligned wireframe of the car on its actual image using thevisualizeWireFrame2D.m
scriptvisualizeScaling.m
: Plots the mean shape of the car before and after scaling using thescaleMeanShape.m
andvisualizeWireFrame3D.m
scriptsvisualizeWireFrame2D.m
: Plots the 2D wireframe of the car on its actual image using the mean shape vectorvisualizeWireFrame3D.m
: Plots the 3D wireframe of the car using the mean shape vector
ceres
: Contains the single view pose and shape optimizer scripts and their definitionsceres/costFunctions.md
: Notes on various cost function implementationsceres/poseAdjustment.md
: Notes on how the pose adjustment is done explaining the usage ofproblemStructs.hpp
and the pose adjustment scriptsingleViewPoseAdjuster.cc
devkit
: Contains the scripts for processing the KITTI datasetLeft_Colour_Images
: Contains the left colour images of the KITTI datasettraining
: Contains the training labels of the KITTI datasetmeanShape.txt
: Contains the mean shape vector of the car with dimensions14 x 3
vectors.txt
: Contains the deformation vectors of the car with dimensions5 x 42