source: aedes_getfilefilter.m @ 133

Last change on this file since 133 was 132, checked in by tjniskan, 9 years ago
  • Added read support for SWIFT reconstruction files (*.sgl)
  • Changed the layout of results viewer GUI. Also added more options

and all options should now be "remembered"

M aedes_getfilefilter.m
A aedes_readswiftsgl.m
M aedes_data_read.m
M aedes_resviewer.m
M aedes.m
M aedes_revision.m
M aedes_saveres.m
M aedes_getdataformat.m

  • Property svn:executable set to *
File size: 2.5 KB
Line 
1function [filefilt,dataformats]=aedes_getfilefilter()
2% AEDES_GETFILEFILTER - Get File Filter for uigetfile and aedes_juigetfiles
3%   (this is a helper function)
4%
5% Synopsis:
6%       filefilt=aedes_data_read
7%
8% Description:
9%       Returns the correct file filter for Aedes.
10%
11% Examples:
12%
13% See also:
14%       AEDES, AEDES_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;*.sgl;',...
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  '*.sgl','SWIFT reconstruction files (*.sgl)';...
49  '*.t1r','T1R-Files (*.t1r)';...
50  '*.s1r','S1R-Files (*.s1r)';...
51  '*.t2r','T2R-Files (*.t2r)';...
52  '*.s2r','S2R-Files (*.s2r)';...
53  '*.t1','T1-Files (*.t1)';...
54  '*.t2','T2-Files (*.t2)';...
55  '*.s1','S1-Files (*.s1)';...
56  '*.s2','S2-Files (*.s2)';...
57  '*.df','DF-Files (*.df)';...
58  '*.sf','SF-Files (*.sf)';...
59  '*.r2','R2-Files (*.r2)';...
60  '*.b1','B1-Files (*.b1)';...
61  '*.*', 'All Files (*.*)'};
62
63dataformats = {'',...
64  'vnmr',...
65  'nifti',...
66  'sur',...
67  'mri',...
68  'dcm',...
69  'spect/ct',...
70  'spect/ct',...
71  'mat',...
72  'roi',...
73  'fdf',...
74  'swift_sgl',...
75  'mri',...
76  'mri',...
77  'mri',...
78  'mri',...
79  'mri',...
80  'mri',...
81  'mri',...
82  'mri',...
83  'mri',...
84  'mri',...
85  'mri',...
86  'mri',...
87  ''}';
88
89% - EOF -
Note: See TracBrowser for help on using the repository browser.

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