X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=src%2FMRI.hs;h=c142dcd22b4d74e5b815841b894e212181131791;hb=bebe7214d77fd80ae2d0cc376846165e06eace93;hp=cb89af91d145c8c25c130a73b9814c9a6bfde869;hpb=be270c8af37aae540ae6649aed91762017d07ac2;p=spline3.git diff --git a/src/MRI.hs b/src/MRI.hs index cb89af9..c142dcd 100644 --- a/src/MRI.hs +++ b/src/MRI.hs @@ -1,3 +1,8 @@ +-- | The MRI module contains functionsd and definitions relevant (and +-- specific) to the MRI data files found at, +-- +-- +-- module MRI ( flip_x, flip_y, @@ -42,7 +47,11 @@ mri_upper_threshold = 2500 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)