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

SCM Repository

[diderot] Diff of /branches/vis15/src/compiler/gen/ir/mid-ir.spec
ViewVC logotype

Diff of /branches/vis15/src/compiler/gen/ir/mid-ir.spec

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

revision 3766, Mon Apr 18 16:13:31 2016 UTC revision 3774, Tue Apr 26 20:03:28 2016 UTC
# Line 99  Line 99 
99  Transform  : ImageInfo.info : 1 : 1 : Pulls transformation matrix from image.  Transform  : ImageInfo.info : 1 : 1 : Pulls transformation matrix from image.
100  Translate  : ImageInfo.info : 1 : 1 : Pulls translation vector from image.  Translate  : ImageInfo.info : 1 : 1 : Pulls translation vector from image.
101  #  #
102  # VoxelAddress<I,offset>(V, i, j, ...) -- compute the address of the voxel data indexed by i, j, ...  # LoadVoxels<I,s>(V,n) -- loads a tensor of voxels from the image V, where I is the
103  # for non-scalar images, the offset specifies which plane when the image has tensor values  # image info for V, s is size of the sample (i.e., twice the kernel support), and
104  # and the image info I specifies the stride.  # n is a sequence of integer indices that specifies the corner of the loaded tensor.
105  VoxelAddress : ImageInfo.info * int : 1 : * : compute the address of a voxel  # If V has the type "image(d)[shp]", then n has type "int[n]" and the resulting tensor
106    # has the type "tensor[shp,s^d]".
107    LoadVoxels : ImageInfo.info * int : 1 : 2 : load a cube of voxels
108  #  #
109  # VoxelAddressWithCtl<I,offset,ctl>(V, i, j, ...) -- compute the address of the voxel  # LoadVoxelsWithCtl<I,s,ctl>(V,n) -- like LoadVoxels, but it also uses the specified
110  # indexed by i, j, ... using the index control ctl. For non-scalar images, the offset  # index control to deal with out-of-bounds indices.
111  # specifies which sample and I specifies the stride.  LoadVoxelsWithCtl : ImageInfo.info * int * idxctl : 1 : 2 : load a cube of voxels
 VoxelAddressWithCtl : ImageInfo.info * int * idxctl : 1 : * : compute the address of a voxel  
112  #  #
113  # LoadVoxels<I,n>(a) -- load a vector of n voxels from the address a  # Inside<I,s>(n,V) -- tests to see if the index sequence n is inside the domain of V.
114  LoadVoxels : ImageInfo.info * int : 1 : 1 : load a vector of voxel values from an address  # I is the image info for V, s is the size of the sample to be loaded (see LoadVoxels)
 #  
 # Inside<I,s>(u,V) -- tests to see if image-space position u is inside the volume  
 # occupied by the image V.  I is the image info and s is the border width  
115  Inside : ImageInfo.info * int : 1 : 2 :  Inside : ImageInfo.info * int : 1 : 2 :
116  #  #
117  # ImageDim<I,i>(V) -- returns the i'th dimension of the image  # ImageDim<I,i>(V) -- returns the i'th dimension of the image

Legend:
Removed from v.3766  
changed lines
  Added in v.3774

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