Print

Print


Not sure - header looks ok I think - maybe you should upload the file  
for us to have a peek:

Please upload the files in a single compressed tarfile to
http://www.fmrib.ox.ac.uk/cgi-bin/upload.cgi
and then email me the upload ID.

Cheers.


On 3 Jun 2007, at 18:45, Bettyann Chodkowski wrote:

> Hello All,
>
> I am running FSL v3.3 on sun/solaris and get the following error  
> when i run avwmaths++:
>
> % avwmaths++ 01_2_00_sc -thrP 75 01_2_00_sc_mask
> -thrP
> 75
> Image Exception : #5 :: Out of Bounds (time index)
> Abort
>
> Yet I do not get an error when I use option -thrp (little 'p'):
>
> % avwmaths++ 01_2_00_sc -thrp 75 01_2_00_sc_mask
> -thrp
> 75
>
> 01_2_00_sc was created from a previous avwmaths++ command and the  
> values of
> 01_2_00_sc.hdr fields are:
>
> % avwhd 01_2_00_sc
> filename       01_2_00_sc
>
> sizeof_hdr     348
> data_type
> db_name
> extents        0
> session_error  0
> regular        r
> hkey_un0
> dim0           3
> dim1           512
> dim2           512
> dim3           35
> dim4           1
> dim5           1
> dim6           1
> dim7           1
> vox_units
> cal_units
> unused1        0
> datatype       4
> bitpix         16
> pixdim0        0.0000000
> pixdim1        0.4380000
> pixdim2        0.4380000
> pixdim3        3.4200001
> pixdim4        1.0000000
> pixdim5        1.0000000
> pixdim6        1.0000000
> pixdim7        1.0000000
> vox_offset     0.0000
> funused1       1.0000
> funused2       0.0000
> funused3       0.0000
> cal_max        32767.0000
> cal_min        0.0000
> compressed     0
> verified       0
> glmax          32767
> glmin          0
> descrip        FSL3.3
> aux_file
> orient         0
> originator
> origin1        0
> origin2        0
> origin3        0
> generated
> scannum
> patient_id
> exp_date
> exp_time
> hist_un0
> views          0
> vols_added     0
> start_field    0
> field_skip     0
> omax           0
> omin           0
> smin           0
> smin           0
>
> Do I have one of the header fields set incorrectly?  Is there a way  
> around this?
>
> Thank you,
> - BettyAnn


------------------------------------------------------------------------ 
---
Stephen M. Smith, Professor of Biomedical Engineering
Associate Director,  Oxford University FMRIB Centre

FMRIB, JR Hospital, Headington, Oxford  OX3 9DU, UK
+44 (0) 1865 222726  (fax 222717)
[log in to unmask]    http://www.fmrib.ox.ac.uk/~steve
------------------------------------------------------------------------ 
---