Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /trunk/src/compiler/fields/image-info.sml
ViewVC logotype

Diff of /trunk/src/compiler/fields/image-info.sml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 464, Thu Oct 28 12:57:20 2010 UTC revision 465, Thu Oct 28 22:17:34 2010 UTC
# Line 16  Line 16 
16              dim : int,                          (* dimension of space *)              dim : int,                          (* dimension of space *)
17              ty : sample_ty,                     (* types of image samples *)              ty : sample_ty,                     (* types of image samples *)
18              origin : FloatLit.float list,       (* center of first sample *)              origin : FloatLit.float list,       (* center of first sample *)
19              sizes : int list                    (* number of samples along each axis *)          sizes : int list                (* number of samples along each axis;
20                                             * we follow the Nrrd convention of
21                                             * listing the axes in fast to slow
22                                             * order.
23                                             *)
24            }            }
25    
26    (* are the underlying files the same? *)    (* are the underlying files the same? *)
# Line 41  Line 45 
45              dim : int,                          (* dimension of space *)              dim : int,                          (* dimension of space *)
46              ty : sample_ty,                     (* types of image samples *)              ty : sample_ty,                     (* types of image samples *)
47              origin : FloatLit.float list,       (* center of first sample *)              origin : FloatLit.float list,       (* center of first sample *)
48              sizes : int list                    (* number of samples along each axis *)          sizes : int list                (* number of samples along each axis;
49                                             * we follow the Nrrd convention of
50                                             * listing the axes in fast to slow
51                                             * order.
52                                             *)
53            }            }
54    
55      fun same (ImgInfo{id=a, ...}, ImgInfo{id=b, ...}) = (a = b)      fun same (ImgInfo{id=a, ...}, ImgInfo{id=b, ...}) = (a = b)

Legend:
Removed from v.464  
changed lines
  Added in v.465

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0