Interface ByteRepresentationForChannel
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Creates or retrieves a byte representation of the voxels for a particular slice.
- Author:
- Owen Feehan
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
bytesForSlice
(int sliceIndex) The byte-representation of the voxels for a particular slice.
-
Method Details
-
bytesForSlice
The byte-representation of the voxels for a particular slice.- Parameters:
sliceIndex
- the index of the slice (z coordinate)- Returns:
- an existing (if possible preferably) or newly created byte-array representing a particular channel.
- Throws:
ImageIOException
- if an unsupported source or destination data-type exists for conversion
-