forked from qupath/qupath
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update multithreading support in BioFormatsImageServer
Aims to fix qupath#865 This takes a different approach to parallelization, managing a pool of ImageReaders with each tile-requesting thread taking the next available reader. If there are no readers available, and the total number is less than some maximum value (based upon the number if available processors), a new reader is generated on another thread and added to the queue when ready. This should * avoid generating more readers than needed, with a limit separate from the number of tile requesting threads * avoid attempting to initialize multiple readers simultaneously, which can be a bottleneck In addition, more tests have been added.
- Loading branch information
1 parent
4b464e5
commit 38c0195
Showing
16 changed files
with
603 additions
and
424 deletions.
There are no files selected for viewing
857 changes: 435 additions & 422 deletions
857
...-bioformats/src/main/java/qupath/lib/images/servers/bioformats/BioFormatsImageServer.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+71.6 KB
qupath-extension-bioformats/src/test/resources/images/cells/cells-1.jp2
Binary file not shown.
Binary file added
BIN
+29.9 KB
qupath-extension-bioformats/src/test/resources/images/cells/cells-2c.ome.tif
Binary file not shown.
Binary file added
BIN
+29.3 KB
qupath-extension-bioformats/src/test/resources/images/cells/cells-2t.ome.tif
Binary file not shown.
Binary file added
BIN
+30.9 KB
qupath-extension-bioformats/src/test/resources/images/cells/cells-2z.ome.tif
Binary file not shown.
Binary file added
BIN
+24.1 KB
qupath-extension-bioformats/src/test/resources/images/cells/cells-gray16.tif
Binary file not shown.
Binary file added
BIN
+47.9 KB
qupath-extension-bioformats/src/test/resources/images/cells/cells-gray32.tif
Binary file not shown.
Binary file added
BIN
+8.12 KB
qupath-extension-bioformats/src/test/resources/images/cells/cells-gray8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+11.5 KB
qupath-extension-bioformats/src/test/resources/images/cells/cells.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+38.1 KB
qupath-extension-bioformats/src/test/resources/images/cells/cells.ome.tif
Binary file not shown.
Binary file added
BIN
+21.9 KB
qupath-extension-bioformats/src/test/resources/images/cells/cells.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+36.1 KB
qupath-extension-bioformats/src/test/resources/images/cells/cells.tif
Binary file not shown.