here is a list of supported file formats: https://github.com/xtk/X/wiki/X:Fileformats
the formats under "DICOM/Volume Files" are the ones you want. we support different data types for the voxels (sint, uint, float, double etc.).
XTK converts the numerical values of each voxel to grayscale and renders them.