NorMIT-nav
22.09
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 () |
Public Member Functions inherited from cx::ThreadedTimedAlgorithm< vtkImageDataPtr > | |
ThreadedTimedAlgorithm (QString product, int secondsBetweenAnnounce) | |
virtual | ~ThreadedTimedAlgorithm () |
virtual bool | isFinished () const |
virtual bool | isRunning () const |
Public Member Functions inherited from cx::TimedBaseAlgorithm | |
TimedBaseAlgorithm (QString product, int secondsBetweenAnnounce) | |
virtual | ~TimedBaseAlgorithm () |
virtual QString | getProduct () const |
virtual bool | isFinished () const =0 |
virtual bool | isRunning () const =0 |
Additional Inherited Members | |
Signals inherited from cx::TimedBaseAlgorithm | |
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... | |
Protected Slots inherited from cx::TimedBaseAlgorithm | |
Protected Member Functions inherited from cx::ThreadedTimedAlgorithm< vtkImageDataPtr > | |
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 () |
cxResource_EXPORT void | getResult () |
cxResource_EXPORT void | getResult () |
Protected Member Functions inherited from cx::TimedBaseAlgorithm | |
void | startTiming () |
void | stopTiming () |
QString | getSecondsPassedAsString () const |
Protected Attributes inherited from cx::TimedBaseAlgorithm | |
bool | mUseDefaultMessages |
Segmenting using region growing.
Definition at line 39 of file cxConnectedThresholdImageFilter.h.
cx::ConnectedThresholdImageFilter::ConnectedThresholdImageFilter | ( | VisServicesPtr | services | ) |
Definition at line 27 of file cxConnectedThresholdImageFilter.cpp.
|
virtual |
Definition at line 33 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 48 of file cxConnectedThresholdImageFilter.h.
ImagePtr cx::ConnectedThresholdImageFilter::getOutput | ( | ) |
Definition at line 50 of file cxConnectedThresholdImageFilter.cpp.
void cx::ConnectedThresholdImageFilter::setInput | ( | ImagePtr | image, |
QString | outputBasePath, | ||
float | lowerThreshold, | ||
float | upperThreshold, | ||
int | replaceValue, | ||
itkImageType::IndexType | seed | ||
) |
Definition at line 37 of file cxConnectedThresholdImageFilter.cpp.