|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Namespace providing helper functions for mapping multi-label segmentations 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... | |
| typedef ::mitk::BaseGeometry | ResultGeometryType |
| Geometry type used for the result image grid specification. More... | |
Functions | |
| MITKMATCHPOINTREGISTRATION_EXPORT MultiLabelSegmentation::Pointer | map (const MultiLabelSegmentation *input, const RegistrationType *registration, bool throwOnOutOfInputAreaError=false, const ResultGeometryType *resultGeometry=nullptr, bool throwOnMappingError=true, const MultiLabelSegmentation::LabelValueType &errorValue=0) |
| Maps a multi-label segmentation image using a MatchPoint registration. More... | |
| MITKMATCHPOINTREGISTRATION_EXPORT MultiLabelSegmentation::Pointer | map (const MultiLabelSegmentation *input, const MITKRegistrationType *registration, bool throwOnOutOfInputAreaError=false, const ResultGeometryType *resultGeometry=nullptr, bool throwOnMappingError=true, const MultiLabelSegmentation::LabelValueType &errorValue=0) |
| Maps a multi-label segmentation 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... | |
Namespace providing helper functions for mapping multi-label segmentations using MatchPoint registrations.
Each label is mapped individually using nearest-neighbor interpolation to preserve label integrity.
| typedef ::mitk::MAPRegistrationWrapper mitk::MultiLabelSegmentationMappingHelper::MITKRegistrationType |
MITK wrapper type for MatchPoint registrations.
Definition at line 40 of file mitkMultiLabelSegmentationMappingHelper.h.
| typedef ::map::core::RegistrationBase mitk::MultiLabelSegmentationMappingHelper::RegistrationType |
MatchPoint registration base type.
Definition at line 38 of file mitkMultiLabelSegmentationMappingHelper.h.
Geometry type used for the result image grid specification.
Definition at line 43 of file mitkMultiLabelSegmentationMappingHelper.h.
| MITKMATCHPOINTREGISTRATION_EXPORT MultiLabelSegmentation::Pointer mitk::MultiLabelSegmentationMappingHelper::map | ( | const MultiLabelSegmentation * | input, |
| const MITKRegistrationType * | registration, | ||
| bool | throwOnOutOfInputAreaError = false, |
||
| const ResultGeometryType * | resultGeometry = nullptr, |
||
| bool | throwOnMappingError = true, |
||
| const MultiLabelSegmentation::LabelValueType & | errorValue = 0 |
||
| ) |
Maps a multi-label segmentation 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.
| [in] | input | Multi-label segmentation to be mapped. |
| [in] | registration | Pointer to the MITK registration wrapper to use. |
| [in] | throwOnOutOfInputAreaError | If true, throws when the input does not cover the full result region. |
| [in] | resultGeometry | Geometry defining the output grid, or nullptr to use the input geometry. |
| [in] | throwOnMappingError | If true, throws when the registration does not cover the result region. |
| [in] | errorValue | Label value used for voxels where mapping fails. |
| MITKMATCHPOINTREGISTRATION_EXPORT MultiLabelSegmentation::Pointer mitk::MultiLabelSegmentationMappingHelper::map | ( | const MultiLabelSegmentation * | input, |
| const RegistrationType * | registration, | ||
| bool | throwOnOutOfInputAreaError = false, |
||
| const ResultGeometryType * | resultGeometry = nullptr, |
||
| bool | throwOnMappingError = true, |
||
| const MultiLabelSegmentation::LabelValueType & | errorValue = 0 |
||
| ) |
Maps a multi-label segmentation image using a MatchPoint registration.
| [in] | input | Multi-label segmentation to be mapped. |
| [in] | registration | Pointer to the MatchPoint registration to use. |
| [in] | throwOnOutOfInputAreaError | If true, throws when the input does not cover the full result region. |
| [in] | resultGeometry | Geometry defining the output grid. If nullptr, the input geometry is used. |
| [in] | throwOnMappingError | If true, throws when the registration does not cover the result region. |
| [in] | errorValue | Label value used for voxels where mapping fails (when not throwing). |
input must be valid. registration must be valid.