public class StackFixture extends Object
ChannelFixture
.Constructor and Description |
---|
StackFixture() |
StackFixture(Optional<VoxelDataType> firstChannelVoxelType)
Create with a voxel-type for the first channel.
|
Modifier and Type | Method and Description |
---|---|
Stack |
create(ChannelSpecification channelSpecification,
Extent extent)
Creates a stack with a particular number of the channels of particular size.
|
public StackFixture(Optional<VoxelDataType> firstChannelVoxelType)
firstChannelVoxelType
- voxel-data type of the first channel, taking precedence over the
channelsVoxelType
argument.public StackFixture()
public Stack create(ChannelSpecification channelSpecification, Extent extent)
Note that if defined, firstChannelVoxelType
takes precedence for the first
channel's data type over that supplied by ChannelSpecification
.
extent
- the size of each channel.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.