SCM Repository
[diderot] Annotation of /trunk/src/image-info/image-info.sml
Annotation of /trunk/src/image-info/image-info.sml
Parent Directory
|
Revision Log
Revision 106 -
(view)
(download)
1 : |
jhr |
106 |
(* image-info.sml
|
2 : |
|
|
*
|
3 : |
|
|
* COPYRIGHT (c) 2010 The Diderot Project (http://diderot.cs.uchicago.edu)
|
4 : |
|
|
* All rights reserved.
|
5 : |
|
|
*
|
6 : |
|
|
* Information about a NRRD file
|
7 : |
|
|
*)
|
8 : |
|
|
|
9 : |
|
|
structure ImageInfo : sig
|
10 : |
|
|
|
11 : |
|
|
val getInfo : string -> {
|
12 : |
|
|
dim : int, (* dimension of space *)
|
13 : |
|
|
ty : RawTypes.ty, (* types of scalar samples *)
|
14 : |
|
|
origin : FloatLit.float list, (* center of first sample *)
|
15 : |
|
|
??
|
16 : |
|
|
}
|
17 : |
|
|
|
18 : |
|
|
end = struct
|
19 : |
|
|
|
20 : |
|
|
end
|