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

SCM Repository

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

Diff of /branches/vis12/src/compiler/gen/il/mid-il.spec

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

revision 3071, Sun Mar 15 00:09:44 2015 UTC revision 3072, Sun Mar 15 16:33:00 2015 UTC
# Line 93  Line 93 
93  RealToInt : int : 1 : 1 : cast real vector to int vector  RealToInt : int : 1 : 1 : cast real vector to int vector
94  #  #
95  ### image/kernel operations  ### image/kernel operations
96    #
97  # VoxelAddress<I,offset>(V, i, j, ...) -- compute the address of the voxel data indexed by i, j, ...  # VoxelAddress<I,offset>(V, i, j, ...) -- compute the address of the voxel data indexed by i, j, ...
98  # for non-scalar images, the offset specifies which sample and I specifies the stride.  # for non-scalar images, the offset specifies which sample and I specifies the stride.
99  VoxelAddress : ImageInfo.info * int : 1 : * : compute the address of a voxel  VoxelAddress : ImageInfo.info * int : 1 : * : compute the address of a voxel
100    #
101  # LoadVoxels<I,n>(a) -- load a vector of n voxels from the address a  # LoadVoxels<I,n>(a) -- load a vector of n voxels from the address a
102  LoadVoxels : ImageInfo.info * int : 1 : 1 : load a vector of voxel values from an address  LoadVoxels : ImageInfo.info * int : 1 : 1 : load a vector of voxel values from an address
103    #
104    # VoxelAddressWithCtl<I,offset,ctl>(V, i, j, ...) -- compute the address of the voxel
105    # indexed by i, j, ... using the index control ctl. For non-scalar images, the offset
106    # specifies which sample and I specifies the stride.
107    VoxelAddressWithCtl : ImageInfo.info * int * idxctl : 1 : * : compute the address of a voxel
108    #
109  # PosToImgSpace<I>(V,u) -- transforms the world-space position u into the image-space specified by V.  # PosToImgSpace<I>(V,u) -- transforms the world-space position u into the image-space specified by V.
110  PosToImgSpace : ImageInfo.info : 1 : 2 : transform a world-space position to image-space  PosToImgSpace : ImageInfo.info : 1 : 2 : transform a world-space position to image-space
111    #
112  # TensorToWorldSpace<I,ty>(V,u) -- transforms the image-space tensor u to from V's image space to world space  # TensorToWorldSpace<I,ty>(V,u) -- transforms the image-space tensor u to from V's image space to world space
113  TensorToWorldSpace : ImageInfo.info * ty : 1 : 2 : transform an image-space gradient to world-space  TensorToWorldSpace : ImageInfo.info * ty : 1 : 2 : transform an image-space gradient to world-space
114    #
115  # EvalKernel<i,h,k>(u) -- computes (D^k h)(u), where i is the size of vector u.  # EvalKernel<i,h,k>(u) -- computes (D^k h)(u), where i is the size of vector u.
116  EvalKernel : int * Kernel.kernel * int : 1 : 1 : apply a kernel function to a scalar or vector of arguments  EvalKernel : int * Kernel.kernel * int : 1 : 1 : apply a kernel function to a scalar or vector of arguments
117    #
118  # Inside<I,s>(u,V) -- tests to see if image-space position u is inside the volume  # Inside<I,s>(u,V) -- tests to see if image-space position u is inside the volume
119  # occupied by the image V.  I is the image info and s is the border width  # occupied by the image V.  I is the image info and s is the border width
120  Inside : ImageInfo.info * int : 1 : 2 :  Inside : ImageInfo.info * int : 1 : 2 :
121    #
122  # ImageDim<I,i>(V) -- returns the i'th dimension of the image  # ImageDim<I,i>(V) -- returns the i'th dimension of the image
123  ImageDim : ImageInfo.info * int : 1 : 1 :  ImageDim : ImageInfo.info * int : 1 : 1 :
124  #  #

Legend:
Removed from v.3071  
changed lines
  Added in v.3072

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