Skip to content

Commit 74d7fa6

Browse files
authored
Merge pull request #43 from openxrlab/xrslam-parsac
modify xrslam-test
2 parents 3bbe63f + e76be16 commit 74d7fa6

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

docs/en/benchmark.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ We run our algorithm on EuRoC dataset on Ubuntu18.04 and macOS 10.14. And make c
44

55
**XRSLAM** showed significant improvements on many sequences on EuRoC dataset. **XRSLAM(w/ RD)** adopts a dynamic object removal strategy, which can be enabled in the configuration parameter `parsac_flag`. As shown in the following tables, the best results for visual-inertial algorithms are bolded. Comparing with other systems, Thanks to the additional stabilization effect, the significant drifts are canceled when using the subframe strategy in our system.
66

7-
As a challenging dataset in real-world settings, ADVIO offers 23 diverse scenarios, encompassing indoor and outdoor environments, varying lighting conditions, and dynamic elements such as pedestrians and vehicles. Aided with the dynamic object removal scheme, XRSLAM(w. RD) showed significantly better RMSEs on ADVIO dataset.
7+
As a challenging dataset in real-world settings, ADVIO offers 23 diverse scenarios, encompassing indoor and outdoor environments, varying lighting conditions, and dynamic elements such as pedestrians and vehicles. Aided with the dynamic object removal scheme, XRSLAM(w/ RD) showed significantly better RMSEs on ADVIO dataset.
88

99
**Tracking Accuracy (RMSE in meters) on the EuRoC Dataset.**
1010
| Algorithm | MH-01 | MH-02 | MH-03 | MH-04 | MH-05 | V1-01 | V1-02 | V1-03 | V2-01 | V2-02 | V2-03 | AVG |

docs/en/test.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Download data from the file server, and extract files to `$PROJECT/xrslam-test/d
1010

1111
```bash
1212
cd xrslam/
13-
cmake -B build -D XRSLAM_TEST=ON && cmake --build build -j8
13+
cmake -B build -D XRSLAM_TEST=ON && cmake --build build -j8
1414
```
1515

1616
## Run

xrslam-test/test/src/test_feature_track.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ TEST(test_feature_track, feature_track) {
3333
device_config_path);
3434
frame->K = yaml_config->camera_intrinsic();
3535
frame->image = read_image(filename1);
36-
frame->image->preprocess();
36+
frame->image->preprocess(yaml_config->feature_tracker_clahe_clip_limit(),
37+
yaml_config->feature_tracker_clahe_width(),
38+
yaml_config->feature_tracker_clahe_height());
3739
frame->detect_keypoints(yaml_config.get());
3840

3941
ASSERT_EQ(frame->keypoint_num(), 164);
@@ -45,7 +47,9 @@ TEST(test_feature_track, feature_track) {
4547
std::unique_ptr<Frame> curr_frame = std::make_unique<Frame>();
4648
curr_frame->K = yaml_config->camera_intrinsic();
4749
curr_frame->image = read_image(filename2);
48-
curr_frame->image->preprocess();
50+
curr_frame->image->preprocess(yaml_config->feature_tracker_clahe_clip_limit(),
51+
yaml_config->feature_tracker_clahe_width(),
52+
yaml_config->feature_tracker_clahe_height());
4953
last_frame->track_keypoints(curr_frame.get(), yaml_config.get());
5054

5155
ASSERT_FALSE(curr_frame->tag(FT_NO_TRANSLATION));

0 commit comments

Comments
 (0)