-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This module pre-fits a Shape::Tube markups node along an input markups curve that represents the axis of a non-aneurysmal artery.
- Loading branch information
Showing
10 changed files
with
838 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Pre-fit tube | ||
|
||
This module pre-fits a Shape::Tube markups node along an input markups curve that represents the axis of a non-aneurysmal artery. The control points of the tube must be further repositioned to represent the best *estimate* of the arterial wall. | ||
|
||
![Example](PreFitTube_0.png) | ||
|
||
### Usage | ||
|
||
Select a markups curve node, a scalar volume of a CT angiogram and a target dimension profile. Select an output Shape::Tube node, and optionally a segmentation node to keep the segment mask. After applying, the resulting Shape::Tube node may be post-processed to position the control points on the arterial wall. | ||
|
||
### Notes | ||
- This extension is a requirement: [ExtraMarkups](https://github.com/chir-set/SlicerExtraMarkups). | ||
- Use cropped volumes to save time. | ||
- For tiny targets, resampling the volume to increase the resolution may help. | ||
- The input curve should represent the axis of the artery. | ||
- For diseased arteries, the more the curve passes through calcifications and soft lesions, the better for the segment mask. | ||
- An output segmentation node can be specified to view the segment mask. | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#----------------------------------------------------------------------------- | ||
set(MODULE_NAME EditCenterline) | ||
|
||
#----------------------------------------------------------------------------- | ||
set(MODULE_PYTHON_SCRIPTS | ||
${MODULE_NAME}.py | ||
) | ||
|
||
set(MODULE_PYTHON_RESOURCES | ||
Resources/Icons/${MODULE_NAME}.png | ||
Resources/UI/${MODULE_NAME}.ui | ||
) | ||
|
||
#----------------------------------------------------------------------------- | ||
slicerMacroBuildScriptedModule( | ||
NAME ${MODULE_NAME} | ||
SCRIPTS ${MODULE_PYTHON_SCRIPTS} | ||
RESOURCES ${MODULE_PYTHON_RESOURCES} | ||
WITH_GENERIC_TESTS | ||
) | ||
|
||
#----------------------------------------------------------------------------- | ||
if(BUILD_TESTING) | ||
|
||
# Register the unittest subclass in the main script as a ctest. | ||
# Note that the test will also be available at runtime. | ||
slicer_add_python_unittest(SCRIPT ${MODULE_NAME}.py) | ||
|
||
# Additional build-time testing | ||
add_subdirectory(Testing) | ||
endif() |
Oops, something went wrong.