-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
keypoints indices feature #318
Conversation
I still wonder why we need the PointIndices struct at all, as it's really just a std::vector. Adding more vector methods doesn't sound like the right way to go for me, as you could always access the vector directly.
|
Hi Jochen, I thought of that and totally agree but here is the problem: Concerning the PointIndices structure it is there since you could pass keypoints indices to some filter or any other processing class that would have a setIndices method. Now why am I adding the vectors method to it is simply to get a vector like behavior, we still can move indices to private section and do some sed on the whole PCL to fix that because I don't understand why would an outer need access to the inner vector but that is another story. |
Hi Nizar,
Agreed.
Which one is that?
I'm not sure I got you here, so they are haven your proposed patch
I don't see any argument for having such a structure. Syntactically it's Cheers Jochen |
I will answer to the points
Cheers,Nizar |
I am going to remove the vector interface I added to PointIndices so that if we typedef it the work would be the same for all the classes in PCL. |
@nizar-sallem +1 Thanks! |
Great will do that now :) |
Provide a method to return found keypoints indices in the input. Not all detectors would populate the keypoints_indices_ so you need to check for emptiness befor use in set****Indices methods.
@jspricke done |
fixed date on the header |
what dou mean you mean ? |
That's a comment to commit |
Yeah totally :) |
Add method to get keypoints indices fixes #303