This tutorial demonstrates the basic steps needed to segment a file and create a Surface Model.
Landmarks are 3D locations in the image data, such as ligament attachment points, that you digitize for later use in other applications. Points of Interest (POIs) are 3D locations (usually a bead) that are tracked in a DSX trial. The coordinates of either locations are expressed in the segmented object’s reference frame, and are stored in the subject file.
To create a landmark/POI:
Note: Make sure you add landmarks/POIs to an object after cropping the image data to that object so that the landmark coordinates will be in the same reference frame as the segmented object.
To segment an image:
Simple thresholding is usually not sufficient for segmenting an object from CT or MRI data. After setting the threshold as best you can, you can modify the segmentation by filling holes, erasing voxel labels, and painting voxel labels. These commands are described below. You can also undo/redo these edits using the Undo and Redo commands in the Segmentation menu. The number of commands stored in the undo list is specified by the Undo Limit parameter.
Note: If you change the label thresholds in the histogram widget, Surface3D will recalculate the segmentation from the initial seed point, thus deleting any manual edits you have made.
Segmentation holes are unlabelled image voxels that are completely surrounded by labelled voxels. The Fill 3D Holes command will automatically label all holes in the 3D segmentation that are smaller than a certain volume threshold.
The command is initiated by selecting Fill 3D Holes from the Segmentation menu. A dialog first appears in which the user can adjust the value of the 3D Hole Threshold parameter. Shortcut: Ctrl + H can also be used.
Manual hole filling works in 2D, on a single slice of image data:
This command erases a circular region of the segmentation label in one 2D image slice:
Note: The size of the region is controlled by Paintbrush Radius in the Settings dialog. If the voxels have the same size in the two dimensions of the slice the painted region will be a circle, otherwise it will be an ellipse.
This command paints a circular region of the segmentation label in one 2D image slice:
Note: The size of the region is controlled by Paintbrush Radius in the Settings dialog. If the voxels have the same size in the two dimensions of the slice the painted region will be a circle, otherwise it will be an ellipse.
To make the segmented image suitable for DRR generation in X4D, it needs to be masked and cropped using Mask Labeled Image Data followed by Crop Image Data to Labels from the Image menu. This actions involve setting all unlabelled voxels to zero and cropping the image to the minimum dimensions that include all of the labelled voxels, respectively.
After the object of interest has been labelled and the image data has been cropped, you can create a surface model from the segmented image. Surface3D uses a marching cubes algorithm to generate a surface model of triangles from the labelled voxels.
Steps:
Note: In order for the surface model to be in the same reference frame as the segmented image (used for DRR generation), it is important to create the surface model after the image data has been cropped.