Return the ScalarType value corresponding to a given Nifti type constant
Return the ScalarType value corresponding to a given Nifti type constant
a Nifti type constant
the corresponding ScalarType value
IllegalArgumentException
if no corresponding value was found.
Return the ScalarType value corresponding to a given type
Return the ScalarType value corresponding to a given type
a scalar type
the corresponding ScalarType value
IllegalArgumentException
if no corresponding value was found.
Return the ScalarType value corresponding to a given VTK type constant
Return the ScalarType value corresponding to a given VTK type constant
a VTK type constant
the corresponding ScalarType value
IllegalArgumentException
if no corresponding value was found.
Return the ScalarType value corresponding to the data present in a given file.
Return the ScalarType value corresponding to the data present in a given file. Only .vtk, .nii and .nia files are supported.
the file to check
the scalar type present in the given file, wrapped in a scala.util.Success, or a scala.util.Failure explaining the error.
An enumeration comprising all the data types that we can read and write, in VTK and Nifti formats.