18 #ifndef sitkSimilarityIndexImageFilter_h
19 #define sitkSimilarityIndexImageFilter_h
73 std::string
GetName()
const {
return std::string (
"SimilarityIndexImageFilter"); }
76 std::string ToString()
const;
80 void Execute (
const Image& image1,
const Image& image2 );
87 typedef void (Self::*MemberFunctionType)(
const Image& image1,
const Image& image2 );
88 template <
class TImageType>
void ExecuteInternal (
const Image& image1,
const Image& image2 );
93 nsstd::auto_ptr<detail::MemberFunctionFactory<MemberFunctionType> >
m_MemberFactory;
BasicPixelIDTypeList PixelIDTypeList
#define SITKBasicFilters_EXPORT
std::string GetName() const
typelist::MakeTypeList< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t >, BasicPixelID< float >, BasicPixelID< double > >::Type BasicPixelIDTypeList
Measures the similarity between the set of non-zero pixels of two images.
The Image class for SimpleITK.
double GetSimilarityIndex() const
SimilarityIndexImageFilter Self
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
The base interface for SimpleITK filters that take one input image.