Go to the documentation of this file.
18 #ifndef sitkCyclicShiftImageFilter_h
19 #define sitkCyclicShiftImageFilter_h
61 SITK_RETURN_SELF_TYPE_HEADER
SetShift ( std::vector<int> Shift ) { this->m_Shift = std::move(Shift);
return *
this; }
64 SITK_RETURN_SELF_TYPE_HEADER
SetShift(
int value ) { this->m_Shift = std::vector<int>(3, value);
return *
this; }
69 std::vector<int>
GetShift()
const {
return this->m_Shift; }
72 std::string
GetName()
const {
return std::string (
"CyclicShiftImageFilter"); }
75 std::string ToString()
const;
87 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
92 std::unique_ptr<detail::MemberFunctionFactory<MemberFunctionType> >
m_MemberFactory;
95 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
Perform a cyclic spatial shift of image intensities on the image grid.
NonLabelPixelIDTypeList PixelIDTypeList
Self & SetShift(std::vector< int > Shift)
#define SITKBasicFilters_EXPORT
typelist2::append< BasicPixelIDTypeList, ComplexPixelIDTypeList, VectorPixelIDTypeList >::type NonLabelPixelIDTypeList
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