Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <itkInterpolateImageFunction.h>
#include <itkNearestNeighborInterpolateImageFunction.h>
#include <itkLinearInterpolateImageFunction.h>
#include <itkBSplineInterpolateImageFunction.h>
#include <itkWindowedSincInterpolateImageFunction.h>
#include <mitkImageAccessByItk.h>
#include <mitkImageCast.h>
#include <mitkGeometry3D.h>
#include <mitkImageToItk.h>
#include <mitkImageTimeSelector.h>
#include "mapRegistration.h"
#include "mitkImageMappingHelper.h"
#include "mitkRegistrationHelper.h"
Go to the source code of this file.
Functions | |
template<typename TImage > | |
typename::itk::InterpolateImageFunction< TImage >::Pointer | generateInterpolator (mitk::ImageMappingInterpolator::Type interpolatorType) |
template<typename TPixelType , unsigned int VImageDimension> | |
void | doMITKMap (const ::itk::Image< TPixelType, VImageDimension > *input, mitk::ImageMappingHelper::ResultImageType::Pointer &result, const mitk::ImageMappingHelper::RegistrationType *®istration, bool throwOnOutOfInputAreaError, const double &paddingValue, const mitk::ImageMappingHelper::ResultImageGeometryType *&resultGeometry, bool throwOnMappingError, const double &errorValue, mitk::ImageMappingInterpolator::Type interpolatorType) |
void doMITKMap | ( | const ::itk::Image< TPixelType, VImageDimension > * | input, |
mitk::ImageMappingHelper::ResultImageType::Pointer & | result, | ||
const mitk::ImageMappingHelper::RegistrationType *& | registration, | ||
bool | throwOnOutOfInputAreaError, | ||
const double & | paddingValue, | ||
const mitk::ImageMappingHelper::ResultImageGeometryType *& | resultGeometry, | ||
bool | throwOnMappingError, | ||
const double & | errorValue, | ||
mitk::ImageMappingInterpolator::Type | interpolatorType | ||
) |
Implement extraction of 2D-Rotation-Matrix out of 3D-Rotation-Matrix to cover this case as well. matrix = extract2DRotationMatrix(resultGeometry)
Definition at line 76 of file mitkImageMappingHelper.cpp.
References mitk::BaseGeometry::GetBounds(), mitk::BaseGeometry::GetIndexToWorldTransform(), mitk::BaseGeometry::GetOrigin(), mitk::BaseGeometry::GetSpacing(), and mitk::New().
Referenced by mitk::ImageMappingHelper::map().
typename ::itk::InterpolateImageFunction< TImage >::Pointer generateInterpolator | ( | mitk::ImageMappingInterpolator::Type | interpolatorType | ) |
Definition at line 35 of file mitkImageMappingHelper.cpp.
References mitk::ImageMappingInterpolator::BSpline_3, mitk::ImageMappingInterpolator::NearestNeighbor, mitk::New(), mitk::ImageMappingInterpolator::WSinc_Hamming, and mitk::ImageMappingInterpolator::WSinc_Welch.