Home > ISET > utility > ieCinterp3.m

ieCinterp3

PURPOSE ^

interpVolume = ieCinterp3(volumeData, sliceDim, numSlices, samp, badval)

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

 interpVolume = ieCinterp3(volumeData, sliceDim, numSlices, samp, badval)
   
 A replacement for Matlab's (notoriously memory-eating) interp3.

 volumeData: 3d array of the volume data of size [sliceDim(1), sliceDim(2), nslices].
 sliceDim:   in-plane dimensions [size(volumeData,1) size(volumeData,2)]
 numSlices:  number of slices [size(volumeData,3)]
 samp:       data points to interpolate with size prod(sliceDim)x3 
 badval:     value to put into voxels outside the original array (defaults to 0.0).

 returns the interpolated volume data.
 
 HISTORY:
  2002.08.21 RFD (bob@white.stanford.edu) wrote this help file, based on
             Oscar's code.  Subsequently adjusted and brought here by BW.
             More comments are needed.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sun 14-Jan-2007 10:24:23 by m2html © 2003