source: an2_getfilefilter.m @ 63

Last change on this file since 63 was 55, checked in by tjniskan, 11 years ago
  • Added support for map-files (Matlab MAT-Files) with *.b1 file extension

M an2_getfilefilter.m
M an2_revision.m
M an2_fitmaps.m
M an2_getdataformat.m

  • Property svn:executable set to *
File size: 2.4 KB
Line 
1function [filefilt,dataformats]=an2_getfilefilter()
2% AN2_GETFILEFILTER - Get File Filter for uigetfile and an2_juigetfiles
3%   (this is a helper function)
4%
5% Synopsis:
6%       filefilt=an2_data_read
7%
8% Description:
9%       Returns the correct file filter for Aedes.
10%
11% Examples:
12%
13% See also:
14%       AEDES, AN2_DATA_READ
15
16% This function is a part of Aedes - A graphical tool for analyzing
17% medical images
18%
19% Copyright (C) 2006 Juha-Pekka Niskanen <Juha-Pekka.Niskanen@uku.fi>
20%
21% Department of Physics, Department of Neurobiology
22% University of Kuopio, FINLAND
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.
31
32
33filefilt = {['fid;*.hdr;*.nii;*.nii.gz;*.sur;',...
34  '*.mri;*.dcm;',...
35  '*.xxm;*.mat;*.t1r;*.s1r;*.fdf;',...
36  '*.t2r;*.s2r;*.t1;*.t2;*.s1;*.s2;*.df;',...
37  '*.sf;*.r2;*.b1;*.roi'],'All Supported Files';...
38  'fid','Varian FID-files (fid)';...
39  '*.hdr;*.nii;*.nii.gz','NIfTI and Analyze 7.5 files (*.nii,*.nii.gz,*.hdr)';...
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)';...
46  '*.roi','Aedes ROI-Files (*.roi)';...
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)';...
58  '*.r2','R2-Files (*.r2)';...
59  '*.b1','B1-Files (*.b1)';...
60  '*.*', 'All Files (*.*)'};
61
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',...
84  'mri',...
85  ''}';
86
87% - EOF -
Note: See TracBrowser for help on using the repository browser.

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