Modifier and Type | Method and Description |
---|---|
static Mask |
openMask(StackReader stackReader,
Path path,
BinaryValuesInt binaryValues,
OperationContext context)
Utility functions for opening a single-channeled stack as a
Mask . |
public static Mask openMask(StackReader stackReader, Path path, BinaryValuesInt binaryValues, OperationContext context) throws ImageIOException
Mask
.stackReader
- the raster-reader for reading the stack.path
- the path the raster is located at.binaryValues
- what constitutes on and off voxels in the raster.context
- context for reading a stack from the file-system.Mask
as read from the file-system.ImageIOException
- if the underlying image cannot be successfully read from the
file-system.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.