Skip to content

AFNI/NIfTI Server

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

Doxygen Source Code Documentation


Test_AFNI_XYZcontinuous2Index.m

Go to the documentation of this file.
00001 %script Test_AFNI_XYZcontinuous2Index
00002 %
00003 %
00004 %
00005 %Purpose:
00006 %   
00007 %   
00008 %   
00009 %Input:
00010 %   
00011 %   
00012 %   
00013 %Output:
00014 %
00015 %
00016 %   
00017 %   
00018 %      
00019 %Key Terms:
00020 %   
00021 %More Info :
00022 %   
00023 %   
00024 %   
00025 %
00026 %     Author : Ziad Saad
00027 %     Date : Thu Sep 7 16:50:58 PDT 2000
00028 %     LBC/NIMH/ National Institutes of Health, Bethesda Maryland
00029 
00030 
00031 %Debug Flag
00032 DBG = 1;
00033 
00034 %Load a Brik Info
00035 [err, Info] = BrikInfo('ARzsspgrax+orig.BRIK');
00036 
00037 XYZmmRAI = [ -16.8750  -28.1250  -34.0000; 73.1250   -1.8750  -66.0000];
00038 XYZmmILA = [-34.0000   16.8750  -28.1250;  -66.0000  -73.1250   -1.8750];
00039 
00040 %change to Index
00041         [err,Indx] = AFNI_XYZcontinuous2Index (XYZmmRAI, Info);
00042         fprintf(1,'From RAI, to 3D:\n');
00043         Indx
00044 %change to Index 1D
00045         [err,Indx] = AFNI_XYZcontinuous2Index (XYZmmRAI, Info, '', 1);
00046         fprintf(1,'From RAI, to 1D:\n');
00047         Indx
00048 
00049 %change from ILA        
00050         [err,Indx] = AFNI_XYZcontinuous2Index (XYZmmILA, Info, 'ILA',3);
00051         fprintf(1,'From ILA, to 3D:\n');
00052         Indx
00053 
 

Powered by Plone

This site conforms to the following standards: