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

SCM Repository

[diderot] Diff of /branches/pure-cfg/src/include/Diderot/types.h
ViewVC logotype

Diff of /branches/pure-cfg/src/include/Diderot/types.h

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

revision 710, Wed Mar 30 16:56:13 2011 UTC revision 991, Wed Apr 27 04:53:08 2011 UTC
# Line 91  Line 91 
91      uint32_t    dim;            // dimension (== 1)      uint32_t    dim;            // dimension (== 1)
92      uint32_t    size[1];      uint32_t    size[1];
93      void        *data;      void        *data;
94      Diderot_Mat2x2_t m;         // image to world-space transform      float       s;              // scaling from world-space to image-space
95      Diderot_Mat2x2_t mInv;      // world to image-space transform (m inverse)      float       t;              // translation from world-space to image-space
96  } Diderot_image1D_t;  } Diderot_image1D_t;
97    
98  typedef struct {                // wrapper for 2D image data  typedef struct {                // wrapper for 2D image data
99      uint32_t    dim;            // dimension (== 2)      uint32_t    dim;            // dimension (== 2)
100      uint32_t    size[2];        // sizes (fast to slow)      uint32_t    size[2];        // sizes (fast to slow)
101      void        *data;      void        *data;
102      Diderot_Mat3x3_t m;         // image to world-space transform      Diderot_Mat2x2_t w2i;       // affine tranform from world space to index space.  This is the
103      Diderot_Mat3x3_t mInv;      // world to image-space transform (m inverse)                                  // inverse of the index to world-space transform that is loaded from
104      Diderot_Mat3x3_t mInvT;     // image to world-space transform for gradients                                  // the Nrrd file.
105                                  // (m inverse transpose)      vec2f_t     tVec;           // translation part of world to index transform
106        Diderot_Mat2x2_t w2iT;      // transpose w3i
107  } Diderot_image2D_t;  } Diderot_image2D_t;
108    
109  typedef struct {                // wrapper for 3D image data  typedef struct {                // wrapper for 3D image data
110      uint32_t    dim;            // dimension (== 3)      uint32_t    dim;            // dimension (== 3)
111      uint32_t    size[3];        // sizes (fast to slow)      uint32_t    size[3];        // sizes (fast to slow)
112      void        *data;      void        *data;
113      Diderot_Mat4x4_t m;         // image to world-space transform      Diderot_Mat3x3_t w2i;       // affine tranform from world space to index space.  This is the
114      Diderot_Mat4x4_t mInv;      // world to image-space transform (m inverse)                                  // inverse of the index to world-space transform that is loaded from
115      Diderot_Mat4x4_t mInvT;     // image to world-space transform for gradients                                  // the Nrrd file.
116                                  // (m inverse transpose)      vec3f_t     tVec;           // translation part of world to index transform
117        Diderot_Mat3x3_t w2iT;      // transpose w3i
118  } Diderot_image3D_t;  } Diderot_image3D_t;
119    
120  #endif /* !_DIDEROT_TYPES_H_ */  #endif /* !_DIDEROT_TYPES_H_ */

Legend:
Removed from v.710  
changed lines
  Added in v.991

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