Go to the documentation of this file.
18 #ifndef sitkCheckerBoardImageFilter_h
19 #define sitkCheckerBoardImageFilter_h
61 SITK_RETURN_SELF_TYPE_HEADER
SetCheckerPattern ( std::vector<uint32_t> CheckerPattern ) { this->m_CheckerPattern = std::move(CheckerPattern);
return *
this; }
64 SITK_RETURN_SELF_TYPE_HEADER
SetCheckerPattern( uint32_t value ) { this->m_CheckerPattern = std::vector<uint32_t>(3, value);
return *
this; }
72 std::string
GetName()
const {
return std::string (
"CheckerBoardImageFilter"); }
75 std::string ToString()
const;
87 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
const Image& image2 );
92 std::unique_ptr<detail::MemberFunctionFactory<MemberFunctionType> >
m_MemberFactory;
95 std::vector<uint32_t> m_CheckerPattern{std::vector<uint32_t>(3, 4)};
The Image class for SimpleITK.
NonLabelPixelIDTypeList PixelIDTypeList
Image CheckerBoard(const Image &image1, const Image &image2, std::vector< uint32_t > checkerPattern=std::vector< uint32_t >(3, 4))
Combines two images in a checkerboard pattern.
Image(Self::*)(const Image &image1, const Image &image2) MemberFunctionType
Self & SetCheckerPattern(uint32_t value)
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Combines two images in a checkerboard pattern.
#define SITKBasicFilters_EXPORT
typelist2::append< BasicPixelIDTypeList, ComplexPixelIDTypeList, VectorPixelIDTypeList >::type NonLabelPixelIDTypeList
std::vector< uint32_t > GetCheckerPattern() const
std::string GetName() const
Self & SetCheckerPattern(std::vector< uint32_t > CheckerPattern)
The base interface for SimpleITK filters that take one input image.