On 02/11/2009 12:49 AM, Rajeev Raizada wrote:
> One last fslview -b question, now that we've established
> that the option needs to be placed after the image name.
>
> What I really want to do is to open a bunch of images
> all scaled to the same brightness range.
>
> e.g.
> fslview spmT*.hdr -b 3,6
>
> This only appears to apply the brightness range
> to the first image in the wildcard-list,
> rather than to all of them.
>
Wildcards get expanded by the shell then the command invoked, so the
command line fslview would see would be:
fslview spmT1.hdr spmT2.hdr ... spmT<N>.hdr -b 3,6
i.e., only the last image has a bricon override applied.
To set it for each image, the command line would have to have a -b
option with each image. You could easily write a wrapper script to do
this and I see Matt has provided something appropriate. Another option,
if you don't mind coding the range into your image headers, is to set
calmin and calmax fields as fslview initialises the bricon range to
these if they're set.
--
Dave Flitney, IT Manager
Oxford Centre for Functional MRI of the Brain
E:[log in to unmask] W:+44-1865-222713 F:+44-1865-222717
URL: http://www.fmrib.ox.ac.uk/~flitney
|