Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Documentation

Doxygen Source Code Documentation


AFNI_SliceDispManip.m File Reference

Go to the source code of this file.


Functions

 for (i=1:1:3)
switch DispManip (i).plane
zflip ()
switch different planes if (iA==2) = find (DispManip(i).orient == 'S') find (DispManip(i).orient == 'A')
orpermute ()
end if (jA==2)
udflip ()
end if (jL==2)
lrflip ()
 if (DispManip(i).orpermute)

Variables

 function [DispManip]
 Sa
 Co
respectively SliceDim
respectively respectively Disporient
respectively respectively
Bethesda Maryland Define the
function name for easy referencing 
FuncName = 'AFNI_SliceDispManip'
Debug Flag DBG = 1
switch i
switch case = find(B_Info.Orientation == 'I')
switch different planes must
permute 
orders
end must flip up to down
end end apply the manipulations
to the slice orientation 
matrix
end end err = 0
 return

Function Documentation

switch DispManip  ) 
 

for = 1:1:3  ) 
 

end if DispManip(i).  lrflip  ) 
 

end if jL  = = 2  ) 
 

end if jA  = = 2  ) 
 

end if iA  = = 2  )  = find (DispManip(i).orient == 'S') find (DispManip(i).orient == 'A')
 

i lrflip  )  [virtual]
 

i orpermute  )  [virtual]
 

i udflip  )  [virtual]
 

i zflip  )  [virtual]
 


Variable Documentation

end case = find(B_Info.Orientation == 'I')
 

Definition at line 106 of file AFNI_SliceDispManip.m.

Co
 

Definition at line 1 of file AFNI_SliceDispManip.m.

Debug Flag DBG = 1
 

Definition at line 53 of file AFNI_SliceDispManip.m.

respectively respectively Disporient
 

Definition at line 1 of file AFNI_SliceDispManip.m.

end must flip up to down
 

Definition at line 110 of file AFNI_SliceDispManip.m.

end end err = 0
 

Definition at line 126 of file AFNI_SliceDispManip.m.

respectively respectively Bethesda Maryland Define the function name for easy referencing FuncName = 'AFNI_SliceDispManip'
 

Definition at line 50 of file AFNI_SliceDispManip.m.

function[DispManip]
 

Initial value:

 AFNI_SliceDispManip (B_Info)
%
%   [DispManip] = AFNI_SliceDispManip (B_Info)
%
%Purpose:
%   
%   Determine the manipulations necessary to apply to a 
%  slice for proper display a la AFNI
%   
%Input Parameters:
%   B_Info the output of BrickInfo function
%   
%   
%Output Parameters:
%   err : 0 No Problem
%       : 1 Mucho Problems
%   DispManip is a 3x1 structure with the following structures
%      .plane : 2 character string specifying the plane ('Ax', 'Sa', Co')
%            this is a bit redundant since the three elements of 
%             DispManip always refer to 'Ax'

Definition at line 1 of file AFNI_SliceDispManip.m.

switch i
 

Definition at line 89 of file AFNI_SliceDispManip.m.

end end apply the manipulations to the slice orientation matrix
 

Definition at line 116 of file AFNI_SliceDispManip.m.

Referenced by AFNI_finalsave_layout_CB(), calculate_results(), do_xrestore_stuff(), main(), mri_imcount_siemens(), mri_read_siemens(), vpGetMatrix(), vpMultMatrix(), and vpSetMatrix().

end must permute orders
 

Definition at line 108 of file AFNI_SliceDispManip.m.

return
 

Definition at line 127 of file AFNI_SliceDispManip.m.

Sa
 

Definition at line 1 of file AFNI_SliceDispManip.m.

respectively SliceDim
 

Definition at line 1 of file AFNI_SliceDispManip.m.

 

Powered by Plone

This site conforms to the following standards: