-
- All Implemented Interfaces:
SCIFIOPlugin,Comparable<org.scijava.Prioritized>,org.scijava.Contextual,org.scijava.Identifiable,org.scijava.Locatable,org.scijava.log.Logged,org.scijava.plugin.HasPluginInfo,org.scijava.plugin.RichPlugin,org.scijava.plugin.SciJavaPlugin,org.scijava.Prioritized,org.scijava.Versioned
public class ImgOpener extends AbstractImgIOComponent
Reads images from data sources using SCIFIO.- Author:
- Curtis Rueden, Mark Hiner, Stephan Preibisch, Stephan Saalfeld
-
-
Constructor Summary
Constructors Constructor Description ImgOpener()ImgOpener(org.scijava.Context ctx)
-
Method Summary
-
Methods inherited from class io.scif.img.AbstractImgIOComponent
utils
-
Methods inherited from class io.scif.AbstractSCIFIOPlugin
getVersion, log
-
Methods inherited from class org.scijava.plugin.AbstractRichPlugin
getInfo, getPriority, setInfo, setPriority, toString
-
Methods inherited from class org.scijava.AbstractContextual
context, getContext
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.scijava.Contextual
context, getContext, setContext
-
Methods inherited from interface org.scijava.plugin.HasPluginInfo
getInfo, setInfo
-
Methods inherited from interface org.scijava.Locatable
getLocation
-
Methods inherited from interface org.scijava.Prioritized
compareTo, getPriority, setPriority
-
Methods inherited from interface org.scijava.plugin.RichPlugin
getIdentifier
-
-
-
-
Constructor Detail
-
ImgOpener
public ImgOpener()
-
ImgOpener
public ImgOpener(org.scijava.Context ctx)
-
-
Method Detail
-
openImgs
public List<SCIFIOImgPlus<?>> openImgs(String source) throws ImgIOException
Reads in images from the given source.- Parameters:
source- the location of the images to open- Returns:
- the images which were read
- Throws:
ImgIOException- if there is a problem reading the image data.
-
openImgs
public <T extends net.imglib2.type.numeric.RealType<T> & net.imglib2.type.NativeType<T>> List<SCIFIOImgPlus<T>> openImgs(String source, T type) throws ImgIOException
Reads in images from the given source.- Parameters:
source- the location of the images to opentype- TheTypeT of the outputImgPluses.- Returns:
- the images which were read
- Throws:
ImgIOException- if there is a problem reading the image data.
-
openImgs
public List<SCIFIOImgPlus<?>> openImgs(String source, SCIFIOConfig config) throws ImgIOException
Reads in images from the given source.- Parameters:
source- the location of the images to openconfig-SCIFIOConfigto use when opening the images- Returns:
- the images which were read
- Throws:
ImgIOException- if there is a problem reading the image data.
-
openImgs
public <T extends net.imglib2.type.numeric.RealType<T> & net.imglib2.type.NativeType<T>> List<SCIFIOImgPlus<T>> openImgs(String source, T type, SCIFIOConfig config) throws ImgIOException
Reads in images from the given source.- Parameters:
source- the location of the images to opentype- TheTypeT of the outputImgPluses.config-SCIFIOConfigto use when opening the images- Returns:
- the images which were read
- Throws:
ImgIOException- if there is a problem reading the image data.
-
openImgs
public <T extends net.imglib2.type.numeric.RealType<T> & net.imglib2.type.NativeType<T>> List<SCIFIOImgPlus<T>> openImgs(String source, net.imglib2.img.ImgFactory<T> imgFactory) throws ImgIOException
Reads in images from the given source.- Parameters:
source- the location of the dataset to openimgFactory- TheImgFactoryto use for creating the resultantImgPlus.- Returns:
- the images which were read
- Throws:
ImgIOException- if there is a problem reading the image data.
-
openImgs
public <T extends net.imglib2.type.numeric.RealType<T> & net.imglib2.type.NativeType<T>> List<SCIFIOImgPlus<T>> openImgs(String source, net.imglib2.img.ImgFactory<T> imgFactory, SCIFIOConfig config) throws ImgIOException
Reads in images from the given source.- Parameters:
source- the location of the dataset to openimgFactory- TheImgFactoryto use for creating the resultantImgPlus.config-SCIFIOConfigto use when opening the images- Returns:
- the images which were read
- Throws:
ImgIOException- if there is a problem reading the image data.
-
openImgs
public List<SCIFIOImgPlus<?>> openImgs(org.scijava.io.location.Location source) throws ImgIOException
Reads in images from the given source.- Parameters:
source- the location of the images to open- Returns:
- the images which were read
- Throws:
ImgIOException- if there is a problem reading the image data.
-
openImgs
public <T> List<SCIFIOImgPlus<T>> openImgs(org.scijava.io.location.Location source, T type) throws ImgIOException
Reads in images from the given source.- Parameters:
source- the location of the images to opentype- TheTypeT of the outputImgPluses.- Returns:
- the images which were read
- Throws:
ImgIOException- if there is a problem reading the image data.
-
openImgs
public List<SCIFIOImgPlus<?>> openImgs(org.scijava.io.location.Location source, SCIFIOConfig config) throws ImgIOException
Reads in images from the given source.- Parameters:
source- the location of the images to openconfig-SCIFIOConfigto use when opening the images- Returns:
- the images which were read
- Throws:
ImgIOException- if there is a problem reading the image data.
-
openImgs
public <T> List<SCIFIOImgPlus<T>> openImgs(org.scijava.io.location.Location source, T type, SCIFIOConfig config) throws ImgIOException
Reads in images from the given source.- Parameters:
source- the location of the images to opentype- TheTypeT of the outputImgPluses.config-SCIFIOConfigto use when opening the images- Returns:
- the images which were read
- Throws:
ImgIOException- if there is a problem reading the image data.
-
openImgs
public <T> List<SCIFIOImgPlus<T>> openImgs(org.scijava.io.location.Location source, net.imglib2.img.ImgFactory<T> imgFactory) throws ImgIOException
Reads in images from the given source.- Parameters:
source- the location of the dataset to openimgFactory- TheImgFactoryto use for creating the resultantImgPlus.- Returns:
- the images which were read
- Throws:
ImgIOException- if there is a problem reading the image data.
-
openImgs
public <T> List<SCIFIOImgPlus<T>> openImgs(org.scijava.io.location.Location source, net.imglib2.img.ImgFactory<T> imgFactory, SCIFIOConfig config) throws ImgIOException
Reads in images from the given source.- Parameters:
source- the location of the dataset to openimgFactory- TheImgFactoryto use for creating the resultantImgPlus.config-SCIFIOConfigto use when opening the images- Returns:
- the images which were read
- Throws:
ImgIOException- if there is a problem reading the image data.
-
openImgs
public List<SCIFIOImgPlus<?>> openImgs(Reader reader) throws ImgIOException
Reads in images using the givenReader.- Parameters:
reader- An initializedReaderto use for reading image data. Must be wrapped by aPlaneSeparatorfilter.- Returns:
- the images which were read
- Throws:
ImgIOException- if there is a problem reading the image data.
-
openImgs
public List<SCIFIOImgPlus<?>> openImgs(Reader reader, SCIFIOConfig config) throws ImgIOException
Reads in images using the givenReader.- Parameters:
reader- An initializedReaderto use for reading image data. Must be wrapped by aPlaneSeparatorfilter.config-SCIFIOConfigto use when opening the images- Returns:
- the images which were read
- Throws:
ImgIOException- if there is a problem reading the image data.
-
openImgs
public <T> List<SCIFIOImgPlus<T>> openImgs(Reader reader, T type, SCIFIOConfig config) throws ImgIOException
Reads in images using the givenReader.- Parameters:
reader- An initializedReaderto use for reading image data. Must be wrapped by aPlaneSeparatorfilter.type- TheTypeT of the outputImgPluses.config-SCIFIOConfigto use when opening the images- Returns:
- the images which were read
- Throws:
ImgIOException- if there is a problem reading the image data.
-
openImgs
public <T> List<SCIFIOImgPlus<T>> openImgs(Reader reader, net.imglib2.img.ImgFactory<T> imgFactory, SCIFIOConfig config) throws ImgIOException
Reads in images using the givenReader.- Parameters:
reader- An initializedReaderto use for reading image data. Must be wrapped by aPlaneSeparatorfilter.imgFactory- TheImgFactoryto use for creating the resultantImgPlus.config-SCIFIOConfigto use when opening the images- Returns:
- the images which were read
- Throws:
ImgIOException- if there is a problem reading the image data.
-
openImgs
@Deprecated public <T extends net.imglib2.type.numeric.RealType<T> & net.imglib2.type.NativeType<T>> List<SCIFIOImgPlus<T>> openImgs(String source, net.imglib2.img.ImgFactory<T> imgFactory, T type) throws ImgIOException
Deprecated.- Throws:
ImgIOException
-
openImgs
@Deprecated public <T extends net.imglib2.type.numeric.RealType<T>> List<SCIFIOImgPlus<T>> openImgs(Reader reader, T type, net.imglib2.img.ImgFactory<T> imgFactory, SCIFIOConfig config) throws ImgIOException
Deprecated.- Throws:
ImgIOException
-
openImg
@Deprecated public SCIFIOImgPlus<?> openImg(String source) throws ImgIOException
Deprecated.UseopenImgs(String).- Throws:
ImgIOException
-
openImg
@Deprecated public <T extends net.imglib2.type.numeric.RealType<T> & net.imglib2.type.NativeType<T>> SCIFIOImgPlus<T> openImg(String source, T type) throws ImgIOException
Deprecated.- Throws:
ImgIOException
-
openImg
@Deprecated public SCIFIOImgPlus<?> openImg(String source, SCIFIOConfig config) throws ImgIOException
Deprecated.- Throws:
ImgIOException
-
openImg
@Deprecated public <T extends net.imglib2.type.numeric.RealType<T> & net.imglib2.type.NativeType<T>> SCIFIOImgPlus<T> openImg(String source, T type, SCIFIOConfig config) throws ImgIOException
Deprecated.- Throws:
ImgIOException
-
openImg
@Deprecated public <T extends net.imglib2.type.numeric.RealType<T> & net.imglib2.type.NativeType<T>> SCIFIOImgPlus<T> openImg(String source, net.imglib2.img.ImgFactory<T> imgFactory) throws ImgIOException
Deprecated.- Throws:
ImgIOException
-
openImg
@Deprecated public <T extends net.imglib2.type.numeric.RealType<T> & net.imglib2.type.NativeType<T>> SCIFIOImgPlus<T> openImg(String source, net.imglib2.img.ImgFactory<T> imgFactory, SCIFIOConfig config) throws ImgIOException
Deprecated.- Throws:
ImgIOException
-
openImg
@Deprecated public <T extends net.imglib2.type.numeric.RealType<T> & net.imglib2.type.NativeType<T>> SCIFIOImgPlus<T> openImg(String source, net.imglib2.img.ImgFactory<T> imgFactory, T type) throws ImgIOException
Deprecated.- Throws:
ImgIOException
-
openImg
@Deprecated public SCIFIOImgPlus<?> openImg(Reader reader, SCIFIOConfig config) throws ImgIOException
Deprecated.- Throws:
ImgIOException
-
openImg
@Deprecated public <T extends net.imglib2.type.numeric.RealType<T> & net.imglib2.type.NativeType<T>> SCIFIOImgPlus<T> openImg(Reader reader, T type, SCIFIOConfig config) throws ImgIOException
Deprecated.- Throws:
ImgIOException
-
openImg
@Deprecated public <T extends net.imglib2.type.numeric.RealType<T>> SCIFIOImgPlus<T> openImg(Reader reader, T type, net.imglib2.img.ImgFactory<T> imgFactory, SCIFIOConfig config) throws ImgIOException
Deprecated.- Throws:
ImgIOException
-
-