Difference between revisions of "Documentation/Nightly/FAQ/Viewing and Resampling"
From Slicer Wiki
(Created page with '='''User FAQ: {{{1}}}'''= </includeonly> ==What coordinate systems does Slicer use?== See this documentation of Slicer coordinate systems. ==How can I u…') |
|||
Line 8: | Line 8: | ||
==How can I use the reformat widget view to resample my images? == | ==How can I use the reformat widget view to resample my images? == | ||
− | < | + | <pre> |
red = getNodes('vtkMRMLSliceNode*')['Red'] | red = getNodes('vtkMRMLSliceNode*')['Red'] | ||
t = slicer.vtkMRMLLinearTransformNode() | t = slicer.vtkMRMLLinearTransformNode() | ||
t.SetAndObserveMatrixTransformToParent(red.GetSliceToRAS()) | t.SetAndObserveMatrixTransformToParent(red.GetSliceToRAS()) | ||
− | </ | + | </pre> |
Then invert “t” and put my original volume under “t”. | Then invert “t” and put my original volume under “t”. |
Revision as of 21:01, 24 June 2013
Home < Documentation < Nightly < FAQ < Viewing and ResamplingUser FAQ: {{{1}}}
</includeonly>
What coordinate systems does Slicer use?
See this documentation of Slicer coordinate systems.
How can I use the reformat widget view to resample my images?
red = getNodes('vtkMRMLSliceNode*')['Red'] t = slicer.vtkMRMLLinearTransformNode() t.SetAndObserveMatrixTransformToParent(red.GetSliceToRAS())
Then invert “t” and put my original volume under “t”.