MaskedAlgorithmHelper Helper class as an easy bridge to set mitk images as masks for registration algorithms. It is assumed that the Image indicates the mask by pixel values != 0.
More...
#include <mitkMaskedAlgorithmHelper.h>
MaskedAlgorithmHelper Helper class as an easy bridge to set mitk images as masks for registration algorithms. It is assumed that the Image indicates the mask by pixel values != 0.
Definition at line 37 of file mitkMaskedAlgorithmHelper.h.
◆ MaskedAlgorithmHelper()
mitk::MaskedAlgorithmHelper::MaskedAlgorithmHelper |
( |
map::algorithm::RegistrationAlgorithmBase * |
algorithm | ) |
|
◆ ~MaskedAlgorithmHelper()
mitk::MaskedAlgorithmHelper::~MaskedAlgorithmHelper |
( |
| ) |
|
|
inline |
◆ CheckSupport()
bool mitk::MaskedAlgorithmHelper::CheckSupport |
( |
const mitk::Image * |
movingMask, |
|
|
const mitk::Image * |
targetMask |
|
) |
| const |
Checks if the algorithm supports masks of the passed type.
◆ HasMaskedRegistrationAlgorithmInterface()
static bool mitk::MaskedAlgorithmHelper::HasMaskedRegistrationAlgorithmInterface |
( |
const map::algorithm::RegistrationAlgorithmBase * |
algorithm | ) |
|
|
static |
◆ SetMasks()
Set one or both masks to an algorithm. If the algorithm does not support masks it will be ignored.
- Returns
- Indicates if the masks could be set/was supported by algorithm.
The documentation for this class was generated from the following file: