Feature: Implement Keypoint filtering using a cv::Mat#46
Closed
Feature: Implement Keypoint filtering using a cv::Mat#46
Conversation
move mask out to top level System call
4 tasks
Collaborator
|
Marked as duplicate, new and improved PR: #65 |
Veng97
pushed a commit
to Veng97/MORB_SLAM
that referenced
this pull request
Oct 4, 2025
* Format all .cc/.ccp files, excluding the ones in Optimizer/ * Format all .h/.hpp files * Remove Unused Member Variables and Functions (Soldann#43) * pushing changes here because it segfaults if it goes LoopClose->Lost->MapMerge->LoopClose * Move the KF merge proccess from the locations that SetBadFlag() is called to the actual function (Soldann#42) * remove print * formatting for Optimizer, CameraModels, DBoW2, and parts of g2o * spacing * removed the unused ProjectPointDistort() from Frame/KeyFrame * re-add GetTrackingState() because it shouldn't've been deleted * mb * remove unused state OK_KLT * formatting * I pushed changes before compiling again
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description & Motivation
Fixes #9
We are adding orb-filtering from a cv::Mat mask to allow for future refinements such as filtering moving objects out of the SLAM algorithm.
Changes made
Type of Change
Changes
This adds a
maskargument to theFrame,Tracking, andSystemclasses. It also creates an override inORBExtractorfor both masked and non-masked versions of a frame.To specify no mask, pass
nullptras themaskargument instead of the address of a cv::Mat.THIS IS BREAKING: old examples will not run without adding the
maskargument (can use nullptr).Test Plan
Ran a local test on the Jetson Orin and verified ORBS were not obtained outside of the mask.
Test Configuration:
Will need to do a second test to verify integrity of the SLAM algorithm
Test Configuration: