18#ifndef sitkResampleImageFilter_h
19#define sitkResampleImageFilter_h
71 SITK_RETURN_SELF_TYPE_HEADER
SetSize ( std::vector<uint32_t>
Size ) { this->
m_Size = std::move(
Size);
return *
this; }
160 std::string
GetName()
const {
return std::string (
"ResampleImageFilter"); }
189 std::vector<uint32_t>
m_Size{std::vector<uint32_t>(3, 0)};
The Image class for SimpleITK.
bool m_UseNearestNeighborExtrapolator
PixelIDValueEnum m_OutputPixelType
bool GetUseNearestNeighborExtrapolator() const
InterpolatorEnum GetInterpolator() const
virtual ~ResampleImageFilter()
Image Execute(const Image &image1)
Self & SetOutputSpacing(std::vector< double > OutputSpacing)
Self & SetTransform(Transform Transform)
std::vector< double > GetOutputSpacing() const
Self & UseNearestNeighborExtrapolatorOn()
std::vector< double > GetOutputOrigin() const
InterpolatorEnum m_Interpolator
Self & SetOutputOrigin(std::vector< double > OutputOrigin)
std::unique_ptr< detail::DualMemberFunctionFactory< MemberFunctionType > > m_DualMemberFactory
PixelIDValueEnum GetOutputPixelType() const
Get the ouput pixel type.
Self & SetUseNearestNeighborExtrapolator(bool UseNearestNeighborExtrapolator)
Enables the nearest neighbor extrapolator as opposed to the constant pixel value.
std::vector< uint32_t > m_Size
std::vector< double > m_OutputSpacing
Transform GetTransform() const
BasicPixelIDTypeList PixelIDTypeList
void SetReferenceImage(const Image &refImage)
Image(Self::*)(const Image &image1) MemberFunctionType
std::vector< double > m_OutputOrigin
std::vector< double > GetOutputDirection() const
Image DualExecuteInternal(const Image &image1)
double GetDefaultPixelValue() const
Self & SetInterpolator(InterpolatorEnum Interpolator)
std::string GetName() const
Image DualExecuteInternalVector(const Image &image1)
std::vector< double > m_OutputDirection
Self & SetSize(std::vector< uint32_t > Size)
Self & SetOutputDirection(std::vector< double > OutputDirection)
std::vector< uint32_t > GetSize() const
Self & UseNearestNeighborExtrapolatorOff()
Self & SetOutputPixelType(PixelIDValueEnum OutputPixelType)
Set the output pixel type, if sitkUnknown then the input type is used.
Self & SetDefaultPixelValue(double DefaultPixelValue)
std::string ToString() const
double m_DefaultPixelValue
@ sitkLinear
N-D linear interpolation.
typelist2::typelist< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t >, BasicPixelID< float >, BasicPixelID< double > > BasicPixelIDTypeList
PixelIDValueEnum
Enumerated values of pixelIDs.
#define SITKBasicFilters_EXPORT