Hi Ruopeng,

I agree that the options are treated as part of the file path in my command line.

Thank you for the support.

Best,

Ikbeom

From: freesurfer-bounces@nmr.mgh.harvard.edu <freesurfer-bounces@nmr.mgh.harvard.edu> on behalf of Ruopeng Wang <rpwang@nmr.mgh.harvard.edu>
Sent: Wednesday, October 16, 2019 4:27 PM
To: freesurfer@nmr.mgh.harvard.edu <freesurfer@nmr.mgh.harvard.edu>
Subject: Re: [Freesurfer] freeview: load multiple volumes with a single option
 

Hi Ikbeom,


I think this is because the added options at the end of file path are treated as part of the path by the shell and thus returns no match. I will try to put a fix on that.


Best,

Ruopeng


On 10/16/19 4:09 PM, Jang, Ikbeom wrote:
Dear FreeSurfer community:

I am a beginner and tying to load multiple volumes in Freeview with a single option applied to all the volumes.

For example, I would like to set grayscale window as min=0 and max=100 for all volumes. Is there a simple command line which does that efficiently?

The command line below works if I provide the option for each volume:
freeview -v sitename/mri/subj0401/brainmask.mgz:grayscale=0,100 \
sitename/mri/subj0402/brainmask.mgz:grayscale=0,100 \
... \
sitename/mri/subj0425/brainmask.mgz:grayscale=0,100

However, the command line something like this does not:
freeview -v sitename/mri/subj*/brainmask.mgz:grayscale=0,100

Thanks in advance,

Ikbeom

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer