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

question about latitudeCorrection3 function #4

Open
why-scholar opened this issue Sep 13, 2017 · 3 comments
Open

question about latitudeCorrection3 function #4

why-scholar opened this issue Sep 13, 2017 · 3 comments

Comments

@why-scholar
Copy link

hello,
in the file corrector.cpp, function of latitudeCorrection3() utilizes getPhi() to estimate the latitude and longitude, which later used for estimate corresponding shpere coordinates. Though I understand the forward projection from shpere to cylinder coordinates based on the provided thesis, however I am confused about backward projection from cylinder to shpere coordinates. Could you please provide some corresponding references? I think it is will very helpful for me to understand the code snippets.

@wangzhizhou
Copy link
Owner

In my opinion, the image is produced in cylinder, so every location on the cylinder(specified size) should have a corresponding location on the sphere, and if we use forward projection to produce the cylinder, there will be some corresponding relation be losed, because I don't want to use interpolation pixel value. So,I specified size the cylinder, for every location on the cylinder, I use the backward projection to get the corresponding pixed on the original image. though the backward projection may lose some corresponding relations, but they are not scatter, but continue area.

@why-scholar
Copy link
Author

Hi,
Thanks for your reply. According to the forward projection from sphere to cylinder in your paper, I could not get the the backward projection formula. This makes me confused for your code. Could you please provide me with the backward projection formula? I think it will be very useful for me to understand your code.

@wangzhizhou
Copy link
Owner

Maybe I should refine this project to make it more readable. At that time I create this project, my skill in programming is basic, so, if someone can work with me, it will be better. I plan to refine this project during spare time

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

No branches or pull requests

2 participants