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

Increase performance of Euler characteristic calculation #605

Merged
merged 2 commits into from
May 8, 2019

Conversation

mdoube
Copy link
Contributor

@mdoube mdoube commented May 3, 2019

Replace RandomAccess with Cursor wherever possible
and multithread using a chunking strategy.

This implementation uses 8 cursors that maintain constant relations to
each other during iteration via Views.flatIterable.

The net result is a 6-10× speedup over the naïve version.

Addresses #600 and bonej-org/BoneJ2#108

Replace RandomAccess with Cursor wherever possible
and multithread using a chunking strategy.

This implementation uses 8 cursors that maintain constant relations to
each other during iteration via Views.flatIterable.

The net result is a 6-10× speedup over the naïve version.
@mdoube mdoube merged commit 25370fe into imagej:master May 8, 2019
@ctrueden ctrueden deleted the euler-characteristic-performance branch June 14, 2019 21:24
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.

1 participant