Table columns customization

Slicer supports loading/saving/editing of spreadsheets (.csv, .txt, .tsv files) for a while now, but there was no standard way of specifying data type, unit (mm, cm3, …), default value, or custom properties for the stored data.

We have recently introduced table column properties, which:

  • can be used for customizing how data is displayed (for example, bit type columns are shown as checkboxes)
  • what default values should be used for new rows
  • long description, human-readable name can be specified, which are displayed in the tooltip in table views
  • any number of custom properties can be defined (useful for developers, maybe will be also exposed for users in some way)

To get started, create a schema file for your table (file that has the same name as your table file, with .schema inserted before the extension) and load your table into Slicer to view it. See more details in the Table node API documentation.

Any questions and suggestions are welcome.

3 Likes

Hi
I am not a programmer, I am a keen user of 3d slicer, how can I get the area measurements(mm2) of MRI images because I got only volume. and my images are 5 mm thickness so when I compare my result with another software it doesn’t mach?

If you need area of a single slice then dividing the volume with the slice thickness will give you the correct result. If you can share a data set with segmentation (you can use any of the Slicer sample data sets) and quantification result that you got with other software then we can check what could cause the difference.