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,
163 #ifndef ITK_MANUAL_INSTANTIATION
164 #include "itkSimilarityIndexImageFilter.hxx"
const InputImage1Type * GetInput1(void)
SimilarityIndexImageFilter()
Light weight base class for most itk classes.
TInputImage2::ConstPointer InputImage2ConstPointer
void AfterThreadedGenerateData()
TInputImage2::PixelType InputImage2PixelType
TInputImage1::RegionType RegionType
TInputImage1::Pointer InputImage1Pointer
SmartPointer< Self > Pointer
void PrintSelf(std::ostream &os, Indent indent) const
void BeforeThreadedGenerateData()
TInputImage1 InputImage1Type
Array< SizeValueType > m_CountOfImage1
Array< SizeValueType > m_CountOfIntersection
Array< SizeValueType > m_CountOfImage2
NumericTraits< InputImage1PixelType >::RealType RealType
~SimilarityIndexImageFilter()
TInputImage1::IndexType IndexType
virtual void SetInput(const InputImageType *image)
void ThreadedGenerateData(const RegionType &outputRegionForThread, ThreadIdType threadId)
RealType m_SimilarityIndex
TInputImage1::SizeType SizeType
SimilarityIndexImageFilter Self
ImageToImageFilter< TInputImage1, TInputImage1 > Superclass
const InputImageType * GetInput(void) const
Measures the similarity between the set of non-zero pixels of two images.
void SetInput1(const InputImage1Type *image)
void SetInput2(const InputImage2Type *image)
TInputImage2::Pointer InputImage2Pointer
TInputImage1::PixelType InputImage1PixelType
const InputImage2Type * GetInput2(void)
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
void GenerateInputRequestedRegion()
void EnlargeOutputRequestedRegion(DataObject *data)
#define itkConceptMacro(name, concept)
TInputImage1::ConstPointer InputImage1ConstPointer
Base class for all data objects in ITK.
void operator=(const Self &)
unsigned int ThreadIdType