Print

Print


Hi,

There's no shortcut for this - you'd have to use fslstats, such as:
     fslview $FSLDIR/data/standard/MNI152_T1_2mm -b 0,`fslstats $FSLDIR/data/standard/MNI152_T1_2mm -p 100`

All the best,
Mark

On 27 Mar 2013, at 17:34, "Langer, Nicolas" <[log in to unmask]> wrote:

Hi everyone, 

I would like to visualize some results in fslview and set the minimum value bricon to 0 and the maximum to the maximum of the actual data.

When I use:

fslview $FSLDIR/data/standard/MNI152_T1_2mm  con_0004.hdr

fslview automatically sets the bricon values to the minimum and maximum. When I use:

fslview $FSLDIR/data/standard/MNI152_T1_2mm -b 0,2

fslview automatically sets the bricon values to the minimum to 0  and maximum to 2

But I need minimum = 0 and maximum is the actual max. 

I tried fslview $FSLDIR/data/standard/MNI152_T1_2mm -b 0,max
I tried fslview $FSLDIR/data/standard/MNI152_T1_2mm -b 0
I tried fslview $FSLDIR/data/standard/MNI152_T1_2mm -b 0,

None of these work. 

Is there a solution for that?

Thanks, 

Nicolas

Nicolas Langer
PhD
Post-Doctoral Research Fellow
Harvard Medical School  
Children's Hospital Boston
Department of Medicine
/Division of Developmental Medicine
Laboratories of Cognitive Neuroscience
1 Autumn Street (Office 643)
Boston, MA 02115
phone: (857)-218-5210
Main Lab: 617-355-0400
fax: 617-730-0518

Nicolas Langer
PhD
Post-Doctoral Research Fellow
Harvard Medical School  
Children's Hospital Boston
Department of Medicine
/Division of Developmental Medicine
Laboratories of Cognitive Neuroscience
1 Autumn Street (Office 643)
Boston, MA 02115
phone: (857)-218-5210
Main Lab: 617-355-0400
fax: 617-730-0518