Or a twist on Rouhi's suggestion, try converting it to binary; it might be the same as the old format, i.e.:
caret_command -file-convert -format-convert binary deformed_deformed_Human.FS006.L.Midthickness_711-2B.mws.73730.coord Let us know if this works. On Dec 14, 2011, at 5:53 AM, Rouhollah Abdollahi wrote: > Dear > Just use the caret_command to change the binary to ascii. > Then you have ascii file! > or you should add another code to read xml directly and decode the compressed > binary inside. > > Bests > > On Tue, Dec 13, 2011 at 7:26 PM, Taosheng Liu <[email protected]> wrote: > Hi Caret team, > I've been using the FreeSurfer to Caret pipeline and it works well. > For our analysis we eventually read in the spherical registration file > (like > "deformed_deformed_Human.FS006.L.Midthickness_711-2B.mws.73730.coord") > into Matlab and do some analysis ourselves. > It seems that the format of that file has changed. Previously we have > files generated by Caret 5.613, and we read the binary data after the > "EndHeader" string. The current format (generated by Caret 5.64) seems > to be a XML file with a <Data> field. My question is: are the binary > data in the two file formats exactly the same? I'm hoping so because > it'll be relatively easy for us to modify our code to read in correct > information. > Thank you very much, > > --Taosheng Liu > > _______________________________________________ > caret-users mailing list > [email protected] > http://brainvis.wustl.edu/mailman/listinfo/caret-users > > > > -- > With Best Regards > Rouhollah Abdollahi > > > > _______________________________________________ > caret-users mailing list > [email protected] > http://brainvis.wustl.edu/mailman/listinfo/caret-users _______________________________________________ caret-users mailing list [email protected] http://brainvis.wustl.edu/mailman/listinfo/caret-users
