Fraxinus
16.5.0-fx-rc9
An IGT application
|
#include <cxAirwaysFilterService.h>
Public Member Functions | |
AirwaysFilter (VisServicesPtr services) | |
virtual | ~AirwaysFilter () |
virtual QString | getType () const |
virtual QString | getName () const |
virtual QString | getHelp () const |
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 bool | hasPresets () |
virtual PresetsPtr | getPresets () |
virtual QDomElement | generatePresetFromCurrentlySetOptions (QString name) |
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 | |
virtual void | requestSetPresetSlot (QString name) |
Public Slots inherited from cx::Filter | |
virtual void | requestSetPresetSlot (QString name)=0 |
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 65 of file cxAirwaysFilterService.h.
cx::AirwaysFilter::AirwaysFilter | ( | VisServicesPtr | services | ) |
Definition at line 66 of file cxAirwaysFilterService.cpp.
|
virtual |
Definition at line 75 of file cxAirwaysFilterService.cpp.
|
protectedvirtual |
Implements cx::FilterImpl.
Definition at line 225 of file cxAirwaysFilterService.cpp.
|
protectedvirtual |
Implements cx::FilterImpl.
Definition at line 221 of file cxAirwaysFilterService.cpp.
|
protectedvirtual |
Implements cx::FilterImpl.
Definition at line 235 of file cxAirwaysFilterService.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 96 of file cxAirwaysFilterService.cpp.
|
virtual |
Return a help text describing algorithm usage.
Implements cx::Filter.
Definition at line 88 of file cxAirwaysFilterService.cpp.
|
virtual |
Return a descriptive name for this algorithm.
Implements cx::Filter.
Definition at line 78 of file cxAirwaysFilterService.cpp.
|
virtual |
Return the type of this algorithm.
Implements cx::Filter.
Definition at line 83 of file cxAirwaysFilterService.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 176 of file cxAirwaysFilterService.cpp.