![]() |
Fraxinus
16.5.0-fx-rc7
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 () |
![]() | |
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 () |
![]() | |
Filter () | |
virtual | ~Filter () |
Protected Member Functions | |
virtual void | createOptions () |
virtual void | createInputTypes () |
virtual void | createOutputTypes () |
![]() | |
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 | |
![]() | |
virtual void | requestSetPresetSlot (QString name) |
![]() | |
virtual void | requestSetPresetSlot (QString name)=0 |
![]() | |
void | changed () |
![]() | |
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 257 of file cxAirwaysFilterService.cpp.
|
protectedvirtual |
Implements cx::FilterImpl.
Definition at line 218 of file cxAirwaysFilterService.cpp.
|
protectedvirtual |
Implements cx::FilterImpl.
Definition at line 213 of file cxAirwaysFilterService.cpp.
|
protectedvirtual |
Implements cx::FilterImpl.
Definition at line 228 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 90 of file cxAirwaysFilterService.cpp.
|
virtual |
Return a help text describing algorithm usage.
Implements cx::Filter.
Definition at line 82 of file cxAirwaysFilterService.cpp.
|
virtual |
Return a descriptive name for this algorithm.
Implements cx::Filter.
Definition at line 72 of file cxAirwaysFilterService.cpp.
|
virtual |
Return the type of this algorithm.
Implements cx::Filter.
Definition at line 77 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 168 of file cxAirwaysFilterService.cpp.