18 #ifndef itkSimilarityIndexImageFilter_h
19 #define itkSimilarityIndexImageFilter_h
59 template<
typename TInputImage1,
typename TInputImage2 >
85 typedef typename TInputImage1::SizeType
SizeType;
93 TInputImage1::ImageDimension);
113 itkGetConstMacro(SimilarityIndex,
RealType);
115 #ifdef ITK_USE_CONCEPT_CHECKING
142 outputRegionForThread,
153 void operator=(const Self &);
163 #ifndef ITK_MANUAL_INSTANTIATION
164 #include "itkSimilarityIndexImageFilter.hxx"
Array class with size defined at construction time.
const InputImage1Type * GetInput1(void)
SimilarityIndexImageFilter()
Light weight base class for most itk classes.
TInputImage2::ConstPointer InputImage2ConstPointer
TInputImage2::PixelType InputImage2PixelType
TInputImage1::RegionType RegionType
TInputImage1::Pointer InputImage1Pointer
SmartPointer< Self > Pointer
void EnlargeOutputRequestedRegion(DataObject *data) override
TInputImage1 InputImage1Type
void GenerateInputRequestedRegion() override
Array< SizeValueType > m_CountOfImage1
Array< SizeValueType > m_CountOfIntersection
Array< SizeValueType > m_CountOfImage2
void PrintSelf(std::ostream &os, Indent indent) const override
unsigned long SizeValueType
NumericTraits< InputImage1PixelType >::RealType RealType
void AllocateOutputs() override
~SimilarityIndexImageFilter()
TInputImage1::IndexType IndexType
virtual void SetInput(const InputImageType *image)
RealType m_SimilarityIndex
void ThreadedGenerateData(const RegionType &outputRegionForThread, ThreadIdType threadId) override
void BeforeThreadedGenerateData() override
TInputImage1::SizeType SizeType
SimilarityIndexImageFilter Self
const InputImage2Type * GetInput2()
ImageToImageFilter< TInputImage1, TInputImage1 > Superclass
Measures the similarity between the set of non-zero pixels of two images.
const InputImageType * GetInput() const
void SetInput1(const InputImage1Type *image)
void SetInput2(const InputImage2Type *image)
TInputImage2::Pointer InputImage2Pointer
unsigned int ThreadIdType
void AfterThreadedGenerateData() override
TInputImage1::PixelType InputImage1PixelType
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
SmartPointer< const Self > ConstPointer
static const unsigned int ImageDimension
Define additional traits for native types such as int or float.
TInputImage2 InputImage2Type
#define itkConceptMacro(name, concept)
TInputImage1::ConstPointer InputImage1ConstPointer
Base class for all data objects in ITK.