Dear all,
while working in Matlab with modified surfaces I came along the following
problem:
After reading a surface file in Matlab with read_surf.m and saving it again
(unmodified) using write_surf.m the entries are the same, as expected.
However, the visualisation of these (same) surfaces in FreeView seems to be
translated.
The error occurs "... valid volume geometry information is missing" while
opening the unmodified, but saved surface.
Does anyone have an idea whether this is just a FreeView problem or some
geometry information was really lost while saving, how to overcome this issue?
Thank you in advance!
Kind regards,
Diana
P.S. The Matlab code consists of just 2 lines of reading and saving the same
file under a different name.
%read the surface file
[verticesWhite, facesWhite] = read_surf(['.../surf/lh.white']);
%save the same surface file without changes
write_surf(['.../surf/lh.white_Resafed'],verticesWhite, ( facesWhite+1));
%read the safed unchanged surface file
[verticesWhiteResafed, facesWhiteResafed] =
read_surf(['.../surf/lh.white_Resafed']);
% verticesWhite, facesWhite; verticesWhiteResafed, facesWhiteResafed are
exactly the same
_______________________________________________
Freesurfer mailing list
[email protected]
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.