-
-
Notifications
You must be signed in to change notification settings - Fork 827
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
[panorama] PanoramaCompositing: new out-of-core algorithm #947
Conversation
|
||
for (int i = 0; i < height; i++) { | ||
//#pragma omp parallel for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To remove or to uncomment?
if (AminusB.size() != B.size()) { | ||
return false; | ||
} | ||
omp_set_num_threads(std::min(omp_get_thread_limit(), std::max(0, maxThreads))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
omp_set_num_threads(std::min(omp_get_thread_limit(), std::max(0, maxThreads))); | |
if(maxThreads > 0) | |
omp_set_num_threads(std::min(omp_get_thread_limit(), maxThreads)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It means that 0 would equals to auto ?
…p_get_thread_limit not available on MSVC 2019
08b6ee0
to
2efa333
Compare
Allows to downscale input warps on-the-fly and compute seams in lower resolution.
2efa333
to
b1a9a9b
Compare
These updates enable the creation of very large panoramas.
--> optimized algorithms to work on tiles
--> creation of disk cache to remove the RAM barrier