/** * @see ImgOpener#openImgs(String, SCIFIOConfig) */ public static List<SCIFIOImgPlus<?>> openImgs(final String source, final SCIFIOConfig config) { final ImgOpener opener = opener(); List<SCIFIOImgPlus<?>> imgPlus = null; try { imgPlus = opener.openImgs(source, config); register(imgPlus, opener); } catch (final ImgIOException e) { openError(source, e); } return imgPlus; }
/** * @see ImgOpener#openImgs(String, ImgFactory, RealType) */ public static <T extends RealType<T> & NativeType<T>> List<SCIFIOImgPlus<T>> openImgs(final String source, final ImgFactory<T> imgFactory) { final ImgOpener opener = opener(); List<SCIFIOImgPlus<T>> imgPlus = null; try { imgPlus = opener.openImgs(source, imgFactory); register(imgPlus, opener); } catch (final ImgIOException e) { openError(source, e); } return imgPlus; }
/** * @see ImgOpener#openImgs(String, ImgFactory, SCIFIOConfig) */ public static <T extends RealType<T> & NativeType<T>> List<SCIFIOImgPlus<T>> openImgs(final String source, final ImgFactory<T> imgFactory, final SCIFIOConfig config) { final ImgOpener opener = opener(); List<SCIFIOImgPlus<T>> imgPlus = null; try { imgPlus = opener.openImgs(source, imgFactory, config); register(imgPlus, opener); } catch (final ImgIOException e) { openError(source, e); } return imgPlus; }
/** * @see ImgOpener#openImgs(String) */ public static List<SCIFIOImgPlus<?>> openImgs(final String source) { final ImgOpener opener = opener(); List<SCIFIOImgPlus<?>> imgPlus = null; try { imgPlus = opener.openImgs(source); register(imgPlus, opener); } catch (final ImgIOException e) { openError(source, e); } return imgPlus; }
/** * @see ImgOpener#openImgs(String, RealType) */ public static <T extends RealType<T> & NativeType<T>> List<SCIFIOImgPlus<T>> openImgs(final String source, final T type) { final ImgOpener opener = opener(); List<SCIFIOImgPlus<T>> imgPlus = null; try { imgPlus = opener.openImgs(source, type); register(imgPlus, opener); } catch (final ImgIOException e) { openError(source, e); } return imgPlus; }
/** * @see ImgOpener#openImgs(String) */ public static List<SCIFIOImgPlus<?>> openImgs(final String source) { final ImgOpener opener = opener(); List<SCIFIOImgPlus<?>> imgPlus = null; try { imgPlus = opener.openImgs(source); register(imgPlus, opener); } catch (final ImgIOException e) { openError(source, e); } return imgPlus; }
/** * @see ImgOpener#openImgs(String, RealType, SCIFIOConfig) */ public static <T extends RealType<T> & NativeType<T>> List<SCIFIOImgPlus<T>> openImgs(final String source, final T type, final SCIFIOConfig config) { final ImgOpener opener = opener(); List<SCIFIOImgPlus<T>> imgPlus = null; try { imgPlus = opener.openImgs(source, type, config); register(imgPlus, opener); } catch (final ImgIOException e) { openError(source, e); } return imgPlus; }
/** * @see ImgOpener#openImgs(String, SCIFIOConfig) */ public static List<SCIFIOImgPlus<?>> openImgs(final String source, final SCIFIOConfig config) { final ImgOpener opener = opener(); List<SCIFIOImgPlus<?>> imgPlus = null; try { imgPlus = opener.openImgs(source, config); register(imgPlus, opener); } catch (final ImgIOException e) { openError(source, e); } return imgPlus; }
/** * @see ImgOpener#openImgs(String, RealType, SCIFIOConfig) */ public static <T extends RealType<T> & NativeType<T>> List<SCIFIOImgPlus<T>> openImgs(final String source, final T type, final SCIFIOConfig config) { final ImgOpener opener = opener(); List<SCIFIOImgPlus<T>> imgPlus = null; try { imgPlus = opener.openImgs(source, type, config); register(imgPlus, opener); } catch (final ImgIOException e) { openError(source, e); } return imgPlus; }
/** * @see ImgOpener#openImgs(String, ImgFactory, SCIFIOConfig) */ public static <T extends RealType<T> & NativeType<T>> List<SCIFIOImgPlus<T>> openImgs(final String source, final ImgFactory<T> imgFactory, final SCIFIOConfig config) { final ImgOpener opener = opener(); List<SCIFIOImgPlus<T>> imgPlus = null; try { imgPlus = opener.openImgs(source, imgFactory, config); register(imgPlus, opener); } catch (final ImgIOException e) { openError(source, e); } return imgPlus; }
/** * @see ImgOpener#openImgs(String, RealType) */ public static <T extends RealType<T> & NativeType<T>> List<SCIFIOImgPlus<T>> openImgs(final String source, final T type) { final ImgOpener opener = opener(); List<SCIFIOImgPlus<T>> imgPlus = null; try { imgPlus = opener.openImgs(source, type); register(imgPlus, opener); } catch (final ImgIOException e) { openError(source, e); } return imgPlus; }
/** * @see ImgOpener#openImgs(String, ImgFactory, RealType) */ public static <T extends RealType<T> & NativeType<T>> List<SCIFIOImgPlus<T>> openImgs(final String source, final ImgFactory<T> imgFactory) { final ImgOpener opener = opener(); List<SCIFIOImgPlus<T>> imgPlus = null; try { imgPlus = opener.openImgs(source, imgFactory); register(imgPlus, opener); } catch (final ImgIOException e) { openError(source, e); } return imgPlus; }
/** * As {@link ImgOpener#openImgs(String)} with a guaranteed {@link DoubleType}. */ public static List<SCIFIOImgPlus<DoubleType>> openDoubleImgs( final String source) { final ImgOpener opener = opener(); List<SCIFIOImgPlus<DoubleType>> imgPlus = null; try { imgPlus = opener.openImgs(source, new DoubleType()); register(imgPlus, opener); } catch (final ImgIOException e) { openError(source, e); } return imgPlus; }
/** * As {@link ImgOpener#openImgs(String)} with a guaranteed {@link DoubleType}. */ public static List<SCIFIOImgPlus<DoubleType>> openDoubleImgs( final String source) { final ImgOpener opener = opener(); List<SCIFIOImgPlus<DoubleType>> imgPlus = null; try { imgPlus = opener.openImgs(source, new DoubleType()); register(imgPlus, opener); } catch (final ImgIOException e) { openError(source, e); } return imgPlus; }
/** * As {@link ImgOpener#openImgs(String)} with a guaranteed {@link FloatType} . */ public static List<SCIFIOImgPlus<FloatType>> openFloatImgs(final String source) { final ImgOpener opener = opener(); List<SCIFIOImgPlus<FloatType>> imgPlus = null; try { imgPlus = opener.openImgs(source, new FloatType()); register(imgPlus, opener); } catch (final ImgIOException e) { openError(source, e); } return imgPlus; }
/** * As {@link ImgOpener#openImgs(String)} with a guaranteed {@link FloatType} . */ public static List<SCIFIOImgPlus<FloatType>> openFloatImgs(final String source) { final ImgOpener opener = opener(); List<SCIFIOImgPlus<FloatType>> imgPlus = null; try { imgPlus = opener.openImgs(source, new FloatType()); register(imgPlus, opener); } catch (final ImgIOException e) { openError(source, e); } return imgPlus; }
/** * As {@link ImgOpener#openImgs(String)} with a guaranteed * {@link UnsignedByteType}. */ public static List<SCIFIOImgPlus<UnsignedByteType>> openUnsignedByteImgs( final String source) { final ImgOpener opener = opener(); List<SCIFIOImgPlus<UnsignedByteType>> imgPlus = null; try { imgPlus = opener.openImgs(source, new UnsignedByteType()); register(imgPlus, opener); } catch (final ImgIOException e) { openError(source, e); } return imgPlus; }
/** * As {@link ImgOpener#openImgs(String)} with a guaranteed * {@link UnsignedByteType}. */ public static List<SCIFIOImgPlus<UnsignedByteType>> openUnsignedByteImgs( final String source) { final ImgOpener opener = opener(); List<SCIFIOImgPlus<UnsignedByteType>> imgPlus = null; try { imgPlus = opener.openImgs(source, new UnsignedByteType()); register(imgPlus, opener); } catch (final ImgIOException e) { openError(source, e); } return imgPlus; }
/** * @see ImgOpener#openImgs(Reader, ImgFactory, SCIFIOConfig) */ public static <T extends RealType<T> & NativeType<T>> List<SCIFIOImgPlus<T>> openImgs(final Reader reader, final ImgFactory<T> imgFactory, final SCIFIOConfig config) { final ImgOpener opener = opener(); List<SCIFIOImgPlus<T>> imgPlus = null; try { imgPlus = opener.openImgs(reader, imgFactory, config); register(imgPlus, opener); } catch (final ImgIOException e) { openError(reader.getMetadata().getDatasetName(), e); } return imgPlus; }
/** * @see ImgOpener#openImgs(Reader, RealType, SCIFIOConfig) */ public static <T extends RealType<T> & NativeType<T>> List<SCIFIOImgPlus<T>> openImgs(final Reader reader, final T type, final SCIFIOConfig config) { final ImgOpener opener = opener(); List<SCIFIOImgPlus<T>> imgPlus = null; try { imgPlus = opener.openImgs(reader, type, config); register(imgPlus, opener); } catch (final ImgIOException e) { openError(reader.getMetadata().getDatasetName(), e); } return imgPlus; }