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

Fix projection formulas #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

achalddave
Copy link

No description provided.

The original projection formulas were incorrect. The updated ones are the ones used in OpenNI for projections, with two hardcoded constants that rely on sensor values; their derivation is described on the linked page.
@jysung
Copy link
Owner

jysung commented Jul 2, 2014

Thanks for submitting this. Have you tested this projection with CAD-60 data?

@achalddave
Copy link
Author

Unfortunately, I don't have all the libraries set up to run your code, but I have tested the formulas on CAD 120. I can try to set up the required libraries later but it may take a bit of time.

Edited to add that these are the formulas for CAD 120, not CAD 60.

@CamilleMaurice
Copy link

@achalddave Thank you very much for this update, I was struggling with the old projections values. I am using CAD 120, with resolution 640x480.

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.

6 participants