creating a bag of features for new image set for monocular SLAM

3 次查看(过去 30 天)
Hi,
I am interested in visual SLAM. I have taken the example project from "Monocular Visual Simultaneous Localization and Mapping" and have been able to run it with the specified dataset. If I want to run with a different dataset (KITTI), what is the process for setting up the data? I believe I need to create a bag of features off-line? Is that correct? How exactly is that done. It is not explained well in the example.
In the example, a mat is loaded here: I was able to use the bagOfFeaturesDataSLAM.mat file from the example.
% Load the bag of features data created offline
bofData = load("bagOfFeaturesDataSLAM.mat");
For a new data set, you would need to create a new file, correct? That is not obvious to me what that procedure is.
thank you

采纳的回答

Qu Cao
Qu Cao 2022-10-20
The bag-of-features data may not work for the KITTI dataset because it was trained using a small amount of image data. You may want to built your own bag-of-features bag following this section of the example.
  3 个评论
Qu Cao
Qu Cao 2022-10-21
编辑:Qu Cao 2022-10-21
If you want to run the pipeline on a different dataset, you may want to tune some of the parameters. For example, you may want to increase the numbers of feature points extracted from each image because the image resolution in the KITTI dataset is much larger than the one used in the example (480x640). Also, the frame rate of KITTI dataset is 10Hz, so you want to decrase the maximum skipped frame numSkipFrames to a smaller value, say 5.
For your convenience, I've attached a updated main example file for you. Note that you need to define your path to the image data and the camera intrinsic parameters.

请先登录,再进行评论。

更多回答(0 个)

产品


版本

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by