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

Update label-to-block-lookup takes very long #313

Closed
oflynne opened this issue Aug 27, 2019 · 1 comment
Closed

Update label-to-block-lookup takes very long #313

oflynne opened this issue Aug 27, 2019 · 1 comment

Comments

@oflynne
Copy link

oflynne commented Aug 27, 2019

Committing labels into a source with blocks missing at lower mipmap levels takes forever at the label-to-block-lookup update. Not sure if this is an artifact of the missing blocks or something else. Needs to be investigated.

@cmhulbert
Copy link
Collaborator

I believe the issue here was that when downsampling, the RandomAccessibleInterval over the non-existent blocks still iterates over all entries. This was improved for performance in #546, and in the corresponding imglib2-label-multisets update saalfeldlab/imglib2-label-multisets#34

This instead allows us to skip over cells that are non-existent.

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