SCM Repository
View of /trunk/src/compiler/IL/image-info.sml
Parent Directory
|
Revision Log
Revision 135 -
(download)
(annotate)
Fri Jul 2 21:57:47 2010 UTC (12 years ago) by jhr
File size: 872 byte(s)
Fri Jul 2 21:57:47 2010 UTC (12 years ago) by jhr
File size: 872 byte(s)
Working on IL representation
(* image-info.sml * * COPYRIGHT (c) 2010 The Diderot Project (http://diderot.cs.uchicago.edu) * All rights reserved. * * Information about a NRRD file *) structure ImageInfo : sig type info = { dim : int, (* dimension of space *) ty : RawTypes.ty, (* types of scalar samples *) origin : FloatLit.float list, (* center of first sample *) sizes : int list (* number of samples along each axis *) } val getInfo : string -> info end = struct type info = { dim : int, (* dimension of space *) ty : RawTypes.ty, (* types of scalar samples *) origin : FloatLit.float list, (* center of first sample *) sizes : int list (* number of samples along each axis *) } fun getInfo fileName = let val {version, header} = RunDNorm.run fileName in (* FIXME*)raise Fail "getInfo" end end
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |