KeyPoint and landmarks #573
-
I would like to get the keypoint with its for landmarks when I use the and
What can I do to get a one-to-one correspondence between keypoints and landmarks? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Yeah, I'm trying to import the |
Beta Was this translation helpful? Give feedback.
-
If what you want is a undistorted key point, you can achieve the following vector<std::shared_ptr<stella_vslam::data::landmark>> landmarks = m_last_keyframe->get_landmarks();
for (unsigned int idx = 0; idx < landmarks.size(); ++idx) {
if (landmarks.at(idx)) {
auto undist_keypt = m_last_keyframe->frm_obs_.undist_keypts_.at(idx);
}
} Landmarks (that are not nullptr) are mapped to keypoints by index. If you want keypoints that are not undistorted, there is no way to do that now. |
Beta Was this translation helpful? Give feedback.
If what you want is a undistorted key point, you can achieve the following
Landmarks (that are not nullptr) are mapped to keypoints by index.
If you want keypoints that are not undistorted, there is no way to do that now.