Medical Imaging Interaction Toolkit
2023.12.00
Medical Imaging Interaction Toolkit
|
#include <mitkTimeFramesRegistrationHelper.h>
Public Types | |
typedef ::map::algorithm::RegistrationAlgorithmBase | RegistrationAlgorithmBaseType |
typedef RegistrationAlgorithmBaseType::Pointer | RegistrationAlgorithmPointer |
typedef ::map::core::RegistrationBase | RegistrationType |
typedef RegistrationType::Pointer | RegistrationPointer |
typedef std::vector< mitk::TimeStepType > | IgnoreListType |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
TimeFramesRegistrationHelper () | |
~TimeFramesRegistrationHelper () override | |
RegistrationPointer | DoFrameRegistration (const mitk::Image *movingFrame, const mitk::Image *targetFrame, const mitk::Image *targetMask) const |
mitk::Image::Pointer | DoFrameMapping (const mitk::Image *movingFrame, const RegistrationType *reg, const mitk::Image *targetFrame) const |
bool | HasOutdatedResult () const |
void | CheckValidInputs () const |
mitk::Image::Pointer | GetFrameImage (const mitk::Image *image, mitk::TimePointType timePoint) const |
Protected Attributes | |
RegistrationAlgorithmPointer | m_Algorithm |
Helper class that assumes that registeres time frames of an passed image and returns the resulting new image. A typical use case for the helper class is motion correction in 3D+t images. Each selected frame will be registered to the first frame of the image. The user can define frames that may be not registered. These frames will be copied directly. Per default all frames will be registered. The user may set a mask for the target frame (1st frame). If this mask image has mulitple time steps, the first time step will be used. The helper class invokes three eventtypes:
Definition at line 43 of file mitkTimeFramesRegistrationHelper.h.
typedef std::vector<mitk::TimeStepType> mitk::TimeFramesRegistrationHelper::IgnoreListType |
Definition at line 55 of file mitkTimeFramesRegistrationHelper.h.
typedef ::map::algorithm::RegistrationAlgorithmBase mitk::TimeFramesRegistrationHelper::RegistrationAlgorithmBaseType |
Definition at line 48 of file mitkTimeFramesRegistrationHelper.h.
typedef RegistrationAlgorithmBaseType::Pointer mitk::TimeFramesRegistrationHelper::RegistrationAlgorithmPointer |
Definition at line 51 of file mitkTimeFramesRegistrationHelper.h.
typedef RegistrationType::Pointer mitk::TimeFramesRegistrationHelper::RegistrationPointer |
Definition at line 53 of file mitkTimeFramesRegistrationHelper.h.
typedef ::map::core::RegistrationBase mitk::TimeFramesRegistrationHelper::RegistrationType |
Definition at line 52 of file mitkTimeFramesRegistrationHelper.h.
|
inlineprotected |
Definition at line 107 of file mitkTimeFramesRegistrationHelper.h.
|
inlineoverrideprotected |
Definition at line 120 of file mitkTimeFramesRegistrationHelper.h.
|
protected |
Check if the fit can be generated and all needed inputs are valid. Throw an exception for a non valid or missing input.
void mitk::TimeFramesRegistrationHelper::ClearIgnoreList | ( | ) |
cleares the ignore list. Therefore all frames will be processed.
|
protected |
|
protected |
void mitk::TimeFramesRegistrationHelper::Generate | ( | ) |
Commences the generation of the registered 4D image. Stores the result internally. After this method call is finished the result can be retrieved via GetRegisteredImage.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
protected |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Image::Pointer mitk::TimeFramesRegistrationHelper::GetRegisteredImage | ( | ) |
Returns the generated images. Triggers Generate() if result is outdated.
|
virtual |
|
protected |
mitk::TimeFramesRegistrationHelper::mitkClassMacroItkParent | ( | TimeFramesRegistrationHelper | , |
itk::Object | |||
) |
|
static |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
void mitk::TimeFramesRegistrationHelper::SetIgnoreList | ( | const IgnoreListType & | il | ) |
|
virtual |
|
virtual |
|
virtual |
|
protected |
Definition at line 135 of file mitkTimeFramesRegistrationHelper.h.