18 #ifndef sitkCheckerBoardImageFilter_h
19 #define sitkCheckerBoardImageFilter_h
69 SITK_RETURN_SELF_TYPE_HEADER
SetCheckerPattern (
const std::vector<uint32_t> & CheckerPattern ) { this->m_CheckerPattern = CheckerPattern;
return *
this; }
72 SITK_RETURN_SELF_TYPE_HEADER
SetCheckerPattern(
uint32_t value ) { this->m_CheckerPattern = std::vector<uint32_t>(3, value);
return *
this; }
80 std::string
GetName()
const {
return std::string (
"CheckerBoardImageFilter"); }
83 std::string ToString()
const;
91 Image Execute (
const Image& image1,
const Image& image2,
const std::vector<uint32_t> & checkerPattern );
98 typedef Image (Self::*MemberFunctionType)(
const Image& image1,
const Image& image2 );
99 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
const Image& image2 );
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
typelist::Append< typelist::Append< BasicPixelIDTypeList, ComplexPixelIDTypeList >::Type, VectorPixelIDTypeList >::Type NonLabelPixelIDTypeList
#define SITKBasicFilters_EXPORT
std::string GetName() const
std::vector< uint32_t > m_CheckerPattern
Combines two images in a checkerboard pattern.
Image CheckerBoard(const Image &image1, const Image &image2, const std::vector< uint32_t > &checkerPattern=std::vector< uint32_t >(3, 4))
Combines two images in a checkerboard pattern.
std::vector< uint32_t > GetCheckerPattern() const
The main Image class for SimpleITK.
Self & SetCheckerPattern(const std::vector< uint32_t > &CheckerPattern)
CheckerBoardImageFilter Self
Self & SetCheckerPattern(uint32_t value)
NonLabelPixelIDTypeList PixelIDTypeList
The base interface for SimpleITK filters that take one input image.