public class ImportProcess extends Object implements loci.common.StatusReporter
execute()
, the process will be ready to feed to
an ImagePlusReader
to read in the actual ImagePlus
objects.Modifier and Type | Field and Description |
---|---|
protected loci.common.Location |
idLoc |
protected String |
idName |
protected IMetadata |
meta |
Constructor and Description |
---|
ImportProcess() |
ImportProcess(ImporterOptions options) |
Modifier and Type | Method and Description |
---|---|
void |
addStatusListener(loci.common.StatusListener l) |
void |
cancel()
Cancels the import process.
|
boolean |
execute()
Performs the import preparation process,
notifying status listeners at each step.
|
IFormatReader |
getBaseReader()
Valid only after
ImportStep.READER . |
int |
getCBegin(int s) |
int |
getCCount(int s)
Valid only after
ImportStep.SERIES . |
int |
getCEnd(int s)
Valid only after
ImportStep.STACK . |
ChannelFiller |
getChannelFiller()
Valid only after
ImportStep.STACK . |
ChannelSeparator |
getChannelSeparator()
Valid only after
ImportStep.STACK . |
loci.common.Region |
getCropRegion(int s)
Valid only after
ImportStep.STACK . |
int |
getCStep(int s) |
String |
getCurrentFile()
Valid only after
ImportStep.STACK . |
DimensionSwapper |
getDimensionSwapper()
Valid only after
ImportStep.STACK . |
FileStitcher |
getFileStitcher()
Valid only after
ImportStep.STACK . |
loci.common.Location |
getIdLocation()
Valid only after
ImportStep.READER . |
String |
getIdName()
Valid only after
ImportStep.READER . |
ImageReader |
getImageReader()
Valid only after
ImportStep.READER . |
long |
getMemoryUsage()
Gets a projection of required memory in bytes.
|
MinMaxCalculator |
getMinMaxCalculator()
Valid only after
ImportStep.STACK . |
IMetadata |
getOMEMetadata()
Valid only after
ImportStep.READER . |
String |
getOMEXML()
Valid only after
ImportStep.READER . |
ImporterOptions |
getOptions() |
ImporterMetadata |
getOriginalMetadata()
Valid only after
ImportStep.METADATA . |
ImageProcessorReader |
getReader()
Valid only after
ImportStep.STACK . |
int |
getSeriesCount()
Valid only after
ImportStep.STACK . |
String |
getSeriesLabel(int s)
Valid only after
ImportStep.STACK . |
String |
getStackOrder()
Valid only after
ImportStep.STACK . |
int |
getTBegin(int s) |
int |
getTCount(int s)
Valid only after
ImportStep.SERIES . |
int |
getTEnd(int s)
Valid only after
ImportStep.STACK . |
int |
getTStep(int s) |
VirtualReader |
getVirtualReader()
Valid only after
ImportStep.STACK . |
int |
getZBegin(int s) |
int |
getZCount(int s)
Valid only after
ImportStep.SERIES . |
int |
getZEnd(int s)
Valid only after
ImportStep.STACK . |
int |
getZStep(int s) |
boolean |
isWindowless() |
void |
notifyListeners(loci.common.StatusEvent e) |
void |
removeStatusListener(loci.common.StatusListener l) |
void |
setSeriesList(String seriesList) |
boolean |
wasCanceled()
Gets whether the import process was canceled.
|
protected String idName
protected loci.common.Location idLoc
protected IMetadata meta
public ImportProcess() throws IOException
IOException
public ImportProcess(ImporterOptions options)
public boolean execute() throws FormatException, IOException
FormatException
IOException
public void cancel()
public boolean wasCanceled()
public ImporterOptions getOptions()
public boolean isWindowless()
public void setSeriesList(String seriesList)
public IFormatReader getBaseReader()
ImportStep.READER
.public ImageReader getImageReader()
ImportStep.READER
.public String getIdName()
ImportStep.READER
.public loci.common.Location getIdLocation()
ImportStep.READER
.public IMetadata getOMEMetadata()
ImportStep.READER
.public String getOMEXML()
ImportStep.READER
.public FileStitcher getFileStitcher()
ImportStep.STACK
.public ChannelFiller getChannelFiller()
ImportStep.STACK
.public ChannelSeparator getChannelSeparator()
ImportStep.STACK
.public DimensionSwapper getDimensionSwapper()
ImportStep.STACK
.public MinMaxCalculator getMinMaxCalculator()
ImportStep.STACK
.public VirtualReader getVirtualReader()
ImportStep.STACK
.public ImageProcessorReader getReader()
ImportStep.STACK
.public String getCurrentFile()
ImportStep.STACK
.public int getSeriesCount()
ImportStep.STACK
.public String getSeriesLabel(int s)
ImportStep.STACK
.public String getStackOrder()
ImportStep.STACK
.public int getCBegin(int s)
public int getCEnd(int s)
ImportStep.STACK
.public int getCStep(int s)
public int getZBegin(int s)
public int getZEnd(int s)
ImportStep.STACK
.public int getZStep(int s)
public int getTBegin(int s)
public int getTEnd(int s)
ImportStep.STACK
.public int getTStep(int s)
public loci.common.Region getCropRegion(int s)
ImportStep.STACK
.public int getCCount(int s)
ImportStep.SERIES
.public int getZCount(int s)
ImportStep.SERIES
.public int getTCount(int s)
ImportStep.SERIES
.public long getMemoryUsage()
ImportStep.SERIES
.public ImporterMetadata getOriginalMetadata()
ImportStep.METADATA
.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.