Back to the main page.
Bug 550 - ft_volumesegment crashes on SPM, while segmenting its own template
Status | CLOSED INVALID |
Reported | 2011-03-29 10:37:00 +0200 |
Modified | 2011-03-31 08:39:15 +0200 |
Product: | FieldTrip |
Component: | core |
Version: | unspecified |
Hardware: | PC |
Operating System: | Linux |
Importance: | P1 normal |
Assigned to: | Jan-Mathijs Schoffelen |
URL: | |
Tags: | |
Depends on: | |
Blocks: | |
See also: |
Stephen Whitmarsh - 2011-03-29 10:37:24 +0200
cfg = []; cfg.name = 'T1.nii'; % the spm8 template cfg.segment = 'yes'; template_seg = ft_volumesegment(cfg, template_mri); the input is volume data with dimensions [91 109 91] Do you want to change the anatomical labels for the axes [Y, n]? n performing the segmentation on the specified volume ??? Error using ==> spm_bsplins Input must be numeric, real, full and double precision. Error in ==> spm_sample_priors at 22 s = spm_bsplins(b,x1,x2,x3,[deg deg deg 0 0 0]); Error in ==> spm_maff>affreg at 97 pr(k).b = spm_sample_priors(b0{k},y1,y2,y3,k==length(b0)); Error in ==> spm_maff at 27 M = affreg(buf, MG, varargin{2:end}); Error in ==> spm_preproc at 153 Affine = spm_maff(V,{x0,y0,z0},b0,B(1).mat,Affine,opts.regtype,ff); Error in ==> ft_volumesegment at 291 p = spm_preproc(Va);