18 #ifndef sitkHashImageFilter_h
19 #define sitkHashImageFilter_h
42 typedef std::string (
Self::*MemberFunctionType)(
const Image& );
45 using PixelIDTypeList = typelist2::append<BasicPixelIDTypeList, ComplexPixelIDTypeList, VectorPixelIDTypeList >::type;
52 SITK_RETURN_SELF_TYPE_HEADER SetHashFunction (
HashFunction hashFunction );
56 std::string
GetName()
const override {
return std::string (
"Hash"); }
59 std::string ToString()
const override;
61 std::string Execute (
const Image& );
67 template <
class TImageType> std::string ExecuteInternal (
const Image& image );
68 template <
class TImageType> std::string ExecuteInternalLabelImage (
const Image& image );
74 std::unique_ptr<detail::MemberFunctionFactory<MemberFunctionType> >
m_MemberFactory;