Back to the main page.
Bug 1725 - replace ft_prepare_atlas by ft_read_atlas
Status | CLOSED FIXED |
Reported | 2012-09-19 22:48:00 +0200 |
Modified | 2014-03-06 15:39:16 +0100 |
Product: | FieldTrip |
Component: | fileio |
Version: | unspecified |
Hardware: | PC |
Operating System: | Mac OS |
Importance: | P3 normal |
Assigned to: | Jan-Mathijs Schoffelen |
URL: | |
Tags: | |
Depends on: | |
Blocks: | 165220242083 |
See also: |
Robert Oostenveld - 2012-09-19 22:48:05 +0200
see bug 1652. The idea is that either a template/individual segmentation or parcellation is read from disk and can be used by ft_volumelookup and related HCP functions.
Robert Oostenveld - 2012-09-19 23:46:16 +0200
ft_prepare_atlas is being called by ft_sourceplot and by ft_volumelookup furthermore, there are private/atlas_init.m private/atlas_lookup.m private/atlas_mask.m
Robert Oostenveld - 2012-10-03 17:59:40 +0200
Some improvements have been made. However, I just noticed ft_sourceplot failing because the input was a segmentartion, not a volume. I fixed it here, but probably a more general solution is needed since a segmentation is always a volume. manzana> svn commit ft_sourceplot.m Sending ft_sourceplot.m Transmitting file data . Committed revision 6658. I propose the following test script atlas= ft_read_atlas('TTatlas+tlrc.BRIK'); assert(ft_datatype(atlas, 'segmentation')); assert(ft_datatype(atlas, 'volume)); % this one now fails
Robert Oostenveld - 2012-10-03 21:38:22 +0200
(In reply to comment #2) I have changed ft_datatype such that it returns true when the user requests a desired type of - volume, and the input is segmentation - source, and the input is parcellation - raw, and the input is comp
Lilla Magyari - 2012-11-24 19:21:39 +0100
(In reply to comment #3) and also reference to ft_prepare_atlas should be replaced by ft_read_atlas in the following documentation: reference docu of ft_sourceplot, ft_volumelookup and in FAQ: http://fieldtrip.fcdonders.nl/faq/how_can_i_determine_the_anatomical_label_of_a_source?s[]=atlas Lilla
Robert Oostenveld - 2013-01-09 09:13:08 +0100
mac001> svn commit atlas/ Adding atlas Adding atlas/afni Adding (bin) atlas/afni/TTatlas+tlrc.BRIK Adding atlas/afni/TTatlas+tlrc.HEAD Transmitting file data .. Committed revision 7282. I also wrote http://fieldtrip.fcdonders.nl/template/atlas
Jan-Mathijs Schoffelen - 2014-01-25 09:15:10 +0100
I think this has been largely done. I'll do a final check, and change status of this bug, if appropriate