Back to the main page.

Bug 3320 - ft_volumesegment returns too many tissues for spm12 new segment

Status CLOSED FIXED
Reported 2017-06-28 00:54:00 +0200
Modified 2019-08-10 12:40:39 +0200
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P5 normal
Assigned to:
URL:
Tags:
Depends on:
Blocks:
See also:

Jens Klinzing - 2017-06-28 00:54:22 +0200

When using spm12's new segmentation, ft_volumesegment returns more than the specified tissues. Test script: -------------------------------------------- mri = ft_read_mri('Subject01.mri'); cfg = []; cfg.dim = mri.dim; mri = ft_volumereslice(cfg,mri); cfg = []; cfg.output = {'gray','white','csf','skull','scalp'}; cfg.spmversion = 'spm12'; cfg.spmmethod = 'new'; segmentedmri = ft_volumesegment(cfg, mri); % segmentedmri contains the desired tissues as binary maps % - but additionally TPMs of bone, softtissue, and air.


Jens Klinzing - 2017-06-28 00:57:25 +0200

Here is a possible fix: https://github.com/fieldtrip/fieldtrip/pull/471


Jens Klinzing - 2017-06-28 17:14:15 +0200

fixed


Robert Oostenveld - 2019-08-10 12:34:29 +0200

This closes a whole series of bugs that have been resolved (either FIXED/WONTFIX/INVALID) for quite some time. If you disagree, please file a new issue on https://github.com/fieldtrip/fieldtrip/issues.


Robert Oostenveld - 2019-08-10 12:40:39 +0200

This closes a whole series of bugs that have been resolved (either FIXED/WONTFIX/INVALID) for quite some time. If you disagree, please file a new issue on https://github.com/fieldtrip/fieldtrip/issues.