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

improve CenterofMass #600

Merged
merged 9 commits into from
Jun 27, 2023
Merged

improve CenterofMass #600

merged 9 commits into from
Jun 27, 2023

Conversation

LucasBetioli123
Copy link
Contributor

@LucasBetioli123 LucasBetioli123 commented Jun 27, 2023

The change in the calculation of the center of mass by vtk improves the processing time when it is compared to the previous method .
The execution time was calculated in both situations, as shown below:
time processing with vtk centerofmass: 0.0008409023284912109 s
time processing without vtk centerofmass: 0.0836024284362793 s

@rmatsuda rmatsuda self-requested a review June 27, 2023 13:45
invesalius/data/viewer_volume.py Outdated Show resolved Hide resolved
invesalius/data/viewer_volume.py Outdated Show resolved Hide resolved
invesalius/data/viewer_volume.py Show resolved Hide resolved
@rmatsuda
Copy link
Collaborator

Thanks for the pull request @LucasBetioli123. I will merge it.

@rmatsuda rmatsuda merged commit 08ee808 into invesalius:master Jun 27, 2023
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.

2 participants