Go to the documentation of this file.
18 #ifndef sitkCyclicShiftImageFilter_h
19 #define sitkCyclicShiftImageFilter_h
63 SITK_RETURN_SELF_TYPE_HEADER
SetShift (
const std::vector<int> & Shift ) { this->m_Shift = Shift;
return *
this; }
66 SITK_RETURN_SELF_TYPE_HEADER
SetShift(
int value ) { this->m_Shift = std::vector<int>(3, value);
return *
this; }
72 std::vector<int>
GetShift()
const {
return this->m_Shift; }
74 std::string
GetName()
const {
return std::string (
"CyclicShiftImageFilter"); }
77 std::string ToString()
const;
85 Image Execute (
const Image& image1,
const std::vector<int> & shift );
92 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
97 nsstd::auto_ptr<detail::MemberFunctionFactory<MemberFunctionType> >
m_MemberFactory;
The main Image class for SimpleITK.
NonLabelPixelIDTypeList PixelIDTypeList
Self & SetShift(int value)
std::string GetName() const
Image CyclicShift(const Image &image1, const std::vector< int > &shift=std::vector< int >(3, 0))
Perform a cyclic spatial shift of image intensities on the image grid.
typelist::Append< typelist::Append< BasicPixelIDTypeList, ComplexPixelIDTypeList >::Type, VectorPixelIDTypeList >::Type NonLabelPixelIDTypeList
CyclicShiftImageFilter Self
Perform a cyclic spatial shift of image intensities on the image grid.
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
#define SITKBasicFilters_EXPORT
std::vector< int > m_Shift
The base interface for SimpleITK filters that take one input image.
Base class for SimpleITK classes based on ProcessObject.
std::vector< int > GetShift() const
Self & SetShift(const std::vector< int > &Shift)