Go to the source code of this file.
Typedefs | |
| using | json = nlohmann::json |
| using | Matrix4f = Eigen::Matrix< float, 4, 4 > |
| using | Matrix3f = Eigen::Matrix< float, 3, 3 > |
| using | Matrix4d = Eigen::Matrix< double, 4, 4 > |
| using | Matrix3d = Eigen::Matrix< double, 3, 3 > |
| using | Vector3d = Eigen::Matrix< double, 3, 1 > |
| using | Vector3f = Eigen::Vector3f |
| using | MatrixXd = Eigen::MatrixXd |
| using | AugConfig = std::map< std::string, std::variant< float, std::vector< int >, bool > > |
Functions | |
| template<typename Derived > | |
| json | eigenMatrixToJson (const Eigen::MatrixBase< Derived > &matrix) |
| std::vector< int > | extractNumbers (const std::string &text) |
| std::string | getCamNameFromString (const std::string &str, int numIndex=-1) |
| json | loadCalibBEVFormerScene (const std::string &calibFilePath) |
| json | loadCalibSyntheticJson (const std::string &calibFilePath, bool recentering=false) |
| std::pair< std::string, std::map< std::string, std::vector< float > > > | loadGroup (const json &groupDict, const std::string &key) |
| std::pair< std::map< std::string, json >, std::map< std::string, json > > | loadCalibSyntheticCameraGroupsJson (const std::string &calibFilePath, bool recentering=false) |
| std::pair< json, json > | loadCalib (const std::string &calibFilePath, const std::string &calibMode="synthetic", bool useCameraGroups=true, bool recentering=false) |
| void | normalizeMatrix (Matrix4d &matrix) |
| json | fillCameraInfos (const std::string &calibFilePath, const std::string &bevGroupName, const std::string &calibMode="synthetic", bool useCameraGroups=true, bool recentering=false) |
| std::vector< Matrix4f > | getCameraCalibrationMatrix (const json &info) |
| std::tuple< std::vector< Matrix4f >, std::vector< std::string >, std::vector< float > > | parseCalibFile (const std::string &calibFilePath, const std::string &bevGroupName, const std::string &calibMode="synthetic", bool useCameraGroups=true, bool recentering=false) |
| std::pair< float, std::vector< float > > | fetchSceneMapInfo (const std::string &calibFilePath) |
| std::vector< std::vector< float > > | getObjectVelocity (const std::vector< std::vector< float >> &locations, const std::vector< int > &instanceIds, const json &annotationsPrev) |
| std::vector< json > | fillCameraInfosGT (const std::string &calibFilePath, const std::string &bevGroupName, const std::string &groundTruthFilePath, const std::string &sceneName, const std::vector< std::string > &classNames, int startFrame=0, int frames=1000) |
| std::vector< Matrix4f > | transformLidarInfo (const std::vector< Matrix4f > &lidar2img, AugConfig &augConfigs, int height=1080, int width=1920) |
Variables | |
| const float | FPS = 30.0 |
| using AugConfig = std::map<std::string, std::variant<float, std::vector<int>, bool> > |
Definition at line 43 of file 9.2/sources/gst-plugins/gst-nvdsvideotemplate/ds-sparse4d/preprocess/calibration_parser.h.
| using json = nlohmann::json |
Definition at line 32 of file 9.2/sources/gst-plugins/gst-nvdsvideotemplate/ds-sparse4d/preprocess/calibration_parser.h.
| using Matrix3d = Eigen::Matrix<double, 3, 3> |
Definition at line 39 of file 9.2/sources/gst-plugins/gst-nvdsvideotemplate/ds-sparse4d/preprocess/calibration_parser.h.
| using Matrix3f = Eigen::Matrix<float, 3, 3> |
Definition at line 37 of file 9.2/sources/gst-plugins/gst-nvdsvideotemplate/ds-sparse4d/preprocess/calibration_parser.h.
| using Matrix4d = Eigen::Matrix<double, 4, 4> |
Definition at line 38 of file 9.2/sources/gst-plugins/gst-nvdsvideotemplate/ds-sparse4d/preprocess/calibration_parser.h.
| using Matrix4f = Eigen::Matrix<float, 4, 4> |
Definition at line 36 of file 9.2/sources/gst-plugins/gst-nvdsvideotemplate/ds-sparse4d/preprocess/calibration_parser.h.
| using MatrixXd = Eigen::MatrixXd |
Definition at line 42 of file 9.2/sources/gst-plugins/gst-nvdsvideotemplate/ds-sparse4d/preprocess/calibration_parser.h.
| using Vector3d = Eigen::Matrix<double, 3, 1> |
Definition at line 40 of file 9.2/sources/gst-plugins/gst-nvdsvideotemplate/ds-sparse4d/preprocess/calibration_parser.h.
| using Vector3f = Eigen::Vector3f |
Definition at line 41 of file 9.2/sources/gst-plugins/gst-nvdsvideotemplate/ds-sparse4d/preprocess/calibration_parser.h.
| json eigenMatrixToJson | ( | const Eigen::MatrixBase< Derived > & | matrix | ) |
| std::vector<int> extractNumbers | ( | const std::string & | text | ) |
| std::pair<float, std::vector<float> > fetchSceneMapInfo | ( | const std::string & | calibFilePath | ) |
| json fillCameraInfos | ( | const std::string & | calibFilePath, |
| const std::string & | bevGroupName, | ||
| const std::string & | calibMode = "synthetic", |
||
| bool | useCameraGroups = true, |
||
| bool | recentering = false |
||
| ) |
| std::vector<json> fillCameraInfosGT | ( | const std::string & | calibFilePath, |
| const std::string & | bevGroupName, | ||
| const std::string & | groundTruthFilePath, | ||
| const std::string & | sceneName, | ||
| const std::vector< std::string > & | classNames, | ||
| int | startFrame = 0, |
||
| int | frames = 1000 |
||
| ) |
| std::string getCamNameFromString | ( | const std::string & | str, |
| int | numIndex = -1 |
||
| ) |
| std::vector<std::vector<float> > getObjectVelocity | ( | const std::vector< std::vector< float >> & | locations, |
| const std::vector< int > & | instanceIds, | ||
| const json & | annotationsPrev | ||
| ) |
| std::pair<json, json> loadCalib | ( | const std::string & | calibFilePath, |
| const std::string & | calibMode = "synthetic", |
||
| bool | useCameraGroups = true, |
||
| bool | recentering = false |
||
| ) |
| json loadCalibBEVFormerScene | ( | const std::string & | calibFilePath | ) |
| std::pair<std::map<std::string, json>, std::map<std::string, json> > loadCalibSyntheticCameraGroupsJson | ( | const std::string & | calibFilePath, |
| bool | recentering = false |
||
| ) |
| json loadCalibSyntheticJson | ( | const std::string & | calibFilePath, |
| bool | recentering = false |
||
| ) |
| std::pair<std::string, std::map<std::string, std::vector<float> > > loadGroup | ( | const json & | groupDict, |
| const std::string & | key | ||
| ) |
| void normalizeMatrix | ( | Matrix4d & | matrix | ) |
| std::tuple<std::vector<Matrix4f>, std::vector<std::string>, std::vector<float> > parseCalibFile | ( | const std::string & | calibFilePath, |
| const std::string & | bevGroupName, | ||
| const std::string & | calibMode = "synthetic", |
||
| bool | useCameraGroups = true, |
||
| bool | recentering = false |
||
| ) |
| std::vector<Matrix4f> transformLidarInfo | ( | const std::vector< Matrix4f > & | lidar2img, |
| AugConfig & | augConfigs, | ||
| int | height = 1080, |
||
| int | width = 1920 |
||
| ) |
| const float FPS = 30.0 |
Definition at line 46 of file 9.2/sources/gst-plugins/gst-nvdsvideotemplate/ds-sparse4d/preprocess/calibration_parser.h.