Skip to content

jvpasinatto/MRML_Slicer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MRML_Slicer

Matlab functions for adding modalities and scenes to a mrml scene file.

Requirements

Structure Tree

image

Adding Modalities

Add Volume

add_vol('../file.nii', 'background')

Functions:

info_vol

Function that get info from de header of the .nii file.

volume_node

Node that represents the volume, stores the references to the display and storage nodes and also basic info about the volume.

volumedisplay_node

Node that stores the info about how to display the volume in the scene. Here you can change, among others, the following parameters:

  • Window
  • Level
  • ColorNode
  • Threshold
  • Auto WindowLevel
  • Auto Threshold
  • Interpolate

volumearchetypestorage_node

Node that stores the info about the storage of the .nii volume file.

Add Model

add_model('../file.vtp')

Functions:

model_node

Node that represents the model, stores the references to the display and storage nodes and also basic info about the model.

modeldisplay_node

Node that stores the info about how to display the 3D view of the model in the scene. Here you can change, among others, the following parameters:

  • FrontfaceCulling
  • BackfaceCulling
  • EdgeVisibility
  • Visibility

modelstorage_node