Tristan, You've already seen the file formats page below, so I won't repeat that link (embedded below).
But here is some more info: * Cell data (aka foci) are like 3D coordinates relative to some surface (typically a "fiducial" surface, such as midthickness, white matter, or pial). They can be *projected* onto tiles, and saved as cellproj or fociproj. Then they are tied to a mesh and can be rendered on any surface configuration (flat, inflated, etc.). * Metric and surface_shape data are node:scalar pairs -- could be curvature, sulcal depth, fMRI stats, whatever. But these are tied to nodes -- not tiles/triangles. * If you use caret_command to import the VTK surface, you will have saved coord/topo or gifti files. You can also save this in the GUI using the File: Save Data File. After importing the VTK surface, use either: File: Save Data File: Topo File File: Save Data File: Coord File ... or ... File: Save Data File: Gifti file (or gifti surface -- no time to check) Donna On 09/28/2010 05:10 PM, Tristan Chaplin wrote: > Thanks I'll check that out. > > I can write a program to convert between two data formats if Caret has > some appropriate file format. Something where you can assign data to > the mesh polygons, so you can then say colour the surface in caret > with that data, as you would if it was mean curvature etc. I was > hoping it was the cell file? > > FYI The problem is I need to cut and then flatten some surface models > that have data associated with the polygons. The thing is if I import > to Caret, that polygon data is not kept anywhere. Then when I cut the > surface and flatten, there are less polygons than there used to be, so > when I save the it back as a VTK file I can't even cross reference it > to the original VTK file to "look up" the polygon data. Therefore I > need to hang on to this data whilst cutting and flattening. > > Thanks, > Tristan > > On Tue, Sep 28, 2010 at 23:12, Donna Dierker <[email protected] > <mailto:[email protected]>> wrote: > > It sounds like you have two kinds of VTK data: The surfaces, and > the cell > data. You can certainly import VTK surfaces into Caret, using > either the > File: Open Data File option, or caret_command (command line utility). > > I don't know about VTK cell data. > > Our whole lab is in all-day meetings today and tomorrow, so it > might be > Thursday before we can check on this. > > Enter "caret_command -help-full > /tmp/caret_command.txt" at a > terminal > window and use a text editor to read /tmp/caret_command.txt and > search for > "file-convert". (If you're on Windows, you'll need to adjust this > command > accordingly.) > > > Hi, > > > > I'm pretty new to Caret, so far I've just been using it for > reconstruction > > from histological slices and flattening. > > > > I have some pre-existing VTK surface models in which the > polygons have > > some > > data associated with them, e.g. number tracer labelled cells, > visuotopic > > information etc. In the VTK text file format, it's called > CELL_DATA. > > > > When I load these surfaces into Caret, it seems this data is not > preserved > > anywhere. However Caret does seem to support this VTK feature when > > exporting - if I colour the surface with a overlay of the mean > curvature > > and > > save a VTK file, I see that it writes out the colouring as > CELL_DATA in > > the > > VTK file. > > > > My question is, how do I import this polygon data into Caret > surfaces? > > I'm > > thinking I need to import it as a different Caret file, such as > a Cell > > file. > > Is that correct? Should I generate a separate file using the > information > > at > > > > http://brainvis.wustl.edu/CaretHelpAccount/caret5_help/file_formats/file_formats.html > > ? > > > > Thanks, > > Tristan > > _______________________________________________ > > caret-users mailing list > > [email protected] > <mailto:[email protected]> > > http://brainvis.wustl.edu/mailman/listinfo/caret-users > > > > _______________________________________________ > caret-users mailing list > [email protected] <mailto:[email protected]> > http://brainvis.wustl.edu/mailman/listinfo/caret-users > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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
