Re: [Freesurfer] Using pre-segmented results

2019-12-10 Thread Jordi Huguet
External Email - Use Caution That's what I needed, thanks! It all worked well now. Actually using '--conform_min' preserved existing image dimensions as desired, otherwise image got reshaped to 256^3 raising the aforementioned dimensionality error. Jordi On Thu, Dec 5, 2019,

Re: [Freesurfer] Using pre-segmented results

2019-12-05 Thread Greve, Douglas N.,Ph.D.
If your WM volume is not conformed, you will need to conform it with mri_convert yourwm.mgz --conform wm.mgz On 12/5/19 4:24 AM, Jordi Huguet wrote: > > External Email - Use Caution > > Hi Douglas, > > I have followed the suggested approach, however I get an error related > to the

Re: [Freesurfer] Using pre-segmented results

2019-12-05 Thread Jordi Huguet
External Email - Use Caution Hi Douglas, I have followed the suggested approach, however I get an error related to the dimensions of the WM volume (see log trace below). ... Found wm edits: 23448857 deletes, 783317 fills > > cp wm.mgz wm.seg.mgz > > > mri_segment -keep

Re: [Freesurfer] Using pre-segmented results

2019-11-27 Thread Jordi Huguet
External Email - Use Caution Great, just what I was looking for! Thanks Douglas, Jordi On Wed, Nov 27, 2019, 19:47 Greve, Douglas N.,Ph.D. wrote: > It might work if you > mkdir -p FOO/mri > cp yourwm.mgz FOO/mri/wm.mgz > cp inputdata.mgz FOO/mri/orig/001.mgz > then run

Re: [Freesurfer] Using pre-segmented results

2019-11-27 Thread Greve, Douglas N.,Ph.D.
It might work if you mkdir -p FOO/mri cp yourwm.mgz FOO/mri/wm.mgz cp inputdata.mgz FOO/mri/orig/001.mgz then run recon-all -s FOO -all On 11/27/2019 12:39 PM, Jordi Huguet wrote: External Email - Use Caution Hi Bruce, Many thanks for your reply. I understand from your answer that it

Re: [Freesurfer] Using pre-segmented results

2019-11-27 Thread Jordi Huguet
External Email - Use Caution Hi Bruce, Many thanks for your reply. I understand from your answer that it could be done as follows (I am not an expert in FreeSurfer directives): a) run full FreeSurfer pipeline recon-all -s FOO b) insert pre-existing WM segmentation as wm.mgz

Re: [Freesurfer] Using pre-segmented results

2019-11-26 Thread Bruce Fischl
Hi Jordi yes, this should be possible. You might need to run recon-all in stages though. Although if you set the wm.mgz values from SPM to 255 and 1 (not 0) recon-all should detect them as "edits" and retain them cheers Bruce On Tue, 26 Nov 2019, Jordi Huguet wrote: External

[Freesurfer] Using pre-segmented results

2019-11-26 Thread Jordi Huguet
External Email - Use Caution Hi there, I wonder if its somehow possible to feed FreeSurfer's recon-all with pre-existing segmented maps (based on prior segmentation procedure e.g. SPM or ANTs) to "improve" FreeSurfer results. For some images I am working with the FreeSurfer's WM