S
- type of object to which the channel-convert is attached.T
- buffer-type the voxels will be converted to.public interface ChannelConverterAttached<S,T>
This object can provide necessary parameters (e.g. ranges of voxel intensities) for the conversion.
Modifier and Type | Method and Description |
---|---|
void |
attachObject(S object)
Associate the convert with a particular object.
|
Channel |
convert(Channel channel,
ConversionPolicy changeExisting)
Converts the voxel-type in a
Channel . |
VoxelsConverter<T> |
getVoxelsConverter()
Converts voxels to have type voxel-type
T . |
void attachObject(S object) throws OperationFailedException
object
- the object to associate the converter with.OperationFailedException
- if the association cannot be completed successfully.Channel convert(Channel channel, ConversionPolicy changeExisting)
Channel
.VoxelsConverter<T> getVoxelsConverter()
T
.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.