[Master Index] [Index for export/lyngby]

lyngby_full2mask

(export/lyngby/lyngby_full2mask.m)


Function Synopsis

indexInMask = lyngby_full2mask(indexInFull);

Help text

 lyngby_full2mask     - Convert indices from Full volume to ROI volume

       function indexInMask = lyngby_full2mask(indexInFull);

       Input:  indexInFull   Scalar index in Full Volume or 3 element
                             vector with x,y,z index in full volume

       Output: indexInMask   Scalar index in ROI volume. An empty
                             matrix is returned if the index is not
                             in the ROI or is not within the VOXEL_MASK

       See also: lyngby_mask2full, lyngby_index2vmask,
                 lyngby_vmask2index, lyngby_roi

Cross-Reference Information

This function calls
This function is called by

Produced by mat2html on Wed Jul 29 15:43:40 2009
Cross-Directory links are: OFF