Hi,
All you need to do is:
fslmaths image -Tmaxn -add 1 outputimage
Note that the add 1 is to make the output 1-8 rather
than 0-7, but if you are happy with using FSL
indices for time (consistent with FSLView and all
other FSL tools) then get rid of the add 1.
All the best,
Mark
On 18 Mar 2010, at 04:37, Moran Artzi wrote:
> I have a 4D image with 8 volumes, can I create from this image a
> map (range
> 1-8) represents, for each voxel it's volume number (1-8) in which
> the voxel
> value is the highest?
>
> Many Thanks
> Moran
>
|