#include <thresholding.h>
Inheritance diagram for vlVolProcessorThresh:

Public Member Functions | |
| vlVolProcessorThresh () | |
| Default constructor. | |
| virtual | ~vlVolProcessorThresh () |
| Default destructor. | |
| void | init () |
| This function is called after execution of setVolume(). | |
| bool | run () |
| Run the vol processor. | |
| template<> bool | runT (uint8 &dummy) |
| template<> bool | runT (int8 &dummy) |
| template<> bool | runT (uint16 &dummy) |
| template<> bool | runT (int16 &dummy) |
| template<> bool | runT (uint32 &dummy) |
| template<> bool | runT (int32 &dummy) |
Protected Member Functions | |
| template<class DataType> bool | runT (DataType &dummy) |
| template<class DataType> bool | thresholding (DataType &dummy) |
| This function actually does the job of thresholding. | |
Thresholding can be controlled by using the following parameters:
The output of the thresholding process can be configured using:
Definition at line 55 of file thresholding.h.
|
|
Definition at line 43 of file thresholding.cpp. References vlPluginInfo::addAuthor(), vlPlugin::infoRef(), vlPluginInfo::setCopyrightText(), vlPluginInfo::setName(), vlPluginInfo::setService(), and vlPluginInfo::setVersion(). |
|
|
Definition at line 56 of file thresholding.cpp. |
|
|
If the volume argument is not valid, then init() is not called. Implement this function if you need to do any initialization before the user calls run. For e.g., this is the right place to add config parameters which are volume type dependent. Reimplemented from vlVolProcessor. Definition at line 61 of file thresholding.cpp. References vlVarListAdmin::add(), vlVarListAdmin::clear(), vlVolProcessor::configRef(), uint8, and vlVolProcessor::vol(). |
|
|
Implements vlVolProcessor. Definition at line 124 of file thresholding.cpp. References callFunctionOnDataTypeNoArgs, runT(), and vlVolProcessor::vol(). |
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
Definition at line 138 of file thresholding.cpp. Referenced by run(). |
|
||||||||||
|
This function expects the volume data to be a single value per voxel and with "<", ">" and "==" defined for the data type.
Definition at line 146 of file thresholding.cpp. References vlVarListAdmin::add(), vlVolProcessor::configRef(), vlVolume::dataType(), vlVolume::dim(), vlVolIterConst< DataType, Layout >::get(), vlVarList::get(), vlVolIterConst< DataType, Layout >::nextXYZ(), vlVolProcessor::resultsRef(), vlVolIter< DataType, Layout >::set(), uint64, uint8, UnsignedInt8, and vlVolProcessor::vol(). |
1.3.3