Is there a way to change the precision of an analyze file? It would be
nice if avwmaths could do it, when rescaling for example. My problem is
that I need to rescale a B0 phase map. The DICOM for this has short
precision and ranges from 0-4095, so here's what I'm doing:
avwmaths phase0.hdr -sub 2047.5 phase1.hdr
avwmaths phase1.hdr -mul 0.00153436 phase2.hdr
The problem is that each output stays as a short, so the resulting phase
map (phase2.hdr) is truncated and only has values of -3,-2,-1,0,2,1,3.
thanks
doug
--
Douglas N. Greve, Ph.D.
MGH-NMR Center
[log in to unmask]
Phone Number: 617-724-2358
Fax: 617-726-7422
|