public interface InitializeService extends SCIFIOService
NB: The initializeReader(org.scijava.io.location.Location) line of methods return a
ReaderFilter instead of a basic Reader. This is a
convenience to allow filters to be enabled if desired.
Reader,
Writer,
ReaderFilterinitialize, registerEventHandlersgetIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersiondisposeReaderFilter initializeReader(org.scijava.io.location.Location id) throws FormatException, IOException
initializeReader(Location, SCIFIOConfig). Will not open the
image source while parsing metadata.id - Name of the image source to be read.Reader.FormatExceptionIOExceptionReaderFilter initializeReader(org.scijava.io.location.Location id, SCIFIOConfig config) throws FormatException, IOException
Reader component that is ready to
open planes of the provided image source. The reader's Metadata and
source fields will be populated.id - Name of the image source to be read.config - Configuration for this method execution.Reader.FormatExceptionIOExceptionWriter initializeWriter(org.scijava.io.location.Location source, org.scijava.io.location.Location destination) throws FormatException, IOException
initializeWriter(Location, Location, SCIFIOConfig). Will not
open the image source while parsing metadata.source - Name of the image source to use for parsing metadata.destination - Name of the writing destination.Writer.FormatExceptionIOExceptionWriter initializeWriter(org.scijava.io.location.Location source, org.scijava.io.location.Location destination, SCIFIOConfig config) throws FormatException, IOException
initializeWriter(Location, Location) with configuration
options.source - Name of the image source to use for parsing metadata.destination - Name of the writing destination.config - Configuration for this method execution.Writer.FormatExceptionIOExceptionWriter initializeWriter(Metadata sourceMeta, org.scijava.io.location.Location destination) throws FormatException, IOException
initializeWriter(Location, Location, SCIFIOConfig). Will not
open the image source while parsing metadata.sourceMeta - Name of the image source to use for parsing metadata.destination - Name of the writing destination.Writer.FormatExceptionIOExceptionWriter initializeWriter(Metadata sourceMeta, org.scijava.io.location.Location destination, SCIFIOConfig config) throws FormatException, IOException
initializeWriter(Metadata, Location) with configuration
options.sourceMeta - Name of the image source to use for parsing metadata.destination - Name of the writing destination.config - Configuration information to use for this parse.Writer.FormatExceptionIOExceptionMetadata parseMetadata(org.scijava.io.location.Location id) throws IOException, FormatException
Metadata without reading the underlying
pixels. Useful when translating to other formats, or simply extracting
image metadata. Will not open the image source when determining format
compatibility.id - Name of the image source to be read.Metadata for the given source.FormatExceptionIOExceptionMetadata parseMetadata(org.scijava.io.location.Location id, SCIFIOConfig config) throws FormatException, IOException
parseMetadata(Location) with a flag to open the underlying
dataset when parsing, if desired.id - Name of the image source to be read.config - Configuration for this method execution.Metadata for the given source.FormatExceptionIOExceptionCopyright © 2011–2026 SCIFIO. All rights reserved.