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

New: KLT Tracking #587

Merged
merged 1 commit into from
Apr 5, 2014
Merged

New: KLT Tracking #587

merged 1 commit into from
Apr 5, 2014

Conversation

nizar-sallem
Copy link
Contributor

Add a pyramidal KLT tracking and an application openni_klt that detects Tomasi keypoints from RGB-D sensor and tracks them.
Detection is done 1 per 30 acquired cloud so detected points are tracked for 29 frames and the new keypoints are given to the tracker.
It will serve as a comparison basis for the upcoming RGB-D version.

@jspricke
Copy link
Member

@nizar-sallem there is a merge conflict here, can you have a look? Otherwise I'm fine with merging :).

@nizar-sallem
Copy link
Contributor Author

Weird, I will clear that out.

@nizar-sallem
Copy link
Contributor Author

Hopefully done

}

keypoints_status_.reset (new pcl::PointIndices);
keypoints_status_->indices = std::vector<int> (keypoints_->size (), 0);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this will make a temporary object and then copy the data.
We can simply keypoints_status_->indices.resize (keypoints_->size (), 0).

@nizar-sallem
Copy link
Contributor Author

You are right, I will amend it.

@nizar-sallem
Copy link
Contributor Author

Done

@taketwo
Copy link
Member

taketwo commented Apr 3, 2014

I skimmed through the rest, looks great. I think we can merge this. @jspricke?

P.S. actually there is some commented code in track() that may be removed, but it looks like you wanted to preserve it for some reason.

@nizar-sallem
Copy link
Contributor Author

Yup it is for double checking the affine transformation so I may just remove it for now and if I need it I can retrieve it later. Let us do just that.

jspricke added a commit that referenced this pull request Apr 5, 2014
@jspricke jspricke merged commit 7570ebf into PointCloudLibrary:master Apr 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants