public class FlattenAsChannel extends StackReader
It assumes that the underlying StackReader
will only return images with:
Constructor and Description |
---|
FlattenAsChannel() |
Modifier and Type | Method and Description |
---|---|
StackReader |
getStackReader()
Reads the image that is subsequently flattened.
|
OpenedImageFile |
openFile(Path path,
ExecutionTimeRecorder executionTimeRecorder)
Opens a file containing one or more images.
|
void |
setStackReader(StackReader stackReader)
Reads the image that is subsequently flattened.
|
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 StackReader getStackReader()
public void setStackReader(StackReader stackReader)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.