Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitk::PointSetMappingHelper Namespace Reference

Namespace providing helper functions for mapping MITK point sets using MatchPoint registrations. More...

Typedefs

typedef ::map::core::RegistrationBase RegistrationType
 MatchPoint registration base type. More...
 
typedef ::mitk::MAPRegistrationWrapper MITKRegistrationType
 MITK wrapper type for MatchPoint registrations. More...
 

Functions

MITKMATCHPOINTREGISTRATION_EXPORT ::map::core::continuous::Elements< 3 >::InternalPointSetType::Pointer ConvertPointSetMITKtoMAP (const mitk::PointSet::DataType *mitkSet)
 Converts an MITK point set to the MatchPoint internal point set type. More...
 
MITKMATCHPOINTREGISTRATION_EXPORT ::mitk::PointSet::Pointer map (const ::mitk::PointSet *input, const RegistrationType *registration, int timeStep=-1, bool throwOnMappingError=true, const ::mitk::PointSet::PointDataType &errorPointValue=::mitk::PointSet::PointDataType())
 Maps a given input point set using a MatchPoint registration. More...
 
MITKMATCHPOINTREGISTRATION_EXPORT ::mitk::PointSet::Pointer map (const ::mitk::PointSet *input, const MITKRegistrationType *registration, int timeStep=-1, bool throwOnMappingError=true, const ::mitk::PointSet::PointDataType &errorPointValue=::mitk::PointSet::PointDataType())
 Maps a given input point set using a MITK registration wrapper. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 

Detailed Description

Namespace providing helper functions for mapping MITK point sets using MatchPoint registrations.

See also
mitk::ImageMappingHelper, mitk::MAPRegistrationWrapper

Typedef Documentation

◆ MITKRegistrationType

MITK wrapper type for MatchPoint registrations.

Definition at line 37 of file mitkPointSetMappingHelper.h.

◆ RegistrationType

typedef ::map::core::RegistrationBase mitk::PointSetMappingHelper::RegistrationType

MatchPoint registration base type.

Definition at line 35 of file mitkPointSetMappingHelper.h.

Function Documentation

◆ ConvertPointSetMITKtoMAP()

MITKMATCHPOINTREGISTRATION_EXPORT ::map::core::continuous::Elements<3>::InternalPointSetType::Pointer mitk::PointSetMappingHelper::ConvertPointSetMITKtoMAP ( const mitk::PointSet::DataType *  mitkSet)

Converts an MITK point set to the MatchPoint internal point set type.

Parameters
[in]mitkSetPointer to the ITK point set data underlying the MITK PointSet.
Returns
Smart pointer to the converted MatchPoint internal point set.

◆ map() [1/2]

MITKMATCHPOINTREGISTRATION_EXPORT ::mitk::PointSet::Pointer mitk::PointSetMappingHelper::map ( const ::mitk::PointSet *  input,
const MITKRegistrationType *  registration,
int  timeStep = -1,
bool  throwOnMappingError = true,
const ::mitk::PointSet::PointDataType &  errorPointValue = ::mitk::PointSet::PointDataType() 
)

Maps a given input point set using a MITK registration wrapper. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

◆ map() [2/2]

MITKMATCHPOINTREGISTRATION_EXPORT ::mitk::PointSet::Pointer mitk::PointSetMappingHelper::map ( const ::mitk::PointSet *  input,
const RegistrationType *  registration,
int  timeStep = -1,
bool  throwOnMappingError = true,
const ::mitk::PointSet::PointDataType &  errorPointValue = ::mitk::PointSet::PointDataType() 
)

Maps a given input point set using a MatchPoint registration.

Parameters
[in]inputPoint set that should be mapped.
[in]registrationPointer to the MatchPoint registration to use.
[in]timeStepThe time step to map (-1 maps all time steps, default). Other time steps are copied unmodified.
[in]throwOnMappingErrorIf true, throws an exception when a point cannot be mapped. If false, unmappable points are transferred without mapping and tagged with errorPointValue.
[in]errorPointValuePoint data value assigned to unmappable points (when not throwing).
Returns
Smart pointer to the resulting mapped point set.
Precondition
input must be valid.
registration must be valid.
timeStep must be a valid time step of input or -1.
Dimensionality of the registration must match the point set (3D).