Go to the documentation of this file.
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 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
const Image& image2 );
The main Image class for SimpleITK.
NonLabelPixelIDTypeList PixelIDTypeList
typelist::Append< typelist::Append< BasicPixelIDTypeList, ComplexPixelIDTypeList >::Type, VectorPixelIDTypeList >::Type NonLabelPixelIDTypeList
CheckerBoardImageFilter Self
Self & SetCheckerPattern(const std::vector< uint32_t > &CheckerPattern)
Self & SetCheckerPattern(uint32_t value)
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.
Combines two images in a checkerboard pattern.
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
#define SITKBasicFilters_EXPORT
std::vector< uint32_t > m_CheckerPattern
std::vector< uint32_t > GetCheckerPattern() const
std::string GetName() const
The base interface for SimpleITK filters that take one input image.
Base class for SimpleITK classes based on ProcessObject.