Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modify xrslam-test #43

Merged
merged 1 commit into from
Jan 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/en/benchmark.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ We run our algorithm on EuRoC dataset on Ubuntu18.04 and macOS 10.14. And make c

**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.

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.
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.

**Tracking Accuracy (RMSE in meters) on the EuRoC Dataset.**
| Algorithm | MH-01 | MH-02 | MH-03 | MH-04 | MH-05 | V1-01 | V1-02 | V1-03 | V2-01 | V2-02 | V2-03 | AVG |
Expand Down
2 changes: 1 addition & 1 deletion docs/en/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Download data from the file server, and extract files to `$PROJECT/xrslam-test/d

```bash
cd xrslam/
cmake -B build -D XRSLAM_TEST=ON && cmake --build build -j8
cmake -B build -D XRSLAM_TEST=ON && cmake --build build -j8
```

## Run
Expand Down
8 changes: 6 additions & 2 deletions xrslam-test/test/src/test_feature_track.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ TEST(test_feature_track, feature_track) {
device_config_path);
frame->K = yaml_config->camera_intrinsic();
frame->image = read_image(filename1);
frame->image->preprocess();
frame->image->preprocess(yaml_config->feature_tracker_clahe_clip_limit(),
yaml_config->feature_tracker_clahe_width(),
yaml_config->feature_tracker_clahe_height());
frame->detect_keypoints(yaml_config.get());

ASSERT_EQ(frame->keypoint_num(), 164);
Expand All @@ -45,7 +47,9 @@ TEST(test_feature_track, feature_track) {
std::unique_ptr<Frame> curr_frame = std::make_unique<Frame>();
curr_frame->K = yaml_config->camera_intrinsic();
curr_frame->image = read_image(filename2);
curr_frame->image->preprocess();
curr_frame->image->preprocess(yaml_config->feature_tracker_clahe_clip_limit(),
yaml_config->feature_tracker_clahe_width(),
yaml_config->feature_tracker_clahe_height());
last_frame->track_keypoints(curr_frame.get(), yaml_config.get());

ASSERT_FALSE(curr_frame->tag(FT_NO_TRANSLATION));
Expand Down
Loading