14 #ifndef mitkImageMappingHelper_h
15 #define mitkImageMappingHelper_h
17 #include <mapImageMappingTask.h>
18 #include <mapRegistrationBase.h>
51 namespace ImageMappingHelper
96 bool throwOnOutOfInputAreaError =
false,
const double& paddingValue = 0,
118 bool throwOnOutOfInputAreaError =
false,
const double& paddingValue = 0,
132 double xScaling,
double yScaling,
double zScaling);
#define MITKMATCHPOINTREGISTRATION_EXPORT
Base class of all data objects.
Abstract base class describing the geometry of a data object.
Image class for storing multi-dimensional medical image data.
Wrapper class that adapts MatchPoint registration objects to the MITK data model.
MITKMATCHPOINTREGISTRATION_EXPORT ResultImageType::Pointer refineGeometry(const InputImageType *input, const RegistrationType *registration, bool throwOnError=true)
Refines the geometry of an image by applying an affine registration to its Geometry3D.
::mitk::BaseGeometry ResultImageGeometryType
Geometry type used for the result image grid specification.
::mitk::MAPRegistrationWrapper MITKRegistrationType
MITK wrapper type for MatchPoint registrations.
MITKMATCHPOINTREGISTRATION_EXPORT ResultImageGeometryType::Pointer GenerateSuperSampledGeometry(const ResultImageGeometryType *inputGeometry, double xScaling, double yScaling, double zScaling)
Generates a super-sampled geometry by scaling the spacing of an existing geometry.
::mitk::Image InputImageType
Input image type for mapping operations.
::map::core::RegistrationBase RegistrationType
MatchPoint registration base type.
MITKMATCHPOINTREGISTRATION_EXPORT ResultImageType::Pointer 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)
Maps (resamples) an input image using a MatchPoint registration.
::mitk::Image ResultImageType
Result image type returned by mapping operations.
MITKMATCHPOINTREGISTRATION_EXPORT TimeGeometry::Pointer CreateResultTimeGeometry(const mitk::BaseData *input, const mitk::ImageMappingHelper::ResultImageGeometryType *resultGeometry)
Creates a TimeGeometry for the mapping result based on the input data and optional result geometry.
MITKMATCHPOINTREGISTRATION_EXPORT bool canRefineGeometry(const RegistrationType *registration)
Checks whether a registration can be used for geometry refinement.
Find image slices visible on a given plane.
Enumeration of interpolation strategies for image mapping operations.
@ NearestNeighbor
Nearest neighbor interpolation.
@ UserDefined
User may specify a custom interpolator.
@ WSinc_Hamming
Windowed sinc interpolation with Hamming window.
@ BSpline_3
3rd order B-spline interpolation.
@ Linear
Linear interpolation.
@ WSinc_Welch
Windowed sinc interpolation with Welch window.