Dear fsl list,
i try to rescale my phase image as possible (acquire on ge mri).
my image is : dim1:256
dim2 256
dim3:26
dim4:1 and datatype 4.
with avwstats-R i obtain -3458;12503;
so what i want is -pi;+pi;
i do: avwmaths phase image- thr 0 phase image_thr ; (0;12503)
then avwmaths_32R phase image_thr -div <max_integer> -mul 256 tmp (0;256)
As i want -pi +pi, i do : avwmaths_32R tmp -div (256/(2*pi)) -sub pi
i obtain my phase between -pi +pi.
Is it a good way to make it???
can i have some help.
thanks .
Mathieu LOUPPE, Biomedical student
|