Go to the documentation of this file.
18 #ifndef sitkCyclicShiftImageFilter_h
19 #define sitkCyclicShiftImageFilter_h
62 SITK_RETURN_SELF_TYPE_HEADER
SetShift ( std::vector<int> Shift ) { this->m_Shift = std::move(Shift);
return *
this; }
65 SITK_RETURN_SELF_TYPE_HEADER
SetShift(
int value ) { this->m_Shift = std::vector<int>(3, value);
return *
this; }
70 std::vector<int>
GetShift()
const {
return this->m_Shift; }
73 std::string
GetName()
const {
return std::string (
"CyclicShiftImageFilter"); }
76 std::string ToString()
const;
88 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
93 std::unique_ptr<detail::MemberFunctionFactory<MemberFunctionType> >
m_MemberFactory;
96 std::vector<int> m_Shift{std::vector<int>(3, 0)};
The Image class for SimpleITK.
Self & SetShift(int value)
std::string GetName() const
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
typelist::Append< typelist::Append< BasicPixelIDTypeList, ComplexPixelIDTypeList >::Type, VectorPixelIDTypeList >::Type NonLabelPixelIDTypeList
Perform a cyclic spatial shift of image intensities on the image grid.
NonLabelPixelIDTypeList PixelIDTypeList
Self & SetShift(std::vector< int > Shift)
#define SITKBasicFilters_EXPORT
Image CyclicShift(const Image &image1, std::vector< int > shift=std::vector< int >(3, 0))
Perform a cyclic spatial shift of image intensities on the image grid.
The base interface for SimpleITK filters that take one input image.
std::vector< int > GetShift() const
Image(Self::*)(const Image &image1) MemberFunctionType