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

Add descriptor unpacking to GASD tutorial #2167

Merged
merged 2 commits into from
Dec 21, 2017

Conversation

jpsml
Copy link
Contributor

@jpsml jpsml commented Dec 21, 2017

Extend GASD tutorial to illustrate how the descriptor should be unpacked.

// Unpack histogram bins
for (size_t i = 0; i < size_t( descriptor.points[0].descriptorSize ()); ++i)
{
descriptor.points[0].histogram[i];
Copy link
Member

Choose a reason for hiding this comment

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

Can replace all instances of descriptor.points[0] with descriptor[0]. We might hide access to points in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants