Go to the documentation of this file.
18 #ifndef sitkCheckerBoardImageFilter_h
19 #define sitkCheckerBoardImageFilter_h
62 SITK_RETURN_SELF_TYPE_HEADER
SetCheckerPattern ( std::vector<uint32_t> CheckerPattern ) { this->m_CheckerPattern = std::move(CheckerPattern);
return *
this; }
65 SITK_RETURN_SELF_TYPE_HEADER
SetCheckerPattern(
uint32_t value ) { this->m_CheckerPattern = std::vector<uint32_t>(3, value);
return *
this; }
73 std::string
GetName()
const {
return std::string (
"CheckerBoardImageFilter"); }
76 std::string ToString()
const;
88 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
const Image& image2 );
93 std::unique_ptr<detail::MemberFunctionFactory<MemberFunctionType> >
m_MemberFactory;
96 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.
typelist::Append< typelist::Append< BasicPixelIDTypeList, ComplexPixelIDTypeList >::Type, VectorPixelIDTypeList >::Type NonLabelPixelIDTypeList
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
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.