From: Sonia P. <sp...@bw...> - 2011-10-12 18:44:15
|
Gordon and Thomas, Thank you for your quick reply. I removed the field 'space units: "mm" "mm" "mm"'' from the Nrrd header, and got the same error with tend epireg. I tried removing the field 'space directions: (1,0,0) (0,1,0) (0,0,2.6) none' and then tend epireg worked fine, but the space directions in the the corrected dwi volume are set to 'none none none none'. Should I manually set the space directions to their initial values after running the distorsion correction? I have attached the original 01-dwi.nhdr file. Thanks again for your help, Sonia On 10/12/11 11:00 AM, Gordon L. Kindlmann wrote: > The error message is saying something about the header: > > [ten] [nrrd] _nrrdFieldCheckSpaceInfo: axis[0] has a direction vector, and so can't have min, max, spacing, or units set > > If you look at the the header 01-dwi.nhdr, does it have "axis mins", "axis maxs", "spacings", or "units" fields that specify something for the first axis? > > If you aren't sure of the answer, you can forward the header to this list and we should be able to answer that. > > Gordon > > On Oct 12, 2011, at 9:56 AM, Sonia Pujol wrote: > >> Hi, >> >> I am working on a patient dataset, and I am interested in comparing the >> tensors before and after distortion correction. >> >> I was able to compute the tensors with tend estim without any issue, but >> when I try to use tend epireg I get the following error: >> >> tend epireg -i 01-dwi.nhdr -g kvp -f 0.65 -o 01-dwi-epi.nhdr >> _tenEpiRegBlur: >> 0 tend epireg: trouble doing epireg: >> [ten] tenEpiRegister4D: trouble >> [ten] tenEpiRegister3D: trouble blurring >> [ten] _tenEpiRegBlur: trouble blurring ndwi[0] >> [ten] [nrrd] nrrdSpatialResample: couldn't create float copy of input >> [ten] [nrrd] nrrdConvert: trouble >> [ten] [nrrd] clampConvert: invalid args >> [ten] [nrrd] nrrdCheck: trouble >> [ten] [nrrd] _nrrdCheck: trouble with space field >> [ten] [nrrd] _nrrdFieldCheck_space: trouble >> [ten] [nrrd] _nrrdFieldCheckSpaceInfo: axis[0] has a direction vector, >> and so can't have min, max, spacing, or units set >> >> >> Can you please let me know what I am doing wrong ? >> >> Thanks a lot, >> >> Sonia >> >> ------------------------------------------------------------------------------ >> All the data continuously generated in your IT infrastructure contains a >> definitive record of customers, application performance, security >> threats, fraudulent activity and more. Splunk takes this data and makes >> sense of it. Business sense. IT sense. Common sense. >> http://p.sf.net/sfu/splunk-d2d-oct >> _______________________________________________ >> teem-users mailing list >> tee...@li... >> https://lists.sourceforge.net/lists/listinfo/teem-users >> -- Sonia Pujol, Ph.D. Surgical Planning Laboratory, Harvard Medical School Brigham and Women's Hospital, Boston, MA |