source: aedes_getfilefilter.m @ 80

Last change on this file since 80 was 80, checked in by tjniskan, 10 years ago
  • Changed the historical "an2_" prefix to "aedes_" in all files. NOTE:

Any script or function relying to Aedes functions will be broken
because of this. Just do a search/replace from "an2_" to "aedes_" in
your files and all should be well...

  • Changed the name of an2_readtab.m to a more informative

aedes_readphasetable.m

  • Property svn:executable set to *
File size: 2.4 KB
RevLine 
[80]1function [filefilt,dataformats]=aedes_getfilefilter()
2% AEDES_GETFILEFILTER - Get File Filter for uigetfile and aedes_juigetfiles
[18]3%   (this is a helper function)
4%
5% Synopsis:
[80]6%       filefilt=aedes_data_read
[18]7%
8% Description:
[37]9%       Returns the correct file filter for Aedes.
[18]10%
11% Examples:
12%
13% See also:
[80]14%       AEDES, AEDES_DATA_READ
[18]15
[37]16% This function is a part of Aedes - A graphical tool for analyzing
[36]17% medical images
[18]18%
[36]19% Copyright (C) 2006 Juha-Pekka Niskanen <Juha-Pekka.Niskanen@uku.fi>
20%
[45]21% Department of Physics, Department of Neurobiology
[37]22% University of Kuopio, FINLAND
[36]23%
24% This program may be used under the terms of the GNU General Public
25% License version 2.0 as published by the Free Software Foundation
26% and appearing in the file LICENSE.TXT included in the packaging of
27% this program.
28%
29% This program is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
30% WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
[18]31
[36]32
[24]33filefilt = {['fid;*.hdr;*.nii;*.nii.gz;*.sur;',...
[46]34  '*.mri;*.dcm;',...
[18]35  '*.xxm;*.mat;*.t1r;*.s1r;*.fdf;',...
36  '*.t2r;*.s2r;*.t1;*.t2;*.s1;*.s2;*.df;',...
[55]37  '*.sf;*.r2;*.b1;*.roi'],'All Supported Files';...
[18]38  'fid','Varian FID-files (fid)';...
[24]39  '*.hdr;*.nii;*.nii.gz','NIfTI and Analyze 7.5 files (*.nii,*.nii.gz,*.hdr)';...
[18]40  '*.sur','S.M.I.S. Image files (*.sur)';...
41  '*.mri','MRI-Files (*.mri)';...
42  '*.dcm','DICOM image files (*.dcm)'; ...
43  '*.hdr','SPECT/CT Header Files (*.hdr)';...
44  '*.xxm','Reconstruction parameter file (*.xxm)';...
45  '*.mat','Matlab MAT-Files (*.mat)';...
[37]46  '*.roi','Aedes ROI-Files (*.roi)';...
[18]47  '*.fdf','Varian FDF-Files (*.fdf)';...
48  '*.t1r','T1R-Files (*.t1r)';...
49  '*.s1r','S1R-Files (*.s1r)';...
50  '*.t2r','T2R-Files (*.t2r)';...
51  '*.s2r','S2R-Files (*.s2r)';...
52  '*.t1','T1-Files (*.t1)';...
53  '*.t2','T2-Files (*.t2)';...
54  '*.s1','S1-Files (*.s1)';...
55  '*.s2','S2-Files (*.s2)';...
56  '*.df','DF-Files (*.df)';...
57  '*.sf','SF-Files (*.sf)';...
[31]58  '*.r2','R2-Files (*.r2)';...
[55]59  '*.b1','B1-Files (*.b1)';...
[18]60  '*.*', 'All Files (*.*)'};
61
[24]62dataformats = {'',...
63  'vnmr',...
64  'nifti',...
65  'sur',...
66  'mri',...
67  'dcm',...
68  'spect/ct',...
69  'spect/ct',...
70  'mat',...
71  'roi',...
72  'fdf',...
73  'mri',...
74  'mri',...
75  'mri',...
76  'mri',...
77  'mri',...
78  'mri',...
79  'mri',...
80  'mri',...
81  'mri',...
82  'mri',...
83  'mri',...
[55]84  'mri',...
[24]85  ''}';
86
[18]87% - EOF -
Note: See TracBrowser for help on using the repository browser.

Powered by Trac 1.0.9.Copyright © Juha-Pekka Niskanen 2008