public class DefaultImgFactoryHeuristic extends Object implements ImgFactoryHeuristic
ImgFactoryHeuristic implementation. Uses the following
heuristic to select a factory:
NB: ImgMode.CELL is always satisfied. Thus to avoid a particular ImgMode, provide a list excluding the undesired types that includes ImgMode.CELL last.
| Constructor and Description |
|---|
DefaultImgFactoryHeuristic() |
| Modifier and Type | Method and Description |
|---|---|
<T> net.imglib2.img.ImgFactory<T> |
createFactory(Metadata m,
SCIFIOConfig.ImgMode[] imgModes,
T type) |
public <T> net.imglib2.img.ImgFactory<T> createFactory(Metadata m, SCIFIOConfig.ImgMode[] imgModes, T type) throws net.imglib2.exception.IncompatibleTypeException
createFactory in interface ImgFactoryHeuristicm - Metadata describing the imageimgModes - An ordered list of ImgModes. Each should be investigated in
the order they appear.net.imglib2.exception.IncompatibleTypeException - If an ImgFactory of type T can't be
created matching the type described by the Metadata.Copyright © 2011–2026 SCIFIO. All rights reserved.