Doxygen Source Code Documentation
GetAfniSlice.m File Reference
Go to the source code of this file.
| Functions | |
| Sa and Co for sagittal and coronal iSlc is an Nx1 vector with slice indices to | show (a la AFNI, first slice is indexed 0)%.index is the sub-brick index | 
| AP or RL AP This means that the pixels in slc M go from Right to Left along the st dimension of the | matrix (ie along columns, top to bottom).Pixels go from Anterior to Posterior along the second%dimension of the matrix(ie along rows | 
| turn Brick into a matrix if it isn t already | if (ndims(Brik)< 3) | 
| end | if (~isfield(Opt,'index')|isempty(Opt.index)) | 
| if (DispManip(iplane).zflip) | |
| if (nz) | |
| end first grab the slices switch | DispManip (iplane).SliceDim | 
| end first grab the slices switch | for (j=1:1:nz) | 
| end first grab the slices switch slc | M (:,:, j) | 
| Variables | |
| function [err, slc, slcDisp] | |
| Sa and Co for | axial | 
| Sa and Co for sagittal and coronal iSlc is an Nx1 vector with slice indices to default is Output | Parameters | 
| Sa and Co for sagittal and coronal iSlc is an Nx1 vector with slice indices to default is Output k being the number of slices requested in Opt i *orientax a x2 character matrix The st and nd rows indicates the orientation of the voxels in the st and nd dimension of | M = zeros(BrikInfo.DATASET_DIMENSIONS(DispManip(iplane).d(1)), BrikInfo.DATASET_DIMENSIONS(DispManip(iplane).d(2)), nz) | 
| Sa and Co for sagittal and coronal iSlc is an Nx1 vector with slice indices to default is Output k being the number of slices requested in Opt i *orientax a x2 character matrix The st and nd rows indicates the orientation of the voxels in the st and nd dimension of respectively for | example | 
| AP or RL AP This means that the pixels in slc M go from Right to Left along the st dimension of the left to right slcDisp is a structure similar to slc and containing the slices oriented as they would be displayed in AFNI s window Key | Terms | 
| AP or RL AP This means that the pixels in slc M go from Right to Left along the st dimension of the left to right slcDisp is a structure similar to slc and containing the slices oriented as they would be displayed in AFNI s window Key Bethesda Maryland last | modified | 
| Debug Flag | DBG = 1 | 
| turn Brick into a matrix if it isn t already | Brik | 
| end initailize return variables | err = 1 | 
| switch Opt | plane | 
| switch Opt case | Ax | 
| switch Opt case | iplane = 1 | 
| case | Sa | 
| case | Co | 
| end Opt | index = 0 | 
| end | indx = Opt.index+1 | 
| DispManip = AFNI_SliceDispManip (BrikInfo) | |
| end | nz = length(Opt.iSlc) | 
| bufslc = zeros(BrikInfo.DATASET_DIMENSIONS(DispManip(iplane).d(1)), BrikInfo.DATASET_DIMENSIONS(DispManip(iplane).d(2))) | |
| end first grab the slices switch | case | 
| this is | inefficient | 
| return | |
Function Documentation
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | ||||||||||||||||
| 
 | 
| 
 | ||||||||||||
| 
 | 
| 
 | ||||||||||||
| 
 Referenced by SUMA_OpenDx_Object_Data(). | 
Variable Documentation
| 
 | 
| 
 Definition at line 64 of file GetAfniSlice.m. | 
| 
 | 
| 
 Definition at line 1 of file GetAfniSlice.m. | 
| 
 | 
| Initial value: reshape(Brik, BrikInfo.DATASET_DIMENSIONS(1), BrikInfo.DATASET_DIMENSIONS(2),... BrikInfo.DATASET_DIMENSIONS(3), BrikInfo.DATASET_RANK(2)) Definition at line 58 of file GetAfniSlice.m. | 
| 
 | 
| 
 Definition at line 116 of file GetAfniSlice.m. | 
| 
 | 
| 
 Definition at line 97 of file GetAfniSlice.m. | 
| 
 | 
| 
 Definition at line 69 of file GetAfniSlice.m. | 
| 
 | 
| 
 Definition at line 54 of file GetAfniSlice.m. | 
| 
 | 
| 
 | 
| 
 | 
| 
 Definition at line 63 of file GetAfniSlice.m. | 
| 
 | 
| 
 Definition at line 22 of file GetAfniSlice.m. | 
| 
 | 
| Initial value: GetAfniSlice (Brik, BrikInfo, Opt) % % [err, slc, slcDisp] = GetAfniSlice (Brik, BrikInfo, Opt) % %Purpose: % Display a slice as it appears in the AFNI window % % %Input Parameters: % Brik: is a vector or a matrix containing the brik values % BrikInfo is a structure containing Header info % (both are output by BrikLoad function) % Opt is a an options structure with the following fields % .plane is the slicing plane. Choose from 'Ax' Definition at line 1 of file GetAfniSlice.m. | 
| 
 | 
| 
 Definition at line 73 of file GetAfniSlice.m. | 
| 
 | 
| 
 Definition at line 62 of file WhichSubBricks.m. Referenced by AFNI_fimmer_compute(), extract_xyz(), fim3d_fimmer_compute(), incbeta(), incbeta_inverse(), indexIntoF(), RT_fim_recurse(), and tnonc_s2p(). | 
| 
 | 
| 
 Definition at line 113 of file GetAfniSlice.m. | 
| 
 | 
| 
 Definition at line 70 of file GetAfniSlice.m. | 
| 
 | 
| 
 Definition at line 92 of file GetAfniSlice.m. | 
| 
 | 
| 
 Definition at line 46 of file GetAfniSlice.m. | 
| 
 | 
| 
 | 
| 
 Definition at line 22 of file GetAfniSlice.m. | 
| 
 | 
| 
 Definition at line 64 of file GetAfniSlice.m. | 
| 
 | 
| 
 Definition at line 123 of file GetAfniSlice.m. | 
| 
 | 
| 
 Definition at line 67 of file GetAfniSlice.m. | 
| 
 | 
| 
 Definition at line 46 of file GetAfniSlice.m. | 
 
                             
                             
                             
                             
                             
                             
                             
                             
                             
                             
                             
                             
 
 
 
 
       
	   
	   
	   
	  