[caret-users] CerebralHull.vtk broken?
John Harwell
john at brainvis.wustl.edu
Tue Jul 15 09:53:33 CDT 2008
Michael,
The problem is that the VTK file has commas instead of periods for the
decimal points.
POINTS 13962 float
43,4298 -2,86038 -43,2584 41,6454 -2,83801 -43,5191 41,5233 -1,39223
-43,4628
44,4783 -1,63353 -43,4827 45,4978 -1,44732 -41,8595 43,8519 -0,819029
-43,7802
42,4223 -0,286592 -43,9258 41,397 -4,53123 -42,7291 43,2797 -6,69071
-41,6795
44,6393 -4,59945 -41,6029 41,1897 0,785529 -43,19 44,8851 -0,354329
-43,4192
If I replace the commas with periods, Caret, using the VTK library, is
able to read the file successfully.
The use of commas, instead of periods, is caused by a locale
(internationalization) set by either VTK or the C++ compiler used to
compile VTK. Since you built the Debian version of Caret, you will
have determine the source of the problem.
-----------------------------------
John Harwell
john at brainvis.wustl.edu
Department of Anatomy and Neurobiology
Washington University School of Medicine
660 S. Euclid Ave Box 8108
Saint Louis, MO 63110
On Jul 15, 2008, at 4:40 AM, Michael Hanke wrote:
> Hi,
>
> I started using recent Caret 5.6. I noticed when performing SureFit it
> always complains about '*CerebralHull.vtk contains no triangles or
> stripes'. Same error appears when I tried to compute the sulcal depth
> (via Surface->Measurements->Generate Sulcal Depth). Generating the
> hull
> vtk file (Volume->Segmentation->Generate Cerebral Hull Volume) itself
> causes no error message. But the resulting file cannot be read by any
> VTK viewer file viewer I have tried.
>
> I'm using the Debian package of Caret 5.6 which in turn uses Debian
> lenny's VTK library (currently 5.0.4).
>
> A bzip'ed example CerebralHull.vtk is attached.
>
>
> Thanks,
>
> Michael
>
> --
> GPG key: 1024D/3144BE0F Michael Hanke
> http://apsy.gse.uni-magdeburg.de/hanke
> ICQ: 48230050
> <
> Human
> .xx00
> .R
> .CerebralHull.vtk.bz2>_______________________________________________
> caret-users mailing list
> caret-users at brainvis.wustl.edu
> http://brainvis.wustl.edu/mailman/listinfo/caret-users
More information about the caret-users
mailing list