-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: user preference determines downsampling policy
* default is conservative (fewer scale levels) * add script for setting the user pref
- Loading branch information
Showing
3 changed files
with
70 additions
and
4 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#@ String (visibility=MESSAGE, value="<html>Sets the downsampling policy for the N5 scale pyramid exporter<br><ul><li>Aggressive: more scale levels</li><li>Conservative: fewer scale levels</li><ul></html>") docmsg | ||
#@ PrefService prefs | ||
#@ String (choices={"Aggressive", "Conservative"}, style="radioButtonHorizontal") policy | ||
|
||
prefs.put(N5ScalePyramidExporter.class, N5ScalePyramidExporter.IJ_PROPERTY_DOWNSAMPLE_POLICY, policy); | ||
|
||
import org.janelia.saalfeldlab.n5.ij.N5ScalePyramidExporter; |
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