-
Notifications
You must be signed in to change notification settings - Fork 286
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
Performance optimization of real-time neuronavigation #529
Comments
Some examples that can be improved:
|
After looking at #242 some of the python files have unused imports, will removing them help in this issue? |
I think we can use NumPy to perform the calculations in bulk rather than in a loop for the following (this could significantly improve performance):
|
Thanks for the comments! @Kaushik-Iyer removing the imports will not significantly improve the navigation performance. @jsxs0 The numpy could be a good aproach for the center of mass function. Also the vtkCenterOfMass can do the job. I'm not sure which is the best (in terms of performance). |
@rmatsuda is this issue still valid or the latest updates you made to optimize the performance solve it? Shall we close or investigate further? |
The real-time neuronavigation feature of InVesalius currently works based on multi-threading using Queues, Events, and Jobs (look at #242). Optimization (utilizing the least memory, minimizing its CPU time, and offering high speed) is needed to improve neuronavigation performance.
Deliverables:
Characterize step-by-step code execution time for neuronavigation
Improve threads' sleep times
Investigate: WX GUI becomes slower when navigation is on
Optimize 3D rendering/updating scene
The text was updated successfully, but these errors were encountered: