Fraxinus
16.5.0-fx-rc7
An IGT application
|
#include <cxTubeSegmentationFilterService.h>
Public Member Functions | |
TubeSegmentationFilter (ctkPluginContext *pluginContext) | |
virtual | ~TubeSegmentationFilter () |
virtual QString | getType () const |
virtual QString | getName () const |
virtual QString | getHelp () const |
virtual bool | hasPresets () |
virtual PresetsPtr | getPresets () |
virtual QDomElement | generatePresetFromCurrentlySetOptions (QString name) |
get a xml element containing the currently set parameters More... | |
virtual void | requestSetPresetSlot (QString name) |
try to set a specific preset More... | |
virtual bool | execute () |
virtual bool | postProcess () |
Public Member Functions inherited from cx::FilterImpl | |
virtual | ~FilterImpl () |
virtual QString | getUid () const |
virtual void | initialize (QDomElement root, QString uid="") |
virtual std::vector< PropertyPtr > | getOptions () |
virtual std::vector < SelectDataStringPropertyBasePtr > | getInputTypes () |
virtual std::vector < SelectDataStringPropertyBasePtr > | getOutputTypes () |
virtual void | setActive (bool on) |
virtual bool | preProcess () |
Public Member Functions inherited from cx::Filter | |
Filter () | |
virtual | ~Filter () |
Protected Member Functions | |
virtual void | createOptions () |
virtual void | createInputTypes () |
virtual void | createOutputTypes () |
Protected Member Functions inherited from cx::FilterImpl | |
FilterImpl (VisServicesPtr services) | |
ImagePtr | getCopiedInputImage (int index=0) |
void | updateThresholdFromImageChange (QString uid, DoublePropertyPtr threshold) |
void | updateThresholdPairFromImageChange (QString uid, DoublePairPropertyPtr threshold) |
PatientModelServicePtr | patientService () |
Additional Inherited Members | |
Public Slots inherited from cx::FilterImpl | |
Public Slots inherited from cx::Filter | |
Signals inherited from cx::Filter | |
void | changed () |
Protected Attributes inherited from cx::FilterImpl | |
std::vector < SelectDataStringPropertyBasePtr > | mInputTypes |
std::vector < SelectDataStringPropertyBasePtr > | mOutputTypes |
std::vector< PropertyPtr > | mOptionsAdapters |
QDomElement | mOptions |
std::vector< DataPtr > | mCopiedInput |
QDomElement | mCopiedOptions |
bool | mActive |
VisServicesPtr | mServices |
Filter for segmenting and extract the centerline of a volume.
This filter can run either on the gpu or cpu.
Algorithm written by Erik Smistad. For more information, see paper: "GPU-Based Airway Segmentation and Centerline Extraction for Image Guided Bronchoscopy."
Definition at line 73 of file cxTubeSegmentationFilterService.h.
cx::TubeSegmentationFilter::TubeSegmentationFilter | ( | ctkPluginContext * | pluginContext | ) |
Definition at line 62 of file cxTubeSegmentationFilterService.cpp.
|
virtual |
Definition at line 980 of file cxTubeSegmentationFilterService.cpp.
|
protectedvirtual |
Implements cx::FilterImpl.
Definition at line 391 of file cxTubeSegmentationFilterService.cpp.
|
protectedvirtual |
Implements cx::FilterImpl.
Definition at line 374 of file cxTubeSegmentationFilterService.cpp.
|
protectedvirtual |
Implements cx::FilterImpl.
Definition at line 403 of file cxTubeSegmentationFilterService.cpp.
|
virtual |
Execute filter with the given inputs and produce an output. This method is threadable - can be executed in a secondary thread. Assumes preprocess has been called.
Implements cx::Filter.
Definition at line 144 of file cxTubeSegmentationFilterService.cpp.
|
virtual |
get a xml element containing the currently set parameters
Reimplemented from cx::FilterImpl.
Definition at line 97 of file cxTubeSegmentationFilterService.cpp.
|
virtual |
Return a help text describing algorithm usage.
Implements cx::Filter.
Definition at line 79 of file cxTubeSegmentationFilterService.cpp.
|
virtual |
Return a descriptive name for this algorithm.
Implements cx::Filter.
Definition at line 69 of file cxTubeSegmentationFilterService.cpp.
|
virtual |
Returns the filters presets.
Reimplemented from cx::FilterImpl.
Definition at line 92 of file cxTubeSegmentationFilterService.cpp.
|
virtual |
Return the type of this algorithm.
Implements cx::Filter.
Definition at line 74 of file cxTubeSegmentationFilterService.cpp.
|
virtual |
Checks wheter the filter has defined a set of presets.
Reimplemented from cx::FilterImpl.
Definition at line 87 of file cxTubeSegmentationFilterService.cpp.
|
virtual |
Perform postprocessing tasks and set result from calculation into the output adapters.
Must be called from the main thread. Assumes execute() has been called.
because the segmented image is 0..1
Implements cx::Filter.
Definition at line 202 of file cxTubeSegmentationFilterService.cpp.
|
virtual |
try to set a specific preset
Reimplemented from cx::FilterImpl.
Definition at line 129 of file cxTubeSegmentationFilterService.cpp.