Modifier and Type | Method and Description |
---|---|
static Mask |
createMaskOff(Dimensions dimensions)
Creates a binary-mask for specific dimensions with all voxels set to off.
|
static Mask |
createMaskOff(Dimensions dimensions,
BinaryValuesInt binaryValues)
Creates a binary-mask for specific dimensions with all voxels set to off.
|
static Mask |
createMaskOn(Dimensions dimensions)
Creates a binary-mask for specific dimensions with all voxels set to on.
|
static Mask |
createMaskOn(Dimensions dimensions,
BinaryValuesInt binaryValues)
Creates a binary-mask for specific dimensions with all voxels set to on.
|
public static Mask createMaskOff(Dimensions dimensions)
The mask uses default binary-values of off (0) and on (255).
dimensions
- the dimensions to create the mask for.public static Mask createMaskOff(Dimensions dimensions, BinaryValuesInt binaryValues)
dimensions
- the dimensions to create the mask for.binaryValues
- binary-values.public static Mask createMaskOn(Dimensions dimensions)
The mask uses default binary-values of off (0) and on (255).
dimensions
- the dimensions to create the mask for.public static Mask createMaskOn(Dimensions dimensions, BinaryValuesInt binaryValues)
dimensions
- the dimensions to create the mask for.binaryValues
- binary-values.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.