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

Lazy-load ImageServer from ImageData #1489

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

petebankhead
Copy link
Member

Rough draft at an alternative approach to address the issue raised in #1488

Rough draft at an alternative approach to address the issue raised in qupath#1488
@carlocastoldi
Copy link
Contributor

carlocastoldi commented Apr 2, 2024

This approach is much more elegant than #1488, i like it!
However I feel it doesn't exploit all the possible info that can be gathered without reading the image files. Specifically images' metadata for info such as the number of channels and their names or even as well as pixel calibration.
If available, they're available in the .qpproj and they're already read when opening the project.

Perhaps this could be done by exposing a getCurrentMetadata() method, so that it does not require to pass through calling getServer()?

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.

None yet

2 participants