- The minimum number of matched feature points depends on the total number of feature points extracted from each image, and therefore is related to the resolution of the image. The larger image size, the larger value for the minimum number of matched pairs.
- The minimum of tracked map points follows the same rule. Usually I start with 100 and tune it based on a couple of runs.
- The same rule applies to the minimum number of matched pairs for loop closures.
- For a 640x480 image you may want to extract 1000 feature points from it. For a 1280x720 image you can extract 2000 points.
- The minimum parallax is a little difficult to set. Usually 0.5degre or 1degree should do the job.
vSLAM: vSLAM algorithm is very sensitive to hyperparameters Issue?
1 次查看(过去 30 天)
显示 更早的评论
When I ran the official "Develop Visual SLAM Algorithm Using Unreal Engine Simulation" monocular camera example several times, I adjusted some of the hyperparameters, such as the minimum number of feature matching pairs, the initial start frame selection, the minimum keyframe angle threshold, the minimum number of feature points to track in keyframes, the minimum number of matching pairs for closed-loop detection, and the maximum number of ORB features specified for each image, with only minor changes, and the results of the build were significantly different, as shown in the following figures.(The following results are all constrained by "rng(0)" with a fixed random seed)
RUN in R2022b
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1211848/image.png)
fig1 starting at frame 4 of the start frame,some other parameters have been slightly adjusted(Note that I accidentally rotated the map by 180 degrees manually, but this does not affect the viewing coordinates)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1211853/image.png)
fig2 starting frame starts at frame 1, and the other parameters have been modified very slightly as appropriate
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1211858/image.png)
fig3 starting frame starts at frame 1 and the other parameters are unchanged (it is curious that this image is better than the final build observation in the official documentation)
Also an example of the official map is given below for visual comparison purposes.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1211863/image.png)
0 个评论
采纳的回答
Qu Cao
2022-11-29
You find the nature of the SLAM problem. Yes, the visual SLAM system is sensitive to hyperprameters which usually need to be tuned based on the image data and motion of the camera. Here are some rules that I find useful in pratice:
In general, the marjorioty of the hyperparameters are approximately proportional to the number of extracted feature points in each image, thusa the image size.
Hope this helps!
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing and Computer Vision 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!