/** * @param reader - An initialized {@link Reader} to use for reading image * data. * @return - the {@link ImgPlus} or null * @throws ImgIOException if there is a problem reading the image data. */ public List<SCIFIOImgPlus<?>> openImgs(final Reader reader) throws ImgIOException { return openImgs(reader, null); }
/** * @param reader - An initialized {@link Reader} to use for reading image * data. * @return - the {@link ImgPlus} or null * @throws ImgIOException if there is a problem reading the image data. */ public List<SCIFIOImgPlus<?>> openImgs(final Reader reader) throws ImgIOException { return openImgs(reader, null); }
/** * Reads in an {@link ImgPlus} from the first image of the given source. * * @param source - the location of the dataset to open * @return - the {@link ImgPlus} or null * @throws ImgIOException if there is a problem reading the image data. */ public List<SCIFIOImgPlus<?>> openImgs(final String source) throws ImgIOException { return openImgs(source, (SCIFIOConfig) null); }
/** * @deprecated * @see #openImgs(Reader, RealType, ImgFactory, SCIFIOConfig) */ @Deprecated public <T extends RealType<T>> SCIFIOImgPlus<T> openImg(final Reader reader, final T type, final ImgFactory<T> imgFactory, final SCIFIOConfig config) throws ImgIOException { return openImgs(reader, type, imgFactory, config).get(0); }
/** * @deprecated * @see #openImgs(String, ImgFactory, RealType) */ @Deprecated public <T extends RealType<T> & NativeType<T>> SCIFIOImgPlus<T> openImg( final String source, final ImgFactory<T> imgFactory, final T type) throws ImgIOException { return openImgs(source, imgFactory, type).get(0); }
/** * @deprecated * @see #openImgs(Reader, RealType, SCIFIOConfig) */ @Deprecated public <T extends RealType<T> & NativeType<T>> SCIFIOImgPlus<T> openImg( final Reader reader, final T type, final SCIFIOConfig config) throws ImgIOException { return openImgs(reader, type, config).get(0); }
/** * @deprecated * @see #openImgs(String, RealType) */ @Deprecated public <T extends RealType<T> & NativeType<T>> SCIFIOImgPlus<T> openImg( final String source, final T type) throws ImgIOException { return openImgs(source, type).get(0); }
/** * @deprecated * @see #openImgs(String) */ @Deprecated public SCIFIOImgPlus<?> openImg(final String source) throws ImgIOException { return openImgs(source).get(0); }
/** * @deprecated * @see #openImgs(Reader, SCIFIOConfig) */ @Deprecated public SCIFIOImgPlus<?> openImg(final String source, final SCIFIOConfig config) throws ImgIOException { return openImgs(source, config).get(0); }
/** * @deprecated * @see #openImgs(String, ImgFactory) */ @Deprecated public <T extends RealType<T> & NativeType<T>> SCIFIOImgPlus<T> openImg( final String source, final ImgFactory<T> imgFactory) throws ImgIOException { return openImgs(source, imgFactory).get(0); }
/** * @deprecated * @see #openImgs(String, RealType) */ @Deprecated public <T extends RealType<T> & NativeType<T>> SCIFIOImgPlus<T> openImg( final String source, final T type) throws ImgIOException { return openImgs(source, type).get(0); }
/** * @deprecated * @see #openImgs(String, RealType, SCIFIOConfig) */ @Deprecated public <T extends RealType<T> & NativeType<T>> SCIFIOImgPlus<T> openImg( final String source, final T type, final SCIFIOConfig config) throws ImgIOException { return openImgs(source, type, config).get(0); }
/** * @deprecated * @see #openImgs(String, ImgFactory, SCIFIOConfig) */ @Deprecated public <T extends RealType<T> & NativeType<T>> SCIFIOImgPlus<T> openImg( final String source, final ImgFactory<T> imgFactory, final SCIFIOConfig config) throws ImgIOException { return openImgs(source, imgFactory, config).get(0); }
/** * @deprecated * @see #openImgs(Reader, SCIFIOConfig) */ @Deprecated public SCIFIOImgPlus<?> openImg(final Reader reader, final SCIFIOConfig config) throws ImgIOException { return openImgs(reader, config).get(0); }
/** * @deprecated * @see #openImgs(Reader, RealType, SCIFIOConfig) */ @Deprecated public <T extends RealType<T> & NativeType<T>> SCIFIOImgPlus<T> openImg( final Reader reader, final T type, final SCIFIOConfig config) throws ImgIOException { return openImgs(reader, type, config).get(0); }
/** * @deprecated * @see #openImgs(String, RealType, SCIFIOConfig) */ @Deprecated public <T extends RealType<T> & NativeType<T>> SCIFIOImgPlus<T> openImg( final String source, final T type, final SCIFIOConfig config) throws ImgIOException { return openImgs(source, type, config).get(0); }
/** * @deprecated * @see #openImgs(String, ImgFactory, RealType) */ @Deprecated public <T extends RealType<T> & NativeType<T>> SCIFIOImgPlus<T> openImg( final String source, final ImgFactory<T> imgFactory, final T type) throws ImgIOException { return openImgs(source, imgFactory, type).get(0); }
/** * @deprecated * @see #openImgs(String, ImgFactory) */ @Deprecated public <T extends RealType<T> & NativeType<T>> List<SCIFIOImgPlus<T>> openImgs(final String source, final ImgFactory<T> imgFactory, final T type) throws ImgIOException { return openImgs(source, imgFactory.imgFactory(type)); }
/** * @deprecated * @see #openImgs(Reader, ImgFactory, SCIFIOConfig) */ @Deprecated public <T extends RealType<T>> List<SCIFIOImgPlus<T>> openImgs( Reader reader, final T type, final ImgFactory<T> imgFactory, final SCIFIOConfig config) throws ImgIOException { return openImgs(reader, imgFactory.imgFactory(type), config); }
/** * @deprecated * @see #openImgs(String, ImgFactory) */ @Deprecated public <T extends RealType<T> & NativeType<T>> List<SCIFIOImgPlus<T>> openImgs(final String source, final ImgFactory<T> imgFactory, final T type) throws ImgIOException { return openImgs(source, imgFactory.imgFactory(type)); }