![]() |
Fraxinus
16.5.0-fx-rc8
An IGT application
|
Segmenting using region growing. More...
#include <cxConnectedThresholdImageFilter.h>
Public Member Functions | |
ConnectedThresholdImageFilter (VisServicesPtr services) | |
virtual | ~ConnectedThresholdImageFilter () |
void | setInput (ImagePtr image, QString outputBasePath, float lowerThreshold, float upperThreshold, int replaceValue, itkImageType::IndexType seed) |
virtual void | execute () |
ImagePtr | getOutput () |
![]() | |
ThreadedTimedAlgorithm (QString product, int secondsBetweenAnnounce) | |
virtual | ~ThreadedTimedAlgorithm () |
virtual bool | isFinished () const |
virtual bool | isRunning () const |
![]() | |
TimedBaseAlgorithm (QString product, int secondsBetweenAnnounce) | |
virtual | ~TimedBaseAlgorithm () |
virtual QString | getProduct () const |
Additional Inherited Members | |
![]() | |
void | aboutToStart () |
emitted at start of execute. Use to perform preprocessing More... | |
void | started (int maxSteps) |
emitted at start of run. More... | |
void | finished () |
should be emitted when at the end of postProcessingSlot More... | |
void | productChanged () |
emitted whenever product string has changed More... | |
![]() | |
![]() | |
virtual void | preProcessingSlot () |
This happens before the thread (calculate) is started, here non-thread safe functions can be called. More... | |
virtual void | postProcessingSlot ()=0 |
This happens when the thread (calculate) is finished, here non-thread safe functions can be called. More... | |
void | generate () |
vtkImageDataPtr | getResult () |
![]() | |
void | startTiming () |
void | stopTiming () |
QString | getSecondsPassedAsString () const |
![]() | |
bool | mUseDefaultMessages |
Segmenting using region growing.
Definition at line 60 of file cxConnectedThresholdImageFilter.h.
cx::ConnectedThresholdImageFilter::ConnectedThresholdImageFilter | ( | VisServicesPtr | services | ) |
Definition at line 48 of file cxConnectedThresholdImageFilter.cpp.
|
virtual |
Definition at line 54 of file cxConnectedThresholdImageFilter.cpp.
|
inlinevirtual |
Execute the algorithm. Parts of the execution can be in another thread, thus the call usually returns after preprocessing is complete. The exec starts by emitting aboutToStart(), which can be used by callers to set input arguments.
Reimplemented from cx::ThreadedTimedAlgorithm< vtkImageDataPtr >.
Definition at line 69 of file cxConnectedThresholdImageFilter.h.
ImagePtr cx::ConnectedThresholdImageFilter::getOutput | ( | ) |
Definition at line 71 of file cxConnectedThresholdImageFilter.cpp.
void cx::ConnectedThresholdImageFilter::setInput | ( | ImagePtr | image, |
QString | outputBasePath, | ||
float | lowerThreshold, | ||
float | upperThreshold, | ||
int | replaceValue, | ||
itkImageType::IndexType | seed | ||
) |
Definition at line 58 of file cxConnectedThresholdImageFilter.cpp.