+-- | The MRI module contains functionsd and definitions relevant (and
+-- specific) to the MRI data files found at,
+--
+-- <http://graphics.stanford.edu/data/voldata/>
+--
module MRI (
flip_x,
flip_y,
mri_slice3d :: DIM3
mri_slice3d = (Z :. 1 :. mri_height :. mri_width)
+-- | RawData is an array of words (16 bits), as contained in the MRI
+-- data files.
type RawData sh = Array sh Word16
+
+-- | A specialization of the 'RawData' type, to three dimensions.
type RawData3D = RawData DIM3
type RGB = (Word8, Word8, Word8)