public abstract class StackReader extends AnchorBean<StackReader>
Stackfrom the file-system.
|Constructor and Description|
|Modifier and Type||Method and Description|
Opens a file containing one or more images but does not read an image.
Opens a file at
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public Stack readStack(Path path) throws ImageIOException
paththat should contain only a single-stack.
path- the path of the image-file to open
ImageIOException- if there is a series of stacks in the file, or if anything else goes wrong
public abstract OpenedImageFile openFile(Path path) throws ImageIOException
path- where the file is located
ImageIOException- if the file cannot be read.
Copyright © 2010–2021 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.