public class ExportMultilevelTiles extends Object
Constructor and Description |
---|
ExportMultilevelTiles() |
Modifier and Type | Method and Description |
---|---|
static Worker |
exportFromMipMaps(TreeMap<Integer,Layer> indices,
int smallestIndex,
String dir,
Saver saver,
Rectangle srcRect,
int c_alphas,
int type,
Class<?> clazz,
int tileSide,
int directory_structure_type,
boolean use_layer_indices,
boolean skip_empty_tiles,
int n_threads) |
static Worker |
exportFromMipMapsLayerWise(TreeMap<Integer,Layer> indices,
int smallestIndex,
String dir,
Saver saver,
Rectangle srcRect,
int c_alphas,
int type,
Class<?> clazz,
int tileSide,
int directory_structure_type,
boolean use_layer_indices,
boolean skip_empty_tiles,
int n_threads)
When I/O limited, optimize parallel mipmap loading (so that no Thread is waiting on any other Thread to finish loading a mipmap)
by generating tiles Patch-wise, processing one Patch at a time, and one Layer per Thread.
|
static Worker |
exportFromOriginals(TreeMap<Integer,Layer> indices,
int smallestIndex,
String dir,
Saver saver,
Rectangle srcRect,
int c_alphas,
int type,
Class<?> clazz,
int tileSide,
int directory_structure_type,
boolean use_layer_indices,
boolean skip_empty_tiles,
int n_threads) |
static Bureaucrat |
makePrescaledTiles(Layer[] layers,
Class<?> clazz,
Rectangle srcRect,
int c_alphas,
int type,
String target_dir,
int strategy,
Saver saver,
int tileSide,
int directory_structure_type,
boolean skip_empty_tiles,
boolean use_layer_indices,
int n_threads)
Generate e.g.
|
public static Bureaucrat makePrescaledTiles(Layer[] layers, Class<?> clazz, Rectangle srcRect, int c_alphas, int type, String target_dir, int strategy, Saver saver, int tileSide, int directory_structure_type, boolean skip_empty_tiles, boolean use_layer_indices, int n_threads)
strategy
- 0 (original images), 1 (mipmaps) or 2 (mipmaps, with multi-layer threading)directory_structure_type
- 0 or 1. See above.skip_empty_tiles
- Entirely black tiles will not be written to disk.use_layer_indices
- The folder for each layer will be that of its index in the LayerSet, which is guaranteed to be unique.IllegalArgumentException
- if the type is not ImagePlus.GRAY8 or Imageplus.COLOR_RGB.public static Worker exportFromMipMaps(TreeMap<Integer,Layer> indices, int smallestIndex, String dir, Saver saver, Rectangle srcRect, int c_alphas, int type, Class<?> clazz, int tileSide, int directory_structure_type, boolean use_layer_indices, boolean skip_empty_tiles, int n_threads)
public static Worker exportFromMipMapsLayerWise(TreeMap<Integer,Layer> indices, int smallestIndex, String dir, Saver saver, Rectangle srcRect, int c_alphas, int type, Class<?> clazz, int tileSide, int directory_structure_type, boolean use_layer_indices, boolean skip_empty_tiles, int n_threads)
public static Worker exportFromOriginals(TreeMap<Integer,Layer> indices, int smallestIndex, String dir, Saver saver, Rectangle srcRect, int c_alphas, int type, Class<?> clazz, int tileSide, int directory_structure_type, boolean use_layer_indices, boolean skip_empty_tiles, int n_threads)
Copyright © 2015–2021 Fiji. All rights reserved.