source: an2_getfilefilter.m @ 44

Last change on this file since 44 was 37, checked in by tjniskan, 11 years ago
  • Renamed analyze2.m to aedes.m
  • Changed all references to "Analyze2" -> "Aedes" (hopefully I didn't

break anything...)

  • Added some nifti-tools to misclib
  • Fixed bug in an2_readfid.m that occurred when reading EPI-data

(thanks Teemu)

M an2_export_gui.m
D analyze2.m
M an2_getfilefilter.m
M an2_calc_wait.m
A misclib/nifti4dto3d.m
A misclib/nifti3dto4d.m
A misclib/filter_fmri_data.m
M misclib/dcm_info.m
M an2_cellwrite.m
M an2_revision.m
M startup.m
M an2_readprocpar.m
M an2_fitmaps.m
M an2_read_nifti.m
M an2_data_read.m
D about_analyze2.png
M an2_resviewer.m
M an2_maptool.m
A aedes.m
M an2_helpabout.m
M plugins/save_roi_as_mask.m
M plugins/calculate_t2_map.m
M an2_inputdlg.m
M an2_readctdata.m
M an2_readfid.m
M an2_readfidprefs.m
M an2_readtab.m
M an2_check_updates.m
A about_aedes.png
M an2_saveres.m
M an2_editstack.m
M an2_errordump.m
M an2_update.m
M an2_write_nifti.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, (or 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;*.mrd;*.ima;*.dcm;',...
35  '*.xxm;*.mat;*.t1r;*.s1r;*.fdf;',...
36  '*.t2r;*.s2r;*.t1;*.t2;*.s1;*.s2;*.df;',...
37  '*.sf;*.r2;*.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  '*.mrd','MRD-Files (*.mrd)';...
43  '*.dcm','DICOM image files (*.dcm)'; ...
44  '*.hdr','SPECT/CT Header Files (*.hdr)';...
45  '*.xxm','Reconstruction parameter file (*.xxm)';...
46  '*.mat','Matlab MAT-Files (*.mat)';...
47  '*.roi','Aedes ROI-Files (*.roi)';...
48  '*.fdf','Varian FDF-Files (*.fdf)';...
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  '*.*', 'All Files (*.*)'};
61
62dataformats = {'',...
63  'vnmr',...
64  'nifti',...
65  'sur',...
66  'mri',...
67  'mrd',...
68  'dcm',...
69  'spect/ct',...
70  'spect/ct',...
71  'mat',...
72  'roi',...
73  'fdf',...
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