public class BranchExtension extends StackReader
Constructor and Description |
---|
BranchExtension() |
Modifier and Type | Method and Description |
---|---|
StringSet |
getExtensions()
Any extensions to match (case insensitive) excluding any leading period.
|
StackReader |
getReaderMatching()
The reader to use if the extension matches.
|
StackReader |
getReaderNotMatching()
The reader to use if the extension does not match.
|
OpenedImageFile |
openFile(Path path,
ExecutionTimeRecorder executionTimeRecorder)
Opens a file containing one or more images.
|
void |
setExtensions(StringSet extensions)
Any extensions to match (case insensitive) excluding any leading period.
|
void |
setReaderMatching(StackReader readerMatching)
The reader to use if the extension matches.
|
void |
setReaderNotMatching(StackReader readerNotMatching)
The reader to use if the extension does not match.
|
readStack
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public OpenedImageFile openFile(Path path, ExecutionTimeRecorder executionTimeRecorder) throws ImageIOException
StackReader
This method should run as computationally quicky as possible. Image voxels should not yet be read.
openFile
in class StackReader
path
- where the file is located.executionTimeRecorder
- records the execution-times of certain operations.ImageIOException
- if the file cannot be read.public StringSet getExtensions()
public void setExtensions(StringSet extensions)
public StackReader getReaderMatching()
public void setReaderMatching(StackReader readerMatching)
public StackReader getReaderNotMatching()
public void setReaderNotMatching(StackReader readerNotMatching)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.