Project4/segment Seg3D tutorial lv

From CVRG Wiki

Jump to: navigation, search

Return to Project 4 Home

Contents

Segmenting Left Ventricle using Seg3D

Start Software

Seg3D is available for both Linux and Windows at [:http.software.sci.utah.edu:http.software.sci.utah.edu]

Image:open_Seg3D.jpg

Load Cardiac Volume

Load Cardiac Volume (Analyze Image) using File - Open Volume. Browse to file and select.

Image:file_openVolume.jpg

Apply Median Filter

Select: Filter - Median Filter

Image:filter_median.jpg

Accept Default Values by selecting Start push button

Image:start_median_filter.jpg

New volume created by median filter

This volume is currently selected on right side of screen

Image:filter_median_applied.jpg

Apply Discreet Gaussian Filter

Select: Filter - Discreet Gaussian

Image:filter_discreet_gaussian.jpg

Accept Default Values by selecting Start push button

Image:start_discreet_gaussian.jpg

New volume created by discreet gaussian filter

This volume is currently selected on right side of screen

Image:filter_discreet_gaussian_applied.jpg

Use Threshold Tool to create mask with general interior and exterior limits of cardiac wall

Select: Tools - Threshold Tool

Image:tools_threshold.jpg

Threshold minimum and maximum initially set to default values

Image:tools_threshold_initial.jpg

Adjust minimum and maximum threshold values to define interior and exterior limits of cardiac wall

The slide controls can be used to adjust the lower and upper threshold. The user can navigate through triplanar slices to see the effects of threshold selection by moving cursor to desired plane, and using scroll control on mouse to view other slices.

Image:tools_threshold_set_min_max.jpg

Create mask

Selecting the "Complete" push button on the screen displayed above will create new mask (shown below).

Image:tools_threshold_created.jpg

Remove Mask voxels that are outside extents of maximum slices in Coronal plane

Create duplicate mask

Select "plus" icon on right side of screen to create duplicate mask, resulting in:

Image:polyline_create_initial_duplicate_mask.jpg

Use Polyline Tool to define outer boundary of cardiac wall

Select Tools Polyline

Image:tools_polyline.jpg

Move cursor above the Coronal Slice. Use scroll button on mouse to navigate to slice that appears to have largest area of cardiac muscle (shown below)

Image:coronal_polyline_1.jpg

Draw polyline by clicking left mouse button at successive parts of slice.

Image:coronal_polyline_2.jpg

Image:coronal_polyline_3.jpg

Image:coronal_polyline_4.jpg

After polyline is complete, scroll through all coronal slices to check that no part of desired cardiac muscle is inside polyline

Image:coronal_polyline_5.jpg

When user is satisfied that polyline includes all of desired cardiac muscle, select Fill push button on left side of screen. This will fill the polyline on coronal plane.

Image:coronal_polyline_fill.jpg

Move the cursor over the filled area of the polyline. Press the "P" button on the keyboard. This will propogate the filled polyline to the two other planes.

Image:coronal_polyline_fill_p_p.jpg

Combine Masks with Logical And

Select Filters - Combine Labels with Logical And

Image:coronal_combine_logical_and_1.jpg

Press "Set Mask Label" at upper left of screen:

Image:coronal_combine_logical_and_2.jpg

Select other mask on right side of screen:

Image:coronal_combine_logical_and_3.jpg

Press "Start" button on upper left of screen. This will generate a new mask, in which only voxels which are common to selected masks will be non-zero.

Image:coronal_combine_logical_and_4.jpg

Delete Intermediate Masks

Delete the two previous masks by selecting the red X icon of each mask on the right side of the screen. The user will be prompted to confirm each deletion.

Image:coronal_combine_logical_and_5.jpg

Remove Mask voxels that are outside extents of maximum slices in Axial Plane

Repeat the procedure that was used for the coronal planes in Axial planes.

Create duplicate mask, Use Polyline Tool to define outer boundary of cardiac wall

Create duplicate mask, create polyline to outline cardiac muscle at largest section in axial plane. Propogate to other planes using P on keyboard:

Image:axial_polyline_1.jpg

Combine Masks with Logical And

Image:axial_polyline_2.jpg

Delete Intermediate Masks

Image:axial_polyline_3.jpg

Remove Mask voxels that are outside extents of maximum slices in Sagittal Plane

Repeat the procedure that was used for the coronal planes in sagittal plane.

Create duplicate mask, Use Polyline Tool to define outer boundary of cardiac wall

Image:sagittal_polyline_1.jpg

Combine Masks with Logical And

Image:sagittal_polyline_2.jpg

Delete Intermediate Masks

Image:sagittal_polyline_3.jpg

Remove Mask voxels that are within the interior boundaries of cardiac wall Plane

Adjust Opacity of Initial Mask

Use opacity icon on right side of screen (fourth icon from left under Volumes). Opacity icon has two arrows facing opposite directions. Adjust the opacity so that the underlying greyscale volume can be clearly seen.

Image:interior_polyline_1.jpg

Image:interior_polyline_2.jpg

Display Initial Volume with mask

Use the leftmost icon on right side of screen to hide all volumes except the initial volume and mask.

Image:interior_polyline_3.jpg

Display Single Plane for Editing using View - Single

If desired, a singe plane can be displayed using View - Single

Image:interior_polyline_5_single_menu.jpg

Image:interior_polyline_5_single.jpg

Use Polyline Tool to Erase Undesired Voxels

Draw polyline around undesired voxels.

Image:interior_polyline_7_draw.jpg

Press Erase button to remove undesired voxels.

Image:interior_polyline_7_erase.jpg

Use mouse scroll bar to navigate to adjacent slice. The polyline will be displayed on following slice. Adjust polyline if necessary.

Image:interior_polyline_8_next_slice.jpg

Press Erase button to remove undesired voxels.

Image:interior_polyline_8_next_slice_erase.jpg

Use Polyline Tool to Include Desired Voxels

Draw polyline surrounding area to include in mask.

Image:interior_polyline_9.jpg

Press Fill button to add area to mask.

Image:interior_polyline_9_fill.jpg

Create Segmentation using Mask Data

Select the Mask Data Filter - Filters - Mask Data

Image:final_mask_1.jpg

With the current mask selected on the right side of the screen, press the Set Mask Label button on the left side of the screen.

Image:final_mask_2.jpg

Select the original volume on the right side of the screen.

Image:final_mask_3.jpg

Press the Start button on the left side of the screen. This will apply the mask to the original volume, the resulting segmentation will be displayed.

Image:final_mask_4.jpg

Save Segmentation

Select the Masked Volume (greyscale with non cardiac muscle removed) on right hand side. Select File - Save Volume.

Image:file_save_volume.jpg

Enter file name, press Save button. Volume will be saved in nrrd format.

Image:file_save_volume_2.jpg

Personal tools
Project Infrastructures