Functor that aggregates multiple CurveDescriptionParameterBase instances and computes all registered descriptors.
More...
#include <mitkCurveParameterFunctor.h>
Functor that aggregates multiple CurveDescriptionParameterBase instances and computes all registered descriptors.
This functor can be used with itkMultiOutputNaryImageFilter for pixel-wise curve descriptor computation. Register any number of CurveDescriptionParameterBase instances; the functor will compute all their values for each input curve.
- Warning
- The functor's Compute method and registered descriptor instances must be thread-safe.
- See also
- CurveDescriptionParameterBase, PixelBasedDescriptionParameterImageGenerator, SimpleFunctorBase
Definition at line 33 of file mitkCurveParameterFunctor.h.
◆ ConstPointer
◆ GridArrayType
◆ ParameterNamesType
◆ ParameterNameType
◆ Pointer
◆ Self
◆ Superclass
◆ CurveParameterFunctor()
| mitk::CurveParameterFunctor::CurveParameterFunctor |
( |
| ) |
|
|
protected |
◆ ~CurveParameterFunctor()
| mitk::CurveParameterFunctor::~CurveParameterFunctor |
( |
| ) |
|
|
overrideprotected |
◆ Compute()
Computes all registered description parameters for the given input curve values.
- Parameters
-
| [in] | value | The input pixel vector representing the curve values over time. |
- Returns
- Vector of all computed descriptor values from all registered parameters.
- Exceptions
-
| itk::ExceptionObject | if no grid or no descriptors are set. |
Implements mitk::SimpleFunctorBase.
◆ GetClassName()
| virtual const char* mitk::CurveParameterFunctor::GetClassName |
( |
| ) |
const |
|
virtual |
◆ GetDescriptionParameterFunction()
Returns the descriptor function registered under the given name.
- Parameters
-
| [in] | parameterName | The name to look up. |
- Returns
- Pointer to the descriptor function, or nullptr if not found.
- Warning
- Not thread-safe. Do not call while Compute is running.
◆ GetDescriptionParameterNames()
Returns the names of all registered description parameters.
If a descriptor produces multiple values, its name is prefixed to each sub-parameter name.
- Returns
- Vector of all parameter names.
◆ GetGrid()
◆ GetNumberOfOutputs()
| unsigned int mitk::CurveParameterFunctor::GetNumberOfOutputs |
( |
| ) |
const |
|
overridevirtual |
Returns the total number of output values across all registered descriptors.
- Returns
- The number of output values.
Implements mitk::SimpleFunctorBase.
◆ New()
| static Pointer mitk::CurveParameterFunctor::New |
( |
| ) |
|
|
static |
◆ RegisterDescriptionParameter()
Registers a new description parameter function under the given name.
- Parameters
-
| [in] | parameterName | The name to register the parameter under. |
| [in] | parameterFunction | Pointer to the descriptor function to register. |
- Warning
- Not thread-safe. Do not call while Compute is running.
◆ ResetDescriptionParameters()
| void mitk::CurveParameterFunctor::ResetDescriptionParameters |
( |
| ) |
|
Removes all registered description parameter functions.
- Warning
- Not thread-safe. Do not call while Compute is running.
◆ SetGrid()
| virtual void mitk::CurveParameterFunctor::SetGrid |
( |
GridArrayType |
_arg | ) |
|
|
virtual |
Sets the time grid for curve descriptor computation.
- Parameters
-
| [in] | _arg | The time grid array (in seconds). |
The documentation for this class was generated from the following file: