public class ImageOpener extends Object implements loci.common.StatusReporter
Modifier and Type | Field and Description |
---|---|
static String |
CHANNEL |
static String |
TIME |
static String |
X |
static String |
Y |
static String |
Z |
Constructor and Description |
---|
ImageOpener() |
Modifier and Type | Method and Description |
---|---|
void |
addStatusListener(loci.common.StatusListener l)
Adds a listener to those informed when progress occurs.
|
static String |
decodeName(String name)
Converts the given image name back to a list of dimensional axis types.
|
static String[] |
decodeTypes(String name)
Converts the given image name back to a list of dimensional axis types.
|
static PlanarAccess<ArrayDataAccess<?>> |
getPlanarAccess(Image<?> im)
Obtains planar access instance backing the given image, if any.
|
static ArrayDataAccess<?> |
makeArray(Object array)
Wraps raw primitive array in imglib Array object.
|
static <T extends RealType<T>> |
makeType(int pixelType)
Converts Bio-Formats pixel type to imglib Type object.
|
void |
notifyListeners(loci.common.StatusEvent e)
Notifies registered listeners of progress.
|
<T extends RealType<T>> |
openImage(IFormatReader r,
ImageFactory<T> imageFactory)
|
<T extends RealType<T>> |
openImage(String id)
Reads in an imglib
Image from the given source
(e.g., file on disk). |
<T extends RealType<T>> |
openImage(String id,
ContainerFactory containerFactory)
Reads in an imglib
Image from the given source
(e.g., file on disk), using the given ContainerFactory
to construct the Image . |
<T extends RealType<T>> |
openImage(String id,
ImageFactory<T> imageFactory)
Reads in an imglib
Image from the given source
(e.g., file on disk), using the given ImageFactory
to construct the Image . |
void |
removeStatusListener(loci.common.StatusListener l)
Removes a listener from those informed when progress occurs.
|
public static final String X
public static final String Y
public static final String Z
public static final String TIME
public static final String CHANNEL
public <T extends RealType<T>> Image<T> openImage(String id) throws FormatException, IOException
Image
from the given source
(e.g., file on disk).FormatException
IOException
public <T extends RealType<T>> Image<T> openImage(String id, ContainerFactory containerFactory) throws FormatException, IOException
Image
from the given source
(e.g., file on disk), using the given ContainerFactory
to construct the Image
.FormatException
IOException
public <T extends RealType<T>> Image<T> openImage(String id, ImageFactory<T> imageFactory) throws FormatException, IOException
Image
from the given source
(e.g., file on disk), using the given ImageFactory
to construct the Image
.FormatException
IOException
public <T extends RealType<T>> Image<T> openImage(IFormatReader r, ImageFactory<T> imageFactory) throws FormatException, IOException
FormatException
IOException
public static PlanarAccess<ArrayDataAccess<?>> getPlanarAccess(Image<?> im)
public static <T extends RealType<T>> T makeType(int pixelType)
public static ArrayDataAccess<?> makeArray(Object array)
public static String decodeName(String name)
public static String[] decodeTypes(String name)
public void addStatusListener(loci.common.StatusListener l)
addStatusListener
in interface loci.common.StatusReporter
public void removeStatusListener(loci.common.StatusListener l)
removeStatusListener
in interface loci.common.StatusReporter
public void notifyListeners(loci.common.StatusEvent e)
notifyListeners
in interface loci.common.StatusReporter
Copyright © 2015–2021 Fiji. All rights reserved.