Class ToFloat
- Direct Known Subclasses:
FloatFromUnsignedByte,FloatFromUnsignedInt
Base class for implementations of
ConvertTo that convert to float buffers.- Author:
- Owen Feehan
-
Field Summary
Fields inherited from class org.anchoranalysis.io.bioformats.copyconvert.ConvertTo
destinationSize, extent, sourceIncrement, sourceSize -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedToFloat()Constructor populating super-class with necessary values. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanWhether the source buffer can encode more than one channel?Methods inherited from class org.anchoranalysis.io.bioformats.copyconvert.ConvertTo
bytesPerVoxel, convert, convertSliceOfSingleChannel, copyAllChannels, copyChangeOrientation, copyKeepOrientation, setupBefore
-
Constructor Details
-
ToFloat
protected ToFloat()Constructor populating super-class with necessary values.
-
-
Method Details
-
supportsMultipleChannelsPerSourceBuffer
protected boolean supportsMultipleChannelsPerSourceBuffer()Description copied from class:ConvertToWhether the source buffer can encode more than one channel?- Specified by:
supportsMultipleChannelsPerSourceBufferin classConvertTo<FloatBuffer>- Returns:
- true if this possible (either with interleaving or with RGB-encoded voxels), false if a buffer will always describe one channel only.
-