Class MaskReader
Object
MaskReader
Utility functions for reading a 
Mask from the file-system.- Author:
 - Owen Feehan
 
- 
Method Summary
Modifier and TypeMethodDescriptionstatic MaskopenMask(StackReader stackReader, Path path, BinaryValuesInt binaryValues, OperationContext context) Utility functions for opening a single-channeled stack as aMask. 
- 
Method Details
- 
openMask
public static Mask openMask(StackReader stackReader, Path path, BinaryValuesInt binaryValues, OperationContext context) throws ImageIOException Utility functions for opening a single-channeled stack as aMask.- Parameters:
 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.- Returns:
 - a newly created 
Maskas read from the file-system. - Throws:
 ImageIOException- if the underlying image cannot be successfully read from the file-system.
 
 -