Documentation/Nightly/FAQ/Models

From Slicer Wiki
Revision as of 23:22, 3 June 2013 by Pieper (talk | contribs) (Created page with '<noinclude>__TOC__ ={{#titleparts: {{PAGENAME}} | | -1 }}=</noinclude><includeonly> ='''User FAQ: {{{1}}}'''= </includeonly> == How can I transform a model for output? == Slice…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Home < Documentation < Nightly < FAQ < Models

Models

How can I transform a model for output?

Slicer performs all operations in millimeters, and all anatomy is referenced to the patient space. When the data from from DICOM or other formats with well-defined geometry mappings, all the dimensions are handled automatically.

However some output formats, such as .stl format, do not have defined physical units, and some software will insist that data be saved with respect to units other than millimeters. In this case, you can pre-transform the data before saving using the following steps:

  1. Create a linear transform using the Transforms module
  2. Enter the conversion factor along the main diagonal of the transform matrix (i.e. if the export should be in meters rather than millimeters, then enter 0.001 in place of 1.0 along the three locations in the main diagonal).
  3. Apply the new transform to the model (it will appear much smaller now in slicer)
  4. Go to the Data module
    1. Right-click on the model
    2. Pick the Harden Transform menu item.

The model will not change size, but it will move out of the transform, meaning that the internal data points have been changed and is ready for saving.