Medical Imaging Interaction Toolkit
2023.12.00
Medical Imaging Interaction Toolkit
|
Typedefs | |
typedef ::map::core::RegistrationBase | RegistrationType |
typedef ::mitk::MAPRegistrationWrapper | MITKRegistrationType |
typedef ::mitk::BaseGeometry | ResultImageGeometryType |
typedef ::mitk::Image | InputImageType |
typedef ::mitk::Image | ResultImageType |
Definition at line 47 of file mitkImageMappingHelper.h.
Definition at line 44 of file mitkImageMappingHelper.h.
typedef ::map::core::RegistrationBase mitk::ImageMappingHelper::RegistrationType |
Definition at line 43 of file mitkImageMappingHelper.h.
Definition at line 46 of file mitkImageMappingHelper.h.
Definition at line 48 of file mitkImageMappingHelper.h.
MITKMATCHPOINTREGISTRATION_EXPORT bool mitk::ImageMappingHelper::canRefineGeometry | ( | const MITKRegistrationType * | registration | ) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
MITKMATCHPOINTREGISTRATION_EXPORT bool mitk::ImageMappingHelper::canRefineGeometry | ( | const RegistrationType * | registration | ) |
Method allows to pre checks if a registration could be used with refineGeometry. If this method returns true, the registration can be used to refine the geometry of images.
MITKMATCHPOINTREGISTRATION_EXPORT ResultImageGeometryType::Pointer mitk::ImageMappingHelper::GenerateSuperSampledGeometry | ( | const ResultImageGeometryType * | inputGeometry, |
double | xScaling, | ||
double | yScaling, | ||
double | zScaling | ||
) |
MITKMATCHPOINTREGISTRATION_EXPORT ResultImageType::Pointer mitk::ImageMappingHelper::map | ( | const InputImageType * | input, |
const MITKRegistrationType * | registration, | ||
bool | throwOnOutOfInputAreaError = false , |
||
const double & | paddingValue = 0 , |
||
const ResultImageGeometryType * | resultGeometry = nullptr , |
||
bool | throwOnMappingError = true , |
||
const double & | errorValue = 0 , |
||
mitk::ImageMappingInterpolator::Type | interpolatorType = mitk::ImageMappingInterpolator::Linear |
||
) |
Helper that maps a given input image. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
input | Image that should be mapped. |
registration | Pointer to the registration instance that should be used for mapping |
throwOnOutOfInputAreaError | Indicates if mapping should fail with an exception (true), if the input image does not cover the whole requested region to be mapped into the result image. |
paddingValue | Indicates the value that should be used if an out of input error occurs (and throwOnOutOfInputAreaError is false). |
resultGeometry | Pointer to the Geometry object that specifies the grid of the result image. If not defined the geometry of the input image will be used. |
throwOnMappingError | Indicates if mapping should fail with an exception (true), if the registration does not cover/support the whole requested region for mapping into the result image. |
errorValue | Indicates the value that should be used if an mapping error occurs (and throwOnMappingError is false). |
interpolatorType | Indicates the type of interpolation strategy that should be used. |
MITKMATCHPOINTREGISTRATION_EXPORT ResultImageType::Pointer mitk::ImageMappingHelper::map | ( | const InputImageType * | input, |
const RegistrationType * | registration, | ||
bool | throwOnOutOfInputAreaError = false , |
||
const double & | paddingValue = 0 , |
||
const ResultImageGeometryType * | resultGeometry = nullptr , |
||
bool | throwOnMappingError = true , |
||
const double & | errorValue = 0 , |
||
mitk::ImageMappingInterpolator::Type | interpolatorType = mitk::ImageMappingInterpolator::Linear |
||
) |
Helper that maps a given input image
input | Image that should be mapped. |
registration | Pointer to the registration instance that should be used for mapping |
throwOnOutOfInputAreaError | Indicates if mapping should fail with an exception (true), if the input image does not cover the whole requested region to be mapped into the result image. |
paddingValue | Indicates the value that should be used if an out of input error occurs (and throwOnOutOfInputAreaError is false). |
resultGeometry | Pointer to the Geometry object that specifies the grid of the result image. If not defined the geometry of the input image will be used. |
throwOnMappingError | Indicates if mapping should fail with an exception (true), if the registration does not cover/support the whole requested region for mapping into the result image. |
errorValue | Indicates the value that should be used if an mapping error occurs (and throwOnMappingError is false). |
interpolatorType | Indicates the type of interpolation strategy that should be used. |
MITKMATCHPOINTREGISTRATION_EXPORT ResultImageType::Pointer mitk::ImageMappingHelper::refineGeometry | ( | const InputImageType * | input, |
const MITKRegistrationType * | registration, | ||
bool | throwOnError = true |
||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
MITKMATCHPOINTREGISTRATION_EXPORT ResultImageType::Pointer mitk::ImageMappingHelper::refineGeometry | ( | const InputImageType * | input, |
const RegistrationType * | registration, | ||
bool | throwOnError = true |
||
) |
Method clones the input image and applies the registration by applying it to the Geometry3D of the image. Thus this method only produces a result if the passed registration has an direct mapping kernel that can be converted into an affine matrix transformation.