-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Aligned Point Cloud using wrong intrinsics? #2002
Comments
Hi @jb455 |
Hi, thanks for the reply. Regarding the pull request, do I need to create a fork to my personal git, clone that, make my changes, then submit a pull request from my fork using the web GUI? |
I see. We will reproduce and address. |
Just wanted to point out, I'm doing a similar application (need to select color pixels and get their vertices) and am experiencing similar issues. Is there a stopgap workaround? |
You can call |
Thanks. Would you happen to know if that method is exposed in C#? I've been searching for it but can't find it in the source or docs... |
It is exposed in the API but doesn't look like it's implemented in the wrapper. Should be easy enough to add yourself - just add it in NativeMethods.cs then call it in a static method somewhere. It would probably be easier to just translate the C++ code I linked though and create a new method in your app; you only really need lines 52-53 & 63-65 for most purposes. |
Got it, I agree. Thanks for the help! |
Merged to the development branch and going to be part of 2.16 release |
Changing aligned stream extrinsic #3760 |
Hi,
I'm trying to create a point cloud from a depth frame which has been aligned to colour, but I'm getting bad results. I think the problem is that the point cloud is being calculated using the depth camera intrinsics, instead of the colour camera intrinsics which, to my understanding, should be used after alignment.
I'm trying to follow through
align.cpp
to confirm this and it looks as thoughcreate_aligned_profile
overwrites the 'to' (colour in this case) intrinsics with the 'original' (depth) intrinsics, causing the issue later on when the point cloud is calculated.Can anyone confirm this please?
PS: It would be useful to add a 'GetVertices' method to the Points class in the C# wrapper as below, to make the method for obtaining the vertices clearer and easier (with similar for TextureCoordinates):
The text was updated successfully, but these errors were encountered: