Interface ChannelConverterAttached<S,T>
- Type Parameters:
S- type of object to which the channel-convert is attached.T- buffer-type the voxels will be converted to.
- All Known Implementing Classes:
IntensityRange,MaxIntensity,MaxIntensityFromHistogram,QuantileIntensity,QuantileIntensityFromHistogram,UpperLowerQuantileIntensity,UpperLowerQuantileIntensityFromHistogram
public interface ChannelConverterAttached<S,T>
A channel-converter that has been permanently associated with a particular object.
This object can provide necessary parameters (e.g. ranges of voxel intensities) for the conversion.
- Author:
- Owen Feehan
-
Method Summary
Modifier and TypeMethodDescriptionvoidattachObject(S object) Associate the convert with a particular object.convert(Channel channel, ConversionPolicy changeExisting) Converts the voxel-type in aChannel.Converts voxels to have type voxel-typeT.
-
Method Details
-
attachObject
Associate the convert with a particular object.- Parameters:
object- the object to associate the converter with.- Throws:
OperationFailedException- if the association cannot be completed successfully.
-
convert
Converts the voxel-type in aChannel. -
getVoxelsConverter
VoxelsConverter<T> getVoxelsConverter()Converts voxels to have type voxel-typeT.- Returns:
- the converter.
-