(* raw-types.sml * * COPYRIGHT (c) 2010 The Diderot Project (http://diderot.cs.uchicago.edu) * All rights reserved. * * This file defines the representation of the raw scalar types used to * define image data in the NRRD file format. *) structure RawTypes = struct (* raw numeric types as supported by NRRD *) datatype ty = RT_Int8 | RT_UInt8 | RT_Int16 | RT_UInt16 | RT_Int32 | RT_UInt32 | RT_Int64 | RT_UInt64 | RT_Float | RT_Double end