creating a bag of features for new image set for monocular SLAM
26 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Louis
el 18 de Oct. de 2022
Comentada: Louis
el 21 de Oct. de 2022
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
0 comentarios
Respuesta aceptada
Qu Cao
el 20 de Oct. de 2022
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 comentarios
Qu Cao
el 21 de Oct. de 2022
Editada: Qu Cao
el 21 de Oct. de 2022
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.
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!